/* =====================================================================
   BS ACADEMY · Motion-graphics premium dark navy
   Cada escena con geometría/motion/croma propios · todo en movimiento
   ===================================================================== */

:root {
  /* === Mundo Diferente · paleta teal corporativa (reskin sobre motor BS) === */
  --navy-900: #06201C;
  --navy-800: #0A2A25;
  --navy-700: #123B34;
  --navy-600: #1A4F46;

  --cyan:        #56B4A4;  /* teal primario MD */
  --cyan-bright: #7FD8C6;
  --cyan-deep:   #2D635C;
  --orange:      #E75F1C;  /* acento naranja MD */
  --orange-bright:#FF7838;
  --green:       #5CC4A8;
  --violet:      #4FB39E;

  --white:    #ffffff;
  --slate-50: #EAF6F3;
  --slate-200:#BFE0D9;
  --slate-400:#7FAEA5;

  --card:        rgba(255,255,255,0.045);
  --card-strong: rgba(255,255,255,0.075);
  --border:        rgba(120,180,225,0.16);
  --border-strong: rgba(120,180,225,0.34);

  --shadow-sm: 0 4px 14px rgba(0,0,0,0.30);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.38);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.48);
  --shadow-xl: 0 34px 84px rgba(0,0,0,0.58);
  --glow-cyan:   0 0 60px rgba(86,180,164,0.42);
  --glow-orange: 0 0 60px rgba(231,95,28,0.35);

  /* tokens de motion */
  --bs-ease: cubic-bezier(0.2,0.8,0.2,1);
  --bs-overshoot: cubic-bezier(0.34,1.56,0.64,1);
  --bs-dur-fast: 0.5s;
  --bs-dur-base: 4s;
  --bs-dur-slow: 14s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body {
  height: 100%; overflow: hidden;
  background: var(--navy-900);
  color: var(--slate-50);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 20px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; }

/* =====================================================================
   LIBRERÍA GLOBAL DE MOTION (utilidades continuas)
   ===================================================================== */
@keyframes bs-float { 0%,100%{transform:translate(0,0);} 50%{transform:translate(var(--bs-fx,0px),var(--bs-fy,-7px));} }
@keyframes bs-breathe { 0%,100%{transform:scale(1);} 50%{transform:scale(1.04);} }
@keyframes bs-glow-pulse { 0%,100%{opacity:.42; filter:blur(38px);} 50%{opacity:.72; filter:blur(50px);} }
@keyframes bs-spin { to { transform: rotate(360deg); } }
@keyframes bs-spin-rev { to { transform: rotate(-360deg); } }
@keyframes bs-travel { to { stroke-dashoffset: var(--bs-travel-end, -620); } }
@keyframes bs-text-shine { 0%{background-position:0% 50%;} 100%{background-position:200% 50%;} }
@keyframes bs-sweep { 0%{transform:translateX(-120%);} 100%{transform:translateX(120%);} }
@keyframes bs-sonar { 0%{transform:scale(.3);opacity:.9;} 80%{opacity:0;} 100%{transform:scale(1.9);opacity:0;} }
@keyframes bs-eq { 0%,100%{transform:scaleY(.35);} 50%{transform:scaleY(1);} }
@keyframes bs-rise-up { 0%{transform:translateY(110%);opacity:0;} 18%{opacity:.7;} 100%{transform:translateY(-25%);opacity:0;} }
@keyframes bs-draw { to { stroke-dashoffset: 0; } }
@keyframes bs-blink { 50% { opacity: 0; } }

.bs-float  { animation: bs-float var(--bs-float-dur,6s) ease-in-out infinite; }
.bs-breathe{ animation: bs-breathe 3.4s ease-in-out infinite; }
.bs-glow   { animation: bs-glow-pulse 5s ease-in-out infinite; }
.bs-ring   { animation: bs-spin var(--bs-spin-dur,26s) linear infinite; transform-origin: center; }
.bs-ring-rev{ animation: bs-spin-rev var(--bs-spin-dur,26s) linear infinite; transform-origin: center; }

