/* Tu Consultora · web propuesta por DaVinci Agency · v2 (21-oct-2026)
   Sistema: navy profundo + oro + marfil · Playfair Display (titulares) + Inter (texto). */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-400-normal.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-700-normal.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy-0: #070d17;
  --navy-1: #0b1420;
  --navy-2: #0f1b2d;
  --navy-3: #13233b;
  --line: rgba(201, 169, 110, .16);
  --line-2: rgba(240, 237, 232, .09);
  --gold: #c9a96e;
  --gold-2: #e4c88c;
  --gold-3: #a8864c;
  --ivory: #f0ede8;
  --muted: #a3adbd;
  --muted-2: #7d889a;
  --ok: #8fc9a3;
  --err: #e79a8f;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1240px, 100% - 2 * var(--gut));
  --gut: clamp(16px, 4vw, 48px);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--navy-1); color: var(--ivory);
  font: 400 clamp(15px, 1.05vw, 17px)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy-1); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--navy-1); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* Grano + rejilla dorada de fondo */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .5;
}
main, .site-footer { position: relative; z-index: 1; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: clamp(88px, 13vw, 180px); position: relative; }
.section--tight { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: linear-gradient(180deg, var(--navy-1), var(--navy-2) 30%, var(--navy-2) 70%, var(--navy-1)); }

/* Tipografía */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 112px); }
h2 { font-size: clamp(34px, 4.8vw, 72px); }
h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; }
p { margin: 0 0 1em; }
.gold { color: var(--gold-2); }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.35vw, 21px); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.eyebrow {
  display: block; margin: 0 0 28px;
  font: 700 11.5px/1.7 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 40px; height: 1px; margin: -2px 14px 0 0; background: currentColor; opacity: .8; }
.closing .eyebrow::before { display: none; }
.eyebrow b { font-weight: 700; color: var(--ivory); opacity: .55; }
.ast { font-size: .55em; vertical-align: super; color: var(--gold); margin-left: 1px; }
.legal-note { font-size: 13px; color: var(--muted-2); margin: 10px 0 0; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums; }

/* Revelados de texto por líneas/palabras (JS divide en .w) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.split.is-in .w > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js .split .w > span { opacity: 1; transform: none; }

/* Botones */
.btn {
  --bg: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid rgba(228, 200, 140, .45);
  background: var(--bg); color: var(--ivory); text-decoration: none; cursor: pointer;
  font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: transform .5s var(--ease), border-color .3s, background .3s, color .3s, box-shadow .4s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { border-color: var(--gold-2); }
.btn--gold { --bg: linear-gradient(135deg, #f0d79f, var(--gold) 55%, #b18d52); color: #0b1420; border-color: transparent; box-shadow: 0 10px 40px -12px rgba(201,169,110,.55); }
.btn--gold:hover { box-shadow: 0 16px 50px -12px rgba(228,200,140,.75); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11.5px; }
.btn .arr { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-2); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ───────── Cabecera ───────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background .5s, backdrop-filter .5s, transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(9, 16, 27, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand__name { font-family: var(--serif); font-size: 18px; letter-spacing: .01em; line-height: 1; }
.brand__name small { display: block; font: 700 8.5px/1 var(--sans); letter-spacing: .42em; color: var(--gold); margin-top: 5px; }
.nav-inline { display: none; gap: 30px; }
.nav-inline a { position: relative; text-decoration: none; font-size: 13.5px; color: var(--muted); transition: color .3s; padding: 6px 0; }
.nav-inline a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-inline a:hover, .nav-inline a[aria-current="page"] { color: var(--ivory); }
.nav-inline a:hover::after, .nav-inline a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(15,27,45,.5);
  display: grid; place-items: center; cursor: pointer; position: relative; z-index: 120;
}
.menu-btn span { position: absolute; width: 18px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); width: 12px; margin-left: 6px; }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); width: 18px; margin-left: 0; }
.header-cta { display: none; }
@media (min-width: 1080px) { .nav-inline { display: flex; } }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ───────── Menú a pantalla completa ───────── */
.menu {
  position: fixed; inset: 0; z-index: 110; background: var(--navy-0);
  clip-path: circle(0% at calc(100% - var(--gut) - 24px) 38px);
  transition: clip-path 1s var(--ease-io), visibility 0s 1s; visibility: hidden;
  display: grid; overflow-y: auto;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--gut) - 24px) 38px); visibility: visible; transition: clip-path 1.1s var(--ease-io); }
