/* ============================================================
   Joaquín Academy · sistema visual
   ============================================================ */
:root {
  --background: #050816;
  --foreground: #ffffff;
  --primary: #8fa8e8;
  --primary-soft: #cdd8f5;
  --primary-foreground: #0b0e1c;
  --card: #101322;
  --card-elevated: #1a1f38;
  --secondary: #161a2e;
  --muted: #090911;
  --muted-foreground: #9ca3af;
  --border: rgba(255, 255, 255, 0.12);
  --rule: rgba(255, 255, 255, 0.08);
  --rule-strong: rgba(255, 255, 255, 0.12);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
::selection { background: color-mix(in srgb, var(--primary) 40%, transparent); }

/* ---------- Tipografía base ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -.025em; color: var(--foreground);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.08; text-wrap: balance; margin: 0;
}
.lead {
  margin: 0;
  font-size: clamp(15px, 13.6px + .35vw, 18px);
  line-height: 1.625; color: rgba(255,255,255,.6); text-wrap: pretty;
}
.muted { color: rgba(255,255,255,.5); }
.accent { color: var(--primary); }

/* ---------- Revelado al hacer scroll ---------- */
[data-reveal] {
  opacity: 0; filter: blur(10px); transform: translateY(-20px);
  transition: all .5s ease var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }

@keyframes lp-blur-in { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }
.letters > .w { display: inline-block; white-space: nowrap; }
.letters .l { display: inline-block; opacity: 0; }
.letters.is-in .l { animation: lp-blur-in .3s ease both; animation-delay: calc(var(--li) * 28ms + var(--d, 0s)); }

/* ---------- Retícula de fondo ---------- */
.lp-section { position: relative; z-index: 1; isolation: isolate; }
.rules > .r {
  position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none;
  background: var(--rule);
}
.rules > .r.edge { background: var(--rule-strong); }
.rules > .r.l1 { left: 2.3%; } .rules > .r.r1 { right: 2.3%; }
.rules > .r.l2 { left: 30%; }  .rules > .r.r2 { right: 30%; }
.rules.fade-foot > .r { mask-image: linear-gradient(180deg, #000 calc(100% - 200px), transparent); }
.rules.fade-top > .r { mask-image: linear-gradient(180deg, transparent, #000 18%); }

.lp-grid::before {
  --ink: #ffffff0f;
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--ink),var(--ink)),
    linear-gradient(180deg, var(--ink) 0 1px, transparent 1px);
  background-repeat: no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,repeat-y;
  background-size: 1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,100% 10vw;
  background-position: 9.225% 0,16.15% 0,23.075% 0,40% 0,50% 0,60% 0,76.925% 0,83.85% 0,90.775% 0,0 0;
}
.lp-grid.fade-top::before { mask-image: linear-gradient(180deg, transparent 0, #000 160px); }
.lp-grid.fade-foot::before { mask-image: linear-gradient(180deg, #000 calc(100% - 200px), transparent); }

.edge-guides {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: lighten;
  background:
    linear-gradient(#232632,#232632) 2.3% 0 / 1px 100% no-repeat,
    linear-gradient(#232632,#232632) 97.7% 0 / 1px 100% no-repeat;
}
.grain-tex::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: 6px; border: 0; cursor: pointer; user-select: none;
  font-family: var(--font-body); font-weight: 600;
  padding: 14px 28px; font-size: 16px; line-height: 1.2;
  transition: color .3s, scale .3s, translate .2s, box-shadow .2s, border-color .2s;
  touch-action: manipulation;
}
.btn:active { scale: .97; }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn > .lbl { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5em; }
.btn .arr { width: 1em; height: 1em; transition: translate .2s; }
.btn:hover .arr { translate: 2px 0; }
.btn-fill { position: absolute; border-radius: 50%; pointer-events: none; translate: -50% -50%; width: 0; height: 0; z-index: 0; }
.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--primary) 80%, transparent);
}
.btn-primary .btn-fill { background: var(--foreground); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--foreground);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost .btn-fill { background: var(--foreground); }
.btn-ghost.is-filled { color: var(--background); }
.btn-ghost:hover { border-color: transparent; translate: 0 -2px; box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--primary) 75%, transparent); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-xs { padding: 6px 14px; font-size: 13px; border-radius: 7px; font-weight: 500; }
.btn-outline-primary {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  color: var(--primary);
}
.btn-outline-primary .btn-fill { background: var(--primary); }
.btn-outline-primary.is-filled { color: var(--primary-foreground); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--background);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  animation: loader-out .5s ease 1.9s forwards;
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-mark { position: relative; height: 170px; aspect-ratio: 46 / 96; }
.loader-mark > div {
  position: absolute; inset: 0;
  -webkit-mask: url(logo-mark.svg) center / contain no-repeat; mask: url(logo-mark.svg) center / contain no-repeat;
}
.loader-mark .ghost { background: rgba(255,255,255,.15); }
.loader-mark .fill { background: var(--foreground); clip-path: inset(var(--fill-top, 100%) 0 0 0); }
.loader-pct { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.loader .grain-canvas { opacity: .4; }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; container-type: inline-size; transition: transform .5s var(--ease-out); }
.nav.is-hidden { transform: translateY(-110%); }
.nav-rule { position: absolute; inset-inline: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.07) 0 2.3%, transparent 2.3% 97.7%, rgba(255,255,255,.07) 97.7%); }
.nav-rule.t { top: 14px; } .nav-rule.b { top: 71px; }
.nav-box {
  position: relative; margin: 14px 2.3% 0;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(5,8,22,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 56px; padding: 0 16px; }
@media (min-width: 1024px) {
  .nav-rule.t { top: 1.6cqw; } .nav-rule.b { top: 5.4cqw; }
  .nav-box { margin-top: 1.6cqw; }
  .nav-inner { height: calc(3.8cqw - 1px); padding: 0 1.6cqw; }
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 26px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.nav-links { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: none; gap: 6px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1280px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; display: block; padding: 8px 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55); transition: color .3s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: rgba(255,255,255,.9); }
.nav-links a .dot {
  position: absolute; bottom: 0; left: calc(50% - .08em); translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 8px var(--primary); opacity: 0; scale: 0; transition: opacity .3s, scale .3s;
}
.nav-links a[aria-current] .dot { opacity: 1; scale: 1; }
.roll { display: inline-flex; height: 1.2em; line-height: 1.2; overflow: hidden; vertical-align: top; }
.roll > span {
  display: inline-block; white-space: pre;
  text-shadow: 0 1.2em 0 rgba(255,255,255,.95);
  transition: translate .45s var(--ease-out) calc(var(--i) * 18ms);
}
a:hover .roll > span { translate: 0 -1.2em; }
.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -4px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-burger i { position: absolute; width: 18px; height: 1px; background: var(--foreground); transition: transform .3s; }
.nav-burger i:first-child { transform: translateY(-3.5px); } .nav-burger i:last-child { transform: translateY(3.5px); }
.nav.is-open .nav-burger i:first-child { transform: rotate(45deg); }
.nav.is-open .nav-burger i:last-child { transform: rotate(-45deg); }
@media (min-width: 1280px) { .nav-burger { display: none; } }
.nav-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.nav.is-open .nav-drawer { grid-template-rows: 1fr; }
.nav-drawer > div { min-height: 0; overflow: hidden; }
.nav-drawer ul { list-style: none; margin: 0; padding: 4px 16px 20px; }
.nav-drawer li { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-drawer li:last-child { border: 0; }
.nav-drawer a { display: block; padding: 14px 0; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: rgba(255,255,255,.7); }
@media (min-width: 1280px) { .nav-drawer { display: none; } }
@media (max-width: 639px) { .nav-actions .btn { display: none; } }

/* ---------- Sección apertura (vídeo) ---------- */
.open { height: calc(100svh + 120svh); overflow: clip; background: var(--background); }
.open-sticky { position: sticky; top: 0; height: 100svh; padding: clamp(108px, 8.4vw, 144px) var(--pad) 0; }
.open-bg { position: absolute; inset: 0; mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.open-dim { position: absolute; inset: 0; z-index: 1; background: var(--background); opacity: 0; pointer-events: none; }
.open-inner { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; }
.open-title {
  --t: clamp(50px, 7.2vw, 124px);
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em;
  font-size: var(--t); line-height: .98; padding-left: .86em; margin: 0;
  will-change: transform; transform-origin: 0 0;
}
.open-title .row1 { position: relative; display: block; white-space: nowrap; }
.open-mark { position: absolute; right: calc(100% + .12em); top: .1em; height: 1.6em; width: auto; opacity: 0; transition: opacity .9s ease .15s; }
.open-mark.is-in { opacity: 1; }
.open-mark-guides { position: absolute; right: calc(100% + .1em); top: .08em; height: 1.64em; width: .9em; pointer-events: none; opacity: 0; transition: opacity 1s ease .4s; }
.open-mark-guides.is-in { opacity: 1; }
.open-row2 { display: flex; align-items: flex-end; margin-top: -.14em; position: relative; }
.open-row2 .word2 { display: block; white-space: nowrap; color: var(--primary); margin-left: 1.1em; }
.open-lead {
  max-width: 300px; margin-left: auto; margin-bottom: .32em;
  font-family: var(--font-body); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.6;
  color: rgba(255,255,255,.62); white-space: normal; text-wrap: pretty;
  display: flex; flex-direction: column; gap: 14px; align-self: flex-end;
}
@media (min-width: 900px) {
  .open-lead { position: absolute; right: 0; bottom: .28em; margin: 0; }
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; line-height: 1.3;
  background: var(--card); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.7);
}
.chip b { color: var(--foreground); font-weight: 600; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex: none; animation: live 2.8s ease-in-out infinite; }
@keyframes live { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 50% { box-shadow: 0 0 0 5px rgba(74,222,128,0); } }
@media (max-width: 899px) {
  .open-title { padding-left: .7em; }
  .open-row2 { flex-direction: column; align-items: flex-start; }
  .open-lead { margin: 18px 0 0; max-width: 520px; font-size: 15px; }
}

.open-video-wrap { position: relative; z-index: 2; width: 100%; margin-top: clamp(36px, 3.6vw, 60px); will-change: transform; transform-origin: 50% 0; }
.video-card { position: relative; aspect-ratio: 16 / 9; }
.video-halo { position: absolute; inset: 8% -4% -6%; border-radius: 40px; background: color-mix(in srgb, var(--primary) 22%, transparent); filter: blur(60px); }
.video-shadow { position: absolute; inset: 0; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 60px 160px rgba(0,0,0,.4); }
.video-frame { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: var(--card); }
.video-poster {
  position: absolute; inset: 0; cursor: pointer; border: 0; padding: 0; width: 100%;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(143,168,232,.28), transparent 70%),
    radial-gradient(40% 50% at 80% 80%, rgba(143,168,232,.14), transparent 70%),
    linear-gradient(160deg, #141a33, #0b0e1c 70%);
}
.video-poster .ph-label {
  position: absolute; left: 50%; top: 50%; translate: -50% calc(-50% + 64px);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); white-space: nowrap;
}
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 72px; height: 72px; display: grid; place-items: center; pointer-events: none;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
  transition: scale .3s var(--ease-out);
}
.video-poster:hover .video-play { scale: 1.08; }
.video-play svg { width: 52px; height: 52px; margin-left: 5px; }
.video-glow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.video-glow path { fill: none; stroke-linecap: round; stroke-dasharray: .1 .9; animation: glow-run 24s linear infinite; }
.video-glow .line { stroke: var(--primary); stroke-width: 1.1; opacity: .85; filter: drop-shadow(0 0 2px var(--primary)); }
.video-glow .haze { stroke: var(--primary); stroke-width: 6; opacity: .5; filter: blur(7px); }
@keyframes glow-run { to { stroke-dashoffset: -1; } }

/* Pestañas recortadas arriba y abajo del vídeo */
.notch {
  position: absolute; left: 50%; translate: -50% 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 34px; padding: 0 58px;
  --notch: var(--background);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M0 0H44V34H40C30 34 26 31 21 22L11 7C8 2.5 5 0 0 0Z' fill='%23050816'/%3E%3C/svg%3E") left top / 44px 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M44 0H0V34H4C14 34 18 31 23 22L33 7C36 2.5 39 0 44 0Z' fill='%23050816'/%3E%3C/svg%3E") right top / 44px 100% no-repeat,
    linear-gradient(var(--notch), var(--notch)) center / calc(100% - 86px) 100% no-repeat;
  overflow: hidden;
}
.notch.top { top: -1px; }
.notch.bottom { bottom: -1px; height: 36px; transform: scaleY(-1); }
.notch.bottom > * { transform: scaleY(-1); }
.notch-cap { color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer; transition: color .3s; }
.notch-cap .lbl { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.notch-cap .btn-fill { background: var(--foreground); }
.notch-cap.is-filled { color: var(--background); }
.notch-cap svg { width: 16px; height: 16px; }

/* Dado 3D (texto que rota) */
.dice { --half: 13.5px; position: relative; perspective: 600px; }
.dice-size { visibility: hidden; height: calc(var(--half) * 2); display: grid; }
.dice-size > * { grid-area: 1 / 1; align-self: center; }
.dice-cube { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.65,0,.25,1); }
.dice-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; }
.dice-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.85); white-space: nowrap; }
.dice-line .soft { color: rgba(255,255,255,.6); }
.dice-line b { font-weight: 600; color: var(--foreground); }