/* partículas ascendentes (acento de fondo confinado) */
.bs-particles { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.bs-particles i {
  position:absolute; bottom:-10px; width:5px; height:5px; border-radius:50%;
  background: radial-gradient(circle, var(--cyan-bright), transparent 70%);
  animation: bs-rise-up var(--d,7s) linear infinite; animation-delay: var(--dl,0s); opacity:0;
}

/* texto con barrido de gradiente */
.bs-shine {
  background: linear-gradient(110deg, var(--cyan) 0%, var(--cyan-bright) 25%, var(--white) 45%, var(--cyan-bright) 65%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: bs-text-shine 5s linear infinite;
}

/* =====================================================================
   FRAME / FX CANVAS / HUD
   ===================================================================== */
.stage-frame {
  position: relative; width: 100vw; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse at 75% 12%, rgba(86,180,164,0.20) 0%, transparent 52%),
    radial-gradient(ellipse at 12% 88%, rgba(45,99,92,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 95%, rgba(231,95,28,0.08) 0%, transparent 50%),
    linear-gradient(165deg, #0E322B 0%, #0A2520 55%, #061A16 100%);
}
.fx-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.85;
  mask-image: radial-gradient(ellipse 70% 60% at center, transparent 12%, black 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, transparent 12%, black 75%);
}

.hud {
  position: relative; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px;
  align-items: center; padding: 14px 22px;
  background: rgba(8, 33, 28, 0.74); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
body.recording-mode .hud { display: none; }
body.recording-mode .splash,
body.recording-mode .toast,
body.recording-mode .help-overlay,
body.recording-mode .loading-overlay { display: none !important; }
body.recording-mode { cursor: none !important; }
body.recording-mode * { cursor: none !important; }

.hud-left, .hud-right { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  color: var(--slate-50); background: var(--card-strong);
  border: 1px solid var(--border); transition: all 0.2s ease;
}
.btn:hover { background: rgba(255,255,255,0.12); border-color: var(--border-strong); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-deep) 0%, var(--cyan) 55%, var(--cyan-bright) 100%);
  border-color: transparent; color: #042033; font-weight: 800;
  box-shadow: 0 6px 22px rgba(41,171,226,0.40);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(41,171,226,0.55); color: #042033; }
.btn-ghost { padding: 10px 12px; background: transparent; border-color: transparent; color: var(--slate-200); }
.btn-ghost:hover { background: var(--card-strong); border-color: var(--border); }
.btn-ghost.is-muted { color: var(--orange); position: relative; }
.btn-ghost.is-muted::after {
  content: ''; position: absolute; top: 50%; left: 12px; right: 12px;
  height: 2px; background: var(--orange); transform: translateY(-50%) rotate(-20deg); border-radius: 1px;
}
.btn-ghost.is-active { color: var(--cyan-bright); background: rgba(41,171,226,0.14); }
.btn-record { background: rgba(243,146,0,0.12); border-color: rgba(243,146,0,0.34); color: var(--orange-bright); }
.btn-record:hover { background: rgba(243,146,0,0.2); }
.btn-record.recording { background: var(--orange); color: #1a1206; border-color: var(--orange); animation: rec-pulse 1.4s infinite; }
.rec-dot { width: 10px; height: 10px; background: currentColor; border-radius: 50%; display: inline-block; }
.btn-record.recording .rec-dot { animation: rec-blink 1s infinite; }
@keyframes rec-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(243,146,0,0.5);} 50%{box-shadow:0 0 0 14px rgba(243,146,0,0);} }
@keyframes rec-blink { 50% { opacity: 0.2; } }

.hud-progress { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.progress-bar { position: relative; height: 6px; cursor: pointer; background: rgba(255,255,255,0.10); border-radius: 999px; }
.progress-bar:hover { height: 8px; }
.progress-bar:focus { outline: 2px solid var(--cyan); outline-offset: 2px; }
#progressFill { height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan-deep), var(--cyan-bright)); border-radius: 999px; transition: width 0.18s linear; box-shadow: 0 0 12px rgba(41,171,226,0.6); }
.progress-thumb { position: absolute; top: 50%; left: 0; width: 0; height: 0; background: var(--cyan-bright); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.18s, height 0.18s, opacity 0.2s; opacity: 0; pointer-events: none; box-shadow: 0 0 8px rgba(91,200,242,0.8); }
.progress-bar:hover .progress-thumb { width: 14px; height: 14px; opacity: 1; }
.scene-chapters { display: flex; gap: 2px; margin-top: 4px; height: 3px; }
.chapter-segment { flex: 1; background: rgba(255,255,255,0.10); border-radius: 1px; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.chapter-segment:hover { background: rgba(91,200,242,0.5); transform: scaleY(1.5); }
.chapter-segment.active { background: var(--cyan-bright); }
.chapter-segment.passed { background: var(--cyan-deep); opacity: 0.7; }
.progress-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* =====================================================================
   STAGE / SCENES / PRIMITIVAS
   ===================================================================== */
.stage { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; z-index: 1; }
.scene {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px 56px;
  opacity: 0; visibility: hidden; transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.6s var(--bs-ease), visibility 0.5s; overflow: hidden;
}
.scene.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }
/* Contenedor del CONTENIDO (lo único que escala el fitter); el fondo queda full-bleed */
.scene-fit { position: relative; z-index: 2; width: 100%; align-self: stretch; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.appear { opacity: 0; transform: translateY(28px) scale(0.95); filter: blur(6px); transition: opacity 0.55s var(--bs-ease), transform 0.6s var(--bs-overshoot), filter 0.55s ease; }
.appear.is-appearing { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.appear-slide-left { transform: translateX(-52px) scale(0.96); }
.appear-slide-left.is-appearing { transform: translateX(0) scale(1); }
.appear-slide-right { transform: translateX(52px) scale(0.96); }
.appear-slide-right.is-appearing { transform: translateX(0) scale(1); }
.appear-zoom { transform: scale(0.5); }
.appear-zoom.is-appearing { transform: scale(1); }
.appear-up { transform: translateY(60px) scale(0.9); }
.appear-up.is-appearing { transform: translateY(0) scale(1); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s var(--bs-ease); transition-delay: var(--reveal-delay, 0s); }
.scene.active .reveal { opacity: 1; transform: translateY(0); }
.word-anim { display: inline-block; opacity: 0; transform: translateY(14px) scale(0.92); filter: blur(4px); transition: opacity 0.35s ease, transform 0.35s var(--bs-overshoot), filter 0.35s ease; }
.word-anim.is-appearing { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
/* Garantía: ningún .appear es visible antes de su trigger, aunque otra regla pise su opacity (fix "Antes" visible de fondo) */
.appear:not(.is-appearing) { opacity: 0 !important; }

.scene-head { text-align: center; margin-bottom: 30px; max-width: 1200px; position: relative; z-index: 3; }
.scene-eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan-bright); padding: 9px 20px; background: rgba(41,171,226,0.10); border: 1px solid rgba(41,171,226,0.30); border-radius: 999px; margin-bottom: 16px; }
.scene-head h2 { font-family: 'Manrope', sans-serif; font-size: 60px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; color: var(--white); text-shadow: 0 2px 18px rgba(4,12,22,0.55), 0 1px 3px rgba(4,12,22,0.5); }
.accent { background: linear-gradient(110deg, var(--cyan) 0%, var(--cyan-bright) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-warm { background: linear-gradient(110deg, var(--cyan-bright) 0%, var(--orange-bright) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* contenedor gráfico con proporción fija para escenas con SVG posicionado */
.gfx { position: relative; width: 100%; max-width: 1240px; }
.gfx-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.cable { fill: none; stroke: rgba(120,180,225,0.22); stroke-width: 2.5; }
.cable-live { fill: none; stroke: var(--cyan-bright); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 600; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px var(--cyan)); animation: bs-travel var(--bs-travel-dur,2.4s) linear infinite; }

/* ---- Video de fondo por escena (Veo3) ---- */
.scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.46; mix-blend-mode: screen; pointer-events: none; }
.scene-scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,20,34,0.50) 0%, rgba(8,20,34,0.28) 45%, rgba(8,20,34,0.58) 100%), radial-gradient(ellipse 60% 54% at center, rgba(8,20,34,0.42) 0%, transparent 78%); }
.scene > .scene-head, .scene > .intro-stage, .scene > .gfx, .scene > .structure, .scene > .equation, .scene > .morph, .scene > .pressure-bars, .scene > .challenge-statement, .scene > .struck-stat, .scene > .impact-result, .scene > .method-subrow, .scene > .cta-content { position: relative; z-index: 2; }

/* ---- Marca persistente en TODAS las escenas (watermark + web) ---- */
.brand-watermark { position: absolute; top: 20px; left: 26px; z-index: 40; display: flex; align-items: center; gap: 13px; opacity: 0.96; pointer-events: none; }
.brand-watermark .wm-mark { height: 50px; width: auto; filter: drop-shadow(0 3px 9px rgba(0,0,0,0.5)); }
.brand-watermark .wm-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-watermark .wm-text b { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 0.16em; color: var(--white); }
.brand-watermark .wm-text span { font-size: 13px; font-weight: 700; color: var(--cyan-bright); letter-spacing: 0.02em; }

/* ---- Lotties (dotlottie-player) ---- */
.dim-icon dotlottie-player { width: 100%; height: 100%; }
.dim-icon { overflow: hidden; }
.cta-radar dotlottie-player { position: absolute; top: 50%; left: 50%; width: 390px; height: 390px; transform: translate(-50%,-50%); z-index: 1; opacity: 0.85; pointer-events: none; }

/* ---- Video de footage real (personas/oficina): blend normal + scrim oscuro ---- */
.scene-bg--real { mix-blend-mode: normal; opacity: 0.36; }
.scene-scrim--strong { background: linear-gradient(180deg, rgba(8,20,34,0.86) 0%, rgba(8,20,34,0.70) 52%, rgba(8,20,34,0.88) 100%); }

/* ======= SCENE 4 v2 · cadena de valor (cards redondeadas ascendentes, sin recorte) ======= */
.chain2 { display: flex; align-items: flex-end; justify-content: center; gap: 12px; width: 100%; max-width: 1220px; position: relative; z-index: 2; }
.cnode { flex: 1 1 0; min-width: 0; }
.cnode:nth-child(2){ margin-bottom: 12px; } .cnode:nth-child(3){ margin-bottom: 24px; } .cnode:nth-child(4){ margin-bottom: 36px; } .cnode:nth-child(5){ margin-bottom: 48px; }
.cnode-card { background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 18px; padding: 16px 12px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 7px; transition: all 0.45s var(--bs-ease); }
.cnode.is-highlight .cnode-card { border-color: var(--cyan); background: linear-gradient(160deg, rgba(41,171,226,0.2), rgba(41,171,226,0.04)); box-shadow: var(--shadow-lg), var(--glow-cyan); transform: translateY(-6px); }
.cnode-ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(41,171,226,0.12); color: var(--cyan-bright); display: flex; align-items: center; justify-content: center; padding: 13px; transition: all 0.4s ease; }
.cnode.is-highlight .cnode-ic { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan-bright)); color: #042033; transform: scale(1.08); }
.cnode-ic svg { width: 100%; height: 100%; }
.cnode-step { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.cnode h3 { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 800; line-height: 1.15; color: var(--white); }
.cnode.cnode-result.is-highlight .cnode-card { border-color: var(--orange); background: linear-gradient(160deg, rgba(243,146,0,0.2), rgba(243,146,0,0.05)); box-shadow: var(--shadow-lg), var(--glow-orange); }
.cnode.cnode-result.is-highlight .cnode-ic { background: linear-gradient(135deg, var(--orange), var(--orange-bright)); color: #1a1206; }
.cnode.cnode-result .cnode-step { color: var(--orange-bright); }

/* ======= SCENE 5 v2 · modelo (fila alineada + Lotties grandes) ======= */
.model-row { display: flex; justify-content: center; gap: 20px; width: 100%; max-width: 1180px; position: relative; z-index: 2; }
.dim2 { flex: 1 1 0; min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all 0.45s var(--bs-ease); }
.dim2.is-highlight { border-color: var(--cyan); box-shadow: var(--shadow-lg), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); transform: translateY(-8px); }
.dim2-lottie { width: 172px; height: 172px; display: flex; align-items: center; justify-content: center; }
.dim2-lottie dotlottie-player { width: 100%; height: 100%; }
.dim2 h3 { font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); }
.dim2 p { font-size: 16.5px; color: var(--slate-400); line-height: 1.45; }
.dim2.is-highlight p { color: var(--slate-200); }
.model-tag { position: relative; z-index: 2; text-align: center; margin: 0 auto 24px; font-size: 17px; font-weight: 700; color: var(--cyan-bright); letter-spacing: 0.04em; background: rgba(41,171,226,0.10); border: 1px solid rgba(41,171,226,0.3); padding: 10px 26px; border-radius: 999px; }

/* ---- Callout de definición (escena 6 · Coalición de Líderes) ---- */
.def-callout { position: relative; z-index: 2; max-width: 800px; margin: 2px auto 18px; padding: 15px 28px 16px; text-align: center; background: linear-gradient(160deg, rgba(41,171,226,0.12), rgba(41,171,226,0.02)); border: 1px solid rgba(41,171,226,0.26); border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
.def-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-bright); background: rgba(41,171,226,0.14); border: 1px solid rgba(41,171,226,0.32); padding: 5px 15px; border-radius: 999px; margin-bottom: 10px; }
.def-callout p { font-size: 18px; line-height: 1.5; color: var(--slate-200); font-weight: 600; max-width: 660px; margin: 0 auto; }
.def-callout strong { color: var(--cyan-bright); font-weight: 800; }

