/* Gianfranco Bringas · Escudia — estilo despacho: azul noche, marfil y latón */

:root {
  --navy: #0b1424;
  --navy-2: #111d33;
  --navy-3: #1a2945;
  --paper: #f6f2ea;
  --paper-2: #ece5d7;
  --card: #fffdf8;
  --ink: #121a2a;
  --ink-soft: #4a5263;
  --gold: #b8955a;
  --gold-light: #d8bd86;
  --gold-dark: #8e6f3c;
  --wine: #8c2f39;
  --on-dark: #f3eee4;
  --on-dark-soft: #a9b2c4;
  --line-dark: rgba(216, 189, 134, .18);
  --line-light: #d8cdb8;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --nav-h: 76px;
  --radius: 2px;
  --shadow: 0 24px 60px -30px rgba(11, 20, 36, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--ink); font-family: var(--sans); font-variant-numeric: lining-nums; font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold-dark); }
p + p { margin-top: 1rem; }
strong, b { font-weight: 600; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
a, button, summary { touch-action: manipulation; }

.visually-hidden { 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-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--gold); color: var(--navy); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.paper { background: var(--paper); }
.paper-alt { background: var(--paper-2); }
.navy, .navy-deep { background: var(--navy-2); color: var(--on-dark); }
.navy-deep { background: var(--navy); }
.navy h2 em, .navy-deep h2 em { color: var(--gold-light); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.navy .eyebrow, .navy-deep .eyebrow, .site-footer .eyebrow { color: var(--gold-light); }
.lead { font-size: 1.12rem; line-height: 1.7; color: var(--ink-soft); max-width: 680px; }
.navy .lead, .navy-deep .lead, .hero .lead { color: var(--on-dark-soft); }
.note { font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }
.navy .note, .navy-deep .note { color: var(--on-dark-soft); }

.section-head { margin-bottom: 56px; }
.section-head h2 { margin-bottom: 22px; }
.section-head-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; border: 1px solid transparent; border-radius: var(--radius); transition: background .2s, color .2s, transform .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .2s; }
.text-link:hover { color: var(--gold-dark); }
.navy .text-link:hover, .navy-deep .text-link:hover { color: var(--gold-light); }

/* ---------- Nav ---------- */
.nav-shell { position: sticky; top: 0; z-index: 40; width: 100%; margin-inline: auto; height: var(--nav-h); margin-bottom: calc(-1 * var(--nav-h)); background: rgba(11, 20, 36, 0); border: 1px solid transparent; border-radius: 0; color: var(--on-dark); transition: top .35s ease, width .35s ease, border-radius .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.nav { display: flex; align-items: center; gap: 28px; height: 100%; transition: width .35s ease; }
/* Al hacer scroll la barra se despega: margen, esquinas redondeadas y cristal */
.nav-shell.is-scrolled { top: 12px; width: min(1240px, calc(100% - 32px)); border-color: var(--line-dark); border-radius: 14px; background: rgba(11, 20, 36, .78); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.nav-shell.is-scrolled .nav { width: calc(100% - 48px); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--gold-light); letter-spacing: .04em; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1; }
.brand-name small { display: block; margin-top: 5px; font-family: var(--sans); font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-soft); }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-size: .88rem; color: var(--on-dark-soft); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { padding: 10px 20px; border: 1px solid var(--gold); color: var(--gold-light); font-size: .86rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* ---------- Hero (split: texto | vídeo a sangre) ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--navy); color: var(--on-dark); overflow: hidden; }
.hero-text { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; padding: calc(var(--nav-h) + 32px) clamp(32px, 4.5vw, 72px) 56px 48px; background:
  radial-gradient(120% 80% at 0% 0%, rgba(184, 149, 90, .10), transparent 55%),
  linear-gradient(180deg, var(--navy) 0%, #0d182b 100%); }
.hero-text::after { content: ''; position: absolute; inset: 28px auto 28px 24px; width: 1px; background: linear-gradient(transparent, var(--line-dark), transparent); }
.hero-inner { width: 100%; max-width: 560px; }
.hero h1 { font-size: clamp(2.5rem, 4.1vw, 4.1rem); line-height: 1.04; margin-bottom: 18px; }
.hero .lead { font-size: 1.04rem; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.hero-offer { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-soft); line-height: 1.5; }
.hero-offer strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--on-dark); white-space: nowrap; line-height: 1; }
.hero-offer strong span { font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--on-dark-soft); }
.hero-offer small { font-size: .78rem; opacity: .85; }

/* Frases de psicología del engaño: aparecen palabra a palabra bajo el titular */
.tactics { margin: -8px 0 26px; }
.tactics-stage { display: grid; font-family: var(--serif); font-size: clamp(1.7rem, 2.7vw, 2.6rem); font-style: italic; font-weight: 500; line-height: 1.15; color: var(--gold-light); }
.tactic { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; }
.tactic.is-active { opacity: 1; }
.tactic .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .55s ease, transform .55s ease, filter .55s ease; transition-delay: calc(var(--w) * 90ms); }
.tactic.is-active .w { opacity: 1; transform: none; filter: none; }

/* Mitad derecha: vídeo como fondo */
.hero-media { --stats-h: 0px; position: relative; min-height: 100%; background: #050a14 url('assets/hero-poster.jpg') center 30% / cover no-repeat; isolation: isolate; }
.hero-media video { position: absolute; inset: 0 0 var(--stats-h) 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 20%; z-index: -2; }
.hero-media-shade { position: absolute; inset: 0 0 var(--stats-h) 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, var(--navy) 0%, rgba(11, 20, 36, .55) 12%, rgba(11, 20, 36, 0) 30%),
  linear-gradient(0deg, rgba(5, 10, 20, .35) 0%, rgba(5, 10, 20, 0) 22%),
  linear-gradient(180deg, rgba(5, 10, 20, .75) 0%, rgba(5, 10, 20, .35) 20%, rgba(5, 10, 20, 0) 34%); }
