/* ============================================================
   OpenCard · Paytech Conf 2026 — LANDING v4 "AURORA / NEURAL FLOW"
   Evolución de la v3 por Iris (Diseñadora de Producto).
   Más moderno, tecnológico y premium: aurora mesh viva, glass real,
   spotlight al cursor, pulsos de datos, sidebar dock flotante.
   Sistema de diseño centralizado: importa tokens compartidos y
   extiende con tokens propios de v4. CERO hex sueltos en layout.
   ============================================================ */

@import url("tokens.css");

/* ---- Overrides + tokens propios de v4 ---------------------- */
:root {
  /* VERDE OFICIAL CORRECTO (corrige el #0AF3AB viejo) */
  --mint: #10f4ae;
  --mint-bright: #2effc0;
  --mint-deep: #07c489;
  --mint-soft: rgba(16, 244, 174, 0.12);
  --mint-bg: rgba(16, 244, 174, 0.06);
  --mint-line: rgba(16, 244, 174, 0.38);

  /* Morados para auroras / bloques inmersivos */
  --purple-immersive-1: #2b1185;
  --purple-immersive-2: #16093f;
  --purple-glow: rgba(84, 45, 227, 0.55);

  /* Aurora mesh — blobs de marca */
  --aurora-purple: rgba(84, 45, 227, 0.55);
  --aurora-mint: rgba(16, 244, 174, 0.30);

  /* Rojo del track "Bootcamp de Payments" de la agenda Paytech.
     ACENTO DE EVENTO — NO es color de marca OpenCard. Solo en #speaker. */
  --bootcamp-red: #F0392B;

  /* Glass system (sobre oscuro y sobre claro) */
  --glass-dark-bg: rgba(255, 255, 255, 0.045);
  --glass-dark-border: rgba(255, 255, 255, 0.14);
  --glass-dark-hi: rgba(255, 255, 255, 0.22);
  --glass-light-bg: rgba(255, 255, 255, 0.72);
  --glass-light-border: rgba(20, 20, 43, 0.08);
  --glass-blur: 16px;

  /* Spotlight (sigue el cursor) */
  --spot-light: rgba(84, 45, 227, 0.14);

  /* Retícula sutil de apoyo */
  --grid-line: rgba(20, 20, 43, 0.04);
  --grid-line-dark: rgba(255, 255, 255, 0.05);
  --grid-cell: 84px;

  /* Tipografía fluida — escala v4 */
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-display: clamp(2.7rem, 1.5rem + 5.2vw, 5.2rem);
  --fs-h1: clamp(2.05rem, 1.3rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.45rem, 1rem + 1.7vw, 2.05rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.42rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-mono: 0.72rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Sistema de movimiento (lenguaje único) ----
     Duraciones y easings consistentes para reveals/micro-interacciones.
     `--ease-out` es el easing protagonista de las entradas.
     Intensidad SUBIDA para que la entrada se SIENTA (premium pero perceptible):
     amplitud mayor, duraciones más largas y cascada evidente uno por uno. */
  --ease-out: cubic-bezier(0.16, 0.84, 0.30, 1); /* overshoot suave, salida marcada */
  --dur-fast: 380ms;
  --dur: 700ms;
  --dur-slow: 900ms;
  --reveal-shift: 38px;   /* desplazamiento base de los reveals direccionales (antes 26) */
  --reveal-scale: 0.94;   /* escala de entrada (0.94 → 1) donde aplica */
  --stagger: 130ms;       /* paso de la cascada (cada hijo entra con --i*--stagger) — evidente */
}

/* ---- Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* iPhone notch / Dynamic Island (viewport-fit=cover): el area tras la barra
     de estado muestra el fondo de <html>. Lo pintamos oscuro (igual que el
     tope del sitio: preloader + hero) para que NUNCA salga la franja blanca.
     env(safe-area-inset-*) = 0 en desktop/Android, asi que no afecta nada. */
  background: var(--purple-dark);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 600; /* sin fuentes light/delgadas: piso semibold en todo el cuerpo */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--mint); color: var(--purple-dark); }

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

/* ---- Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section { position: relative; padding-block: clamp(40px, 5vw, 72px); overflow: hidden; }
.section-dark {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px);
  background: linear-gradient(165deg, var(--purple-dark) 0%, var(--purple-immersive-2) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* ============================================================
   SECCIONES DE ALTO UNIFORME = 1 PANTALLA (100vh) + SCROLL-SNAP
   El jefe pide que cada sección mida exactamente el alto de la
   pantalla. Cada <section>/<header>/<footer> es un "snap point":
   ocupa 100svh, centra su contenido y nunca es más alta que otra.
   En móvil se permite scroll interno si el contenido no cabe, para
   que NUNCA se vea recortado.
   ============================================================ */
html { scroll-snap-type: y proximity; }

.hero,
.metrics, .oss, .wallet-section, .materials, .purpose, .speaker, .stand-section,
.venue-section, .raffle, .cta-band {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* el .container interno de cada snap-section ocupa el ancho completo */
.metrics > .container, .oss > .container, .wallet-section > .container,
.materials > .container,
.purpose > .container, .speaker > .container, .stand-section > .container,
.venue-section > .container, .raffle > .container,
.cta-band > .container { width: 100%; }

/* El footer es cierre, no una "pantalla" de contenido: alto natural y
   también es snap-point para que encaje limpio al final. */
footer { scroll-snap-align: end; }

/* ============================================================
   AURORA MESH — fondos vivos (el alma visual de v4)
   ============================================================ */
/* inset vertical -10% para que las blobs sangren arriba/abajo entre secciones;
   horizontal 0 (antes -5%): ese -5% lateral por sección sumaba ~5% del ancho al
   scroll del documento en móvil → franja oscura a la derecha. El blur de las
   blobs ya cubre los bordes, así que a 0 el look no cambia. */
.aurora { position: absolute; inset: -10% 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.9; will-change: transform;
}
/* Aurora sobre oscuro (secciones inmersivas) */
.aurora.dark::before {
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -18%; left: -8%;
  background: radial-gradient(circle, var(--aurora-purple) 0%, transparent 68%);
  animation: auroraDrift1 26s var(--ease-soft) infinite alternate;
}
.aurora.dark::after {
  width: 52vw; height: 52vw; max-width: 660px; max-height: 660px;
  bottom: -22%; right: -6%;
  background: radial-gradient(circle, var(--aurora-mint) 0%, transparent 66%);
  animation: auroraDrift2 32s var(--ease-soft) infinite alternate;
}
/* Aurora tenue sobre blanco */
.aurora.light::before {
  width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  top: -24%; right: -10%;
  background: radial-gradient(circle, var(--purple-haze-2) 0%, transparent 70%);
  filter: blur(90px); opacity: 0.8;
  animation: auroraDrift1 30s var(--ease-soft) infinite alternate;
}
.aurora.light::after {
  width: 44vw; height: 44vw; max-width: 540px; max-height: 540px;
  bottom: -26%; left: -10%;
  background: radial-gradient(circle, var(--mint-soft) 0%, transparent 70%);
  filter: blur(90px); opacity: 0.7;
  animation: auroraDrift2 36s var(--ease-soft) infinite alternate;
}
@keyframes auroraDrift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(8%, 10%) scale(1.18); } }
@keyframes auroraDrift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-9%, -8%) scale(1.25); } }

/* Retícula sutil de apoyo (encima de la aurora, debajo del contenido) */
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
  -webkit-mask-image: radial-gradient(120% 75% at 50% 30%, #000 25%, transparent 80%);
          mask-image: radial-gradient(120% 75% at 50% 30%, #000 25%, transparent 80%);
}
.section-dark .grid-bg {
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
}

/* ============================================================
   TIPOGRAFÍA — kickers / module head
   ============================================================ */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple);
  padding: 6px 14px; border-radius: 999px;
  background: var(--purple-haze);
  border: 1px solid var(--purple-haze-2);
}
.kicker .k-index { color: var(--mint-deep); font-weight: 700; }
.kicker-on-dark {
  color: rgba(255,255,255,0.78);
  background: var(--glass-dark-bg);
  border-color: var(--glass-dark-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.kicker-on-dark .k-index { color: var(--mint); }

/* Vara única de cabeceras de sección: el MISMO ritmo (kicker → título → sub)
   en todas las secciones. Ancho, margen inferior, peso del título y aire del
   subtítulo se centralizan aquí para que el sitio se sienta un solo sistema. */
.module-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.module-head.center { margin-inline: auto; text-align: center; }
.module-head .kicker { margin-bottom: clamp(14px, 1.6vh, 18px); }
.module-head.center .kicker { justify-content: center; }
.module-head h2 {
  font-size: var(--fs-h1); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.025em;
}
.module-head.on-dark h2, .section-dark h2 { color: #fff; }

.section-sub {
  margin-top: clamp(14px, 1.8vh, 20px); font-size: clamp(1rem, 0.96rem + 0.4vw, 1.15rem);
  color: var(--text-soft); line-height: 1.6; font-weight: 600;
}
.module-head.center .section-sub { margin-inline: auto; max-width: 620px; }
.section-dark .section-sub { color: rgba(255,255,255,0.74); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translate(2px, -1px); }
.btn:active { transform: translateY(-1px) scale(0.97); transition-duration: 0.08s; }
/* sheen que cruza el botón al hover */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-paytech {
  background: var(--paytech-blue); color: #fff;
  box-shadow: 0 12px 32px -8px rgba(0, 39, 186, 0.55);
}
.btn-paytech:hover { box-shadow: 0 18px 40px -8px rgba(0, 39, 186, 0.7); }

.btn-ghost-paytech {
  background: var(--glass-dark-bg); color: #fff;
  border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost-paytech:hover { background: rgba(255,255,255,0.12); border-color: var(--mint); }

.btn-mint {
  background: var(--mint); color: var(--purple-dark);
  box-shadow: 0 12px 32px -8px rgba(16, 244, 174, 0.55);
}
.btn-mint:hover { box-shadow: 0 18px 44px -8px rgba(16, 244, 174, 0.75); }

.btn-purple {
  background: var(--purple); color: #fff;
  box-shadow: 0 12px 32px -8px rgba(84, 45, 227, 0.55);
}
.btn-purple:hover { box-shadow: 0 18px 44px -8px rgba(84, 45, 227, 0.7); }

/* ============================================================
   PRELOADER
   ============================================================ */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: linear-gradient(165deg, var(--purple-dark) 0%, var(--purple-immersive-2) 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden; isolation: isolate;
}
.preloader.done { opacity: 0; visibility: hidden; }
/* Estilos del preloader: ver bloque "FASE1: PRELOADER" al final del archivo. */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--purple-dark); isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 8, 45, 0.5) 0%, rgba(15, 8, 45, 0.82) 100%),
    radial-gradient(80% 60% at 50% 45%, rgba(84, 45, 227, 0.4) 0%, transparent 70%);
}
.hero .aurora { z-index: 1; opacity: 0.7; }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }

.sponsor-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--mint);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--mint-line);
  background: rgba(16, 244, 174, 0.05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  margin-bottom: 32px;
}
.se-tick { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }

/* Logo OpenCard a COLOR de marca (isotipo verde + texto morado), limpio sobre el hero — sin caja */
.hero-opencard-logo {
  width: clamp(210px, 40vw, 340px);
}

.hero-connector { display: flex; align-items: center; gap: 16px; margin: 28px 0; width: min(440px, 82%); }
.connector-line {
  flex: 1; height: 1.5px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--mint-line), transparent);
}
/* pulso de datos viajando por el conector */
.connector-line::after {
  content: ""; position: absolute; top: 50%; left: -20%; transform: translateY(-50%);
  width: 28px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--mint-bright), transparent);
  box-shadow: 0 0 10px var(--mint);
  animation: dataPulse 2.6s var(--ease-soft) infinite;
}
.hero-connector .connector-line:last-of-type::after { animation-delay: 1.3s; }
@keyframes dataPulse { 0% { left: -25%; } 60%,100% { left: 115%; } }
.connector-text {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); white-space: nowrap;
}

.hero-paytech-link { transition: transform 0.3s var(--ease); }
.hero-paytech-link:hover { transform: scale(1.03); }
.paytech-hero-logo { width: clamp(240px, 50vw, 440px); }