/* ---- Mockup de teléfono con video demo (escena 8 · micro-dosis) ---- */
.dim2-demo { justify-content: flex-start; }
.demo-phone { position: relative; width: 156px; height: 204px; margin: 6px auto 6px; border-radius: 24px; overflow: hidden; background: #06121f; border: 3px solid rgba(91,200,242,0.40); box-shadow: 0 16px 38px rgba(0,0,0,0.55), 0 0 26px rgba(41,171,226,0.22); }
.demo-phone::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.26); z-index: 5; }
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; z-index: 2; }
.demo-video.is-ready { opacity: 1; }
.demo-fallback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; background: radial-gradient(120% 85% at 50% 22%, rgba(41,171,226,0.30), transparent 62%), linear-gradient(165deg, #0E2840, #081726); overflow: hidden; }
.demo-person { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(91,200,242,0.55), rgba(41,171,226,0.22)); opacity: 0.55; }
.demo-person::after { content: ''; position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); width: 92px; height: 58px; border-radius: 46px 46px 0 0; background: linear-gradient(180deg, rgba(91,200,242,0.34), rgba(41,171,226,0.10)); }
.demo-play { position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep)); box-shadow: 0 6px 18px rgba(0,0,0,0.4); animation: demo-pulse 2.2s ease-out infinite; }
.demo-play::before { content: ''; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #04202f; margin-left: 3px; }
.demo-cap { position: relative; z-index: 2; font-size: 11.5px; font-weight: 700; color: var(--slate-200); letter-spacing: 0.02em; text-align: center; line-height: 1.3; padding: 0 12px; }
.demo-badge { position: absolute; top: 9px; left: 9px; z-index: 4; font-size: 10.5px; font-weight: 800; color: #04202f; background: var(--cyan-bright); padding: 3px 9px; border-radius: 999px; letter-spacing: 0.02em; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
@keyframes demo-pulse { 0% { box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 0 0 rgba(91,200,242,.55); } 70% { box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 0 16px rgba(91,200,242,0); } 100% { box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 0 0 rgba(91,200,242,0); } }

/* ---- Escena dedicada: micro-dosis en acción (líder amable) ---- */
.demo-hero { display: flex; align-items: center; justify-content: center; gap: 54px; width: 100%; max-width: 1060px; position: relative; z-index: 2; }
.demo-screen { position: relative; flex: 0 0 auto; width: 320px; height: 430px; border-radius: 32px; overflow: hidden; background: #06121f; border: 4px solid rgba(91,200,242,0.45); box-shadow: 0 22px 50px rgba(0,0,0,0.6), 0 0 40px rgba(41,171,226,0.28); }
.demo-screen::before { content: ''; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 70px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.28); z-index: 5; }
.demo-screen .demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; z-index: 2; }
.demo-screen .demo-video.is-ready { opacity: 1; }
.demo-screen .demo-fallback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(120% 80% at 50% 24%, rgba(41,171,226,0.32), transparent 62%), linear-gradient(165deg, #0E2840, #081726); overflow: hidden; }
.demo-screen .demo-person { position: absolute; top: 32%; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(91,200,242,0.55), rgba(41,171,226,0.22)); opacity: 0.55; }
.demo-screen .demo-person::after { content: ''; position: absolute; left: 50%; bottom: -58px; transform: translateX(-50%); width: 132px; height: 84px; border-radius: 66px 66px 0 0; background: linear-gradient(180deg, rgba(91,200,242,0.34), rgba(41,171,226,0.10)); }
.demo-screen .demo-play { position: relative; z-index: 2; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep)); box-shadow: 0 8px 22px rgba(0,0,0,0.45); animation: demo-pulse 2.2s ease-out infinite; }
.demo-screen .demo-play::before { content: ''; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #04202f; margin-left: 4px; }
.demo-screen .demo-cap { position: relative; z-index: 2; font-size: 13.5px; font-weight: 700; color: var(--slate-200); text-align: center; line-height: 1.3; padding: 0 18px; }
.demo-screen .demo-badge { position: absolute; top: 12px; left: 12px; z-index: 4; font-size: 12px; font-weight: 800; color: #04202f; background: var(--cyan-bright); padding: 4px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.demo-points { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.dpoint { display: flex; align-items: center; gap: 17px; background: rgba(255,255,255,0.045); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; transition: all 0.4s var(--bs-ease); }
.dpoint.is-highlight { border-color: var(--cyan); background: linear-gradient(110deg, rgba(41,171,226,0.18), rgba(41,171,226,0.04)); box-shadow: var(--glow-cyan); transform: translateX(6px); }
.dpoint-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px; background: rgba(41,171,226,0.14); border: 1px solid rgba(41,171,226,0.32); color: var(--cyan-bright); display: flex; align-items: center; justify-content: center; padding: 11px; }
.dpoint.is-highlight .dpoint-ic { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan-bright)); color: #042033; }
.dpoint-ic svg { width: 100%; height: 100%; }
.dpoint h3 { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 800; color: var(--white); line-height: 1.1; }
.dpoint p { font-size: 14px; color: var(--slate-200); margin-top: 2px; }
.demo-foot { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--cyan-bright); padding-left: 4px; }
@media (max-width: 900px) {
  .demo-hero { flex-direction: column; gap: 28px; }
  .demo-screen { width: 240px; height: 320px; }
  .demo-points { max-width: 560px; }
}
@media (max-width: 480px) {
  .demo-screen { width: 200px; height: 268px; }
  .dpoint h3 { font-size: 16px; } .dpoint p { font-size: 12.5px; }
}

/* ======= SCENE 7 v2 · método (3 pasos grandes) ======= */
.method3 { display: flex; align-items: stretch; justify-content: center; gap: 14px; width: 100%; max-width: 1160px; position: relative; z-index: 2; }
.mstep { flex: 1 1 0; min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; gap: 13px; transition: all 0.45s var(--bs-ease); position: relative; overflow: hidden; }
.mstep.is-highlight { border-color: var(--cyan); box-shadow: var(--shadow-xl), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); transform: translateY(-8px); }
.mstep-head { display: flex; align-items: center; gap: 14px; }
.mstep-num { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 22px; background: rgba(41,171,226,0.14); color: var(--cyan-bright); border: 1.5px solid rgba(41,171,226,0.3); transition: all 0.4s ease; }
.mstep.is-highlight .mstep-num { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan-bright)); color: #042033; border-color: transparent; }
.mstep-ic { width: 30px; height: 30px; color: var(--cyan-bright); flex-shrink: 0; }
.mstep-ic svg { width: 100%; height: 100%; }
.mstep h3 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.14; }
.mstep p { font-size: 15.5px; color: var(--slate-200); line-height: 1.5; }
.mstep .mstep-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.mstep .mstep-chips span { font-size: 12.5px; font-weight: 700; color: var(--cyan-bright); background: rgba(41,171,226,0.12); border: 1px solid rgba(41,171,226,0.28); padding: 6px 12px; border-radius: 999px; }
.marrow { align-self: center; color: var(--cyan); font-size: 30px; flex: 0 0 auto; opacity: 0.55; animation: bs-breathe 2.6s ease-in-out infinite; }

/* ---- Pilares (escena 6): media + motion continuo ---- */
.col-icon, .col-lic { animation: bs-float 5s ease-in-out infinite; }
.col-cap { position: relative; overflow: hidden; }
.col-cap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); transform: translateX(-130%); animation: bs-sweep 3.2s ease-in-out infinite; }
.col-list .ck { animation: bs-breathe 3s ease-in-out infinite; }
.plate { position: relative; overflow: hidden; }
.plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(91,200,242,0.18), transparent); transform: translateX(-130%); animation: bs-sweep 4.5s ease-in-out infinite; }

/* ---- Impacto (escena 8): pulso continuo en peldaño final ---- */
.istep-final .istep-top { animation: bs-breathe 2.8s ease-in-out infinite; }

/* ---- Responsive de las escenas v2 ---- */
@media (max-width: 1024px) {
  .chain2, .model-row, .method3 { flex-wrap: wrap; max-width: 720px; }
  .cnode { flex: 0 0 30%; margin-bottom: 0 !important; }
  .dim2 { flex: 0 0 44%; }
  .mstep { flex: 0 0 100%; } .marrow { display: none; }
}
@media (max-width: 768px) {
  .cnode, .dim2 { flex: 0 0 46%; }
  .dim2-lottie { width: 72px; height: 72px; }
  .cnode h3 { font-size: 14px; }
  .mstep { padding: 22px 20px; } .mstep h3 { font-size: 20px; }
  .def-callout { padding: 13px 20px 14px; } .def-callout p { font-size: 16px; }
  .demo-phone { width: 124px; height: 166px; }
}
@media (max-width: 480px) {
  .cnode, .dim2, .mstep { flex: 0 0 100%; }
  .def-callout p { font-size: 15px; }
  .demo-phone { width: 150px; height: 196px; }
}
/* Coalición (escena 6): mantener los 3 vectores en una sola fila en tablets,
   para que el callout de definición no obligue a recortar la escena. */
@media (min-width: 769px) and (max-width: 1080px) {
  .scene[data-scene="5"] .model-row { flex-wrap: nowrap; max-width: 960px; gap: 14px; }
  .scene[data-scene="5"] .model-row .dim2 { flex: 1 1 0; }
  .scene[data-scene="5"] .dim2-lottie { width: 118px; height: 118px; }
  .scene[data-scene="5"] .dim2 h3 { font-size: 21px; }
  .scene[data-scene="5"] .dim2 p { font-size: 14.5px; }
}

/* =====================================================================
   SCENE 1 · INTRO (radial · marca que cobra vida)
   ===================================================================== */
