/* ==========================================================================
   TAURO SERVICIO LAVADO | Landing corporativa (tema claro)
   Mobile first. Sistema de diseno derivado del logo:
   azul rey + celeste + destello dorado, con la serifa Didone de la marca.
   Escala z: progreso 90, loader 100, nav 60, menu 55, flotante 50.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
    --bg: #F6F9FF;
    --bg-2: #EAF1FF;
    --surface: #FFFFFF;

    --ink: #0B1B4B;
    --ink-2: #384870;
    --ink-3: #5A6990;

    --blue: #1E48D6;
    --blue-600: #1A3FBD;
    --blue-700: #142F94;
    --blue-900: #0A1B5E;
    --sky: #22A5E6;
    --gold: #F7C325;
    --gold-600: #E3A800;
    --wa: #25D366;

    --line: rgba(11, 27, 75, .10);
    --line-2: rgba(11, 27, 75, .18);

    --shadow-1: 0 1px 2px rgba(11, 27, 75, .05), 0 12px 32px -12px rgba(30, 72, 214, .22);
    --shadow-2: 0 40px 90px -30px rgba(30, 72, 214, .45);

    /* Sistema de formas: botones pastilla, tarjetas 28, imagenes 24, campos 16 */
    --r-btn: 999px;
    --r-card: 28px;
    --r-img: 24px;
    --r-input: 16px;

    --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', 'Times New Roman', serif;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);

    --container: 1240px;
    --gutter: clamp(20px, 5vw, 48px);
    --nav-h: 64px;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
section[id] { scroll-margin-top: 80px; }

.skip-link {
    position: fixed; left: 16px; top: -80px; z-index: 200;
    background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-btn);
    transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. TIPOGRAFIA ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.section-title {
    font-size: clamp(2rem, 5.6vw, 3.6rem);
    letter-spacing: -.04em; line-height: 1.04;
    text-wrap: balance;
}
.section-title--light { color: #fff; }
.section-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 58ch; margin-top: 18px; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 6vw, 68px); }

