/* ==========================================================================
   SINERGIA EMOCIONAL · Mtra. Lenia Rosas Brugada
   Sistema de diseño: "Noche → Amanecer"
   Derivado del logo: azul marino profundo + dorado + estrellas.
   Metodología: mobile first (base = móvil, luego 768 / 900 / 1100).

   Escala de z-index: 1 contenido · 2 capas hero/morph · 90 whatsapp · 95 grano
   98 menú móvil · 100 nav · 120 barra progreso · 1000 loader

   Sistema de formas: botones y chips = píldora (999px) · tarjetas y fotos = 28px
   · inputs = 16px. Un solo acento: dorado.
   ========================================================================== */

/* ───────────── 1. TOKENS ───────────── */
:root {
    --navy-950: #050B1D;
    --navy-900: #070F24;
    --navy-850: #0A1530;
    --navy-800: #0D1B3D;
    --navy-700: #13264F;
    --navy-600: #1B3A6E;

    --ice: #CFE0FF;
    --text: #EEF3FC;
    --text-dim: #AEBAD6;
    --text-mute: #7F8DAE;

    --gold-100: #F3E7C4;
    --gold-300: #E2C57C;
    --gold-500: #C9A45C;
    --gold-700: #8E6F32;
    --gold-ink: #7A5C22;

    --porcelain: #F4F7FD;
    --porcelain-2: #E7EDF9;
    --ink: #0B1632;
    --ink-dim: #44527A;

    --bg: var(--navy-900);
    --line: rgba(207, 224, 255, .12);
    --accent-text: var(--gold-300);

    --r-card: 28px;
    --r-input: 16px;
    --r-pill: 999px;

    --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);

    --gutter: clamp(20px, 5vw, 64px);
    --nav-h: 64px;
    color-scheme: dark;
}

/* ───────────── 2. BASE ───────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    scrollbar-color: var(--navy-600) var(--navy-950);
    background: var(--navy-950);
}
html.is-loading, html.menu-open { overflow: hidden; }

/* Las secciones fijadas (sticky) se alcanzan exactamente en su inicio, sin el margen de la navegación */
.manifesto, .morph, .services, .expand, .dawn { scroll-margin-top: -96px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Grano fino sobre toda la página: fijo y sin eventos para no costar rendimiento */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 95;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Los reveals laterales empiezan fuera de pantalla: se recortan para no crear scroll horizontal en móvil */
main, .footer { overflow-x: clip; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.06;
    text-wrap: balance;
}
h2 { font-size: clamp(2rem, 6.4vw, 3.9rem); }
p { text-wrap: pretty; }

::selection { background: var(--gold-300); color: var(--navy-900); }

:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--ink); }

.wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: fixed; left: 16px; top: -80px; z-index: 2000;
    padding: 12px 20px; border-radius: var(--r-pill);
    background: var(--gold-300); color: var(--navy-900); font-weight: 700; text-decoration: none;
    transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .9em;
    font: 700 .76rem/1 var(--font-body);
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
@media (max-width: 479px) { .eyebrow { letter-spacing: .15em; font-size: .7rem; } .eyebrow::before { display: none; } }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-dim); max-width: 56ch; }

.gold { font-style: normal; color: var(--gold-300); }