.scene-intro .intro-stage { position: relative; z-index: 2; text-align: center; max-width: 980px; display:flex; flex-direction:column; align-items:center; }
.intro-orbit { position: absolute; top: -70px; left: 50%; width: 360px; height: 360px; transform: translateX(-50%); z-index: 0; opacity: 0.8; }
.intro-orbit svg { width: 100%; height: 100%; }
.intro-orbit .ring-dotted { fill: none; stroke: rgba(91,200,242,0.35); stroke-width: 1.5; stroke-dasharray: 3 10; }
.intro-orbit .ring-solid  { fill: none; stroke: rgba(41,171,226,0.18); stroke-width: 1.5; }
.intro-orbit .sat { fill: var(--cyan-bright); filter: drop-shadow(0 0 8px var(--cyan)); }
.intro-glow { position: absolute; top: 10px; left: 50%; width: 320px; height: 320px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(41,171,226,0.45), transparent 65%); z-index: 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 20px; justify-content: center; position: relative; z-index: 2; }
.brand-lockup .brand-mark { height: 138px; width: auto; filter: drop-shadow(0 8px 22px rgba(41,171,226,0.45)); }
.brand-lockup .brand-academy { font-family: 'Manrope', sans-serif; font-size: 62px; font-weight: 300; letter-spacing: 0.26em; color: var(--white); padding-left: 24px; border-left: 2px solid rgba(120,180,225,0.35); line-height: 1; }
.intro-line { width: 0; height: 4px; margin: 28px auto 24px; background: linear-gradient(90deg, var(--cyan), var(--orange)); border-radius: 999px; transition: width 0.8s var(--bs-ease) 0.5s; position: relative; }
.scene.active .intro-line { width: 120px; }
.intro-line::after { content:''; position:absolute; top:50%; right:-3px; width:10px; height:10px; border-radius:50%; background:var(--orange-bright); transform:translateY(-50%); box-shadow:0 0 10px var(--orange); }
.intro-slogan { font-family: 'Manrope', sans-serif; font-size: 62px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; display: flex; flex-direction: column; gap: 2px; color: var(--white); }
.intro-slogan span, .cta-title, .challenge-statement, .scene-head h2 { text-wrap: balance; hyphens: none; }
.intro-loadbar { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.intro-loadbar-track { width: 360px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; }
.intro-loadbar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--green)); transition: width 1.1s var(--bs-ease); position: relative; }
.intro-loadbar.is-appearing .intro-loadbar-fill { width: 100%; }
.intro-loadbar .bs-counter { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 24px; color: var(--cyan-bright); min-width: 64px; text-align: left; }
.intro-badge { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.05em; color: var(--slate-50); background: var(--card-strong); border: 1px solid var(--border-strong); padding: 12px 24px; border-radius: 999px; margin-top: 24px; }
.intro-badge-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(70,195,154,0.22); }

/* =====================================================================
   SCENE 2 · DESAFÍO (sismógrafo + ecualizador · fría, un destello cálido)
   ===================================================================== */
.scene-statement .seismo { position: absolute; left: 0; right: 0; top: 52%; height: 160px; z-index: 0; opacity: 0.5; overflow: hidden; }
.scene-statement .seismo svg { position:absolute; top:0; left:0; height:100%; width:200%; }
.seismo polyline { fill: none; stroke: rgba(91,200,242,0.5); stroke-width: 2; }
.seismo-anim { animation: bs-sweep 6s linear infinite; }
@keyframes seismo-scroll { to { transform: translateX(-50%); } }
.seismo .seismo-track { animation: seismo-scroll 8s linear infinite; }
.pressure-bars { display: flex; gap: 26px; justify-content: center; margin-bottom: 38px; position: relative; z-index: 2; }
.pbar { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pbar-eq { display: flex; align-items: flex-end; gap: 8px; height: 124px; }
.pbar-eq span { width: 12px; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); border-radius: 4px; transform-origin: bottom; height: 100%; animation: bs-eq 1.1s ease-in-out infinite; }
.pbar-eq span:nth-child(2){ animation-duration: 0.8s; } .pbar-eq span:nth-child(3){ animation-duration: 1.4s; } .pbar-eq span:nth-child(4){ animation-duration: 0.95s; } .pbar-eq span:nth-child(5){ animation-duration: 1.25s; }
.pbar-label { font-size: 21px; font-weight: 700; color: var(--slate-200); display: flex; align-items: center; gap: 10px; }
.pbar-label .up { color: var(--cyan-bright); font-size: 14px; }
.challenge-statement { font-family: 'Manrope', sans-serif; font-size: 60px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-align: center; max-width: 1180px; color: var(--white); position: relative; z-index: 2; }
.struck-stat { margin-top: 26px; position: relative; z-index: 2; display:inline-flex; align-items:center; gap:14px; font-size: 28px; font-weight: 700; color: var(--slate-400); }
.struck-text { position: relative; }
.struck-text::after { content:''; position:absolute; left:-4px; top:55%; height:3px; width:0; background:var(--orange); border-radius:2px; box-shadow:0 0 8px var(--orange); transition: width 0.6s var(--bs-ease) 0.2s; }
.struck-stat.is-appearing .struck-text::after { width: calc(100% + 8px); }
.struck-stat .struck-now { color: var(--orange-bright); font-weight: 800; }

/* =====================================================================
   SCENE 3 · CONVICCIÓN (ecuación viva + metamorfosis)
   ===================================================================== */
.equation { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; position: relative; z-index: 2; }
.eq-term { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 38px; color: var(--white); padding: 16px 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); transition: all 0.4s var(--bs-ease); }
.eq-term.is-highlight { border-color: var(--cyan); box-shadow: var(--glow-cyan); color: var(--cyan-bright); transform: translateY(-4px); }
.eq-result { background: linear-gradient(135deg, rgba(41,171,226,0.18), rgba(243,146,0,0.12)); border-color: var(--cyan-bright); }
.eq-op { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 50px; color: var(--cyan-bright); }
.morph { display: grid; grid-template-columns: 0.7fr auto 1.1fr; gap: 24px; align-items: center; width: 100%; max-width: 1180px; position: relative; z-index: 2; }
.morph-old { background: rgba(127,152,174,0.08); border: 1px dashed rgba(127,152,174,0.4); border-radius: 22px; padding: 26px 24px; text-align: center; filter: grayscale(0.8); opacity: 0.85; display: flex; flex-direction: column; align-items: center; }
.morph-old .morph-ico { font-size: 42px; filter: grayscale(1); opacity: 0.6; }
.morph-label { align-self: center; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-400); background: rgba(127,152,174,0.12); border: 1px solid rgba(127,152,174,0.3); padding: 6px 14px; border-radius: 999px; margin-bottom: 8px; }
.morph-label--new { color: var(--cyan-bright); background: rgba(41,171,226,0.12); border-color: rgba(41,171,226,0.32); }
.morph-old h3 { font-family:'Manrope'; font-size: 26px; color: var(--slate-200); margin-top: 10px; font-weight: 700; }
.morph-portal { position: relative; height: 120px; width: 64px; display:flex; align-items:center; justify-content:center; }
.morph-portal .arrow { font-size: 40px; color: var(--cyan-bright); filter: drop-shadow(0 0 8px var(--cyan)); }
.morph-portal .bs-particles i { background: radial-gradient(circle, var(--orange-bright), transparent 70%); --d: 2.2s; }
.morph-new { background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); border: 1px solid var(--cyan); border-radius: 24px; padding: 28px 30px; box-shadow: var(--shadow-lg), var(--glow-cyan); display: flex; flex-direction: column; align-items: center; text-align: center; }
.morph-new h3 { font-family:'Manrope'; font-size: 31px; color: var(--white); font-weight: 800; margin-bottom: 14px; }
.morph-chips { display:flex; gap:10px; flex-wrap:wrap; }
.morph-chips span { font-size: 19px; font-weight:700; color: var(--cyan-bright); background: rgba(41,171,226,0.12); border:1px solid rgba(41,171,226,0.3); padding:10px 20px; border-radius:999px; }

/* =====================================================================
   SCENE 4 · ECUACIÓN DE VALOR (escalera diagonal de hexágonos + cable)
   ===================================================================== */
.scene-chain .gfx { aspect-ratio: 1240 / 430; max-width: 1200px; }
.hex { position: absolute; width: 16%; transform: translate(-50%, -50%); z-index: 2; }
.hex-shape { position: relative; padding: 22px 10px 18px; text-align: center; background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); border: 1px solid var(--border); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: all 0.45s var(--bs-ease); }
.hex.is-highlight .hex-shape { border-color: var(--cyan); background: linear-gradient(160deg, rgba(41,171,226,0.22), rgba(41,171,226,0.05)); box-shadow: var(--glow-cyan); }
.hex-icon { width: 42px; height: 42px; margin: 0 auto 6px; color: var(--cyan-bright); }
.hex-icon svg { width: 100%; height: 100%; }
.hex-step { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.hex h3 { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 800; line-height: 1.12; color: var(--white); margin-top: 2px; }
.hex.hex-result .hex-shape { border-color: rgba(243,146,0,0.5); }
.hex.hex-result.is-highlight .hex-shape { border-color: var(--orange); background: linear-gradient(160deg, rgba(243,146,0,0.22), rgba(243,146,0,0.05)); box-shadow: var(--glow-orange); }
.hex.hex-result .hex-step { color: var(--orange-bright); }
.hex.hex-result .hex-icon { color: var(--orange-bright); }

/* =====================================================================
   SCENE 5 · MODELO (cerebro-sistema radial · núcleo + 4 órbitas)
   ===================================================================== */
.scene-model .gfx { aspect-ratio: 1240 / 400; max-width: 1200px; }
.brain-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 184px; height: 184px; z-index: 3; display:flex; align-items:center; justify-content:center; }
.brain-core .core-disc { position:absolute; inset:0; border-radius:50%; background: radial-gradient(circle, rgba(41,171,226,0.28), rgba(12,33,56,0.6) 70%); border:1px solid var(--cyan); box-shadow: var(--glow-cyan); }
.brain-core .core-ring { position:absolute; inset:-14px; }
.brain-core .core-ring circle { fill:none; stroke: rgba(91,200,242,0.25); stroke-width:2; stroke-dasharray:4 8; }
.brain-core .core-label { position:relative; z-index:2; text-align:center; font-family:'Manrope'; font-weight:800; font-size:15px; color:var(--white); line-height:1.1; padding:0 16px; }
.brain-core .core-label b { display:block; font-size:30px; color:var(--cyan-bright); }
.dim-node { position: absolute; width: 20%; transform: translate(-50%,-50%); z-index: 2; }
.dim-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 15px 14px; text-align:center; display:flex; flex-direction:column; gap:6px; align-items:center; transition: all 0.45s var(--bs-ease); }
.dim-node.is-highlight .dim-card { border-color: var(--cyan); box-shadow: var(--shadow-lg), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.18), rgba(41,171,226,0.04)); transform: scale(1.06); }
.dim-icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(41,171,226,0.12); color: var(--cyan-bright); display:flex; align-items:center; justify-content:center; padding:10px; transition: all 0.4s ease; }
.dim-node.is-highlight .dim-icon { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan-bright)); color:#042033; }
.dim-icon svg { width:100%; height:100%; }
.dim-card h3 { font-family:'Manrope'; font-size:19px; font-weight:800; color:var(--white); }
.dim-card p { font-size:13px; color: var(--slate-400); line-height:1.4; }
.dim-node.is-highlight .dim-card p { color: var(--slate-200); }
.brain-arc { fill:none; stroke: rgba(91,200,242,0.3); stroke-width:2; stroke-dasharray: 6 500; animation: bs-travel 2.2s linear infinite; filter: drop-shadow(0 0 4px var(--cyan)); }

