/* =============================================================================
   STREAMING TRADING — Sistema de diseño "EL REGISTRO VIVO"
   Editorial fintech · negro profundo · ámbar = acción · jade = verificado
   Tres voces tipográficas: Fraunces (autoridad) · Inter (interfaz) · IBM Plex Mono (cifras)
   ============================================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Color — marca Streaming Trading: AZUL + BLANCO (1ª equipación) sobre azul-noche;
     negro/blanco como 2ª equipación (profundidad). */
  --bg: #05080F;              /* azul-noche profundo */
  --bg-elevated: #070D18;
  --surface: #0B1322;
  --surface-2: #101B30;
  --surface-hover: #152238;
  --text: #EAF0F8;
  --text-strong: #FFFFFF;
  --muted: #93A3BC;
  --muted-strong: #B7C4D8;
  --faint: #64748B;
  --border: #1A2740;
  --border-strong: #26365A;
  --hairline: #121D31;
  --accent: #2563EB;          /* AZUL MARCA — solo acción (CTAs) */
  --accent-hover: #3B82F6;
  --accent-press: #1D4ED8;
  --accent-contrast: #FFFFFF;
  --accent-glow: rgba(59,130,246,0.18);
  --accent2: #4C8DFF;
  --verified: #3ECF8E;        /* JADE — solo verificado/auditado */
  --verified-soft: rgba(62,207,142,0.12);
  --verified-border: rgba(62,207,142,0.35);
  --positive: #3ECF8E;
  --negative: #F2555A;
  --check: #22C55E;           /* VERDE de "incluido" — ticks de lo que incluye */
  --ice: #A9C7FF;             /* azul hielo — acento editorial (antes champagne) */
  --champagne: var(--ice);    /* alias retrocompatible: todo lo "champagne" ahora es azul hielo */
  --focus-ring: #9DC2FF;
  --scrim: rgba(3,6,12,0.74);

  /* Tipografía */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', ui-monospace, Menlo, monospace;

  --fs-eyebrow: 0.75rem;
  --fs-display: clamp(2.75rem, 1.6rem + 5.6vw, 4.75rem);
  --fs-h1: clamp(2.35rem, 1.5rem + 4.2vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.7vw, 2.75rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1.2vw, 1.85rem);
  --fs-h4: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.6vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-body-sm: 0.9375rem;
  --fs-small: 0.8125rem;
  --fs-mono-lg: clamp(2.5rem, 1.6rem + 4vw, 4rem);
  --fs-mono-label: 0.75rem;

  /* Espaciado (8pt) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px;
  --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px; --s-11:160px;

  --container: 1200px;
  --container-text: 720px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-pill: 999px;
  --nav-h: 78px;   /* más alto para dar presencia al logo */

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(59,130,246,0.35); color: #fff; }

/* Skip link (accesibilidad teclado) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 500; transition: top .15s var(--ease); }
.skip-link:focus { top: 12px; }

/* Textura de grano sutil + viñeta */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,0.025), transparent 60%),
    radial-gradient(100% 100% at 50% 100%, rgba(0,0,0,0.35), transparent 70%);
}

/* ---------- TIPOGRAFÍA UTIL ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.eyebrow--accent { color: var(--champagne); }
h1,h2,h3 { font-family: var(--font-display); font-optical-sizing: auto; color: var(--text-strong); font-weight: 500; }
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-family: var(--font-ui); font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; color: var(--text-strong); }
p { color: var(--muted-strong); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted-strong); max-width: 42ch; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
em { font-style: italic; color: var(--champagne); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.section { padding-block: clamp(4.5rem, 3rem + 8vw, 9rem); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.section-head h2 { margin-bottom: var(--s-5); }
.section-head .lead { max-width: 68ch; }
.divider { height: 1px; background: var(--hairline); border: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(5,9,17,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline); background: rgba(5,9,17,0.88); }
.nav__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--s-6); }
.nav__logo { flex: none; }
.nav__logo img { height: 36px; width: auto; transition: height .2s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 31px; }   /* se condensa un poco al hacer scroll */
.nav__links { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; flex-wrap: nowrap; white-space: nowrap; }
.nav__link {
  font-size: 0.9375rem; font-weight: 500; color: var(--muted);
  position: relative; padding-block: 4px; transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px; background: var(--champagne); transition: right .2s var(--ease); }
.nav__link:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: var(--s-4); }
.nav__area { font-size: 0.9375rem; font-weight: 500; color: var(--muted-strong); display: inline-flex; align-items: center; gap: 6px; }
.nav__area:hover { color: var(--text); }
.nav__burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
.nav__burger span::before, .nav__burger span::after { content:""; position:absolute; left:0; width:18px; height:1.5px; background: var(--text); }
.nav__burger span::before { top:-5px; } .nav__burger span::after { top:5px; }