.scroll-cue {
  position: absolute; top: 0; left: 50%; translate: -50% 0; z-index: 3; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--primary);
}
.scroll-cue svg { width: 12px; height: 12px; animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 50% { transform: translateY(4px); } }

/* ---------- Hero (onda + móvil) ---------- */
.hero {
  margin-top: -100svh; border-radius: 28px 28px 0 0; overflow: hidden; background: var(--background);
  box-shadow: 0 -30px 80px rgba(0,0,0,.55), 0 -1px 0 rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center;
}
.hero-bg { position: absolute; inset: 0; mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%); }
.hero-col { position: relative; width: min(100%, calc(100svh * 1440 / 820)); container-type: inline-size; }
.hero-stage { position: relative; width: 100%; aspect-ratio: 1440 / 820; container-type: inline-size; }
.hero-copy { position: absolute; top: 9.4cqw; left: 0; right: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy h1, .hero-copy h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; margin: 0; font-size: 5cqw; line-height: 1.08; white-space: nowrap; }
.bracket { color: var(--primary); }
.bracket i { font-style: normal; font-weight: 400; margin: 0 .18em; }
.hero-copy p { margin: 1.5cqw 0 0; font-size: 1.4cqw; line-height: 1.5; color: rgba(255,255,255,.65); }
.hero-proof {
  position: absolute; top: 23cqw; left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: .7cqw; padding: .42cqw .9cqw .42cqw .5cqw;
  border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: var(--card);
  font-size: .9cqw; font-weight: 500; color: rgba(255,255,255,.7); white-space: nowrap;
}
.hero-proof .pill { padding: .15cqw .55cqw; border-radius: 99px; background: var(--primary); color: var(--primary-foreground); font-size: .7cqw; font-weight: 700; letter-spacing: .04em; }
.hero-guides { position: absolute; inset: 0; pointer-events: none; }
.hero-guides i { position: absolute; display: block; }
.hero-guides .h { left: 0; right: 0; bottom: 3.4cqw; height: 1px; background: rgba(255,255,255,.05); }
.hero-guides .v1, .hero-guides .v2 { top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 60%); }
.hero-guides .v1 { left: 30cqw; } .hero-guides .v2 { right: 30cqw; }
.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transform: translateY(5cqw);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.wave-line { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--wave-draw, 0)); }
.wave-pulse { stroke-dasharray: .06 .94; opacity: calc((var(--wave-fade, 0) - .8) * 5); animation: wave-pulse 3.6s linear infinite; }
@keyframes wave-pulse { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.wave-fade { opacity: var(--wave-fade, 0); }
.hero-foot { position: absolute; bottom: 25.6cqw; font-size: .7cqw; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.hero-foot.l { left: 3.9cqw; } .hero-foot.r { right: 3.9cqw; }

/* Móvil CSS */
.phone-wrap { position: absolute; inset: 0; transform: translateY(5cqw); pointer-events: none; }
.phone {
  position: absolute; left: 37.6cqw; top: 25cqw; width: 24.8cqw; height: 52cqw;
  border-radius: 4cqw; padding: .55cqw;
  background: linear-gradient(145deg, #c9ccd3, #6f737c 30%, #2a2d33 55%, #9a9ea6 80%, #3b3e45);
  box-shadow: 0 3cqw 6cqw rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.phone::before { content: ""; position: absolute; inset: .2cqw; border-radius: 3.8cqw; background: #050608; }
.phone-btn { position: absolute; width: .25cqw; border-radius: .2cqw; background: #6f737c; }
.phone-btn.a { left: -.2cqw; top: 9cqw; height: 3cqw; } .phone-btn.b { left: -.2cqw; top: 13.5cqw; height: 5cqw; } .phone-btn.c { right: -.2cqw; top: 12cqw; height: 7cqw; }
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 3.4cqw; overflow: hidden;
  background: #020306; box-shadow: inset 0 0 2.2cqw rgba(0,0,0,.7); pointer-events: auto;
  font-family: var(--font-body);
}
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 28%, transparent 42%); }
.island { position: absolute; top: 1cqw; left: 50%; translate: -50% 0; width: 7.4cqw; height: 2.1cqw; border-radius: 2cqw; background: #000; z-index: 2; }
.sbar { position: absolute; top: 1.45cqw; left: 2.6cqw; right: 2.4cqw; display: flex; justify-content: space-between; align-items: center; font-size: .9cqw; font-weight: 600; }
.sbar .ic { display: flex; gap: .35cqw; align-items: flex-end; }
.sbar .sig { display: flex; gap: .1cqw; align-items: flex-end; }
.sbar .sig i { width: .18cqw; background: #fff; border-radius: .05cqw; }
.sbar .bat { width: 1.6cqw; height: .75cqw; border: .1cqw solid rgba(255,255,255,.5); border-radius: .25cqw; padding: .08cqw; }
.sbar .bat i { display: block; width: 75%; height: 100%; background: #fff; border-radius: .12cqw; }
.app-head { position: absolute; top: 4.3cqw; left: .9cqw; right: .9cqw; display: flex; align-items: center; justify-content: space-between; }
.app-av { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #5b6fb8; display: grid; place-items: center; font-size: .62cqw; font-weight: 700; }
.app-title { display: flex; align-items: center; gap: .35cqw; font-size: .87cqw; font-weight: 700; }
.app-title span.logo { width: 1.3cqw; height: 1.3cqw; border-radius: .35cqw; background: var(--primary); display: grid; place-items: center; }
.app-title span.logo img { height: .85cqw; filter: brightness(0) saturate(100%) invert(6%) sepia(19%) saturate(2400%) hue-rotate(202deg); }
.app-kpis { position: absolute; top: 7.2cqw; left: .6cqw; right: .6cqw; display: flex; gap: .3cqw; white-space: nowrap; }
.kpi { display: flex; flex-direction: column; gap: .1cqw; padding: .3cqw .5cqw; border-radius: .55cqw; border: 1px solid transparent; }
.kpi.on { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.1); }
.kpi span { font-size: .72cqw; font-weight: 600; color: rgba(255,255,255,.8); }
.kpi b { font-size: 1.05cqw; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: .3cqw; }
.kpi .gdot { width: .5cqw; height: .5cqw; border-radius: 50%; border: .1cqw solid #34d17a; box-shadow: 0 0 .3cqw #34d17a; }
.app-chart { position: absolute; top: 10.6cqw; left: 0; right: 0; height: 12cqw; }
.app-chart svg { width: 100%; height: 100%; overflow: visible; }
.app-chips { position: absolute; top: 23cqw; left: 0; right: 0; display: flex; justify-content: center; gap: .5cqw; }
.app-chips span { display: flex; align-items: center; gap: .35cqw; padding: .5cqw .75cqw; border-radius: .65cqw; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: .8cqw; font-weight: 700; }
.sheet {
  position: absolute; top: 26.6cqw; left: 0; right: 0; bottom: 0; background: #fff; color: #1c1c1e;
  border-radius: 1.7cqw 1.7cqw 0 0; padding: .6cqw 1cqw 0; display: flex; flex-direction: column; gap: .55cqw;
  box-shadow: 0 -.6cqw 1.6cqw rgba(0,0,0,.25);
}
.sheet .grab { align-self: center; width: 2.6cqw; height: .3cqw; border-radius: 99px; background: #d1d1d6; }
.sheet .sh-head { display: flex; justify-content: space-between; align-items: center; }
.sheet .sh-head b { font-size: 1.25cqw; font-weight: 600; letter-spacing: -.01em; }
.sheet .sh-head span { font-size: .66cqw; font-weight: 600; padding: .2cqw .55cqw; border-radius: 99px; background: #eef1fb; color: #4b5fa8; }
.sh-row { display: flex; align-items: center; gap: .7cqw; padding: .4cqw .65cqw; border-radius: .8cqw; background: #f4f4f6; }
.sh-row .ico { width: 1.9cqw; height: 1.9cqw; flex: none; border-radius: .55cqw; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.sh-row .tx { flex: 1; display: flex; flex-direction: column; gap: .1cqw; min-width: 0; }
.sh-row .tx b { font-size: .82cqw; font-weight: 600; }
.sh-row .tx span { font-size: .66cqw; font-weight: 500; color: #8e8e93; }
.sh-row .v { font-size: .8cqw; font-weight: 600; }
.notif {
  position: absolute; top: 3.3cqw; left: .5cqw; right: .5cqw; z-index: 3;
  display: flex; align-items: flex-start; gap: .7cqw; padding: .85cqw .9cqw; border-radius: 1.4cqw;
  background: rgba(44,44,46,.78); backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8);
  box-shadow: 0 .5cqw 2cqw rgba(0,0,0,.35); opacity: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}
.notif.in { animation: notif-in .6s cubic-bezier(.22,1.2,.36,1) both; }
.notif.out { animation: notif-out .4s ease both; }
@keyframes notif-in { 0% { opacity: 0; transform: translateY(-4.5cqw) scale(.97); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes notif-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-4.5cqw) scale(.97); } }
.notif .ni { width: 2.4cqw; height: 2.4cqw; border-radius: .56cqw; background: #fff; display: grid; place-items: center; flex: none; }
.notif .nt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15cqw; }
.notif .nt div { display: flex; justify-content: space-between; gap: .5cqw; }
.notif .nt b { font-size: .94cqw; font-weight: 700; color: #fff; }
.notif .nt em { font-style: normal; font-size: .75cqw; color: rgba(235,235,245,.5); }
.notif .nt span { font-size: .82cqw; line-height: 1.35; color: rgba(235,235,245,.85); }
.hero-cta { position: absolute; top: 68.3cqw; left: 38.6cqw; width: 22.8cqw; height: 2.9cqw; border-radius: .9cqw; font-size: .97cqw; padding: 0; z-index: 4; }
.hero-fade {
  position: absolute; left: 22cqw; right: 16cqw; bottom: 0; height: 26cqw; pointer-events: none; z-index: 3;
  background: linear-gradient(180deg, rgba(5,8,22,0) 0%, rgba(5,8,22,.16) 18%, rgba(5,8,22,.5) 36%, rgba(5,8,22,.85) 54%, #050816 71%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8cqw, #000 calc(100% - 8cqw), transparent 100%);
}
.stat-panel {
  position: absolute; top: 68.3cqw; width: 25.7cqw; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 1.1cqw; border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), rgba(11,14,28,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 40px -20px rgba(0,0,0,.7);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0; transform: translateY(2.6cqw); transition: opacity .55s, transform .75s cubic-bezier(.16,1,.3,1);
}
.stat-panel { z-index: 5; }
.stat-panel.l { left: 3.9cqw; } .stat-panel.r { right: 3.9cqw; transition-delay: .14s; }
.stats-in .stat-panel { opacity: 1; transform: none; }
.stat-panel::before { content: ""; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 70%, transparent), transparent); }
.stat-panel::after { content: ""; position: absolute; top: 18%; bottom: 18%; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.12), transparent); }
.stat-panel > div { display: flex; flex-direction: column; gap: .8cqw; padding: 1.25cqw 1.4cqw; }
.stat-panel span { font-size: .68cqw; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.stat-panel b { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; font-size: 2.15cqw; line-height: 1; }
.hero-mob, .hero-mob-stats { display: none; }
/* Promesa como primera sección: sin solape ni esquinas */
.hero.first { margin-top: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 767px) { .hero.first .hero-mob { padding-top: 116px; } }
@media (max-width: 767px) {
  .hero-desk { display: none !important; }
  .hero-mob { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 72px 20px 0; position: relative; z-index: 2; }
  .hero-mob h1, .hero-mob h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; font-size: 38px; line-height: 1.08; margin: 0; }
  .hero-mob p { margin: 0; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.55; max-width: 320px; }
  .hero-col { width: 250%; flex: none; margin-top: -44%; height: calc(250vw * .7); overflow: hidden; }
  .hero-fade { left: 30%; right: 30%; }
  .hero-cta { display: none; }
  .hero-mob-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: calc(100% - 40px); margin: 0 auto 48px; position: relative; z-index: 4; }
  .hero-mob-stats > div { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(11,14,28,.72); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
  .hero-mob-stats span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
  .hero-mob-stats b { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.025em; }
}

/* ---------- Marquee ---------- */
.partners { margin-top: -22px; padding: clamp(30px,3.4vw,46px) 0 clamp(56px,6.5vw,92px); background: linear-gradient(180deg, rgba(5,8,22,0) 0, var(--background) 160px); }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-pass { display: flex; }
.marquee-item { display: flex; align-items: center; gap: 12px; flex: none; margin-inline-end: clamp(34px,5vw,72px); }
.marquee-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.marquee-mark i { width: 22px; height: 22px; background: var(--c, #fff); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.marquee-name { color: rgba(255,255,255,.7); font-size: 15px; font-weight: 500; white-space: nowrap; }

/* ---------- Presentación ---------- */
.intro-sec { overflow: clip; padding: clamp(64px,8vw,116px) var(--pad) 0; }
.intro { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .88fr 1.12fr; column-gap: clamp(24px,4vw,64px); }
.intro-name {
  grid-column: 1 / -1; position: relative; z-index: 0; margin: 0 0 -.2em -.5em; padding: 0 0 .2em .5em;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.045em; line-height: .88;
  font-size: clamp(52px, 11.4vw, 164px);
  background: linear-gradient(180deg, #fff 0%, #c3cff2 38%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.intro-name span { display: block; }
.intro-name span:first-child { margin-left: -.17em; }
.intro-name span:last-child { margin-top: -.2em; margin-left: 2.82em; }
.intro-photo {
  position: absolute; left: 0; bottom: 0; z-index: 1; width: clamp(230px, 40%, 460px); aspect-ratio: 1145 / 1600;
  translate: -3% 6%; pointer-events: none; mask-image: linear-gradient(180deg, #000 80%, transparent);
}
.photo-ph {
  width: 100%; height: 100%; position: relative;
  background: radial-gradient(50% 40% at 50% 60%, rgba(143,168,232,.18), transparent 70%);
}
.photo-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-ph span { position: absolute; left: 50%; top: 42%; translate: -50% 0; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); white-space: nowrap; }
.intro-copy { grid-column: 2; position: relative; z-index: 2; padding: clamp(22px,3.2vw,44px) 0 clamp(40px,5vw,72px); }
.intro-copy h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; margin: 0; font-size: clamp(26px, 2.7vw, 40px); line-height: 1.12; }
.intro-copy p { margin-top: 18px; }
.signature {
  font-family: "Mrs Saint Delafield", cursive; font-size: clamp(48px, 4.6vw, 68px); line-height: 1; color: #f2f4fa;
  display: inline-block; padding: 0 .2em .1em 0; margin-top: 30px;
  mask-image: linear-gradient(90deg, #000 44%, transparent 56%); mask-size: 215% 100%; mask-position: 100% 0; mask-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 44%, transparent 56%); -webkit-mask-size: 215% 100%; -webkit-mask-position: 100% 0; -webkit-mask-repeat: no-repeat;
}
.signature.is-in { animation: sign-write 1.8s cubic-bezier(.42,0,.3,1) .3s forwards; }
@keyframes sign-write { to { mask-position: 0 0; -webkit-mask-position: 0 0; } }
.socials { display: flex; gap: 18px; margin-top: 20px; }
.socials a { color: rgba(255,255,255,.5); transition: color .22s; display: inline-flex; padding: 4px; }
.socials a:hover { color: #fff; }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .intro { grid-template-columns: minmax(0, 1fr); }
  .intro-name { font-size: clamp(52px, 16vw, 120px); margin-left: 0; padding-left: 0; }
  .intro-name span:first-child { margin-left: 0; }
  .intro-name span:last-child { margin-left: .9em; }
  .intro-photo { position: relative; width: 66%; margin: -14% auto 0; translate: 0; }
  .intro-copy { grid-column: 1; padding-top: 8px; }
}

/* ---------- Bento ---------- */
.bento-sec { overflow: clip; padding: clamp(72px,9vw,128px) var(--pad); }
.wrap { position: relative; max-width: 1180px; margin: 0 auto; }
.info-head { display: grid; gap: 18px; align-items: end; margin-bottom: clamp(40px,4.6vw,64px); }
@media (min-width: 900px) { .info-head { grid-template-columns: 1fr 300px; } }
.info-heading { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; margin: 0; max-width: 640px; font-size: clamp(1.6rem, 1.05rem + 2vw, 2.6rem); line-height: 1.1; }
.info-lead { margin: 0; color: rgba(255,255,255,.55); font-size: clamp(14px, 13px + .15vw, 15.5px); line-height: 1.65; text-wrap: pretty; }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .info-grid { grid-template-columns: 1fr 1fr; } .info-card[data-wide] { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .info-grid { grid-template-columns: repeat(3, 1fr); } .info-card[data-wide] { grid-column: span 2; } }
.info-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .4s;
}
.info-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 320px; z-index: -1; opacity: .8; transition: opacity .5s;
  background:
    radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 70%),
    radial-gradient(40% 50% at 85% 30%, color-mix(in srgb, var(--primary) 5%, transparent), transparent 70%);
}
.info-card:hover { border-color: rgba(255,255,255,.13); }
.info-card:hover::before { opacity: 1; }
.info-stage { position: relative; height: 300px; overflow: hidden; container-type: inline-size; mask-image: linear-gradient(180deg, #000 72%, transparent); }
.info-float { position: absolute; inset: 0; transition: transform .6s var(--ease-out); }
.info-card:hover .info-float { transform: translateY(-5px); }
.panel {
  background: linear-gradient(180deg, #141932, #0f1328); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.85), 0 2px 6px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.pop { opacity: 0; translate: 0 16px; transition: opacity .7s ease, translate .8s var(--ease-out); transition-delay: calc(var(--card-delay, 0s) + var(--pop, 0s)); }
.info-grid.is-in .pop { opacity: var(--pop-to, 1); translate: 0; }
.info-copy { display: flex; flex-direction: column; gap: 10px; padding: 4px 28px 28px; }
.info-title { margin: 0; max-width: 24ch; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; font-size: clamp(20px, 1.05rem + .55vw, 25px); line-height: 1.3; }
.info-card[data-wide] .info-title { max-width: 30ch; }
.info-title .soft { color: rgba(255,255,255,.5); }
.info-body { margin: 0; max-width: 44ch; color: rgba(255,255,255,.55); font-size: 14.5px; line-height: 1.65; text-wrap: pretty; }
.glyph { display: inline-block; width: 1.75em; height: 1.75em; vertical-align: -.5em; margin: 0 .12em; }
.doodle { width: 100%; height: 100%; overflow: visible; }
.doodle .tint path { fill: var(--primary); opacity: 0; transition: opacity .6s ease calc(var(--card-delay,0s) + .9s); }
.info-grid.is-in .doodle .tint path { opacity: .22; }
.doodle .ink path { fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s cubic-bezier(.65,0,.35,1) calc(var(--card-delay,0s) + .35s + var(--s) * 90ms); }
.info-grid.is-in .doodle .ink path { stroke-dashoffset: 0; }
.glyph .doodle { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.info-card:hover .glyph .doodle { transform: rotate(-8deg) scale(1.06); }
.sk { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); }
.mini { font-size: 11px; color: rgba(255,255,255,.5); }
.swap { transition: opacity .42s, filter .42s, translate .5s var(--ease-out); }
.swap.out { opacity: 0; filter: blur(6px); translate: 0 5px; transition-duration: .26s; }
.toast-stack { position: absolute; top: 150px; right: 5%; width: 232px; height: 56px; }
.toast { position: absolute; inset: 0; display: flex; align-items: center; gap: 11px; padding: 12px 14px; transition: translate .7s var(--ease-out), scale .7s var(--ease-out), opacity .5s; }
.toast[data-pos="1"] { opacity: .5; translate: 0 -22px; scale: .9; z-index: 2; }
.toast[data-pos="1"] > * { opacity: 0; }
.toast[data-pos="0"] { z-index: 3; }
.toast.drop { animation: toast-drop .75s cubic-bezier(.22,1.2,.36,1) both; }
@keyframes toast-drop { from { opacity: 0; translate: 0 -30px; scale: .96; } }
.line-draw { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.6s cubic-bezier(.65,0,.35,1) calc(var(--card-delay,0s) + .2s); }
.info-grid.is-in .line-draw { stroke-dashoffset: 0; }
.after-line { opacity: 0; transition: opacity .8s ease calc(var(--card-delay,0s) + 1.6s); }
.info-grid.is-in .after-line { opacity: 1; }
.ping { position: absolute; width: 9px; height: 9px; border-radius: 99px; background: var(--primary); translate: -50% -50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent); }
.info-grid.is-in .ping { animation: ping 2.4s ease-out 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.wires path { fill: none; stroke: color-mix(in srgb, var(--primary) 45%, transparent); stroke-width: 1; stroke-dasharray: 3 4; }
.node { position: absolute; width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center; }
.node i { width: 20px; height: 20px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.winner { border-color: color-mix(in srgb, var(--primary) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent), 0 24px 48px -20px rgba(0,0,0,.9), 0 0 40px -10px color-mix(in srgb, var(--primary) 50%, transparent); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; flex: none; }
.tag.ok { color: #6ee7a8; background: rgba(110,231,168,.14); }
.tag.bad { color: #f59e9e; background: rgba(245,158,158,.14); }
.thumb { width: 36px; height: 36px; flex: none; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.row-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; }
.row-item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-item .t b { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Stack sticky ---------- */
.stack-sec { overflow: clip; padding: clamp(64px,8vw,112px) var(--pad) clamp(72px,9vw,128px); }
.stack { --stack-top: clamp(56px, 10vh, 112px); display: flex; flex-direction: column; gap: clamp(28px,3.4vw,48px); margin-top: clamp(44px,5vw,72px); }
.stack-card {
  position: sticky; top: var(--stack-top); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  min-height: clamp(420px, 62vh, 600px); border-radius: 20px; border: 1px solid var(--border); background: var(--card);
  transform-origin: 50% 0; will-change: transform;
  transform: scale(calc(1 - .07 * var(--covered, 0))) translateY(calc((1 - var(--enter, 0)) * 26px));
  opacity: var(--enter, 0); transition: opacity .62s cubic-bezier(.22,.7,.2,1);
}
.stack-card.is-in { --enter: 1; }
.stack-card > * { opacity: calc(1 - .55 * var(--covered, 0) * var(--covered, 0)); }
.stack-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px,4vw,56px); }
.stack-copy .k { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.stack-copy .k i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px color-mix(in srgb, var(--primary) 70%, transparent); }
.stack-copy h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.18; }
.stack-copy p { margin: 0; font-size: 15px; line-height: 1.625; color: rgba(255,255,255,.6); max-width: 42ch; }
.stack-art { position: relative; overflow: hidden; background: var(--muted); }
.stack-card:nth-child(2n) .stack-art { order: -1; }
@media (max-width: 859px) {
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .stack-card:nth-child(2n) .stack-art { order: 0; }
  .stack-art { aspect-ratio: 4 / 3; }
}

/* ---------- Plataforma (portátil 3D) ---------- */
.mb-sec { height: 300svh; background: var(--background); }
.mb-stage { position: sticky; top: 0; height: 100svh; width: 100%; overflow: hidden; background: var(--background); }
.mb-light, .mb-grain { position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(180deg, transparent 0, #000 170px, #000 calc(100% - 170px), transparent 100%); }
.mb-light {
  opacity: var(--mb-light, 1);
  background: radial-gradient(42% 46% at 62% 52%, color-mix(in srgb, var(--primary) 26%, transparent) 0%, color-mix(in srgb, var(--primary) 16%, transparent) 26%, color-mix(in srgb, var(--primary) 6%, transparent) 52%, color-mix(in srgb, var(--primary) 1%, transparent) 76%, transparent 100%);
}
.mb-lattice {
  position: absolute; inset: 0; pointer-events: none; --ink: #ffffff17; --gd: #ffffff24;
  background-image:
    linear-gradient(var(--gd),var(--gd)), linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--gd),var(--gd)), linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--gd),var(--gd)), linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)), linear-gradient(var(--ink),var(--ink)),
    linear-gradient(var(--gd),var(--gd)), linear-gradient(180deg, var(--ink) 0 1px, transparent 1px);
  background-repeat: no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,repeat-y;
  background-size: 1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,1px 100%,100% 10vw;
  background-position: 2.3% 0,9.225% 0,16.15% 0,23.075% 0,30% 0,40% 0,50% 0,60% 0,70% 0,76.925% 0,83.85% 0,90.775% 0,97.7% 0,0 0;
  mask-image: radial-gradient(38% 52% at 62% 52%, #000 0%, #000000b3 35%, #00000040 65%, transparent 100%);
}
.mb-copy { position: absolute; z-index: 3; top: clamp(32px, 6vh, 72px); left: 0; right: 0; text-align: center; padding: 0 var(--pad); }
.mb-copy h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.04; }
.mb-copy p { max-width: 500px; margin: 24px auto 0; }
.mb-copy .cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 32px; }
.mb-aside { display: none; }
@media (min-width: 900px) and (orientation: landscape) {
  .mb-copy { text-align: left; width: min(620px, 44vw); top: 50%; left: max(var(--pad), 50% - 580px); right: auto; translate: 0 -50%; }
  .mb-copy p { margin-inline: 0; }
  .mb-copy .cta-row { justify-content: flex-start; }
  .mb-aside { display: block; position: absolute; z-index: 3; top: 50%; right: var(--pad); translate: 0 -50%; max-width: 300px; pointer-events: none; }
  .mb-aside.is-in { pointer-events: auto; }
}
.mb-aside > *, .mb-aside li { opacity: 0; translate: 0 10px; transition: opacity .3s, translate .3s; }
.mb-aside.is-in > *, .mb-aside.is-in li { opacity: 1; translate: 0; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); }
.mb-aside.is-in li:nth-child(1) { transition-delay: .12s; } .mb-aside.is-in li:nth-child(2) { transition-delay: .22s; } .mb-aside.is-in li:nth-child(3) { transition-delay: .32s; }
.mb-aside.is-in > .aside-cta { transition-delay: .44s; }
.mb-aside ul { list-style: none; margin: 18px 0 0; padding: 0; }
.mb-aside li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid; border-image: linear-gradient(90deg, rgba(255,255,255,.12), transparent) 1; }
.mb-aside li:first-child { border-top: 0; padding-top: 0; }
.mb-aside strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.25rem); line-height: 1; }
.mb-aside li span { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.5; }
.aside-cta { margin-top: 26px; }

.laptop-scene { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; perspective: 2200px; pointer-events: none; }
.laptop {
  --w: min(70vw, 900px); --h: calc(var(--w) * .64); --d: calc(var(--w) * .66);
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
  transform: translate3d(var(--lx, 0), var(--ly, 0), 0) rotateX(var(--rx, -16deg)) rotateY(var(--ry, -22deg)) scale(var(--ls, .9));
}
.lid { position: absolute; inset: 0; transform-origin: 50% 100%; transform-style: preserve-3d; transform: rotateX(var(--lid, -90deg)); }
.lid-face { position: absolute; inset: 0; border-radius: calc(var(--w) * .02) calc(var(--w) * .02) 4px 4px; backface-visibility: hidden; }
.lid-front { background: #0b0c10; padding: calc(var(--w) * .016); box-shadow: inset 0 0 0 1.5px #2b2e36; }
.lid-back { transform: rotateY(180deg); background: linear-gradient(160deg, #3a3d45, #24262c 60%, #1b1d22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: grid; place-items: center; }
.lid-back img { height: 16%; opacity: .35; }
.lid-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .008); overflow: hidden; background: #060816; opacity: var(--screen-on, 0); transition: opacity .3s; }
.lid-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(198deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.035) 16%, transparent 46%); }
.base {
  position: absolute; left: -2%; right: -2%; top: 100%; height: var(--d); transform-origin: 50% 0; transform: rotateX(90deg);
  border-radius: 6px 6px calc(var(--w) * .03) calc(var(--w) * .03);
  background: linear-gradient(180deg, #5d6069, #7b7e87 30%, #6a6d76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 -6px 18px rgba(0,0,0,.3);
}
.keys { position: absolute; left: 12%; right: 12%; top: 9%; height: 46%; border-radius: 8px; background: #17181c;
  background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: calc(100% / 14) calc(100% / 6); box-shadow: inset 0 0 0 2px #0e0f12; }
.trackpad { position: absolute; left: 32%; right: 32%; top: 61%; height: 32%; border-radius: 10px; background: linear-gradient(180deg, #6c6f78, #63666f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.base-front { position: absolute; left: -2%; right: -2%; top: 100%; height: calc(var(--w) * .022); transform-origin: 50% 0; transform: translateZ(var(--d)); background: linear-gradient(180deg, #4a4d55, #2c2e33); border-radius: 0 0 14px 14px; }
.laptop-shadow { position: absolute; left: 4%; right: 4%; top: 100%; height: var(--d); transform-origin: 50% 0; transform: rotateX(90deg) translateZ(-2px); background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); filter: blur(20px); }

/* Pantalla del portátil (dashboard) */
.pd { display: flex; height: 100%; font-family: var(--font-body); color: #fff; font-size: calc(var(--w) * .0125);
  background: radial-gradient(circle at 55% 0, color-mix(in srgb, var(--primary) 13%, transparent) 0%, var(--background) 34%, #090911 100%); }
.pd-side { width: 18%; background: #0b0e1c; border-right: 1px solid rgba(255,255,255,.06); padding: 1.4em 1em; display: flex; flex-direction: column; gap: 1.2em; }
.pd-side .lg { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: 1.05em; }
.pd-side .lg img { height: 1.6em; }
.pd-side .h { font-size: .7em; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.pd-side a { display: flex; align-items: center; gap: .6em; padding: .45em .6em; font-size: .9em; color: rgba(255,255,255,.65); border-radius: 4px; }
.pd-side a.on { background: rgba(255,255,255,.06); box-shadow: inset 2px 0 0 var(--primary); color: #fff; }
.pd-side a i { width: .9em; height: .9em; border-radius: 3px; border: 1px solid currentColor; opacity: .7; }
.pd-main { flex: 1; padding: 1.4em 1.6em; display: flex; flex-direction: column; gap: 1.2em; min-width: 0; }
.pd-hello { font-family: var(--font-display); font-weight: 600; font-size: 1.4em; }
.pd-hello small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .55em; color: rgba(255,255,255,.5); margin-top: .3em; }
.pd-hero { position: relative; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: var(--card); padding: 1.6em; min-height: 32%; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .6em; }
.pd-hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 30%, transparent), transparent); }
.pd-hero .e { font-size: .7em; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.pd-hero b { font-family: var(--font-display); font-size: 1.5em; font-weight: 600; }
.pd-hero .pb { display: inline-flex; align-self: flex-start; padding: .55em 1em; border-radius: 5px; background: var(--primary); color: var(--primary-foreground); font-weight: 600; font-size: .85em; position: relative; z-index: 1; }
.pd-phases { display: flex; gap: .8em; flex: 1; min-height: 0; }
.pd-phase { flex: 1; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; filter: saturate(.7) brightness(.85); }
.pd-phase.cur { border-color: color-mix(in srgb, var(--primary) 60%, transparent); box-shadow: 0 0 24px -8px var(--primary); filter: none; }
.pd-phase .n { position: absolute; left: .4em; top: .1em; font-family: var(--font-display); font-weight: 800; font-size: 3.2em; color: rgba(255,255,255,.9); }
.pd-phase .c { position: absolute; left: .7em; bottom: .7em; right: .7em; font-size: .85em; font-weight: 500; }
.pd-phase .c i { display: block; height: 2px; margin-top: .4em; border-radius: 2px; background: rgba(255,255,255,.18); }
.pd-phase .c i::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--primary); border-radius: 2px; }
.pd-aside { width: 22%; padding: 1.4em 1em; border-left: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: .8em; }
.pd-aside .h { font-size: .7em; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.pd-ev { display: flex; gap: .7em; align-items: center; padding: .5em 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .85em; }
.pd-ev b { display: flex; flex-direction: column; align-items: center; font-size: 1.2em; line-height: 1; width: 1.8em; }
.pd-ev b small { font-size: .45em; letter-spacing: .14em; color: rgba(255,255,255,.55); margin-top: .3em; font-weight: 500; }
.pd-ev span { color: rgba(255,255,255,.75); }

/* ---------- Testimonios (abanico) ---------- */
.testi-sec { overflow: hidden; padding: clamp(72px,9vw,128px) var(--pad) clamp(56px,7vw,96px); }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.center-head .h-display { max-width: 760px; }
.center-head .lead { max-width: 560px; }
.fan-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 0 16px; margin-top: clamp(32px,5vw,64px); }
.fan { position: relative; width: 100%; max-width: 80rem; height: 15rem; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.fan-card {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 15rem; aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden; border: 0; padding: 0; margin: 0; cursor: pointer; background: #0b0e1c;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .7s var(--ease-out), opacity .5s, filter .5s;
}
.fan-card .art { position: absolute; inset: 0; }
.fan-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.05) 50%, rgba(0,0,0,.6)); transition: opacity .3s; }
.fan-card:hover .fan-veil { opacity: .6; }
.fan-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(5,8,22,.45); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); color: #fff;
  transition: scale .3s, background-color .3s, border-color .3s, box-shadow .3s, color .3s; }
.fan-play svg { width: 18px; height: 18px; margin-left: 3px; }
.fan-card:hover .fan-play { background: var(--primary); color: var(--primary-foreground); border-color: transparent; scale: 1.1; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.fan-label { position: absolute; left: 16px; bottom: 12px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.fan-caption { position: relative; z-index: 30; width: 100%; max-width: 40rem; min-height: 6.25rem; margin-top: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fan-count { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--primary); font-variant-numeric: tabular-nums; }
.fan-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; margin: 8px 0 0; font-size: clamp(18px, 1.4vw + 12px, 24px); line-height: 1.3; text-wrap: balance; transition: opacity .3s, filter .3s; }
.fan-title.out { opacity: 0; filter: blur(8px); }
.fan-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.fan-arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 7px; cursor: pointer; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); box-shadow: 0 4px 20px rgba(0,0,0,.4); transition: border-color .3s, color .3s; }
.fan-arrow:hover { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 50%, transparent); }
.fan-arrow svg { width: 18px; height: 18px; }
.fan-dots { display: flex; gap: 6px; }
.fan-dot { width: 6px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.15); transition: width .3s, background-color .3s; }
.fan-dot.on { width: 16px; background: var(--primary); }
@media (min-width: 640px) { .fan { height: 18rem; } .fan-card { width: 20rem; } .fan-play { width: 56px; height: 56px; } }
@media (min-width: 768px) { .fan { height: 20rem; } .fan-card { width: 24rem; } .fan-caption { margin-top: 56px; min-height: 5.75rem; } .fan-arrow { width: 48px; height: 48px; } }
@media (min-width: 1024px) { .fan { height: 24rem; } .fan-card { width: 30rem; } }
@media (min-width: 1280px) { .fan { height: 27rem; } .fan-card { width: 34rem; } }
.disclaimer { position: relative; max-width: 640px; margin: clamp(28px,4vw,48px) auto 0; text-align: center; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.4); }