/* =====================================================================
   SCENE 6 · PILARES (columnas que crecen + placa superior)
   ===================================================================== */
.structure { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1060px; position: relative; z-index: 2; }
.plate { width: 86%; padding: 18px 30px; text-align: center; border-radius: 16px; background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); border: 1px solid var(--cyan); box-shadow: var(--shadow-lg); font-family:'Manrope'; font-weight: 800; font-size: 25px; color: var(--white); margin-bottom: 6px; }
.plate small { display:block; font-size: 14px; font-weight:700; color: var(--cyan-bright); letter-spacing:0.16em; text-transform:uppercase; margin-bottom:3px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.column { display:flex; flex-direction: column; align-items: center; transform-origin: bottom center; }
.col-shaft { width: 100%; border-radius: 16px 16px 0 0; padding: 26px 30px 30px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-bottom: none; transform: scaleY(0.04); transform-origin: bottom; transition: transform 0.8s var(--bs-overshoot); }
.column.is-appearing .col-shaft { transform: scaleY(1); }
.col-cap { width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-deep), var(--cyan-bright)); box-shadow: 0 0 16px rgba(41,171,226,0.5); margin-bottom: 14px; }
.col-equipos .col-cap { background: linear-gradient(90deg, var(--green), #7DE0BE); box-shadow: 0 0 16px rgba(70,195,154,0.5); }
.col-head { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.col-icon { width:58px; height:58px; border-radius:16px; flex-shrink:0; background: rgba(41,171,226,0.12); color:var(--cyan-bright); display:flex; align-items:center; justify-content:center; padding:12px; }
.col-equipos .col-icon { background: rgba(70,195,154,0.14); color: var(--green); }
.col-icon svg{ width:100%; height:100%; }
.col-head h3 { font-family:'Manrope'; font-size:31px; font-weight:800; color:var(--white); line-height:1.1; }
.col-list { list-style:none; display:flex; flex-direction:column; gap:11px; }
.col-list li { display:flex; align-items:center; gap:13px; font-size:20px; font-weight:600; color:var(--slate-200); }
.col-list .ck { width:30px; height:30px; flex-shrink:0; border-radius:50%; display:flex; align-items:center; justify-content:center; background: rgba(70,195,154,0.16); color:var(--green); font-size:15px; font-weight:800; }

/* =====================================================================
   SCENE 7 · MÉTODO (pipeline + hub central Entrenamos + electrón)
   ===================================================================== */
.scene-method .gfx { aspect-ratio: 1280 / 360; max-width: 1200px; }
.station { position:absolute; transform: translate(-50%,-50%); width: 15%; z-index:2; text-align:center; }
.method-subrow { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top: 18px; position:relative; z-index:3; }
.method-subpill { font-size: 15px; font-weight: 700; color: var(--cyan-bright); background: rgba(41,171,226,0.12); border: 1px solid rgba(41,171,226,0.30); padding: 9px 18px; border-radius: 999px; }
.method-subpill::before { content:'+ '; opacity:.6; }
.station .st-node { background: var(--card); border:1px solid var(--border); border-radius:16px; padding:16px 10px; display:flex; flex-direction:column; align-items:center; gap:8px; transition: all 0.45s var(--bs-ease); }
.station.is-highlight .st-node { border-color: var(--cyan); box-shadow: var(--shadow-lg), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.2), rgba(41,171,226,0.04)); transform: translateY(-6px) scale(1.04); }
.st-num { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Manrope'; font-weight:900; font-size:17px; background: rgba(41,171,226,0.14); color:var(--cyan-bright); border:1.5px solid rgba(41,171,226,0.3); transition: all 0.4s ease; }
.station.is-highlight .st-num { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan-bright)); color:#042033; border-color:transparent; }
.st-node h3 { font-family:'Manrope'; font-size:16px; font-weight:800; color:var(--white); line-height:1.1; }
.st-node p { font-size:12px; color:var(--slate-400); line-height:1.35; }
/* hub central (Entrenamos) más grande + satélites */
.station.st-hub { width: 19%; z-index: 3; }
.station.st-hub .st-node { padding: 22px 12px; }
.station.st-hub .st-num { width:48px; height:48px; font-size:20px; }
.hub-sats { position:absolute; inset:-44px; z-index:1; }
.hub-sat { position:absolute; left:50%; top:50%; font-size:12px; font-weight:700; color:var(--cyan-bright); background:rgba(41,171,226,0.12); border:1px solid rgba(41,171,226,0.3); padding:6px 12px; border-radius:999px; white-space:nowrap; transform: translate(-50%,-50%); }

/* =====================================================================
   SCENE 8 · IMPACTO (escalera isométrica + curva exponencial)
   ===================================================================== */
.scene-impact .gfx { aspect-ratio: 1180 / 460; max-width: 1180px; }
.istep { position:absolute; bottom:0; width: 21%; transform-origin: bottom center; z-index: 2; }
.istep .istep-top { padding: 16px 14px; border-radius: 12px; background: linear-gradient(160deg, rgba(41,171,226,0.2), rgba(41,171,226,0.05)); border:1px solid var(--border); text-align:center; position:relative; }
.istep.is-appearing .istep-top { animation: istep-pop 0.6s var(--bs-overshoot); }
@keyframes istep-pop { 0%{transform:translateY(40px);opacity:0;} 100%{transform:translateY(0);opacity:1;} }
.istep .istep-col { height: var(--col,60px); margin: 0 14px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, rgba(41,171,226,0.18), rgba(12,33,56,0.2)); border:1px solid var(--border); border-top:none; box-shadow: inset -10px 0 16px rgba(0,0,0,0.3); }
.istep .istep-num { font-size:11px; font-weight:800; letter-spacing:.08em; color:var(--cyan); text-transform:uppercase; }
.istep h3 { font-family:'Manrope'; font-size:18px; font-weight:800; color:var(--white); line-height:1.05; }
.istep.istep-final .istep-top { background: linear-gradient(160deg, rgba(243,146,0,0.24), rgba(243,146,0,0.06)); border-color: var(--orange); box-shadow: var(--glow-orange); }
.istep.istep-final .istep-num { color: var(--orange-bright); }
.impact-curve { stroke: var(--orange-bright); fill:none; stroke-width:3.5; stroke-linecap:round; stroke-dasharray: 1400; stroke-dashoffset: 1400; filter: drop-shadow(0 0 6px var(--orange)); }
.scene-impact .gfx.is-appearing .impact-curve { animation: bs-draw 1.6s var(--bs-ease) forwards; }
.impact-result { margin-top: 24px; display: inline-flex; align-items: center; gap: 14px; font-family:'Manrope'; font-size: 26px; font-weight: 800; color: #042033; background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan-bright) 55%, var(--orange-bright) 120%); background-size: 180% auto; padding: 16px 36px; border-radius: 999px; box-shadow: 0 16px 44px rgba(41,171,226,0.32); position:relative; z-index:3; animation: bs-text-shine 5s linear infinite; }

/* =====================================================================
   SCENE 9 · CTA (radar de marca · centrífugo)
   ===================================================================== */
.scene-cta { text-align: center; }
.cta-content { position: relative; z-index: 2; max-width: 1040px; display:flex; flex-direction:column; align-items:center; }
.cta-radar { position: relative; width: 300px; height: 240px; display:flex; align-items:center; justify-content:center; margin-bottom: 6px; }
.cta-radar .sonar { position:absolute; top:50%; left:50%; width: 120px; height:120px; margin:-60px 0 0 -60px; border-radius:50%; border:2px solid rgba(41,171,226,0.5); animation: bs-sonar 3s ease-out infinite; }
.cta-radar .sonar:nth-child(2){ animation-delay: 1s; } .cta-radar .sonar:nth-child(3){ animation-delay: 2s; }
.cta-radar .brand-lockup { position:relative; z-index:2; gap:14px; }
.cta-radar .brand-mark { height: 102px; }
.cta-radar .brand-academy { font-size: 47px; padding-left:18px; }
.cta-title { font-family: 'Manrope', sans-serif; font-size: 54px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 22px 0 28px; color: var(--white); }
.cta-contact { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.cta-contact-item { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; color: var(--slate-50); background: var(--card-strong); border: 1px solid var(--border-strong); padding: 14px 26px; border-radius: 999px; }
.cta-contact-item svg { color: var(--cyan-bright); flex-shrink: 0; }
.cta-foot { font-size: 16px; color: var(--slate-400); font-weight: 500; letter-spacing: 0.02em; }

/* =====================================================================
   SPLASH / CAPTIONS / LOADING / HELP / TOAST
   ===================================================================== */
.splash { position: absolute; inset: 0; z-index: 200; background: rgba(7,19,31,0.92); backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s; }
.splash.hidden { opacity: 0; visibility: hidden; }
.splash-card { text-align: center; padding: 56px 70px; background: linear-gradient(165deg, rgba(22,57,92,0.6), rgba(12,33,56,0.6)); border: 1px solid var(--border-strong); border-radius: 32px; max-width: 760px; width: 92%; box-shadow: var(--shadow-xl); }
.splash-mark { height: 92px; margin-bottom: 8px; filter: drop-shadow(0 8px 22px rgba(41,171,226,0.4)); }
.splash-brand { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 300; letter-spacing: 0.32em; color: var(--white); margin-bottom: 22px; }
.splash-card h2 { font-family: 'Manrope', sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; color: var(--white); }
.splash-sub { color: var(--slate-200); margin-bottom: 32px; font-size: 18px; }
.splash-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.btn-xl { padding: 20px 38px; font-size: 19px; font-weight: 800; border-radius: 999px; display: inline-flex; align-items: center; gap: 12px; min-width: 250px; justify-content: center; }
.btn-record-cta { background: rgba(243,146,0,0.12); color: var(--orange-bright); border: 2px solid rgba(243,146,0,0.34); }
.btn-record-cta:hover { background: var(--orange); color: #1a1206; border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(243,146,0,0.4); }
.splash-tip { margin-top: 16px; font-size: 13px; color: var(--slate-400); }
.splash-tip kbd { font-family: inherit; font-size: 12px; font-weight: 700; background: var(--card-strong); border: 1px solid var(--border); padding: 3px 8px; border-radius: 5px; margin: 0 3px; color: var(--slate-50); }

.captions { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 250; max-width: 85%; background: rgba(5,14,24,0.92); color: #fff; padding: 18px 36px; border-radius: 18px; font-size: 28px; font-weight: 700; line-height: 1.4; text-align: center; text-shadow: 0 2px 6px rgba(0,0,0,0.5); pointer-events: none; backdrop-filter: blur(10px); border: 1px solid rgba(120,180,225,0.18); animation: caption-in 0.22s ease; }
@keyframes caption-in { from { opacity: 0.35; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
body.recording-mode .captions { bottom: 40px; }

.loading-overlay { position: absolute; inset: 0; z-index: 350; background: rgba(7,19,31,0.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.loading-spinner { width: 50px; height: 50px; border: 4px solid rgba(41,171,226,0.18); border-top-color: var(--cyan-bright); border-radius: 50%; animation: bs-spin 0.8s linear infinite; }
.loading-text { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; color: var(--slate-50); }
.loading-bar { width: 280px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.loading-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--cyan-bright)); border-radius: 999px; transition: width 0.3s ease; }

.help-overlay { position: absolute; inset: 0; z-index: 400; background: rgba(4,12,22,0.7); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.help-card { background: linear-gradient(165deg, rgba(22,57,92,0.85), rgba(12,33,56,0.92)); border: 1px solid var(--border-strong); border-radius: 24px; padding: 36px 40px; max-width: 480px; width: 90%; box-shadow: var(--shadow-xl); position: relative; cursor: default; }
.help-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 28px; color: var(--slate-400); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: background 0.2s; }
.help-close:hover { background: var(--card-strong); color: var(--white); }
.help-card h3 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 18px; color: var(--white); }
.help-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.help-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--slate-200); }
.help-list kbd { font-family: inherit; font-size: 12px; font-weight: 700; background: var(--card-strong); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; color: var(--slate-50); min-width: 28px; text-align: center; }
.help-hint { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--slate-400); text-align: center; }
.toast { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(22,57,92,0.95); border: 1px solid var(--border-strong); color: var(--slate-50); padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 14px; z-index: 300; opacity: 0; transition: all 0.4s ease; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  /* Sin "modo scroll": las escenas siguen absolutas ocupando el viewport y el
     escalador JS (fitActiveScene) reduce el contenido para que SIEMPRE quepa. */
  .scene:not(.active) { display: none; }
}
@media (max-width: 1280px) {
  html, body { font-size: 18px; }
  .scene { padding: 30px 36px; }
  .scene-head h2 { font-size: 48px; }
  .brand-lockup .brand-mark { height: 92px; } .brand-lockup .brand-academy { font-size: 42px; }
  .intro-slogan { font-size: 44px; }
  .challenge-statement { font-size: 44px; } .pbar-eq { height: 64px; }
  .eq-term { font-size: 26px; padding: 11px 18px; } .eq-op { font-size: 32px; }
  .hex h3 { font-size: 13px; } .hex-icon { width: 36px; height: 36px; }
  .brain-core { width: 158px; height: 158px; } .brain-core .core-label b { font-size: 26px; }
  .dim-card h3 { font-size: 17px; } .dim-card p { font-size: 12px; }
  .col-head h3 { font-size: 22px; } .col-list li { font-size: 15px; }
  .st-node h3 { font-size: 14px; } .st-node p { font-size: 11px; }
  .istep h3 { font-size: 16px; }
  .cta-title { font-size: 44px; } .impact-result, .cta-contact-item { font-size: 17px; }
}
@media (max-width: 1024px) {
  html, body { font-size: 17px; }
  .scene { padding: 28px 26px 36px; min-height: auto; }
  .scene-head h2 { font-size: 38px; }
  .scene-chain .gfx, .scene-model .gfx, .scene-method .gfx, .scene-impact .gfx { aspect-ratio: auto; height: auto; }
  /* en tablet, los layouts absolutos pasan a flujo simple */
  .scene-chain .gfx, .scene-method .gfx { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
  .scene-chain .gfx-svg, .scene-method .gfx-svg, .scene-model .gfx-svg, .scene-impact .gfx-svg { display:none; }
  .hex, .station, .dim-node, .istep { position: relative; left:auto!important; top:auto!important; bottom:auto!important; transform:none!important; width: 30%; }
  .scene-model .gfx { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; align-items:center; }
  .brain-core { position: relative; transform:none; width: 160px; height:160px; order:-1; }
  .dim-node { width: 44%; }
  .scene-impact .gfx { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; justify-content:center; }
  .istep { width: 44%; } .istep .istep-col { height: 40px!important; }
  .columns { gap: 18px; }
  .morph { grid-template-columns: 1fr; gap: 14px; max-width: 560px; } .morph-portal { transform: rotate(90deg); height:60px; }
  .captions { font-size: 22px; bottom: 20px; }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  .hud { padding: 10px 12px; gap: 8px; } .hud-progress { display:none; }
  .btn { padding: 8px 12px; font-size: 12px; } .btn-ghost { padding: 8px 10px; }
  .scene-head h2 { font-size: 30px; }
  .brand-lockup .brand-mark { height: 60px; } .brand-lockup .brand-academy { font-size: 28px; padding-left:12px; letter-spacing:0.18em; }
  .intro-slogan { font-size: 26px; } .intro-orbit { width: 240px; height:240px; top:-30px; }
  .pressure-bars { gap: 14px; } .challenge-statement { font-size: 26px; }
  .equation { flex-direction: column; gap: 8px; } .eq-term { font-size: 18px; padding:9px 14px; } .eq-op { font-size: 22px; }
  .hex, .dim-node, .istep, .station { width: 46%; }
  .cta-title { font-size: 28px; } .cta-contact-item { font-size: 14px; padding:10px 16px; }
  .splash-card { padding: 36px 26px; } .splash-card h2 { font-size: 26px; } .splash-mark { height: 60px; }
  .btn-xl { padding: 14px 22px; font-size: 15px; min-width: 200px; }
  .captions { font-size: 16px; bottom: 12px; padding:10px 16px; }
}
@media (max-width: 480px) {
  .scene-head h2 { font-size: 24px; } .intro-slogan { font-size: 21px; } .cta-title { font-size: 22px; }
  .hex, .dim-node, .istep, .station, .eq-term { width: 100%; }
  .columns { grid-template-columns: 1fr; }
  .btn span { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .appear, .word-anim { opacity: 1; transform: none; filter: none; }
  .fx-canvas { display: none; }
}

/* ======= Contenedores de Lottie (íconos animados) ======= */
.lic { display: flex; align-items: center; justify-content: center; }
.lic dotlottie-player { width: 100%; height: 100%; }
.cnode .lic { width: 172px; height: 172px; margin: 0 auto; }
.col-lic { width: 120px; height: 120px; }
.morph-lic { width: 154px; height: 154px; margin-bottom: 8px; }
.dim2-lottie dotlottie-player { width: 100%; height: 100%; }

/* ======= SCENE 7 v3 · proceso de 6 etapas (ciclo anual) ======= */
.pcycle { display: inline-flex; align-items: center; gap: 9px; margin: 0 auto 12px; font-size: 15px; font-weight: 700; color: var(--cyan-bright); background: rgba(41,171,226,0.1); border: 1px solid rgba(41,171,226,0.3); padding: 8px 20px; border-radius: 999px; position: relative; z-index: 2; }
.pcycle .rot { display: inline-block; animation: bs-spin 4.5s linear infinite; font-size: 16px; }
.pflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; width: 100%; max-width: 1140px; position: relative; z-index: 2; }
.pstep { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 12px 16px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; transition: all 0.45s var(--bs-ease); position: relative; }
.pstep.is-highlight { border-color: var(--cyan); box-shadow: var(--shadow-lg), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); transform: translateY(-5px); }
.pnum { position: absolute; top: 10px; left: 13px; width: 24px; height: 24px; border-radius: 50%; background: rgba(41,171,226,0.18); color: var(--cyan-bright); font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.pstep.is-highlight .pnum { background: var(--cyan-bright); color: #042033; }
.plottie { width: 102px; height: 102px; }
.plottie dotlottie-player { width: 100%; height: 100%; }
.pstep h3 { font-family: 'Manrope', sans-serif; font-size: 19.5px; font-weight: 800; color: var(--white); line-height: 1.12; }
.pstep p { font-size: 14px; color: var(--slate-400); line-height: 1.38; }
.pstep.is-highlight p { color: var(--slate-200); }
.pstep.pstep-key { border-color: rgba(243,146,0,0.4); }
.pstep.pstep-key .pnum { background: rgba(243,146,0,0.2); color: var(--orange-bright); }
.pstep.pstep-key.is-highlight { box-shadow: var(--shadow-lg), var(--glow-orange); border-color: var(--orange); background: linear-gradient(160deg, rgba(243,146,0,0.16), rgba(243,146,0,0.04)); }
.pstep.pstep-key.is-highlight .pnum { background: var(--orange-bright); color: #1a1206; }

/* ======= SCENE 8 v3 · indicadores antes/después ======= */
.indi { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 2; }
.indi-row { display: grid; grid-template-columns: 200px 1fr 96px; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 10px 20px; transition: all 0.45s var(--bs-ease); }
.indi-row.is-highlight, .indi-row.is-appearing { border-color: rgba(41,171,226,0.4); }
.indi-label { font-weight: 700; font-size: 18px; color: var(--slate-50); }
.indi-bars { display: flex; flex-direction: column; gap: 7px; }
.indi-bline { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; }
.indi-bline .lab { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.indi-bline.antes .lab { color: var(--slate-400); }
.indi-bline.despues .lab { color: var(--cyan-bright); }
.indi-track { height: 17px; border-radius: 999px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.indi-track .fill { position: absolute; top: 0; left: 0; bottom: 0; width: 0; border-radius: 999px; transition: width 1.1s var(--bs-ease); }
.indi-row.is-appearing .indi-track .fill { width: var(--w); }
.indi-bline.antes .fill { background: rgba(127,152,174,0.5); }
.indi-bline.despues .fill { background: linear-gradient(90deg, var(--cyan-deep), var(--cyan-bright)); box-shadow: 0 0 10px rgba(41,171,226,0.5); }
.indi-delta { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 32px; color: var(--green); text-align: right; text-shadow: 0 0 18px rgba(70,195,154,0.45); }
.indi-delta .u { font-size: 14px; font-weight: 800; opacity: 0.75; }
.indi-report { align-self: center; margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: #042033; background: linear-gradient(120deg, var(--cyan), var(--cyan-bright)); padding: 12px 28px; border-radius: 999px; box-shadow: 0 12px 30px rgba(41,171,226,0.32); position: relative; z-index: 2; }
.indi-report svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .pflow { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .indi-row { grid-template-columns: 1fr; gap: 8px; }
  .indi-delta { text-align: left; }
}
@media (max-width: 768px) {
  .pflow { grid-template-columns: 1fr; max-width: 100%; }
  .pstep { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; gap: 10px 12px; min-width: 0; }
  .pstep h3 { flex: 1; min-width: 0; }
  .pstep p { flex: 1 1 100%; min-width: 0; }
  .plottie { width: 48px; height: 48px; flex-shrink: 0; }
  .pnum { position: static; flex-shrink: 0; }
  .indi-label { font-size: 14px; }
}

/* ======= SCENE 9 · EQUIPO DIRECTIVO ======= */
.team-row { display: flex; justify-content: center; gap: 34px; width: 100%; max-width: 1100px; position: relative; z-index: 2; }
.tcard { flex: 1 1 0; max-width: 330px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 30px 24px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; transition: all 0.45s var(--bs-ease); }
.tcard.is-highlight { border-color: var(--cyan); box-shadow: var(--shadow-xl), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); transform: translateY(-8px); }
.tphoto { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(91,200,242,0.45); box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 7px rgba(41,171,226,0.10); margin-bottom: 12px; transition: all 0.4s ease; }
.tcard.is-highlight .tphoto { border-color: var(--cyan-bright); box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 34px rgba(41,171,226,0.5); transform: scale(1.04); }
.tphoto img { width: 100%; height: 100%; object-fit: cover; }
.tcard h3 { font-family: 'Manrope', sans-serif; font-size: 27px; font-weight: 800; color: var(--white); line-height: 1.1; }
.tcard .trole { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-bright); }
.tcard .tdesc { font-size: 16px; color: var(--slate-200); line-height: 1.45; }

/* ---- Responsive de tamaños (logo + animaciones grandes) ---- */
@media (max-width: 1280px) {
  .brand-watermark .wm-mark { height: 44px; }
  .brand-watermark .wm-text b { font-size: 15px; }
  .brand-watermark .wm-text span { font-size: 12px; }
}
@media (max-width: 1024px) {
  /* Reservar franja superior para el logo persistente: evita que se sobreponga al contenido */
  .scene { padding-top: 96px !important; }
}
@media (max-width: 1024px) {
  .cnode .lic { width: 138px; height: 138px; }
  .dim2-lottie { width: 142px; height: 142px; }
  .col-lic { width: 100px; height: 100px; }
  .plottie { width: 84px; height: 84px; }
  .morph-lic { width: 126px; height: 126px; }
  .tphoto { width: 150px; height: 150px; }
  .challenge-statement { font-size: 42px; }
  .pbar-eq { height: 86px; }
  .indi-row { grid-template-columns: 150px 1fr 80px; }
  .team-row { flex-wrap: wrap; gap: 18px; max-width: 680px; }
  .tcard { flex: 0 0 calc(50% - 18px); max-width: none; }
  .tphoto { width: 132px; height: 132px; }
}
@media (max-width: 768px) {
  .cnode .lic, .morph-lic { width: 104px; height: 104px; }
  .col-lic { width: 84px; height: 84px; }
  .dim2-lottie { width: 118px; height: 118px; }
  .intro-loadbar-track { width: 210px; height: 8px; }
  .cta-radar { width: 240px; height: 200px; }
  .cta-radar dotlottie-player { width: 290px; height: 290px; }
  .plottie { width: 68px; height: 68px; }
  .pbar-eq { height: 66px; } .pbar-eq span { width: 9px; }
  .pbar-label { font-size: 15px; }
  .struck-stat { font-size: 19px; }
  .eq-term { font-size: 21px; padding: 10px 16px; } .eq-op { font-size: 28px; }
  .morph-old h3 { font-size: 20px; } .morph-new h3 { font-size: 23px; } .morph-chips span { font-size: 15px; }
  .dim2 h3 { font-size: 21px; } .dim2 p { font-size: 14px; }
  .col-head h3 { font-size: 24px; } .col-list li { font-size: 16px; }
  .plate { font-size: 19px; }
  .pstep h3 { font-size: 16.5px; } .pstep p { font-size: 12.5px; }
  .brand-watermark { top: 12px; left: 14px; gap: 9px; }
  .brand-watermark .wm-mark { height: 36px; }
  .brand-watermark .wm-text b { font-size: 13px; }
  .brand-watermark .wm-text span { font-size: 11px; }
  .scene { padding-top: 78px !important; }
  .indi-row { grid-template-columns: 1fr; gap: 8px; }
  .indi-delta { font-size: 26px; text-align: left; }
  .pcycle { max-width: 94%; font-size: 12px; line-height: 1.35; text-align: center; }
  .pstep h3 { font-size: 16px; } .pstep p { font-size: 12px; }
  .morph { grid-template-columns: 1fr !important; max-width: 100% !important; gap: 12px; }
  .morph-old, .morph-new { width: 100%; }
  .morph-portal { display: none; }
  .tcard { flex: 0 0 100%; }
  .tphoto { width: 116px; height: 116px; }
  .tcard h3 { font-size: 20px; }
}

:fullscreen .hud, :-webkit-full-screen .hud { display: none; }

/* ======= La Araucana · grilla de cifras (logros) ======= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: 1180px; position: relative; z-index: 2; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; transition: all 0.45s var(--bs-ease); }
.stat-card.is-highlight { border-color: var(--cyan); box-shadow: var(--shadow-lg), var(--glow-cyan); background: linear-gradient(160deg, rgba(41,171,226,0.16), rgba(41,171,226,0.04)); transform: translateY(-8px); }
.stat-num { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 52px; line-height: 1; background: linear-gradient(110deg, var(--cyan), var(--cyan-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card.stat-warm .stat-num { background: linear-gradient(110deg, var(--cyan-bright), var(--orange-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 15px; font-weight: 600; color: var(--slate-200); line-height: 1.35; }
.awards-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; position: relative; z-index: 2; }
.award-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--cyan-bright); background: rgba(41,171,226,0.10); border: 1px solid rgba(41,171,226,0.30); padding: 10px 18px; border-radius: 999px; }
.award-chip svg { width: 18px; height: 18px; }
/* sub-chips genericos (vectores, ejes, gamificacion) */
.sub-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; position: relative; z-index: 2; }
.sub-tags span { font-size: 15px; font-weight: 700; color: var(--cyan-bright); background: rgba(41,171,226,0.12); border: 1px solid rgba(41,171,226,0.3); padding: 9px 18px; border-radius: 999px; }
.pstep .pday { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-bright); margin-bottom: 2px; }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; } .stat-num { font-size: 44px; } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat-num { font-size: 34px; } .stat-label { font-size: 12px; } }

/* ======= Co-marca cliente La Araucana ======= */
.araucana-logo { height: 80px; width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); }
.intro-client { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 24px; }
.intro-client > span { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-400); }
.client-watermark { position: absolute; top: 20px; right: 26px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; opacity: 0.97; pointer-events: none; }
.client-watermark .cwm-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-400); }
.client-watermark img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.cta-client { height: 68px; width: auto; margin: 8px 0 2px; }
@media (max-width: 1024px) { .client-watermark { top: 16px; right: 16px; } .client-watermark img { height: 38px; } }
@media (max-width: 768px) { .client-watermark img { height: 30px; } .client-watermark .cwm-label { display: none; } .araucana-logo { height: 60px; } .cta-client { height: 54px; } }