/* Estrella decorativa reutilizable (forma con clip-path, el brillo va en el contenedor) */
.star {
    display: inline-block; width: 1em; height: 1em; background: var(--gold-300);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.ic--lg { width: 44px; height: 44px; }
.ic--xl { width: 56px; height: 56px; }

/* ───────────── 3. COMPONENTES ───────────── */

/* Cristal: aproximación web de "frosted glass" (no es Liquid Glass oficial de Apple) */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)), rgba(10, 21, 48, .55);
    border: 1px solid rgba(207, 224, 255, .16);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 20px 60px -20px rgba(2, 6, 20, .6);
}
@media (prefers-reduced-transparency: reduce) {
    .glass { background: var(--navy-800); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Botones */
.btn {
    --h: 52px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .7em;
    height: var(--h); padding: 0 1.6em;
    border-radius: var(--r-pill);
    font: 700 .98rem/1 var(--font-body); letter-spacing: .005em;
    text-decoration: none; white-space: nowrap;
    translate: var(--tx, 0px) var(--ty, 0px);
    transition: translate .5s var(--ease), scale .3s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:active { scale: .97; }
.btn--sm { --h: 44px; padding: 0 1.25em; font-size: .9rem; }
.btn--lg { --h: 58px; padding: 0 1.9em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--gold {
    background: linear-gradient(135deg, #F4E4B0 0%, #DDB96B 48%, #C29840 100%);
    color: #0A1530;
    box-shadow: 0 14px 34px -10px rgba(201, 164, 92, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn--gold::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
    transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn--gold:hover { box-shadow: 0 20px 44px -10px rgba(201, 164, 92, .75), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--gold:hover::after { transform: translateX(130%); }

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(207, 224, 255, .28);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(226, 197, 124, .7); }

.btn--navy {
    background: var(--ink); color: #fff;
    box-shadow: 0 16px 36px -14px rgba(11, 22, 50, .7);
}
.btn--navy:hover { background: #14224A; box-shadow: 0 22px 44px -14px rgba(11, 22, 50, .85); }
.btn--navy::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(226, 197, 124, .35), transparent 70%);
    opacity: 0; transition: opacity .4s;
}
.btn--navy:hover::before { opacity: 1; }

/* Tarjeta con borde que se enciende siguiendo el cursor */
.spot { position: relative; }
.spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 197, 124, .85), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* ───────────── 4. REVEAL / SPLIT TEXT ───────────── */
.js-ready [data-reveal] {
    opacity: 0; transform: translate3d(0, 44px, 0);
    transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
    transition-delay: calc(var(--d, 0) * 1ms);
}
.js-ready [data-reveal="left"]  { transform: translate3d(-56px, 0, 0); }
.js-ready [data-reveal="right"] { transform: translate3d(56px, 0, 0); }
.js-ready [data-reveal="zoom"]  { transform: scale(.82); filter: blur(14px); transition-property: opacity, transform, filter; }
.js-ready [data-reveal].is-in   { opacity: 1; transform: none; filter: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .02em .18em; margin: -.1em -.02em -.18em; }
.wi {
    display: inline-block; transform: translate3d(0, 112%, 0) rotate(5deg); transform-origin: 0 100%;
    transition: transform 1.2s var(--ease);
    transition-delay: calc(var(--base, 0) * 1ms + var(--i, 0) * 65ms);
}
.is-in .wi, .wi.is-in { transform: none; }
.is-split .gold .wi {
    color: transparent;
    background-image: linear-gradient(100deg, #C29840 0%, #F6E7B8 30%, #E2C57C 50%, #B98F3F 75%, #F6E7B8 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text; background-clip: text;
    animation: shimmer 7s linear infinite;
}

/* ───────────── 5. LOADER ───────────── */
.loader {
    position: fixed; inset: 0; z-index: 1000;
    display: none; flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; padding: 24px;
    background: radial-gradient(120% 90% at 50% 38%, #10255A 0%, #070F24 55%, #050B1D 100%);
    color: var(--text);
    transition: transform 1.25s var(--ease-io);
    will-change: transform;
}
.js .loader { display: flex; }
.loader[hidden] { display: none; }
.loader::after {
    content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: min(16vh, 150px);
    background: #050B1D; border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.loader.is-out { transform: translateY(calc(-100% - min(16vh, 150px))); }
.loader.is-out .loader__stage, .loader.is-out .loader__name, .loader.is-out .loader__meta { opacity: 0; transition: opacity .5s ease; }

.loader__aurora {
    position: absolute; inset: 0; pointer-events: none; opacity: .9;
    background:
        radial-gradient(40% 36% at 78% 20%, rgba(226, 197, 124, .13), transparent 70%),
        radial-gradient(46% 40% at 18% 78%, rgba(60, 110, 220, .22), transparent 70%);
    animation: drift1 14s ease-in-out infinite alternate;
}
.loader__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.loader__stage, .loader__name, .loader__meta { position: relative; z-index: 1; }
.loader__stage { width: min(66vw, 320px); aspect-ratio: 1; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.loader__ring circle { fill: none; }
.loader__track { stroke: rgba(207, 224, 255, .1); stroke-width: 1; }
.loader__arc {
    stroke: var(--gold-300); stroke-width: 2; stroke-linecap: round;
    stroke-dasharray: 100 100; stroke-dashoffset: 100;
    filter: drop-shadow(0 0 5px rgba(226, 197, 124, .85));
}
.loader__spin {
    stroke: rgba(207, 224, 255, .75); stroke-width: 1.2; stroke-linecap: round;
    stroke-dasharray: 9 91; transform-origin: 100px 100px;
    animation: spin 1.5s linear infinite;
}
.loader__name { font: 500 clamp(1.5rem, 5vw, 2rem)/1 var(--font-display); letter-spacing: -.02em; }
.loader__name span { color: var(--gold-300); }
.loader__meta {
    display: flex; align-items: baseline; justify-content: center; gap: 18px;
    width: min(76vw, 340px); font-size: .86rem; color: var(--text-dim);
}
.loader__msg { flex: 1; transition: opacity .3s; }
.loader__pct { font-variant-numeric: tabular-nums; color: var(--gold-300); font-weight: 700; }
.loader__pct b { font-weight: 700; }

/* ───────────── 6. NAV / MENÚ / BARRAS ───────────── */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span {
    display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
    background: linear-gradient(90deg, var(--gold-500), var(--gold-100));
    box-shadow: 0 0 14px rgba(226, 197, 124, .85);
}

.nav {
    position: fixed; top: max(12px, env(safe-area-inset-top)); left: 0; right: 0; z-index: 100;
    display: flex; justify-content: center; padding-inline: 12px;
    transition: transform .7s var(--ease);
}
.nav.is-hidden { transform: translateY(-150%); }
.nav__bar {
    width: min(1320px, 100% + 24px - var(--gutter) * 2); height: var(--nav-h);
    display: flex; align-items: center; gap: 14px;
    padding: 0 10px 0 16px; border-radius: var(--r-pill);
}
.nav.is-scrolled .nav__bar { background: rgba(7, 15, 36, .72); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: auto; filter: drop-shadow(0 0 8px rgba(226, 197, 124, .3)); }
.brand__txt { display: flex; flex-direction: column; }
.brand__txt strong { font: 600 1rem/1.1 var(--font-display); letter-spacing: -.01em; }
.brand__txt small { font-size: .7rem; color: var(--text-dim); letter-spacing: .02em; line-height: 1.3; }

.nav__links { display: none; margin-left: auto; gap: 2px; }
.nav__links a {
    padding: 10px 14px; border-radius: var(--r-pill);
    color: var(--text-dim); font-weight: 600; font-size: .9rem; text-decoration: none;
    transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .08); }
.nav__cta { display: none; }

.burger {
    margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
    position: relative; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
}
.burger span {
    position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text);
    transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 98;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 110px var(--gutter) 32px;
    background: radial-gradient(100% 70% at 80% 0%, #14295C 0%, #070F24 60%);
    clip-path: circle(0 at calc(100% - 38px) 44px);
    visibility: hidden;
    transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 38px) 44px); visibility: visible; transition: clip-path .9s var(--ease-io); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
    overflow: hidden; display: block; padding: 8px 0; text-decoration: none;
    font: 500 clamp(2.1rem, 9vw, 3.2rem)/1.1 var(--font-display); letter-spacing: -.03em;
    border-bottom: 1px solid var(--line);
}
.menu__nav a span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.menu.is-open .menu__nav a span { transform: none; }
.menu.is-open .menu__nav a:nth-child(1) span { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) span { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(3) span { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(4) span { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(5) span { transition-delay: .45s; }
.menu.is-open .menu__nav a:nth-child(6) span { transition-delay: .5s; }
.menu__foot { display: grid; gap: 16px; }
.menu__foot p { color: var(--text-dim); font-size: .92rem; }
.menu__foot .btn { width: 100%; }

/* ───────────── 7. HERO ───────────── */
.hero {
    position: relative; isolation: isolate; overflow: clip;
    min-height: 100svh;
    padding: 112px 0 56px;
    display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__aurora i { position: absolute; border-radius: 50%; width: 70vmax; height: 70vmax; }
.hero__aurora i:nth-child(1) { left: -25vmax; top: -22vmax; background: radial-gradient(circle, rgba(52, 96, 210, .42), transparent 62%); animation: drift1 22s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(2) { right: -28vmax; top: 6vmax; background: radial-gradient(circle, rgba(226, 197, 124, .18), transparent 62%); animation: drift2 28s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(3) { left: 10vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(27, 58, 110, .8), transparent 62%); animation: drift3 26s ease-in-out infinite alternate; }

.hero__grid { position: relative; z-index: 2; display: grid; gap: 44px; align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; translate: 0 calc(var(--hp, 0) * -70px); opacity: calc(1 - var(--hp, 0) * 1.25); }
.hero__title { font-size: clamp(2.6rem, 11.4vw, 4.9rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.hero__title .gold { display: block; }
.hero__lead { font-size: clamp(1.05rem, 3.6vw, 1.28rem); color: var(--text-dim); max-width: 34ch; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 6px; }
.hero__cta .btn { width: 100%; }

.hero__visual { translate: 0 calc(var(--hp, 0) * 50px); scale: calc(1 - var(--hp, 0) * .08); }
.portrait {
    position: relative; width: min(76vw, 380px); aspect-ratio: 1; margin-inline: auto;
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.portrait::before {
    content: ""; position: absolute; inset: -6%; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, rgba(60, 120, 255, .38) 0%, rgba(226, 197, 124, .16) 45%, transparent 70%);
    animation: breathe 6s ease-in-out infinite;
}
.portrait__img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle closest-side, #000 91%, transparent 100%);
    mask-image: radial-gradient(circle closest-side, #000 91%, transparent 100%);
}
.portrait__svg { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; pointer-events: none; }
.portrait__svg circle { fill: none; transform-box: fill-box; transform-origin: center; }
.pr-a { stroke: rgba(226, 197, 124, .6); stroke-width: 1.4; stroke-dasharray: 1 11; stroke-linecap: round; animation: spin 90s linear infinite; }
.pr-b { stroke: rgba(207, 224, 255, .16); stroke-width: 1; }
.pr-c { stroke: var(--gold-300); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 91; animation: spin 9s linear infinite; filter: drop-shadow(0 0 6px rgba(226, 197, 124, .9)); }

.orbit { position: absolute; border-radius: 50%; animation: spin var(--t, 28s) linear infinite; filter: drop-shadow(0 0 7px rgba(226, 197, 124, .9)); pointer-events: none; }
.orbit .star { position: absolute; top: 0; left: 50%; width: var(--s, 14px); height: var(--s, 14px); margin: calc(var(--s, 14px) / -2) 0 0 calc(var(--s, 14px) / -2); }
.orbit--1 { inset: -9%; --t: 34s; }
.orbit--2 { inset: -3%; --t: 22s; animation-direction: reverse; --s: 10px; }
.orbit--3 { inset: 8%; --t: 16s; --s: 8px; }
.orbit--3 .star { background: var(--ice); }

.chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 12px; border-radius: var(--r-pill);
    font-size: .72rem; line-height: 1.25; color: var(--text); white-space: nowrap;
    animation: floaty 7s ease-in-out infinite alternate;
}
.chip .ic { width: 22px; height: 22px; color: var(--gold-300); }
.chip strong { display: block; font-weight: 700; color: var(--text-dim); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.chip--a { top: 4%; left: -6%; }
.chip--b { bottom: 12%; left: -8%; animation-delay: -2.5s; }
.chip--c { top: 56%; right: -8%; animation-delay: -4.5s; }

/* ───────────── 8. MARQUEE ───────────── */
.marquee { position: relative; overflow: hidden; padding: clamp(34px, 6vw, 70px) 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee 56s linear infinite; }
.js-ready .marquee__track.is-js { animation: none; }
.marquee__row { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); flex: none; }
.marquee__row span { font: 500 clamp(2.4rem, 8vw, 5.8rem)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--text); white-space: nowrap; }
.marquee__row .o { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 243, 252, .55); }
.marquee__row .star { width: clamp(22px, 3.2vw, 40px); height: clamp(22px, 3.2vw, 40px); flex: none; background: var(--gold-300); }

/* ───────────── 9. MANIFIESTO ───────────── */
.manifesto { position: relative; height: 290vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.manifesto__sticky::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: min(120vw, 900px); aspect-ratio: 1;
    translate: -50% -50%; opacity: .055; pointer-events: none;
    background: url("img/logo-mark-dark.png") center / contain no-repeat;
    animation: swell 16s ease-in-out infinite;
}
.manifesto__text {
    position: relative; font: 500 clamp(1.7rem, 6.6vw, 4.3rem)/1.14 var(--font-display);
    letter-spacing: -.035em; max-width: 21em;
}
.manifesto__text b { font-weight: inherit; color: var(--gold-300); }
.mw { opacity: .14; transition: opacity .35s linear; }

/* ───────────── 10. MÉTODO (logo en partículas) ───────────── */
.morph { position: relative; height: 470vh; background: linear-gradient(180deg, var(--bg), var(--navy-850) 40%, var(--bg)); }
.morph__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.morph__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.morph__layout { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(20px, 5vh, 48px); }
.morph__layout::before {
    content: ""; position: absolute; inset: 40% -10% 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(7, 15, 36, .92) 38%);
}
.morph__copy { display: grid; gap: 14px; width: 100%; }
.morph__copy h2 { font-size: clamp(1.6rem, 6.4vw, 2.7rem); }
.steps { margin-top: 6px; }
.step { border-top: 1px solid var(--line); padding: 12px 0; opacity: .36; transition: opacity .6s var(--ease); }
.step h3 { font-size: clamp(1.3rem, 5vw, 2rem); display: flex; align-items: center; gap: 14px; }
.step h3::before {
    content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
    background: var(--text-mute); transition: background .5s, box-shadow .5s, transform .5s var(--ease);
}
.step p { max-height: 0; overflow: hidden; opacity: 0; color: var(--text-dim); font-size: .98rem; transition: max-height .9s var(--ease), opacity .6s, margin .6s; }
.step.is-on { opacity: 1; }
.step.is-on h3::before { background: var(--gold-300); box-shadow: 0 0 16px 3px rgba(226, 197, 124, .7); transform: scale(1.3); }
.step.is-on p { max-height: 170px; opacity: 1; margin-top: 8px; }
.morph__rail { position: absolute; z-index: 3; left: 8px; top: 16vh; bottom: 16vh; width: 2px; background: var(--line); border-radius: 2px; }
.morph__rail span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--gold-300), var(--gold-500)); transform-origin: 50% 0; transform: scaleY(var(--mp, 0)); box-shadow: 0 0 12px rgba(226, 197, 124, .8); }

/* ───────────── 11. SERVICIOS (scroll horizontal) ───────────── */
.services { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.services__sticky { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 5vw, 44px); }
.services__head { display: grid; gap: 14px; margin-inline: auto; width: min(1320px, 100% - var(--gutter) * 2); }
.services__head h2 { max-width: 16ch; }
.services__head p { max-width: 46ch; }
.services__head h2 { font-size: clamp(1.9rem, 6.4vw, 3.4rem); }
.services__head p { color: var(--text-dim); font-size: 1.1rem; }
.services__viewport { min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px var(--gutter) 24px; }
.services__viewport::-webkit-scrollbar { display: none; }
.services__track { display: flex; gap: 16px; width: max-content; }
.svc {
    scroll-snap-align: center; flex: 0 0 min(84vw, 380px);
    display: flex; flex-direction: column; gap: 14px;
    padding: 28px; border-radius: var(--r-card); min-height: 470px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)), var(--navy-850);
    border: 1px solid var(--line);
    transition: translate .6s var(--ease);
}
.svc { will-change: transform; }
.svc:hover { translate: 0 -6px; }
.svc__icon {
    width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--gold-300);
    background: linear-gradient(145deg, rgba(226, 197, 124, .24), rgba(226, 197, 124, .04));
    border: 1px solid rgba(226, 197, 124, .32);
}
.svc__icon .ic { width: 34px; height: 34px; }
.svc h3 { font-size: 1.55rem; line-height: 1.12; margin-top: 6px; }
.svc p { color: var(--text-dim); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li { padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--text-dim); }
.svc__link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 15px 20px; border-radius: var(--r-pill); text-decoration: none; white-space: nowrap;
    font-weight: 700; font-size: .95rem; color: var(--gold-100);
    background: rgba(226, 197, 124, .1); border: 1px solid rgba(226, 197, 124, .38);
    transition: background .4s, color .4s, border-color .4s;
}
.svc__link .ic { transition: transform .45s var(--ease); }
.svc__link:hover { background: var(--gold-300); color: var(--navy-900); border-color: var(--gold-300); }
.svc__link:hover .ic { transform: translateX(5px); }
.svc--cta {
    justify-content: center; align-items: flex-start; color: #0A1530;
    background: linear-gradient(150deg, #F6EBC9 0%, #E2C57C 55%, #C29840 100%); border-color: transparent;
}
.svc--cta .ic { width: 52px; height: 52px; }
.svc--cta p { color: rgba(10, 21, 48, .8); }
.svc--cta::before { display: none; }
.services__progress { display: none; }

/* ───────────── 12. CONSULTORIO (expansión de imagen) ───────────── */
.expand { position: relative; height: 280vh; --e: 0; }
.expand__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; --ix: 20%; --iy: 22%; }
.expand__frame {
    position: absolute; inset: 0;
    clip-path: inset(calc((1 - var(--e)) * var(--iy)) calc((1 - var(--e)) * var(--ix)) round calc((1 - var(--e)) * 28px));
}
.expand__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(calc(1.5 - var(--e) * .5)); }
.expand__shade { position: absolute; inset: 0; pointer-events: none; opacity: var(--e); background: linear-gradient(180deg, rgba(5, 11, 29, .15) 25%, rgba(5, 11, 29, .86) 100%); }
.expand__title {
    position: absolute; z-index: 3; left: 0; right: 0; text-align: center; padding-inline: var(--gutter);
    font: 500 clamp(2.4rem, 11vw, 6.6rem)/1 var(--font-display); letter-spacing: -.045em;
    text-shadow: 0 4px 40px rgba(3, 8, 24, .65);
    opacity: clamp(0, calc(1.1 - var(--e) * 1.5), 1);
}
.expand__title span { display: block; will-change: transform; }
.expand__title .l1 { transform: translateX(calc(var(--e) * -70vw)); }
.expand__title .l2 { transform: translateX(calc(var(--e) * 70vw)); color: var(--gold-300); }
.expand__cap {
    position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(30px, 9vh, 90px);
    max-width: 560px; font-size: clamp(1.05rem, 3.4vw, 1.35rem); line-height: 1.55; color: var(--text);
    opacity: clamp(0, calc((var(--e) - .82) * 6), 1);
    transform: translateY(calc((1 - var(--e)) * 40px));
}

/* Galería acordeón */
.tour { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 9vw, 120px); }
.tour__head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(28px, 5vw, 56px); }
.tour__head p { color: var(--text-dim); font-size: 1.1rem; }
.gallery { display: flex; flex-direction: column; gap: 10px; height: 700px; }
.pane { position: relative; isolation: isolate; flex: 1 1 0; min-height: 78px; border-radius: var(--r-card); overflow: hidden; cursor: pointer; transition: flex .9s var(--ease); outline-offset: 4px; }
.pane.is-active { flex: 6 1 0; }
.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); filter: saturate(.75) brightness(.62); transition: transform 1.3s var(--ease), filter .9s var(--ease); }
.pane.is-active img, .pane:hover img { transform: scale(1); filter: none; }
.pane::after { content: ""; position: absolute; inset: 0; z-index: -0; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 29, .88)); }
.pane__txt { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; }
.pane__txt h3 { font-size: clamp(1.15rem, 4vw, 1.6rem); }
.pane__txt p { color: var(--text-dim); font-size: .95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .8s var(--ease), opacity .6s .15s; }
.pane.is-active .pane__txt p { max-height: 80px; opacity: 1; margin-top: 6px; }
.tour__cta { display: flex; justify-content: center; margin-top: clamp(28px, 5vw, 48px); }