.hero-seal { position: absolute; bottom: calc(var(--stats-h) + 28px); right: 24px; display: grid; place-items: center; align-content: center; width: 78px; height: 78px; border: 1px solid rgba(216, 189, 134, .6); border-radius: 50%; text-align: center; background: rgba(11, 20, 36, .35); backdrop-filter: blur(6px); }
.hero-seal::before { content: ''; position: absolute; inset: 4px; border: 1px dashed rgba(216, 189, 134, .35); border-radius: 50%; }
.hero-seal span { font-family: var(--serif); font-size: .88rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.hero-seal small { font-size: .42rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); line-height: 1.4; margin-top: 2px; }
.hero-sound { position: absolute; bottom: calc(var(--stats-h) + 44px); left: clamp(64px, 9%, 110px); display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(243, 238, 228, .28); background: rgba(11, 20, 36, .45); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 500; letter-spacing: .04em; transition: border-color .2s, background .2s; }
.hero-sound { animation: heartbeat 2.6s ease-in-out infinite; }
.hero-sound-hint { position: absolute; left: calc(100% + 12px); top: 50%; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(-50%); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); animation: sound-hint 10s ease-in-out 2s infinite; }
.hero-sound:hover .hero-sound-hint, .hero-sound:focus-visible .hero-sound-hint { animation: none; opacity: .85; }
.hero-sound.was-used .hero-sound-hint { display: none; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(216, 189, 134, 0); } 10% { transform: scale(1.06); box-shadow: 0 0 14px 2px rgba(216, 189, 134, .25); } 20% { transform: scale(1); } 28% { transform: scale(1.04); box-shadow: 0 0 10px 1px rgba(216, 189, 134, .18); } }
@keyframes sound-hint { 0%, 100% { opacity: 0; } 8%, 30% { opacity: .8; } 40% { opacity: 0; } }
.hero-sound:hover { border-color: var(--gold-light); animation-play-state: paused; }
.hero-sound-icon { transition: transform .25s; }
.hero-sound:hover .hero-sound-icon { transform: scale(1.08); }
.hero-sound-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1rem; }
.hero-badge { position: absolute; left: clamp(64px, 9%, 110px); right: 28px; top: calc(var(--nav-h) + 26px); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1; }
.hero-badge span { display: block; margin-top: 8px; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Método Escudia: recorrido animado con scroll ---------- */
.method { position: relative; height: 760vh; background: radial-gradient(80% 60% at 50% 100%, rgba(184, 149, 90, .08), transparent 70%), #08101d; color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.method-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--nav-h) + 22px); padding-bottom: 28px; overflow: hidden; }
.method-hud { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.method-hud-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.method-hud h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.method-phase { padding: 5px 12px; border: 1px solid rgba(216, 189, 134, .45); border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); transition: color .3s; }
.method-rail { display: flex; gap: 6px; }
.method-rail li { width: 26px; height: 3px; border-radius: 2px; background: rgba(243, 238, 228, .14); transition: background .4s, width .4s; }
.method-rail li.is-done { background: rgba(216, 189, 134, .55); }
.method-rail li.is-active { width: 44px; background: var(--gold-light); }
.method-canvas { position: relative; min-height: 0; display: grid; place-items: center; }
.method-canvas svg { width: 100%; height: 100%; max-height: 62svh; overflow: visible; }
.method-captions { position: relative; display: grid; min-height: 150px; }
.method-caption { grid-area: 1 / 1; align-self: end; max-width: 640px; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.method-caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.method-caption h3 { margin-bottom: 8px; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.08; }
.method-caption h3 em { color: var(--gold-light); }
.method-caption p { max-width: 560px; font-size: 1rem; color: var(--on-dark-soft); }
.method-caption .btn { margin-top: 18px; }
.method-scroll-hint { position: absolute; right: 24px; bottom: 26px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); transition: opacity .4s; }
.method-scroll-hint span { display: inline-block; animation: hint-bob 1.6s ease-in-out infinite; }
@keyframes hint-bob { 50% { transform: translateY(4px); } }
.method:not([data-scene="0"]) .method-scroll-hint { opacity: 0; }

/* Elementos del dibujo */
#method-svg text { font-family: var(--sans); }
.m-ground { stroke: rgba(243, 238, 228, .14); stroke-width: 1; }
#m-person polyline, #m-person line { fill: none; stroke: var(--on-dark); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
#m-person .m-head { fill: var(--on-dark); }
#m-leg-b, #m-arm-b { opacity: .45; }
.m-shadow { fill: rgba(0, 0, 0, .45); }
.m-chart { fill: none; stroke: var(--wine); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(140, 47, 57, .6)); }
.m-coin circle { fill: none; stroke: rgba(216, 189, 134, .7); stroke-width: 2; }
.m-coin text { fill: rgba(216, 189, 134, .8); font-size: 14px; font-weight: 700; text-anchor: middle; }
.m-bubble rect { fill: rgba(140, 47, 57, .16); stroke: rgba(227, 162, 168, .55); stroke-width: 1; }
.m-bubble text { fill: #f1d6d9; font-size: 17px; font-style: italic; text-anchor: middle; }
.m-strike { stroke: #e3a2a8; stroke-width: 2.5; stroke-linecap: round; }
.m-arch { fill: none; stroke: var(--gold-light); stroke-width: 3; }
.m-door-label { fill: var(--gold-light); font-size: 22px; font-weight: 600; letter-spacing: .5em; text-anchor: middle; }
.m-core-ring { fill: none; stroke: var(--gold); stroke-width: 2; }
.m-core-kicker { fill: var(--on-dark-soft); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-anchor: middle; }
.m-core-label { fill: var(--gold-light); font-size: 24px !important; font-weight: 700; letter-spacing: .12em; text-anchor: middle; font-family: var(--serif) !important; }
.m-orbit { fill: none; stroke: rgba(216, 189, 134, .18); stroke-width: 1; stroke-dasharray: 4 6; }
.m-risk-line { stroke: rgba(216, 189, 134, .35); stroke-width: 1; }
.m-risk rect { fill: #0f1a2e; stroke: rgba(216, 189, 134, .55); stroke-width: 1; }
.m-risk text { fill: var(--on-dark); font-size: 14px; font-weight: 500; text-anchor: middle; }
.m-counter text { fill: var(--on-dark); font-family: var(--serif) !important; font-weight: 600; }
.m-counter-a { font-size: 54px; fill: var(--on-dark-soft) !important; }
.m-counter-arrow { font-size: 30px; fill: var(--gold) !important; }
.m-counter-b { font-size: 54px; fill: var(--gold-light) !important; }
.m-counter-cap { font-family: var(--sans) !important; font-size: 13px; font-weight: 500 !important; letter-spacing: .12em; fill: var(--on-dark-soft) !important; text-transform: uppercase; }
.m-doc-sheet { fill: var(--paper); }
.m-doc-title { fill: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.m-doc-line { stroke: #cfc6b4; stroke-width: 2; }
.m-traffic rect { fill: #ddd4c2; }
.tl-red { fill: #b23a46; } .tl-amber { fill: #c99a3b; } .tl-green { fill: #2e8a5a; }
.m-seal circle { fill: rgba(140, 47, 57, .08); stroke: var(--wine); stroke-width: 2.5; }
.m-seal .m-seal-inner { fill: none; stroke-width: 1; stroke-dasharray: 3 3; }
.m-seal text { fill: var(--wine); font-family: var(--serif) !important; font-size: 20px; font-weight: 700; text-anchor: middle; }
.m-clock-track { fill: none; stroke: rgba(216, 189, 134, .18); stroke-width: 5; }
.m-clock-fill { fill: none; stroke: var(--gold-light); stroke-width: 5; stroke-linecap: round; }
.m-clock text { fill: var(--on-dark); font-family: var(--serif) !important; font-size: 24px; font-weight: 600; text-anchor: middle; }
.m-talk rect { fill: var(--gold-light); transform-box: fill-box; transform-origin: center; }
.method[data-scene="6"] .m-talk rect { animation: m-talk 0.9s ease-in-out infinite; }
.method[data-scene="6"] .m-talk rect:nth-child(2n) { animation-delay: -.3s; }
.method[data-scene="6"] .m-talk rect:nth-child(3n) { animation-delay: -.55s; }
@keyframes m-talk { 50% { transform: scaleY(.35); } }
.m-session-cap { fill: var(--on-dark-soft); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; }

#m-advisor polyline, #m-advisor line { fill: none; stroke: var(--gold-light); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
#m-advisor .m-head { fill: var(--gold-light); }
#m-adv-leg-b, #m-adv-arm-b { opacity: .45; }
.m-advisor-tag rect { fill: #0f1a2e; stroke: var(--gold); stroke-width: 1; }
.m-advisor-tag text { fill: var(--gold-light); font-family: var(--serif) !important; font-size: 14px; font-weight: 700; text-anchor: middle; }
.m-door-label { opacity: .9; }

/* ---------- Comparador de versiones del método ---------- */
.method[data-variant="three"], .method[data-variant="city"], .method[data-variant="anime"] { height: auto; }
.method[data-variant="three"] .method-stage, .method[data-variant="city"] .method-stage, .method[data-variant="anime"] .method-stage { display: none; }
.method-alt { position: relative; height: 100svh; min-height: 560px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(var(--nav-h) + 22px) 0 56px; }
.method-alt .method-rail li { position: relative; }
.method-alt .method-rail button { position: absolute; inset: -12px 0; width: 100%; cursor: pointer; }
.method-alt-stage { position: relative; min-height: 0; margin-block: 14px; overflow: hidden; }
.method-alt-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.method-alt-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.method-alt-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.method-alt .method-captions { flex: 1; min-height: 120px; }
.method-controls { display: flex; gap: 10px; flex: none; }
.method-ctl { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(243, 238, 228, .3); border-radius: 50%; color: var(--on-dark); font-size: .8rem; transition: border-color .2s, background .2s, color .2s; }
.method-ctl:hover { border-color: var(--gold-light); background: var(--gold); color: var(--navy); }
.method-alt-counter { position: absolute; left: 4%; top: 6%; z-index: 2; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--on-dark-soft); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
.method-alt-counter b { font-weight: 600; }
.method-alt-counter b:last-of-type { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.method-alt-counter small { display: block; margin-top: 8px; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.method-alt-counter.is-visible { opacity: 1; transform: none; }
/* Escena a sangre: el lienzo ocupa toda la sección y la cabecera y los textos van encima, sin bandas vacías. */
.method-alt > .method-alt-stage { position: absolute; inset: 0; z-index: 0; margin: 0; }
.method-alt::before, .method-alt::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.method-alt::before { top: 0; height: calc(var(--nav-h) + 150px); background: linear-gradient(to bottom, rgba(10, 18, 32, .92), rgba(10, 18, 32, .55) 55%, transparent); }
.method-alt::after { bottom: 0; height: 46%; background: linear-gradient(to top, rgba(10, 18, 32, .96), rgba(10, 18, 32, .7) 45%, transparent); }
.method-alt > .method-hud, .method-alt > .method-alt-bottom { position: relative; z-index: 2; }
.method-alt .method-alt-counter { top: calc(var(--nav-h) + 96px); }


/* Storyboard (anime.js) */
.a-track { position: absolute; top: 50%; left: 0; display: flex; align-items: center; gap: 28px; translate: 0 -50%; will-change: transform; }
.a-frame { flex: none; width: min(60vw, 780px); margin: 0; padding: 16px 18px 8px; border: 1px solid var(--line-dark); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); opacity: .35; transform: scale(.86); }
.a-frame figcaption { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.a-frame figcaption span { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0; color: var(--on-dark-soft); }
.a-frame svg { display: block; width: 100%; height: auto; max-height: 52svh; overflow: visible; }
.a-frame svg g, .a-frame svg rect, .a-frame svg circle, .a-frame svg text { transform-box: fill-box; transform-origin: center; }
.a-frame svg text { font-family: var(--sans); }
.a-ground { stroke: rgba(243, 238, 228, .14); }
.fig-move polyline, .fig-move line { fill: none; stroke: var(--on-dark); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fig-move .a-head { fill: var(--on-dark); }
.fig-move .a-back { opacity: .45; }
.fig-advisor polyline, .fig-advisor line { stroke: var(--gold-light); }
.fig-advisor .a-head { fill: var(--gold-light); }
.fig-move .a-shadow { fill: rgba(0, 0, 0, .45); stroke: none; }
.a-tag rect { fill: #0f1a2e; stroke: var(--gold); }
.a-tag text { fill: var(--gold-light); font-family: var(--serif); font-size: 11px; font-weight: 700; text-anchor: middle; }
.a-chart { fill: none; stroke: var(--wine); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a-coin circle { fill: none; stroke: rgba(216, 189, 134, .75); stroke-width: 1.5; }
.a-coin text { fill: rgba(216, 189, 134, .85); font-size: 10px; font-weight: 700; text-anchor: middle; }
.a-bubble rect { fill: rgba(140, 47, 57, .18); stroke: rgba(227, 162, 168, .55); }
.a-bubble text { fill: #f1d6d9; font-size: 12px; font-style: italic; text-anchor: middle; }
.a-strike { stroke: #e3a2a8; stroke-width: 2; stroke-linecap: round; }
.a-arch { fill: none; stroke: var(--gold-light); stroke-width: 2.5; }
.a-door-label { fill: var(--gold-light); font-size: 15px; font-weight: 600; letter-spacing: .5em; text-anchor: middle; }
.a-ring, .a-ring-static { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.a-kicker { fill: var(--on-dark-soft); font-size: 9px; font-weight: 600; letter-spacing: .3em; text-anchor: middle; }
.a-core { fill: var(--gold-light); font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .12em; text-anchor: middle; }
.a-risk-line { stroke: rgba(216, 189, 134, .35); stroke-width: 1; }
.a-risk rect { fill: #0f1a2e; stroke: rgba(216, 189, 134, .55); }
.a-risk text { fill: var(--on-dark); font-size: 8.5px; font-weight: 500; text-anchor: middle; }
.a-counter { fill: var(--on-dark-soft); font-family: var(--serif); font-size: 30px; font-weight: 600; }
.a-count { fill: var(--gold-light); }
.a-sheet { fill: var(--paper); }
.a-doc-title { fill: var(--navy); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.a-row { fill: #ddd4c2; }
.a-frame svg .a-row { transform-origin: left center; }
.a-seal circle { fill: rgba(140, 47, 57, .08); stroke: var(--wine); stroke-width: 2; }
.a-seal text { fill: var(--wine); font-family: var(--serif); font-size: 13px; font-weight: 700; text-anchor: middle; }
.a-clock-track { fill: none; stroke: rgba(216, 189, 134, .2); stroke-width: 4; }
.a-clock { fill: none; stroke: var(--gold-light); stroke-width: 4; stroke-linecap: round; }
.a-clock-text { fill: var(--on-dark); font-family: var(--serif); font-size: 16px; font-weight: 600; text-anchor: middle; }
.a-talk rect { fill: var(--gold-light); }
.a-session { fill: var(--on-dark-soft); font-size: 9px; letter-spacing: .12em; text-anchor: middle; }
.a-certainty { fill: var(--gold-light); font-family: var(--serif); font-size: 34px; font-style: italic; font-weight: 600; }

/* Versión estática (movimiento reducido o sin GSAP) */
.method.is-static { height: auto; }
.method.is-static .method-stage { position: relative; height: auto; padding-block: 96px 64px; }
.method.is-static #m-loss, .method.is-static #m-promises, .method.is-static #m-door, .method.is-static #m-report, .method.is-static #m-session, .method.is-static #m-advisor, .method.is-static .method-scroll-hint { display: none; }
.method.is-static .method-canvas svg { max-height: 460px; }
.method.is-static .method-captions { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 24px; }
.method.is-static .method-caption { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Credentials band ---------- */
.credentials { position: relative; background: var(--navy-2); color: var(--on-dark); }
.credentials::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent); }
.cred-claim { padding-top: 40px; text-align: center; }
.cred-claim strong { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.2; color: var(--on-dark); }
.cred-claim strong em { color: var(--gold-light); }
.cred-claim span { display: block; margin-top: 8px; font-size: .95rem; color: var(--on-dark-soft); }
.cred-grid { display: grid; grid-template-columns: repeat(6, 1fr); padding-block: 34px 20px; }
.cred-grid li { padding: 4px 18px; border-left: 1px solid var(--line-dark); }
.cred-grid li:first-child { padding-left: 0; border-left: 0; }
.cred-grid strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.15; color: var(--on-dark); }
.cred-grid .is-stat strong { font-size: clamp(1.6rem, 2.2vw, 2.1rem); color: var(--gold-light); font-variant-numeric: lining-nums tabular-nums; }
.cred-grid span { display: block; margin-top: 6px; font-size: .78rem; line-height: 1.45; color: var(--on-dark-soft); }
.credentials-note { padding-bottom: 26px; font-size: .74rem; line-height: 1.6; color: var(--on-dark-soft); opacity: .7; }

/* ---------- Asesoría 1 a 1 (antes «Cómo funciona») ---------- */
.one-to-one { position: relative; background: radial-gradient(70% 60% at 100% 0%, rgba(184, 149, 90, .12), transparent 60%), var(--navy-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.one-to-one .eyebrow { color: var(--gold-light); }
.one-to-one h2 em { color: var(--gold-light); }
.one-to-one .lead { color: var(--on-dark-soft); }
.oto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.oto-copy h2 { margin-bottom: 18px; }
.oto-label { display: block; margin-bottom: 18px; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.oto-seats { display: flex; align-items: center; gap: 20px; margin-top: 34px; padding: 20px 0; border-block: 1px solid var(--line-dark); }
.oto-seat-dots { display: grid; grid-template-columns: repeat(7, 14px); gap: 7px; }
.oto-seat-dots span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(184, 149, 90, .18); }
.oto-seats strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.oto-seats p span { display: block; font-size: .8rem; color: var(--on-dark-soft); }
.oto-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.oto-price { font-size: .86rem; color: var(--on-dark-soft); }
.oto-price strong { font-family: var(--serif); font-size: 1.5rem; color: var(--on-dark); }
.oto-card { position: relative; padding: 34px; background: var(--navy); border: 1px solid var(--line-dark); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); }
.oto-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 64px; height: 64px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.lawyer-monogram { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-light); }
.oto-card-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.oto-card-head strong { display: block; font-size: .98rem; line-height: 1.35; }
.oto-card-head div span { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.45; color: var(--on-dark-soft); }
.oto-flow-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.oto-flow-count { letter-spacing: .1em; color: var(--on-dark-soft); }
.oto-flow-count b { color: var(--on-dark); }
.oto-flow-bar { height: 2px; margin-top: 10px; background: rgba(216, 189, 134, .12); overflow: hidden; }
.oto-flow-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); transform-origin: left; transform: scaleX(var(--flow, .333)); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.oto-steps { counter-reset: oto; margin-top: 4px; }
.oto-step { counter-increment: oto; position: relative; padding-left: 58px; }
.oto-step::before { content: counter(oto, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1; color: rgba(216, 189, 134, .35); transition: color .4s; }
.oto-step::after { content: ''; position: absolute; left: 15px; top: 56px; bottom: -14px; width: 1px; background: linear-gradient(var(--gold-light), var(--gold-light)) top / 100% var(--line, 0%) no-repeat, rgba(216, 189, 134, .14); transition: background-size .9s ease; }
.oto-step:last-child::after { display: none; }
.oto-step.is-active::before, .oto-step.is-done::before { color: var(--gold-light); }
.oto-step.is-done::after, .oto-step.is-active::after { --line: 100%; }
.oto-step.is-active::after { transition-delay: 3.4s; }
.oto-step-btn { display: block; width: 100%; padding: 20px 0; text-align: left; border-bottom: 1px solid rgba(216, 189, 134, .1); }
.oto-step-btn b { display: block; font-size: 1rem; color: var(--on-dark-soft); transition: color .3s; }
.oto-step-btn span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.55; color: var(--on-dark-soft); opacity: .7; transition: opacity .3s; }
.oto-step.is-active .oto-step-btn b, .oto-step-btn:hover b { color: var(--on-dark); }
.oto-step.is-active .oto-step-btn span { opacity: 1; }
.oto-viz-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2, .8, .2, 1); }
.oto-step.is-active .oto-viz-wrap { grid-template-rows: 1fr; }
.oto-viz { position: relative; min-height: 0; overflow: hidden; display: flex; align-items: center; gap: 12px; opacity: 0; transition: opacity .4s; }
.oto-step.is-active .oto-viz { opacity: 1; margin: 14px 0 18px; height: 112px; padding: 16px; border: 1px solid rgba(216, 189, 134, .16); background: linear-gradient(135deg, rgba(216, 189, 134, .07), rgba(216, 189, 134, 0) 70%); }

/* Paso 1: documentos que entran y se escanean */
.viz-docs .doc { position: relative; flex: 1; min-width: 0; height: 78px; padding: 10px; background: var(--paper); border-radius: 2px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(16px) rotate(-3deg); }
.viz-docs .doc small { display: block; margin-bottom: 8px; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz-docs .doc i { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: #cfc6b4; }
.viz-docs .doc i:nth-child(3) { width: 80%; }
.viz-docs .doc i:nth-child(4) { width: 55%; }
.oto-step.is-active .viz-docs .doc { animation: doc-in .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.oto-step.is-active .viz-docs .doc:nth-child(2) { animation-delay: .2s; }
.oto-step.is-active .viz-docs .doc:nth-child(3) { animation-delay: .4s; }
.viz-docs .scan { position: absolute; top: 10px; bottom: 10px; left: 0; width: 40px; background: linear-gradient(90deg, transparent, rgba(216, 189, 134, .55), transparent); opacity: 0; }
.oto-step.is-active .viz-docs .scan { animation: scan 1.6s ease-in-out .9s 2; }
.viz-docs .viz-flag { position: absolute; right: 12px; bottom: 8px; padding: 3px 8px; background: var(--wine); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: scale(.8); }
.oto-step.is-active .viz-docs .viz-flag { animation: pop .4s ease 3.3s forwards; }
@keyframes doc-in { to { opacity: 1; transform: none; } }
@keyframes scan { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 40px); opacity: 0; } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Paso 2: el informe se escribe y el reloj de 72 h avanza */
.viz-report .pdf { flex: 1; min-width: 0; height: 80px; padding: 10px 12px; background: var(--paper); border-radius: 2px; color: var(--navy); }
.viz-report .pdf small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.viz-report .pdf i { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: #cfc6b4; transform: scaleX(0); transform-origin: left; }
.oto-step.is-active .viz-report .pdf i { animation: write .7s ease forwards; }
.oto-step.is-active .viz-report .pdf i:nth-of-type(2) { animation-delay: .35s; width: 85%; }
.oto-step.is-active .viz-report .pdf i:nth-of-type(3) { animation-delay: .7s; width: 92%; }
.oto-step.is-active .viz-report .pdf i:nth-of-type(4) { animation-delay: 1.05s; width: 60%; }
.viz-report .pdf em { display: flex; gap: 4px; margin-top: 8px; font-style: normal; }
.viz-report .pdf em b { padding: 2px 6px; background: var(--navy); color: var(--gold-light); font-size: .52rem; font-weight: 600; letter-spacing: .04em; opacity: 0; }
.oto-step.is-active .viz-report .pdf em b { animation: pop .35s ease forwards; }
.oto-step.is-active .viz-report .pdf em b:nth-child(1) { animation-delay: 1.6s; }
.oto-step.is-active .viz-report .pdf em b:nth-child(2) { animation-delay: 1.9s; }
.oto-step.is-active .viz-report .pdf em b:nth-child(3) { animation-delay: 2.2s; }
.viz-report .clock { position: relative; flex: none; width: 76px; height: 76px; display: grid; place-items: center; }
.viz-report .clock svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.viz-report .clock circle { fill: none; stroke: rgba(216, 189, 134, .18); stroke-width: 3; }
.viz-report .clock .clock-fill { stroke: var(--gold-light); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.oto-step.is-active .viz-report .clock-fill { animation: clock 3.2s ease-in-out forwards; }
.viz-report .clock b { font-family: var(--serif); font-size: 1.15rem; color: var(--on-dark); }
@keyframes write { to { transform: scaleX(1); } }
@keyframes clock { to { stroke-dashoffset: 0; } }

/* Paso 3: conversación 1 a 1 */
.viz-call { justify-content: center; gap: 16px; }
.viz-call .av { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.viz-call .av-gb { border: 1px solid var(--gold); color: var(--gold-light); background: var(--navy); }
.viz-call .av-you { background: var(--gold); color: var(--navy); }
.oto-step.is-active .viz-call .av { animation: ring 1.8s ease-out infinite; }
.oto-step.is-active .viz-call .av-you { animation-delay: .9s; }
.viz-call .wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.viz-call .wave i { width: 3px; height: 8px; border-radius: 2px; background: var(--gold-light); }
.oto-step.is-active .viz-call .wave i { animation: talk 1s ease-in-out infinite; }
.viz-call .wave i:nth-child(2n) { animation-delay: -.3s !important; }
.viz-call .wave i:nth-child(3n) { animation-delay: -.6s !important; }
.viz-call .wave i:nth-child(4n) { animation-delay: -.15s !important; }
.viz-call .call-timer { position: absolute; top: 8px; right: 10px; font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: #e3a2a8; font-variant-numeric: tabular-nums; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(216, 189, 134, .45); } 100% { box-shadow: 0 0 0 14px rgba(216, 189, 134, 0); } }
@keyframes talk { 0%, 100% { height: 8px; } 50% { height: 34px; } }

/* Puntos de cupos: onda de brillo */
.oto-seat-dots span { animation: seat-glow 3.5s ease-in-out infinite; }
.oto-seat-dots span:nth-child(2) { animation-delay: .15s; }
.oto-seat-dots span:nth-child(3) { animation-delay: .3s; }
.oto-seat-dots span:nth-child(4) { animation-delay: .45s; }
.oto-seat-dots span:nth-child(5) { animation-delay: .6s; }
.oto-seat-dots span:nth-child(6) { animation-delay: .75s; }
.oto-seat-dots span:nth-child(7) { animation-delay: .9s; }
@keyframes seat-glow { 0%, 60%, 100% { background: rgba(184, 149, 90, .18); box-shadow: none; } 20% { background: var(--gold-light); box-shadow: 0 0 12px rgba(216, 189, 134, .6); } }

/* Entrada al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .oto-card.reveal { transition-delay: .15s; }
.oto-card-note { margin-top: 18px; font-size: .78rem; line-height: 1.55; color: var(--on-dark-soft); }
.oto-moments { margin-top: 88px; }
.oto-moments-title { margin-bottom: 26px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.moment { padding: 28px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); transition: border-color .25s, background .25s; }
.moment:hover { border-color: rgba(216, 189, 134, .5); background: rgba(216, 189, 134, .05); }
.moment-tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border: 1px solid var(--gold); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.moment h4 { margin-bottom: 10px; font-size: 1.4rem; line-height: 1.2; }
.moment p { font-size: .9rem; color: var(--on-dark-soft); }
.oto-urgency { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--wine); font-size: .9rem; color: var(--on-dark-soft); }
.oto-urgency strong { color: var(--on-dark); }

/* ---------- Motion: entrada escalonada de hijos ---------- */
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------- Casos de éxito ---------- */
/* ---------- Casos: lista a la izquierda, desarrollo completo a la derecha ---------- */
.cases { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: 28px; align-items: start; }
.case-tabs { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 8px; }
.case-tab { position: relative; display: block; width: 100%; padding: 16px 18px 16px 22px; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(255, 255, 255, .02); color: var(--on-dark-soft); text-align: left; transition: background .25s, border-color .25s, color .25s; }
.case-tab::before { content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--gold); transform: scaleY(0); transition: transform .3s; }
.case-tab b { display: block; margin-top: 6px; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: var(--on-dark); }
.case-tab:hover { border-color: rgba(216, 189, 134, .35); background: rgba(216, 189, 134, .05); }
.case-tab[aria-selected="true"] { border-color: rgba(216, 189, 134, .55); background: linear-gradient(120deg, rgba(184, 149, 90, .18), rgba(184, 149, 90, .04)); }
.case-tab[aria-selected="true"]::before { transform: scaleY(1); }
.case-tab.is-public b { color: var(--gold-light); }
.case-panels { min-width: 0; }
.case-panel { position: relative; padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line-dark); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); }
.case-panel::after { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.case-panel:not([hidden]) { animation: case-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes case-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.case-panel.is-public { background: linear-gradient(160deg, rgba(184, 149, 90, .2), rgba(184, 149, 90, .04)); border-color: rgba(216, 189, 134, .45); }
.case-moment { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.case-figure-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; }
.case-figure { display: flex; align-items: baseline; gap: 3px; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--on-dark); font-variant-numeric: lining-nums tabular-nums; }
.case-figure span { font-size: .48em; color: var(--gold-light); }
.case-figure-text { font-style: italic; font-weight: 500; }
.case-figure-label { font-size: .8rem; color: var(--on-dark-soft); }
.case-panel h3 { margin-top: 16px; max-width: 30ch; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }
.case-lead { margin-top: 10px; font-size: .95rem; color: var(--on-dark-soft); }
.case-extract { display: grid; gap: 12px; margin-top: 26px; padding: 20px 22px; border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(216, 189, 134, .06); }
.case-extract-ref { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.case-extract p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--on-dark); }
.case-extract p b { display: block; margin-bottom: 2px; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #e3a2a8; }
.case-dev { display: grid; gap: 14px; margin-top: 24px; }
.case-dev p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--on-dark-soft); }
.case-dev b { color: var(--on-dark); }
.ergo-extract-sub { margin-top: -6px; font-size: .78rem; color: var(--on-dark-soft); }
.ergo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 0; }
.ergo-stats div { padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: 8px; background: rgba(11, 20, 36, .4); }
.ergo-stats dt { font-size: .7rem; color: var(--on-dark-soft); }
.ergo-stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--on-dark); }
.ergo-risk { padding: 14px 16px; border: 1px solid rgba(227, 162, 168, .35); border-radius: 8px; background: rgba(140, 47, 57, .16); }
.ergo-risk span { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e3a2a8; }
.ergo-risk p { margin-top: 6px; }
.ergo-risk p b { display: inline; margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--on-dark); }
.case-extract .ergo-others b { color: var(--gold-light); }
.case-note { margin-top: 20px; font-size: .85rem; color: var(--on-dark-soft); }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.case-link-soft { font-size: .92rem; font-weight: 600; color: var(--gold-light); border-bottom: 1px solid rgba(216, 189, 134, .4); transition: border-color .2s; }
.case-link-soft:hover { border-color: currentColor; }
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; gap: 18px; }
  .case-tabs { position: static; flex-direction: row; gap: 8px; margin-inline: -24px; padding: 2px 24px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .case-tabs::-webkit-scrollbar { display: none; }
  .case-tab { flex: 0 0 auto; width: auto; max-width: 240px; padding: 12px 16px; scroll-snap-align: start; }
  .case-tab::before { left: 14px; right: 14px; top: auto; bottom: -1px; width: auto; height: 3px; transform: scaleX(0); }
  .case-tab[aria-selected="true"]::before { transform: scaleX(1); }
  .case-tab b { font-size: 1rem; }
}
@media (max-width: 520px) {
  .ergo-stats { grid-template-columns: 1fr; }
  .case-extract { padding: 16px; }
  .case-tabs { margin-inline: -16px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .case-panel:not([hidden]) { animation: none; } }

.voices { margin-top: 80px; }
.voices-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.voices-head h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.voice-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.voice-card { position: relative; scroll-snap-align: start; overflow: hidden; border-radius: 10px; background: var(--navy-2); box-shadow: 0 18px 40px -26px rgba(11, 20, 36, .7); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.voice-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(11, 20, 36, .8); }
.voice-card wistia-player { display: block; width: 100%; aspect-ratio: 9 / 16; }
.voice-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: linear-gradient(180deg, rgba(11, 20, 36, 0) 45%, rgba(11, 20, 36, .85) 100%); transition: opacity .35s, visibility .35s; }
.voice-play-icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; background: rgba(11, 20, 36, .28); backdrop-filter: blur(6px); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, border-color .3s; }
.voice-play-icon::after { content: ''; margin-left: 4px; border-left: 14px solid #fff; border-block: 9px solid transparent; }
.voice-card:hover .voice-play-icon, .voice-play:focus-visible .voice-play-icon { transform: scale(1.08); background: var(--gold); border-color: var(--gold); }
.voice-meta { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; color: #fff; text-align: left; }
.voice-meta b { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.voice-meta small { font-size: .78rem; font-variant-numeric: tabular-nums; opacity: .85; }
.voice-card.is-playing .voice-play { opacity: 0; visibility: hidden; }

/* ---------- Quién está detrás ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.about-figure { position: relative; }
/* El marco desplazado enmarca solo la foto (misma proporción 4:5), no los controles del carrusel. */
.about-figure::before { content: ''; position: absolute; inset: 22px -22px auto 22px; aspect-ratio: 4 / 5; border: 1px solid var(--gold); opacity: .6; transform: translate(-22px, -22px); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .5s; }
.about-figure.is-in::before { transform: none; }
.about-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-2); }
/* Carrusel de trayectoria: 5 fotos de la web original que se funden; la activa hace un zoom lento. */
.about-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.about-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.about-slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transform: scale(1.14) translateY(var(--py, 0px)); transition: transform 3.5s cubic-bezier(.2, .6, .3, 1); will-change: transform; }
.about-slide.is-active img { transform: scale(1.06) translateY(var(--py, 0px)); }
.about-slide::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(8, 14, 26, .94), rgba(8, 14, 26, .55) 55%, transparent); pointer-events: none; }
.about-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: 26px 26px 24px; border-left: 2px solid var(--gold); color: var(--on-dark); opacity: 0; transform: translateY(14px); transition: opacity .4s .2s, transform .4s .2s cubic-bezier(.2, .8, .2, 1); }
.about-slide.is-active .about-slide-cap { opacity: 1; transform: none; }
.about-slide-cap strong { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.15; }
.about-slide-cap span { font-size: .86rem; line-height: 1.5; color: var(--on-dark-soft); }
.about-controls { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 42px; }
.about-nav { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid rgba(243, 238, 228, .28); border-radius: 50%; color: var(--on-dark); transition: border-color .2s, background .2s, color .2s; }
.about-nav:hover, .about-nav:focus-visible { border-color: var(--gold-light); background: var(--gold); color: var(--navy); }
.about-dots { display: flex; flex: 1; gap: 6px; }
.about-dots li { flex: 1; }
.about-dots button { position: relative; display: block; width: 100%; height: 18px; cursor: pointer; }
.about-dots button::before, .about-dots button::after { content: ''; position: absolute; left: 0; top: 8px; height: 2px; border-radius: 2px; }
.about-dots button::before { right: 0; background: rgba(243, 238, 228, .18); }
.about-dots button::after { width: 0; background: var(--gold-light); }
/* La barra activa marca el tiempo de la foto: al terminar pasa a la siguiente; en pausa se congela donde está. */
.about-dots button[aria-current="true"]::after { animation: about-fill var(--about-delay, 3s) linear forwards; }
.about-carousel-paused .about-dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes about-fill { to { width: 100%; } }
.about-count { flex: none; font-family: var(--serif); font-size: .95rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.about-count b { font-weight: 600; color: var(--gold-light); }
.js .about-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1); }
.js .about-figure.is-in .about-photo { clip-path: inset(0 0 0 0); }
.about-figure figcaption { position: relative; margin-top: 22px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }
.about-copy h2 { margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 36px; }
.facts li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.facts strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 3.6vw, 3.2rem); font-weight: 600; line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums tabular-nums; }
.facts span { display: block; margin-top: 8px; font-size: .86rem; color: var(--on-dark-soft); }
.books-line { margin-top: 18px; font-size: .8rem; line-height: 1.6; color: var(--on-dark-soft); }
.books-line a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); transition: color .2s, border-color .2s; }
.books-line a:hover { color: var(--gold-light); border-color: currentColor; }

/* ---------- Cierre: posibles casos + reserva y pago ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.footer-glow { position: absolute; top: 10%; left: 50%; width: 820px; height: 820px; translate: -50% 0; background: radial-gradient(circle, rgba(184, 149, 90, .14), transparent 62%); pointer-events: none; animation: glow-drift 16s ease-in-out infinite alternate; }
@keyframes glow-drift { from { transform: translate(-14%, 0) scale(1); } to { transform: translate(14%, 6%) scale(1.12); } }
.closing-ask { margin-bottom: 18px; line-height: 1.3; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-style: italic; color: var(--on-dark-soft); }
.ask-rotator { display: inline-block; vertical-align: top; overflow: hidden; height: 1.3em; color: var(--gold-light); }
.ask-item:not(.is-active) { display: none; }
.ask-word { display: inline-block; white-space: nowrap; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
.ask-word.is-out { transform: translateY(-100%); opacity: 0; }
.ask-word.is-below { transform: translateY(100%); opacity: 0; transition: none; }

.closing { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(80px, 11vw, 140px); }
.closing-title { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.05; margin-bottom: 22px; }
.closing-title em { display: block; color: var(--gold-light); }
.closing-title .w { display: inline-block; }
.js .closing-title .w { opacity: 0; transform: translateY(.7em) rotate(3deg); transform-origin: left bottom; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--w) * 80ms); }
.js .closing-title.is-in .w { opacity: 1; transform: none; }
.closing-sub { font-size: .95rem; color: var(--on-dark-soft); }
.closing-sub strong { font-family: var(--serif); font-size: 1.4rem; color: var(--on-dark); }
.closing-sub .nb { white-space: nowrap; }
.closing-sub i { margin-inline: 8px; font-style: normal; color: var(--gold); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; }
.btn-ghost { border-color: rgba(243, 238, 228, .3); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.wa-orb { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-left: 6px; border: 1px solid rgba(243, 238, 228, .3); border-radius: 50%; color: var(--on-dark); transition: color .35s, border-color .35s, box-shadow .45s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.wa-orb svg { width: 24px; height: 24px; fill: currentColor; transition: filter .45s; }
.wa-orb::before { content: ''; position: absolute; inset: -1px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 211, 102, .35), transparent 70%); opacity: 0; transform: scale(.6); transition: opacity .45s, transform .45s; z-index: -1; }
.wa-orb:hover, .wa-orb:focus-visible { color: #25d366; border-color: #25d366; transform: translateY(-2px) scale(1.06); box-shadow: 0 0 0 6px rgba(37, 211, 102, .08), 0 0 34px rgba(37, 211, 102, .45); }
.wa-orb:hover svg, .wa-orb:focus-visible svg { filter: drop-shadow(0 0 8px rgba(37, 211, 102, .8)); }
.wa-orb:hover::before, .wa-orb:focus-visible::before { opacity: 1; transform: scale(1.9); }
.closing-note { margin-top: 26px; font-size: .78rem; color: var(--on-dark-soft); opacity: .8; }

.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-block: 28px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: var(--on-dark-soft); }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--on-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a, .footer-bottom > a { display: inline-block; padding-block: 5px; }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-light); }
.site-footer > .footer-bottom { border-top: 1px solid var(--line-dark); }

/* Calendario en ventana */
dialog.calendar-dialog { width: min(760px, calc(100% - 24px)); height: min(880px, calc(100svh - 24px)); max-width: none; max-height: none; padding: 0; border: 0; overflow: hidden; background: #fff; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); }
dialog.calendar-dialog[open] { display: flex; flex-direction: column; animation: player-in .45s cubic-bezier(.2, .8, .2, 1); }
dialog.calendar-dialog::backdrop { background: rgba(5, 10, 20, .88); backdrop-filter: blur(6px); }
.calendar-head { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 20px; background: var(--navy); color: var(--on-dark); }
.calendar-head strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-right: auto; }
.calendar-head a { font-size: .78rem; color: var(--gold-light); }
.calendar-dialog iframe { flex: 1; width: 100%; border: 0; }
.calendar-dialog .dialog-close { position: static; }

/* ---------- Sticky mobile bar & dialog ---------- */
.sticky { display: none; }

/* Reproductor ampliado del vídeo del hero */
dialog.hero-player { width: min(1280px, calc(100% - 48px)); max-width: none; max-height: calc(100svh - 48px); padding: 0; border: 1px solid var(--line-dark); background: #000; color: var(--on-dark); overflow: hidden; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); }
dialog.hero-player[open] { animation: player-in .45s cubic-bezier(.2, .8, .2, 1); }
dialog.hero-player::backdrop { background: rgba(5, 10, 20, .88); backdrop-filter: blur(6px); }
.hero-player-frame video { width: 100%; height: auto; max-height: calc(100svh - 50px); aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.dialog-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid rgba(243, 238, 228, .35); border-radius: 50%; background: rgba(11, 20, 36, .7); color: var(--on-dark); font-size: 1rem; transition: border-color .2s, background .2s, color .2s; }
.dialog-close:hover { border-color: var(--gold-light); background: var(--gold); color: var(--navy); }
.hero-player-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(243, 238, 228, .35); border-radius: 50%; background: rgba(11, 20, 36, .7); backdrop-filter: blur(6px); font-size: 1rem; transition: border-color .2s, background .2s; }
.hero-player-close:hover { border-color: var(--gold-light); background: var(--gold); color: var(--navy); }
@keyframes player-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  dialog.hero-player { width: calc(100% - 16px); }
  .hero-player-close { top: 8px; right: 8px; width: 36px; height: 36px; }
}

/* ---------- Secciones oscuras (casos y posibles casos) ---------- */
.dark { background: var(--navy); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.dark .eyebrow { color: var(--gold-light); }
.dark h2 em, .dark h3 em { color: var(--gold-light); }
.dark .note, .dark .lead { color: var(--on-dark-soft); }
.dark .text-link:hover { color: var(--gold-light); }
.about { background: var(--navy-2); border-top: 1px solid var(--line-dark); }
/* ---------- Preguntas frecuentes: categorías en pestañas y respuestas en acordeón ---------- */
.faq-head { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.faq-head .eyebrow { justify-content: center; }
.faq-head .lead { margin-inline: auto; }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 1120px; margin: 0 auto 34px; }
.faq-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px 9px 15px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .82em; font-weight: 600; color: var(--on-dark-soft); white-space: nowrap; transition: border-color .25s, background .25s, color .25s; }
.faq-tabs [role="tab"] small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(243, 238, 228, .08); font-size: .7em; font-variant-numeric: tabular-nums; }
.faq-tabs [role="tab"]:hover { border-color: rgba(216, 189, 134, .5); color: var(--on-dark); }
.faq-tabs [role="tab"][aria-selected="true"] { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.faq-tabs [role="tab"][aria-selected="true"] small { background: rgba(11, 20, 36, .14); }
.faq-panels { max-width: 900px; margin-inline: auto; }
.faq-panel { animation: faq-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes faq-in { from { opacity: 0; transform: translateY(10px); } }
.faq-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(216, 189, 134, .4); }
.faq-panel-head h3 { font-size: clamp(1.35em, 2.2vw, 1.75em); }
.faq-panel-head p { font-size: .8em; letter-spacing: .04em; color: var(--on-dark-soft); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary { display: flex; align-items: center; gap: 18px; padding: 20px 4px; cursor: pointer; list-style: none; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--gold-light); }
.faq-num { flex: none; font-family: var(--serif); font-size: 1.05em; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.faq-q { flex: 1; font-size: 1.04em; font-weight: 500; line-height: 1.45; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid rgba(243, 238, 228, .22); border-radius: 50%; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .2s, background .2s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq-icon::after { rotate: 90deg; transition: rotate .35s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); border-color: var(--gold); background: rgba(216, 189, 134, .12); }
.faq-item[open] .faq-icon::after { rotate: 0deg; }
.faq-a { display: grid; gap: 10px; font-size: .95em; line-height: 1.7; padding: 0 52px 24px 4px; color: var(--on-dark-soft); animation: faq-in .4s cubic-bezier(.2, .8, .2, 1); }
.faq-item:has(.faq-num) .faq-a { padding-left: 42px; }
.faq-note { max-width: 680px; margin: 36px auto 0; text-align: center; font-size: .92em; color: var(--on-dark-soft); }
.faq-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }


.dark .voices-head h3 { color: var(--on-dark); }
.dark .voice-card { box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .9); }


/* ---------- Pulso suave del botón de pago ---------- */
.btn-pulse { animation: soft-pulse 2.8s ease-in-out infinite; }
.btn-pulse:hover { animation-play-state: paused; }
@keyframes soft-pulse {
  0%, 100% { border-color: rgba(243, 238, 228, .3); box-shadow: 0 0 0 0 rgba(216, 189, 134, 0); }
  50% { border-color: rgba(216, 189, 134, .75); box-shadow: 0 0 0 5px rgba(216, 189, 134, .08), 0 0 22px rgba(216, 189, 134, .18); }
}

/* ---------- Página de pago ---------- */
.pay-page { background: var(--navy); color: var(--on-dark); }
.nav-back { margin-left: auto; padding: 10px 18px; border: 1px solid rgba(243, 238, 228, .3); font-size: .86rem; font-weight: 600; color: var(--on-dark); transition: border-color .2s, color .2s; }
.nav-back:hover { border-color: var(--gold-light); color: var(--gold-light); }
.pay-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) 0 clamp(40px, 6vw, 64px); background: radial-gradient(60% 70% at 50% 0%, rgba(184, 149, 90, .14), transparent 70%), var(--navy); }
.pay-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pay-hero h1 { max-width: 820px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: 20px; }
.pay-hero h1 em { color: var(--gold-light); }
.pay-notice { display: flex; align-items: center; gap: 12px; max-width: 640px; margin-bottom: 26px; padding: 14px 20px; border-radius: 14px; background: rgba(184, 149, 90, .12); box-shadow: inset 0 0 0 1px rgba(216, 189, 134, .35); text-align: left; font-size: .92rem; }
.pay-notice[hidden] { display: none; }
.pay-notice svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-notice strong { color: var(--gold-light); }
.nb { white-space: nowrap; }
.pay-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 36px; counter-reset: pstep; }
.pay-steps li { counter-increment: pstep; display: flex; align-items: center; gap: 12px; text-align: left; font-size: .9rem; }
.pay-steps li::before { content: counter(pstep); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 1.05rem; color: var(--gold-light); }
.pay-steps b { display: block; font-weight: 600; }
.pay-steps span { display: block; font-size: .78rem; color: var(--on-dark-soft); }