/* ============================================================
   v5 · RESALTADO más visible (destaca del fondo navy)
   El resaltado anterior (cian 0.16 sobre navy) se confundía con el fondo.
   Ahora: panel cian-claro notorio + borde cian-bright 2px + glow fuerte.
   ============================================================ */
/* ACTIVO: borde + glow NARANJA (color cálido = máximo contraste sobre navy/cian),
   panel claro y leve escala. El naranja casi no se usa en el resto → "salta" a la vista. */
.cnode.is-highlight .cnode-card,
.dim2.is-highlight,
.mstep.is-highlight,
.dim-node.is-highlight .dim-card,
.station.is-highlight .st-node,
.pstep.is-highlight,
.tcard.is-highlight,
.hex.is-highlight .hex-shape,
.eq-term.is-highlight,
.dpoint.is-highlight {
  border-color: var(--orange-bright) !important;
  border-width: 2.5px !important;
  background: linear-gradient(150deg, rgba(255,178,62,0.30), rgba(41,171,226,0.16) 70%) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,0.55), 0 0 0 2px rgba(243,146,0,0.45), 0 0 50px rgba(243,146,0,0.6) !important;
}
.dim2.is-highlight h3, .pstep.is-highlight h4, .mstep.is-highlight h4,
.dim-node.is-highlight .dim-card h4, .station.is-highlight .st-node h4,
.cnode.is-highlight .cnode-card h4, .dpoint.is-highlight h3, .tcard.is-highlight h4,
.dim2.is-highlight p, .dpoint.is-highlight p { color: #FFF !important; }
.dim2.is-highlight .dim2-ic, .mstep.is-highlight .mstep-num, .pstep.is-highlight .pnum,
.station.is-highlight .st-num, .dpoint.is-highlight .dpoint-ic {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright)) !important; color: #1a1206 !important; border-color: transparent !important;
}
/* hermanos NO resaltados se atenúan FUERTE (genérico, sin JS): el activo destaca por contraste */
.scene.active [data-highlight-at].is-highlight ~ [data-highlight-at]:not(.is-highlight),
.scene.active [data-highlight-at]:not(.is-highlight):has(~ [data-highlight-at].is-highlight) { opacity: 0.32 !important; filter: saturate(0.55) brightness(0.8); transition: opacity .4s ease, filter .4s ease; }

