:root {
    --cream: #f7f2ea;
    --gold: #b89762;
    --light: #ddc79e;
    --green: #25d366;
    --line: #ded4c5
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: #181613;
    font-family: Arial, sans-serif;
    line-height: 1.55
}

a {
    text-decoration: none;
    color: inherit
}

.wrap {
    width: min(1180px, 92%);
    margin: auto
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0c0c0bf7;
    border-bottom: 1px solid #36312b
}

.nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.logo {
    color: #fff;
    font: 45px Georgia, serif;
    display: block;
    text-align: center;
    
    letter-spacing: .15em
    
}

.logo small {
    display: block;
    text-align: center;
    font: 14px Arial;
    letter-spacing: .48em;
    color: var(--light)
}

.menu {
    display: flex;
    gap: 18px;
    align-items: center;
    color: #eee8df;
    font-size: 14px
}

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 13px 21px;
    background: linear-gradient(135deg, #987444, #c6a66d);
    color: #fff !important;
    font-weight: 700
}

.hero {
    min-height: 590px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 30%, #d8bd8c38, transparent 25%), linear-gradient(120deg, #090908, #28231e 55%, #776650)
}

.hero:after {
    content: 'LUX';
    position: absolute;
    right: 3%;
    bottom: -70px;
    font: 220px Georgia;
    color: #ffffff08
}

.copy {
    position: relative;
    z-index: 2;
    max-width: 780px
}

.kicker {
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: 11px;
    color: var(--light)
}

h1 {
    font: 400 clamp(46px, 7vw, 82px)/1 Georgia, serif;
    margin: 18px 0
}

h2 {
    font: 400 clamp(33px, 4vw, 50px)/1.1 Georgia, serif
}

.lead {
    max-width: 700px;
    color: #6b6359
}

.hero .lead {
    color: #eee6db;
    font-size: 19px
}

section {
    padding: 78px 0
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 35px
}

.card {
    min-height: 230px;
    padding: 25px;
    border-radius: 22px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(145deg, #baa381, #483e34);
    box-shadow: 0 16px 34px #352b201b
}

.card:nth-child(even) {
    background: linear-gradient(145deg, #cbbba2, #6c5943)
}

.card b {
    font: 27px Georgia, serif
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 30px 0
}

.feature {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px
}

.cta {
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(135deg, #15130f, #393127);
    color: #fff
}

.back {
    color: #cda66f;
    font-weight: bold
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.contact-box {
    padding: 28px;
    border-radius: 22px;
    background: #fff
}

.row {
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

footer {
    background: #090908;
    color: #bdb5a9;
    padding: 45px 0
}

.foot {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 25px
}

.floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--green);
    color: #073c1d;
    font-weight: 800;
    box-shadow: 0 10px 28px #0004
}

@media(max-width:800px) {
    .menu a:not(.btn) {
        display: none
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .features,
    .contact {
        grid-template-columns: 1fr 1fr
    }

    .foot {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:540px) {

    .grid,
    .features,
    .contact,
    .foot {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: 540px
    }

    .hero:after {
        font-size: 135px
    }

    .logo {
        font-size: 33px
    }

    section {
        padding: 58px 0
    }
}

.card {
    position: relative;
    overflow: hidden;
}

.card img {
    position: absolute;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    object-fit: cover;

    z-index: 0;
}

.card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.05));

    z-index: 1;
}

.card b {
    position: relative;
    z-index: 2;
}


/* Imagen dentro de las tarjetas */

.card {
    position: relative;
    overflow: hidden;
}

*card img {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

/* Degradado para poder leer el nombre */

.card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.20) 60%,
            rgba(0, 0, 0, 0.05) 100%);

    z-index: 1;
}

/* Mantener el nombre encima de la fotografía */

.card b {
    position: relative;
    z-index: 2;

    color: white;
}

/* Imagen dentro de las tarjetas */

.card {
    position: relative;
    overflow: hidden;
}

.card img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

/* Oscurecer un poco la imagen para leer el título */