.menu__inner { width: var(--wrap); margin: auto; padding: calc(var(--header-h) + 24px) 0 40px; display: grid; gap: 48px; }
@media (min-width: 960px) { .menu__inner { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-2); }
.menu__list a {
  display: flex; align-items: baseline; gap: 22px; padding: 14px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(34px, 5.4vw, 72px); line-height: 1.05; color: var(--ivory);
  transform: translateY(110%); transition: transform .9s var(--ease), color .3s;
  transition-delay: calc(.25s + var(--i) * 60ms);
}
.menu-open .menu__list a { transform: none; }
.menu__list a small { font: 700 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold); min-width: 2.2em; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--gold-2); }
.menu__list a:hover em { transform: translateX(10px); opacity: 1; }
.menu__list em { font-style: normal; font-size: .4em; opacity: 0; transition: transform .5s var(--ease), opacity .4s; color: var(--gold); }
.menu__side { display: grid; gap: 28px; opacity: 0; transform: translateY(20px); transition: opacity .8s .5s, transform .8s .5s var(--ease); }
.menu-open .menu__side { opacity: 1; transform: none; }
.menu__preview { position: relative; aspect-ratio: 16/11; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--navy-2); display: none; }
@media (min-width: 960px) { .menu__preview { display: block; } }
.menu__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s, transform 1.2s var(--ease); }
.menu__preview img.is-on { opacity: 1; transform: none; }
.menu__meta { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.menu__meta a { color: var(--gold-2); text-decoration: none; }
.menu-open { overflow: hidden; }

/* ───────── Intro (solo inicio, una vez por sesión) ───────── */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: auto; }
.intro__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #121920; /* mismo tono que el fondo del render del monograma */ transition: transform 1.25s var(--ease-io); }
.intro__panel--top { top: 0; }
.intro__panel--bottom { bottom: 0; }
.intro__seam { width: min(70vw, 820px); height: 1px; margin: -6px 0 -4px; transform: scaleX(0); background: linear-gradient(90deg, transparent, var(--gold-2), transparent); transition: transform 1s var(--ease), opacity .6s; }
.intro__stage { position: relative; display: grid; justify-items: center; gap: 20px; transition: opacity .6s, transform 1.2s var(--ease); }
.intro__mark { width: min(46vw, 300px); aspect-ratio: 640/560; position: relative; }
.intro__mark video { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.intro__word { margin: 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); letter-spacing: .32em; text-transform: uppercase; display: flex; }
.intro__word span { display: inline-block; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .8s, transform .8s var(--ease), filter .8s; transition-delay: calc(1.6s + var(--i) * 40ms); }
.intro__word .sp { width: .5em; }
.intro__tag { margin: 0; font: 700 10.5px/1 var(--sans); letter-spacing: .5em; color: var(--gold); text-transform: uppercase; opacity: 0; transition: opacity .8s 2.4s; }
.intro.is-playing .intro__word span { opacity: 1; transform: none; filter: none; }
.intro.is-playing .intro__tag { opacity: .9; }
.intro.is-playing .intro__seam { transform: scaleX(1); transition-delay: 1.4s; }
.intro.is-leaving .intro__stage { opacity: 0; transform: scale(.94); }
.intro.is-leaving .intro__seam { opacity: 0; }
.intro.is-leaving .intro__panel--top { transform: translateY(-100%); transition-delay: .25s; }
.intro.is-leaving .intro__panel--bottom { transform: translateY(100%); transition-delay: .25s; }
.intro__skip { position: absolute; right: var(--gut); bottom: 28px; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 10px 18px; font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.intro__skip:hover { color: var(--ivory); border-color: var(--gold); }
.no-intro .intro, .intro-gone .intro { display: none; }

/* ───────── Transición entre páginas ───────── */
.curtain { position: fixed; inset: 0; z-index: 190; pointer-events: none; display: grid; }
.curtain i { grid-area: 1/1; background: var(--navy-0); transform: scaleY(0); transform-origin: bottom; }
.curtain i:nth-child(2) { background: linear-gradient(180deg, var(--gold-3), var(--gold)); }
.is-leaving-page .curtain i { transform: scaleY(1); transition: transform .7s var(--ease-io); }
.is-leaving-page .curtain i:nth-child(2) { transition-delay: 0s; }
.is-leaving-page .curtain i:nth-child(1) { transition-delay: .12s; }
.is-entering-page .curtain i { transform: scaleY(1); transform-origin: top; }
.is-entering-page.page-ready .curtain i { transform: scaleY(0); transition: transform .8s var(--ease-io); }
.is-entering-page.page-ready .curtain i:nth-child(1) { transition-delay: .05s; }
.is-entering-page.page-ready .curtain i:nth-child(2) { transition-delay: .18s; }

/* ───────── Héroe ───────── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,20,32,.96) 0%, rgba(11,20,32,.82) 38%, rgba(11,20,32,.2) 75%),
  linear-gradient(0deg, var(--navy-1) 0%, transparent 35%),
  linear-gradient(180deg, rgba(11,20,32,.7) 0%, transparent 25%); }
.hero__glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -10vw; top: 5vh; background: radial-gradient(circle, rgba(201,169,110,.16), transparent 60%); filter: blur(10px); pointer-events: none; }
.hero h1 { max-width: 11.5ch; }
.hero__sub { margin-top: 28px; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.fact { padding: 22px 32px 0 0; margin-right: 32px; min-width: 150px; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; color: var(--gold-2); white-space: nowrap; }
.fact > span { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) {
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; }
  .fact { margin: 0; padding: 18px 12px 0 0; min-width: 0; }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:last-child { grid-column: 1 / -1; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--ivory); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.page-hero { padding: calc(var(--header-h) + clamp(72px, 12vw, 160px)) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 96px); max-width: 14ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero__index { position: absolute; right: var(--gut); top: calc(var(--header-h) + 40px); font-family: var(--serif); font-size: clamp(120px, 22vw, 340px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(201,169,110,.18); pointer-events: none; user-select: none; }

/* ───────── Frase que se ilumina con el scroll ───────── */
.statement { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 62px); line-height: 1.18; max-width: 22ch; margin: 0; }
.statement .sw { opacity: .14; transition: opacity .25s; }
.statement .sw.on { opacity: 1; }
.statement .sw.hl { color: var(--gold-2); }