.pay-methods { padding-bottom: 72px; }
.pay-offer { display: grid; grid-template-columns: auto 1fr; gap: 0; margin-top: 8px; border: 1px solid rgba(216, 189, 134, .35); border-radius: 14px; background: linear-gradient(160deg, rgba(184, 149, 90, .12), rgba(184, 149, 90, .02)); text-align: left; overflow: hidden; }
.pay-price { display: grid; align-content: center; gap: 6px; padding: 26px 34px; border-right: 1px solid rgba(216, 189, 134, .25); }
.pay-price strong { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 600; line-height: .95; color: var(--on-dark); font-variant-numeric: lining-nums; }
.pay-price span { font-size: .84rem; color: var(--on-dark-soft); }
.pay-includes { display: grid; align-content: center; gap: 12px; padding: 24px 34px; }
.pay-includes li { display: flex; align-items: center; gap: 12px; font-size: .98rem; font-weight: 500; color: var(--on-dark); }
.pay-includes svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(216, 189, 134, .16); fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pay-tabs-wrap { display: grid; gap: 12px; }
.pay-tabs-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }
.pay-tabs { position: relative; display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line-dark); scrollbar-width: none; }
.pay-tabs::-webkit-scrollbar { display: none; }
.pay-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 16px 18px 18px; font-size: 1rem; font-weight: 500; color: var(--on-dark-soft); white-space: nowrap; transition: color .25s; }
.pay-tabs [role="tab"]:first-child { padding-left: 2px; }
.pay-tabs [role="tab"] small { padding: 2px 8px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; transition: border-color .25s, color .25s; }
.pay-tabs [role="tab"]:hover { color: var(--on-dark); }
.pay-tabs [role="tab"][aria-selected="true"] { color: var(--on-dark); }
.pay-tabs [role="tab"][aria-selected="true"] small { border-color: rgba(216, 189, 134, .6); color: var(--gold-light); }
.pay-tabs [role="tab"]:focus-visible { outline-offset: -4px; }
.pay-tabs-indicator { position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--tab-w, 0px); background: var(--gold-light); transform: translateX(var(--tab-x, 0px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1); }
.pay-panels { margin-top: 26px; }
.pay-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line-dark); border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.pay-panel[hidden] { display: none; }
.pay-panel:not([hidden]) { animation: panel-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pay-kind { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.pay-panel h3 { margin: 10px 0 18px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.pay-panel p { color: var(--on-dark-soft); }
.pay-data { display: grid; gap: 0; margin: 0; }
.pay-data div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.pay-data dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.pay-data dd { margin: 0; min-width: 0; font-size: 1rem; color: var(--on-dark); }
.pay-data dd small { display: block; font-size: .78rem; color: var(--on-dark-soft); }
.pay-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pay-copy code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: .04em; color: var(--on-dark); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay-copy button { padding: 6px 14px; border: 1px solid rgba(216, 189, 134, .5); border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--gold-light); transition: background .2s, color .2s, border-color .2s; }
.pay-copy button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pay-copy button.is-copied { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.pay-hint { margin-top: 16px; font-size: .86rem; }
.pay-callout { margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(216, 189, 134, .07); }
.pay-callout b { color: var(--on-dark); }
.pay-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.pay-qr { margin: 0; text-align: center; }
.pay-qr img { width: 220px; max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
.pay-qr-download { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 16px; border: 1px solid rgba(216, 189, 134, .5); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--gold-light); transition: background .2s, color .2s, border-color .2s; }
.pay-qr-download:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pay-copy-status { min-height: 1.5em; margin-top: 10px; font-size: .82rem; color: #8fd9b0; }

.pay-after { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; padding-block: 64px 96px; border-top: 1px solid var(--line-dark); }
.pay-after h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.pay-after-main > p { color: var(--on-dark-soft); max-width: 560px; }
.pay-note { margin-top: 22px; font-size: .8rem; line-height: 1.6; color: var(--on-dark-soft); opacity: .85; max-width: 600px; }
.pay-guarantee { padding: 28px; border: 1px solid rgba(216, 189, 134, .4); border-radius: 12px; background: linear-gradient(160deg, rgba(184, 149, 90, .16), rgba(184, 149, 90, .03)); }
.guarantee-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--gold-light); }
.pay-guarantee h3 { margin-bottom: 10px; font-size: 1.45rem; }
.pay-guarantee p { font-size: .86rem; color: var(--on-dark-soft); }
/* ---------- Garantía 100% (hero, cierre y pago) ---------- */
.guarantee-band { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 18px; background: linear-gradient(120deg, rgba(184, 149, 90, .2), rgba(184, 149, 90, .05) 70%);
  /* Borde difuminado: resplandor interior y exterior en vez de una línea marcada. */
  box-shadow: inset 0 0 22px rgba(216, 189, 134, .16), 0 0 34px -6px rgba(216, 189, 134, .22); text-align: left; overflow: hidden; }
.guarantee-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 236, 200, .14) 45%, transparent 60%); transform: translateX(-100%); animation: guarantee-shine 6s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes guarantee-shine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.guarantee-seal { flex: none; display: grid; place-items: center; align-content: center; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3dcae, var(--gold) 60%, #8f6f3c); box-shadow: 0 0 0 4px rgba(216, 189, 134, .18), inset 0 0 0 2px rgba(11, 20, 36, .35); color: var(--navy); text-align: center; line-height: 1; }
.guarantee-seal b { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.guarantee-seal small { margin-top: 3px; font-size: .52rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.guarantee-band p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--on-dark-soft); }
.guarantee-band p strong { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: var(--on-dark); }
.guarantee-band p em { display: inline-block; margin-top: 4px; font-style: normal; font-weight: 700; color: var(--gold-light); }
.hero .guarantee-band { margin-top: 22px; }
.closing .guarantee-band { max-width: 680px; margin: 30px auto 0; padding: 22px 28px 22px 22px; }
.closing .guarantee-seal { width: 92px; height: 92px; }
.closing .guarantee-seal b { font-size: 1.8rem; }
.closing .guarantee-band p { font-size: .95rem; }
.closing .guarantee-band p strong { font-size: 1.5rem; }
.pay-hero .guarantee-band { max-width: 720px; margin-top: 26px; }
@media (prefers-reduced-motion: reduce) { .guarantee-band::after { animation: none; display: none; } }
@media (max-width: 520px) {
  .guarantee-band, .closing .guarantee-band { gap: 14px; padding: 14px; }
  .guarantee-seal, .closing .guarantee-seal { width: 60px; height: 60px; }
  .guarantee-seal b, .closing .guarantee-seal b { font-size: 1.2rem; }
  .guarantee-band p strong, .closing .guarantee-band p strong { font-size: 1.1rem; }
}
/* ---------- Páginas del caso Ergo Capital (informe y cobertura) ---------- */
.doc-wrap { max-width: 920px; }
.doc-hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) 0 clamp(36px, 5vw, 56px); background: radial-gradient(60% 70% at 50% 0%, rgba(184, 149, 90, .14), transparent 70%), var(--navy); border-bottom: 1px solid var(--line-dark); }
.doc-kicker { font-size: .74rem; color: var(--on-dark-soft); }
.doc-tag { margin-top: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.doc-alert { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border: 1px solid rgba(227, 162, 168, .45); border-radius: 999px; background: rgba(140, 47, 57, .2); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f0b9be; }
.doc-hero h1 { margin-top: 18px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; }
.doc-hero h1 em { color: var(--gold-light); }
.doc-sub { margin-top: 14px; color: var(--on-dark-soft); }
.doc-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 28px 0 0; border: 1px solid var(--line-dark); border-radius: 10px; background: var(--line-dark); overflow: hidden; }
.doc-meta div { padding: 14px 16px; background: var(--navy); }
.doc-meta dt, .doc-facts dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.doc-meta dd { margin: 6px 0 0; font-weight: 600; color: var(--on-dark); }
.doc-capital { display: flex; gap: 18px; align-items: flex-start; margin-top: 22px; padding: 22px 24px; border-radius: 12px; background: linear-gradient(120deg, rgba(140, 47, 57, .28), rgba(140, 47, 57, .08)); box-shadow: inset 0 0 22px rgba(227, 162, 168, .12); }
.doc-capital-icon { font-size: 1.6rem; color: #f0b9be; line-height: 1; }
.doc-capital small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.doc-capital strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.1; color: var(--on-dark); font-variant-numeric: lining-nums; }
.doc-capital p { margin-top: 6px; font-size: .9rem; color: var(--on-dark-soft); }
.doc-body { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 96px); }
.doc-section + .doc-section, .doc-press + .doc-section { margin-top: clamp(40px, 6vw, 64px); }
.doc-section > h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.doc-section > h2 span { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-light); }
.doc-section > p { color: var(--on-dark-soft); line-height: 1.7; }
.doc-section > p + p { margin-top: 12px; }
.doc-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.doc-facts div { padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.doc-facts dd { margin: 6px 0 0; color: var(--on-dark); }
.doc-risks { width: 100%; border-collapse: collapse; font-size: .9rem; }
.doc-risks th, .doc-risks td { padding: 14px 12px; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
.doc-risks thead th { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.doc-risks tbody th { width: 32%; font-weight: 600; color: var(--on-dark); }
.doc-risks td { color: var(--on-dark-soft); line-height: 1.55; }
.lvl { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.lvl-critico { background: rgba(196, 64, 78, .25); color: #f4b3b9; box-shadow: inset 0 0 0 1px rgba(244, 179, 185, .4); }
.lvl-alto { background: rgba(214, 128, 52, .22); color: #f5c08f; box-shadow: inset 0 0 0 1px rgba(245, 192, 143, .4); }
.lvl-medio { background: rgba(216, 189, 134, .18); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(216, 189, 134, .4); }
.lvl-bajo { background: rgba(48, 140, 96, .22); color: #9edcbb; box-shadow: inset 0 0 0 1px rgba(158, 220, 187, .4); }
.doc-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-size: .8rem; color: var(--on-dark-soft); }
.doc-legend li { display: flex; align-items: center; gap: 8px; }
.doc-score { display: flex; gap: 24px; align-items: center; margin-top: 26px; padding: 22px 24px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 22px rgba(216, 189, 134, .1); }
.doc-score-dial { flex: none; display: grid; place-items: center; align-content: center; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(closest-side, var(--navy) 78%, transparent 80% 100%), conic-gradient(#e0727d calc(var(--score) * 1%), rgba(255, 255, 255, .08) 0); text-align: center; line-height: 1; }
.doc-score-dial b { font-family: var(--serif); font-size: 2.2rem; color: var(--on-dark); }
.doc-score-dial small { font-size: .72rem; color: var(--on-dark-soft); }
.doc-score strong { font-family: var(--serif); font-size: 1.5rem; color: #f4b3b9; }
.doc-score p { margin-top: 6px; font-size: .9rem; color: var(--on-dark-soft); }
.doc-score-note, .doc-score-scale { font-size: .78rem !important; opacity: .85; }
.doc-rc { padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.doc-rc + .doc-rc { margin-top: 16px; }
.doc-rc header { display: flex; align-items: baseline; gap: 14px; }
.doc-rc header span { flex: none; padding: 4px 10px; border-radius: 6px; background: rgba(196, 64, 78, .25); font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: #f4b3b9; }
.doc-rc h3 { font-size: 1.3rem; line-height: 1.25; }
.doc-rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.doc-rc h4 { margin-bottom: 6px; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.doc-rc-grid p { font-size: .9rem; line-height: 1.6; color: var(--on-dark-soft); }
.doc-rc-status { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(216, 189, 134, .06); font-size: .88rem; color: var(--on-dark); }
.doc-rc-status b { display: block; margin-bottom: 4px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.doc-quote { margin: 18px 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; color: var(--on-dark); }
.doc-quote em { color: var(--gold-light); }
.doc-signature { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.doc-signature strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.doc-signature div span { display: block; font-size: .82rem; color: var(--on-dark-soft); }
.doc-live { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9edcbb; }
.doc-press { display: grid; grid-template-columns: minmax(170px, 230px) 1fr; gap: clamp(22px, 4vw, 40px); align-items: start; padding: clamp(24px, 4vw, 36px); border-radius: 14px; background: linear-gradient(120deg, rgba(184, 149, 90, .18), rgba(184, 149, 90, .04)); box-shadow: inset 0 0 22px rgba(216, 189, 134, .14); }
.doc-press-cover { margin: 0; }
.doc-press-cover a { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .9); transform: rotate(-1.5deg); transition: transform .3s; }
.doc-press-cover a:hover { transform: rotate(0) scale(1.02); }
.doc-press-cover img { display: block; width: 100%; height: auto; background: #1a2436; }
.doc-press-cover figcaption { margin-top: 12px; font-size: .72rem; line-height: 1.5; color: var(--on-dark-soft); }
.doc-press-outlet { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.doc-press h2 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 2.8rem); }
.doc-press p { color: var(--on-dark-soft); line-height: 1.7; }
.doc-press p + p { margin-top: 10px; font-size: .85rem; }
.doc-press .btn { margin-top: 22px; }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
@media (max-width: 760px) {
  .doc-meta { grid-template-columns: repeat(2, 1fr); }
  .doc-facts, .doc-rc-grid { grid-template-columns: 1fr; }
  .doc-risks thead { display: none; }
  .doc-risks, .doc-risks tbody, .doc-risks tr, .doc-risks th, .doc-risks td { display: block; width: auto; }
  .doc-risks tr { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .doc-risks th, .doc-risks td { padding: 4px 0; border: 0; }
  .doc-risks tbody th { width: auto; }
  .doc-score { flex-direction: column; align-items: flex-start; }
  .doc-press { grid-template-columns: 1fr; }
  .doc-press-cover { max-width: 220px; }
}
@media (max-width: 520px) {
  .doc-meta { grid-template-columns: 1fr; }
  .doc-capital { padding: 18px; }
  .doc-live { margin-left: 0; }
}
.pay-footer { border-top: 1px solid var(--line-dark); }
.pay-footer .footer-bottom { border-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-text { padding-left: 32px; }
  .cred-grid { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .cred-grid li:nth-child(4) { padding-left: 0; border-left: 0; }
  .about-grid, .oto-grid { grid-template-columns: 1fr; }
  .oto-grid { gap: 48px; }
  .about-grid { gap: 64px; }
  .about-figure { max-width: 460px; }
  .voice-track { grid-auto-columns: 34%; }
}

@media (max-width: 900px) {
  .wrap { width: min(1200px, calc(100% - 48px)); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; height: calc(min(60svh, 560px) + var(--nav-h)); }
  .hero-media video { object-position: 60% 20%; }
  .hero-media-shade { background:
    linear-gradient(180deg, rgba(5, 10, 20, .75) 0%, rgba(5, 10, 20, .3) 22%, rgba(5, 10, 20, 0) 36%); }
  .hero-text { justify-content: flex-start; padding: 8px 24px 64px; background: var(--navy); }
  .hero-text::after { display: none; }
  .hero-inner { max-width: 640px; }
  .hero-sound { left: 20px; bottom: calc(var(--stats-h) + 26px); }
  .hero-seal { bottom: calc(var(--stats-h) + 14px); right: 16px; width: 68px; height: 68px; }
  .hero-seal span { font-size: .76rem; }
  .hero-badge { left: 20px; right: 20px; top: calc(var(--nav-h) + 18px); }
  .section-head-row { grid-template-columns: 1fr; gap: 24px; }
  .moments { grid-template-columns: 1fr; }
  .oto-moments { margin-top: 64px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .voice-track { grid-auto-columns: 62%; }
  .sticky { position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 20, 36, .96); border-top: 1px solid var(--line-dark); }
  .sticky .btn { min-height: 48px; }
  .mobile-wa { display: grid; place-items: center; padding: 0 16px; border: 1px solid rgba(243, 238, 228, .3); color: var(--on-dark); font-size: .86rem; font-weight: 600; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  :root { --nav-h: 64px; }
  .nav-shell.is-scrolled { top: 8px; width: calc(100% - 16px); border-radius: 12px; }
  .nav-shell.is-scrolled .nav { width: calc(100% - 28px); }
  .brand-mark { width: 36px; height: 36px; font-size: 1rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-name small { font-size: .55rem; letter-spacing: .16em; }
  .nav-cta { display: none; }
  .hero-media { height: calc(50svh + var(--nav-h)); min-height: 400px; }
  .hero-text { padding: 4px 16px 56px; }
  .hero-sound { left: 16px; bottom: calc(var(--stats-h) + 20px); }
  .hero-seal { width: 62px; height: 62px; }
  .hero-seal span { font-size: .68rem; letter-spacing: .1em; }
  .hero-seal small { font-size: .38rem; }
  .hero-badge { left: 16px; right: 16px; top: calc(var(--nav-h) + 14px); }
  .hero-badge strong { font-size: 1.5rem; }
  .hero-badge span { font-size: .6rem; letter-spacing: .1em; }
  .hero-offer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .oto-card { padding: 24px 20px; }
  .oto-step { padding-left: 44px; }
  .oto-step::before { font-size: 1.6rem; }
  .oto-step::after { left: 11px; }
  .oto-step.is-active .oto-viz { height: auto; min-height: 112px; padding: 12px; gap: 8px; }
  .viz-report .pdf { height: auto; }
  .viz-report .pdf small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .viz-report .pdf em { flex-wrap: wrap; }
  .viz-docs .doc { padding: 8px 6px; }
  .viz-report .clock { width: 64px; height: 64px; }
  .viz-call { gap: 10px; }
  .viz-call .av { width: 48px; height: 48px; }
  .oto-seats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .oto-cta .btn { width: 100%; }
  .closing-actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 8px 18px; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid li, .cred-grid li:nth-child(4) { padding: 0 0 0 14px; border-left: 1px solid var(--line-dark); }
  .cred-grid li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts { gap: 0 18px; }
  .facts span { font-size: .78rem; }
  .about-figure::before { inset: 14px -10px auto 14px; }
  .about-figure figcaption { margin-top: 16px; }
  .about-slide-cap { padding: 20px 18px 18px; }
  .about-controls { margin-top: 30px; }
  .faq-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .faq-tabs [role="tab"] { flex: none; }
  .faq-item summary { gap: 12px; padding-block: 16px; }
  .faq-q { font-size: .98em; }
  .faq-a, .faq-item:has(.faq-num) .faq-a { padding: 0 4px 20px; }
  .calendar-head { padding-left: 14px; gap: 10px; }
  .calendar-head strong { font-size: 1rem; }
}

@media (max-width: 900px) {
  .pay-offer { grid-template-columns: 1fr; }
  .method { height: 820vh; }
  .method-hud { justify-content: flex-start; }
  .method-rail li { width: 16px; }
  .method-rail li.is-active { width: 30px; }
  .method-canvas svg { max-height: 50svh; }
  .method-captions { min-height: 190px; }
  .method-scroll-hint { left: 16px; right: auto; bottom: 86px; }
  .method-alt { padding-bottom: 100px; }
  .method-alt-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  .method-controls { justify-content: flex-end; }
  .a-frame { width: 86vw; padding: 12px 10px 6px; }
  .method-stage { padding-bottom: 92px; grid-template-rows: auto minmax(0, 1fr) auto; }
  .method-canvas svg { max-height: 46svh; }
  .m-risk text { font-size: 20px; }
  .m-bubble text { font-size: 22px; }
  .m-counter-cap { display: none; }
  .m-session-cap, .m-core-kicker { font-size: 17px; }
  .method-caption h3 { font-size: 1.7rem; }
  .method-caption p { font-size: .92rem; }
  .pay-price { border-right: 0; border-bottom: 1px solid rgba(216, 189, 134, .25); }
  .pay-panel { grid-template-columns: 1fr; }
  .pay-qr { justify-self: center; }
  .pay-after { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pay-data div { grid-template-columns: 1fr; gap: 6px; }
  .pay-steps { flex-direction: column; align-items: flex-start; }
  .pay-actions .btn { flex: 1 1 100%; }
  .nav-back { padding: 8px 14px; }
  .pay-price, .pay-includes { padding: 22px; }
  .pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: visible; }
  .pay-tabs [role="tab"], .pay-tabs [role="tab"]:first-child { justify-content: space-between; padding: 14px 10px; font-size: .92rem; border-bottom: 1px solid var(--line-dark); }
  .pay-tabs [role="tab"][aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--gold-light); }
  .pay-tabs-indicator { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-sound, .hero-sound-hint { animation: none !important; }
  .footer-glow, .btn-pulse { animation: none !important; }
  .about-dots button[aria-current="true"]::after { animation: none !important; width: 100%; }
  .faq-panel, .faq-a { animation: none !important; }
  .method-scroll-hint span, .m-talk rect { animation: none !important; }
  .js [data-stagger] > *, .js .closing-title .w { opacity: 1; transform: none; }
  .js .about-photo { clip-path: none; }
}