/* ============================================================
   v6 · Cuenta regresiva (tiempo restante exacto hasta el final)
   ============================================================ */
.countdown { position: absolute; bottom: 15px; right: 18px; z-index: 60; display: flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(9,24,40,0.72); border: 1px solid rgba(91,200,242,0.42); color: var(--cyan-bright); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12.5px; box-shadow: 0 3px 12px rgba(0,0,0,0.4); backdrop-filter: blur(8px); pointer-events: none; font-variant-numeric: tabular-nums; opacity: 0.9; }
.countdown svg { width: 12px; height: 12px; opacity: 0.85; }
.countdown.ending { color: var(--orange-bright); border-color: rgba(243,146,0,0.55); }
body.recording-mode .countdown { bottom: 12px; opacity: 0.8; }
@media (max-width: 768px) { .countdown { bottom: 11px; right: 12px; font-size: 11.5px; padding: 3px 9px; } }

/* ============================================================
   v7 · Flujo de 4 etapas (esquema / reto): 4 cols en desktop,
   2x2 en tablet/móvil (antes el style inline forzaba 4 → apretado).
   ============================================================ */
.pflow.pflow-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .pflow.pflow-4 { grid-template-columns: repeat(2, 1fr) !important; max-width: 760px; gap: 12px 12px; }
  .pflow.pflow-4 .pstep { flex-direction: column !important; text-align: center !important; align-items: center !important; }
  .pflow.pflow-4 .pstep h3 { flex: none !important; }
  .pflow.pflow-4 .pstep p { flex: none !important; }
}
@media (max-width: 560px) {
  .pflow.pflow-4 { gap: 8px !important; max-width: 100%; }
  .pflow.pflow-4 .pstep { padding: 10px 8px !important; }
  .pflow.pflow-4 .pstep h3 { font-size: 14px !important; }
  .pflow.pflow-4 .pstep p { font-size: 11px !important; }
  .pflow.pflow-4 .plottie { width: 54px !important; height: 54px !important; }
}