.card:has(img)::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.05));

    z-index: 1;
}

/* Nombre encima de la imagen */

.card b {
    position: relative;
    z-index: 2;

    color: white;
}

.card {
    position: relative;
    overflow: hidden;
}

.card img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.card b {
    position: relative;
    z-index: 2;
    color: white;
}

.card:has(img)::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.05));

    z-index: 1;
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Guarda este archivo junto a styles.css (ya está enlazado en index.html) */

/* --- Conoce más de nuestro trabajo --- */
.nx-about {
    padding: 80px 0;
}

.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}

.nx-points li {
    padding: 10px 0 10px 18px;
    border-left: 3px solid #947044;
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* --- Nuestro trabajo realizado --- */
.nx-works {
    padding: 80px 0;
    background: #f7f4ef;
}

.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.nx-gallery figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.nx-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.05);
}

.nx-gallery figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 12px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

/* --- Contacto: info + mapa --- */
.nx-contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    margin-top: 28px;
    align-items: stretch;
}

.nx-info .row {
    padding: 12px 0;
    border-bottom: 1px solid #e6e0d6;
    line-height: 1.5;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: #947044;
    border: 1px solid #947044;
}

.nx-ghost:hover {
    background: #947044;
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #947044;
    color: #947044;
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: #947044;
    color: #fff;
}

.nx-map {
    min-height: 380px;
    border-radius: 6px;
    overflow: hidden;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 860px) {

    .nx-about-grid,
    .nx-contact {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-gallery img {
        height: 220px;
    }
}

@media (max-width: 520px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ---- Fix: botón "Ver opciones / Ver nuestros trabajos" se veía blanco al pasar el cursor ---- */
.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}


/* =====================================================
   CATÁLOGO DE MUESTRAS (lambrín)
   ===================================================== */
.lb-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lb-tab {
    font: inherit;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--nx-gold);
    background: #fff;
    color: var(--nx-gold);
    font-weight: 600;
    transition: background .2s, color .2s;
}

.lb-tab small {
    font-weight: 400;
    opacity: .8;
    margin-left: 6px;
}

.lb-tab:hover {
    background: #f1e6d6;
}

.lb-tab.is-on {
    background: var(--nx-gold);
    color: #fff;
}

.lb-panel[hidden] {
    display: none;
}

.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
}

.lb-sw {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
    overflow: hidden;
}

.lb-sw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lb-card:hover .lb-sw img {
    transform: scale(1.05);
}

.lb-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-info b {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--nx-dark);
}

.lb-info span {
    font-size: 13px;
    color: #7a6c5d;
    letter-spacing: .03em;
}

.lb-ask {
    margin-top: 10px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--nx-gold);
}

.lb-ask:hover {
    color: var(--nx-dark);
    border-color: var(--nx-dark);
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ---- Fix: botón "Ver opciones / Ver nuestros trabajos" se veía blanco al pasar el cursor ---- */
.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}


/* =====================================================
   CATÁLOGO DE MUESTRAS (lambrín)
   ===================================================== */
.lb-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lb-tab {
    font: inherit;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--nx-gold);
    background: #fff;
    color: var(--nx-gold);
    font-weight: 600;
    transition: background .2s, color .2s;
}

.lb-tab small {
    font-weight: 400;
    opacity: .8;
    margin-left: 6px;
}

.lb-tab:hover {
    background: #f1e6d6;
}

.lb-tab.is-on {
    background: var(--nx-gold);
    color: #fff;
}

.lb-panel[hidden] {
    display: none;
}

.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
}

.lb-sw {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
    overflow: hidden;
}

.lb-sw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lb-card:hover .lb-sw img {
    transform: scale(1.05);
}

.lb-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-info b {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--nx-dark);
}

.lb-info span {
    font-size: 13px;
    color: #7a6c5d;
    letter-spacing: .03em;
}

.lb-ask {
    margin-top: 10px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--nx-gold);
}

