/* ==========================================================================
   ALFA Y OMEGA ASESORES · Landing corporativa
   Identidad: negro grafito + oro metálico (tomado del logotipo).
   Estrategia: mobile first. Secciones oscuras y claras alternadas.
   Escala de radios: inputs 14px · tarjetas 24px · superficies grandes 40px · botones pill.
   Movimiento: sólo transform/opacity/clip-path. Todo se apaga con prefers-reduced-motion.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
    --ink: #0b0c10;
    --ink-2: #12141a;
    --ink-3: #191c24;
    --ink-4: #232733;
    --deep: #07080b;

    --paper: #f4f5f8;
    --paper-2: #e9ebf0;
    --paper-3: #fcfcfd;

    --t-d: #eceef3;
    --m-d: #a6abb8;
    --t-l: #0f1117;
    --m-l: #4a5060;

    --gold-1: #f7e6ad;
    --gold-2: #e3bf63;
    --gold-3: #c39b3b;
    --gold-4: #8c6a1f;
    --gold-ink: #7d5c12;
    --gold: linear-gradient(135deg, #f7e6ad 0%, #e3bf63 36%, #c39b3b 64%, #f0d58a 100%);
    --gold-deep: linear-gradient(135deg, #b88d22 0%, #7d5c12 55%, #a67c1a 100%);

    --line-d: rgba(255, 255, 255, .1);
    --line-l: rgba(15, 17, 23, .1);

    --r-s: 14px;
    --r-m: 24px;
    --r-l: 40px;
    --pill: 999px;

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

    --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
    --f-body: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
    --f-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

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

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--ink);
}

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

body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, address { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }

h1, h2, h3 {
    font-family: var(--f-display);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.04;
    text-wrap: balance;
}

h2 { font-size: clamp(2rem, 5.2vw, 4.1rem); }

em { font-style: normal; }
.is-dark em { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-light em { color: var(--gold-ink); }

::selection { background: var(--gold-2); color: #1a1304; }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.skip {
    position: fixed; left: 16px; top: -80px; z-index: 400;
    padding: 12px 18px; border-radius: var(--pill);
    background: var(--gold); color: #1a1304; font-weight: 600;
    transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

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

/* Temas por sección */
.is-dark { background: var(--ink); color: var(--t-d); }
.is-light { background: var(--paper); color: var(--t-l); }

/* Las secciones se montan una sobre otra con esquina superior redondeada */
.sec-round {
    position: relative;
    z-index: 1;
    border-radius: var(--r-l) var(--r-l) 0 0;
    margin-top: calc(var(--r-l) * -1);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1.3rem;
    font: 500 .78rem/1 var(--f-mono);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-2);
}
.eyebrow--ink { color: var(--gold-ink); }

.sec-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 84px); }
.sec-head p { margin-top: 1.4rem; max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--m-l); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- 3. PALABRAS DIVIDIDAS Y REVELADOS ---------- */
.js [data-split] .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .08em .03em .18em;
    margin: -.08em -.03em -.18em;
}
.js [data-split] .wi {
    display: inline-block;
    transform: translateY(115%) rotate(5deg);
    transform-origin: 0 100%;
    transition: transform 1.15s var(--ease) calc(var(--i, 0) * 55ms + var(--sd, 0s));
    will-change: transform;
}
.js [data-split].is-in .wi { transform: none; }
.is-dark [data-split] em .wi { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 4. BOTONES ---------- */
.btn {
    --bh: 54px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    min-height: var(--bh);
    padding: 0 1.55em;
    border: 0;
    border-radius: var(--pill);
    font: 600 1rem/1 var(--f-display);
    letter-spacing: .005em;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .6s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn i { font-size: 1.2em; line-height: 1; transition: transform .6s var(--ease); }
.btn:hover i.ph-arrow-up-right, .btn:hover i.ph-bold.ph-arrow-up-right { transform: translate(3px, -3px); }
.btn:active { transform: scale(.97); }
.btn--sm { --bh: 44px; padding: 0 1.2em; font-size: .92rem; }
.btn--lg { --bh: 60px; font-size: 1.04rem; padding: 0 1.9em; }
.btn--block { width: 100%; }

.btn--gold {
    background: var(--gold);
    color: #1a1304;
    box-shadow: 0 14px 34px -12px rgba(227, 191, 99, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn--gold::after {
    content: "";
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .7) 50%, transparent 68%);
    transform: translateX(-130%);
    transition: transform 1s var(--ease);
}
.btn--gold:hover { box-shadow: 0 20px 44px -12px rgba(227, 191, 99, .75), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--gold:hover::after { transform: translateX(130%); }
.btn--gold[data-magnetic]::after { animation: shine 5.5s var(--ease) 2.2s infinite; }
.btn[data-magnetic] {
    transition: transform .6s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, translate .6s var(--ease);
}

.btn--ghost {
    background: rgba(255, 255, 255, .06);
    color: var(--t-d);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(247, 230, 173, .6); }

.btn--ink {
    background: var(--ink);
    color: var(--t-d);
    box-shadow: 0 16px 34px -14px rgba(11, 12, 16, .7);
}
.btn--ink i { color: var(--gold-2); }
.btn--ink:hover { background: var(--ink-3); box-shadow: 0 22px 44px -14px rgba(11, 12, 16, .85); }

/* ---------- 5. PANTALLA DE CARGA ---------- */
.loader {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    color: var(--t-d);
    overflow: hidden;
}
.loader__panel {
    position: absolute; left: 0; right: 0; height: 50.5%;
    background: var(--ink);
    transition: transform 1.2s var(--ease-io);
}
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__panel--top::after, .loader__panel--bottom::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
    opacity: 0; transition: opacity .4s;
}
.loader__panel--top::after { bottom: 0; }
.loader__panel--bottom::after { top: 0; }
.loader.is-out .loader__panel--top::after, .loader.is-out .loader__panel--bottom::after { opacity: 1; }
.loader.is-out .loader__panel--top { transform: translateY(-101%); }
.loader.is-out .loader__panel--bottom { transform: translateY(101%); }

.loader__glow {
    position: absolute; left: 50%; top: 50%;
    width: min(120vw, 900px); aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(227, 191, 99, .2), transparent 62%);
    animation: glow 4s ease-in-out infinite;
    transition: opacity .6s;
}
.loader.is-out .loader__glow { opacity: 0; }

.loader__core {
    position: relative; z-index: 2;
    display: grid; justify-items: center; gap: 16px;
    padding: 24px;
    transition: opacity .55s var(--ease), transform .9s var(--ease);
}
.loader.is-out .loader__core { opacity: 0; transform: scale(1.1); }

.loader__emblem { position: relative; width: clamp(160px, 24vw, 210px); aspect-ratio: 1; display: grid; place-items: center; }
.loader__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lr { transform-origin: 120px 120px; }
.lr--1 { animation: spin 16s linear infinite; }
.lr--2 { animation: spin 1.9s cubic-bezier(.55, .1, .45, .9) infinite; }
.lr--3 { animation: spin-rev 10s linear infinite; }
.loader__logo {
    width: 62%; height: 62%; object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(227, 191, 99, .4));
    animation: breathe 2.8s ease-in-out infinite;
}