.grad {
    font-style: normal;
    background: linear-gradient(100deg, var(--blue) 0%, var(--sky) 45%, var(--blue) 90%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* palabras enmascaradas (JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- 4. BOTONES ---------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .65em;
    min-height: 52px; padding: .75rem 1.5rem;
    border-radius: var(--r-btn);
    font-weight: 600; font-size: 1rem; letter-spacing: -.01em; line-height: 1.2; text-align: center;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, border-color .3s;
    -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.15em; transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 58px; padding: .85rem 1.9rem; font-size: 1.04rem; }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .93rem; }
.btn--block { width: 100%; }

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0%, #2F66F2 100%);
    box-shadow: 0 14px 34px -12px rgba(30, 72, 214, .65), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
    transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn--primary:hover { box-shadow: 0 20px 44px -12px rgba(30, 72, 214, .75), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn--primary:hover::before { transform: translateX(130%); }

.btn--ghost {
    color: var(--ink); background: rgba(255, 255, 255, .78);
    border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: #fff; border-color: var(--blue); color: var(--blue); }

.btn--gold {
    color: var(--ink); background: linear-gradient(135deg, #FFD54A, var(--gold) 55%, #F0B400);
    box-shadow: 0 14px 34px -12px rgba(247, 195, 37, .7), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover { box-shadow: 0 22px 44px -12px rgba(247, 195, 37, .85), inset 0 1px 0 rgba(255, 255, 255, .55); }

@media (min-width: 768px) { .btn { white-space: nowrap; } }

/* ---------- 5. CARGA ---------- */
#loader {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center;
    background:
        radial-gradient(700px 500px at 50% 42%, rgba(34, 165, 230, .16), transparent 70%),
        radial-gradient(600px 400px at 80% 90%, rgba(247, 195, 37, .14), transparent 70%),
        var(--bg);
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.1s var(--ease-io);
}
#loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
#loader.is-gone { display: none; }
.no-js #loader { display: none; }

.loader__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 62%);
    mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 62%);
    opacity: .7;
    animation: gridDrift 14s linear infinite;
}
@keyframes gridDrift { to { background-position: 56px 56px, 56px 56px; } }

.loader__center { position: relative; display: grid; justify-items: center; text-align: center; transition: transform .9s var(--ease), opacity .6s; }
#loader.is-done .loader__center { transform: translateY(-24px) scale(.96); opacity: 0; }

.loader__ring { position: relative; width: 148px; height: 148px; margin-bottom: 28px; }
.loader__svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.loader__track { fill: none; stroke: var(--line-2); stroke-width: 2; }
.loader__arc {
    fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round;
    stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--p, 0)));
    transition: stroke-dashoffset .25s linear;
    filter: drop-shadow(0 0 6px rgba(30, 72, 214, .35));
}
.loader__arc--inner {
    stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 60 198; stroke-dashoffset: 0;
    transform-origin: 60px 60px; animation: spin 1.5s linear infinite; transition: none;
    filter: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader__glyph {
    position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
    color: var(--blue); animation: pulseGlyph 2.2s var(--ease-io) infinite;
}
@keyframes pulseGlyph { 50% { transform: scale(1.12); } }
.loader__spark { position: absolute; fill: var(--gold); width: 18px; height: 18px; animation: twinkle 2.4s ease-in-out infinite; }
.loader__spark--a { right: -2px; top: 6px; }
.loader__spark--b { left: 2px; bottom: 10px; width: 12px; height: 12px; animation-delay: 1.1s; }

.loader__brand {
    font-family: var(--font-serif); font-weight: 800; font-size: 2.3rem; letter-spacing: .22em; text-indent: .22em;
    color: var(--ink); line-height: 1;
}
.loader__sub { margin-top: 10px; font-size: .74rem; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; font-weight: 600; color: var(--blue-700); }
.loader__bar { width: min(240px, 62vw); height: 3px; border-radius: 3px; background: var(--line-2); margin-top: 28px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), var(--sky), var(--gold)); transition: transform .25s linear; }
.loader__status { margin-top: 14px; display: flex; gap: 14px; font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.loader__status b { color: var(--ink); font-weight: 600; min-width: 3ch; text-align: left; }

/* ---------- 6. PROGRESO + NAV + MENU ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--sky), var(--gold)); }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 12px var(--gutter) 0; transition: transform .6s var(--ease); pointer-events: none; }
.nav.is-hidden { transform: translateY(-130%); }
.nav__bar {
    pointer-events: auto;
    max-width: var(--container); margin-inline: auto; height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 0 10px 0 22px;
    border-radius: var(--r-btn);
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 36px -14px rgba(11, 27, 75, .25);
    transition: background .4s, box-shadow .4s;
}
.nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 44px -16px rgba(11, 27, 75, .35); }
.nav__brand img { height: 44px; width: auto; }
.nav__links { display: none; }
.nav__cta { display: none; }

.nav__burger { width: 46px; height: 46px; border-radius: 50%; position: relative; background: var(--ink); flex: none; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 55;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--nav-h) + 48px) var(--gutter) max(28px, env(safe-area-inset-bottom));
    background:
        radial-gradient(500px 360px at 90% 10%, rgba(34, 165, 230, .22), transparent 70%),
        radial-gradient(420px 320px at 0% 100%, rgba(247, 195, 37, .2), transparent 70%),
        var(--bg);
    clip-path: circle(0 at calc(100% - 40px) 40px);
    visibility: hidden;
    transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a {
    font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1.25;
    opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .31s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .37s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .43s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .49s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .55s; }
.menu__nav a:hover { color: var(--blue); }
.menu__foot { display: grid; gap: 16px; justify-items: center; }
.menu__tel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }

/* ---------- 7. HERO ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: 100dvh;
    padding: calc(var(--nav-h) + 40px) 0 72px;
    display: flex; align-items: center;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 55%, var(--bg-2) 100%);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.hero__mesh i:nth-child(1) { width: 52vw; height: 52vw; max-width: 640px; max-height: 640px; left: -14%; top: -10%; background: rgba(30, 72, 214, .20); animation: drift1 22s ease-in-out infinite alternate; }
.hero__mesh i:nth-child(2) { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; right: -12%; top: 6%; background: rgba(34, 165, 230, .26); animation: drift2 26s ease-in-out infinite alternate; }
.hero__mesh i:nth-child(3) { width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; right: 24%; bottom: -14%; background: rgba(247, 195, 37, .22); animation: drift3 19s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(.88); } }
@keyframes drift3 { to { transform: translate(-16vw, -12vh) scale(1.25); } }

.hero__sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sparkle { fill: var(--gold); width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(247, 195, 37, .6)); animation: twinkle 3.2s ease-in-out infinite; }
.hero__sparkles .sparkle { position: absolute; }
.s1 { left: 6%; top: 22%; }
.s2 { right: 8%; top: 16%; width: 30px; height: 30px; animation-delay: .8s; }
.s3 { left: 44%; top: 12%; width: 14px; height: 14px; animation-delay: 1.6s; }
.s4 { right: 14%; bottom: 20%; width: 18px; height: 18px; animation-delay: 2.1s; }
.s5 { left: 10%; bottom: 14%; width: 26px; height: 26px; animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { opacity: .25; scale: .6; rotate: 0deg; } 50% { opacity: 1; scale: 1.1; rotate: 45deg; } }

.hero__grid { position: relative; z-index: 2; display: grid; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2rem, 10.2vw, 3.4rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 700; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; white-space: nowrap; }
.hero__title .line__in { display: inline-block; will-change: transform; }
.hero__lead { margin-top: 22px; font-size: clamp(1.04rem, 2.6vw, 1.25rem); max-width: 34ch; color: var(--ink-2); }
.hero__cta { margin-top: 30px; display: grid; gap: 12px; }

.hero__stage { position: relative; padding-bottom: 36px; }
/* Tarjeta plana: sin preserve-3d ni backdrop-filter, para que marco y foto se compongan como un solo plano en la GPU */
.stage__main {
    position: relative; padding: 10px; border-radius: 34px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: var(--shadow-2);
}
.stage__arch {
    position: absolute; left: -2%; bottom: -2%; width: 27%; max-width: 140px; aspect-ratio: 334 / 653;
    border-radius: var(--r-btn); overflow: hidden; border: 5px solid #fff; background: #fff;
    box-shadow: 0 24px 50px -18px rgba(11, 27, 75, .5);
    animation: floatY 7s ease-in-out infinite;
}
.stage__arch img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floatY { 50% { translate: 0 -14px; } }

.seal {
    position: absolute; right: 4px; bottom: -30px; width: 92px; height: 92px; border-radius: 50%;
    background: #fff; box-shadow: var(--shadow-1); display: grid; place-items: center;
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.seal__ring text { font-family: var(--font); font-size: 15.5px; font-weight: 600; letter-spacing: 2.6px; fill: var(--ink); }
.seal__glyph { width: 34px; height: 34px; color: var(--blue); position: relative; }

/* ---------- 8. COMPARADOR ANTES / DESPUES ---------- */
.ba {
    --pos: 50%;
    position: relative; width: 100%; aspect-ratio: var(--ar, 1.72);
    border-radius: var(--r-img); overflow: hidden; background: var(--bg-2);
    user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba__img, .ba__before, .ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
    position: absolute; top: 14px; z-index: 4; padding: 6px 12px; border-radius: var(--r-btn);
    font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: rgba(11, 27, 75, .74);
    transition: opacity .4s;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 22px rgba(11, 27, 75, .45); pointer-events: none; }
.ba__knob {
    position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
    background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 1.3rem;
    box-shadow: 0 10px 30px -8px rgba(11, 27, 75, .55);
}
.ba__knob::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); animation: ripple 2.4s var(--ease) infinite; }
@keyframes ripple { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
.ba__range {
    position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0;
    cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100vh; }
.ba__range::-moz-range-thumb { width: 44px; height: 100vh; border: 0; }
.ba:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.ba--lg { border-radius: 30px; box-shadow: var(--shadow-2); }
.ba--lg .ba__tag { top: 18px; font-size: .8rem; }
.ba--lg .ba__tag--before { left: 18px; }
.ba--lg .ba__tag--after { right: 18px; }

/* ---------- 9. CONFIANZA ---------- */
.trust { position: relative; z-index: 3; margin-top: -28px; }
.trust__row {
    display: grid; gap: 22px; padding: 24px clamp(20px, 3vw, 36px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-1);
}
.trust__list { display: grid; gap: 14px; }
.trust__list li { display: flex; align-items: center; gap: 14px; font-size: .96rem; line-height: 1.35; }
.trust__list li i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-2); color: var(--blue); font-size: 1.35rem; }
.trust__list b { display: block; color: var(--ink); font-weight: 600; }
.trust__pay { display: grid; gap: 8px; justify-items: start; padding-top: 18px; border-top: 1px solid var(--line); }
.trust__pay p { font-size: .84rem; color: var(--ink-3); font-weight: 500; }
.trust__pay img { width: 210px; height: auto; }