.lb-ask:hover {
    color: var(--nx-dark);
    border-color: var(--nx-dark);
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ---- Placas tipo mármol: muestras horizontales ---- */
.lb-grid.plates {
    grid-template-columns: repeat(3, 1fr);
}

.lb-grid.plates .lb-sw {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e9e4dc, #b9b1a5 55%, #8d867b);
}

@media (max-width: 900px) {
    .lb-grid.plates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .lb-grid.plates {
        grid-template-columns: 1fr;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ---- Fix: botón "Ver opciones / Ver nuestros trabajos" se veía blanco al pasar el cursor ---- */
.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}


/* =====================================================
   CATÁLOGO DE MUESTRAS (lambrín)
   ===================================================== */
.lb-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lb-tab {
    font: inherit;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--nx-gold);
    background: #fff;
    color: var(--nx-gold);
    font-weight: 600;
    transition: background .2s, color .2s;
}

.lb-tab small {
    font-weight: 400;
    opacity: .8;
    margin-left: 6px;
}

.lb-tab:hover {
    background: #f1e6d6;
}

.lb-tab.is-on {
    background: var(--nx-gold);
    color: #fff;
}

.lb-panel[hidden] {
    display: none;
}

.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
}

.lb-sw {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
    overflow: hidden;
}

.lb-sw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lb-card:hover .lb-sw img {
    transform: scale(1.05);
}

.lb-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-info b {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--nx-dark);
}

.lb-info span {
    font-size: 13px;
    color: #7a6c5d;
    letter-spacing: .03em;
}

.lb-ask {
    margin-top: 10px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--nx-gold);
}

.lb-ask:hover {
    color: var(--nx-dark);
    border-color: var(--nx-dark);
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ---- Placas tipo mármol: muestras horizontales ---- */
.lb-grid.plates {
    grid-template-columns: repeat(3, 1fr);
}

.lb-grid.plates .lb-sw {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e9e4dc, #b9b1a5 55%, #8d867b);
}

@media (max-width: 900px) {
    .lb-grid.plates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .lb-grid.plates {
        grid-template-columns: 1fr;
    }
}

/* ---- Papel tapiz: pasos del catálogo ---- */
.lx-proc.three {
    grid-template-columns: repeat(3, 1fr);
}

.lb-sec .lx-proc li {
    background: #fff;
}

.pt-actions {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .lx-proc.three {
        grid-template-columns: 1fr;
    }
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ---- Fix: botón "Ver opciones / Ver nuestros trabajos" se veía blanco al pasar el cursor ---- */
.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}


/* =====================================================
   CATÁLOGO DE MUESTRAS (lambrín)
   ===================================================== */
.lb-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lb-tab {
    font: inherit;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--nx-gold);
    background: #fff;
    color: var(--nx-gold);
    font-weight: 600;
    transition: background .2s, color .2s;
}

.lb-tab small {
    font-weight: 400;
    opacity: .8;
    margin-left: 6px;
}

.lb-tab:hover {
    background: #f1e6d6;
}

.lb-tab.is-on {
    background: var(--nx-gold);
    color: #fff;
}

.lb-panel[hidden] {
    display: none;
}

.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
}

.lb-sw {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
    overflow: hidden;
}

.lb-sw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lb-card:hover .lb-sw img {
    transform: scale(1.05);
}

.lb-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-info b {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--nx-dark);
}

.lb-info span {
    font-size: 13px;
    color: #7a6c5d;
    letter-spacing: .03em;
}

.lb-ask {
    margin-top: 10px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--nx-gold);
}