/* =====================================================================
   MUNDO DIFERENTE · estilos específicos de la experiencia (reskin)
   ===================================================================== */

/* Tinte teal sobre videos stock (armoniza el navy del stock con la marca MD) */
.scene-scrim--teal {
  background:
    linear-gradient(180deg, rgba(6,32,28,0.60) 0%, rgba(6,32,28,0.40) 45%, rgba(6,32,28,0.80) 100%),
    radial-gradient(ellipse at 72% 18%, rgba(86,180,164,0.20), transparent 60%) !important;
}
.scene-scrim--strong.scene-scrim--teal {
  background:
    linear-gradient(180deg, rgba(6,32,28,0.80) 0%, rgba(6,32,28,0.62) 50%, rgba(6,32,28,0.90) 100%),
    radial-gradient(ellipse at 72% 18%, rgba(86,180,164,0.16), transparent 60%) !important;
}

/* Watermark "OTEC certificada SENCE" */
.client-watermark { display:flex; align-items:center; gap:8px; }
.client-watermark .cwm-sence {
  font-family:'Manrope',sans-serif; font-weight:800; letter-spacing:.06em;
  color:var(--cyan-bright); font-size:17px;
}

/* Escena 3 · preguntas apiladas */
.q-stack { display:flex; flex-direction:column; gap:12px; align-items:center; margin:8px 0 18px; }
.q-line  { font-family:'Manrope',sans-serif; font-weight:700; font-size:clamp(24px,3.6vw,48px); line-height:1.12; color:var(--white); }

/* tags "dolor" en tono cálido + tag de acento */
.sub-tags--warn span { border-color:rgba(231,95,28,0.42); background:rgba(231,95,28,0.10); color:#FFD9C4; }
.accent-tag { border-color:rgba(86,180,164,0.55)!important; background:rgba(86,180,164,0.15)!important; color:var(--cyan-bright)!important; font-weight:700; }

/* Escena 9 · teaser de reporte */
.report-teaser { display:flex; gap:26px; align-items:stretch; justify-content:center; flex-wrap:wrap; margin:6px 0 14px; max-width:960px; }
.rt-kpis { display:flex; flex-direction:column; gap:12px; }
.rt-kpi  { background:var(--card-strong); border:1px solid var(--border); border-radius:16px; padding:13px 22px; min-width:190px; box-shadow:var(--shadow-sm); text-align:left; }
.rt-kpi .rt-num { font-family:'Manrope',sans-serif; font-weight:800; font-size:38px; color:var(--cyan-bright); line-height:1; }
.rt-kpi span { font-size:13.5px; color:var(--slate-200); }
.rt-roster { background:rgba(255,255,255,0.045); border:1px solid var(--border); border-radius:18px; padding:10px 18px; min-width:380px; box-shadow:var(--shadow-md); }
.rt-row  { display:grid; grid-template-columns:1.5fr 1.1fr 0.5fr; gap:14px; align-items:center; padding:9px 2px; border-bottom:1px solid rgba(255,255,255,0.06); font-size:15px; }
.rt-row:last-child { border-bottom:none; }
.rt-head { color:var(--slate-400); font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; }
.rt-bar  { display:block; height:8px; border-radius:6px; width:var(--p,80%); background:linear-gradient(90deg,var(--cyan-deep),var(--cyan-bright)); box-shadow:0 0 12px rgba(86,180,164,.5); }
.rt-row span:last-child { font-weight:800; color:var(--white); text-align:right; }

/* Escena 10 · grilla de áreas */
.area-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; max-width:900px; margin:6px auto 16px; }
.area-chip { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:14px 12px; text-align:left; font-size:13.5px; color:var(--slate-50); line-height:1.25; }
.area-chip b { display:block; font-family:'Manrope',sans-serif; font-size:25px; color:var(--cyan-bright); font-weight:800; margin-bottom:2px; }

/* fila de 4 columnas */
.model-row-4 { max-width:1040px; }

/* Escena 12 · botones de acción */
.cta-actions { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin:18px 0 12px; }
.btn-cta { font-size:16.5px; padding:13px 22px; border-radius:14px; }
.btn-cta-ghost { background:rgba(255,255,255,0.06); color:var(--white); border:1px solid var(--border-strong); }
.btn-cta-ghost:hover { background:rgba(86,180,164,0.18); border-color:rgba(86,180,164,0.5); }

/* Botón Explorar del HUD */
.btn-explore { border:1px solid rgba(86,180,164,0.45); color:var(--cyan-bright); }
.btn-explore:hover { background:rgba(86,180,164,0.16); }