.loader__brand {
    font: 600 clamp(1rem, 2.4vw, 1.3rem)/1.2 var(--f-display);
    letter-spacing: .36em; text-transform: uppercase; text-align: center;
}
.loader__brand span { display: block; margin-bottom: .55em; font-size: .62em; letter-spacing: .6em; color: var(--gold-2); font-weight: 400; }

.loader__meter { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); line-height: 1; margin-top: 10px; }
.loader__meter b { font-size: clamp(3rem, 9vw, 4.6rem); font-weight: 300; letter-spacing: -.04em; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.loader__meter span { font-size: 1.1rem; color: var(--gold-2); }

.loader__bar { width: min(240px, 60vw); height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

.loader__tag { font: 400 .72rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--m-d); }
.loader__tag span { color: var(--gold-2); font-size: 1rem; margin-inline: .5em; letter-spacing: 0; }

/* ---------- 6. NAVEGACIÓN ---------- */
.nav {
    position: fixed; top: 12px; left: 0; right: 0; z-index: 100;
    padding-inline: var(--gutter);
    pointer-events: none;
    opacity: 0; transform: translateY(-24px);
    transition: opacity .9s var(--ease) .1s, transform .9s var(--ease) .1s;
}
.is-ready .nav { opacity: 1; transform: none; }

.nav__bar {
    pointer-events: auto;
    position: relative;
    display: flex; align-items: center; gap: 12px;
    max-width: 1180px; height: var(--nav-h);
    margin-inline: auto; padding: 0 10px 0 14px;
    border-radius: var(--pill);
    color: var(--t-d);
    background: rgba(11, 12, 16, .52);
    -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11), 0 18px 44px -20px rgba(0, 0, 0, .7);
    transition: background-color .5s, color .5s, box-shadow .5s;
}
.nav[data-theme="light"] .nav__bar {
    color: var(--t-l);
    background: rgba(252, 252, 253, .74);
    box-shadow: inset 0 0 0 1px rgba(15, 17, 23, .09), 0 18px 44px -22px rgba(15, 17, 23, .35);
}

.nav__brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__logo { width: 44px; height: 44px; object-fit: contain; transition: opacity .4s; }
.nav__logo--ink { position: absolute; opacity: 0; }
.nav[data-theme="light"] .nav__logo--gold { opacity: 0; }
.nav[data-theme="light"] .nav__logo--ink { opacity: 1; }
.nav__word { display: grid; line-height: 1; }
.nav__word b { font: 600 1.02rem/1 var(--f-display); letter-spacing: -.01em; }
.nav__word small { margin-bottom: 4px; font: 400 .6rem/1 var(--f-mono); letter-spacing: .38em; text-transform: uppercase; color: var(--gold-2); }
.nav[data-theme="light"] .nav__word small { color: var(--gold-ink); }

.nav__links { display: none; align-items: center; gap: 2px; }
.nav__links a {
    padding: .62em 1em; border-radius: var(--pill);
    font: 500 .92rem/1 var(--f-body);
    opacity: .78;
    transition: background-color .3s, opacity .3s, color .3s;
}
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, .16); }
.nav__links a.is-active { opacity: 1; color: #1a1304; background: var(--gold); }

.nav__cta { display: none; }

.nav__burger {
    position: relative; width: 44px; height: 44px; flex: none;
    border: 0; border-radius: 50%;
    background: rgba(127, 127, 127, .16);
    color: inherit;
}
.nav__burger span {
    position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform .6s var(--ease), top .6s var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.nav__progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.nav__progress i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* Menú móvil */
.menu {
    position: fixed; inset: 0; z-index: 99;
    display: grid; grid-template-rows: 1fr auto;
    padding: calc(var(--nav-h) + 40px) var(--gutter) max(28px, env(safe-area-inset-bottom));
    color: var(--t-d);
    visibility: hidden;
    transition: visibility 0s linear .9s;
}
.menu.is-open { visibility: visible; transition-delay: 0s; }
.menu__bg {
    position: absolute; inset: 0;
    background: radial-gradient(700px circle at 90% 0%, rgba(227, 191, 99, .18), transparent 60%), var(--ink);
    clip-path: circle(0 at calc(100% - 44px) 40px);
    transition: clip-path .9s var(--ease-io);
}
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 44px) 40px); }
.menu__nav, .menu__foot { position: relative; }
.menu__nav { display: grid; align-content: center; gap: 4px; }
.menu__nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .55em 0; border-bottom: 1px solid var(--line-d);
    font: 500 clamp(1.7rem, 7vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.03em;
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__nav a i { color: var(--gold-2); font-size: .8em; }
.menu__nav a:hover { color: var(--gold-1); }
.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__foot { display: grid; gap: 14px; justify-items: center; opacity: 0; transition: opacity .6s .6s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot p { font: 400 .85rem var(--f-mono); letter-spacing: .12em; color: var(--m-d); }

/* ---------- 7. HERO (oscuro) ---------- */
.hero {
    position: relative;
    display: grid; align-items: center;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 44px) 0 72px;
    overflow: clip;
    isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -3;
    background:
        radial-gradient(900px circle at 82% 30%, rgba(227, 191, 99, .1), transparent 60%),
        radial-gradient(700px circle at 8% 100%, rgba(140, 106, 31, .16), transparent 60%),
        var(--ink);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }

.hero__aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__aurora i {
    position: absolute; border-radius: 50%;
    opacity: .9;
    will-change: transform;
}
.hero__aurora i:nth-child(1) {
    width: 70vmax; height: 70vmax; left: -28vmax; top: -30vmax;
    background: radial-gradient(circle, rgba(227, 191, 99, .34), transparent 65%);
    animation: drift-a 24s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(2) {
    width: 60vmax; height: 60vmax; right: -26vmax; bottom: -28vmax;
    background: radial-gradient(circle, rgba(140, 106, 31, .5), transparent 65%);
    animation: drift-b 28s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(3) {
    width: 34vmax; height: 34vmax; left: 38%; top: 30%;
    background: radial-gradient(circle, rgba(247, 230, 173, .14), transparent 65%);
    animation: drift-c 19s ease-in-out infinite alternate;
}

.hero__floor {
    position: absolute; left: -30%; right: -30%; bottom: 0; height: 62%; z-index: -2;
    background-image:
        linear-gradient(rgba(227, 191, 99, .34) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 191, 99, .34) 1px, transparent 1px);
    background-size: 72px 72px;
    transform: perspective(380px) rotateX(62deg);
    transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 90%);
    mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 90%);
    animation: floor 4.5s linear infinite;
}