.lb-ask:hover {
    color: var(--nx-dark);
    border-color: var(--nx-dark);
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ---- Placas tipo mármol: muestras horizontales ---- */
.lb-grid.plates {
    grid-template-columns: repeat(3, 1fr);
}

.lb-grid.plates .lb-sw {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e9e4dc, #b9b1a5 55%, #8d867b);
}

@media (max-width: 900px) {
    .lb-grid.plates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .lb-grid.plates {
        grid-template-columns: 1fr;
    }
}

/* ---- Papel tapiz: pasos del catálogo ---- */
.lx-proc.three {
    grid-template-columns: repeat(3, 1fr);
}

.lb-sec .lx-proc li {
    background: #fff;
}

.pt-actions {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .lx-proc.three {
        grid-template-columns: 1fr;
    }
}

/* ---- Pisos: muestras con fondo madera ---- */
.lb-grid.plates.wood .lb-sw {
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ---- Fix: botón "Ver opciones / Ver nuestros trabajos" se veía blanco al pasar el cursor ---- */
.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}


/* =====================================================
   CATÁLOGO DE MUESTRAS (lambrín)
   ===================================================== */
.lb-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lb-tab {
    font: inherit;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--nx-gold);
    background: #fff;
    color: var(--nx-gold);
    font-weight: 600;
    transition: background .2s, color .2s;
}

.lb-tab small {
    font-weight: 400;
    opacity: .8;
    margin-left: 6px;
}

.lb-tab:hover {
    background: #f1e6d6;
}

.lb-tab.is-on {
    background: var(--nx-gold);
    color: #fff;
}

.lb-panel[hidden] {
    display: none;
}

.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
}

.lb-sw {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
    overflow: hidden;
}

.lb-sw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lb-card:hover .lb-sw img {
    transform: scale(1.05);
}

.lb-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-info b {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--nx-dark);
}

.lb-info span {
    font-size: 13px;
    color: #7a6c5d;
    letter-spacing: .03em;
}

.lb-ask {
    margin-top: 10px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--nx-gold);
}

.lb-ask:hover {
    color: var(--nx-dark);
    border-color: var(--nx-dark);
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ---- Placas tipo mármol: muestras horizontales ---- */
.lb-grid.plates {
    grid-template-columns: repeat(3, 1fr);
}

.lb-grid.plates .lb-sw {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e9e4dc, #b9b1a5 55%, #8d867b);
}

@media (max-width: 900px) {
    .lb-grid.plates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .lb-grid.plates {
        grid-template-columns: 1fr;
    }
}

/* ---- Papel tapiz: pasos del catálogo ---- */
.lx-proc.three {
    grid-template-columns: repeat(3, 1fr);
}

.lb-sec .lx-proc li {
    background: #fff;
}

.pt-actions {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .lx-proc.three {
        grid-template-columns: 1fr;
    }
}

/* ---- Pisos: muestras con fondo madera ---- */
.lb-grid.plates.wood .lb-sw {
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
}


/* =====================================================
   BOTÓN FLOTANTE DE WHATSAPP (solo ícono)
   ===================================================== */
.floating {
    position: fixed !important;
    right: 20px !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    top: auto !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #25D366 !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0;
    text-decoration: none;
    border: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    z-index: 999;
    transition: transform .2s ease, box-shadow .2s ease;
}

.floating:hover,
.floating:focus-visible {
    transform: scale(1.08);
    background: #1ebe5b !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.floating svg {
    display: block;
}

/* Pulso suave para llamar la atención */
.floating::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: lx-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes lx-pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    80%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating::before {
        animation: none;
    }
}

@media (max-width: 520px) {
    .floating {
        width: 52px !important;
        height: 52px !important;
        right: 14px !important;
    }
}


/* =====================================================
   FIX: textos de botones siempre visibles
   (styles.css pone texto blanco en .btn; aquí se fuerza el color correcto)
   ===================================================== */

/* "Contáctanos aquí" y botón del bloque dorado de las subpáginas */
.sp-cta .btn {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border: 1px solid #fff !important;
}

.sp-cta .btn:hover,
.sp-cta .btn:focus-visible {
    background: var(--nx-dark) !important;
    color: #fff !important;
    border-color: var(--nx-dark) !important;
}

/* Botón contorno de la portada ("Ver opciones", "Ver nuestros trabajos") */
.lx-hero .btn.lx-outline {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .85) !important;
}

.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}