/* ---------- Acordeón temario ---------- */
.acc-sec { overflow: hidden; padding: clamp(40px,5vw,64px) var(--pad) clamp(72px,9vw,128px); }
.acc { display: flex; flex-direction: column; gap: 12px; height: 1100px; margin-top: clamp(40px,5vw,64px); }
@media (min-width: 1024px) { .acc { flex-direction: row; height: clamp(360px, 44vw, 560px); } }
.acc-item {
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0; min-height: 0; cursor: pointer; text-align: left;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: var(--background); padding: 0; container-type: inline-size;
  transition: flex-grow .5s ease-out;
}
.acc-item[aria-expanded="true"] { flex-grow: 2.6; }
.acc-art { position: absolute; inset: 0; transition: transform .7s ease-out; }
.acc-item:hover .acc-art { transform: scale(1.05); }
.acc-num { position: absolute; top: 18px; left: 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 22cqw, 120px); line-height: 1; letter-spacing: -.05em; color: rgba(255,255,255,.08); }
.acc-text { position: absolute; inset-inline: 0; bottom: -1px; padding: 80px 20px 28px; background: linear-gradient(0deg, var(--background), color-mix(in srgb, var(--background) 70%, transparent), transparent); }
.acc-text p { margin: 0; }
.acc-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(13px, 9cqw, 23px); translate: 0 8px; transition: translate .26s; }
.acc-d-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s ease-out; }
.acc-d { min-height: 0; overflow: hidden; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.6); max-width: 40ch; opacity: 0; translate: 0 18px; transition: opacity .26s, translate .26s; }
.acc-item[aria-expanded="true"] .acc-t { translate: 0; }
.acc-item[aria-expanded="true"] .acc-d-wrap { grid-template-rows: 1fr; }
.acc-item[aria-expanded="true"] .acc-d { opacity: 1; translate: 0; transition-delay: 60ms; padding-top: 6px; }