.paytech-meta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
.paytech-date-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 1rem; letter-spacing: 0.06em; color: #fff;
  padding: 9px 20px; border-radius: 999px;
  background: var(--glass-dark-bg); border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pdp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.paytech-place {
  font-family: var(--font-mono); font-size: var(--fs-small);
  letter-spacing: 0.18em; color: rgba(255,255,255,0.8);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

.paytech-organizer-line { display: flex; align-items: center; gap: 12px; margin-top: 42px; }
.paytech-org-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.paytech-org-logo { height: 26px; opacity: 0.85; filter: brightness(0) invert(1); }

.video-corner-tag {
  position: absolute; top: 24px; left: clamp(20px, 5vw, 48px); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  padding: 7px 13px; border-radius: 10px;
  background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.video-corner-tag .dot {
  position: relative; width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b;
}
.video-corner-tag .dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid #ff3b3b; animation: ringPulse 1.6s ease-out infinite;
}
@keyframes ringPulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.mono-hl { color: var(--mint); }

.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-hint svg { width: 18px; height: 18px; animation: bob 1.8s ease infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ============================================================
   MÉTRICAS / QUIÉNES SOMOS
   ============================================================ */
.metrics { background: var(--bg); }
.metrics-isotipo { width: 58px; margin: 0 auto 22px; }
.module-head.center .metrics-isotipo { display: block; }

/* Giro tipo moneda del isotipo: re-dispara en cada visita vía .in del observer */
.metrics-isotipo-wrap {
  display: block; width: 58px; margin: 0 auto 22px;
  position: relative;
  perspective: 700px;
}
.metrics-isotipo-wrap .metrics-isotipo {
  margin: 0; /* el wrapper ya centra y espacia */
  transform-style: preserve-3d;
  backface-visibility: visible;
}
.module-head.in .metrics-isotipo-wrap .metrics-isotipo {
  animation: isotipoCoinFlip 1s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
/* brillo sutil que cruza el frente al girar */
.metrics-isotipo-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 50%; opacity: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
}
.module-head.in .metrics-isotipo-wrap::after {
  animation: isotipoCoinShine 1s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
@keyframes isotipoCoinFlip {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}
@keyframes isotipoCoinShine {
  0%, 30%  { opacity: 0; }
  48%      { opacity: 0.9; }
  66%, 100%{ opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .module-head.in .metrics-isotipo-wrap .metrics-isotipo,
  .module-head.in .metrics-isotipo-wrap::after { animation: none; }
}
.oc-h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
.oc-h1 .oc-bold { color: var(--purple); font-weight: 800; }

.metrics-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.metric {
  position: relative; padding: 30px 26px;
  border: 1px solid var(--glass-light-border);
  border-radius: var(--radius-lg);
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
/* spotlight al cursor (compartido con cards y feats) */
.metric::after, .card::after, .stand-act::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), var(--spot-light), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none;
}
.metric:hover::after, .card:hover::after, .stand-act:hover::after { opacity: 1; }
.metric:hover, .card:hover, .stand-act:hover {
  transform: translateY(-9px) scale(1.018); border-color: var(--purple-light);
  box-shadow: 0 26px 60px -18px rgba(84, 45, 227, 0.45), 0 8px 24px -10px rgba(0,0,0,0.18);
}
.metric-num {
  display: block; position: relative; z-index: 1;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.3rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: var(--purple); font-variant-numeric: tabular-nums;
}
.metric-num .unit { font-size: 0.42em; font-weight: 600; color: var(--text-soft); letter-spacing: 0; }
.metric-bar {
  display: block; width: 100%; height: 3px; border-radius: 999px;
  background: var(--line); margin: 18px 0; position: relative; overflow: hidden; z-index: 1;
}
.metric-bar::after {
  content: ""; position: absolute; inset: 0; width: 0;
  background: linear-gradient(90deg, var(--mint), var(--mint-deep));
  border-radius: 999px; transition: width 1.2s var(--ease) 0.2s;
}
.metric.in .metric-bar::after { width: 64%; }
.metric-label { display: block; position: relative; z-index: 1; font-size: var(--fs-small); color: var(--text-soft); line-height: 1.4; }

/* ============ ONE-STOP-SHOP · diagrama ESTÁTICO de los 5 módulos ============ */
.oss {
  /* La v1 usa el verde original #0AF3AB; v4 sobreescribe --mint a otro tono.
     Restauramos el verde de la v1 SOLO dentro del OSS para que se vea idéntico. */
  --mint: #0AF3AB;
  position: relative;
  padding: clamp(32px, 4.4vh, 56px) 0;
  overflow: hidden;
  background:
    linear-gradient(to right, transparent 78%, #FFFFFF 100%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 22%, var(--bg-soft) 78%, #FFFFFF 100%);
}

.oss-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(84, 45, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 45, 227, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 10%, transparent 78%);
  pointer-events: none;
}

.oss > .container { position: relative; z-index: 1; }

/* Cabecera de la sección OSS — centrada por completo */
.section-head { max-width: 760px; margin-bottom: clamp(14px, 2vh, 28px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head .kicker { margin-bottom: 14px; }
.section-head.center .section-sub { margin-inline: auto; max-width: 620px; }

.oss-title {
  font-size: clamp(42px, 6.5vw, min(82px, 9vh));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: clamp(8px, 1.4vh, 16px);
  background: linear-gradient(115deg, var(--purple-deep) 0%, var(--purple) 70%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.oss .section-sub { color: var(--text-2); }
.oss-sub strong { color: var(--purple); font-weight: 700; }

/* =========================================================
   ESCENARIO OSS — un solo lienzo con el riel horizontal de 5 módulos.
   Gráfico estático: sin interacción de selección.
   ========================================================= */
.oss-stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: clamp(14px, 2.2vh, 28px) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(210px, 32vh, 320px);

  /* Caja de arte COMPARTIDA por los 5 módulos: todos reservan el mismo alto,
     así sus etiquetas quedan en la MISMA línea horizontal sin importar el
     alto real de cada SVG. La imagen se centra dentro de la caja. */
  --oss-art-box: clamp(150px, 21vh, 208px);
  --oss-img-h: clamp(150px, 21vh, 208px);
  /* El Core (oss-core.svg viewBox 0 0 280 280, sin padding) tiene el dibujo a
     sangre; los otros (viewBox -30 -30 380 380) traen ~30px de aire por lado,
     así que su contenido ocupa 320/380 ≈ 0.842 del lienzo. Para que los 5 se
     PERCIBAN del mismo tamaño, el Core va a ≈0.842× la altura de los demás. */
  --oss-img-h-core: clamp(126px, 17.7vh, 175px);
}

/* ---- diagram (el riel) ---- */
.oss-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.oss-node {
  background: transparent;
  border: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px;
  color: var(--purple);
  --glow: rgba(84, 45, 227, 0.4);
  border-radius: 16px;
}

.oss-node[data-accent="mint"] { --glow: rgba(10, 243, 171, 0.75); }

/* ---- Sequential flow reveal (Core first, then out toward the endpoints) ---- */
.oss-diagram.anim .oss-node { opacity: 0; transform: translateY(18px) scale(0.86); }
.oss-diagram.anim .oss-link { opacity: 0; }
.oss-node {
  transition:
    opacity 0.55s var(--ease),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.oss-link {
  transition: opacity 0.45s var(--ease);
}

/* go: estado final SÓLIDO (opacity:1, sin transform) — sin restos de atenuación */
.oss-diagram.anim.go .oss-node { opacity: 1; transform: none; }
.oss-diagram.anim.go .oss-link { opacity: 1; }

/* step 1 — Core */
.oss-diagram.anim.go .oss-node:nth-of-type(3) { transition-delay: 0s; }
/* step 2 — the processors (the connections) */
.oss-diagram.anim.go .oss-node:nth-of-type(2),
.oss-diagram.anim.go .oss-node:nth-of-type(4) { transition-delay: 0.34s; }
.oss-diagram.anim.go .oss-link:nth-of-type(2),
.oss-diagram.anim.go .oss-link:nth-of-type(3) { transition-delay: 0.34s; }
/* step 3 — the endpoints */
.oss-diagram.anim.go .oss-node:nth-of-type(1),
.oss-diagram.anim.go .oss-node:nth-of-type(5) { transition-delay: 0.7s; }
.oss-diagram.anim.go .oss-link:nth-of-type(1),
.oss-diagram.anim.go .oss-link:nth-of-type(4) { transition-delay: 0.62s; }
/* tras la animación de entrada, los delays no deben quedar colgando */
.oss-diagram.anim.go.ready .oss-node,
.oss-diagram.anim.go.ready .oss-link { transition-delay: 0s; }

/* Caja de arte de alto FIJO (igual para los 5): los SVG se centran dentro.
   Así la fila de etiquetas queda perfectamente alineada aunque el dibujo del
   Core tenga otra altura visible. */
.node-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--oss-art-box);
}

.node-art svg { display: block; }

/* Ilustraciones SIEMPRE 100% sólidas: sin opacidad ni filtro base. */
.node-art img {
  display: block;
  height: var(--oss-img-h);
  width: auto;
  opacity: 1;
  filter: none;
}
/* El Core (oss-core.svg, viewBox sin padding) va más bajo en CSS para que su
   dibujo a sangre se PERCIBA del mismo tamaño que los demás; al ir centrado en
   la misma caja, su centro vertical coincide con el de los otros 4. */
.node-core .node-art img {
  height: var(--oss-img-h-core);
}

.node-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--text-2);
}

.node-label small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.78;
  margin-top: 3px;
}

/* acento del Core (corazón) — verde de marca en la etiqueta */
.node-core .node-label { color: var(--mint-deep, #06b083); }

/* Core latiendo suavemente: respira con escala + glow (ambiental, sin interacción).
   Nombre PROPIO (ossCoreBeat) — NO 'ossCorePulse': ese nombre lo usa el halo
   ::before en one-stop-shop.3.css y, al colisionar, el navegador hacía que esta
   caja corriera las keyframes del halo (translate + scale ~0.78), subiendo el
   Core ~74px sobre el subtítulo. Con nombre único, cada animación es la suya. */
.node-core .node-art { animation: ossCoreBeat 3.4s ease-in-out infinite; }
@keyframes ossCoreBeat {
  0%, 100% { filter: drop-shadow(0 8px 18px rgba(10,243,171,0.32)); transform: scale(1); }
  50%      { filter: drop-shadow(0 12px 28px rgba(10,243,171,0.6)); transform: scale(1.06); }
}

/* connectors with a travelling data dot */
.oss-link {
  flex: 1 1 24px;
  min-width: 16px;
  max-width: 96px;
  height: 2px;
  align-self: flex-start;
  /* cruza exactamente por el CENTRO vertical de la caja de arte (padding 6px
     del nodo + mitad de la caja), así queda a la altura de los 5 dibujos */
  margin-top: calc(6px + var(--oss-art-box) / 2);
  position: relative;
  background: linear-gradient(90deg, var(--purple-light), var(--mint));
  border-radius: 2px;
}

/* Everything radiates OUT of the Core de Crédito:
   core → emisor → billetera (left)  ·  core → adquirente → POS (right) */
.oss-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px rgba(84, 45, 227, 0.6);
  transform: translateY(-50%);
  animation: ossFlow 2.6s linear infinite;
}

/* Left of the core → dot travels leftward (toward the endpoints) */
.oss-link:nth-of-type(1)::after { animation-name: ossFlowRev; animation-delay: 1.3s; }
.oss-link:nth-of-type(2)::after { animation-name: ossFlowRev; animation-delay: 0s; }
/* Right of the core → dot travels rightward */
.oss-link:nth-of-type(3)::after { animation-name: ossFlow;    animation-delay: 0s; }
.oss-link:nth-of-type(4)::after { animation-name: ossFlow;    animation-delay: 1.3s; }

/* Gradients: mint emanates from the core side of every link */
.oss-link:nth-of-type(3),
.oss-link:nth-of-type(4) {
  background: linear-gradient(90deg, var(--mint), var(--purple-light));
}

@keyframes ossFlow {
  0%   { left: 0;    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes ossFlowRev {
  0%   { left: 100%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 0;    opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .oss-link::after { animation: none; opacity: 0.85; left: 50%; }
  .node-core .node-art { animation: none; }
  .oss-node, .oss-link { transition: none !important; }
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  /* sólo ajustamos las variables; la caja compartida mantiene la alineación
     y el conector recalcula su cruce solo (margin-top = 6px + box/2) */
  .oss-stage {
    --oss-art-box: 150px;
    --oss-img-h: 150px;
    --oss-img-h-core: 126px; /* 150 ×0.842 */
  }
  .node-label { font-size: 12px; }
  .node-label small { font-size: 10px; }
}

@media (max-width: 560px) {
  .oss-diagram {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .oss-title { font-size: 38px; }
  .oss-node { flex-direction: row; gap: 18px; width: 230px; justify-content: flex-start; padding: 10px 6px; }
  /* en columna la caja no debe imponer alto fijo: se dimensiona por ancho */
  .node-art { width: 92px; height: auto; flex-shrink: 0; }
  .node-art img { height: auto; width: 92px; }
  .node-core .node-art img { width: 77px; } /* 92 ×0.842 */
  .node-label { text-align: left; }
  .oss-link {
    width: 2px;
    height: 30px;
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
    align-self: center;
    margin: 0 0 0 0;
    transform: translateX(-78px);
    background: linear-gradient(180deg, rgba(158, 136, 240, 0.5), rgba(10, 243, 171, 0.5));
  }
  .oss-link::after { animation-name: ossFlowV; }
  /* top half flows UP toward the billetera, bottom half flows DOWN toward the POS */
  .oss-link:nth-of-type(1)::after,
  .oss-link:nth-of-type(2)::after { animation-name: ossFlowVRev; }
  .oss-link:nth-of-type(3)::after,
  .oss-link:nth-of-type(4)::after { animation-name: ossFlowV; }
  .oss-link:nth-of-type(3),
  .oss-link:nth-of-type(4) { background: linear-gradient(180deg, rgba(10, 243, 171, 0.5), rgba(158, 136, 240, 0.5)); }
  @keyframes ossFlowV {
    0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; }
  }
  @keyframes ossFlowVRev {
    0% { top: 100%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 0; opacity: 0; }
  }
}

/* ============================================================
   BILLETERA DIGITAL — demo en dos iPhone (placeholders)
   FONDO CLARO (hermana de Stand / Recursos / Rifa): usa var(--bg), textos
   oscuros, acento mint/morado de marca. NO usa .section-dark.
   Dos mockups tipo iPhone 17 Pro Max: marco CSS realista con Dynamic Island,
   esquinas muy redondeadas y proporción real (≈0.462). Los teléfonos van
   CRUZADOS en V (uno ~ -8°, otro ~ +8°), encimados/solapados en su base,
   con BALANCEO lado a lado calmado (mismo lenguaje que la botella Macallan
   en sorteo.css), pivotando desde la base donde se cruzan.
   100svh: el alto del frame se gobierna por vh para no desbordar.
   ============================================================ */

/* La sección comparte el 100svh / centrado de base (.wallet-section) y el
   override móvil de _responsive (sin tocar nada compartido). Solo fijamos el
   fondo claro y el clip propio (igual que .raffle hace en sorteo). */
.wallet-section { background: var(--bg); overflow: hidden; }

/* Acento del título en VERDE OFICIAL del landing. */
.wallet-section .wl-accent { color: #10f4ae; }
/* El título no debe desbordar a lo ancho en pantallas chicas: que envuelva
   con naturalidad y se acote en angosto (solo dentro de billetera, sin tocar
   la escala compartida de base). */
.wallet-section .module-head h2 { overflow-wrap: break-word; text-wrap: balance; }
@media (max-width: 560px) {
  .wallet-section .module-head h2 { font-size: clamp(1.7rem, 6.5vw, 2.2rem); }
}

/* ---- Escenario de los dos teléfonos cruzados en V ----
   Se solapan en la base: gap negativo para que los marcos se encimen como
   cartas en abanico. El conjunto se centra. */
.wl-stage {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-top: clamp(8px, 1.6vh, 22px);
  /* la inclinación + balanceo necesitan aire lateral; no desborda por overflow
     hidden de la sección. */
  padding-inline: clamp(10px, 4vw, 40px);
}

/* ---- Cada teléfono ---- */
.wl-phone {
  flex: 0 0 auto;          /* no estirar: el frame manda su ancho */
  margin: 0;
  /* Pivote del balanceo en la BASE (donde se cruzan), igual idea que la
     botella Macallan (transform-origin: 50% 100%). */
  transform-origin: 50% 100%;
  will-change: transform;
}
/* Cruzados en V: cada uno con su inclinación base. El balanceo (keyframes)
   parte DESDE esa inclinación, así que la rotación base se incorpora a los
   propios keyframes (no se puede combinar transform base + animación rotate).
   El solape se logra con margin negativo. */
.wl-phone--left  {
  margin-right: clamp(-26px, -3.4vw, -14px);
  z-index: 2;
  animation: wlSwayLeft 3s ease-in-out infinite;
}
.wl-phone--right {
  margin-left: clamp(-26px, -3.4vw, -14px);
  z-index: 1;
  /* leve desfase para que los dos no se muevan idénticos (más vivo) */
  animation: wlSwayRight 3.2s ease-in-out infinite;
  animation-delay: -0.6s;
}

/* Balanceo lado a lado — MISMO lenguaje que rpSway (Macallan): amplitud
   suave, sube un poco al pasar por el centro, pivota desde la base.
   Cada teléfono oscila ALREDEDOR de su inclinación base (~ ±8°). */
@keyframes wlSwayLeft {
  0%   { transform: translateY(0)    rotate(-12.5deg); }
  25%  { transform: translateY(-6px) rotate(-8deg); }
  50%  { transform: translateY(-9px) rotate(-3.5deg); }
  75%  { transform: translateY(-6px) rotate(-8deg); }
  100% { transform: translateY(0)    rotate(-12.5deg); }
}
@keyframes wlSwayRight {
  0%   { transform: translateY(0)    rotate(12.5deg); }
  25%  { transform: translateY(-6px) rotate(8deg); }
  50%  { transform: translateY(-9px) rotate(3.5deg); }
  75%  { transform: translateY(-6px) rotate(8deg); }
  100% { transform: translateY(0)    rotate(12.5deg); }
}

/* ---- Marco iPhone 17 Pro Max ----
   MÁS PEQUEÑO que el diseño anterior (ancho rector reducido). Proporción real
   ~ 19.5:9 (alto = ancho / 0.462). Bisel de titanio oscuro con doble borde y
   esquinas muy redondeadas. */
.wl-frame {
  position: relative;
  width: clamp(132px, 20vh, 204px);   /* reducido (antes 168–278) */
  aspect-ratio: 0.462;
  border-radius: clamp(30px, 4vh, 46px);
  padding: clamp(6px, 0.8vh, 9px);
  background: linear-gradient(150deg, #3a3a44 0%, #15151b 48%, #2c2c34 100%);
  /* Sobre fondo CLARO: contorno y sombra que lo despeguen del blanco. */
  box-shadow:
    0 0 0 1.5px rgba(20, 20, 43, 0.10),
    0 24px 48px -16px rgba(20, 20, 43, 0.30),
    0 0 60px -22px rgba(84, 45, 227, 0.40);
}

/* Pantalla — la imagen que Jefer reemplazará (mismo encuadre/relación). */
.wl-screen {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: clamp(25px, 3.3vh, 38px);
  background: #ffffff;
}

/* Dynamic Island — píldora negra centrada arriba, sobre la pantalla. */
.wl-island {
  position: absolute;
  top: clamp(13px, 1.8vh, 20px);
  left: 50%; transform: translateX(-50%);
  width: clamp(58px, 8vh, 86px);
  height: clamp(18px, 2.3vh, 26px);
  border-radius: 999px;
  background: #05050a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
}
/* Punto de cámara dentro de la isla, a la derecha (detalle realista). */
.wl-island::after {
  content: "";
  position: absolute; top: 50%; right: 13%; transform: translateY(-50%);
  width: clamp(6px, 0.8vh, 9px); height: clamp(6px, 0.8vh, 9px);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #3a3f6b 0%, #07070d 70%);
  box-shadow: 0 0 0 1px rgba(84, 45, 227, 0.35);
}

/* ---- MÓVIL: los dos cruzados se mantienen, escalados, sin desbordar.
   El override de 100svh→auto en móvil lo aporta _responsive (compartido). ---- */
@media (max-width: 720px) {
  .wl-frame { width: clamp(120px, 26vw, 180px); }
}
@media (max-width: 540px) {
  .wl-stage { padding-inline: 6px; margin-top: clamp(6px, 1.4vh, 16px); }
  .wl-frame { width: clamp(108px, 36vw, 156px); padding: 5px; }
  .wl-island { width: clamp(46px, 14vw, 64px); height: 16px; top: 10px; }
  .wl-phone--left  { margin-right: -12px; }
  .wl-phone--right { margin-left: -12px; }
}

/* Accesibilidad: sin balanceo si el usuario prefiere menos movimiento.
   Quedan cruzados en V y QUIETOS (sin congelar un frame a media oscilación). */
@media (prefers-reduced-motion: reduce) {
  .wl-phone--left,
  .wl-phone--right { animation: none !important; }
  .wl-phone--left  { transform: rotate(-8deg); }
  .wl-phone--right { transform: rotate(8deg); }
}

/* ============================================================
   MATERIALES
   ============================================================ */
.materials { background: var(--bg); }
.cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; border: 1px solid var(--glass-light-border);
  border-radius: var(--radius-lg);
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
/* Acento de esquina intencional: traza la esquina superior-derecha de la
   tarjeta SIGUIENDO su border-radius (flush a la esquina, no flotando), para
   que se lea como un detalle deliberado y el borde cierre limpio. */
.card-corner {
  position: absolute; top: 0; right: 0; width: 26px; height: 26px; z-index: 2;
  pointer-events: none;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  border-top-right-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease);
}
.card:hover .card-corner { border-color: var(--purple); }
.card > *:not(.card-corner):not(::after) { position: relative; z-index: 1; }
.card-icon {
  position: relative; z-index: 1;
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.mint { background: linear-gradient(150deg, var(--mint-soft), rgba(16,244,174,0.04)); color: var(--mint-deep); border: 1px solid var(--mint-line); }
.card-icon.purple { background: linear-gradient(150deg, var(--purple-haze-2), var(--purple-haze)); color: var(--purple); border: 1px solid var(--purple-haze-2); }
.card-icon.orange { background: rgba(249, 118, 21, 0.12); color: #F97615; border: 1px solid rgba(249,118,21,0.25); }
.card-tag { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; color: var(--text-dim); margin-bottom: 8px; }
.card h3 { position: relative; z-index: 1; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
/* Slogan de marca en la tarjeta Manifiesto: 2 renglones, peso 800 (regla de marca). */
.card-title-slogan { font-weight: 800; line-height: 1.16; }
.card p { position: relative; z-index: 1; font-size: 0.94rem; color: var(--text-soft); flex: 1; margin-bottom: 22px; }
.card-action { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--purple); }
.card-action svg { transition: transform 0.25s var(--ease); }
.card:hover .card-action svg { transform: translateY(2px); }

/* ============================================================
   SPEAKER · Omar
   ============================================================ */
/* (El diseño anterior dark-glass del speaker se reemplazó por la variante B
   centrada — ver bloque "#speaker — variante B" más abajo.) */

/* ============================================================
   STAND
   ============================================================ */
.stand-section { background: var(--bg); }
/* Layout del stand: ver bloque "FASE1: STAND" al final del archivo. */

/* ============================================================
   EQUIPO — quiénes estaremos en Paytech Conf 2026
   Fondo claro coherente con Stand/Recursos. Grilla 3×3 que cabe en 100svh
   (9 personas, agrupadas por área, Omar primero). Tamaños/gaps/paddings
   ajustados para que 3 filas + cabecera quepan en una pantalla a 800–900px de alto.
   Tarjetas premium: avatar con anillo morado, nombre, rol. Solo tokens.
   Fotos SIN FONDO (.png) sobre círculo BLANCO. Hover → fila de ÍCONOS de
   contacto (correo / LinkedIn / WhatsApp / teléfono de oficina, según aplique).
   Móvil: la fila de íconos siempre visible (sin hover).
   ============================================================ */
.team-section { background: var(--bg); }

/* DESKTOP: la sección ocupa una pantalla completa (regla del sitio) y
   centra verticalmente cabecera + grilla, igual que Stand/Recursos.
   El bloque 100svh base no incluía .team-section → quedaba corta con hueco
   abajo; lo añadimos aquí (override móvil en _responsive.css). */
.team-section {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-section > .container { width: 100%; }

.team-grid {
  position: relative; z-index: 1;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  /* 3×3 desktop — más uniforme que 4 por fila con uno suelto. Ancho contenido
     para que las tarjetas no queden gigantes y las 3 filas respiren en 100svh. */
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  max-width: 940px;
  margin-inline: auto;
}

.team-member {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  /* padding vertical fluido por vh: con 3 filas se comprime en pantallas bajas
     (800px) y respira en altas, manteniendo el 100svh sin desbordar. */
  padding: clamp(14px, 2vh, 24px) 18px;
  border: 1px solid var(--glass-light-border);
  border-radius: var(--radius-lg);
  /* Tarjetas BLANCAS sólidas (no glass) con sombra sutil del sistema. */
  background: #fff;
  box-shadow: var(--shadow-md);
  /* overflow oculto para que el panel de contacto en hover quede recortado
     al radio de la tarjeta (entra deslizándose desde abajo). */
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.team-member:hover {
  transform: translateY(-9px) scale(1.02);
  border-color: var(--purple-haze-2);
  box-shadow: var(--shadow-lg);
}
.team-member:focus-within {
  border-color: var(--purple-haze-2);
  box-shadow: var(--shadow-lg);
}

/* Avatar — círculo con anillo morado para los 8. Las fotos se preprocesan a un
   HEADSHOT cuadrado UNIFORME (cara al mismo tamaño/centro, ver assets/equipo/
   *_avatar.png) sobre un degradado suave de marca; aquí solo las metemos en el
   círculo. El mismo degradado va de fondo para que Angela (sin foto) combine. */
.tm-avatar {
  position: relative;
  /* algo más compacto que en 4×2 para ganar el alto de la 3.ª fila */
  width: clamp(58px, 7vh, 78px);
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid; place-items: center;
  margin-bottom: clamp(10px, 1.4vh, 16px);
  /* degradado suave de marca (whisper morado → whisper mint), igual para los 8 */
  background: linear-gradient(160deg, #f4f1ff 0%, #eefbf7 100%);
  border: 1.5px solid var(--purple);
  color: var(--purple);
  overflow: hidden;
}
.tm-avatar::after {
  content: ""; position: absolute; inset: -4px; border-radius: inherit;
  border: 1px solid var(--purple-haze); pointer-events: none;
}
.team-member:hover .tm-avatar { border-color: var(--purple-deep); }
.tm-initial {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vh, 2rem); line-height: 1; color: var(--purple);
}
.tm-avatar svg { width: 44%; height: 44%; }
/* Foto: el asset *_avatar.png YA es un headshot cuadrado uniforme con su fondo
   de marca incluido → solo rellena el círculo (sin reencuadres por persona). */
.tm-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: inherit; display: block;
}

.tm-name {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(0.95rem, 1.9vh, 1.06rem); line-height: 1.2;
  color: var(--text); letter-spacing: -0.01em;
}
.tm-role {
  margin-top: 6px;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
}

/* ---- FILA DE CONTACTO (hover en desktop) ----
   Overlay anclado al fondo de la tarjeta: una fila CENTRADA de íconos clicables
   (correo / LinkedIn / WhatsApp / teléfono), sin texto ni URLs. Aparece con fade
   + slide suave. Por defecto oculta (no empuja layout → la grilla cabe en 100svh). */
.tm-contact {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  display: flex; flex-direction: row; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--purple-haze-2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
.team-member:hover .tm-contact,
.team-member:focus-within .tm-contact {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Botón de ícono — círculo monocromo de marca; hover/focus se rellena en morado
   con el ícono en blanco y un lift sutil. Mismo tratamiento para los 4 tipos. */
.tm-ico-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: #f4f1ff; /* whisper morado, igual que el degradado del avatar */
  border: 1px solid var(--purple-haze-2);
  color: var(--purple);
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tm-ico-btn:hover,
.tm-ico-btn:focus-visible {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}
/* WhatsApp: acento VERDE OFICIAL del landing (#10f4ae) en hover, para
   diferenciarlo con gusto; ícono en morado profundo para contraste AA. */
.tm-ico-btn.is-whatsapp:hover,
.tm-ico-btn.is-whatsapp:focus-visible {
  background: #10f4ae;
  border-color: #10f4ae;
  color: var(--purple-deep);
}

.tm-ico {
  flex: 0 0 auto;
  width: 17px; height: 17px;
}
/* correo y teléfono = ícono de trazo; hereda el color del botón (currentColor) */
.is-mail .tm-ico,
.is-tel .tm-ico {
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
/* LinkedIn y WhatsApp = ícono de relleno; hereda el color del botón */
.is-linkedin .tm-ico,
.is-whatsapp .tm-ico { fill: currentColor; stroke: none; }

/* Responsive: 3 col → 2 col (tablet/móvil) → 1 col (muy angosto).
   En móvil la sección deja de ser 100svh (override en _responsive.css) y
   hace scroll libre, así las 9 tarjetas en 2/1 col caben sin comprimirse. */
@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; margin-inline: auto; }
}
@media (max-width: 380px) {
  .team-grid { grid-template-columns: 1fr; max-width: 300px; }
}

/* ---- MÓVIL: sin hover. La fila de íconos se muestra SIEMPRE, centrada, en flujo
   normal debajo del rol (no overlay). Robusta y accesible al tap. ---- */
@media (hover: none), (max-width: 860px) {
  .team-member { overflow: visible; }
  .tm-contact {
    position: static;
    left: auto; right: auto; bottom: auto;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

/* ---- Accesibilidad: sin animación; contacto accesible siempre.
   (Local — el reduced-motion global apagaría .reveal de la grilla.) ---- */
@media (prefers-reduced-motion: reduce) {
  .team-member,
  .tm-contact,
  .tm-avatar,
  .tm-ico-btn { transition: none; }
  /* deja el contacto disponible vía focus/hover sin transición de entrada */
  .team-member:hover .tm-contact,
  .team-member:focus-within .tm-contact { transform: none; }
}

/* ============================================================
   SORTEO · The Macallan
   Hermana de Stand / Recursos: fondo CLARO (var(--bg)), tarjetas
   glass-light, textos oscuros, acento mint/morado de marca.
   El premio (botella NÍTIDA) + "Cómo participar".
   100svh (la heredan .raffle del bloque base).
   ============================================================ */

/* .raffle NO usa la clase .section, así que no heredaba `overflow:hidden` como
   el resto de secciones; en móvil la animación de balanceo de la botella (rotate
   rpSway) y los reveals laterales sobresalían y generaban scroll horizontal
   (franja oscura del fondo de <html> a la derecha). La clipamos igual que las
   demás secciones. */
.raffle { background: var(--bg); overflow: hidden; }

.raffle-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1100px; margin-inline: auto; width: 100%;
}

/* ---------- EL PREMIO (botella) ---------- */
.raffle-prize {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(16px, 2.4vh, 26px);
}
.rp-stage {
  position: relative;
  width: 100%;
  display: grid; place-items: center;
  padding-top: 34px; /* aire para la píldora EL PREMIO */
}
.rp-tag {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em;
  color: var(--mint-deep);
  padding: 6px 14px; border-radius: 999px;
  background: var(--mint-soft);
  border: 1px solid var(--mint-line);
}
/* Wrapper que mece la botella: balanceo continuo "misterio de rifa".
   Pivota desde la BASE (transform-origin) para que la oscilación se vea
   natural, como una botella suspendida. El balanceo va aquí; el lift de
   hover queda en .rp-bottle → sin conflicto de transform entre ambos. */
.rp-bottle-wrap {
  position: relative; z-index: 2;
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform;
  /* Balanceo MÁS marcado (pero elegante): amplitud subida, bucle suave.
     Ritmo ágil (3s) alineado con el resto del sitio, sin perder elegancia. */
  animation: rpSway 3s ease-in-out infinite;
}
@keyframes rpSway {
  0%   { transform: translateY(0)     rotate(-4.5deg); }
  25%  { transform: translateY(-7px)  rotate(0deg); }
  50%  { transform: translateY(-11px) rotate(4.5deg); }
  75%  { transform: translateY(-7px)  rotate(0deg); }
  100% { transform: translateY(0)     rotate(-4.5deg); }
}

/* Halo de marca que LATE detrás de la botella ("misterio de rifa").
   Va en el wrapper para mecerse junto a la botella; solo opacity/scale. */
.rp-bottle-wrap::before {
  content: "";
  position: absolute; z-index: 1; /* detrás de la imagen (.rp-bottle z2) */
  left: 50%; top: 50%;
  width: 150%; aspect-ratio: 1 / 2.6;
  transform: translate(-50%, -50%) scale(0.92);
  background: radial-gradient(
    ellipse 55% 60% at 50% 50%,
    rgba(10, 243, 171, 0.30) 0%,
    rgba(84, 45, 227, 0.18) 42%,
    transparent 72%
  );
  filter: blur(26px);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  /* En fase con el balanceo (3s) para que todo respire al mismo ritmo. */
  animation: rpHalo 3s ease-in-out infinite;
}
@keyframes rpHalo {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.9); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.02); }
}

/* Shimmer premium: banda de luz diagonal que RECORRE la botella, tipo
   reflejo de cristal. Contenido al área de la botella (overflow hidden en el
   propio span, encima de la imagen). Solo transform/opacity en la banda. */
.rp-shine {
  position: absolute; z-index: 3;
  left: 50%; top: 50%;
  width: 50%; height: 96%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  pointer-events: none;
  /* enmascara los bordes para que el destello no muestre cantos duros */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.rp-shine::after {
  content: "";
  position: absolute; top: -30%; left: -60%;
  width: 55%; height: 160%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 30%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(10, 243, 171, 0.45) 54%,
    rgba(255, 255, 255, 0.0) 72%,
    transparent 100%
  );
  transform: translateX(0) skewX(-14deg);
  will-change: transform, opacity;
  /* Destello que cruza más seguido (3.2s): presente, no molesto. */
  animation: rpShine 3.2s ease-in-out infinite;
}
@keyframes rpShine {
  0%, 18%   { transform: translateX(0)     skewX(-14deg); opacity: 0; }
  28%       { opacity: 0.9; }
  60%       { opacity: 0.9; }
  72%, 100% { transform: translateX(320%)  skewX(-14deg); opacity: 0; }
}

.rp-bottle {
  position: relative; z-index: 2;
  display: block;
  /* La botella es muy angosta y altísima (297x1164 ≈ 1:3.92): se LIMITA
     por ALTURA para que toda la sección (cabecera + premio + pasos)
     quepa dentro de 100svh sin desbordar ni montarse sobre el texto. */
  height: auto; width: auto;
  /* margen extra para el mayor recorrido del balanceo (~ -11px) y el halo,
     manteniéndola dentro del 100svh sin montarse sobre el nombre/chips. */
  max-height: clamp(248px, 40vh, 404px);
  /* el ancho nativo es 297px; con max-height 420 el ancho sale ~107px,
     muy por debajo del nativo, así que no se pixela. */
  max-width: 100%;
  object-fit: contain;
  /* sombra de apoyo MUY sutil y limpia, sin difuminar la botella */
  filter: drop-shadow(0 18px 24px rgba(20, 20, 43, 0.18));
  transition: transform 0.4s var(--ease);
}
.raffle-prize:hover .rp-bottle {
  transform: translateY(-8px) scale(1.02);
}
/* sombra de "piso" elíptica, limpia, debajo de la botella */
.rp-floor {
  position: absolute; bottom: 2%; left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 50%;
  width: 46%; height: 16px; border-radius: 50%;
  background: rgba(20, 20, 43, 0.16);
  filter: blur(12px); opacity: 0.7;
  pointer-events: none;
  will-change: transform, opacity;
  /* "Respira" en fase con el balanceo (3s): cuando la botella sube (50%),
     la sombra se ensancha y se aclara, como si se alejara del piso. */
  animation: rpFloor 3s ease-in-out infinite;
}
@keyframes rpFloor {
  0%, 100% { transform: translateX(-50%) scaleX(1);    opacity: 0.7; }
  50%      { transform: translateX(-50%) scaleX(1.18); opacity: 0.42; }
}

.rp-caption {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.rp-name {
  font-weight: 700; font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.18rem);
  color: var(--text); line-height: 1.2;
}
.rp-edition {
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.05em;
  color: var(--mint-deep);
}
.rp-notes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 4px;
}
.rp-notes li {
  font-size: 0.78rem; color: var(--text-2); font-weight: 600;
  padding: 6px 13px; border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* ---------- CÓMO PARTICIPAR ---------- */
.raffle-how { display: flex; flex-direction: column; gap: clamp(16px, 2.4vh, 24px); }
.rh-title {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
  font-weight: 700; color: var(--text); line-height: 1.15;
}
.raffle-steps { display: flex; flex-direction: column; gap: clamp(12px, 1.6vh, 16px); list-style: none; }
.rstep {
  position: relative;
  display: flex; align-items: flex-start; gap: 16px;
  padding: clamp(16px, 1.6vw, 20px);
  border-radius: var(--radius-lg);
  background: var(--glass-light-bg);
  border: 1px solid var(--glass-light-border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.rstep:hover {
  transform: translateY(-4px);
  border-color: var(--mint-line);
  box-shadow: var(--shadow-md);
}
.rstep-num {
  flex-shrink: 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
  background: var(--mint); color: var(--purple-dark);
  box-shadow: 0 6px 16px -4px var(--mint-line);
}
.rstep-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rstep-body h4 {
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.08rem);
  font-weight: 700; color: var(--text); line-height: 1.25;
}
.rstep-body p {
  font-size: 0.88rem; line-height: 1.5; color: var(--text-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .raffle-grid {
    grid-template-columns: 1fr;
    gap: clamp(22px, 3.4vh, 34px);
    max-width: 560px;
  }
  .rp-bottle { max-height: clamp(220px, 30vh, 320px); }
  .raffle-how { text-align: center; }
  .rh-title { text-align: center; }
  .rstep { text-align: left; }
}
@media (max-width: 480px) {
  .rp-bottle { max-height: clamp(190px, 26vh, 260px); }
}

/* Accesibilidad: sin balanceo si el usuario prefiere menos movimiento.
   Queda QUIETA y bien encuadrada (sin congelar un frame inclinado). */
@media (prefers-reduced-motion: reduce) {
  .rp-bottle-wrap,
  .rp-bottle-wrap::before,
  .rp-shine::after,
  .rp-floor {
    animation: none !important;
  }
  .rp-bottle-wrap { transform: none !important; }
  /* halo y destello quietos: halo tenue fijo, shimmer invisible. */
  .rp-bottle-wrap::before { opacity: 0.4; transform: translate(-50%, -50%) scale(0.92); }
  .rp-shine::after { opacity: 0; }
  .rp-floor { transform: translateX(-50%) scaleX(1); opacity: 0.7; }
}

/* ============================================================
   CTA · Código
   ============================================================ */
.cta-band { background: var(--bg); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--paytech-blue);
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0,39,186,0.07); border: 1px solid rgba(0,39,186,0.15);
  margin-bottom: 18px;
}
.cta-kicker .k-index { color: var(--mint-deep); }
.cta-inner h2 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.06; max-width: 720px; letter-spacing: -0.02em; }
.cta-inner > p { margin-top: 16px; color: var(--text-soft); font-size: 1.05rem; }

/* Layout 2 columnas: video protagonista (izq) + código libre (der).
   Detalles del código y resaltador: ver bloque FASE1: PROMO al final del archivo. */
.cta-grid {
  width: 100%; margin-top: clamp(22px, 4vh, 38px);
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
  max-width: 1040px; margin-inline: auto;
}
.cta-video {
  width: 100%; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: var(--bg-gray);
}
.cta-video video { width: 100%; height: auto; display: block; }

.cta-actions {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px; text-align: left;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { position: relative; background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 32px; overflow: hidden; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-logo { width: 150px; margin-bottom: 16px; }
.footer-tag { color: var(--text-soft); font-size: 0.92rem; max-width: 280px; margin-bottom: 10px; }
.footer-mantra { font-weight: 600; color: var(--purple); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.92rem; color: var(--text-2); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(40px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-dim);
}

/* ============================================================
   SIDEBAR NUEVO — DOCK FLOTANTE (desktop) / BOTTOM BAR (móvil)
   ============================================================ */
/* Sidebar minimalista: SOLO íconos, sin cápsula de fondo ni píldora.
   Al hover / activo aparece el nombre como texto simple a la derecha
   (sin caja, sin fondo). El activo se marca resaltando el ícono. */
.section-nav {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 0; border: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.sn-item {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  height: 40px; border-radius: 0;
  color: var(--text-dim); background: none;
  transition: color 0.25s var(--ease);
}
.sn-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  /* halo sutil para que el ícono lea sobre fondos claros y oscuros
     (no hay cápsula de fondo) */
  filter: drop-shadow(0 1px 3px rgba(255,255,255,0.55)) drop-shadow(0 0 1px rgba(20,20,43,0.35));
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.sn-ico svg { width: 22px; height: 22px; }
/* Isotipo OpenCard como ícono de marca (único a color, intencional) */
.sn-iso { width: 23px; height: 23px; object-fit: contain; display: block; }
/* El isotipo no necesita el halo blanco (ya tiene su propia forma a color);
   se mantiene legible y nítido en reposo y activo */
.sn-ico--brand { filter: drop-shadow(0 1px 3px rgba(20,20,43,0.22)); }
.sn-item.active .sn-ico--brand,
.sn-item:hover .sn-ico--brand { transform: none; }
.sn-item.active .sn-ico--brand { filter: drop-shadow(0 1px 4px rgba(84,45,227,0.35)); }
/* Nombre de la sección: texto simple, sin caja ni fondo */
.sn-label {
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  color: var(--purple); opacity: 0; transform: translateX(-4px);
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(255,255,255,0.85);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.sn-item:hover { color: var(--purple); }
.sn-item:hover .sn-ico:not(.sn-ico--brand) { transform: translateX(2px) scale(1.08); color: var(--purple); }
.sn-item:hover .sn-ico--brand { color: var(--purple); }
.sn-item.active .sn-ico:not(.sn-ico--brand) { transform: scale(1.06); }
.sn-item:hover .sn-label { opacity: 1; transform: translateX(0); }
/* Activo: ícono resaltado en color de marca + nombre visible (sin caja) */
.sn-item.active { color: var(--purple); }
.sn-item.active .sn-ico { color: var(--purple); }
.sn-item.active .sn-label { opacity: 1; transform: translateX(0); }

/* Botón siguiente · indicador de scroll moderno, centrado abajo.
   Botón circular glass con anillo de glow de marca + chevron con bounce sutil.
   Combina sobre fondos claros y oscuros (las secciones alternan). */
.next-section {
  /* Respeta el indicador de inicio del iPhone (safe-area). En desktop/Android
     env(...) = 0 → queda en 26px como siempre. */
  position: fixed; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 91;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0; border-radius: 999px;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(84, 45, 227, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 26px rgba(84, 45, 227, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              box-shadow 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* Anillo pulsante de glow de marca detrás del botón */
.ns-ring {
  position: absolute; inset: -6px; border-radius: 999px; pointer-events: none;
  border: 1.5px solid rgba(84, 45, 227, 0.35);
  animation: nsPulse 2.6s var(--ease) infinite;
}
.next-section:hover {
  transform: translateX(-50%) translateY(-4px);
  background: var(--purple); color: #fff; border-color: var(--purple);
  box-shadow: 0 12px 34px rgba(84, 45, 227, 0.45), 0 0 22px rgba(16, 244, 174, 0.35);
}
.next-section:hover .ns-ring { border-color: rgba(16, 244, 174, 0.55); }
.next-section:focus-visible {
  outline: 3px solid var(--mint); outline-offset: 4px;
}
.ns-chevron {
  width: 22px; height: 22px; position: relative; z-index: 1;
  transition: transform 0.3s var(--ease);
  animation: nsBounce 2s var(--ease) infinite;
}
.next-section.up .ns-chevron { transform: rotate(180deg); animation: none; }
@keyframes nsBounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
@keyframes nsPulse {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-chevron { animation: none; transform: none; }
  .ns-ring { animation: none; opacity: 0.6; }
  .next-section:hover { transform: translateX(-50%); }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); z-index: 9998;
  padding: 14px 22px; border-radius: 999px;
  background: var(--purple-dark); color: #fff;
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-xl);
  opacity: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   REVEALS
   ============================================================ */
/* Reveal base + variantes direccionales. Solo opacity/transform (perf).
   Se anima con --ease-out y --dur. Re-disparable: el JS quita/pone .in en
   cada entrada/salida del viewport (con scroll-snap se siente vivo). */
.reveal {
  opacity: 0;
  /* entrada base: sube desde abajo + escala leve para que se SIENTA */
  transform: translateY(var(--reveal-shift)) scale(var(--reveal-scale));
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Variantes direccionales (mismo token de desplazamiento) */
.reveal-up    { transform: translateY(var(--reveal-shift)); }
.reveal-down  { transform: translateY(calc(var(--reveal-shift) * -1)); }
.reveal-left  { transform: translateX(calc(var(--reveal-shift) * -1.4)); }
.reveal-right { transform: translateX(calc(var(--reveal-shift) * 1.4)); }
.reveal-scale { transform: scale(0.9); }
.reveal-up.in, .reveal-down.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in { transform: none; }

/* Stagger por data-delay (compat. con lo existente) — más separado para que se note */
.reveal[data-delay="1"] { transition-delay: 0.13s; }
.reveal[data-delay="2"] { transition-delay: 0.26s; }
.reveal[data-delay="3"] { transition-delay: 0.39s; }
.reveal[data-delay="4"] { transition-delay: 0.52s; }

/* Stagger automático: el JS marca el contenedor con [data-stagger] y a cada
   hijo le asigna --i; entran en cascada. Usa @keyframes (no transition) para
   no interferir con la transición de hover propia de cada hijo (cards/métricas).
   Al salir del viewport el JS quita .in → el hijo vuelve a su estado oculto. */
[data-stagger] > * { opacity: 0; transform: translateY(var(--reveal-shift)); }
[data-stagger="scale"] > * { transform: translateY(var(--reveal-shift)) scale(var(--reveal-scale)); }
/* Al revelar: estado final como propiedad NORMAL (no fill de animación) para no
   bloquear el transform del hover; la animación usa fill `backwards` (mantiene el
   estado oculto solo durante el delay), y al terminar el elemento queda en su
   estado normal visible → el hover/tilt responde con su propia transición. */
[data-stagger].in > * {
  opacity: 1; transform: none;
  animation: staggerIn var(--dur) var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * var(--stagger));
}
[data-stagger="scale"].in > * { animation-name: staggerInScale; }
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(var(--reveal-shift)); }
  to   { opacity: 1; transform: none; }
}
@keyframes staggerInScale {
  from { opacity: 0; transform: translateY(var(--reveal-shift)) scale(var(--reveal-scale)); }
  to   { opacity: 1; transform: none; }
}

/* MÓVIL: los reveals HORIZONTALES (left/right) desplazan el bloque ±53px de lado
   mientras está oculto; en pantallas angostas (bloques casi full-width) eso empuja
   el contenido fuera del viewport y crea SCROLL HORIZONTAL (franja del fondo a la
   derecha). En celular los convertimos a un reveal VERTICAL (sube desde abajo):
   misma sensación de entrada, cero desbordamiento lateral. */
@media (max-width: 560px) {
  .reveal-left,
  .reveal-right { transform: translateY(var(--reveal-shift)); }
  .reveal-left.in,
  .reveal-right.in { transform: none; }
}

/* ============================================================
   NUMERACIÓN DE SECCIÓN — moderna (reemplaza el "// 07")
   ============================================================ */
.sec-no {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.04em; line-height: 1;
  color: var(--purple); background: #fff;
  border-radius: 7px; box-shadow: 0 2px 8px -3px var(--purple-glow);
}
.kicker-on-dark .sec-no { color: var(--purple-dark); background: var(--mint); box-shadow: 0 0 12px var(--mint-line); }
.cta-kicker .sec-no { color: #fff; background: var(--paytech-blue); box-shadow: 0 2px 8px -3px rgba(0,39,186,0.5); }

/* Acentos en títulos */
.h-accent { color: var(--purple); }
.section-dark .h-accent, .h-accent-mint { color: var(--mint); }

/* ============================================================
   STAND — render 3D giratorio (fijo, no editable)
   ============================================================ */
/* El layout de la sección (render + actividades) vive en "FASE1: STAND". */
.stand-render { position: relative; }
.sr-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 14px; background: linear-gradient(160deg, #fff, var(--bg-soft));
  border: 1px solid var(--glass-light-border); box-shadow: var(--shadow-lg);
  perspective: 1800px; perspective-origin: 50% 42%;
  display: grid; place-items: center; min-height: clamp(240px, 32svh, 320px);
}
.sr-glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 45%, var(--purple-haze-2), transparent 70%);
}

/* ===== Escena 3D del stand (clonada de 3D_render/index.html) =====
   Composición CSS preserve-3d con las 3 piezas reales del stand
   (backing / counter / cenefa). Rotación automática suave.
   Escala: 1 cm = 2 px, encogida con scale() para caber en la card. */
.sr-scene {
  position: relative; z-index: 1; width: 240px; height: 300px;
}
.sr-stand {
  width: 460px; height: 600px; position: absolute;
  top: 50%; left: 50%; margin: -300px 0 0 -230px;
  transform-style: preserve-3d;
  transform: scale(0.5) rotateX(-12deg) rotateY(-26deg);
  animation: srSpin 22s ease-in-out infinite;
}
@keyframes srSpin {
  0%   { transform: scale(0.5) rotateX(-12deg) rotateY(-30deg); }
  50%  { transform: scale(0.5) rotateX(-12deg) rotateY(-2deg); }
  100% { transform: scale(0.5) rotateX(-12deg) rotateY(-30deg); }
}

/* PISO 2.00×2.00 m */
.sr-floor {
  position: absolute; width: 400px; height: 400px; left: 30px; top: 560px;
  transform: rotateX(90deg); transform-origin: top center;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(214,213,228,0.55) 60%, rgba(190,189,206,0.4) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(84,45,227,0.16);
}
.sr-floor::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(84,45,227,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84,45,227,0.07) 1px, transparent 1px);
  background-size: 80px 80px;
}
.sr-floor-shadow-back {
  position: absolute; left: 0; top: 0; width: 400px; height: 90px;
  background: linear-gradient(180deg, rgba(20,20,43,0.34) 0%, transparent 100%); filter: blur(6px);
}
.sr-counter-shadow {
  position: absolute; left: -20px; top: 70px; width: 290px; height: 215px;
  background: radial-gradient(ellipse 46% 46% at 50% 48%, rgba(20,20,43,0.42) 0%, transparent 72%); filter: blur(7px);
}

/* BACKING — pared trasera 200×240 cm (imagen real) */
.sr-back-wall {
  position: absolute; width: 400px; height: 480px; left: 30px; top: 80px;
  background: #ffffff; overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 40px 70px -26px rgba(20,20,43,0.55), inset 0 0 0 1px rgba(20,20,43,0.07);
}
.sr-back-wall > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sr-back-wall::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,0.22) 0%, transparent 22%, transparent 76%, rgba(20,20,43,0.12) 100%);
}

/* CENEFA SUPERIOR — 120×30 cm (imagen real) */
.sr-cenefa {
  position: absolute; width: 240px; height: 60px; left: 110px; top: 44px;
  transform-style: preserve-3d; transform: translateZ(40px);
  filter: drop-shadow(0 14px 20px rgba(20,20,43,0.32));
}
.sr-cenefa-face { position: absolute; }
.sr-cenefa-front {
  width: 240px; height: 60px; background: #fff; overflow: hidden;
  border-radius: 30px; transform: translateZ(13px); box-shadow: inset 0 0 0 1px rgba(20,20,43,0.08);
}
.sr-cenefa-front > img { width: 100%; height: 100%; object-fit: cover; }
.sr-cenefa-back { width: 240px; height: 60px; background: linear-gradient(180deg, #f0eff6, #d7d5e4); border-radius: 30px; transform: translateZ(-13px); }
.sr-cenefa-top { width: 240px; height: 26px; background: linear-gradient(180deg, #ffffff, #ebeaf3); border-radius: 13px; transform: rotateX(-90deg) translateZ(13px); transform-origin: top center; }
.sr-cenefa-bottom { width: 240px; height: 26px; top: 60px; background: linear-gradient(180deg, #cdcbdd, #b6b4ca); border-radius: 13px; transform: rotateX(-90deg) translateZ(13px); transform-origin: top center; }
.sr-cenefa-support { position: absolute; width: 6px; height: 5px; top: 78px; background: linear-gradient(180deg, #9d9bb0, #5c5a72); transform-origin: left center; transform: rotateY(90deg); }
.sr-cenefa-support.left  { left: 150px; width: 40px; }
.sr-cenefa-support.right { left: 304px; width: 40px; }

/* COUNTER — 100×90 cm, profundidad 55 cm (imagen real) */
.sr-counter {
  position: absolute; width: 200px; height: 180px; left: 55px; top: 380px;
  transform-style: preserve-3d; transform: translateZ(175px);
  filter: drop-shadow(0 30px 30px rgba(20,20,43,0.4));
}
.sr-counter-face { position: absolute; }
.sr-counter-front {
  width: 200px; height: 180px; background: #fff; overflow: hidden;
  transform: translateZ(55px); box-shadow: inset 0 0 0 1px rgba(20,20,43,0.07);
}
.sr-counter-front > img { width: 100%; height: 100%; object-fit: cover; }
.sr-counter-top { width: 200px; height: 110px; background: linear-gradient(160deg, #ffffff 0%, #e9e8f2 100%); transform: rotateX(-90deg) translateZ(55px); transform-origin: top center; box-shadow: inset 0 0 0 1px rgba(20,20,43,0.05); }
.sr-counter-left { width: 110px; height: 180px; left: 0; background: linear-gradient(90deg, #c6c4da 0%, #e7e6f1 100%); transform: rotateY(-90deg); transform-origin: left center; }
.sr-counter-right { width: 110px; height: 180px; right: 0; background: linear-gradient(90deg, #e7e6f1 0%, #c6c4da 100%); transform: rotateY(90deg); transform-origin: right center; }


/* ============================================================
   VENUE + MAPA
   ============================================================ */
.venue-block {
  position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
.venue-info { display: flex; flex-direction: column; justify-content: center; }
.venue-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--purple);
  padding: 6px 14px; border-radius: 999px;
  background: var(--purple-haze); border: 1px solid var(--purple-haze-2); margin-bottom: 16px;
}
.ve-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.venue-info h3 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin-top: 4px; }
.venue-addr { font-family: var(--font-mono); font-size: 0.92rem; color: var(--purple); margin: 12px 0 14px; font-weight: 600; letter-spacing: 0.01em; }
.venue-note { color: var(--text-soft); font-size: 1rem; line-height: 1.6; margin-bottom: 26px; max-width: 420px; }
.venue-info .btn { align-self: flex-start; }
.venue-map {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-light-border); box-shadow: var(--shadow-lg);
  min-height: 320px; aspect-ratio: 16 / 10;
  width: 100%; min-width: 0; max-width: 100%;
}
.venue-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(1.05); }

/* ============================================================
   MÁS MICROINTERACCIONES — pop / salto en hover
   ============================================================ */
.metric:hover .metric-num { transform: scale(1.06); transition: transform 0.3s var(--ease); }
.metric-num { display: block; transition: transform 0.3s var(--ease); transform-origin: left center; }
.card:hover .card-icon { transform: translateY(-4px) rotate(-4deg); }
.card-icon { transition: transform 0.35s var(--ease); }
.stand-act:hover .sa-icon { transform: translateY(-3px) scale(1.08); }
.sa-icon { transition: transform 0.35s var(--ease); }
.raffle-notes li { transition: transform 0.22s var(--ease), background 0.22s var(--ease); }
.raffle-notes li:hover { transform: translateY(-3px) scale(1.04); background: rgba(16,244,174,0.12); }
.rm-step:hover .rm-num { transform: scale(1.15) rotate(6deg); transition: transform 0.25s var(--ease); }
.rm-num { transition: transform 0.25s var(--ease); }
.metrics-isotipo { transition: transform 0.4s var(--ease); }
.module-head:hover .metrics-isotipo { transform: rotate(8deg) scale(1.08); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  /* minmax(0,1fr) evita el "grid blowout": sin él, el track 1fr no puede
     achicarse por debajo del tamaño mínimo del contenido (mapa con
     aspect-ratio + min-height) y la celda crece más que el viewport. */
  .venue-block { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .venue-map { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-layout { grid-template-columns: 1fr; gap: 40px; }
  .raffle-stage { order: -1; }
  .raffle-inner { grid-template-columns: 1fr; gap: 48px; }
  .raffle-stage { max-width: 340px; margin-inline: auto; order: -1; }
}

@media (max-width: 860px) {
  /* MÓVIL: SCROLL LIBRE (sin snap). En desktop el scroll-snap se mantiene
     igual; aquí lo desactivamos para que el scroll fluya continuo y no se
     "enganche" en cada sección. Quitamos el snap del contenedor y el
     snap-align de TODAS las secciones (incluye .purpose y el footer). */
  html { scroll-snap-type: none; }
  .hero,
  .metrics, .oss, .wallet-section, .materials, .purpose, .speaker, .stand-section,
  .team-section, .venue-section, .raffle, .cta-band,
  footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  /* MÓVIL: cada sección parte de 100svh PERO si el contenido no cabe, crece
     y hace scroll natural → nunca se recorta ni se tapa. Se centra el
     contenido cuando sobra espacio (flex permite el overflow). */
  .hero,
  .metrics, .oss, .wallet-section, .materials, .purpose, .speaker, .stand-section,
  .venue-section, .raffle, .cta-band {
    height: auto; min-height: 100svh;
    justify-content: center;
    padding-block: clamp(64px, 12vh, 90px) clamp(88px, 16vh, 110px);
  }
  /* la barra inferior flotante no debe tapar contenido: reservamos hueco */
  .hero { padding-bottom: 0; }

  /* EQUIPO en móvil: scroll LIBRE → NO forzar 100svh. Compactamos paddings
     y gaps para que las tarjetas fluyan apretadas, sin huecos en blanco. */
  .team-section {
    height: auto; min-height: 0;
    justify-content: center;
    padding-block: clamp(40px, 8vh, 56px) clamp(56px, 10vh, 72px);
  }
  .team-grid { gap: clamp(14px, 3vw, 18px); }

  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  /* Promo: en móvil/tablet se apila — video arriba, código abajo */
  .cta-grid { grid-template-columns: 1fr; max-width: 480px; gap: clamp(20px, 4vh, 32px); }
  .cta-actions { align-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .next-section { display: none; }
  /* El responsive del diagrama OSS lo aporta su propio archivo (one-stop-shop.css). */

  /* SPEAKER: el split apila → foto+info, luego la charla, luego el botón */
  .speaker-light .sp-split{
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vh, 38px);
    justify-items: center;
  }
  .speaker-light .sp-list{ margin-inline: auto; }

  /* SIDEBAR → BOTTOM BAR flotante tipo app (solo íconos, sin labels) */
  .section-nav {
    left: 50%; right: auto; top: auto; bottom: 14px;
    transform: translateX(-50%);
    flex-direction: row; align-items: center; gap: 2px;
    padding: 8px 12px; border-radius: 999px;
    max-width: calc(100vw - 28px); overflow-x: auto;
    background: var(--glass-light-bg);
    border: 1px solid var(--glass-light-border);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
  }
  .sn-item { width: 40px; height: 40px; gap: 0; }
  .sn-item:hover .sn-ico,
  .sn-item:hover .sn-ico:not(.sn-ico--brand),
  .sn-item.active .sn-ico:not(.sn-ico--brand) { transform: none; }
  .sn-label { display: none; }
}

@media (max-width: 560px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { justify-content: center; }
  .raffle-notes { gap: 8px; }

  /* Speaker en celular: lista apila label sobre dato; retrato algo menor */
  .speaker-layout { gap: 26px; }
  .speaker-light .sp-portrait { --av: clamp(150px, 40vw, 196px); }
  .speaker-light .sp-row { grid-template-columns: 1fr; gap: 5px; }
  .speaker-light .sp-row dd { font-size: 0.95rem; }

  /* El OSS móvil compacto lo aporta el bloque copiado de la v1. */

  /* Render 3D del stand más compacto (ajustes finos en "FASE1: STAND") */
  .sr-stage { min-height: 320px; padding: 14px; }
  .sr-scene { transform: scale(0.84); }

  /* Botella del sorteo proporcionada al celular */
  .raffle-stage { max-width: 260px; }
}

/* ============================================================
   ACCESIBILIDAD — movimiento reducido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  [data-stagger] > * { opacity: 1; transform: none; transition-delay: 0s; }
  .stage-bottle { transform: none; opacity: 1; }
  .aurora::before, .aurora::after { animation: none !important; }
  .metric.in .metric-bar::after { width: 64%; }
  .metric-rule::after { transform: scaleX(1) !important; }
  .oss-diagram.anim .oss-node { opacity: 1; transform: none; }
  .oss-diagram.anim .wire { stroke-dashoffset: 0; }
  .wire-pulse { animation: none !important; opacity: 0; }
  .sr-stand { animation: none !important; transform: scale(0.62) rotateX(-12deg) rotateY(-22deg) !important; }
}


/* Finanzas Embebidas en verde de marca */
.oss-sub-hl{color:#10f4ae!important;}


/* ===== FASE1: RECURSOS ===== */
/* Tarjetas sin parrafo: el <h3> (titulo del documento) crece para empujar
   el boton de descarga al fondo, conservando la alineacion original. */
.materials .card h3 { flex: 1; margin-bottom: 22px; }
/* ===== SORTEO · ajustes adicionales =====
   El rediseño de la sección (premio + cómo participar, alineado al
   sistema visual del sitio) vive completo en styles/sorteo.css.
   Este archivo se mantiene en la cascada por orden de css-order.json;
   sin overrides activos por ahora. */

/* ===== FASE1: HERO ===== */
/* Logo OpenCard sin caja: drop-shadow suave para despegarlo del video y mantener legibilidad
   del texto morado #542DE3 sobre fondo oscuro, sin alterar el color del logo. */
.hero-opencard-logo {
  margin-bottom: 4px;
  filter:
    drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 26px rgba(15, 8, 45, 0.7));
}
/* ===== /HERO ===== */
/* ===== SPEAKER · versión sobre BLANCO — moderna & premium =====
   Misma piel del landing: fondo claro vivo (aurora + retícula), título de
   sección centrado, retrato de Omar como protagonista dentro de un panel
   glass de bordes redondeados con halo de marca, y una tarjeta de sesión
   glass que integra el track "Bootcamp" (acento rojo de evento) + horario,
   el tema de la charla y el CTA. El rojo se usa SOLO como acento del track. */
.speaker-light{
  background: var(--bg);
  color: var(--text);
  position: relative; overflow: hidden;
}
/* Misma vara de cabecera que el resto del sitio (no más outlier a 800). */
.speaker-light h2{ font-size: var(--fs-h1); font-weight:700; line-height:1.05; color: var(--text); letter-spacing:-0.025em; }
.speaker-light .h-accent{ color: var(--purple); }

/* ===== #speaker — variante B: retrato circular centrado =====
   Composición simétrica sobre fondo BLANCO de marca. El retrato circular de
   Omar va encima de una animación de marca (anillos/órbitas + partículas +
   arcos) que pasa POR DETRÁS — sin disco sólido. Debajo, los datos de la
   sesión como LISTA vertical sobria. El rojo (--bootcamp-red) aparece SOLO en
   el tag del track "Bootcamp de Payments". Cada dato se muestra una sola vez. */
.speaker-light .sp-stack{
  position: relative; z-index: 1;
  max-width: 1040px;
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}

/* SPLIT: izquierda (retrato + identidad) · derecha (datos de la charla) */
.speaker-light .sp-split{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
/* MÓVIL: el split apila (retrato+identidad arriba, datos abajo). Esta regla va
   DESPUÉS de la base .sp-split para ganar en cascada (misma especificidad → gana
   la última); si estuviera antes, la base de 2 columnas la pisaría y los datos
   se comprimirían hasta desbordar el viewport. */
@media (max-width: 860px) {
  .speaker-light .sp-split{
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 5vh, 38px);
    justify-items: center;
  }
  .speaker-light .sp-list{ margin-inline: auto; }
}

/* IZQUIERDA: columna centrada con retrato + identidad */
.speaker-light .sp-aside{
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

/* ---- Retrato circular + animación de fondo (sin fondo sólido) ----
   .sp-portrait es la CAJA-ESCENARIO que RESERVA el bounding box COMPLETO de toda
   la animación (anillos + arcos + partículas orbitando el retrato): su ancho y
   alto = diámetro del anillo MÁS EXTERNO. El retrato va centrado dentro.
   IMPORTANTE (pedido de Jefer): el bloque toma en cuenta el alto+ancho TOTAL de
   la animación junto con la foto, sin recortar ni reabsorber espacio. Así el
   nombre "Omar Arab" y el rol quedan SIEMPRE debajo, en flujo normal, y NADA de
   la órbita se monta sobre el texto.
   --av: diámetro del retrato; --stage: diámetro de la escena (retrato + órbitas).
   overflow:hidden como red de seguridad: el stage ya es del tamaño exacto del
   anillo externo, así que no recorta nada visible. SIN margin negativo. */
.speaker-light .sp-portrait{
  --av: clamp(196px, 21vh, 256px);
  --stage: calc(var(--av) * 1.42);
  position: relative;
  width: var(--stage);
  height: var(--stage);
  flex: none;                 /* dentro del flex column del aside: no se encoge */
  display: grid; place-items: center;
  overflow: hidden;
}

/* Capa de animación: ocupa toda la escena reservada (sin desbordar el bloque) */
.speaker-light .sp-orbit{
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Anillos concéntricos que giran lentamente (gradiente cónico morado→mint) */
.speaker-light .sp-ring{
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
/* El avatar ocupa ~70% del stage (--av / --stage = 1/1.42). Los anillos/arcos
   se dibujan ENTRE el borde del avatar (~70%) y el borde del stage (100%) para
   que se vean COMPLETOS alrededor del retrato, sin recortarse ni montarse. */
.speaker-light .sp-ring-1{
  width: 99%; height: 99%;
  border: 1.5px dashed rgba(84, 45, 227, 0.38);
  animation: sp-spin 26s linear infinite;
}
.speaker-light .sp-ring-2{
  width: 86%; height: 86%;
  border: 2px solid transparent;
  background:
    conic-gradient(from 0deg, transparent 0 55%, rgba(16,244,174,0.95) 76%, transparent 92%) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  animation: sp-spin-rev 18s linear infinite;
}
.speaker-light .sp-ring-3{
  width: 93%; height: 93%;
  border: 1px solid rgba(84, 45, 227, 0.16);
  animation: sp-spin 40s linear infinite;
}

/* Arcos de marca (trazos brillantes que orbitan), entre avatar y borde del stage */
.speaker-light .sp-arc{
  position: absolute; left: 50%; top: 50%;
  width: 97%; height: 97%;
  border-radius: 50%;
  border: 2.5px solid transparent;
  transform: translate(-50%, -50%);
}
.speaker-light .sp-arc-1{
  border-top-color: var(--purple);
  border-right-color: var(--purple);
  opacity: 0.7;
  animation: sp-spin 11s cubic-bezier(.45,0,.55,1) infinite;
}
.speaker-light .sp-arc-2{
  width: 90%; height: 90%;
  border-bottom-color: var(--mint);
  opacity: 0.85;
  animation: sp-spin-rev 8s cubic-bezier(.45,0,.55,1) infinite;
}

/* Partículas que orbitan a distintos radios/tiempos */
.speaker-light .sp-dot{
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  margin: -4.5px 0 0 -4.5px;
  transform-origin: 0 0;
}
.speaker-light .sp-dot::after{
  content: ""; position: absolute; inset: 0; border-radius: 50%;
}
/* Radio de cada órbita atado a --stage: las partículas orbitan en la BANDA entre
   el borde del avatar (--stage*0.352) y el borde del stage (--stage*0.5), de modo
   que se ven girando ALREDEDOR del retrato y caen completas dentro del bloque. */
.speaker-light .sp-dot-a{ --r: calc(var(--stage) * 0.44); animation: sp-orbit-a 9s linear infinite; }
.speaker-light .sp-dot-a::after{ background: var(--mint); box-shadow: 0 0 12px rgba(16,244,174,0.85); }
.speaker-light .sp-dot-b{ --r: calc(var(--stage) * 0.40); width: 6px; height: 6px; margin: -3px 0 0 -3px; animation: sp-orbit-b 14s linear infinite; }
.speaker-light .sp-dot-b::after{ background: var(--purple); box-shadow: 0 0 10px rgba(84,45,227,0.75); }
.speaker-light .sp-dot-c{ --r: calc(var(--stage) * 0.46); width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; animation: sp-orbit-c 20s linear infinite; }
.speaker-light .sp-dot-c::after{ background: var(--purple-light); box-shadow: 0 0 10px rgba(158,136,240,0.75); }
.speaker-light .sp-dot-d{ --r: calc(var(--stage) * 0.42); width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; animation: sp-orbit-d 12s linear infinite; }
.speaker-light .sp-dot-d::after{ background: var(--mint); box-shadow: 0 0 8px rgba(16,244,174,0.75); }

/* Retrato circular: foto recortada en círculo con anillo de marca, sobre blanco.
   El padding deja ver el gradiente morado→mint como anillo; un anillo blanco
   intermedio separa foto y gradiente para que respire sobre el fondo. */
.speaker-light .sp-avatar{
  position: relative; z-index: 2;
  width: var(--av); height: var(--av);
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(140deg, var(--mint), var(--purple));
  box-shadow:
    0 0 0 6px var(--bg),
    0 22px 44px -18px rgba(20, 20, 43, 0.30);
}
.speaker-light .sp-img{
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  background: var(--bg-soft);
}

/* ---- Identidad ---- */
.speaker-light .sp-name{
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  color: var(--purple);
  /* separación limpia bajo la escena (el stage ya reserva todo su alto):
     el nombre queda DEBAJO de la animación, nunca solapado */
  margin: clamp(14px, 2vh, 22px) 0 0;
}
.speaker-light .sp-role{
  font-size: 0.95rem; font-weight: 600; color: var(--text-soft);
  line-height: 1.4; margin: 8px 0 0;
  max-width: 40ch;
}

/* ---- Datos de la sesión como LISTA vertical (columna derecha del split) ---- */
.speaker-light .sp-list{
  width: 100%; max-width: 540px;
  margin: 0;
  padding: 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.speaker-light .sp-row{
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: clamp(11px, 1.7vh, 15px) 0;
  border-bottom: 1px solid var(--line);
}
.speaker-light .sp-row dt{
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.speaker-light .sp-row dd{
  margin: 0;
  font-size: 1rem; font-weight: 700; line-height: 1.35;
  color: var(--text);
}
.speaker-light .sp-row-talk{
  letter-spacing: -0.01em;
}
.speaker-light .sp-row-time{
  font-variant-numeric: tabular-nums;
}

/* Tag del track: ÚNICO uso del rojo de evento */
.speaker-light .sp-track-tag{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bootcamp-soft);
  border: 1px solid rgba(240, 57, 43, 0.28);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.01em;
  color: var(--bootcamp-red);
}
.speaker-light .sp-track-tag::before{
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bootcamp-red); flex: none;
}

/* CTA a todo el ancho, centrado, debajo del split */
.speaker-light .sp-cta{ margin-top: clamp(26px, 4vh, 44px); }

/* Animaciones de la órbita (giro de capas + partículas en círculo) */
@keyframes sp-spin{ to{ transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sp-spin-rev{ to{ transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes sp-orbit-a{
  from{ transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
  to{   transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); }
}
@keyframes sp-orbit-b{
  from{ transform: rotate(120deg) translateX(var(--r)) rotate(-120deg); }
  to{   transform: rotate(-240deg) translateX(var(--r)) rotate(240deg); }
}
@keyframes sp-orbit-c{
  from{ transform: rotate(220deg) translateX(var(--r)) rotate(-220deg); }
  to{   transform: rotate(580deg) translateX(var(--r)) rotate(-580deg); }
}
@keyframes sp-orbit-d{
  from{ transform: rotate(40deg) translateX(var(--r)) rotate(-40deg); }
  to{   transform: rotate(400deg) translateX(var(--r)) rotate(-400deg); }
}

/* Accesibilidad: con reduced-motion la órbita queda en estado calmo (sin giro) */
@media (prefers-reduced-motion: reduce){
  .speaker-light .sp-ring,
  .speaker-light .sp-arc,
  .speaker-light .sp-dot{ animation: none !important; }
}

/* ===== FASE1: CIFRAS ===== */
/* Indicador rediseñado: reemplaza la antigua .metric-bar (que se llenaba al
   64% sin significado). Regla de marca sobria: línea base tenue a todo el
   ancho + un acento mint definido a la izquierda con glow suave. */
.metric-rule{
  display:block; position:relative; z-index:1;
  width:100%; height:2px; margin:18px 0;
  background:var(--line); border-radius:999px; overflow:visible;
}
.metric-rule::after{
  content:""; position:absolute; left:0; top:0; height:100%;
  width:36px; border-radius:999px;
  background:linear-gradient(90deg, var(--mint), var(--mint-deep));
  box-shadow:0 0 10px rgba(16,244,174,0.55);
  /* La regla se "dibuja" al entrar la sección (de 0 a su ancho). */
  transform:scaleX(0); transform-origin:left center;
  transition:transform var(--dur-slow) var(--ease-out) calc(var(--i,0) * var(--stagger) + 140ms);
}
[data-stagger].in .metric-rule::after{ transform:scaleX(1); }
/* La métrica "BaaS" usa palabra en vez de número: mismo peso visual. */
.metric-word{
  display:block; position:relative; z-index:1;
  font-size:clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight:800; line-height:1; letter-spacing:-0.02em;
  color:var(--purple);
}

/* ===== FASE1: OSS ===== */
/* One-Stop-Shop — capa de "tech sobrio": fondo de escaneo, halos de nodo,
   pulsos de datos enriquecidos y pedestal holográfico. Ambiental, sin
   interacción. Todo consume tokens (--purple / --mint #0AF3AB local). */

/* --- fondo: escaneo + glow tech sobre la grilla existente --- */
.oss::before{
  content:"";
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 48% at 50% 42%, rgba(84,45,227,0.07) 0%, transparent 72%),
    radial-gradient(circle 30% 40% at 50% 42%, rgba(10,243,171,0.06) 0%, transparent 70%);
}
/* línea de escaneo horizontal, lenta y tenue */
.oss-bg-grid::after{
  content:"";
  position:absolute; left:0; right:0; top:8%; height:2px;
  background:linear-gradient(90deg, transparent, rgba(84,45,227,0.30) 30%, rgba(10,243,171,0.45) 50%, rgba(84,45,227,0.30) 70%, transparent);
  box-shadow:0 0 18px rgba(10,243,171,0.25);
  opacity:.55;
  animation:ossScan 7.5s linear infinite;
}
@keyframes ossScan{
  0%   { top:8%;  opacity:0; }
  10%  { opacity:.6; }
  90%  { opacity:.6; }
  100% { top:88%; opacity:0; }
}

/* --- nodos: pedestal holográfico + halo de glow (ambiental) --- */
.node-art{ position:relative; }
/* halo difuso detrás del arte (sober, constante y sutil) */
.node-art::before{
  content:"";
  position:absolute; left:50%; top:48%;
  width:120px; height:120px;
  transform:translate(-50%,-50%) scale(.7);
  border-radius:50%;
  background:radial-gradient(circle, var(--glow) 0%, transparent 68%);
  opacity:.35; filter:blur(4px);
  pointer-events:none; z-index:0;
}
/* pedestal: elipse-plataforma tech bajo el arte */
.node-art::after{
  content:"";
  position:absolute; left:50%; bottom:-6px;
  width:74px; height:14px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at center, var(--glow) 0%, transparent 72%);
  opacity:.28; filter:blur(1px);
  pointer-events:none; z-index:0;
}
.node-art svg{ position:relative; z-index:1; }

/* el Core (corazón) late suave de forma permanente — verde de marca */
.node-core .node-art::before{
  opacity:.45; transform:translate(-50%,-50%) scale(.82);
  animation:ossCorePulse 3.4s ease-in-out infinite;
}
@keyframes ossCorePulse{
  0%,100% { opacity:.32; transform:translate(-50%,-50%) scale(.78); }
  50%     { opacity:.62; transform:translate(-50%,-50%) scale(1); }
}

/* --- conectores: glow + estela del pulso de datos --- */
.oss-link{
  height:2px;
  box-shadow:0 0 8px rgba(84,45,227,0.18);
}
.oss-link::after{
  width:8px; height:8px;
  background:radial-gradient(circle, #fff 0%, var(--purple) 45%, transparent 72%);
  box-shadow:0 0 12px var(--purple), 0 0 4px #fff;
}
/* segundo pulso, más pequeño y rezagado, para sensación de "flujo de datos" */
.oss-link::before{
  content:"";
  position:absolute; top:50%; left:0;
  width:4px; height:4px; border-radius:50%;
  background:var(--mint);
  box-shadow:0 0 8px var(--mint);
  transform:translateY(-50%);
  opacity:.85;
}
.oss-link:nth-of-type(1)::before{ animation:ossFlowRev 2.6s linear infinite; animation-delay:.65s; }
.oss-link:nth-of-type(2)::before{ animation:ossFlowRev 2.6s linear infinite; animation-delay:1.3s; }
.oss-link:nth-of-type(3)::before{ animation:ossFlow    2.6s linear infinite; animation-delay:1.3s; }
.oss-link:nth-of-type(4)::before{ animation:ossFlow    2.6s linear infinite; animation-delay:.65s; }

/* respeto de accesibilidad: sin movimiento si el usuario lo pide */
@media (prefers-reduced-motion: reduce){
  .oss-bg-grid::after,
  .node-core .node-art::before,
  .oss-link::before{ animation:none; }
  .oss-bg-grid::after{ display:none; }
  .oss-link::before{ left:50%; opacity:.8; }
}

/* ============ IMAGEN del diagrama OSS (reemplaza el diagrama interactivo) ============
   La imagen es muy horizontal (4869×2197 ≈ 2.21:1). Debe ir centrada, grande pero
   proporcionada, y que título + subtítulo + imagen quepan dentro de 100svh sin
   desbordar. El alto se acota en vh; el ancho se acota al contenedor. */
.oss-figure{
  display:block;
  margin-inline:auto;
  width:auto;
  max-width:100%;
  height:auto;
  /* tope de alto = lo que sobra de la pantalla tras la cabecera; se queda corto
     en pantallas bajas para no empujar fuera del 100svh */
  max-height:min(46vh, 340px);
  object-fit:contain;
  position:relative;
  z-index:1;
  /* sombra sutil sobre el fondo claro para dar profundidad sin caja */
  filter:drop-shadow(0 18px 40px rgba(84,45,227,0.16));
}

@media (max-width:860px){
  .oss-figure{ max-height:min(40vh, 300px); }
}

/* En vertical (móvil) la imagen es muy ancha: prioriza el ancho disponible */
@media (max-width:560px){
  .oss-figure{ max-height:none; width:100%; }
}


/* ===== FASE1: STAND ===== */
/* Rediseño completo de la sección "Encuéntranos": el usuario la veía
   saturada y "puesta por poner". Se eliminó la databar de fecha/venue
   (ya existe "Cómo llegar"), el texto "Stand #66" del titular y la
   etiqueta larga sobre el render. Layout limpio de dos zonas: render
   protagonista a la izquierda + 4 actividades en rejilla 2×2 a la
   derecha, con aire y jerarquía clara. Todo en tokens de marca. */

.stand-num { color: var(--purple); }

/* Dos zonas: render (más peso) | actividades. Centrado y con aire. */
.stand-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1060px; margin-inline: auto; width: 100%;
}

/* --- Render protagonista, LIBRE (sin caja ni marco) --- */
/* El usuario lo quiere flotando sobre el fondo de la sección: sin recuadro,
   sin borde, sin panel de fondo. Solo un halo radial muy sutil para que no
   quede "desnudo". Conserva el alto reservado y la píldora STAND #66. */
.stand-render { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
/* El render queda SIEMPRE visible: las tarjetas son accesos directos (scroll). */
.stand-render .sr-stage {
  width: 100%;
  min-height: clamp(280px, 40svh, 380px);
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;              /* render libre: no recortar la escena 3D */
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* SIN PEDESTAL: el render va limpio, sin panel/gradiente morado detrás.
   (Se eliminó el ::before que dibujaba la caja morada). */
.stand-render .sr-stage::before {
  content: none;
}
/* Sombra de apoyo ("piso") MUY sutil bajo el booth: solo lo justo para que
   el render no parezca flotar. Sin halo morado ni gradientes fuertes. */
.stand-render .sr-stage::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 7% at 50% 84%,
      rgba(13,8,38,0.30) 0%,
      rgba(13,8,38,0.14) 48%,
      transparent 82%);
}
.stand-render .sr-glow,
.stand-render .sr-scene { position: relative; z-index: 1; }
/* Etiqueta discreta: solo "STAND #66", centrada justo arriba del render */
.sr-tag {
  position: relative; z-index: 3;
  align-self: center;
  margin: 0 auto clamp(10px, 1.6vh, 16px);
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--purple);
  padding: 6px 12px; border-radius: 999px;
  background: var(--purple-haze); border: 1px solid var(--purple-haze-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* --- Actividades: rejilla 2×2 equilibrada y limpia --- */
.stand-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 16px);
}
.stand-act {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(16px, 1.6vw, 22px);
  border: 1px solid var(--glass-light-border);
  border-radius: var(--radius);
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease), opacity 0.35s var(--ease);
  /* las 4 tarjetas son <a> (accesos directos): normalizamos */
  font: inherit; text-align: left; color: inherit; text-decoration: none;
  cursor: pointer; appearance: none; width: 100%;
}
/* Tarjeta enfocada/hover: resaltada (acento morado de marca). */
.stand-act:hover {
  border-color: var(--purple);
  box-shadow: 0 14px 34px -16px rgba(84,45,227,0.55);
}
.stand-act:hover .sa-icon {
  color: #fff;
  background: linear-gradient(150deg, var(--purple), var(--purple-2, var(--purple)));
  border-color: var(--purple);
}
.stand-act:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.stand-act > * { position: relative; z-index: 1; }
.sa-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--purple);
  background: linear-gradient(150deg, var(--purple-haze-2), var(--purple-haze));
  border: 1px solid var(--purple-haze-2);
}
.sa-icon svg { width: 21px; height: 21px; }
.stand-act h4 {
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.08rem);
  font-weight: 700; line-height: 1.2; color: var(--text);
}
.stand-act p {
  font-size: 0.86rem; line-height: 1.5; color: var(--text-soft);
}

/* Tablet: render arriba, actividades abajo en 2×2 (sigue cabiendo en 100svh). */
@media (max-width: 880px) {
  .stand-layout { grid-template-columns: 1fr; gap: clamp(20px, 3vh, 30px); max-width: 600px; }
  .stand-render .sr-stage { min-height: clamp(240px, 30svh, 300px); }
}

/* Celular: una columna; ícono a la izquierda, texto apilado a la derecha. */
@media (max-width: 480px) {
  .stand-acts { grid-template-columns: 1fr; }
  .stand-act {
    flex-flow: row wrap; align-items: center; column-gap: 14px; row-gap: 4px;
    padding: 14px 16px;
  }
  .stand-act .sa-icon { flex-shrink: 0; }
  .stand-act h4 { flex: 1; }                              /* 1ª fila, junto al ícono */
  .stand-act p { flex-basis: 100%; font-size: 0.82rem; } /* 2ª fila, ancho completo */
}
/* ===== /STAND ===== */
/* ===== FASE1: PROMO ===== */
/* Codigo de descuento LIBRE sobre el fondo de la seccion (sin caja/recuadro):
   tipografia protagonista + efecto RESALTADOR verde de marca (#10f4ae) que
   recorre de izquierda a derecha como un marcador, por detras del texto.
   Conserva copiar al clic + feedback. Verde oficial: #10f4ae (NUNCA otro). */

/* Etiqueta superior */
.cta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: #C9BBFF;
}

/* Boton del codigo: SIN caja, transparente, solo el texto y el icono */
.cta-promo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  padding: 4px 2px;
  margin: 2px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: transform 0.28s var(--ease);
}
.cta-promo:focus-visible { outline: none; }
.cta-promo:focus-visible .cta-code { text-decoration: underline; text-decoration-color: #10f4ae; }

/* El codigo: tipografia grande protagonista, texto blanco solido */
.cta-code {
  position: relative;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.1rem);
  font-weight: 800; letter-spacing: 0.02em; line-height: 1.05;
  white-space: nowrap;
}
.cta-code-hl {
  position: relative;
  display: inline-block;
  color: #1A0A4D;
  z-index: 1;
  padding: 0 0.08em;
}

/* RESALTADOR: marca de marcador verde, DETRAS del texto, que crece de
   izquierda a derecha (scaleX 0 -> 1, origin left). Bordes irregulares
   y leve rotacion para que parezca trazo de highlighter real. */
.cta-code-hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em; right: -0.06em;
  top: 8%; bottom: 4%;
  background: #10f4ae;
  border-radius: 3px 8px 5px 9px / 9px 4px 8px 4px;
  transform: scaleX(0) rotate(-0.6deg);
  transform-origin: left center;
  animation: highlightSweep 5.4s var(--ease) infinite;
}

/* Re-disparo al entrar en viewport (clase via JS): reinicia la animacion */
.cta-code-hl.is-highlight::before {
  animation: none;
  animation: highlightSweep 5.4s var(--ease) infinite;
}

/* Icono de accion (copiar -> flecha en hover) */
.cta-go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 999px;
  color: #10f4ae;
  background: rgba(16,244,174,0.10);
  box-shadow: inset 0 0 0 1px rgba(16,244,174,0.30);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.cta-go-arrow { display: none; }
.cta-promo:hover { transform: translateY(-1px); }
.cta-promo:hover .cta-go,
.cta-promo:focus-visible .cta-go { background: rgba(16,244,174,0.20); transform: scale(1.06); }
.cta-promo:hover .cta-go-copy { display: none; }
.cta-promo:hover .cta-go-arrow { display: block; }

.cta-hint { font-size: 0.8rem; color: var(--text-dim); }

/* Feedback al copiar (via JS): el resalte se llena de golpe y el icono confirma */
.cta-promo.is-copied .cta-code-hl::before {
  animation: none;
  transform: scaleX(1) rotate(-0.6deg);
  background: #10f4ae;
  transition: transform 0.25s var(--ease);
}
.cta-promo.is-copied .cta-go {
  color: #0B1B12; background: #10f4ae;
  box-shadow: 0 0 22px -4px rgba(16,244,174,0.7), inset 0 0 0 1px rgba(16,244,174,0.6);
}

/* Marcador: crece 0->100% (izq->der), se mantiene, y baja para repetir suave */
@keyframes highlightSweep {
  0%   { transform: scaleX(0) rotate(-0.6deg); }
  22%  { transform: scaleX(1) rotate(-0.6deg); }
  82%  { transform: scaleX(1) rotate(-0.6deg); }
  100% { transform: scaleX(0) rotate(-0.6deg); transform-origin: left center; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-promo { animation: none !important; }
  .cta-code-hl::before {
    animation: none !important;
    transform: scaleX(1) rotate(-0.6deg);
  }
}

/* ============================================================
   FASE1: PRELOADER  (rediseño tech co-branding · sin duplicar OpenCard)
   Concepto: isotipo OpenCard ──[flujo de datos]── logo Paytech
   ============================================================ */

/* keyframe global reutilizado por otras secciones (.kicker decor, etc.) */
@keyframes spin { to { transform: rotate(360deg); } }

.preloader-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(28px, 5vh, 44px);
  padding: 0 24px; text-align: center; width: 100%;
}

/* --- Fondo: retícula tech + barrido de escaneo --- */
.pre-grid {
  /* inset:0 (no negativo): el desborde lateral de un hijo dentro del preloader
     fixed se sumaba al scrollWidth del documento → franja oscura a la derecha en
     móvil. El mask radial ya difumina los bordes, así que inset:0 no cambia el
     look. */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 50%, #000 0%, transparent 75%);
  opacity: 0; animation: preGridIn 1.1s var(--ease) 0.1s forwards;
}
@keyframes preGridIn { to { opacity: 0.7; } }

.pre-scan {
  position: absolute; left: 0; right: 0; height: 38%; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16,244,174,0.10) 60%, transparent);
  -webkit-mask-image: radial-gradient(80% 100% at 50% 50%, #000, transparent 80%);
          mask-image: radial-gradient(80% 100% at 50% 50%, #000, transparent 80%);
  animation: preScan 4.2s var(--ease-soft) infinite;
}
@keyframes preScan {
  0%   { transform: translateY(-130%); opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateY(330%); opacity: 0; }
}

/* --- Nodo único: isologo OpenCard + anillo de progreso --- */
.pre-node {
  position: relative; display: grid; place-items: center; flex: 0 0 auto;
}
.pre-node-glow {
  position: absolute; inset: -28%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(84,45,227,0.55) 0%, rgba(16,244,174,0.22) 45%, transparent 72%);
  filter: blur(8px);
  animation: preGlowPulse 3.4s var(--ease-soft) infinite;
}
@keyframes preGlowPulse {
  0%,100% { opacity: 0.55; transform: scale(0.94); }
  50%     { opacity: 1;    transform: scale(1.06); }
}

/* Isologo OpenCard: imagen + anillo de progreso */
.pre-node--oc {
  width: clamp(120px, 26vw, 168px); height: clamp(120px, 26vw, 168px);
  opacity: 0; transform: scale(0.85);
  animation: preNodeIn 0.8s var(--ease) 0.2s forwards;
}
.pre-node-ring {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  transform: rotate(-90deg); transform-origin: center;
}
.pre-node-mark {
  position: relative; z-index: 2;
  width: 46%; filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(16,244,174,0.35));
}
@keyframes preNodeIn {
  to { opacity: 1; transform: scale(1); }
}

/* --- Progreso de carga --- */
.pre-progress {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; animation: preTextIn 0.6s var(--ease) 0.9s forwards;
}
@keyframes preTextIn { to { opacity: 1; } }
.pre-status {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(0.56rem, 1.4vw, 0.66rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

/* Accesibilidad: respeta reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .pre-grid, .pre-scan, .pre-node-glow,
  .pre-ring-track, .pre-node--oc, .pre-progress {
    animation: none !important;
  }
  .pre-grid { opacity: 0.6; }
  .pre-node--oc, .pre-progress { opacity: 1; transform: none; }
  .pre-ring-track { stroke-dashoffset: 0; }
}

/* ===== PRELOADER-RING — anillo de progreso del isologo OpenCard =====
   Anillo verde #10f4ae con el llenado COMPLETO de la vuelta entera
   (dashoffset 339 -> 0) de forma fluida, sin quedar truncado a la mitad.
   Luego un giro continuo y suave del SVG.
   Va al final para ganar la cascada sobre el bloque base del preloader. */
.pre-node-ring {
  /* el giro continuo se aplica al SVG completo (ya tiene rotate(-90deg) base) */
  animation: preRingSpin 7s linear 2.5s infinite;
}
.pre-ring-track {
  stroke-dasharray: 339;        /* 2pi*54 = circunferencia completa */
  stroke-dashoffset: 339;       /* arranca vacio */
  filter: drop-shadow(0 0 6px rgba(16,244,174,0.85));
  /* llenado completo 0 -> 100% (cierra la vuelta entera) */
  animation: preRingFill 2.05s var(--ease) 0.35s forwards;
}

@keyframes preRingFill {
  to { stroke-dashoffset: 0; }  /* vuelta COMPLETA, sin truncar */
}
@keyframes preRingSpin {
  from { transform: rotate(-90deg); }
  to   { transform: rotate(270deg); }  /* -90 + 360, gira una vuelta entera y limpia */
}

/* reduced-motion: anillo lleno y quieto */
@media (prefers-reduced-motion: reduce) {
  .pre-node-ring { animation: none !important; transform: rotate(-90deg); }
  .pre-ring-track {
    animation: none !important; stroke-dashoffset: 0;
  }
}

/* ===== FASE1: DESCUENTO — fit en pantallas angostas =====
   (va al FINAL para ganar en cascada a la regla base de .cta-code, que está
   más arriba en el archivo). El código en una sola línea no debe desbordar a
   lo ancho ni empujar/cortar el resto de la sección en móvil. */
@media (max-width: 960px) {
  .cta-promo { max-width: 100%; gap: clamp(8px, 2.5vw, 14px); }
  .cta-code { font-size: clamp(1.1rem, 5.4vw, 2rem); }
}
@media (max-width: 430px) {
  .cta-code { font-size: clamp(1rem, 5vw, 1.5rem); }
}

/* ===== SECCIÓN PROPÓSITO · "Ser Digitales, Sin perder la Humanidad!" =====
   Declaración de marca: slogan protagonista en 2 renglones, fuente más gruesa. */
.purpose { align-items: center; text-align: center; }
/* Sección clara: fondo blanco, slogan protagonista en morado de marca. */
.purpose-light { background: #fff; }
.purpose-inner {
  position: relative; z-index: 1;
  width: 100%; min-width: 0; max-width: min(1180px, 94vw); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vh, 30px);
}
.purpose-slogan {
  font-weight: 800; /* la más gruesa de Funnel Display */
  /* exactamente 2 renglones: cada línea no se parte, el tamaño escala para caber */
  white-space: nowrap;
  font-size: clamp(0.9rem, 4.8vw, 4.6rem);
  line-height: 1.06; letter-spacing: -0.028em;
  color: var(--purple);
}
.purpose-sub {
  font-size: clamp(1rem, 0.92rem + 0.5vw, 1.3rem);
  color: var(--purple-deep, #2c1a7a);
  max-width: 640px; line-height: 1.5; font-weight: 600;
}

/* ===== FASE1: HERO-LOGOS ===== */
/* Equilibrio visual de los dos logos del hero. Tienen proporciones distintas
   (OpenCard w/h ~5.2 muy ancho; Paytech w/h ~3.35 mas cuadrado), por eso
   igualar el "width" los descompensaba: Paytech se veia mucho mas alto.
   Solucion: misma ALTURA para ambos y width:auto -> presencia visual pareja.
   El ancho lo dicta cada proporcion de forma natural y quedan centrados,
   con el conector "ESTAREMOS EN" entre ellos. */
.hero-opencard-logo {
  width: auto;
  height: clamp(46px, 9vw, 70px);
}
.paytech-hero-logo {
  width: auto;
  height: clamp(46px, 9vw, 70px);
  display: block;
}
.hero-paytech-link { display: inline-flex; }
/* ===== /HERO-LOGOS ===== */
/* ===== FASE1: RECURSOS-GRID ===== */
/* Tarjetas de #recursos centradas, maximo 3 por fila.
   Columnas de ancho fijo (no se estiran a todo el ancho) y grupo centrado.
   1-2 tarjetas -> centradas; 3 -> caben en una fila; 4+ -> bajan de linea. */
.materials .cards {
  display: flex;            /* flex en vez de grid: centra según la cantidad real */
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 28px);
  width: 100%;
  max-width: 1036px;        /* 3×320 + 2×gap ⇒ máximo 3 por fila */
  margin-inline: auto;
}
.materials .cards > .card {
  flex: 0 1 320px;          /* ancho fijo, no se estiran */
  max-width: 360px;
}
/* Móvil: 1 por fila, centrada. */
@media (max-width: 860px) {
  .materials .cards { max-width: 380px; }
  .materials .cards > .card { flex-basis: 100%; }
}
/* ===== FASE1: STAND-RENDER-MODAL ===== */

/* 1) RENDER MAS GRANDE / MAS PROTAGONISTA
   Reequilibramos el grid dando mas peso a la columna del render y
   agrandamos la escena 3D (scene + scale del stand). Sigue libre,
   sin caja, con la pildora STAND #66 centrada arriba. Cabe en 100svh. */
.stand-layout {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.92fr);
  gap: clamp(24px, 3.4vw, 48px);
  max-width: 1140px;
}
.stand-render .sr-stage {
  min-height: clamp(340px, 48svh, 480px);
}
/* Escena mas grande: ampliamos el "lienzo" y subimos la escala del stand. */
.stand-section .sr-scene {
  width: 320px;
  height: 400px;
}
.stand-section .sr-stand {
  transform: scale(0.68) rotateX(-12deg) rotateY(-26deg);
}
@keyframes srSpinBig {
  0%   { transform: scale(0.68) rotateX(-12deg) rotateY(-30deg); }
  50%  { transform: scale(0.68) rotateX(-12deg) rotateY(-2deg); }
  100% { transform: scale(0.68) rotateX(-12deg) rotateY(-30deg); }
}
.stand-section .sr-stand { animation-name: srSpinBig; }
/* Sombra de apoyo sutil proporcional al render mas grande (desktop). Sin halo morado. */
.stand-render .sr-stage::after {
  background:
    radial-gradient(38% 6% at 50% 86%,
      rgba(13,8,38,0.32) 0%,
      rgba(13,8,38,0.14) 48%,
      transparent 82%);
}

/* Tablet/celular: el render se achica para no romper el 100svh, PERO sigue
   girando igual que en desktop. Usamos un keyframe a la escala movil (0.56)
   para que el giro sea consistente y quede contenido dentro de su escena
   (.sr-stage es overflow:visible pero la rotacion 3D no desborda el viewport,
   mismo recorrido horizontal de rotateY que en desktop). El giro se desactiva
   solo si el usuario pide prefers-reduced-motion (bloque mas abajo). */
@media (max-width: 880px) {
  .stand-layout { grid-template-columns: 1fr; max-width: 620px; }
  .stand-section .sr-scene { width: 280px; height: 340px; }
  .stand-section .sr-stand {
    transform: scale(0.56) rotateX(-12deg) rotateY(-30deg);
    animation: srSpinMobile 22s ease-in-out infinite;
  }
  .stand-render .sr-stage { min-height: clamp(260px, 34svh, 320px); }
}
@keyframes srSpinMobile {
  0%   { transform: scale(0.56) rotateX(-12deg) rotateY(-30deg); }
  50%  { transform: scale(0.56) rotateX(-12deg) rotateY(-2deg); }
  100% { transform: scale(0.56) rotateX(-12deg) rotateY(-30deg); }
}

/* 2) TARJETA "RIFA" · acento verde de marca (la igualamos al resto + pistas). */
.stand-act-raffle:hover {
  border-color: rgba(16, 244, 174, 0.55);
  box-shadow: 0 14px 34px -16px rgba(16, 244, 174, 0.5);
}
.stand-act-raffle:hover .sa-icon {
  color: #07140f;
  background: linear-gradient(150deg, #10f4ae, #0bd396);
  border-color: rgba(16,244,174,0.6);
}
.stand-act-raffle:focus-visible {
  outline: 2px solid #10f4ae;
  outline-offset: 3px;
}
.stand-act-raffle .sa-more {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em;
  color: #10f4ae;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.stand-act-raffle:hover .sa-more,
.stand-act-raffle:focus-visible .sa-more {
  opacity: 1; transform: translateY(0);
}

/* 3) TARJETA "CONVERSACIONES 1:1" · gancho al equipo (avatar stack).
   Fila de mini-avatares reales solapados + CTA "Conoce al equipo →".
   Detalle elegante; no cambia el tamaño de la tarjeta ni el layout 2×2. */
.stand-act-team .sa-team {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto;            /* empuja el stack al pie de la tarjeta */
  flex-wrap: wrap;
}
.sa-avatars { display: inline-flex; align-items: center; }
.sa-av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #fff;
  background: var(--purple-haze-2);
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 2px 6px -2px rgba(13, 8, 38, 0.35);
  margin-left: -9px;           /* solape */
  transition: transform 0.3s var(--ease);
}
.sa-av:first-child { margin-left: 0; }
.sa-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sa-av-more {
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(150deg, var(--purple), var(--purple-deep));
}
/* Al activar/hover la tarjeta, los avatares se "despliegan" un poco. */
.stand-act-team:hover .sa-av,
.stand-act-team:focus-visible .sa-av { transform: translateY(-2px); }
.sa-team-cta {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--purple);
  white-space: nowrap;
}
/* Celular: tarjeta en fila; el stack pasa a ancho completo bajo el texto. */
@media (max-width: 480px) {
  .stand-act-team .sa-team { flex-basis: 100%; margin-top: 4px; }
}

/* Respeta prefers-reduced-motion: sin transiciones ni giro extra. */
@media (prefers-reduced-motion: reduce) {
  .stand-render .sr-tag,
  .stand-render .sr-stage,
  .stand-act,
  .stand-act-team .sa-av,
  .stand-act-raffle .sa-more { transition: none !important; }
  .stand-act-team .sa-av { transform: none !important; }
  .stand-section .sr-stand { animation: none !important; }
}
/* prefers-reduced-motion en movil: render quieto a la escala movil (0.56). */
@media (prefers-reduced-motion: reduce) and (max-width: 880px) {
  .stand-section .sr-stand {
    transform: scale(0.56) rotateX(-12deg) rotateY(-24deg) !important;
    animation: none !important;
  }
}


/* ============================================================
   MODO APP (PWA STANDALONE) — iPhone "Agregar a pantalla de inicio"
   ------------------------------------------------------------
   Con <meta apple-mobile-web-app-status-bar-style="black-translucent">
   el contenido se extiende DETRAS de la barra de estado / Dynamic Island.
   El fondo oscuro del hero/preloader (ya full-bleed inset:0 / min-height:100svh
   + <html> background oscuro) llega solo hasta el borde superior, sin franja
   blanca. Aqui solo bajamos el CONTENIDO que NO debe quedar tapado por la isla
   (chip Sponsor + logos del hero, tag de video, dock de navegacion lateral),
   empujandolos con env(safe-area-inset-top).

   Todo va dentro de @media (display-mode: standalone): NO afecta la pestaña
   normal ni desktop. Ademas env(safe-area-inset-*) = 0 fuera de iPhone, asi que
   Android/desktop en modo app tampoco se ven alterados.
   ============================================================ */
@media (display-mode: standalone) {
  /* El hero centra su contenido verticalmente; un padding superior simetrico
     respeta la isla sin descuadrar el centrado de forma visible. */
  .hero-inner {
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Tag "EN VIVO / LIVE" en la esquina superior del hero: no debe quedar
     bajo el reloj. */
  .video-corner-tag {
    top: calc(24px + env(safe-area-inset-top, 0px));
  }

  /* Dock de navegacion lateral: esta centrado verticalmente, pero en pantallas
     cortas su primer item podria rozar la isla. Lo dejamos dentro del area
     segura aplicando el inset como tope superior maximo. */
  .section-nav {
    top: max(50%, calc(env(safe-area-inset-top, 0px) + 60px));
  }
}

/* Fallback de compatibilidad: algunos iOS antiguos exponen el modo app via
   -webkit-standalone en vez de display-mode. Mismo ajuste, mismo efecto. */
@media (-webkit-min-device-pixel-ratio: 0) and (display-mode: standalone) {
  .hero-inner { padding-top: env(safe-area-inset-top, 0px); }
}