/* "Cómo llegar" */
.nx-ghost {
    background: transparent !important;
    color: var(--nx-gold) !important;
    border: 1px solid var(--nx-gold) !important;
}

.nx-ghost:hover,
.nx-ghost:focus-visible {
    background: var(--nx-gold) !important;
    color: #fff !important;
}

/* Botón del formulario de cotización */
.nx-form .btn {
    background: var(--nx-gold) !important;
    color: #fff !important;
}

.nx-form .btn:hover {
    background: var(--nx-dark) !important;
    color: #fff !important;
}

/* ===== Lux Interiores · estilos de las secciones nuevas ===== */
/* Va junto a styles.css (ya está enlazado en index.html) */

:root {
    --nx-gold: #947044;
    --nx-gold-light: #c9a574;
    --nx-cream: #f6f1e9;
    --nx-dark: #211c17;
    --nx-line: #e6dccd;
}

/* ---------- Ritmo de fondos: cada sección se distingue ---------- */
#servicios {
    background: #fff;
    padding: 80px 0;
}

.nx-about {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.nx-quote {
    background: var(--nx-gold);
    color: #fff;
    padding: 90px 0;
}

.nx-contacto {
    background: var(--nx-cream);
    padding: 90px 0;
}

.nx-works h2,
.nx-quote h2 {
    color: #fff;
}

.nx-works .lead {
    color: #cfc4b4;
}

.nx-works .kicker {
    color: var(--nx-gold-light) !important;
}

.nx-quote .kicker {
    color: #f3e3c9;
}

/* ---------- Conoce más de nuestro trabajo ---------- */
.nx-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-about-text p {
    line-height: 1.7;
    max-width: 60ch;
}

.nx-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
}

.nx-points li {
    padding: 8px 0 8px 18px;
    border-left: 3px solid var(--nx-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.nx-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 18px 18px 0 var(--nx-line);
}

/* ---------- Proyectos realizados ---------- */
.nx-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.nx-gallery figure {
    margin: 0;
    background: #2b251f;
    border-radius: 6px;
    overflow: hidden;
}

.nx-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.nx-gallery figure:hover img {
    transform: scale(1.04);
}

.nx-gallery figure {
    overflow: hidden;
}

.nx-gallery figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    background: #2b251f;
}

.nx-gallery figcaption strong {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.nx-gallery figcaption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nx-gold-light);
}

/* ---------- Formulario de cotización ---------- */
.nx-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.nx-quote-text p {
    line-height: 1.7;
    max-width: 46ch;
    color: #fbf3e6;
}

.nx-steps {
    margin: 24px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #fbf3e6;
}

.nx-form {
    background: #fff;
    color: #2b2b2b;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid;
    gap: 16px;
}

.nx-form h3 {
    margin: 0 0 4px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--nx-dark);
}

.nx-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4a4036;
}

.nx-form input,
.nx-form select,
.nx-form textarea {
    font: inherit;
    font-weight: 400;
    color: #222;
    padding: 12px 14px;
    border: 1px solid #d9cfc0;
    border-radius: 6px;
    background: #fdfbf8;
    width: 100%;
    box-sizing: border-box;
}

.nx-form input:focus,
.nx-form select:focus,
.nx-form textarea:focus {
    outline: 2px solid var(--nx-gold);
    outline-offset: 1px;
    border-color: var(--nx-gold);
}

.nx-form textarea {
    resize: vertical;
}

.nx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nx-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    background: var(--nx-gold);
    color: #fff;
}

.nx-form .btn:hover {
    background: var(--nx-dark);
}

.nx-form-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 14px;
}

.nx-form-note.error {
    color: #b3261e;
}

.nx-form-note.ok {
    color: #2e6b3a;
}

/* ---------- Contacto: una sola tarjeta armoniosa ---------- */
.nx-contacto-head {
    text-align: center;
    margin-bottom: 36px;
}

.nx-contacto-head .lead {
    margin: 8px auto 0;
}

.nx-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
}

.nx-map {
    min-height: 460px;
}