/* ---------- FAQ ---------- */
.faq-sec { overflow: hidden; padding: clamp(72px,9vw,128px) var(--pad) 0; }
.faq-grid { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px,5vw,72px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.faq { border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.024); backdrop-filter: blur(10px); transition: border-color .25s, background-color .25s; }
.faq:hover { border-color: rgba(255,255,255,.11); }
.faq.open { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.faq button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 16px; font-weight: 500; }
.faq button:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; border-radius: 14px; }
.faq button svg { width: 16px; height: 16px; flex: none; color: rgba(255,255,255,.45); transition: transform .25s; }
.faq.open button svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 0 22px 22px; max-width: 560px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.6); }

/* ---------- CTA globo + footer ---------- */
.cta-wrap { position: relative; z-index: 1; }
.cta-sec {
  position: relative; z-index: 2; overflow: clip; isolation: isolate; border-radius: 0 0 28px 28px; background: var(--background);
  box-shadow: 0 40px 60px -20px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.08);
  padding: clamp(36px,3.6vw,56px) clamp(24px,5vw,72px) clamp(72px,9vw,132px) clamp(24px,10vw,160px);
}
.cta-bg { position: absolute; inset: 0; z-index: -10; }
.cta-fade { position: absolute; top: 0; left: 0; right: 0; z-index: -5; height: clamp(170px,26vw,400px); pointer-events: none; background: linear-gradient(180deg, var(--background) 0%, rgba(5,8,22,.5) 50%, rgba(5,8,22,0) 100%); }
.cta-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px,4vw,64px); align-items: center; }
.cta-copy { display: flex; flex-direction: column; align-items: flex-start; }
.cta-copy .live { display: flex; align-items: center; gap: 8px; }
.globe-box {
  position: relative; width: 138%; max-width: 810px; aspect-ratio: 1; justify-self: end;
  margin: 10% calc(-1 * clamp(24px,5vw,72px) - 27%) -42% 0;
  opacity: 0; transform: translateX(45%) rotate(12deg); transition: opacity 1s ease .15s, transform 1.4s cubic-bezier(.16,1,.3,1) .15s;
}
.globe-box.is-in { opacity: 1; transform: none; }
.globe-box canvas { width: 100% !important; height: 100% !important; }
.globe-tag { position: absolute; padding: 2px 6px; border-radius: 4px; font-size: 10px; background: rgba(5,8,22,.85); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); pointer-events: none; transition: opacity .3s; }
@media (max-width: 719px) { .globe-box { width: 120%; margin: 0 -30% -50% 0; } }