/* ---------- 10. SERVICIOS (bento) ---------- */
.bento { display: grid; gap: 16px; }
.tile {
    position: relative; isolation: isolate; overflow: hidden; min-height: 330px;
    border-radius: var(--r-card); background: var(--blue-900); color: #fff;
    display: flex; align-items: flex-end;
    box-shadow: var(--shadow-1);
}
.tile__img { position: absolute; left: 0; top: -8%; z-index: -2; width: 100%; height: 116%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 20, 70, .86) 6%, rgba(8, 20, 70, .32) 46%, rgba(8, 20, 70, 0) 74%); }
.tile::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 60%);
}
.tile:hover::after { opacity: 1; }
.tile:hover .tile__img { transform: scale(1.07); }
.tile__body { padding: 26px; padding-right: 86px; position: relative; }
.tile__icon {
    display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 15px; font-size: 1.4rem;
    background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .38);
}
.tile h3 { color: #fff; font-size: 1.45rem; letter-spacing: -.03em; }
.tile p { margin-top: 8px; font-size: .96rem; color: rgba(255, 255, 255, .88); max-width: 40ch; }
.tile__go {
    position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center;
    border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem;
    transition: transform .5s var(--ease), background-color .3s;
}
.tile__go:hover { background: var(--gold); transform: rotate(45deg) scale(1.08); }
.tile--pro { background: linear-gradient(145deg, var(--blue-700), var(--blue) 60%, #2F66F2); }
.tile--pro::before { display: none; }
.tile--pro .tile__body { padding-right: 38%; }
.tile__arch {
    position: absolute; right: 16px; bottom: -34px; z-index: -1; width: 34%; max-width: 160px; aspect-ratio: 334 / 653;
    object-fit: cover; border-radius: var(--r-btn); border: 5px solid rgba(255, 255, 255, .9);
    transform: rotate(5deg); transition: transform 1s var(--ease);
}
.tile--pro:hover .tile__arch { transform: rotate(0) translateY(-10px); }
.tile--pro .tile__icon { display: none; }
.tile--pro .tile__go { right: auto; left: 26px; bottom: 22px; background: #fff; }
.tile--pro .tile__body { padding-top: 26px; padding-bottom: 88px; }

/* ---------- 11. PRUEBA (slider grande) ---------- */
.proof { background: linear-gradient(180deg, var(--bg) 0%, #fff 50%, var(--bg) 100%); }
.proof__grid { display: grid; gap: 28px; align-items: center; }
.proof__panel { display: grid; gap: 22px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tab {
    position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; border: 2px solid transparent; background: var(--ink);
    transition: border-color .3s, transform .5s var(--ease), box-shadow .3s;
}
.tab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform 1s var(--ease); }
.tab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 70, .85), transparent 70%); }
.tab span { position: absolute; left: 12px; bottom: 9px; z-index: 1; color: #fff; font-size: .86rem; font-weight: 600; }
.tab:hover img { opacity: 1; transform: scale(1.06); }
.tab.is-active { border-color: var(--blue); box-shadow: 0 12px 30px -12px rgba(30, 72, 214, .6); }
.tab.is-active img { opacity: 1; }
.case h3 { font-size: 1.5rem; }
.case p { margin-top: 10px; }
.case__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags li { padding: 6px 14px; border-radius: var(--r-btn); background: var(--bg-2); color: var(--blue-700); font-size: .82rem; font-weight: 600; }
.ba--lg img { transition: opacity .5s; }
.ba.is-swapping .ba__img, .ba.is-swapping .ba__before { opacity: 0; }

/* ---------- 12. IMAGEN QUE SE ABRE ---------- */
.expand { position: relative; background: var(--bg); }
.expand__pin { position: relative; height: 100dvh; min-height: 560px; overflow: hidden; display: grid; place-items: start center; }
.expand__title {
    position: relative; z-index: 3; margin-top: clamp(72px, 12vh, 130px); text-align: center; padding-inline: var(--gutter);
    font-size: clamp(1.9rem, 6.4vw, 4rem); letter-spacing: -.04em; line-height: 1.04; text-wrap: balance;
    color: var(--ink); transition: color .4s;
}
.expand__title.is-light { color: #fff; text-shadow: 0 2px 30px rgba(8, 20, 70, .55); }
.expand__frame {
    position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--ink);
    clip-path: inset(38% 10% 12% 10% round 28px);
    will-change: clip-path;
}
.expand__img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transform-origin: center; will-change: transform; }
.expand__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8, 20, 70, .5), transparent 34%, transparent 58%, rgba(8, 20, 70, .72)); }
.expand__scan {
    position: absolute; z-index: 2; top: 0; bottom: 0; width: 22%; left: -22%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), rgba(247, 195, 37, .35), transparent);
    animation: scan 5s var(--ease-io) infinite;
    mix-blend-mode: soft-light;
}
@keyframes scan { 0% { left: -22%; } 60%, 100% { left: 110%; } }
.expand__tag {
    position: absolute; z-index: 3; bottom: 24%; padding: 9px 16px; border-radius: var(--r-btn);
    font-size: .82rem; font-weight: 600; color: #fff; background: rgba(11, 27, 75, .6);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3);
    opacity: 0;
}
.expand__tag--l { left: 6%; }
.expand__tag--r { right: 6%; }
.expand__caption {
    position: absolute; z-index: 3; left: 50%; bottom: 7%; width: min(560px, calc(100% - var(--gutter) * 2)); transform: translateX(-50%);
    text-align: center; color: #fff; font-size: clamp(.98rem, 2.2vw, 1.15rem); opacity: 0; text-shadow: 0 2px 16px rgba(8, 20, 70, .6);
}
/* Respaldo si GSAP no carga: todo queda visible y usable */
.no-gsap .expand__tag, .no-gsap .expand__caption { opacity: 1; }
.no-gsap .expand__frame { clip-path: none; }
.no-gsap .expand__title { color: #fff; text-shadow: 0 2px 30px rgba(8, 20, 70, .55); }
.no-gsap .reel__viewport { min-width: 0; overflow-x: auto; }
.no-gsap .reel__pin { height: auto; min-height: 0; padding-block: 0 20px; }

/* ---------- 13. COLCHONES (noche + lupa) ---------- */
.night__card {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 40px; padding: clamp(28px, 5vw, 64px); border-radius: 36px; color: #fff;
    background:
        radial-gradient(900px 420px at 90% -10%, rgba(34, 165, 230, .5), transparent 62%),
        radial-gradient(600px 360px at 0% 110%, rgba(247, 195, 37, .16), transparent 65%),
        linear-gradient(150deg, var(--blue-900) 0%, #11308F 55%, var(--blue) 100%);
    box-shadow: var(--shadow-2);
}
.night__stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.night__stars .sparkle { position: absolute; }
.n1 { left: 8%; top: 12%; } .n2 { right: 44%; top: 8%; width: 14px; height: 14px; animation-delay: 1s; }
.n3 { right: 7%; bottom: 14%; width: 30px; height: 30px; animation-delay: 1.8s; } .n4 { left: 46%; bottom: 8%; width: 16px; height: 16px; animation-delay: .5s; }
.night__title { color: #fff; font-size: clamp(2rem, 5.4vw, 3.4rem); letter-spacing: -.04em; text-wrap: balance; }
.night__lead { margin-top: 18px; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 46ch; }
.ticks { margin: 26px 0 32px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .95); font-size: 1rem; }
.ticks i { flex: none; margin-top: 2px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .8rem; }
.night__visual { align-self: center; }
.lens {
    --lx: 50%; --ly: 50%; --ld: 150px;
    position: relative; aspect-ratio: var(--ar); border-radius: var(--r-img); overflow: hidden; cursor: grab;
    border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .6);
    touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.lens:active { cursor: grabbing; }
.lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens__clean { position: absolute; inset: 0; clip-path: circle(calc(var(--ld) / 2) at var(--lx) var(--ly)); }
.lens__ring {
    position: absolute; left: var(--lx); top: var(--ly); width: var(--ld); height: var(--ld); transform: translate(-50%, -50%);
    border-radius: 50%; border: 3px solid #fff; pointer-events: none;
    background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .34), transparent 40%);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .16), 0 24px 50px -10px rgba(0, 0, 0, .55);
}
.lens__ring::after {
    content: ""; position: absolute; width: 14px; height: 70px; right: -11%; bottom: -34%; border-radius: 10px;
    background: linear-gradient(var(--gold), var(--gold-600)); transform: rotate(-42deg); transform-origin: top center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}