.nx-map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.nx-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.nx-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nx-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-list b {
    color: var(--nx-dark);
}

.nx-list span {
    color: #5d5247;
}

.nx-list a {
    color: var(--nx-gold);
}

.nx-ico {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nx-cream);
    color: var(--nx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nx-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nx-ghost {
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
}

.nx-ghost:hover {
    background: var(--nx-gold);
    color: #fff;
}

.nx-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--nx-line);
}

.nx-social span {
    font-weight: 600;
    margin-right: 4px;
    color: var(--nx-dark);
}

.nx-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nx-gold);
    color: var(--nx-gold);
    transition: background .2s, color .2s;
}

.nx-social a:hover {
    background: var(--nx-gold);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    .nx-about-grid,
    .nx-quote-grid,
    .nx-card {
        grid-template-columns: 1fr;
    }

    .nx-about-img img {
        height: 300px;
        box-shadow: none;
    }

    .nx-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-map,
    .nx-map iframe {
        min-height: 300px;
    }

    .nx-info {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .nx-gallery {
        grid-template-columns: 1fr;
    }

    .nx-form {
        padding: 22px;
    }

    .nx-form-row {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   NUEVA DIRECCIÓN: galería primero + confianza
   ===================================================== */

.lx-head {
    margin-bottom: 32px;
}

.lx-head h2 {
    margin: 0 0 6px;
}

/* ---- Portada con foto a pantalla completa ---- */
.lx-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nx-dark);
    overflow: hidden;
}

.lx-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .8) 100%);
}

.lx-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 72px;
}

.lx-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 16ch;
    color: #fff;
}

.lx-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 52ch;
    margin: 0 0 28px;
    color: #f1e8da;
    line-height: 1.5;
}

.lx-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lx-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.lx-outline:hover {
    background: #fff;
    color: var(--nx-dark);
}

/* ---- Franja de confianza ---- */
.lx-trust {
    background: var(--nx-dark);
    color: #fff;
    padding: 28px 0;
}

.lx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lx-trust-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    border-left: 2px solid var(--nx-gold);
}

.lx-trust-grid b {
    font-size: 15px;
}

.lx-trust-grid span {
    font-size: 13px;
    color: #cfc4b4;
}

/* ---- Mosaico de servicios ---- */
.lx-servicios {
    background: #fff;
    padding: 90px 0;
}

.lx-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.lx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: var(--nx-dark);
}

.lx-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lx-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(20, 15, 10, .75));
}

.lx-tile span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
}

.lx-tile:hover img,
.lx-tile:focus-visible img {
    transform: scale(1.06);
}

.lx-tile.big {
    grid-column: span 2;
    grid-row: span 2;
}

.lx-tile.wide {
    grid-column: span 2;
}

.lx-tile.tall {
    grid-row: span 2;
}

/* ---- Antes y después ---- */
.lx-ba-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-ba {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(60, 40, 15, .2);
    user-select: none;
}

.lx-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: grayscale(1) brightness(.75);
}