/* ───────── Fricciones: carrusel horizontal anclado ───────── */
.friction { position: relative; }
.friction__head { display: grid; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .friction__head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.friction__track { display: grid; gap: 20px; }
@media (min-width: 720px) { .friction__track { grid-template-columns: repeat(2, 1fr); } }
.is-pinnable .friction__viewport { overflow: hidden; }
.is-pinnable .friction__track { display: flex; gap: 28px; width: max-content; padding-right: 10vw; }
.is-pinnable .f-card { width: min(520px, 42vw); }
.f-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(160deg, rgba(19,35,59,.9), rgba(11,20,32,.9)); min-height: 360px; display: flex; flex-direction: column; overflow: hidden;
}
.f-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 80%) var(--my, 0%), rgba(201,169,110,.13), transparent 45%); pointer-events: none; }
.f-card__n { font-family: var(--serif); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: auto; }
.f-card h3 { margin: 40px 0 16px; }
.f-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.f-card .tag { display: inline-flex; margin-top: 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.friction__progress { margin-top: 32px; height: 1px; background: var(--line-2); position: relative; display: none; }
.is-pinnable .friction__progress { display: block; }
.friction__progress i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ───────── Reproductor de vídeo (pausa y ampliar; sin avanzar ni retroceder) ───────── */
.vplayer { position: relative; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); isolation: isolate; user-select: none; -webkit-user-select: none; }
.vplayer--v { aspect-ratio: 9/16; width: 100%; max-width: 420px; }
.vplayer video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vplayer__shield { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.vplayer__big {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(228,200,140,.6); background: rgba(11,20,32,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--gold-2); cursor: pointer; transition: transform .5s var(--ease), opacity .4s;
}
.vplayer__big::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(228,200,140,.25); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.vplayer__big:hover { transform: scale(1.06); }
.vplayer__big svg { width: 26px; height: 26px; margin-left: 4px; }
.vplayer.is-playing .vplayer__big { opacity: 0; pointer-events: none; transform: scale(.8); }
.vplayer__bar {
  position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 999px; background: rgba(7,13,23,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240,237,232,.08); transition: opacity .4s, transform .4s var(--ease);
}
.vplayer.is-playing.is-idle .vplayer__bar { opacity: 0; transform: translateY(8px); }
.vplayer__btn { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; background: transparent; color: var(--ivory); display: grid; place-items: center; cursor: pointer; }
.vplayer__btn:hover { background: rgba(240,237,232,.1); }
.vplayer__btn svg { width: 18px; height: 18px; }
.vplayer__track { flex: 1; height: 2px; background: rgba(240,237,232,.18); border-radius: 2px; position: relative; overflow: hidden; }
.vplayer__track i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.vplayer__time { font: 700 11px/1 var(--sans); letter-spacing: .06em; color: var(--muted); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.vplayer__lock { position: absolute; z-index: 3; top: 12px; left: 12px; font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: rgba(7,13,23,.6); padding: 7px 10px; border-radius: 999px; opacity: 0; transition: opacity .4s; }
.vplayer:hover .vplayer__lock, .vplayer.is-hint .vplayer__lock { opacity: 1; }
.vplayer:fullscreen, .vplayer.is-pseudo-fs { border-radius: 0; border: 0; max-width: none; width: 100%; height: 100%; background: #000; }
.vplayer:fullscreen video, .vplayer.is-pseudo-fs video { object-fit: contain; }
.vplayer.is-pseudo-fs { position: fixed; inset: 0; z-index: 400; aspect-ratio: auto; }
.vplayer.is-ended .vplayer__big { opacity: 1; pointer-events: auto; transform: none; }

/* Vídeo con capítulos sincronizados */
.vstory { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .vstory { grid-template-columns: minmax(280px, 400px) 1fr; } }
.vstory .vplayer { margin-inline: auto; }
.chapters { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: c; border-top: 1px solid var(--line-2); }
.chapters li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--muted-2); transition: color .4s; position: relative; }
.chapters li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }
.chapters li b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: inherit; }
.chapters li span { font-size: 12px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.chapters li.is-done { color: var(--muted); }
.chapters li.is-now { color: var(--ivory); }
.chapters li.is-now b { color: var(--gold-2); }

/* ───────── Cifras del compromiso ───────── */
.figures { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 820px) { .figures { grid-template-columns: 1.4fr 1fr 1fr; } }
.figure { background: var(--navy-1); padding: clamp(32px, 4vw, 56px); position: relative; }
.figure--hero { background: radial-gradient(120% 120% at 0% 0%, rgba(201,169,110,.14), var(--navy-1) 60%); }
.figure__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.figure__value { display: block; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; margin: 22px 0 14px; color: var(--ivory); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.figure--hero .figure__value { color: var(--gold-2); font-size: clamp(44px, 6vw, 88px); }
.figure p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ───────── Método (inicio): lista con imagen que sigue al ratón ───────── */
.phase-list { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.phase-list a { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.phase-list .pn { font: 700 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.phase-list h3 { font-size: clamp(26px, 3.2vw, 48px); transition: transform .6s var(--ease), color .3s; }
.phase-list p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.phase-list .go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-2); transition: background .4s, color .4s, transform .6s var(--ease); }
.phase-list a:hover h3 { transform: translateX(14px); color: var(--gold-2); }
.phase-list a:hover .go { background: var(--gold); color: var(--navy-1); transform: rotate(-45deg); }
.hover-img { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 50; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .4s, transform .5s var(--ease); border: 1px solid var(--line); }
.hover-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .hover-img { display: none; } }

/* ───────── Marquesina de sectores ───────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 56px; }
.marquee__row span::after { content: "✦"; font-size: .45em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Cierre / CTA ───────── */
.closing { text-align: center; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201,169,110,.14), transparent 60%); pointer-events: none; }
.closing h2 { max-width: 18ch; margin-inline: auto; }
.closing .lead { margin: 24px auto 0; }
.closing__figs { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 5vw, 64px); margin: 48px 0 40px; }
.closing__figs div { text-align: center; }
.closing__figs b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 50px); color: var(--gold-2); line-height: 1; }
.closing__figs span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ───────── Método (página): escena Blender ligada al scroll ───────── */
.scrub { position: relative; }
.scrub__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; }
.scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scrub__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy-1) 0%, rgba(11,20,32,.85) 30%, transparent 62%), linear-gradient(0deg, var(--navy-1), transparent 22%), linear-gradient(180deg, var(--navy-1), transparent 22%); }
.scrub__copy { position: relative; z-index: 2; width: var(--wrap); margin: auto; display: grid; }
.scrub__panel { grid-area: 1/1; max-width: 520px; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
.scrub__panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scrub__panel h3 { font-size: clamp(32px, 3.8vw, 56px); margin: 18px 0 22px; }
.scrub__panel ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.scrub__panel li { position: relative; padding-left: 28px; color: var(--muted); }
.scrub__panel li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--gold); }
.result { border-left: 2px solid var(--gold); padding: 14px 18px; background: rgba(201,169,110,.07); border-radius: 0 10px 10px 0; }
.result small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.scrub__rail { position: absolute; z-index: 3; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.scrub__rail span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 700 11px/1 var(--sans); color: var(--muted-2); transition: all .4s; background: rgba(11,20,32,.6); }
.scrub__rail span.is-on { border-color: var(--gold); color: var(--navy-1); background: var(--gold); }
.scrub__rail span.is-done { color: var(--gold); border-color: var(--gold); }
.scrub__progress { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 28px; height: 1px; background: var(--line-2); }
.scrub__progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.scrub--static .scrub__stage { position: relative; height: auto; }
.scrub--static .scrub__canvas, .scrub--static .scrub__rail, .scrub--static .scrub__progress { display: none; }
.scrub--static .scrub__stage::after { display: none; }
.scrub--static .scrub__copy { gap: 64px; padding-block: 40px; }
.scrub--static .scrub__panel { grid-area: auto; opacity: 1; transform: none; }
@media (max-width: 760px) {
  .scrub__stage::after { background: linear-gradient(0deg, var(--navy-1) 30%, rgba(11,20,32,.6) 60%, transparent), linear-gradient(180deg, var(--navy-1), transparent 22%); }
  .scrub__copy { align-self: end; margin-bottom: 70px; }
  .scrub__rail { top: calc(var(--header-h) + 20px); transform: none; display: flex; }
  .scrub__rail span { width: 32px; height: 32px; }
}