/* Selector de idioma — destacado: no debe pasar desapercibido */
.langsw { display: inline-flex; align-items: center; gap: 4px;
  background: rgba(37,99,235,.10); border: 1px solid rgba(76,141,255,.42); border-radius: var(--radius-pill);
  padding: 4px; height: 44px; box-shadow: 0 0 0 3px rgba(37,99,235,.07); }
.langsw__globe { display: flex; align-items: center; justify-content: center; width: 22px; margin-left: 5px; color: var(--ice); flex: none; }
.langsw__globe svg { width: 16px; height: 16px; }
.langsw__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: var(--radius-pill);
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; letter-spacing: .03em; color: var(--muted-strong);
  transition: color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.langsw__btn:hover { color: var(--text-strong); background: rgba(255,255,255,.06); }
.langsw__btn img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.langsw__btn[aria-pressed="true"] {
  color: #fff; background: var(--accent);
  box-shadow: 0 2px 10px rgba(37,99,235,.45);
}
.langsw__btn[aria-pressed="true"] img { box-shadow: 0 0 0 1px rgba(255,255,255,.5); }

/* ---------- BOTONES ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-ui); font-weight: 600; font-size: 0.9375rem; letter-spacing: .01em;
  padding: 14px 24px; border-radius: var(--radius-sm); transition: all .18s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 6px 24px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--primary:active { background: var(--accent-press); transform: translateY(0); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--champagne); background: rgba(169,199,255,0.07); }
.btn--sm { padding: 9px 16px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; color: var(--muted-strong); transition: color .15s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow .arr { transition: transform .18s var(--ease); }
.link-arrow:hover .arr { transform: translate(2px,-2px); }

/* Badge verificado (JADE — solo auditable) */
.vbadge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--verified-soft); border: 1px solid var(--verified-border);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--verified); }
.vbadge svg { width: 14px; height: 14px; flex: none; }

/* ---------- HERO — INTRO A PANTALLA COMPLETA ----------
   La animación de mercado ocupa toda la primera pantalla; se hace scroll
   (indicador abajo) para ver el resto. 100vh como fallback de 100svh. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-h); padding-bottom: 92px; /* hueco reservado al indicador de scroll */
  overflow: hidden; }
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 45% at 50% 90%, var(--accent-glow), transparent 70%);
  animation: breathe 7s ease-in-out infinite; }
.hero__grid-bg { position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5;
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px), linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%); }

/* Mercado vivo: canvas de velas + línea de precio (decorativo, aria-hidden) */
.hero__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(64% 58% at 50% 44%, rgba(5,8,15,.84) 0%, rgba(5,8,15,.44) 56%, rgba(5,8,15,0) 80%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 72%, var(--bg) 100%); }

/* Escenario centrado */
.hero__stage { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__eyebrow { margin-bottom: var(--s-5); animation: heroRise .7s var(--ease) .1s backwards; }
.hero__eyebrow::after { content: "▌"; margin-left: 7px; color: var(--accent2); animation: blink 1.1s steps(1) infinite; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.022em;
  color: var(--text-strong); margin: 0 auto var(--s-5); max-width: 17ch; animation: heroRise .9s var(--ease) .25s backwards; }
.hero__sub { font-size: var(--fs-lead); color: var(--muted-strong); max-width: 56ch; margin: 0 auto var(--s-6); animation: heroRise .9s var(--ease) .45s backwards; }
.hero__title em { position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: 0; bottom: .02em; height: 3px; width: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--ice)); transform: scaleX(0); transform-origin: left;
  animation: sweepIn .8s var(--ease) 1.15s forwards; }
.hero__chip { margin-bottom: var(--s-6); display: inline-flex; align-items: center; justify-content: center; gap: var(--s-4); flex-wrap: wrap;
  animation: heroRise .8s var(--ease) .65s backwards; }
.hero__chip .link-arrow { color: var(--verified); }
.hero__ctas { display: flex; justify-content: center; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6);
  animation: heroRise .8s var(--ease) .8s backwards; }
.hero__session { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-mono-label); color: var(--muted); letter-spacing: .04em;
  animation: heroRise .8s var(--ease) .95s backwards; }