.hero__cursor {
    position: absolute; left: 0; top: 0; z-index: -1;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 230, 173, .16), transparent 62%);
    transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0) translate(-50%, -50%);
    pointer-events: none; opacity: 0;
    transition: opacity .6s;
}

.hero__inner {
    position: relative; z-index: 1;
    display: grid; gap: 40px;
    width: min(1360px, 100% - var(--gutter) * 2);
}
.hero__copy { translate: 0 calc(var(--hp, 0) * 70px); opacity: calc(1 - var(--hp, 0) * 1.25); }

.hero__pill {
    display: inline-flex; align-items: center; gap: .6em;
    margin-bottom: 1.5rem; padding: .6em 1.15em .6em .95em;
    border-radius: var(--pill);
    font: 500 .9rem/1.2 var(--f-body);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(227, 191, 99, .38);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__pill > i { color: var(--gold-2); font-size: 1.2em; }
.roll { display: inline-grid; height: 1.4em; overflow: hidden; color: var(--gold-1); font-weight: 600; }
.roll__item {
    grid-area: 1 / 1; line-height: 1.4;
    opacity: 0; transform: translateY(115%);
    transition: transform .8s var(--ease), opacity .5s;
}
.roll__item.is-on { opacity: 1; transform: none; }
.roll__item.is-off { opacity: 0; transform: translateY(-115%); }

.hero__title { font-size: clamp(2.45rem, 9.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; }
.hero__title .line { display: block; }
.hero__sub { margin-top: 1.5rem; max-width: 34em; font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--m-d); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.1rem; }
.hero__cta .btn { flex: 1 1 auto; }

/* Entrada del hero tras la carga */
.js [data-hero]:not([data-split]) {
    opacity: 0; transform: translateY(26px);
    transition: opacity 1.1s var(--ease) var(--hd, 0s), transform 1.3s var(--ease) var(--hd, 0s);
}
.js [data-hero="0"] { --hd: .1s; }
.js [data-hero="2"] { --hd: .75s; }
.js [data-hero="3"] { --hd: .95s; }
.js [data-hero="4"] { --hd: .4s; transform: scale(.92); }
.is-ready [data-hero]:not([data-split]) { opacity: 1; transform: none; }
.hero__title { --sd: .3s; }
.hero__title em .wi { background-size: 220% 100%; animation: shimmer 5s linear infinite; }

/* Composición visual */
.hero__visual {
    position: relative;
    width: min(78vw, 400px); aspect-ratio: 1;
    margin-inline: auto;
    display: grid; place-items: center;
    translate: 0 calc(var(--hp, 0) * -40px);
}
.hero__visual::before {
    content: ""; position: absolute; inset: 4%; border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 191, 99, .2), transparent 68%);
    animation: glow2 6s ease-in-out infinite;
}
.orbit { position: absolute; display: grid; place-items: center; translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 8px); }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit--outer { inset: 6%; animation: spin 80s linear infinite; }
.orbit--mid { inset: 14%; animation: spin-rev 55s linear infinite; }
.orbit--inner { inset: 22%; animation: spin 40s linear infinite; }
.orbit__chips { position: absolute; inset: 0; }
.orbit__chips li { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit__chips span {
    position: absolute; top: .4%; left: 50%;
    translate: -50% -50%;
    rotate: calc(var(--a) * -1);
    padding: .55em 1em; border-radius: var(--pill);
    font: 500 .74rem/1 var(--f-display); letter-spacing: .01em; white-space: nowrap;
    color: var(--gold-1);
    background: rgba(11, 12, 16, .78);
    box-shadow: inset 0 0 0 1px rgba(227, 191, 99, .5), 0 12px 28px -10px rgba(0, 0, 0, .7);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    animation: spin-rev 80s linear infinite;
}

.arch {
    position: relative; width: 56%; aspect-ratio: 3 / 4;
    translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -12px);
}
.arch__frame {
    position: relative; width: 100%; height: 100%; overflow: hidden;
    border-radius: 50% 50% 24px 24px / 37.5% 37.5% 24px 24px;
    background: var(--ink-3);
    box-shadow: 0 0 0 1px rgba(227, 191, 99, .55), 0 0 0 9px rgba(227, 191, 99, .07), 0 50px 90px -30px rgba(0, 0, 0, .85);
}
.arch__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; animation: kenburns 22s ease-in-out infinite alternate; }
.arch__shine {
    position: absolute; inset: -30%;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .24) 50%, transparent 58%);
    transform: translateX(-100%);
    animation: sweep 7s var(--ease-io) 2.5s infinite;
    pointer-events: none;
}
.hero__seal {
    position: absolute; left: 4%; bottom: 7%;
    width: 24%; aspect-ratio: 1; padding: 10px;
    border-radius: 50%; object-fit: contain;
    background: rgba(11, 12, 16, .82);
    box-shadow: inset 0 0 0 1px rgba(227, 191, 99, .5), 0 18px 40px -12px rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    animation: float 7s ease-in-out infinite;
}

/* ---------- 8. CINTA DORADA (única marquesina) ---------- */
.band {
    position: relative;
    padding: clamp(16px, 2.2vw, 28px) 0 calc(var(--r-l) + clamp(16px, 2.2vw, 28px));
    background: var(--gold);
    color: #16110a;
    overflow: clip;
}
.band__track { display: flex; width: max-content; will-change: transform; }
.band__row {
    display: flex; flex: none; align-items: center;
    gap: clamp(22px, 3vw, 46px); padding-right: clamp(22px, 3vw, 46px);
    font: 600 clamp(1.35rem, 3.4vw, 2.5rem)/1 var(--f-display);
    letter-spacing: -.015em; text-transform: uppercase; white-space: nowrap;
}
.band__row .g { font-weight: 300; opacity: .55; }

