/* ==========================================================================
   Persianas Ruiz — Landing de cotización
   Demo desarrollado por El 21 Publicidad · el21publicidad.com
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --ink:        #17140F;
    --ink-soft:   #3A342C;
    --muted:      #766B5D;
    --bone:       #FBF9F5;
    --sand:       #F2ECE3;
    --sand-deep:  #E7DFD2;
    --line:       #E4DCD0;
    --white:      #FFFFFF;
    --accent:     #A9784A;
    --accent-dk:  #8A5F36;
    --wa:         #25D366;

    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --wrap: 1200px;
    --pad: clamp(1.25rem, 4vw, 2.5rem);
    --sec: clamp(4rem, 9vw, 7.5rem);
    --r: 4px;
    --r-lg: 8px;
    --shadow: 0 1px 2px rgba(23,20,15,.04), 0 8px 28px rgba(23,20,15,.07);
    --shadow-lg: 0 2px 4px rgba(23,20,15,.05), 0 24px 60px rgba(23,20,15,.12);
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 .6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* ---------- Utilidades ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--sec); }
.section--sand { background: var(--bone); }
.section--ink  { background: var(--ink); color: #CFC8BE; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section--ink .eyebrow { color: #D2A470; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }
.section--ink .lead { color: #ADA396; }
/* El header sticky no debe tapar el destino de los anclas */
[id] { scroll-margin-top: 96px; }
.center { text-align: center; }
.head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head.center { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.9rem;
    border: 1px solid transparent;
    border-radius: var(--r);
    font-size: .93rem; font-weight: 600; letter-spacing: .02em;
    text-decoration: none; cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dk); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--wa { background: var(--wa); color: #06301A; }
.btn--wa:hover { background: #1EBE5A; }
.btn--lg { padding: 1.15rem 2.4rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Barra superior ---------- */
.topbar {
    background: var(--ink); color: #D8D1C6;
    font-size: .8rem; letter-spacing: .04em;
    text-align: center; padding: .6rem var(--pad);
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: var(--accent); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 1.5rem; height: 78px; }
.header__logo { display: flex; align-items: center; flex: none; }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav a {
    font-size: .88rem; font-weight: 500; color: var(--ink-soft);
    text-decoration: none; position: relative; padding-block: .35rem;
}
.nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
/* El CTA dentro del menú es solo para móvil: en escritorio ya está en .header__cta */
.nav .btn { display: none; }
.header__cta { display: flex; align-items: center; gap: .75rem; flex: none; }
.header__tel {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.header__tel svg { width: 1rem; height: 1rem; color: var(--accent); }
.burger {
    display: none; width: 44px; height: 44px; margin-left: auto;
    background: none; border: 1px solid var(--line); border-radius: var(--r);
    cursor: pointer; align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: .3s var(--ease);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(23,20,15,.93) 0%, rgba(23,20,15,.75) 45%, rgba(23,20,15,.35) 100%);
}
.hero__in { position: relative; z-index: 2; padding-block: clamp(4.5rem, 11vw, 9rem); max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: #E0BC93; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: #D5CEC4; max-width: 34em; margin-bottom: 2.2rem; }
.hero__badge {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .5rem 1.1rem .5rem .6rem;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px; font-size: .82rem; font-weight: 500; color: #EDE7DE;
    margin-bottom: 1.8rem; backdrop-filter: blur(6px);
}
.hero__badge b { background: var(--accent); color: #fff; padding: .25rem .7rem; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__note { margin-top: 1.6rem; font-size: .82rem; color: #9E958A; }

/* ---------- Barra de confianza ---------- */
.trust { background: var(--sand); border-bottom: 1px solid var(--sand-deep); }
.trust__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--sand-deep);
}
.trust__item {
    background: var(--sand); padding: 1.6rem 1.25rem; text-align: center;
    display: flex; flex-direction: column; justify-content: center;
}
/* flex:1 alinea las etiquetas al mismo nivel aunque el número ocupe dos líneas */
.trust__n {
    font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink);
    line-height: 1.1; margin-bottom: .5rem;
    flex: 1; display: flex; align-items: center; justify-content: center;
}
.trust__l { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Intro con video ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.intro__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.intro__media video { width: 100%; display: block; aspect-ratio: 9/16; object-fit: cover; max-height: 640px; }

/* ---------- Catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; }
.filter {
    padding: .55rem 1.15rem; border: 1px solid var(--line); background: transparent;
    border-radius: 100px; font-size: .82rem; font-weight: 500; color: var(--muted); cursor: pointer;
    transition: .25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--sand-deep); }
.card.is-hidden { display: none; }
.card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.tag {
    font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
    padding: .3rem .65rem; border-radius: 3px; background: var(--sand); color: var(--muted);
}
.tag--smart { background: #EDE4D8; color: var(--accent-dk); }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.benefit__ico {
    width: 48px; height: 48px; margin-bottom: 1.3rem;
    display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; color: var(--accent);
}
.benefit__ico svg { width: 22px; height: 22px; }
.benefit p { font-size: .93rem; color: var(--muted); }

/* ---------- Galería ---------- */
/* 12 piezas en 4 columnas = 3 filas exactas, sin huecos */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button {
    padding: 0; border: 0; background: var(--sand); cursor: zoom-in;
    overflow: hidden; border-radius: var(--r); aspect-ratio: 1; position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.06); opacity: .9; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none;
    place-items: center; background: rgba(15,13,10,.94); padding: 1.5rem;
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: var(--r); }
.lightbox__close, .lightbox__nav {
    position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 1.2rem; transition: .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ---------- Grados de transparencia ---------- */
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); }
.grade { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.grade__img { aspect-ratio: 3/2; overflow: hidden; }
.grade__img img { width: 100%; height: 100%; object-fit: cover; }
.grade__body { padding: 1.5rem; }
.grade__meter { display: flex; gap: 4px; margin-bottom: 1rem; }
.grade__meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--sand-deep); }
.grade__meter i.on { background: var(--accent); }
.grade h3 { margin-bottom: .4rem; }
.grade p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Smart ---------- */
.smart { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.smart__video { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.smart__video video { width: 100%; aspect-ratio: 9/16; object-fit: cover; max-height: 620px; }
.smart__list { list-style: none; padding: 0; margin: 0 0 2rem; }
.smart__list li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.smart__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-top: .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
    padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
    font-size: .8rem; color: #E4DED4;
}

/* ---------- Clima / temporada ---------- */
.climate { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.climate__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.climate__stat { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); color: var(--accent); line-height: 1; margin-bottom: .3rem; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: s; }
.step { position: relative; padding-top: 2.6rem; counter-increment: s; }
.step::before {
    content: "0" counter(s);
    position: absolute; top: 0; left: 0;
    font-family: var(--serif); font-size: 2.4rem; color: var(--sand-deep); line-height: 1;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------- Testimonios (placeholders) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.quote {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.75rem;
    display: flex; flex-direction: column;
}
.quote__stars { color: var(--accent); letter-spacing: .15em; margin-bottom: 1rem; font-size: .9rem; }
.quote p { font-size: .95rem; color: var(--ink-soft); font-style: italic; }
.quote__who { margin-top: auto; padding-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.quote--todo { border-style: dashed; border-color: #C9BCA6; background: #FDFBF7; }
.quote--todo p { color: #8A7C66; font-style: normal; }

/* Marcador de contenido pendiente del cliente */
.todo {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: #A8863F; background: #FBF2DC; border: 1px solid #EBDCB4;
    padding: .25rem .6rem; border-radius: 3px; margin-bottom: .9rem;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
    font-family: var(--serif); font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: .5rem; top: 50%; width: 12px; height: 12px;
    border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
    transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 2rem 1.6rem 0; font-size: .95rem; color: var(--muted); }

/* ---------- Formulario ---------- */
.quote-sec { background: var(--ink); color: #CFC8BE; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.quote-side h2 { color: #fff; }
.quote-side .lead { color: #ADA396; }
.quote-side ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.quote-side li { display: flex; gap: .85rem; padding: .7rem 0; font-size: .93rem; }
.quote-side li svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: .28rem; }

.form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; font: inherit; font-size: .93rem; color: var(--ink);
    background: var(--bone); border: 1px solid var(--line); border-radius: var(--r);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 3px rgba(169,120,74,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #A79C8E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .76rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form__msg { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r); font-size: .88rem; }
.form__msg.is-ok  { display: block; background: #EAF6EE; color: #1D6B3A; border: 1px solid #BFE3CC; }
.form__msg.is-err { display: block; background: #FCEDEC; color: #9A2C22; border: 1px solid #F3CFCB; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: #100E0B; color: #8A8177; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .88rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__logo img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.75rem;
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
    font-size: .8rem; color: #6B6459;
}
.footer__bottom a { color: #9A9186; }
.byline { display: inline-flex; align-items: center; gap: .4rem; }
.byline a { color: var(--accent); font-weight: 600; }

/* ---------- WhatsApp flotante + barra móvil ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa); color: #fff; display: grid; place-items: center;
    box-shadow: 0 6px 24px rgba(37,211,102,.4); text-decoration: none;
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.mobile-bar { display: none; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .intro, .smart, .climate, .quote-grid { grid-template-columns: 1fr; }
    .intro__media, .smart__video { max-width: 460px; margin-inline: auto; }
    .benefits, .steps, .grades, .quotes { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    /* Se ancla al header (sticky) para que no se despegue con la barra superior */
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        gap: 0; background: #fff; border-bottom: 1px solid var(--line);
        padding: 1rem var(--pad) 1.75rem; margin: 0;
        transform: translateY(-120%); transition: transform .35s var(--ease);
        max-height: calc(100dvh - 78px); overflow-y: auto;
        z-index: -1;
    }
    .nav.is-open { transform: none; box-shadow: var(--shadow-lg); z-index: 1; }
    .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .nav a::after { display: none; }
    .nav .btn { display: inline-flex; border-bottom: 0; }
    .header__cta { display: none; }
    .burger { display: flex; }
    .trust__grid { grid-template-columns: 1fr 1fr; }
    .form__row { grid-template-columns: 1fr; gap: 0; }
    .quotes, .grades { grid-template-columns: 1fr; }
    .wa-float { bottom: 84px; }
    body { padding-bottom: 68px; }

    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        padding: .7rem var(--pad) calc(.7rem + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
    }
    .mobile-bar .btn { padding: .8rem 1rem; font-size: .85rem; }
}

@media (max-width: 620px) {
    .benefits, .steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .lightbox__nav { width: 40px; height: 40px; }
    .lightbox__nav--prev { left: .5rem; } .lightbox__nav--next { right: .5rem; }
}