.hero__session .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.hero__session.is-open .dot { background: var(--positive); box-shadow: 0 0 0 3px rgba(62,207,142,0.15); }
@keyframes heroRise { from { opacity: 0; transform: translateY(28px); filter: blur(7px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sweepIn { to { transform: scaleX(1); } }

/* Indicador de scroll */
.hero__scrollcue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  animation: heroRise .8s var(--ease) 1.7s backwards; transition: color .18s var(--ease); }
.hero__scrollcue:hover { color: var(--text); }
.hero__scrollcue-line { width: 1px; height: 44px; background: linear-gradient(var(--accent2), transparent); position: relative; overflow: hidden; }
.hero__scrollcue-line::after { content: ""; position: absolute; top: -10px; left: -2px; width: 5px; height: 10px; border-radius: 3px;
  background: #fff; box-shadow: 0 0 10px rgba(91,157,255,.95); animation: cueDrop 1.9s ease-in .5s infinite; }
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 75% { transform: translateY(54px); opacity: 0; } 100% { transform: translateY(54px); opacity: 0; } }

/* Pantallas bajas: compactar el intro para que TODO quepa en un viewport */
@media (max-height: 820px) {
  .hero__title { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.3rem); margin-bottom: var(--s-4); }
  .hero__sub { font-size: 1.02rem; margin-bottom: var(--s-5); max-width: 62ch; }
  .hero__eyebrow { margin-bottom: var(--s-4); }
  .hero__chip { margin-bottom: var(--s-5); }
  .hero__ctas { margin-bottom: var(--s-4); }
  .hero__scrollcue-line { height: 30px; }
  .hero { padding-bottom: 74px; }
}
/* En móvil el gráfico queda detrás del texto: se refuerza el velo central */
@media (max-width: 720px) {
  .hero__canvas { opacity: .55; }
  .hero__scrim { background:
    radial-gradient(78% 52% at 50% 46%, rgba(5,8,15,.93) 0%, rgba(5,8,15,.66) 58%, rgba(5,8,15,.12) 84%),
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 74%, var(--bg) 100%); }
}
@media (max-height: 660px) {
  .hero__title { font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem); }
  .hero__sub { font-size: .95rem; margin-bottom: var(--s-4); }
  .hero__chip { margin-bottom: var(--s-4); }
  .hero__session { display: none; }         /* el reloj cede sitio al CTA */
  .hero__scrollcue-line { height: 22px; }
  .hero { padding-bottom: 62px; }
}

/* Marco de autoridad (imagen / vídeo) */
.frame { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4/5; }
.frame::before, .frame::after { content:""; position:absolute; width:16px; height:16px; z-index:3; pointer-events:none; }
.frame::before { top:10px; left:10px; border-top:1px solid var(--champagne); border-left:1px solid var(--champagne); }
.frame::after { bottom:10px; right:10px; border-bottom:1px solid var(--champagne); border-right:1px solid var(--champagne); }
.frame__media { width:100%; height:100%; object-fit: cover; filter: grayscale(.3) contrast(1.05) brightness(.9); }
.frame__bar { position:absolute; top:0; left:0; right:0; z-index:2; display:flex; align-items:center; gap:8px; padding:10px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing:.06em; color: var(--muted); background: linear-gradient(var(--bg), transparent); }
.frame__bar .dotmark { width:7px; height:7px; border-radius:50%; background: var(--muted); flex:none; }
.frame__play { position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; }
.frame__play button { display:flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:50%;
  background: rgba(5,9,17,.55); border:1px solid rgba(255,255,255,.25); backdrop-filter: blur(4px); transition: all .2s var(--ease); }
.frame__play button:hover { border-color: var(--champagne); background: rgba(5,9,17,.7); transform: scale(1.06); }
.frame__play svg { width:22px; height:22px; margin-left:3px; fill: #fff; }
.frame__play button:hover svg { fill: var(--champagne); }
.frame__cap { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:14px 14px 12px; font-size:.8125rem; color:var(--muted);
  background: linear-gradient(transparent, rgba(3,6,12,.85)); }
.frame.is-playing .frame__media, .frame.is-playing .frame__play, .frame.is-playing .frame__cap { display:none; }
.frame__iframe { width:100%; height:100%; border:0; }

/* ---------- TRUST TICKER ---------- */
.trustbar { border-block: 1px solid var(--hairline); background: var(--bg-elevated); overflow: hidden; position: relative; z-index: 1; }
.trustbar__track { display: flex; align-items: center; gap: var(--s-7); padding-block: 18px; width: max-content; animation: marquee 45s linear infinite; }
.trustbar:hover .trustbar__track { animation-play-state: paused; }
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.trustbar__item::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--champagne); flex:none; }
.trustbar__item.is-verified::before { background: var(--verified); }

/* ---------- PROBLEM ---------- */
.problem__body { max-width: 62ch; font-size: var(--fs-lead); color: var(--muted-strong); }
.problem__body strong { color: var(--text); font-weight: 600; }

/* ---------- METHOD (steps) ---------- */
.steps { display: grid; gap: 0; margin-top: var(--s-6); border-top: 1px solid var(--hairline); }
.step { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(1rem,4vw,3rem); padding-block: var(--s-6); border-bottom: 1px solid var(--hairline); align-items: start; transition: background .2s var(--ease); }
.step:hover { background: rgba(255,255,255,0.015); }
.step__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--text-strong); letter-spacing: -.01em; }
.step__num { font-family: var(--font-mono); color: var(--champagne); }
.step__desc { color: var(--muted-strong); font-size: var(--fs-body); max-width: 60ch; }