/* ---------- 9. MANIFIESTO (claro) ---------- */
.manifesto { height: 250vh; }
.manifesto__stage {
    position: sticky; top: 0;
    height: 100svh;
    display: grid; align-items: center;
    overflow: clip;
    padding-top: var(--r-l);
}
.manifesto__inner { position: relative; z-index: 2; }
.manifesto__text {
    max-width: 17em;
    font-size: clamp(1.95rem, 5.4vw, 4.5rem);
    line-height: 1.08; letter-spacing: -.04em;
}
.manifesto__text .mw { display: inline; color: var(--t-l); opacity: calc(.14 + .86 * var(--o, 0)); transition: opacity .25s linear; }
.manifesto__text .mw.hl { color: var(--gold-ink); }
.manifesto__cta {
    margin-top: 2rem;
    opacity: 0; transform: translateY(18px); pointer-events: none;
    transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.manifesto__cta.is-on { opacity: 1; transform: none; pointer-events: auto; }

.mfloat {
    position: absolute; z-index: 1; margin: 0;
    width: clamp(120px, 24vw, 300px); aspect-ratio: 4 / 5;
    border-radius: var(--r-m); overflow: hidden;
    background: var(--paper-2);
    box-shadow: 0 40px 80px -40px rgba(15, 17, 23, .55);
    opacity: .2;
    translate: 0 calc((var(--mp, 0) - .5) * var(--dir, 1) * 140px);
    rotate: calc(var(--dir, 1) * 3deg);
}
.mfloat img { width: 100%; height: 100%; object-fit: cover; }
.mfloat--a { right: -3%; top: 12%; --dir: -1; }
.mfloat--b { left: -4%; bottom: 8%; --dir: 1; }

/* ---------- 10. LA IMAGEN SE ABRE ---------- */
.expand { height: 330vh; position: relative; }
.expand__stage { position: sticky; top: 0; height: 100svh; overflow: clip; }

.expand__head {
    position: absolute; left: 0; right: 0; top: 0; z-index: 3;
    padding-top: calc(var(--nav-h) + 5svh);
    text-align: center;
    translate: 0 calc(var(--e, 0) * -50px);
    opacity: calc(1 - var(--e, 0) * 2.6);
    pointer-events: none;
}
.expand__head h2 { max-width: 22ch; margin-inline: auto; font-size: clamp(1.9rem, 4.6vw, 3.8rem); }

.expand__frame {
    --iy1: 36%; --ix: 11%; --iy2: 13%;
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden;
    background: var(--ink-3);
    clip-path: inset(
        calc((1 - var(--e, 0)) * var(--iy1))
        calc((1 - var(--e, 0)) * var(--ix))
        calc((1 - var(--e, 0)) * var(--iy2))
        calc((1 - var(--e, 0)) * var(--ix))
        round calc((1 - var(--e, 0)) * 32px)
    );
    will-change: clip-path;
}
.expand__img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.3 - var(--e, 0) * .3)); will-change: transform; }
.expand__shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 12, 16, .25) 0%, rgba(11, 12, 16, .55) 45%, rgba(11, 12, 16, .92) 100%);
    opacity: var(--e, 0);
}

.expand__over {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: grid; gap: clamp(18px, 3vh, 34px);
    padding-bottom: max(5svh, 28px);
    color: var(--t-d);
    opacity: var(--t, 0);
    translate: 0 calc((1 - var(--t, 0)) * 50px);
    pointer-events: none;
}
.expand__over.is-live { pointer-events: auto; }
.expand__lead { max-width: 30ch; font: 500 clamp(1.3rem, 3.2vw, 2.4rem)/1.2 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.expand__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; max-width: 780px; }
.expand__stats li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
.expand__stats b {
    font: 300 clamp(2.4rem, 6vw, 3.8rem)/1 var(--f-display); letter-spacing: -.04em;
    background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.expand__stats span { font-size: .92rem; color: var(--t-d); opacity: .85; }
.expand__over .btn { justify-self: start; }

/* ---------- 11. DE LA ALFA A LA OMEGA (oscuro) ---------- */
.journey { height: 520vh; position: relative; }
.journey__stage {
    position: sticky; top: 0; height: 100svh;
    display: grid; grid-template-rows: auto 1fr;
    padding: calc(var(--nav-h) + 30px) 0 22px;
    overflow: clip;
}
.journey__aura {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(700px circle at calc(10% + var(--jp, 0) * 80%) 62%, rgba(227, 191, 99, .16), transparent 60%),
        radial-gradient(900px circle at 50% -10%, rgba(140, 106, 31, .18), transparent 60%);
}
.journey__top { position: relative; z-index: 1; }
.journey__top h2 { max-width: 16ch; font-size: clamp(1.75rem, 4.4vw, 3.5rem); }
.journey__sub { display: none; margin-top: 1rem; max-width: 46ch; color: var(--m-d); font-size: 1.1rem; }

.journey__body { position: relative; z-index: 1; display: grid; align-content: center; gap: clamp(10px, 2.4vh, 30px); min-height: 0; }

.jp { display: block; overflow: visible; }
.jp--h { display: none; width: 100%; height: auto; }
.jp--v { grid-column: 1; grid-row: 1 / span 2; height: 100%; max-height: 54svh; width: auto; justify-self: center; }
.jp__base { stroke: rgba(255, 255, 255, .22); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .004 .016; }
.jp__fill { stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px rgba(227, 191, 99, .6)); }
.jp__node circle { fill: var(--ink-2); stroke: rgba(255, 255, 255, .28); stroke-width: 2; transition: stroke .5s, fill .5s; }
.jp__node .in { fill: rgba(255, 255, 255, .3); stroke: none; }
.jp__node text { font: 600 28px var(--f-display); fill: rgba(255, 255, 255, .45); transition: fill .5s; }
.jp__node.is-lit circle { stroke: var(--gold-2); }
.jp__node.is-lit .in { fill: var(--gold-1); }
.jp__node.is-lit text { fill: var(--gold-1); }
.jp__node--end.is-lit circle:first-child { fill: #1a1710; }
.jp__dot { fill: #fff6d6; }

.journey__cards {
    position: relative; grid-column: 2;
    width: 100%; min-height: 232px;
}
.journey__top { padding-bottom: 6px; }
.jstep {
    position: absolute; left: 0; top: 0; width: 100%;
    padding: clamp(20px, 3vw, 34px);
    border-radius: var(--r-m);
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -40px rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(26px) scale(.98);
    transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s linear .7s;
}
.jstep.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.jstep__ico {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
    border-radius: 50%; font-size: 1.5rem; color: #1a1304;
    background: var(--gold);
    box-shadow: 0 10px 26px -10px rgba(227, 191, 99, .7);
}
.jstep__ico b { font: 600 1.5rem/1 var(--f-display); }
.jstep h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.jstep p { margin-top: .7rem; color: var(--m-d); font-size: 1rem; max-width: 46ch; }
.jstep .btn { margin-top: 1.2rem; }

.journey__stations { display: none; }

/* Ajustes móviles del recorrido: trazo vertical a la izquierda, tarjeta a la derecha */
.journey__body { grid-template-columns: 74px 1fr; column-gap: 12px; align-items: center; align-content: stretch; }
.jp--v { grid-row: 1; }

/* ---------- 12. TIPOS DE PENSIÓN (claro, bento) ---------- */
.pens, .laws, .mods, .faq, .contact {
    padding-block: calc(var(--r-l) + clamp(64px, 10vw, 140px)) clamp(80px, 11vw, 160px);
}

.pens .sec-head { max-width: 900px; }
.pens h2 { max-width: 15ch; }

.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }

.bcard {
    --mx: 50%; --my: 50%;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: 262px; padding: clamp(22px, 2.6vw, 34px);
    border-radius: var(--r-m);
    transition: transform .8s var(--ease), box-shadow .6s var(--ease);
}
.bcard::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(227, 191, 99, .26), transparent 62%);
    opacity: 0; transition: opacity .5s;
}
.bcard:hover::before { opacity: 1; }
.bcard:hover { transform: translateY(-4px); }