/* quita el filter al usar la foto real de "antes" */
.lx-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.lx-ba-line i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.lx-ba-line i::before {
    content: "‹ ›";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.lx-ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.lx-ba-tag {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(20, 15, 10, .7);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.lx-ba-tag.l {
    left: 14px;
}

.lx-ba-tag.r {
    right: 14px;
}

/* ---- Fondos del resto de secciones ---- */
.nx-about {
    background: #fff;
}

.nx-about-img img {
    box-shadow: 18px 18px 0 var(--nx-cream);
}

.nx-about .wrap+.wrap {
    margin-top: 64px;
}

/* ---- Proceso ---- */
.lx-proc-title {
    font-family: Georgia, serif;
    font-size: 28px;
    margin: 0 0 22px;
}

.lx-proc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lx-proc li {
    background: var(--nx-cream);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 3px solid var(--nx-gold);
}

.lx-proc b {
    font-size: 17px;
    color: var(--nx-dark);
}

.lx-proc span {
    color: #5d5247;
    line-height: 1.5;
    font-size: 15px;
}

/* ---- Testimonios ---- */
.lx-testi {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lx-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lx-testi blockquote {
    margin: 0;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.lx-testi blockquote p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--nx-dark);
}

.lx-testi cite {
    font-style: normal;
    font-size: 14px;
    color: var(--nx-gold);
    font-weight: 600;
}

/* ---- Contacto sobre fondo alterno ---- */
.nx-contacto {
    background: #fff;
}

.nx-card {
    box-shadow: 0 18px 45px rgba(60, 40, 15, .15);
    border: 1px solid var(--nx-line);
}

@media (max-width: 900px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .lx-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .lx-tile.big {
        grid-column: span 2;
    }

    .lx-tile.wide {
        grid-column: span 2;
    }

    .lx-testi-grid {
        grid-template-columns: 1fr;
    }

    .lx-hero {
        min-height: 78vh;
    }
}

@media (max-width: 520px) {

    .lx-trust-grid,
    .lx-proc {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-tile img,
    .nx-gallery img {
        transition: none;
    }
}


/* =====================================================
   SUBPÁGINAS DE SERVICIO
   ===================================================== */
.lx-hero.sub {
    min-height: 64vh;
}

.sp-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #f1e8da;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.sp-back:hover {
    color: #fff;
    border-color: #fff;
}

.sp-options {
    background: #fff;
    padding: 90px 0;
}

.sp-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.sp-opt {
    background: var(--nx-cream);
    border-radius: 8px;
    padding: 26px;
    border-top: 3px solid var(--nx-gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-opt h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--nx-dark);
}

.sp-opt p {
    margin: 0;
    line-height: 1.55;
    color: #5d5247;
    font-size: 15px;
}

.sp-gallery {
    background: var(--nx-dark);
    color: #f3ece2;
    padding: 90px 0;
}

.sp-gallery h2 {
    color: #fff;
}

.sp-cta {
    background: var(--nx-gold);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.sp-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.sp-cta p {
    margin: 0 auto 26px;
    max-width: 52ch;
    color: #fbf3e6;
    line-height: 1.6;
}

.sp-cta .btn {
    background: #fff;
    color: var(--nx-dark);
}

.sp-cta .btn:hover {
    background: var(--nx-dark);
    color: #fff;
}

.sp-more {
    background: var(--nx-cream);
    padding: 56px 0;
}

.sp-more h3 {
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-chips a {
    padding: 9px 16px;
    border: 1px solid var(--nx-gold);
    border-radius: 30px;
    color: var(--nx-gold);
    text-decoration: none;
    font-size: 15px;
    background: #fff;
}

.sp-chips a:hover {
    background: var(--nx-gold);
    color: #fff;
}

@media (max-width: 900px) {
    .sp-opts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sp-opts {
        grid-template-columns: 1fr;
    }
}

/* ---- Tarjetas de modelos con foto ---- */
.sp-opt {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sp-opt img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sp-opt:hover img {
    transform: scale(1.04);
}

.sp-opt {
    position: relative;
}

.sp-opt-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--nx-cream);
    position: relative;
}

/* ---- Fix: botón "Ver opciones / Ver nuestros trabajos" se veía blanco al pasar el cursor ---- */
.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}


/* =====================================================
   CATÁLOGO DE MUESTRAS (lambrín)
   ===================================================== */
.lb-sec {
    background: var(--nx-cream);
    padding: 90px 0;
}

.lb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lb-tab {
    font: inherit;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--nx-gold);
    background: #fff;
    color: var(--nx-gold);
    font-weight: 600;
    transition: background .2s, color .2s;
}

.lb-tab small {
    font-weight: 400;
    opacity: .8;
    margin-left: 6px;
}

.lb-tab:hover {
    background: #f1e6d6;
}

.lb-tab.is-on {
    background: var(--nx-gold);
    color: #fff;
}

.lb-panel[hidden] {
    display: none;
}

.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(60, 40, 15, .08);
    display: flex;
    flex-direction: column;
}