/* ---------- KINFO / RESULTS ---------- */
.results { position: relative; }
.results__panel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.results__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.results__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.results__left { padding: clamp(1.5rem, 4vw, 2.75rem); border-right: 1px solid var(--hairline); }
.results__body { color: var(--muted-strong); font-size: var(--fs-body); max-width: 60ch; margin-bottom: var(--s-6); }
.results__stats { display: flex; gap: var(--s-8); flex-wrap: wrap; margin-bottom: var(--s-6); }
.stat__num { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); color: var(--text-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.stat__label { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
/* Cifra larga (+800.000 $): algo menor y en verde de resultado */
.stat__num--money { font-size: clamp(1.6rem, 1rem + 1.9vw, 2.3rem); color: var(--check); }
.results__right { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); background: var(--bg-elevated); }
.results__rlabel { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.trade-card { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); background: var(--surface); }
/* Vídeo del trade dentro de la tarjeta */
.frame--trade { aspect-ratio: 16/9; margin: var(--s-4) 0 0; border-radius: var(--radius-sm); }
.frame--trade::before, .frame--trade::after { width: 12px; height: 12px; }
.frame--trade .frame__play button { width: 48px; height: 48px; }
.frame--trade .frame__play svg { width: 17px; height: 17px; }
.frame__tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); background: rgba(5,9,17,.72); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 4px 9px; }
.frame.is-playing .frame__tag { display: none; }
.trade-card__row { display: flex; align-items: baseline; gap: var(--s-3); }
.trade-card__val { font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; color: var(--verified); font-variant-numeric: tabular-nums; }
.trade-card__tkr { font-family: var(--font-mono); font-size: .9rem; color: var(--muted-strong); }
.trade-card__val .tri { color: var(--verified); }
.trade-card__cap { font-size: .8125rem; color: var(--muted); margin-top: var(--s-3); }
.results__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--hairline); }
.results__past { font-size: .8125rem; color: var(--muted); }

/* ---------- YOUTUBE AUTHORITY ---------- */
.yt { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.yt__stats { display: flex; gap: var(--s-8); margin: var(--s-6) 0; }
.yt__media .frame { aspect-ratio: 16/9; }

/* ---------- INCLUDES ---------- */
/* Flex centrado (no grid): así la ÚLTIMA FILA queda centrada y no descuadrada */
.includes__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); }
.incl { flex: 1 1 300px; max-width: 360px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: var(--s-6); transition: border-color .18s var(--ease), transform .18s var(--ease); }
.incl:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.incl__ic { width: 34px; height: 34px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(34,197,94,.32); background: rgba(34,197,94,.10); border-radius: var(--radius-sm); margin-bottom: var(--s-4); }
.incl__ic svg { width: 18px; height: 18px; stroke: var(--check); fill: none; stroke-width: 2.2; }
.incl h3 { font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-h4); line-height: 1.3; color: var(--text-strong); margin-bottom: var(--s-3); }
.incl p { font-size: var(--fs-body-sm); color: var(--muted); }

/* ---------- PRICING ---------- */
.pricing { display: grid; grid-template-columns: 1fr; place-items: center; }
.price-card { position: relative; width: 100%; max-width: 480px; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 -18px 60px -30px var(--accent-glow), 0 20px 50px rgba(0,0,0,0.35); }
.price-card__eyebrow { margin-bottom: var(--s-5); }
.price-card__price { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-2); }
.price-card__amt { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-mono-lg); color: var(--text-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.price-card__note { font-size: .875rem; color: var(--muted); }
.price-card__list { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; gap: var(--s-3); }
.price-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-body-sm); color: var(--muted-strong); }
.price-card__list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; stroke: var(--check); fill: none; stroke-width: 2.4; }
.price-card__nota { font-size: .875rem; color: var(--muted); margin: var(--s-5) 0 var(--s-6); padding-left: var(--s-4); border-left: 2px solid var(--border-strong); }
.price-card__risk { display:block; margin-top: var(--s-4); font-size: .8125rem; color: var(--muted); text-align: center; }
.price-card__risk a { color: var(--muted-strong); text-decoration: underline; text-underline-offset: 2px; }
.price-card__risk a:hover { color: var(--text); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about__photo { border:1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.about__photo img { width:100%; height:100%; object-fit: cover; filter: grayscale(.35) contrast(1.05) brightness(.92); }
.about__body { font-size: var(--fs-body); color: var(--muted-strong); max-width: 62ch; }
.about__sign { margin-top: var(--s-6); }
.about__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-strong); }
.about__role { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }

/* ---------- TESTIMONIALS ---------- */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-5); }
.tcard { position: relative; border:1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .2s var(--ease), transform .2s var(--ease); cursor: pointer; }
.tcard:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tcard__bg { position:absolute; inset:0; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.tcard__thumb { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; filter: grayscale(.5) contrast(1.05) brightness(.8); opacity:0; transition: opacity .4s var(--ease); }
.tcard.has-thumb .tcard__thumb { opacity: 1; }
.tcard__scrim { position:absolute; inset:0; background: linear-gradient(transparent 40%, rgba(3,6,12,.8)); }
.tcard__play { position:relative; z-index:2; align-self:center; margin-bottom:auto; margin-top:auto; width:52px; height:52px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background: rgba(5,9,17,.45); display:flex; align-items:center; justify-content:center; transition: all .2s var(--ease); }
.tcard:hover .tcard__play { border-color: var(--champagne); transform: scale(1.08); }
.tcard__play svg { width:18px; height:18px; margin-left:2px; fill:#fff; }
.tcard:hover .tcard__play svg { fill: var(--champagne); }
.tcard__meta { position: relative; z-index: 2; padding: var(--s-5); }
.tcard__quote { font-family: var(--font-display); font-style: italic; font-size: .95rem; line-height: 1.45; color: var(--text); margin-bottom: var(--s-3); }
.tcard__name { font-family: var(--font-ui); font-weight: 600; font-size: 1.05rem; color: var(--text-strong); line-height: 1.2; }
.tcard__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.tcard__watch { display:inline-flex; align-items:center; gap:6px; margin-top:6px; font-size:.875rem; color: var(--text); font-weight:500; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: var(--gutter); background: var(--scrim); backdrop-filter: blur(6px); }
.lightbox.is-open { display: flex; }
.lightbox__inner { position: relative; width: min(420px, 92vw); }
.lightbox__frame { position: relative; width: 100%; aspect-ratio: 9/16; max-height: 82vh; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border:1px solid var(--border-strong); background: var(--surface); display:flex; align-items:center; justify-content:center; color: var(--text); }
.lightbox__close:hover { border-color: var(--champagne); color: var(--champagne); }
.lightbox__close svg { width:16px; height:16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-4); padding-block: var(--s-5); font-weight: 500; font-size: 1.0625rem; color: var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .q { flex: 1; }
.faq__item summary .ic { width: 22px; height: 22px; flex: none; position: relative; }
.faq__item summary .ic::before, .faq__item summary .ic::after { content:""; position:absolute; background: var(--champagne); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.faq__item summary .ic::before { top:50%; left:3px; right:3px; height:1.5px; transform: translateY(-50%); }
.faq__item summary .ic::after { left:50%; top:3px; bottom:3px; width:1.5px; transform: translateX(-50%); }
.faq__item[open] summary .ic::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__item[open] summary { color: var(--text-strong); }
.faq__answer { padding: 0 0 var(--s-6) 0; color: var(--muted-strong); font-size: var(--fs-body); max-width: 68ch; line-height: 1.7; }

/* ---------- RISK ---------- */
.risk { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); padding: clamp(1.5rem, 4vw, 2.25rem); max-width: 900px; }
.risk__title { display:flex; align-items:center; gap:10px; font-family: var(--font-mono); font-size: 12px; letter-spacing:.08em; text-transform: uppercase; color: var(--muted-strong); margin-bottom: var(--s-4); }
.risk__title svg { width:16px; height:16px; stroke: var(--muted); fill:none; stroke-width:1.5; }
.risk__body { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.7; }

/* ---------- FINAL CTA ---------- */
.finalcta { text-align: center; }
.finalcta__inner { max-width: 720px; margin-inline: auto; }
.finalcta h2 { margin-bottom: var(--s-5); }
.finalcta .lead { margin-inline: auto; max-width: 60ch; margin-bottom: var(--s-7); }
.finalcta__actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--hairline); background: var(--bg-elevated); padding-block: var(--s-9) var(--s-7); position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-7); margin-bottom: var(--s-8); }
.footer__brand img { height: 38px; margin-bottom: var(--s-5); }
.footer__brand p { font-size: var(--fs-body-sm); color: var(--muted); max-width: 34ch; }
.footer__col h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-4); font-weight: 500; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.footer__col a { font-size: var(--fs-body-sm); color: var(--muted-strong); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-6); border-top: 1px solid var(--hairline); }
.footer__legal { font-size: .8125rem; color: var(--muted); }
.footer__social { display: flex; gap: var(--s-3); }
.footer__social a { width: 36px; height: 36px; border:1px solid var(--border); border-radius: var(--radius-sm); display:flex; align-items:center; justify-content:center; color: var(--muted); transition: all .18s var(--ease); }
.footer__social a:hover { color: var(--text); border-color: var(--border-strong); }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- WHATSAPP FLOAT ---------- */
.wafloat { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #1FAF52; display:flex; align-items:center; justify-content:center; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .18s var(--ease); }
.wafloat:hover { transform: scale(1.06); }
.wafloat svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- PÁGINAS INTERIORES (contacto / gracias / 404) ---------- */
.pagehead { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); overflow: hidden; }
.pagehead__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 0%, var(--accent-glow), transparent 70%); }
.pagehead--center { min-height: 72vh; display: flex; align-items: center; }
.pagehead h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.02em; color: var(--text-strong); margin-bottom: var(--s-5); }