.footer { position: sticky; bottom: 0; z-index: 0; overflow: hidden; background: var(--background); padding: clamp(56px,7vw,96px) var(--pad) 28px; }
.footer-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px 40px; }
.footer .col { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer .col-h { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer .col p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 300px; }
.footer .links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.footer .links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer .links a:hover { color: #fff; }
.footer-bottom { position: relative; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: rgba(255,255,255,.4); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-legal { position: relative; margin-top: 20px; max-width: 760px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.4); }

/* ---------- Modal de registro ---------- */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 120; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-veil { position: absolute; inset: 0; background: rgba(3,5,14,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.modal.open .modal-veil { opacity: 1; }
.modal-card {
  position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  border-radius: 20px; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  background:
    radial-gradient(120% 60% at 16% -6%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%),
    var(--card-elevated);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent), 0 40px 100px -30px rgba(0,0,0,.9), 0 24px 60px -30px color-mix(in srgb, var(--primary) 50%, transparent);
  padding: 30px 26px 24px;
  opacity: 0; filter: blur(10px); transform: translateY(-20px) scale(.98); transition: all .45s var(--ease-out);
}
.modal.open .modal-card { opacity: 1; filter: blur(0); transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); cursor: pointer; color: rgba(255,255,255,.7); }
.modal-x:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.modal-card h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-size: 26px; line-height: 1.15; margin: 10px 0 8px; }
.modal-card .sub { margin: 0 0 22px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.6); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus { border-color: color-mix(in srgb, var(--primary) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); background: rgba(255,255,255,.06); }
.field.err input { border-color: #f59e9e; }
.field .msg { font-size: 12px; color: #f59e9e; display: none; }
.field.err .msg { display: block; }
.phone-row { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.field select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23ffffff80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.field select option { background: #101322; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.55); margin: 6px 0 18px; cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.consent.err { color: #f59e9e; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.5); }
.form-note svg { width: 14px; height: 14px; color: var(--primary); }
.form-error { display: none; margin: 10px 0 0; font-size: 13px; color: #f59e9e; text-align: center; }
.form-error.show { display: block; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Página masterclass ---------- */
.mc-sec { position: relative; overflow: clip; padding: clamp(120px, 10vw, 168px) var(--pad) clamp(64px, 8vw, 112px); min-height: 100svh; }
.mc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 860px; margin: 0 auto; }
.mc-head .h-display { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.04; }
.mc-video { position: relative; max-width: 1080px; margin: clamp(40px,4vw,64px) auto 0; }
.mc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mc-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(40px,4vw,56px); }
.mc-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); max-width: 1080px; margin: clamp(56px,6vw,96px) auto 0; }
.mc-step { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: 26px; }
.mc-step .n { font-family: var(--font-display); font-weight: 700; font-size: 44px; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mc-step h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin: 16px 0 8px; }
.mc-step p { margin: 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.55); }

/* ---------- Utilidades responsive ---------- */
.only-touch { display: none; }
@media (hover: none) { .only-hover { display: none; } .only-touch { display: inline; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; filter: none; transform: none; }
  .letters .l { opacity: 1; }
}