.lens__hint { margin-top: 16px; display: flex; align-items: center; gap: 10px; justify-content: center; font-size: .92rem; color: rgba(255, 255, 255, .84); }
.lens__hint i { font-size: 1.2rem; color: var(--gold); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* ---------- 14. GALERIA HORIZONTAL ---------- */
.reel { position: relative; padding-block: clamp(64px, 9vw, 110px) 40px; background: #fff; border-block: 1px solid var(--line); }
.reel__pin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; overflow: hidden; }
.reel__head .section-lead { margin-top: 14px; }
.reel__viewport { min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-block: 8px 18px; scrollbar-width: none; }
.reel__viewport::-webkit-scrollbar { display: none; }
.reel__track { display: flex; gap: 18px; width: max-content; padding-inline: var(--gutter); }
.reel__item { --h: min(58vh, 460px); flex: none; scroll-snap-align: center; display: grid; gap: 12px; }
.reel__item img { height: var(--h); width: auto; aspect-ratio: var(--ar); object-fit: cover; border-radius: var(--r-img); box-shadow: var(--shadow-1); background: var(--bg-2); }
.reel__item figcaption { font-size: .92rem; font-weight: 500; color: var(--ink-2); padding-inline: 6px; }
.reel__progress { margin-inline: var(--gutter); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.reel__progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(.12); background: linear-gradient(90deg, var(--blue), var(--sky)); }

/* ---------- 15. MARQUEE (unico) ---------- */
.marquee { overflow: hidden; padding: clamp(22px, 4vw, 40px) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: clamp(22px, 4vw, 56px); width: max-content; animation: marquee 46s linear infinite; padding-right: clamp(22px, 4vw, 56px); }
.marquee__track span {
    font-family: var(--font-serif); font-weight: 700; font-size: clamp(3rem, 10vw, 7.5rem); line-height: 1; letter-spacing: -.02em;
    color: transparent; -webkit-text-stroke: 1.5px var(--blue); white-space: nowrap;
}
.marquee__track span:nth-of-type(even) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__track .sparkle { flex: none; width: clamp(22px, 3.4vw, 40px); height: clamp(22px, 3.4vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 16. PROCESO ---------- */
.process__grid { display: grid; gap: 48px; align-items: start; }
.process__sticky .btn { margin-top: 30px; }
.steps { --p: 0; position: relative; display: grid; gap: 8px; padding-left: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line-2); }
.steps::after { background: linear-gradient(var(--blue), var(--sky)); transform: scaleY(var(--p)); transform-origin: top; }
.step {
    position: relative; isolation: isolate; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
    padding: 24px 24px 24px 0; overflow: hidden;
}
.step__num {
    position: absolute; right: 8px; top: -8px; z-index: -1; font-family: var(--font-serif); font-weight: 800;
    font-size: clamp(6rem, 18vw, 9.5rem); line-height: 1; color: var(--blue); opacity: .07; transition: opacity .6s, transform .8s var(--ease);
}
.step__icon {
    position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; font-size: 1.5rem;
    background: #fff; color: var(--blue); border: 1px solid var(--line-2); box-shadow: var(--shadow-1);
    transition: background-color .5s, color .5s, transform .6s var(--ease), border-color .5s;
}
.step h3 { font-size: 1.4rem; margin-top: 4px; }
.step p { margin-top: 8px; max-width: 46ch; }
.step.is-active .step__icon { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.1); }
.step.is-active .step__num { opacity: .13; transform: translateX(-10px); }

/* ---------- 17. POR QUE TAURO (sticky stack) ---------- */
.stack { display: block; }
.card {
    --i: 0;
    position: sticky; top: calc(var(--nav-h) + 28px + var(--i) * 16px); margin-bottom: 24px;
    display: grid; gap: 28px; align-items: center; min-height: 360px; overflow: hidden;
    padding: clamp(26px, 4vw, 52px); border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow-1);
    transform-origin: center top; will-change: transform;
}
.card:nth-child(2) { --i: 1; } .card:nth-child(3) { --i: 2; } .card:nth-child(4) { --i: 3; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 18px; font-size: 1.6rem; background: var(--bg-2); color: var(--blue); }
.card h3 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -.035em; max-width: 18ch; }
.card p { margin-top: 14px; max-width: 44ch; font-size: 1.04rem; }
.card--a { background: #fff; }
.card--b { background: linear-gradient(140deg, var(--blue-700), var(--blue) 60%, #2F66F2); color: rgba(255, 255, 255, .9); border-color: transparent; }
.card--b h3 { color: #fff; } .card--b .card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.card--c { background: #DCE8FF; }
.card--c .card__icon { background: #fff; }
.card--d { background: #FFF1BE; border-color: rgba(227, 168, 0, .3); }
.card--d .card__icon { background: #fff; color: var(--blue-700); }
.card__art { position: relative; min-height: 180px; border-radius: 24px; overflow: hidden; }
.card__art--bubbles { background: linear-gradient(160deg, #E6EEFF, #CFE0FF); }
.card__art--bubbles i { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .95); background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .95), rgba(34, 165, 230, .22) 55%, rgba(30, 72, 214, .18)); animation: bubbleUp 7s ease-in infinite; }
.card__art--bubbles i:nth-child(1) { width: 74px; height: 74px; left: 12%; bottom: -80px; }
.card__art--bubbles i:nth-child(2) { width: 38px; height: 38px; left: 34%; bottom: -50px; animation-delay: 1.6s; animation-duration: 6s; }
.card__art--bubbles i:nth-child(3) { width: 108px; height: 108px; left: 52%; bottom: -120px; animation-delay: .8s; animation-duration: 9s; }
.card__art--bubbles i:nth-child(4) { width: 28px; height: 28px; left: 78%; bottom: -40px; animation-delay: 2.6s; animation-duration: 5s; }
.card__art--bubbles i:nth-child(5) { width: 58px; height: 58px; left: 88%; bottom: -70px; animation-delay: 3.4s; animation-duration: 8s; }
@keyframes bubbleUp { 0% { transform: translate(0, 0) scale(.7); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(18px, -340px) scale(1.1); opacity: 0; } }
.card__art--route { background: rgba(255, 255, 255, .12); display: grid; place-items: center; padding: 18px; }
.card__art--route svg { width: 100%; max-width: 360px; overflow: visible; }
.card__art--route path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 12; animation: dash 1.6s linear infinite; }
.card__art--route circle { fill: var(--gold); }
@keyframes dash { to { stroke-dashoffset: -40; } }
.card__art--weave {
    background:
        repeating-linear-gradient(45deg, rgba(30, 72, 214, .16) 0 2px, transparent 2px 14px),
        repeating-linear-gradient(-45deg, rgba(30, 72, 214, .16) 0 2px, transparent 2px 14px),
        #EEF4FF;
}
.card__art--weave::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 4.5s var(--ease-io) infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.card__art--pay { display: grid; place-items: center; background: #fff; padding: 22px; }
.card__art--pay img { width: min(300px, 90%); height: auto; }

/* ---------- 18. CIFRAS ---------- */
.numbers { padding-block: 0 clamp(72px, 10vw, 120px); }
.numbers__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-card); overflow: hidden;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.numbers__grid li { padding: 30px 22px; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--line); }
.numbers__grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.numbers__grid li:nth-last-child(-n+2) { border-bottom: 0; }
.numbers__grid strong { font-weight: 700; font-size: clamp(2.8rem, 9vw, 4.6rem); line-height: 1; letter-spacing: -.05em; color: var(--blue); font-variant-numeric: tabular-nums; }
.numbers__grid span:not(.count) { font-size: .93rem; color: var(--ink-2); max-width: 20ch; line-height: 1.4; }

/* ---------- 19. FAQ ---------- */
.faq { background: #fff; border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 40px; }
.faq__intro .btn { margin-top: 28px; }
.acc { border-bottom: 1px solid var(--line-2); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); transition: color .3s; }
.acc__btn:hover { color: var(--blue); }
.acc__btn i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); color: var(--blue); transition: transform .6s var(--ease), background-color .3s, color .3s; }
.acc.is-open .acc__btn i { transform: rotate(135deg); background: var(--blue); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__panel > div { overflow: hidden; min-height: 0; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { padding: 0 56px 26px 0; max-width: 62ch; }

/* ---------- 20. CONTACTO ---------- */
.contact { padding-top: clamp(60px, 9vw, 120px); }
.contact__card {
    position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 36px; align-items: center;
    padding: clamp(26px, 5vw, 72px); border-radius: 40px; color: #fff;
    background: linear-gradient(145deg, var(--blue-900) 0%, var(--blue-700) 45%, var(--blue) 100%);
    box-shadow: var(--shadow-2);
}
.contact__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact__bg i { position: absolute; border-radius: 50%; filter: blur(60px); }
.contact__bg i:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -140px; background: rgba(34, 165, 230, .5); animation: drift2 18s ease-in-out infinite alternate; }
.contact__bg i:nth-child(2) { width: 320px; height: 320px; left: -100px; bottom: -120px; background: rgba(34, 165, 230, .38); animation: drift3 16s ease-in-out infinite alternate; }
.contact__lead { margin-top: 18px; color: rgba(255, 255, 255, .88); font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 42ch; }
.contact__list { margin-top: 28px; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .95); font-size: 1rem; }
.contact__list i { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .14); color: var(--gold); font-size: 1.25rem; }
.contact__list a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); transition: text-decoration-color .3s; }
.contact__list a:hover { text-decoration-color: var(--gold); }