.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-6); align-items: start; }
.contact__side { display: grid; gap: var(--s-6); }
.contact__card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact__cardtitle { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 600; color: var(--text-strong); margin-bottom: var(--s-5); }

/* Formulario */
.cform { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 7px; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--muted-strong); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--text);
  background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .16s var(--ease), background .16s var(--ease); }
.field input:hover, .field textarea:hover { border-color: var(--ice); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface-2); box-shadow: 0 0 0 3px var(--accent-glow); }
.field textarea { resize: vertical; min-height: 96px; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: .8125rem; color: var(--muted); }
.checkline input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.checkline a { color: var(--ice); }
.cform__note { font-size: .75rem; color: var(--faint); text-align: center; }

/* Canales directos */
.chan { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .18s var(--ease), transform .18s var(--ease), background .18s var(--ease); }
.chan + .chan { margin-top: var(--s-3); }
.chan:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-1px); }
.chan__ic { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--muted-strong); }
.chan__ic svg { width: 20px; height: 20px; }
.chan__ic--wa { background: rgba(31,175,82,.12); border-color: rgba(31,175,82,.35); color: #1FAF52; }
.chan__txt { display: grid; gap: 2px; }
.chan__txt strong { font-size: .9375rem; font-weight: 600; color: var(--text-strong); }
.chan__txt small { font-size: .8125rem; color: var(--muted); }
.chan__arr { margin-left: auto; color: var(--muted); }

/* Lista numerada "qué pasa después" */
.steplist { list-style: none; padding: 0; display: grid; gap: var(--s-4); counter-reset: s; }
.steplist li { display: flex; gap: var(--s-4); font-size: .9375rem; color: var(--muted-strong); }
.steplist__n { flex: none; color: var(--accent); font-size: .8125rem; font-weight: 600; padding-top: 2px; }

/* Páginas de estado (gracias / 404) */
.statepage { max-width: 660px; margin-inline: auto; text-align: center; position: relative; z-index: 1; }
.statepage .lead { margin-inline: auto; }
.statepage__ic { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: var(--s-5);
  border-radius: 50%; background: var(--verified-soft); border: 1px solid var(--verified-border); color: var(--verified); }
.statepage__ic svg { width: 26px; height: 26px; }
.statepage__actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; margin-top: var(--s-7); }
.statepage__extra { margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--hairline); }
.statepage__extra p { font-size: .9375rem; color: var(--muted); max-width: 52ch; margin-inline: auto; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- KEYFRAMES ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes breathe { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .results__grid { grid-template-columns: 1fr; }
  .results__left { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .yt { grid-template-columns: 1fr; }
  .yt__media { order: -1; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .footer__brand { grid-column: 1 / -1; }
}
/* Nav: colapsa a hamburguesa antes de que los 7 enlaces se apretujen
   (subido a 1100px porque el logo y el selector de idioma son ahora más grandes) */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .nav__area { display: none; }
  .nav__actions .btn--primary { display: none; } /* el CTA vive en hero, menú móvil y WhatsApp flotante */
}
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: var(--s-3); }
  .results__stats { gap: var(--s-6); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  /* El selector de idioma SÍ se mantiene legible; se sacrifica el globo y el logo se ajusta */
  .langsw__globe { display: none; }
  .langsw { height: 40px; }
  .langsw__btn { height: 32px; padding: 0 10px; font-size: 13px; }
  .nav__logo img { height: 30px; }
}

/* ---------- MOBILE MENU (JS toggled) ---------- */
.mobilemenu { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: none; flex-direction: column; padding: var(--gutter); }
.mobilemenu.is-open { display: flex; }
.mobilemenu__head { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.mobilemenu__head img { height: 34px; }
.mobilemenu__close { width: 40px; height: 40px; border:1px solid var(--border-strong); border-radius: var(--radius-sm); display:flex; align-items:center; justify-content:center; color: var(--text); }
.mobilemenu nav { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-6); }
.mobilemenu nav a { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); padding-block: var(--s-3); border-bottom: 1px solid var(--hairline); }
.mobilemenu__foot { margin-top: auto; display: grid; gap: var(--s-4); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .trustbar__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero__glow { animation: none; }
}

/* =============================================================================
   WORDPRESS ISOLATION PATCH — v1.1.0
   Prevents Astra / Elementor global styles from changing the landing design.
   ============================================================================= */
html:has(body.st-standalone-landing) {
  background: #05080f !important;
}