/* Bloques de dos columnas genéricos */
.split-2 { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split-2 { grid-template-columns: 1fr 1fr; } .split-2--wide { grid-template-columns: 1.15fr .85fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, rgba(19,35,59,.75), rgba(11,20,32,.75)); }

/* ───────── Garantía: calculadora ───────── */
.calc { display: grid; gap: 28px; }
@media (min-width: 980px) { .calc { grid-template-columns: 1fr 1fr; gap: 40px; } }
.calc__ctl label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc__out { font-family: var(--serif); font-size: clamp(44px, 5vw, 76px); line-height: 1; margin: 18px 0 26px; color: var(--ivory); font-variant-numeric: tabular-nums lining-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 40%), rgba(240,237,232,.15) var(--p, 40%)); }
.range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(240,237,232,.15); }
.range::-moz-range-progress { height: 3px; background: var(--gold); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px; border-radius: 50%; background: var(--gold-2); border: 5px solid var(--navy-1); box-shadow: 0 0 0 1px var(--gold), 0 6px 20px rgba(201,169,110,.45); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-2); border: 5px solid var(--navy-1); box-shadow: 0 0 0 1px var(--gold); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { border: 1px solid var(--line); background: rgba(15,27,45,.6); color: var(--muted); border-radius: 999px; padding: 9px 16px; font-size: 13px; cursor: pointer; transition: all .3s; }
.chip:hover { color: var(--ivory); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--navy-1); border-color: var(--gold); }
.calc__viz { display: grid; gap: 16px; }
.stack { display: grid; grid-template-columns: 1fr; gap: 10px; }
.stack__bar { position: relative; height: 64px; border-radius: 12px; background: rgba(240,237,232,.05); overflow: hidden; border: 1px solid var(--line-2); }
.stack__bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 12px; transition: width .7s var(--ease), left .7s var(--ease); }
.stack__bar .gen { background: linear-gradient(90deg, #6f86a8, #9fb3cf); }
.stack__bar .comp { background: repeating-linear-gradient(135deg, var(--gold) 0 10px, var(--gold-2) 10px 20px); }
.stack__bar .line100 { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--ivory); opacity: .7; }
.stack__legend { display: grid; gap: 12px; }
.stack__legend div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.stack__legend dt { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.stack__legend dt::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.stack__legend dd { margin: 0; font-family: var(--serif); font-size: 24px; font-variant-numeric: tabular-nums; }
.stack__legend .total dd { color: var(--gold-2); font-size: 30px; }
.calc__msg { font-size: 15px; color: var(--muted); min-height: 3em; }

/* Curva que se dibuja con el scroll */
.curve { width: 100%; height: auto; overflow: visible; }
.curve .grid line { stroke: var(--line-2); }
.curve .path { fill: none; stroke: url(#g-oro); stroke-width: 2.5; stroke-linecap: round; }
.curve .area { fill: url(#g-area); opacity: 0; transition: opacity 1s; }
.curve.is-drawn .area { opacity: 1; }
.curve .goal { stroke: var(--gold-2); stroke-dasharray: 6 8; opacity: .7; }
.curve text { fill: var(--muted); font: 700 11px var(--sans); letter-spacing: .12em; }
.curve .dot { fill: var(--gold-2); }

/* Tabla de condiciones */
.terms { display: grid; border-top: 1px solid var(--line); }
.terms div { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.terms dt { color: var(--muted); }
.terms dd { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); text-align: right; }

/* ───────── Acceso: línea de tiempo ───────── */
.timeline { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); padding-left: 64px; margin-top: clamp(40px, 6vw, 80px); }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__fill { position: absolute; left: 21px; top: 8px; width: 1px; height: calc(100% - 16px); background: linear-gradient(var(--gold-2), var(--gold)); transform-origin: top; transform: scaleY(var(--t, 0)); }
.step { position: relative; }
.step__dot { position: absolute; left: -64px; top: 0; width: 43px; height: 43px; border-radius: 50%; border: 1px solid var(--line); background: var(--navy-1); display: grid; place-items: center; font: 700 12px/1 var(--sans); color: var(--muted); transition: all .5s; }
.step.is-on .step__dot { background: var(--gold); color: var(--navy-1); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(201,169,110,.12); }
.step h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 14px; }
.step p { color: var(--muted); max-width: 70ch; }
.step .pill { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.checks svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.checks.is-in svg path { stroke-dashoffset: 0; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors span { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; color: var(--ivory); background: rgba(15,27,45,.6); transition: border-color .3s, background .3s; }
.sectors span:hover { border-color: var(--gold); background: rgba(201,169,110,.1); }
.notice { border: 1px solid rgba(231,154,143,.3); background: rgba(231,154,143,.06); border-radius: 14px; padding: 18px 22px; color: #e9c9c3; font-size: 15px; }

/* ───────── FAQ ───────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 44px; gap: 20px; align-items: center; padding: 26px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--gold-2); transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--gold); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--navy-1); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:hover { color: var(--gold-2); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); max-width: 72ch; padding: 0 0 28px; margin: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* ───────── Formulario por pasos ───────── */
.apply { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1000px) { .apply { grid-template-columns: .8fr 1.2fr; align-items: start; } .apply__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(170deg, rgba(19,35,59,.85), rgba(11,20,32,.92)); padding: clamp(22px, 3.4vw, 48px); position: relative; overflow: hidden; }
.form__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 30px; }
.form__progress li { list-style: none; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.form__progress li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: rgba(240,237,232,.1); margin-bottom: 10px; transition: background .5s; }
.form__progress li.is-done::before, .form__progress li.is-now::before { background: var(--gold); }
.form__progress li.is-now { color: var(--ivory); }
.form__progress ol { display: contents; }
@media (max-width: 520px) { .form__progress li span { display: none; } }
.fstep { display: none; animation: fin .6s var(--ease); }
.fstep.is-now { display: grid; gap: 22px; }
@keyframes fin { from { opacity: 0; transform: translateX(24px); } }
.fstep h3 { font-size: clamp(24px, 2.4vw, 34px); }
.fstep > p { color: var(--muted); margin: -10px 0 0; }
.field { display: grid; gap: 8px; }
.field > label, .field > .lbl { font-size: 13.5px; color: var(--ivory); font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted-2); }
.input { width: 100%; min-height: 54px; border-radius: 12px; border: 1px solid rgba(240,237,232,.14); background: rgba(7,13,23,.55); padding: 14px 16px; color: var(--ivory); transition: border-color .3s, box-shadow .3s; }
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,110,.14); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select.input option { background: var(--navy-2); }
textarea.input { min-height: 110px; resize: vertical; }
.field.is-bad .input { border-color: var(--err); }
.field.is-ok .input { border-color: rgba(143,201,163,.55); }
.field .err { color: var(--err); font-size: 13px; min-height: 0; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: grid; gap: 4px; padding: 16px; border-radius: 12px; border: 1px solid rgba(240,237,232,.14); background: rgba(7,13,23,.45); transition: all .3s; min-height: 100%; }
.option span b { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.option span small { color: var(--muted); font-size: 12.5px; }
.option input:hover + span { border-color: rgba(228,200,140,.5); }
.option input:checked + span { border-color: var(--gold); background: rgba(201,169,110,.12); box-shadow: inset 0 0 0 1px var(--gold); }
.option input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.fit { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.fit[hidden] { display: none; }
.fit--warn { background: rgba(231,154,143,.08); border: 1px solid rgba(231,154,143,.3); color: #ecccc6; }
.fit--ok { background: rgba(143,201,163,.08); border: 1px solid rgba(143,201,163,.3); color: #cfe9d7; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); align-items: start; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); margin-top: 2px; }
.summary { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.summary div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; }
@media (max-width: 520px) { .summary div { grid-template-columns: 1fr; gap: 2px; } }
.form__done { text-align: center; padding: 30px 0; display: none; }
.form.is-done .form__done { display: block; animation: fin .8s var(--ease); }
.form.is-done .fstep, .form.is-done .form__progress { display: none !important; }
.seal { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-2); position: relative; }
.seal svg { width: 40px; height: 40px; }
.seal svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 1s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-steps { list-style: none; padding: 0; margin: 30px auto 0; display: grid; gap: 12px; max-width: 460px; text-align: left; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--muted); font-size: 14.5px; }
.next-steps li::before { content: counter(n, decimal-leading-zero); font: 700 12px/1.8 var(--sans); color: var(--gold); }
.demo-note { font-size: 12.5px; color: var(--muted-2); border: 1px dashed rgba(240,237,232,.18); border-radius: 10px; padding: 10px 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ───────── Asistente (demo, a la derecha) ───────── */
.assist-fab {
  position: fixed; right: max(16px, var(--gut)); bottom: 22px; z-index: 150; display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(228,200,140,.4); cursor: pointer;
  background: rgba(9,16,27,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ivory);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.8); transition: transform .5s var(--ease), opacity .4s;
  font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.assist-fab:hover { transform: translateY(-3px); }
.assist-fab__av { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #f3dcaa, var(--gold) 60%, #8f6e3b); display: grid; place-items: center; position: relative; }
.assist-fab__av img { width: 22px; height: 22px; }
.assist-fab__av::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #6ed29a; border: 2px solid var(--navy-1); }
.assist-open .assist-fab { opacity: 0; pointer-events: none; transform: scale(.9); }
.assist-hint { position: fixed; right: max(16px, var(--gut)); bottom: 88px; z-index: 149; max-width: 280px; padding: 14px 16px; border-radius: 14px 14px 4px 14px; background: var(--ivory); color: var(--navy-1); font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.assist-hint.is-on { opacity: 1; transform: none; pointer-events: auto; }
.assist-hint button { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--navy-3); cursor: pointer; font-size: 16px; }
.assist {
  position: fixed; z-index: 160; right: max(12px, var(--gut)); bottom: 16px; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100svh - 32px));
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid rgba(228,200,140,.3);
  background: rgba(9,16,27,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9);
  transform-origin: bottom right; transform: scale(.6) translateY(40px); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s;
}
.assist-open .assist { transform: none; opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .4s; }
.assist__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.assist__head .assist-fab__av { width: 42px; height: 42px; flex: none; }
.assist__head b { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; }
.assist__head small { color: var(--muted); font-size: 12px; }
.assist__x { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ivory); cursor: pointer; font-size: 18px; }
.assist__demo { font-size: 11.5px; color: var(--muted-2); padding: 8px 16px; background: rgba(201,169,110,.06); border-bottom: 1px solid var(--line-2); }
.assist__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: grid; gap: 12px; align-content: start; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: msg .45s var(--ease); }
@keyframes msg { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { background: var(--navy-3); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.msg--me { justify-self: end; background: linear-gradient(135deg, #ecd39c, var(--gold)); color: var(--navy-1); border-bottom-right-radius: 4px; }
.msg a { color: var(--gold-2); }
.msg .ast { font-size: .8em; }
.msg small { display: block; color: var(--muted-2); font-size: 12px; margin-top: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.assist__chips { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.assist__chips .chip { white-space: nowrap; font-size: 12.5px; padding: 8px 12px; }
.assist__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.assist__form input { flex: 1; min-height: 46px; border-radius: 999px; border: 1px solid rgba(240,237,232,.14); background: rgba(7,13,23,.6); padding: 0 16px; color: var(--ivory); }
.assist__form input:focus { outline: none; border-color: var(--gold); }
.assist__form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-1); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 520px) {
  .assist { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; }
  .assist-fab { padding: 6px; } .assist-fab__txt { display: none; }
}

/* ───────── Pie ───────── */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0 36px; background: var(--navy-0); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { font: 700 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; transition: color .3s; }
.footer-grid a:hover { color: var(--ivory); }
.footer-grid a.btn { color: var(--navy-1); }
.footer-big { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 20px 0 0; max-width: 16ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted-2); }
.footer-bottom p { margin: 0; }

/* Movimiento reducido: todo visible y quieto */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
  .statement .sw { opacity: 1; }
  .marquee__row { animation: none; flex-wrap: wrap; width: auto; }
}
.fstep h3:focus, .form__done h3:focus { outline: none; }
/* Con el menú abierto la cabecera queda por encima (logo y botón de cerrar visibles) */
.menu-open .site-header { z-index: 115; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .nav-inline, .menu-open .header-cta { opacity: 0; pointer-events: none; }
.nav-inline, .header-cta { transition: opacity .4s; }
/* Pantalla completa simulada (iPhone y navegadores sin API): por encima de todo y a todo el ancho */
.vplayer.is-pseudo-fs { max-width: none !important; width: 100vw !important; height: 100svh !important; transform: none !important; opacity: 1 !important; }
.has-pseudo-fs main { z-index: 500; }
.has-pseudo-fs .assist-fab, .has-pseudo-fs .assist-hint { display: none; }