.bcard__img {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    object-fit: cover; transform: scale(1.07);
    transition: transform 1.6s var(--ease);
}
.bcard:hover .bcard__img { transform: scale(1.14); }
.bcard__shade {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(11, 12, 16, .28) 0%, rgba(11, 12, 16, .74) 48%, rgba(11, 12, 16, .95) 100%);
}
.bcard--photo { color: var(--t-d); background: var(--ink-3); box-shadow: 0 30px 60px -36px rgba(15, 17, 23, .6); }
.bcard--dark {
    color: var(--t-d);
    background: radial-gradient(500px circle at 100% 0%, rgba(227, 191, 99, .18), transparent 60%), linear-gradient(160deg, #1c1f29, #0e1015);
    box-shadow: 0 30px 60px -36px rgba(15, 17, 23, .6);
}
.bcard--soft { color: var(--t-l); background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-l), 0 30px 60px -44px rgba(15, 17, 23, .3); }
.bcard--gold { color: #1a1304; background: var(--gold); box-shadow: 0 30px 60px -30px rgba(195, 155, 59, .7); }

.bcard__body { display: grid; justify-items: start; }
.bcard h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); letter-spacing: -.03em; }
.b-vejez h3 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); max-width: 14ch; }
.bcard p { margin-top: .7rem; max-width: 34ch; font-size: .98rem; opacity: .9; }
.bcard--photo p, .bcard--dark p { color: #d5d8e0; opacity: 1; }
.bcard--soft p { color: var(--m-l); }
.bcard--gold p { color: #3a2c08; opacity: 1; }
.bcard--gold h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bcard--gold .btn { margin-top: 1.2rem; }

.bcard__ico {
    display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.1rem;
    border-radius: 50%; font-size: 1.45rem; color: var(--gold-1);
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bcard--soft .bcard__ico { color: var(--gold-ink); background: rgba(15, 17, 23, .05); box-shadow: inset 0 0 0 1px var(--line-l); }
.bcard__link {
    display: inline-flex; align-items: center; gap: .5em; margin-top: 1.1rem;
    font: 600 .95rem/1 var(--f-display); color: var(--gold-1);
}
.bcard--soft .bcard__link { color: var(--gold-ink); }
.bcard__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.bcard__link i { transition: transform .6s var(--ease); }
.bcard:hover .bcard__link i { transform: translate(3px, -3px); }

/* ---------- 13. LEY 73 / LEY 97 (oscuro) ---------- */
.laws { position: relative; overflow: clip; }
.laws__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(800px circle at 88% 18%, rgba(227, 191, 99, .14), transparent 60%),
        radial-gradient(640px circle at 6% 92%, rgba(140, 106, 31, .2), transparent 60%);
}
.laws__grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.laws h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 14ch; }
.laws__sub { margin-top: 1.3rem; color: var(--m-d); font-size: 1.1rem; }

.seg {
    position: relative; display: grid; grid-template-columns: 1fr 1fr;
    width: min(100%, 480px); margin-top: 2rem; padding: 6px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.seg__thumb {
    position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px);
    border-radius: var(--pill); background: var(--gold);
    box-shadow: 0 10px 26px -8px rgba(227, 191, 99, .7);
    transition: transform .7s var(--ease);
}
.seg[data-active="97"] .seg__thumb { transform: translateX(100%); }
.seg__btn {
    position: relative; z-index: 1; min-height: 50px; padding: .6em .7em;
    border: 0; border-radius: var(--pill); background: none;
    font: 600 .86rem/1.15 var(--f-display); color: var(--m-d);
    transition: color .4s;
}
.seg__btn.is-on { color: #1a1304; }

.laws__stage { position: relative; isolation: isolate; }
.laws__ghost { position: absolute; right: -3%; bottom: -13%; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.laws__ghost span {
    position: absolute; right: 0; bottom: 0;
    font: 700 clamp(9rem, 30vw, 21rem)/.8 var(--f-display); letter-spacing: -.06em;
    background: linear-gradient(180deg, rgba(247, 230, 173, .42), rgba(227, 191, 99, .04) 92%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translateY(40px) scale(.96);
    transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.laws__ghost span.is-on { opacity: 1; transform: none; animation: float 9s ease-in-out infinite; }

.law {
    padding: clamp(24px, 3.6vw, 46px);
    border-radius: var(--r-m);
    background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 50px 90px -50px #000;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.law[hidden] { display: none; }
.law.is-on { animation: lawin .9s var(--ease) both; }
.law h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.law__lead { margin-top: .7rem; font-size: 1.08rem; color: var(--gold-1); }
.law__list { display: grid; gap: 16px; margin: 1.7rem 0; }
.law__list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; color: var(--t-d); }
.law__list i {
    display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px;
    border-radius: 50%; font-size: .85rem; color: #1a1304; background: var(--gold);
}
.law__note {
    margin-bottom: 1.7rem; padding: 14px 16px;
    border-radius: var(--r-s); font-size: .95rem; color: var(--m-d);
    background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ---------- 14. MODALIDAD 40 Y 10 (claro, tarjetas apiladas) ---------- */
.mods h2 { max-width: 17ch; margin-inline: auto; }
.mods__stack { display: grid; gap: 18px; }

.mod {
    --q: 0;
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 24px; align-items: center;
    padding: clamp(26px, 4.4vw, 60px);
    border-radius: var(--r-l);
}
.mod::after {
    content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
    border-radius: inherit; background: #05060a; opacity: calc(var(--q) * .6);
}
.mod--dark {
    color: var(--t-d);
    background:
        radial-gradient(800px circle at 8% 0%, rgba(227, 191, 99, .18), transparent 58%),
        linear-gradient(160deg, #181b23, #0b0c10);
    box-shadow: 0 60px 110px -60px rgba(11, 12, 16, .85);
}
.mod--gold { color: #14110a; background: var(--gold); box-shadow: 0 60px 110px -60px rgba(125, 92, 18, .8); }

.mod__num span {
    display: block; font: 700 clamp(7.5rem, 30vw, 19rem)/.78 var(--f-display); letter-spacing: -.07em;
}
.mod--dark .mod__num span { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mod--gold .mod__num span { background: linear-gradient(180deg, #14110a 20%, #5a430c); -webkit-background-clip: text; background-clip: text; color: transparent; }

.mod h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.mod__tag { margin-top: .8rem; font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.3 var(--f-display); letter-spacing: -.02em; }
.mod--dark .mod__tag { color: var(--gold-1); }
.mod__body > p:not(.mod__tag):not(.mod__note) { margin-top: 1rem; max-width: 52ch; }
.mod--dark .mod__body > p:not(.mod__tag):not(.mod__note) { color: var(--m-d); }
.mod--gold .mod__body > p:not(.mod__tag):not(.mod__note) { color: #3a2c08; }
.mod__list { display: grid; gap: 12px; margin: 1.5rem 0; }
.mod__list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.mod__list i { font-size: 1.35rem; line-height: 1.2; }
.mod--dark .mod__list i { color: var(--gold-2); }
.mod--gold .mod__list i { color: #14110a; }
.mod__note { margin-bottom: 1.6rem; padding-left: 14px; border-left: 2px solid currentColor; font-size: .95rem; opacity: .85; }

/* ---------- 15. OTROS SERVICIOS (oscuro, horizontal) ---------- */
.hpan { position: relative; height: var(--hh, 420vh); }
.hpan__stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: flex; align-items: center; }
.hpan__track {
    display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 32px);
    height: min(74svh, 620px);
    padding-inline: var(--gutter);
    will-change: transform;
}
.hpan__panel { flex: none; width: min(520px, 82vw); display: flex; flex-direction: column; justify-content: center; }
.hpan__panel--intro h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); }
.hpan__panel--intro p { margin-top: 1.3rem; max-width: 34ch; color: var(--m-d); font-size: 1.1rem; }

.hcard {
    position: relative; isolation: isolate; overflow: hidden;
    flex: none; width: min(640px, 86vw);
    display: flex; align-items: flex-end;
    padding: clamp(22px, 3vw, 38px);
    border-radius: var(--r-m);
    background: var(--ink-3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.hcard__img {
    position: absolute; top: 0; left: 0; z-index: -2;
    width: 125%; max-width: none; height: 100%; object-fit: cover;
    translate: calc((var(--hx, 0) + 1) * -10%) 0;
}
.hcard__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 12, 16, .25) 0%, rgba(11, 12, 16, .92) 78%); }
.hcard__ico {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px;
    border-radius: 50%; font-size: 1.4rem; color: var(--gold-1);
    background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.hcard h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.hcard p { margin-top: .6rem; color: #d5d8e0; max-width: 40ch; }
.hcard ul { display: grid; gap: 8px; margin: 1.1rem 0 1.4rem; }
.hcard li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--t-d); }
.hcard li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--gold-2); }

.hpan__panel--end { align-items: flex-start; width: min(480px, 82vw); }
.hpan__panel--end > i { font-size: 3.4rem; color: var(--gold-2); margin-bottom: 1rem; }
.hpan__panel--end h3 { font-size: clamp(2rem, 4vw, 3.1rem); }
.hpan__panel--end p { margin: 1rem 0 1.8rem; color: var(--m-d); font-size: 1.1rem; }

.hpan__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: max(3.2svh, 22px); height: 2px; background: rgba(255, 255, 255, .14); }
.hpan__progress i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }

/* ---------- 16. PREGUNTAS FRECUENTES (claro) ---------- */
.faq__grid { display: grid; gap: 44px; align-items: start; }
.faq h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 13ch; }
.faq__points { display: grid; gap: 14px; margin: 2rem 0; }
.faq__points li { display: flex; align-items: center; gap: 14px; color: var(--m-l); }
.faq__points i {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px;
    border-radius: 50%; font-size: 1.3rem; color: var(--gold-ink);
    background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-l);
}

.acc { display: grid; gap: 12px; }
.acc__item {
    border-radius: var(--r-m);
    background: var(--paper-3);
    box-shadow: inset 0 0 0 1px var(--line-l);
    transition: box-shadow .5s var(--ease);
}
.acc__item.is-open { box-shadow: inset 0 0 0 1px rgba(195, 155, 59, .8), 0 30px 60px -36px rgba(125, 92, 18, .4); }
.acc__item h3 { font-size: inherit; letter-spacing: 0; line-height: inherit; font-weight: inherit; }
.acc__btn {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    width: 100%; padding: clamp(18px, 2.2vw, 26px);
    border: 0; border-radius: var(--r-m); background: none; text-align: left;
    font: 600 clamp(1.05rem, 1.5vw, 1.22rem)/1.3 var(--f-display); letter-spacing: -.015em; color: var(--t-l);
}
.acc__btn i {
    display: grid; place-items: center; flex: none; width: 38px; height: 38px;
    border-radius: 50%; background: var(--paper-2);
    transition: transform .6s var(--ease), background-color .4s;
}
.acc__btn[aria-expanded="true"] i { transform: rotate(135deg); background: var(--gold); }
.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 clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px); max-width: 62ch; color: var(--m-l); }