body.st-standalone-landing,
body.st-standalone-landing.ast-separate-container,
body.st-standalone-landing.ast-page-builder-template,
body.st-standalone-landing.elementor-default,
body.st-standalone-landing.elementor-kit-6 {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  background: #05080f !important;
  background-color: #05080f !important;
  color: #eaf0f8 !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

body.st-standalone-landing::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(37,99,235,.08), transparent 62%),
    radial-gradient(100% 100% at 50% 100%, rgba(0,0,0,.38), transparent 70%) !important;
}

body.st-standalone-landing main,
body.st-standalone-landing header,
body.st-standalone-landing footer,
body.st-standalone-landing section,
body.st-standalone-landing .trustbar,
body.st-standalone-landing .mobilemenu {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

body.st-standalone-landing h1,
body.st-standalone-landing h2,
body.st-standalone-landing h3,
body.st-standalone-landing .hero__title,
body.st-standalone-landing .elementor-kit-6 h1,
body.st-standalone-landing .elementor-kit-6 h2,
body.st-standalone-landing .elementor-kit-6 h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif !important;
  font-optical-sizing: auto !important;
  color: #fff !important;
  text-transform: none !important;
}

body.st-standalone-landing .hero {
  isolation: isolate !important;
  background:
    radial-gradient(75% 68% at 50% 40%, rgba(14,31,60,.46) 0%, rgba(5,8,15,.22) 48%, rgba(5,8,15,.92) 100%),
    #05080f !important;
}