.lb-sw {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
    overflow: hidden;
}

.lb-sw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.lb-card:hover .lb-sw img {
    transform: scale(1.05);
}

.lb-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-info b {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--nx-dark);
}

.lb-info span {
    font-size: 13px;
    color: #7a6c5d;
    letter-spacing: .03em;
}

.lb-ask {
    margin-top: 10px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--nx-gold);
}

.lb-ask:hover {
    color: var(--nx-dark);
    border-color: var(--nx-dark);
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ---- Placas tipo mármol: muestras horizontales ---- */
.lb-grid.plates {
    grid-template-columns: repeat(3, 1fr);
}

.lb-grid.plates .lb-sw {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e9e4dc, #b9b1a5 55%, #8d867b);
}

@media (max-width: 900px) {
    .lb-grid.plates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .lb-grid.plates {
        grid-template-columns: 1fr;
    }
}

/* ---- Papel tapiz: pasos del catálogo ---- */
.lx-proc.three {
    grid-template-columns: repeat(3, 1fr);
}

.lb-sec .lx-proc li {
    background: #fff;
}

.pt-actions {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .lx-proc.three {
        grid-template-columns: 1fr;
    }
}

/* ---- Pisos: muestras con fondo madera ---- */
.lb-grid.plates.wood .lb-sw {
    background: linear-gradient(135deg, #c9a574, #8a6a43 55%, #5d4529);
}


/* =====================================================
   BOTÓN FLOTANTE DE WHATSAPP (solo ícono)
   ===================================================== */
.floating {
    position: fixed !important;
    right: 20px !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    top: auto !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #25D366 !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0;
    text-decoration: none;
    border: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    z-index: 999;
    transition: transform .2s ease, box-shadow .2s ease;
}

.floating:hover,
.floating:focus-visible {
    transform: scale(1.08);
    background: #1ebe5b !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.floating svg {
    display: block;
}

/* Pulso suave para llamar la atención */
.floating::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: lx-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes lx-pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    80%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating::before {
        animation: none;
    }
}

@media (max-width: 520px) {
    .floating {
        width: 52px !important;
        height: 52px !important;
        right: 14px !important;
    }
}


/* =====================================================
   FIX: textos de botones siempre visibles
   (styles.css pone texto blanco en .btn; aquí se fuerza el color correcto)
   ===================================================== */

/* "Contáctanos aquí" y botón del bloque dorado de las subpáginas */
.sp-cta .btn {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border: 1px solid #fff !important;
}

.sp-cta .btn:hover,
.sp-cta .btn:focus-visible {
    background: var(--nx-dark) !important;
    color: #fff !important;
    border-color: var(--nx-dark) !important;
}

/* Botón contorno de la portada ("Ver opciones", "Ver nuestros trabajos") */
.lx-hero .btn.lx-outline {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .85) !important;
}

.lx-hero .btn.lx-outline:hover,
.lx-hero .btn.lx-outline:focus-visible {
    background: #fff !important;
    color: var(--nx-dark) !important;
    border-color: #fff !important;
}

/* "Cómo llegar" */
.nx-ghost {
    background: transparent !important;
    color: var(--nx-gold) !important;
    border: 1px solid var(--nx-gold) !important;
}

.nx-ghost:hover,
.nx-ghost:focus-visible {
    background: var(--nx-gold) !important;
    color: #fff !important;
}

/* Botón del formulario de cotización */
.nx-form .btn {
    background: var(--nx-gold) !important;
    color: #fff !important;
}

.nx-form .btn:hover {
    background: var(--nx-dark) !important;
    color: #fff !important;
}

/* ---- Galería destacada en subpáginas (molduras): texto claro sobre fondo oscuro ---- */
.sp-gallery .lead {
    color: #cfc4b4;
}

#trabajos-realizados .nx-gallery figure {
    background: transparent;
}

#trabajos-realizados .nx-gallery img {
    height: 300px;
    border-radius: 6px;
}