/* ---------- 17. CONTACTO (oscuro) ---------- */
.contact { position: relative; overflow: clip; }
.contact__bg { position: absolute; inset: 0; pointer-events: none; }
.contact__bg img {
    width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(1);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 62%, transparent 100%);
}
.contact__glow {
    position: absolute; left: 50%; top: 24%;
    width: min(1100px, 130vw); aspect-ratio: 1; translate: -50% -50%;
    background: radial-gradient(circle, rgba(227, 191, 99, .24), transparent 62%);
    animation: glow 8s ease-in-out infinite;
}
.contact__ring { position: absolute; left: 50%; top: 40%; width: min(1200px, 170vw); translate: -50% -50%; animation: spin 140s linear infinite; }

.contact__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(2.3rem, 6vw, 4.8rem); max-width: 12ch; }
.contact__sub { margin-top: 1.4rem; max-width: 40ch; font-size: 1.15rem; color: var(--m-d); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.contact__actions .btn { flex: 1 1 auto; }
.contact__card {
    display: inline-grid; gap: 6px; margin-top: 2.2rem; padding: 18px 24px;
    border-radius: var(--r-m);
    background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.contact__card span { font: 400 .72rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--m-d); }
.contact__card a { font: 600 clamp(1.7rem, 3.4vw, 2.2rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--gold-1); }

.form {
    padding: clamp(24px, 3.6vw, 46px);
    border-radius: var(--r-l);
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 60px 110px -60px #000;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.form h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form__lead { margin: .6rem 0 1.7rem; color: var(--m-d); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font: 500 .93rem/1.3 var(--f-body); color: var(--t-d); }
.field label span { color: var(--m-d); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 0 16px;
    border: 0; border-radius: var(--r-s);
    font: 400 1rem/1.4 var(--f-body); color: var(--t-d);
    background: rgba(8, 9, 12, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    transition: box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 100px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f94a3; }
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #e3bf63 50%), linear-gradient(135deg, #e3bf63 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field select option { background: #14161d; color: var(--t-d); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--gold-2), 0 0 0 5px rgba(227, 191, 99, .18);
}
.field.has-error input, .field.has-error select { box-shadow: inset 0 0 0 2px #ff9a9a; }
.field__err { min-height: 0; font-size: .88rem; color: #ffb0b0; }
.field__err:empty { display: none; }
.form .btn { margin-top: 6px; }
.form__status { margin-top: 14px; font-size: .95rem; color: var(--gold-1); }
.form__status:empty { display: none; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }
.form__note { margin-top: 12px; font-size: .84rem; color: var(--m-d); text-align: center; }

/* ---------- 18. PIE DE PÁGINA ---------- */
.foot { overflow: clip; padding-top: calc(var(--r-l) + clamp(56px, 8vw, 100px)); background: var(--deep); }
.foot__grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 18px; max-width: 360px; }
.foot__brand img { width: 84px; height: 84px; object-fit: contain; }
.foot__brand p { color: var(--m-d); font-size: .95rem; }
.foot__col { display: grid; align-content: start; gap: 12px; }
.foot__col h2 { margin-bottom: 6px; font: 500 .74rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.foot__col a, .foot__col span { font-size: .95rem; color: var(--m-d); width: fit-content; transition: color .3s; }
.foot__col a:hover { color: var(--gold-1); }
.foot__top {
    display: inline-flex; align-items: center; gap: .6em; width: fit-content; margin-top: 8px; padding: .75em 1.2em;
    border: 0; border-radius: var(--pill); font: 500 .9rem/1 var(--f-body); color: var(--t-d);
    background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
    transition: background-color .3s, color .3s;
}
.foot__top:hover { background: var(--gold); color: #1a1304; }
.foot__word {
    margin-top: clamp(40px, 7vw, 90px);
    font: 700 11.4vw/.82 var(--f-display); letter-spacing: -.05em; text-align: center; white-space: nowrap;
    background: linear-gradient(180deg, rgba(227, 191, 99, .6), rgba(227, 191, 99, 0) 88%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    user-select: none;
    translate: 0 calc((1 - var(--fw, 1)) * 40px); opacity: calc(.2 + var(--fw, 1) * .8);
}
.foot__legal { display: grid; gap: 10px; padding-block: 26px 34px; border-top: 1px solid var(--line-d); font-size: .82rem; color: var(--m-d); }

/* ---------- 19. WHATSAPP FLOTANTE ---------- */
.wa {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    opacity: 0; transform: translateY(24px) scale(.9);
    transition: opacity .8s var(--ease) 1.4s, transform 1s var(--ease) 1.4s;
}
.is-ready .wa { opacity: 1; transform: none; }
.wa__btn {
    position: relative; display: grid; place-items: center;
    width: 62px; height: 62px; border-radius: 50%;
    font-size: 2rem; color: #1a1304; background: var(--gold);
    box-shadow: 0 18px 40px -12px rgba(227, 191, 99, .65), inset 0 1px 0 rgba(255, 255, 255, .65);
    transition: transform .6s var(--ease);
}
.wa__btn:hover { transform: scale(1.1) rotate(-8deg); }
.wa__btn:active { transform: scale(.94); }
.wa__pulse { position: absolute; inset: 0; border-radius: 50%; animation: ring 2.8s ease-out infinite; }
.wa__tip {
    position: relative; max-width: 230px; padding: 14px 40px 14px 16px;
    border-radius: var(--r-m) var(--r-m) 6px var(--r-m);
    color: var(--t-d); background: rgba(11, 12, 16, .88);
    box-shadow: inset 0 0 0 1px rgba(227, 191, 99, .45), 0 20px 44px -16px rgba(0, 0, 0, .7);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform-origin: 100% 100%;
    opacity: 0; transform: scale(.85) translateY(10px); pointer-events: none;
    transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.wa__tip.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa__tip p { font-size: .88rem; color: var(--m-d); line-height: 1.3; }
.wa__tip b { display: block; margin-top: 3px; font: 600 .98rem/1.25 var(--f-display); color: var(--gold-1); }
.wa__x {
    position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 28px; height: 28px;
    border: 0; border-radius: 50%; font-size: .8rem; color: var(--m-d); background: rgba(255, 255, 255, .08);
}
.wa__x:hover { color: var(--t-d); background: rgba(255, 255, 255, .16); }

/* ---------- 20. GRANO (capa fija, no intercepta clics) ---------- */
.grain {
    position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .045;
    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='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- 21. KEYFRAMES ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes glow { 0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }
@keyframes glow2 { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-2%, -1.5%, 0); } }
@keyframes sweep { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@keyframes shine { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
@keyframes floor { to { background-position: 0 72px, 72px 0; } }
@keyframes drift-a { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-12vmax, -9vmax, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(-10vmax, 8vmax, 0) scale(1.35); } }
@keyframes lawin { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(227, 191, 99, .55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(227, 191, 99, 0); } }

/* ---------- 22. RESPONSIVE (mobile first, se amplía hacia arriba) ---------- */
@media (min-width: 640px) {
    .nav__cta { display: inline-flex; }
    .hero__cta .btn { flex: 0 0 auto; }
    .expand__stats { grid-template-columns: repeat(4, 1fr); }
    .contact__actions .btn { flex: 0 0 auto; }
    .foot__grid { grid-template-columns: repeat(3, 1fr); }
    .foot__brand { grid-column: 1 / -1; }
}

@media (min-width: 700px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .b-vejez, .b-cta { grid-column: 1 / -1; }
    .b-vejez { min-height: 420px; }
}

@media (min-width: 760px) {
    /* Recorrido: trazo horizontal + tarjeta que sigue al nodo activo */
    .journey__sub { display: block; }
    .jp--h { display: block; width: min(100%, calc(27svh * 5.2)); margin-inline: auto; height: auto; }
    .jp--v { display: none; }
    .journey__body { grid-template-columns: 1fr; column-gap: 0; align-content: center; align-items: start; }
    .journey__cards {
        grid-column: 1; width: min(580px, 100%); min-height: 292px;
        translate: var(--cx, 0px) 0;
        transition: translate 1.1s var(--ease);
    }
    .journey__stations { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
    .journey__stations button {
        padding: .62em 1.1em; border: 0; border-radius: var(--pill);
        font: 500 .86rem/1 var(--f-body); color: var(--m-d);
        background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
        transition: color .4s, background-color .4s, box-shadow .4s;
    }
    .journey__stations button:hover { color: var(--t-d); }
    .journey__stations button.is-on { color: #1a1304; background: var(--gold); box-shadow: none; }

    .mfloat { opacity: 1; }
    .mfloat--a { right: 3%; top: 14%; }
    .mfloat--b { left: auto; right: 18%; bottom: 7%; width: clamp(110px, 16vw, 220px); }
    .seg__btn { font-size: .95rem; }
}

@media (min-width: 960px) {
    .nav__links { display: flex; }
    .nav__burger { display: none; }
    .nav__bar { padding: 0 8px 0 16px; }
    .menu { display: none; }

    .hero { padding-bottom: 90px; }
    .hero__inner { grid-template-columns: 1.14fr .86fr; gap: 24px; align-items: center; }
    .hero__title { font-size: clamp(3rem, 4.6vw, 4.6rem); }
    .hero__visual { width: min(100%, 600px); }
    .orbit__chips span { font-size: .9rem; }

    .manifesto__inner { padding-right: 24%; }
    .manifesto__text { max-width: 15em; }

    .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
    .b-vejez { grid-column: 1 / 5; grid-row: 1 / 3; min-height: 0; }
    .b-viudez { grid-column: 5 / 7; grid-row: 1 / 2; }
    .b-invalidez { grid-column: 5 / 7; grid-row: 2 / 3; }
    .b-incap { grid-column: 1 / 3; grid-row: 3 / 4; }
    .b-orfandad { grid-column: 3 / 5; grid-row: 3 / 4; }
    .b-cta { grid-column: 5 / 7; grid-row: 3 / 4; }

    .laws__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }

    /* Tarjetas apiladas con sticky */
    .mods__stack { gap: 0; }
    .mod:not(:last-child) { margin-bottom: 15vh; }
    .mod:nth-child(2) { --n: 1; }
    .mod {
        position: sticky; top: calc(var(--nav-h) + 36px + var(--n, 0) * 24px);
        min-height: min(560px, 74svh);
        grid-template-columns: .78fr 1.22fr; gap: 40px;
        transform: scale(calc(1 - var(--q) * .06)); transform-origin: 50% 0;
        will-change: transform;
    }

    .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
    .faq__side { position: sticky; top: calc(var(--nav-h) + 44px); }

    .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; }

    .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .foot__brand { grid-column: auto; }
    .foot__legal { grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
    .foot__legal p:first-child { max-width: 74ch; }
}

@media (min-width: 1200px) {
    .hero__visual { width: min(100%, 640px); }
    .mfloat--a { right: 5%; }
}

@media (max-width: 959px) {
    .mod__num span { font-size: clamp(6rem, 26vw, 10rem); }
}

@media (max-width: 420px) {
    .hero__title { font-size: clamp(2.2rem, 10.4vw, 2.7rem); }
    .btn--lg { padding: 0 1.4em; font-size: 1rem; }
    .btn { white-space: normal; text-align: center; line-height: 1.15; padding-block: .8em; }
}

/* Dispositivos táctiles: sin luz de cursor ni efectos de hover pegajosos */
@media (hover: none) {
    .hero__cursor { display: none; }
    .bcard:hover { transform: none; }
}

/* ---------- 23. MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .hero__canvas, .hero__floor, .hero__aurora, .hero__cursor, .grain { display: none; }
    .js [data-reveal], .js [data-hero]:not([data-split]) { opacity: 1; transform: none; }
    .js [data-split] .wi { transform: none; }

    [data-scene] { height: auto !important; }
    .manifesto__stage, .expand__stage, .journey__stage { position: relative; height: auto; min-height: 0; padding-block: clamp(60px, 10vw, 120px); }
    .manifesto__text .mw { opacity: 1; }
    .manifesto__cta { opacity: 1; transform: none; pointer-events: auto; }
    .mfloat { display: none; }

    .expand__stage { display: grid; gap: 32px; }
    .expand__head, .expand__over { position: relative; opacity: 1; translate: none; pointer-events: auto; padding: 0; }
    .expand__frame { position: relative; height: 60svh; clip-path: none; border-radius: var(--r-l); margin-inline: var(--gutter); }
    .expand__img { transform: none; }
    .expand__shade { opacity: .35; }

    .journey__cards { min-height: 0; display: grid; gap: 14px; translate: none !important; }
    .jstep { position: relative; opacity: 1; visibility: visible; transform: none; }
    .journey__stations, .jp { display: none; }
    .journey__body { grid-template-columns: 1fr; }

    .hpan__stage { overflow-x: auto; scroll-snap-type: x proximity; }
    .hpan__track { transform: none !important; }
    .hcard, .hpan__panel { scroll-snap-align: start; }
    .hcard__img { translate: none; width: 100%; }
    .hpan__progress { display: none; }

    .mod { position: relative; top: auto; transform: none; }
    .band__track { width: auto; }
    .band__row { flex-wrap: wrap; justify-content: center; white-space: normal; }
}

/* Pantallas bajas (portátiles): el recorrido gana espacio vertical */
@media (min-width: 760px) and (max-height: 820px) {
    .journey__sub { display: none; }
    .journey__top h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
    .journey__cards { min-height: 268px; }
    .jstep { padding: 22px 26px; }
}

/* Respaldo para navegadores sin unidades svh */
@supports not (height: 100svh) {
    .hero { min-height: 100vh; }
    .manifesto__stage, .expand__stage, .journey__stage, .hpan__stage { height: 100vh; }
    .expand__head { padding-top: calc(var(--nav-h) + 5vh); }
    .hpan__track { height: min(74vh, 620px); }
}