/* ───────────── 13. POR QUÉ SINERGIA (bento) ───────────── */
.why { padding: clamp(60px, 9vw, 120px) 0; background: radial-gradient(70% 46% at 50% 34%, rgba(27, 58, 110, .45), transparent 100%); }
.why__head { max-width: 820px; margin-bottom: clamp(28px, 5vw, 56px); }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cell {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
    min-height: 230px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-card);
    background: var(--navy-800); border: 1px solid var(--line);
}
.cell h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.cell p { color: var(--text-dim); font-size: .98rem; max-width: 40ch; }
.big { font: 500 clamp(5.5rem, 24vw, 11rem)/.8 var(--font-display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.big--sm { font-size: clamp(3.6rem, 12vw, 5.6rem); }
.big small { font-size: .5em; letter-spacing: 0; margin-left: 4px; }
.cell--a { background: linear-gradient(150deg, #F6EBC9 0%, #E2C57C 42%, #B98F3F 100%); color: #0A1530; border-color: transparent; min-height: 340px; }
.cell--a p { color: rgba(10, 21, 48, .8); }
.cell--b { padding: 0; min-height: 280px; }
.cell--b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cell--b:hover img { transform: scale(1.06); }
.cell--b .cell__txt { position: relative; z-index: 1; padding: 90px clamp(22px, 3vw, 34px) clamp(22px, 3vw, 30px); background: linear-gradient(180deg, transparent, rgba(5, 11, 29, .92)); }
.cell--b .cell__txt p { color: var(--text); }
.cell--c { justify-content: space-between; }
.cell--c .ic { color: var(--gold-300); }
.cell--d { background: linear-gradient(145deg, #1D4590 0%, #0D1B3D 80%); }
.cell--e { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; background: var(--navy-850); }
.cell--e > div:last-child { max-width: 300px; }
.cell--f { background: var(--navy-850); }
.rings { position: relative; width: 120px; aspect-ratio: 1; flex: none; align-self: center; display: grid; place-items: center; color: var(--gold-300); }
.rings .ic { width: 38px; height: 38px; position: relative; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(226, 197, 124, .55); animation: ring 3.6s ease-out infinite; }
.rings i:nth-child(2) { animation-delay: 1.2s; }
.rings i:nth-child(3) { animation-delay: 2.4s; }
.cell__stars {
    position: absolute; inset: 0; opacity: .9; pointer-events: none;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 22%, #F3E7C4 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 34% 68%, #CFE0FF 50%, transparent 52%),
        radial-gradient(2px 2px at 58% 30%, #E2C57C 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 78% 74%, #F3E7C4 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 90% 18%, #CFE0FF 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 46% 86%, #E2C57C 50%, transparent 52%),
        radial-gradient(60% 80% at 100% 0%, rgba(226, 197, 124, .18), transparent 70%);
    animation: twinkle 4.5s ease-in-out infinite alternate;
}
.cell--f > h3, .cell--f > p { position: relative; }

/* ───────────── 14. SOBRE LENIA ───────────── */
.about { padding: clamp(70px, 10vw, 140px) 0; }
.about__grid { display: grid; gap: 44px; align-items: start; }
.about__photo { position: relative; width: min(100%, 520px); margin-inline: auto; }
.about__frame { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 1482 / 1600; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.about__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(226, 197, 124, .35); pointer-events: none; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::before {
    content: ""; position: absolute; inset: -5% -8% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 197, 124, .3), transparent 68%); animation: breathe 7s ease-in-out infinite;
}
.chip--float { left: -4%; bottom: 8%; animation-name: floaty; }
.about__copy { display: grid; gap: 22px; justify-items: start; }
.about__copy h2 { font-size: clamp(2rem, 6.8vw, 3.9rem); }
.creds { display: grid; gap: 18px; margin: 8px 0 10px; width: 100%; }
.creds li { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; border-top: 1px solid var(--line); }
.creds .ic { width: 50px; height: 50px; padding: 11px; border-radius: 16px; color: var(--gold-300); background: rgba(226, 197, 124, .1); border: 1px solid rgba(226, 197, 124, .3); }
.creds h3 { font-size: 1.2rem; }
.creds p { color: var(--text-dim); font-size: .96rem; margin-top: 4px; }

/* ───────────── 15. PROCESO ───────────── */
.process { padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 11vw, 150px); background: radial-gradient(60% 34% at 50% 38%, rgba(27, 58, 110, .4), transparent 100%); }
.process__head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(36px, 6vw, 72px); }
.process__head p { color: var(--text-dim); font-size: 1.1rem; }
.process__rail { position: relative; padding-left: 52px; }
.process__line { position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; }
.process__line span { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(var(--pp, 0)); background: linear-gradient(var(--gold-100), var(--gold-500)); box-shadow: 0 0 18px rgba(226, 197, 124, .8); border-radius: 2px; }
.process__line i {
    position: absolute; left: 50%; top: calc(var(--pp, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 6px rgba(226, 197, 124, .28), 0 0 26px 8px rgba(226, 197, 124, .85);
}
.pstep { position: relative; padding-block: clamp(14px, 3vw, 30px); }
.pstep::before {
    content: ""; position: absolute; left: -43px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
    background: var(--navy-900); border: 2px solid var(--line); transition: background .6s, border-color .6s, box-shadow .6s, transform .6s var(--ease);
}
.pstep.is-on::before { background: var(--gold-300); border-color: var(--gold-100); box-shadow: 0 0 0 7px rgba(226, 197, 124, .2), 0 0 22px rgba(226, 197, 124, .8); transform: scale(1.15); }
.pstep__card {
    display: grid; gap: 10px; max-width: 520px; padding: 28px; border-radius: var(--r-card);
    opacity: .3; transform: translateX(26px); transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.pstep.is-on .pstep__card { opacity: 1; transform: none; }
.pstep__card .ic { color: var(--gold-300); }
.pstep__card h3 { font-size: 1.5rem; }
.pstep__card p { color: var(--text-dim); }
.process__cta { display: flex; justify-content: center; margin-top: clamp(36px, 6vw, 72px); }

/* ───────────── 16. AMANECER ───────────── */
.dawn { position: relative; height: 240vh; --p: 0; background: var(--navy-900); }
.dawn__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: linear-gradient(180deg, #050B1D 0%, #0C1B42 100%); }
.dawn__stars {
    position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--p) * 1.4);
    background-image:
        radial-gradient(1.6px 1.6px at 8% 18%, #F3E7C4 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 22% 62%, #CFE0FF 50%, transparent 52%),
        radial-gradient(2px 2px at 36% 28%, #E2C57C 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 49% 80%, #F3E7C4 50%, transparent 52%),
        radial-gradient(1.8px 1.8px at 63% 16%, #CFE0FF 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 74% 56%, #E2C57C 50%, transparent 52%),
        radial-gradient(2px 2px at 88% 34%, #F3E7C4 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 94% 84%, #CFE0FF 50%, transparent 52%);
    animation: twinkle 5s ease-in-out infinite alternate;
}
.dawn__txt { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 0 var(--gutter); text-align: center; }
.dawn__txt h2 { font-size: clamp(2.7rem, 11vw, 7.6rem); line-height: 1; letter-spacing: -.045em; }
.dawn__txt em { font-style: normal; color: var(--gold-300); }
.dawn__txt p { font-size: clamp(1.05rem, 3.4vw, 1.4rem); color: var(--text-dim); }
.dawn__txt--night { transform: translateY(calc(var(--p) * -24px)); }
.dawn__sun {
    position: absolute; inset: 0;
    background: radial-gradient(120% 120% at 50% 100%, #FFFFFF 0%, var(--porcelain) 42%, var(--porcelain-2) 100%);
    clip-path: circle(calc(var(--p) * 122vmax) at 50% 108%);
}
.dawn__txt--day { color: var(--ink); }
.dawn__txt--day em { color: var(--gold-ink); }
.dawn__txt--day p { color: var(--ink-dim); }
.dawn__glow {
    position: absolute; inset: 0; pointer-events: none;
    opacity: clamp(0, calc((1 - var(--p)) * 5), 1);
    background: radial-gradient(circle at 50% 108%,
        transparent calc(var(--p) * 122vmax - 7vmax),
        rgba(255, 233, 176, .75) calc(var(--p) * 122vmax - .5vmax),
        rgba(226, 197, 124, .18) calc(var(--p) * 122vmax + 9vmax),
        transparent calc(var(--p) * 122vmax + 22vmax));
}

/* ───────────── 17. ZONA CLARA (día) ───────────── */
.light {
    color-scheme: light;
    --bg: var(--porcelain);
    --text: var(--ink);
    --text-dim: var(--ink-dim);
    --line: rgba(11, 22, 50, .12);
    --accent-text: var(--gold-ink);
    background:
        radial-gradient(1.4px 1.4px at 20px 20px, rgba(11, 22, 50, .1) 50%, transparent 52%) 0 0 / 46px 46px,
        var(--porcelain);
    color: var(--ink);
}
.light .lead { color: var(--ink-dim); }

/* FAQ */
.faq { padding: clamp(70px, 10vw, 140px) 0; }
.faq__grid { display: grid; gap: 40px; align-items: start; }
.faq__head { display: grid; gap: 18px; justify-items: start; }
.faq__head h2 { font-size: clamp(2rem, 6.4vw, 3.6rem); }
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(11, 22, 50, .45); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.acc__item:hover { transform: translateY(-2px); }
.acc__item h3 { font-size: inherit; letter-spacing: 0; }
.acc__item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; text-align: left; font: 500 1.12rem/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink); border-radius: 22px; }
.acc__item button i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--porcelain-2); transition: background .4s, transform .6s var(--ease); }
.acc__item button i::before, .acc__item button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), background .4s; }
.acc__item button i::after { transform: rotate(90deg); }
.acc__item.is-open { box-shadow: 0 30px 60px -30px rgba(11, 22, 50, .5); }
.acc__item.is-open button i { background: var(--ink); transform: rotate(180deg); }
.acc__item.is-open button i::before, .acc__item.is-open button i::after { background: #fff; }
.acc__item.is-open button i::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 24px 24px; color: var(--ink-dim); max-width: 62ch; }

/* Cierre emocional (centrado a propósito para romper el patrón de dos columnas) */
.closing { padding: clamp(40px, 8vw, 100px) 0 clamp(70px, 10vw, 140px); }
.closing__grid { display: grid; justify-items: center; gap: 28px; text-align: center; }
.closing__photo { position: relative; width: min(54vw, 220px); aspect-ratio: 1; }
.closing__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 30px 60px -24px rgba(11, 22, 50, .55); position: relative; z-index: 1; }
.closing__halo { position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold-300), transparent 30%, var(--gold-500) 60%, transparent 85%, var(--gold-300)); animation: spin 10s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.closing__copy { display: grid; justify-items: center; gap: 22px; max-width: 880px; }
.closing__copy h2 { font-size: clamp(2.3rem, 8.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.045em; }

/* Contacto */
.contact { padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 11vw, 150px); }
.contact__grid { display: grid; gap: 44px; align-items: start; }
.contact__info { display: grid; gap: 24px; justify-items: start; }
.contact__info h2 { font-size: clamp(2.2rem, 7.4vw, 4.3rem); }
.facts { display: grid; gap: 16px; width: 100%; }
.facts li { display: flex; gap: 16px; align-items: flex-start; }
.facts .ic { width: 50px; height: 50px; padding: 11px; border-radius: 16px; color: var(--ink); background: var(--porcelain-2); border: 1px solid var(--line); }
.facts span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.facts a, .facts address, .facts p { font-size: 1.04rem; color: var(--ink); font-weight: 500; text-decoration: none; }
.facts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__map { position: relative; width: 100%; height: 300px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(11, 22, 50, .5); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7) contrast(1.05); }
.map-link { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .3s; }
.map-link:hover { background: #14224A; }

.contact__form { display: grid; gap: 18px; }
.form { position: relative; display: grid; gap: 18px; padding: clamp(22px, 4vw, 38px); border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(11, 22, 50, .55); }
.form__head h3 { font-size: 1.6rem; }
.form__head p { color: var(--ink-dim); margin-top: 6px; font-size: .96rem; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
.field label span { font-weight: 500; color: var(--ink-dim); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
    width: 100%; min-height: 54px; padding: 0 16px; border-radius: var(--r-input);
    background: #fff; border: 1.5px solid rgba(11, 22, 50, .22); color: var(--ink); font-size: 1rem; font-weight: 500;
    transition: border-color .3s, box-shadow .3s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 14px 16px; resize: vertical; min-height: 110px; line-height: 1.5; }
.field ::placeholder { color: #66718F; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(226, 197, 124, .5); }
.field.has-error input, .field.has-error select { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.err { min-height: 0; color: #B42318; font-weight: 600; font-size: .86rem; }
.select { position: relative; }
.select .ic { position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; pointer-events: none; color: var(--ink); }
.field select:invalid { color: #66718F; }
.field select option { color: var(--ink); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid rgba(11, 22, 50, .22); font-weight: 600; font-size: .92rem; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__note { font-size: .82rem; color: var(--ink-dim); text-align: center; }
.form__ok { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; text-align: center; border-radius: inherit; background: #fff; animation: pop .7s var(--ease); }
.form__ok[hidden] { display: none; }
.form__ok .ic { color: var(--gold-ink); }
.form__ok p { color: var(--ink-dim); max-width: 32ch; }
.qr { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--r-card); background: var(--porcelain-2); border: 1px solid var(--line); }
.qr img { width: 104px; height: 104px; flex: none; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.qr h3 { font-size: 1.2rem; }
.qr p { color: var(--ink-dim); font-size: .92rem; margin-top: 4px; }

/* ───────────── 18. FOOTER ───────────── */
.footer { position: relative; overflow: hidden; background: var(--navy-950); color: var(--text); padding: clamp(60px, 9vw, 110px) 0 28px; }
.footer::before { content: ""; position: absolute; left: 50%; top: -30%; width: 120vmax; aspect-ratio: 1; translate: -50% 0; pointer-events: none; background: radial-gradient(circle, rgba(27, 58, 110, .35), transparent 60%); }
.footer .wrap { position: relative; }
.footer__top { display: grid; gap: 40px; }
.footer__brand { display: grid; gap: 22px; justify-items: start; max-width: 420px; }
.footer__brand p { color: var(--text-dim); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 8px; }
.footer__col a, .footer__col address, .footer__col p { color: var(--text-dim); text-decoration: none; font-size: .98rem; transition: color .3s; }
.footer__col a:hover { color: var(--text); }
.footer__crisis { margin-top: 44px; padding: 18px 22px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-dim); font-size: .9rem; max-width: 780px; }
.footer__word {
    margin: clamp(34px, 6vw, 70px) 0 6px; text-align: center; user-select: none; white-space: nowrap;
    font: 600 clamp(1.8rem, 8.6vw, 9rem)/.95 var(--font-display); letter-spacing: -.05em;
    background: linear-gradient(180deg, rgba(226, 197, 124, .42), rgba(226, 197, 124, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { padding-right: 76px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-mute); }
.footer__bottom a { color: var(--text-dim); text-decoration: none; }
.footer__bottom a:hover { color: var(--text); }

/* ───────────── 19. WHATSAPP FLOTANTE ───────────── */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-float__btn { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #16A34A; color: #fff; box-shadow: 0 14px 34px -8px rgba(22, 163, 74, .65), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .5s var(--ease); }
.wa-float__btn .ic { width: 30px; height: 30px; }
.wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #16A34A; animation: ring 2.8s ease-out infinite; }
.wa-float:hover .wa-float__btn { transform: scale(1.08) rotate(-6deg); }
.wa-float__tip { padding: 11px 18px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateX(14px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.wa-float.show-tip .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ───────────── 20. KEYFRAMES ───────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -240% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-9vmax, 8vmax, 0) scale(.9); } }
@keyframes drift3 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(10vmax, -6vmax, 0) scale(1.12); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes swell { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.07) rotate(2deg); } }
@keyframes floaty { from { translate: 0 -6px; } to { translate: 0 8px; } }
@keyframes ring { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ───────────── 21. RESPONSIVE (mobile first → arriba) ───────────── */
@media (min-width: 640px) {
    .hero__cta { flex-direction: row; flex-wrap: wrap; width: auto; }
    .hero__cta .btn { width: auto; }
    .chip { font-size: .8rem; }
    .chip strong { font-size: .64rem; }
    .bento { grid-template-columns: 1fr 1fr; }
    .cell--a, .cell--b { grid-column: 1 / -1; }
    .cell--e { grid-column: auto; }
    .facts { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    :root { --nav-h: 68px; }
    .manifesto__text { max-width: 19em; }
    .gallery { flex-direction: row; height: clamp(460px, 64vh, 640px); }
    .pane { min-height: 0; }
    .pane__txt { left: 26px; right: 26px; bottom: 24px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
    .pane.is-active .pane__txt { opacity: 1; transform: none; transition-delay: .3s; }
    .expand__sticky { --ix: 30%; --iy: 24%; }
    .morph__rail { left: 18px; }
    .footer__top { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; }
}

@media (min-width: 900px) {
    /* Servicios: el scroll vertical se convierte en recorrido horizontal */
    .services { padding: 0; height: var(--svc-h, 300vh); }
    .services__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; align-content: center; gap: clamp(20px, 4vh, 40px); padding-top: 70px; }
    .services__viewport { overflow: visible; padding: 0; scroll-snap-type: none; }
    .services__track { padding-inline: var(--gutter); gap: 22px; will-change: transform; }
    .svc { flex-basis: clamp(340px, 29vw, 430px); height: min(58vh, 540px); min-height: 440px; }
    .services__progress { display: block; width: min(1320px, 100% - var(--gutter) * 2); height: 2px; margin-inline: auto; background: var(--line); border-radius: 2px; overflow: hidden; }
    .services__progress span { display: block; height: 100%; background: var(--gold-300); transform-origin: 0 50%; transform: scaleX(var(--sv, 0)); box-shadow: 0 0 10px rgba(226, 197, 124, .8); }

    .about__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 120px); }
    .about__photo { position: sticky; top: 14vh; }
    .faq__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 7vw, 110px); }
    .faq__head { position: sticky; top: 16vh; }
    .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(50px, 6vw, 100px); }
    .contact__form { position: sticky; top: 14vh; }

    /* Proceso: línea al centro, tarjetas alternadas */
    .process__rail { padding-left: 0; }
    .process__line { left: 50%; margin-left: -1px; }
    .pstep { width: 50%; }
    .pstep::before { left: auto; right: -10px; }
    .pstep:nth-child(odd) { padding-right: 64px; display: flex; justify-content: flex-end; }
    .pstep:nth-child(even) { margin-left: 50%; padding-left: 64px; }
    .pstep:nth-child(even)::before { right: auto; left: -10px; }
    .pstep:nth-child(odd) .pstep__card { transform: translateX(-30px); }
    .pstep:nth-child(odd).is-on .pstep__card { transform: none; }
}

@media (min-width: 1024px) {
    .hero { padding-top: 96px; padding-bottom: 64px; }
    .hero__grid { grid-template-columns: 1.25fr .85fr; gap: clamp(40px, 5vw, 90px); }
    .hero__title { font-size: clamp(3.2rem, 4.4vw, 4.2rem); }
    .portrait { width: min(100%, 540px); }
    .chip--a { top: 8%; left: -12%; }
    .chip--b { bottom: 14%; left: -16%; }
    .chip--c { top: 58%; right: -10%; }
    .nav__links { display: flex; }
    .nav__cta { display: inline-flex; margin-left: 6px; }
    .burger { display: none; }

    .morph__layout { align-items: center; padding-bottom: 0; }
    .morph__layout::before { display: none; }
    .morph__copy { width: min(46%, 560px); }
    .morph__copy h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
    .step { padding: 16px 0; }

    .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); }
    .cell--a { grid-column: 1 / 6; grid-row: 1 / 3; min-height: 0; }
    .cell--b { grid-column: 6 / 13; grid-row: 1; min-height: 0; }
    .cell--c { grid-column: 6 / 9; grid-row: 2; }
    .cell--d { grid-column: 9 / 13; grid-row: 2; }
    .cell--e { grid-column: 1 / 7; grid-row: 3; }
    .cell--f { grid-column: 7 / 13; grid-row: 3; }
}


/* Pantallas bajas (laptops): mantiene el hero completo en el primer vistazo */
@media (min-width: 1024px) and (max-height: 760px) {
    .hero__title { font-size: clamp(3rem, 4.2vw, 4rem); }
    .portrait { width: min(100%, 440px); }
}

/* ───────────── 22. MOVIMIENTO REDUCIDO ───────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.rm .mw { opacity: 1; }
html.rm .manifesto, html.rm .morph, html.rm .expand { height: auto; }
html.rm .manifesto__sticky { height: auto; padding: 120px 0; }
html.rm .morph__sticky { height: auto; min-height: 100svh; }
html.rm .morph__canvas { height: 100%; }
html.rm .step { opacity: 1; }
html.rm .step p { max-height: none; opacity: 1; margin-top: 8px; }
html.rm .services { height: auto !important; padding: clamp(80px, 12vw, 140px) 0; }
html.rm .services__sticky { position: static; height: auto; overflow: visible; padding-top: 0; }
html.rm .services__viewport { min-width: 0; overflow-x: auto; padding: 8px var(--gutter) 24px; }
html.rm .services__track { transform: none !important; padding-inline: 0; }
html.rm .svc { transform: none !important; opacity: 1 !important; }
html.rm .expand { --e: 1; }
html.rm .expand__sticky { --e: 1; }
html.rm .expand__title { opacity: 1; top: clamp(90px, 14vh, 140px); }
html.rm .expand__title .l1, html.rm .expand__title .l2 { transform: none; }
html.rm .dawn { height: auto; --p: 1; }
html.rm .dawn__sticky { height: auto; min-height: 70svh; }
html.rm .dawn__txt--night, html.rm .dawn__stars, html.rm .dawn__glow { display: none; }
html.rm .dawn__sun { position: relative; min-height: 70svh; clip-path: none; }
html.rm .pstep__card { opacity: 1; transform: none; }
html.rm .wi { transform: none; }
html.rm .marquee__track { animation: none; }

/* Sin JavaScript: todo el contenido es visible */
html:not(.js) .loader { display: none; }
html:not(.js) .step p { max-height: none; opacity: 1; }
html:not(.js) .step { opacity: 1; }
html:not(.js) .mw { opacity: 1; }