.form { display: grid; gap: 16px; padding: clamp(22px, 3.4vw, 36px); border-radius: var(--r-card); background: #fff; color: var(--ink-2); box-shadow: 0 40px 80px -30px rgba(3, 10, 40, .6); }
.form__title { font-size: 1.5rem; margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1.4fr; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-input);
    background: var(--bg); border: 1.5px solid var(--line-2); color: var(--ink);
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6B7799; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E48D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 72, 214, .16); }
.field.is-invalid input, .field.is-invalid select { border-color: #C62828; background: #FFF6F6; }
.field__err { min-height: 0; font-size: .82rem; font-weight: 500; color: #C62828; }
.form__note { text-align: center; font-size: .86rem; color: var(--ink-3); }
.form.is-sending .btn { opacity: .75; pointer-events: none; }

/* ---------- 21. FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding-top: 40px; background: #fff; border-top: 1px solid var(--line); margin-top: clamp(60px, 9vw, 120px); }
.footer__mark {
    font-family: var(--font-serif); font-weight: 800; font-size: min(calc((100vw - var(--gutter) * 2) / 4.1), 19rem); line-height: .84; letter-spacing: -.01em; text-align: center; white-space: nowrap;
    user-select: none; background: linear-gradient(180deg, var(--blue) 0%, rgba(30, 72, 214, .08) 88%);
    -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 8px; margin-bottom: 28px;
}
.footer__grid { display: grid; gap: 36px; padding-bottom: 44px; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: .96rem; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: .96rem; }
.footer__col h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.footer__col a { color: var(--ink-2); transition: color .3s, transform .3s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--blue); transform: translateX(4px); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.footer__top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.footer__top:hover { color: var(--blue); }

/* ---------- 22. WHATSAPP FLOTANTE ---------- */
.wa-float {
    position: fixed; z-index: 50; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 62px; height: 62px; display: grid; place-items: center;
    border-radius: 50%; background: var(--wa); color: #fff;
    box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, .5);
    animation: waPulse 2.6s ease-out infinite; transition: transform .5s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float__tip {
    position: absolute; right: 74px; top: 50%; padding: 9px 16px; border-radius: var(--r-btn); white-space: nowrap;
    background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-1);
    opacity: 0; transform: translate(10px, -50%); pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.wa-float:hover .wa-float__tip, .wa-float.is-tip .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 70% { box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .7), 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ==========================================================================
   RESPONSIVE (mobile first)
   ========================================================================== */

/* >= 640 */
@media (min-width: 640px) {
    .nav__cta { display: inline-flex; }
    .hero__cta { grid-template-columns: auto auto; justify-content: start; }
    .tabs { grid-template-columns: repeat(4, 1fr); }
    .tab { aspect-ratio: 4 / 5; }
    .tab span { font-size: .8rem; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile--sala, .tile--colchon, .tile--pro { grid-column: span 2; }
    .trust__row { grid-template-columns: 1fr auto; align-items: center; }
    .trust__pay { padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line); }
    .numbers__grid { grid-template-columns: repeat(4, 1fr); }
    .numbers__grid li { border-bottom: 0 !important; border-right: 1px solid var(--line); padding: 38px 28px; }
    .numbers__grid li:last-child { border-right: 0; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* >= 900 */
@media (min-width: 900px) {
    .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 224px; }
    .tile { min-height: 0; }
    .tile--sala { grid-column: 1 / 8; grid-row: 1 / 3; }
    .tile--colchon { grid-column: 8 / 13; grid-row: 1 / 3; }
    .tile--alfombra { grid-column: 1 / 4; grid-row: 3; }
    .tile--sillon { grid-column: 4 / 9; grid-row: 3; }
    .tile--pro { grid-column: 9 / 13; grid-row: 3; }
    .tile--sala h3, .tile--colchon h3 { font-size: 1.9rem; }
    .tile--sala .tile__body, .tile--colchon .tile__body { padding: 36px; padding-right: 100px; }
    .tile--sala .tile__go, .tile--colchon .tile__go { right: 28px; bottom: 28px; width: 60px; height: 60px; }
    .tile--pro .tile__body { padding-top: 26px; padding-bottom: 84px; padding-right: 40%; }
    .tile--pro .tile__go { left: 26px; bottom: 20px; }

    .process__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
    .process__sticky { position: sticky; top: 120px; }
    .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
    .faq__intro { position: sticky; top: 120px; align-self: start; }
    .night__card { grid-template-columns: 1.05fr 1fr; gap: 56px; }
    .contact__card { grid-template-columns: 1fr 1fr; gap: 56px; }
    .card { grid-template-columns: 1.1fr .9fr; min-height: 420px; }
    .card__art { min-height: 300px; align-self: stretch; }

    /* Galeria: carrusel fijado con scroll vertical */
    .reel { padding-block: 0; }
    .reel__pin { height: 100dvh; min-height: 640px; align-content: center; gap: 28px; }
    .reel__viewport { overflow: visible; scroll-snap-type: none; padding-block: 0; }
    .reel__item { --h: min(50vh, 470px); }
    .reel__track { gap: 28px; }
}

/* >= 1024 */
@media (min-width: 1024px) {
    .nav__links { display: flex; align-items: center; gap: 6px; }
    .nav__links a { position: relative; padding: 10px 16px; font-size: .96rem; font-weight: 500; color: var(--ink-2); border-radius: var(--r-btn); transition: color .3s, background-color .3s; }
    .nav__links a:hover, .nav__links a.is-active { color: var(--blue); background: rgba(30, 72, 214, .08); }
    .nav__burger { display: none; }
    .nav__bar { padding-right: 10px; }

    .hero { padding-top: calc(var(--nav-h) + 56px); }
    .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 72px; }
    .hero__title { font-size: clamp(3rem, 4vw, 4.2rem); }
    .hero__stage { padding-bottom: 0; margin-right: calc(var(--gutter) * -.4); }
    .stage__arch { left: -7%; bottom: -14%; max-width: 150px; border-width: 6px; }
    .seal { width: 118px; height: 118px; right: -18px; top: auto; bottom: -48px; }
    .seal__ring text { font-size: 14.5px; }
    .seal__glyph { width: 38px; height: 38px; }

    .proof__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; }
    .tabs { grid-template-columns: 1fr 1fr; }
    .tab { aspect-ratio: 16 / 9; }
    .tab span { font-size: .86rem; }
    .footer__grid { gap: 56px; }
}

/* >= 1280 */
@media (min-width: 1280px) {
    .hero__title { font-size: 4.4rem; }
}

/* ==========================================================================
   MOVIMIENTO REDUCIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .marquee__track { animation: none; }
    .grad { animation: none; }
    .expand__tag, .expand__caption { opacity: 1; }
    .expand__frame { clip-path: inset(0 0 0 0 round 0); }
    .reel { padding-block: clamp(64px, 9vw, 110px) 40px; }
    .reel__pin { height: auto; min-height: 0; }
    .reel__viewport { min-width: 0; overflow-x: auto; }
}

@media (prefers-reduced-transparency: reduce) {
    .nav__bar, .btn--ghost, .stage__main { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