body.st-standalone-landing .hero__canvas {
  z-index: 0 !important;
  opacity: .72 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body.st-standalone-landing .hero__grid-bg {
  z-index: 1 !important;
  opacity: .34 !important;
  background-image:
    linear-gradient(rgba(76,141,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,141,255,.09) 1px, transparent 1px) !important;
  -webkit-mask-image: radial-gradient(75% 66% at 50% 38%, #000 0%, rgba(0,0,0,.86) 58%, transparent 100%) !important;
  mask-image: radial-gradient(75% 66% at 50% 38%, #000 0%, rgba(0,0,0,.86) 58%, transparent 100%) !important;
}

body.st-standalone-landing .hero__scrim {
  z-index: 2 !important;
  background:
    radial-gradient(64% 58% at 50% 44%, rgba(5,8,15,.86) 0%, rgba(5,8,15,.52) 55%, rgba(5,8,15,.10) 82%),
    linear-gradient(180deg, #05080f 0%, rgba(5,8,15,.12) 18%, rgba(5,8,15,.08) 70%, #05080f 100%) !important;
}

body.st-standalone-landing .hero__glow {
  z-index: 3 !important;
  background:
    radial-gradient(54% 44% at 50% 91%, rgba(37,99,235,.22), transparent 72%) !important;
}

body.st-standalone-landing .hero__stage,
body.st-standalone-landing .hero__scrollcue {
  z-index: 4 !important;
}

body.st-standalone-landing .hero__title {
  font-family: "Fraunces", Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  font-size: clamp(2.75rem, 1.6rem + 5.6vw, 4.75rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.022em !important;
  color: #fff !important;
  max-width: 17ch !important;
  margin: 0 auto 24px !important;
}

body.st-standalone-landing .hero__title em {
  font-family: inherit !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: #a9c7ff !important;
}

body.st-standalone-landing .hero__sub {
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.375rem) !important;
  line-height: 1.55 !important;
  color: #b7c4d8 !important;
  max-width: 56ch !important;
}

body.st-standalone-landing .nav {
  background: rgba(5,8,15,.92) !important;
  border-bottom: 1px solid rgba(76,141,255,.10) !important;
  box-shadow: none !important;
}

body.st-standalone-landing .section,
body.st-standalone-landing .footer,
body.st-standalone-landing .trustbar {
  background-color: transparent !important;
}

body.st-standalone-landing .btn--primary {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
  box-shadow: 0 10px 30px rgba(37,99,235,.26) !important;
}

body.st-standalone-landing .btn--primary:hover {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
}

body.st-standalone-landing .langsw {
  background: rgba(37,99,235,.10) !important;
  border-color: rgba(76,141,255,.42) !important;
}

body.st-standalone-landing .langsw__btn[aria-pressed="true"] {
  background: #2563eb !important;
  color: #fff !important;
}

@media (max-height: 820px) {
  body.st-standalone-landing .hero__title {
    font-size: clamp(2rem, 1.1rem + 3.6vw, 3.3rem) !important;
  }
}

@media (max-width: 720px) {
  body.st-standalone-landing .hero__title {
    font-size: clamp(2.15rem, 9vw, 3.25rem) !important;
    max-width: 15ch !important;
  }
}
/* =========================================================
   AJUSTE DE ESCALA DEL HERO
   ========================================================= */

@media (min-width: 1025px) {

  .hero {
    min-height: 100vh;
    padding-top: 120px;
  }

  .hero__content {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero__title {
    font-size: clamp(48px, 4.2vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .hero__lead,
  .hero__description {
    max-width: 680px;
    margin-inline: auto;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero .btn--lg {
    padding: 16px 27px;
    font-size: 16px;
  }

  .hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.23em;
  }
}
/* =========================================================
   HERO MÁS COMPACTO EN ESCRITORIO
   ========================================================= */

@media (min-width: 1025px) {

  body.st-standalone-landing .hero__stage {
    width: 100% !important;
    max-width: 920px !important;
    margin: 0 auto !important;
    transform: scale(0.84) !important;
    transform-origin: center center !important;
  }

  body.st-standalone-landing .hero__title {
    font-size: clamp(2.4rem, 3.7vw, 4rem) !important;
    line-height: 1.02 !important;
    max-width: 17ch !important;
    margin-bottom: 20px !important;
  }

  body.st-standalone-landing .hero__sub {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    max-width: 58ch !important;
    margin-bottom: 24px !important;
  }

  body.st-standalone-landing .hero__eyebrow {
    font-size: 0.68rem !important;
    margin-bottom: 18px !important;
  }

  body.st-standalone-landing .hero__chip {
    margin-bottom: 22px !important;
  }

  body.st-standalone-landing .hero__ctas {
    margin-bottom: 18px !important;
  }

  body.st-standalone-landing .hero__ctas .btn {
    min-height: 48px !important;
    padding: 13px 24px !important;
    font-size: 0.95rem !important;
  }
}
/* =========================================================
   AJUSTE RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 767px) {

  body.st-standalone-landing .nav__inner {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  body.st-standalone-landing .nav__logo img {
    width: 125px !important;
    height: auto !important;
  }

  body.st-standalone-landing .nav__links,
  body.st-standalone-landing .nav__area,
  body.st-standalone-landing .nav__actions > .btn {
    display: none !important;
  }

  body.st-standalone-landing .langsw {
    transform: scale(0.82) !important;
    transform-origin: right center !important;
    margin-left: auto !important;
  }

  body.st-standalone-landing .hero {
    min-height: auto !important;
    padding: 120px 18px 90px !important;
    overflow: hidden !important;
  }

  body.st-standalone-landing .hero__stage {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  body.st-standalone-landing .hero__eyebrow {
    font-size: 10px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 18px !important;
  }

  body.st-standalone-landing .hero__title {
    max-width: 100% !important;
    font-size: clamp(2.45rem, 11vw, 3.35rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em !important;
    margin: 0 auto 28px !important;
    text-align: center !important;
  }

  body.st-standalone-landing .hero__sub {
    max-width: 100% !important;
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 24px !important;
    text-align: center !important;
  }

  body.st-standalone-landing .hero__proof,
  body.st-standalone-landing .hero__chip {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 16px !important;
    padding: 12px 16px !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  body.st-standalone-landing .hero__ctas {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 30px auto 20px !important;
  }

  body.st-standalone-landing .hero__ctas .btn {
    width: 100% !important;
    min-height: 58px !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
  }

  body.st-standalone-landing .hero__market {
    margin-top: 22px !important;
    font-size: 0.78rem !important;
  }

  body.st-standalone-landing .hero__scroll {
    position: static !important;
    transform: none !important;
    margin-top: 22px !important;
    padding-top: 0 !important;
  }

  body.st-standalone-landing .hero__tape {
    position: relative !important;
    margin-top: 30px !important;
    padding: 14px 0 !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
  }

  body.st-standalone-landing .wafloat {
    width: 60px !important;
    height: 60px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
}
/* =========================================================
   CABECERA MÓVIL: DESPLAZAR SELECTOR HACIA LA IZQUIERDA
   ========================================================= */

@media (max-width: 767px) {

  body.st-standalone-landing .nav {
    width: 100% !important;
    overflow: visible !important;
  }

  body.st-standalone-landing .nav__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
  }

  body.st-standalone-landing .nav__logo {
    flex: 0 0 auto !important;
    max-width: 115px !important;
  }

  body.st-standalone-landing .nav__logo img {
    display: block !important;
    width: 110px !important;
    max-width: 110px !important;
    height: auto !important;
  }

  body.st-standalone-landing .nav__actions {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    transform: translateX(-18px) !important;
  }

  body.st-standalone-landing .langsw {
    width: auto !important;
    max-width: 245px !important;
    margin: 0 !important;
    transform: scale(0.72) !important;
    transform-origin: right center !important;
  }

  body.st-standalone-landing .langsw__btn {
    min-width: 96px !important;
    padding: 9px 13px !important;
  }

  body.st-standalone-landing .langsw__globe {
    display: none !important;
  }

  body.st-standalone-landing .nav__burger {
    display: flex !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin-left: 4px !important;
    transform: translateX(-8px) !important;
  }
}