/* Reelab · reelab.byoper.com
   Oscuro como ByOper, con el amarillo de los subtítulos de la fábrica como color propio y el
   rojo de «grabando» para los botones. Todo lo que se mueve usa transform u opacity, para que
   vaya fluido también en el móvil, y se para si el sistema pide menos movimiento. */

:root {
  --fondo: #07060b;
  --fondo-2: #0f0d16;
  --tarjeta: rgba(255, 255, 255, 0.035);
  --tarjeta-2: rgba(255, 255, 255, 0.06);
  --borde: rgba(255, 255, 255, 0.09);
  --texto: #f5f3fa;
  --suave: #a9a3ba;
  --tenue: #6f6982;
  --amarillo: #ffd400;
  --violeta: #8b5cf6;
  --magenta: #d946ef;
  --rec: #ff3b4e;
  --verde: #34d399;
  --radio: 22px;
  --ancho: 1200px;
  --titulos: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --cuerpo: 'Inter', system-ui, sans-serif;
  --subs: 'Montserrat', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 400 17px/1.6 var(--cuerpo);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulos); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
main { position: relative; z-index: 1; }
section { position: relative; padding: clamp(80px, 12vw, 150px) 20px; }
::selection { background: var(--amarillo); color: #000; }

/* --- Fondo vivo -------------------------------------------------------------------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.32; will-change: transform;
}
.aurora span:nth-child(1) { background: var(--violeta); top: -25vmax; left: -15vmax; animation: deriva 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: var(--magenta); top: 30vh; right: -25vmax; opacity: 0.2; animation: deriva 28s ease-in-out infinite alternate-reverse; }
.aurora span:nth-child(3) { background: #f59e0b; bottom: -35vmax; left: 20vw; opacity: 0.1; animation: deriva 34s ease-in-out infinite alternate; }
@keyframes deriva {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8vw, 6vh, 0) scale(1.15); }
  100% { transform: translate3d(-6vw, 10vh, 0) scale(0.95); }
}
.grano {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.progreso i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--amarillo), var(--rec)); }

/* --- Navegación ------------------------------------------------------------------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--ancho), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(10, 9, 16, 0.55); border: 1px solid var(--borde);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .3s, box-shadow .3s;
}
.nav.con-fondo { background: rgba(10, 9, 16, 0.85); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.marca { display: inline-flex; align-items: center; gap: 10px; font: 800 1.25rem var(--titulos); text-decoration: none; letter-spacing: -0.03em; }
.marca__rec { width: 14px; height: 14px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(255,59,78,.18), 0 0 18px var(--rec); animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 50% { transform: scale(.78); opacity: .7; } }
.nav__enlaces { display: flex; gap: 26px; }
.nav__enlaces a { color: var(--suave); text-decoration: none; font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav__enlaces a:hover { color: var(--texto); }

/* --- Botones ----------------------------------------------------------------------- */
.boton {
  --brillo: 0;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  will-change: transform; isolation: isolate; white-space: nowrap;
}
.boton--pequeno { padding: 11px 18px; font-size: .9rem; background: var(--texto); color: #0a0910; }
.boton--pequeno:hover { background: var(--amarillo); }
.boton--rec { background: linear-gradient(135deg, #ff4d5e, #ff2d6f 55%, #d946ef); color: #fff; box-shadow: 0 12px 40px rgba(255, 45, 111, .35), inset 0 1px 0 rgba(255,255,255,.25); overflow: hidden; }
.boton--rec::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: barrido 3.2s ease-in-out infinite; z-index: -1; }
@keyframes barrido { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.boton--rec:hover { box-shadow: 0 18px 60px rgba(255, 45, 111, .55), inset 0 1px 0 rgba(255,255,255,.25); }
.boton--fantasma { border: 1px solid var(--borde); background: var(--tarjeta); color: var(--texto); }
.boton--fantasma:hover { background: var(--tarjeta-2); border-color: rgba(255,255,255,.2); }
.boton--enorme { padding: 22px 38px; font-size: 1.15rem; }
.punto-rec { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; animation: latido 1.4s ease-in-out infinite; }
.boton--rec .punto-rec { background: #fff; box-shadow: 0 0 10px #fff; }

/* --- Piezas comunes ---------------------------------------------------------------- */
.pildora { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--borde); background: var(--tarjeta); color: var(--suave); font-size: .88rem; font-weight: 500; }
.pildora .punto-rec { color: var(--rec); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 18px; }
.degradado { background: linear-gradient(100deg, var(--amarillo) 0%, #ff9d5c 40%, var(--magenta) 75%, var(--violeta)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: brillo 8s ease-in-out infinite alternate; }
@keyframes brillo { to { background-position: 100% 0; } }
.cabecera { max-width: 820px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.cabecera__sub { margin-top: 18px; color: var(--suave); font-size: 1.08rem; }
.nota { color: var(--tenue); font-size: .88rem; margin-top: 14px; text-align: center; }
.tarjeta { position: relative; padding: 28px; border-radius: var(--radio); background: var(--tarjeta); border: 1px solid var(--borde); overflow: hidden; }
.tarjeta p { color: var(--suave); margin-top: 10px; }
/* Luz que sigue al ratón por encima de la tarjeta */
.foco::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(255, 212, 0, .10), transparent 45%); }
.foco::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(255, 212, 0, .55), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.foco:hover::before, .foco:hover::after { opacity: 1; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--texto); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 212, 0, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* --- Hero -------------------------------------------------------------------------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; max-width: var(--ancho); margin: 0 auto; padding-top: 140px; padding-bottom: 80px; }
.hero__titulo { font-size: clamp(2.6rem, 4.7vw, 4.1rem); line-height: .98; font-weight: 800; margin: 26px 0 24px; letter-spacing: -0.035em; }
.hero__titulo .linea { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__titulo .palabra { display: inline-block; }
.resalte { position: relative; display: inline-block; color: #0a0910; padding: 0 .18em; z-index: 0; }
.resalte::before { content: ''; position: absolute; inset: .06em -.02em 0; background: var(--amarillo); border-radius: .14em; z-index: -1; transform-origin: 0 50%; transform: scaleX(var(--resalte, 1)) rotate(-1.2deg); box-shadow: 0 10px 40px rgba(255, 212, 0, .35); }
.hero__sub { color: var(--suave); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 560px; }
.hero__sub strong { color: var(--texto); font-weight: 600; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__confianza { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--suave); font-size: .92rem; }
.hero__confianza li { display: inline-flex; align-items: center; gap: 8px; }
.hero__confianza li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.hero__escena { position: relative; height: min(640px, 80vh); perspective: 1400px; }
.escena { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }

/* --- Móvil con reel ---------------------------------------------------------------- */
.movil {
  --ancho-movil: 250px;
  position: absolute; width: var(--ancho-movil); aspect-ratio: 9 / 19.2; border-radius: calc(var(--ancho-movil) * .16);
  padding: calc(var(--ancho-movil) * .035); background: linear-gradient(145deg, #2a2735, #121019 40%, #22202c);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.06);
}
.movil--centro { left: 50%; top: 50%; transform: translate(-50%, -50%) translateZ(80px); z-index: 3; --ancho-movil: 270px; }
.movil--lado { top: 50%; z-index: 1; opacity: .9; --ancho-movil: 220px; }
.movil--izq { left: 2%; transform: translateY(-46%) rotateY(28deg) translateZ(-60px); }
.movil--der { right: 2%; transform: translateY(-54%) rotateY(-28deg) translateZ(-60px); }
.movil--grande { position: relative; --ancho-movil: 300px; margin: 0 auto; }
.movil--mini { position: relative; --ancho-movil: 100%; border-radius: 18px; padding: 5px; }
.reel { position: relative; width: 100%; height: 100%; border-radius: calc(var(--ancho-movil) * .13); overflow: hidden; background: #000; isolation: isolate; container-type: inline-size; }
.movil--mini .reel { border-radius: 14px; }
.reel__fondo { position: absolute; inset: -20%; background: var(--fondo-reel, linear-gradient(160deg, #3b1d6e, #c2185b 55%, #ff8a00)); animation: deriva-reel 12s ease-in-out infinite alternate; }
@keyframes deriva-reel { to { transform: translate3d(-6%, 4%, 0) rotate(6deg) scale(1.1); } }
.reel__camara { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 38%; }
.reel__persona { position: absolute; left: 50%; bottom: -4%; width: 92%; transform: translateX(-50%); animation: habla 3.4s ease-in-out infinite; }
@keyframes habla { 50% { transform: translateX(-50%) translateY(-1.2%) rotate(-.6deg); } }
.reel__vineta { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(0,0,0,.45)); }
.reel__barra { position: absolute; top: 0; left: 0; right: 0; height: 3.5cqw; min-height: 3px; background: rgba(255,255,255,.18); z-index: 5; }
.reel__barra i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--amarillo); }
.reel__gancho { position: absolute; top: 12%; left: 7%; right: 7%; z-index: 4; text-align: center; font: 900 8.6cqw/1.05 var(--subs); color: #fff; text-transform: uppercase; text-shadow: 0 0 2px #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 8px 22px rgba(0,0,0,.6); opacity: 0; }
.reel__gancho b { color: var(--amarillo); font-weight: 900; }
.reel__subs { position: absolute; left: 6%; right: 6%; top: 64%; transform: translateY(-50%); z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2cqw 2.6cqw; text-align: center; }
.reel__llamada { position: absolute; top: 10%; left: 50%; z-index: 6; transform: translateX(-50%) scale(0) rotate(-3deg); display: flex; flex-direction: column; align-items: center; background: var(--amarillo); color: #000; border-radius: 6cqw; padding: 2.4cqw 7cqw 3cqw; font-family: var(--subs); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.reel__llamada small { font-weight: 800; font-size: 4.4cqw; letter-spacing: .1em; }
.reel__llamada b { font-weight: 900; font-size: 13cqw; line-height: 1; }
.reel__llamada.visible { transform: translateX(-50%) scale(1) rotate(-3deg); }
.reel__lado { position: absolute; right: 3.5%; bottom: 14%; z-index: 5; display: grid; gap: 5cqw; }
.reel__lado span { width: 9cqw; height: 9cqw; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.reel__lado svg { width: 100%; height: 100%; }
.reel__lado span.late svg { color: var(--rec); fill: var(--rec); animation: corazon .5s; }
@keyframes corazon { 40% { transform: scale(1.35); } }
.reel__usuario { position: absolute; left: 5%; bottom: 5%; z-index: 5; display: flex; align-items: center; gap: 2.5cqw; color: #fff; font: 700 4.4cqw var(--cuerpo); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.reel__usuario i { width: 8cqw; height: 8cqw; border-radius: 50%; background: linear-gradient(135deg, var(--amarillo), var(--rec)); border: 2px solid #fff; }
.reel__comentarios { position: absolute; left: 5%; bottom: 13%; width: 62%; height: 40%; z-index: 5; pointer-events: none; overflow: hidden; }
.burbuja { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 2cqw; padding: 1.6cqw 3.2cqw 1.6cqw 1.6cqw; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); color: #fff; font: 600 4.2cqw var(--cuerpo); white-space: nowrap; animation: sube 3.4s ease-out forwards; }
.burbuja i { width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--c, #8b5cf6); flex: none; }
.burbuja b { color: var(--amarillo); }
@keyframes sube { 0% { transform: translateY(0) scale(.8); opacity: 0; } 12% { opacity: 1; transform: translateY(-20%) scale(1); } 80% { opacity: 1; } 100% { transform: translateY(-360%); opacity: 0; } }
.reel__mensaje { position: absolute; left: 4%; right: 4%; top: 4%; z-index: 7; display: flex; gap: 2.6cqw; align-items: center; padding: 3cqw; border-radius: 4.5cqw; background: rgba(28, 26, 38, .92); border: 1px solid rgba(255,255,255,.1); color: #fff; font: 500 3.8cqw/1.3 var(--cuerpo); transform: translateY(-140%); transition: transform .5s cubic-bezier(.2,1.3,.4,1); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.reel__mensaje.visible { transform: translateY(0); }
.reel__mensaje i { width: 9cqw; height: 9cqw; border-radius: 2.6cqw; flex: none; background: linear-gradient(135deg, #ff4d5e, #d946ef); display: grid; place-items: center; font: 800 4.4cqw var(--titulos); font-style: normal; }
.reel__mensaje b { display: block; font-weight: 700; }

/* Subtítulos en los cuatro estilos de la fábrica */
.sub { display: inline-block; font-family: var(--subs); transition: transform .18s, color .12s, background .12s, opacity .12s; }
.reel[data-estilo='golpe'] .sub { font-weight: 900; font-size: 8.4cqw; text-transform: uppercase; color: #fff; text-shadow: 0 0 2px #000, 0 2.5px 0 #000, 0 -2.5px 0 #000, 2.5px 0 0 #000, -2.5px 0 0 #000, 0 8px 18px rgba(0,0,0,.5); }
.reel[data-estilo='golpe'] .sub.suena, .reel[data-estilo='golpe'] .sub.clave { color: var(--amarillo); }
.reel[data-estilo='golpe'] .sub.suena { transform: rotate(-3deg) scale(1.08); }
.reel[data-estilo='karaoke'] .sub { font-weight: 800; font-size: 6.6cqw; color: #fff; opacity: .55; padding: 0 1.6cqw; border-radius: 2cqw; text-shadow: 0 0 2px #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000; }
.reel[data-estilo='karaoke'] .sub.dicha { opacity: 1; }
.reel[data-estilo='karaoke'] .sub.suena { background: var(--amarillo); color: #000; text-shadow: none; transform: scale(1.08); }
.reel[data-estilo='caja'] .reel__subs { background: var(--amarillo); border-radius: 3.5cqw; padding: 2cqw 4cqw; transform: translateY(-50%) rotate(-2deg); left: 10%; right: 10%; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.reel[data-estilo='caja'] .sub { font-weight: 900; font-size: 7.4cqw; text-transform: uppercase; color: #000; padding: 0 1.4cqw; border-radius: 1.6cqw; }
.reel[data-estilo='caja'] .sub.suena { background: #000; color: var(--amarillo); }
.reel[data-estilo='limpio'] .reel__subs { top: 78%; }
.reel[data-estilo='limpio'] .sub { font-weight: 800; font-size: 5.4cqw; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 2px #000; }
.reel[data-estilo='limpio'] .sub.suena, .reel[data-estilo='limpio'] .sub.clave { color: var(--amarillo); }
.sub.entra { animation: pop .28s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(.5) translateY(30%); opacity: 0; } }

/* --- Chips flotantes del hero ----------------------------------------------------- */
.chip { position: absolute; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 16px; background: rgba(18, 16, 26, .82); border: 1px solid var(--borde); backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.45); font-size: .85rem; line-height: 1.25; will-change: transform; }
.chip b { display: block; font-weight: 700; }
.chip small { color: var(--suave); font-size: .78rem; }
.chip__icono { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(139, 92, 246, .2); color: #c4b5fd; font-weight: 800; flex: none; }
.chip__icono--amarillo { background: var(--amarillo); color: #000; font-family: var(--titulos); font-size: 1.05rem; }
.chip__icono--rec { background: rgba(255, 59, 78, .18); }
.chip__icono--rec::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 12px var(--rec); animation: latido 1.4s infinite; }
.chip--a { top: 8%; right: -2%; }
.chip--b { top: 46%; left: -6%; }
.chip--c { bottom: 6%; right: 6%; }

/* --- Cinta de ganchos -------------------------------------------------------------- */
.cinta { padding: 30px 0; overflow: hidden; transform: rotate(-2deg); margin: 0 -20px; }
.cinta__fila { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta__pista { display: flex; gap: 48px; width: max-content; animation: desliza 55s linear infinite; }
.cinta__fila--inversa .cinta__pista { animation-direction: reverse; animation-duration: 65s; }
.cinta__pista span { font: 900 clamp(1.5rem, 3.6vw, 2.8rem)/1 var(--subs); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.cinta__pista span:nth-child(3n+1) { color: var(--amarillo); -webkit-text-stroke: 0; }
.cinta__pista span::after { content: '●'; margin-left: 48px; color: var(--rec); -webkit-text-stroke: 0; font-size: .4em; vertical-align: middle; }
@keyframes desliza { to { transform: translateX(-50%); } }

/* --- Problema ---------------------------------------------------------------------- */
.problema { max-width: 1000px; margin: 0 auto; text-align: center; }
.problema__texto { font: 700 clamp(1.7rem, 4.4vw, 3.3rem)/1.18 var(--titulos); letter-spacing: -0.02em; }
.problema__texto .p { opacity: .14; transition: opacity .2s; }
.problema__golpe { margin-top: 46px; font: 800 clamp(1.5rem, 3.6vw, 2.6rem)/1.2 var(--titulos); }
.subrayado { position: relative; white-space: nowrap; }
.subrayado::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--amarillo), var(--rec)); transform-origin: 0 50%; transform: scaleX(var(--linea, 0)); }

/* --- Sistema ----------------------------------------------------------------------- */
.sistema__cuerpo { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: start; }
.consola { position: sticky; top: 110px; border-radius: 28px; background: linear-gradient(180deg, rgba(24, 21, 34, .95), rgba(13, 12, 19, .95)); border: 1px solid var(--borde); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03) inset; overflow: hidden; }
.consola__barra { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--borde); font-size: .9rem; line-height: 1.2; }
.consola__barra small { display: block; color: var(--tenue); font-size: .76rem; }
.consola__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 800 1rem var(--titulos); background: linear-gradient(135deg, #ff4d5e, #d946ef); }
.consola__chat { height: 380px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; mask-image: linear-gradient(transparent, #000 18%); -webkit-mask-image: linear-gradient(transparent, #000 18%); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .9rem; line-height: 1.4; animation: msg .35s cubic-bezier(.2,1.2,.4,1); }
.msg--yo { align-self: flex-end; background: linear-gradient(135deg, #7c3aed, #c026d3); border-bottom-right-radius: 6px; }
.msg--bot { align-self: flex-start; background: rgba(255,255,255,.08); border-bottom-left-radius: 6px; }
.msg--sistema { align-self: center; max-width: 100%; background: none; color: var(--tenue); font-size: .78rem; padding: 2px; }
.msg--sistema b { color: var(--amarillo); }
.msg__botones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg__botones span { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .8rem; }
.msg__botones span.elegido { background: var(--amarillo); color: #000; border-color: var(--amarillo); font-weight: 700; }
@keyframes msg { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.medidor { display: flex; align-items: center; gap: 16px; padding: 14px 18px 18px; border-top: 1px solid var(--borde); }
.medidor svg { width: 110px; flex: none; }
.medidor path { fill: none; stroke-width: 10; stroke-linecap: round; }
.medidor__fondo { stroke: rgba(255,255,255,.08); }
.medidor__valor { stroke: var(--amarillo); stroke-dasharray: 158; stroke-dashoffset: 158; transition: stroke .3s; }
.medidor__numero span { font: 800 2.4rem/1 var(--titulos); }
.medidor__numero small { display: block; color: var(--tenue); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 22vh; padding-top: 10vh; padding-bottom: 20vh; position: relative; }
.pasos::before { content: ''; position: absolute; left: 31px; top: 10vh; bottom: 20vh; width: 2px; background: rgba(255,255,255,.08); }
.pasos::after { content: ''; position: absolute; left: 31px; top: 10vh; bottom: 20vh; width: 2px; background: linear-gradient(var(--amarillo), var(--rec)); transform-origin: 50% 0; transform: scaleY(var(--avance, 0)); }
.paso { display: flex; gap: 26px; align-items: flex-start; opacity: .35; transition: opacity .4s; }
.paso.activo { opacity: 1; }
.paso__num { position: relative; z-index: 1; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem var(--titulos); background: var(--fondo-2); border: 1px solid var(--borde); transition: background .4s, color .4s, box-shadow .4s; }
.paso.activo .paso__num { background: var(--amarillo); color: #000; box-shadow: 0 0 0 8px rgba(255, 212, 0, .12), 0 0 40px rgba(255, 212, 0, .35); }
.paso h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-top: 14px; }
.paso p { color: var(--suave); margin-top: 10px; max-width: 520px; }

/* --- Fábrica ----------------------------------------------------------------------- */
.fabrica__cuerpo { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.selector { display: flex; justify-content: center; gap: 6px; margin: 26px auto 0; padding: 6px; width: max-content; border-radius: 999px; background: var(--tarjeta); border: 1px solid var(--borde); }
.selector button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--suave); transition: background .25s, color .25s; }
.selector button[aria-selected='true'] { background: var(--amarillo); color: #000; }
.selector button:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 2px; }
.fabrica__lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tarjeta__num { font: 800 .85rem var(--titulos); color: var(--amarillo); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.multiplica { max-width: var(--ancho); margin: clamp(70px, 10vw, 120px) auto 0; text-align: center; }
.multiplica__titulo { font: 800 clamp(1.5rem, 3.4vw, 2.5rem) var(--titulos); margin-bottom: 36px; }
.multiplica__titulo .contador { color: var(--amarillo); }
.flecha { color: var(--rec); }
.multiplica__rejilla { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }

/* --- YouTube ----------------------------------------------------------------------- */
.youtube { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.youtube__texto > p:not(.eyebrow) { color: var(--suave); margin-top: 22px; font-size: 1.05rem; }
.reproductor { border-radius: 22px; background: #0d0c13; border: 1px solid var(--borde); overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.55); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.reproductor__pantalla { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; }
.reproductor__fondo { position: absolute; inset: -10%; background: linear-gradient(120deg, #1e1b4b, #4c1d95 45%, #9d174d); animation: deriva-reel 14s ease-in-out infinite alternate; }
.reproductor__persona { position: absolute; left: 50%; bottom: -8%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.32) 0 17%, transparent 17.5%), radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.22) 0 46%, transparent 46.5%); animation: habla 3.4s ease-in-out infinite; }
.reproductor__rotulo { position: absolute; left: 5%; bottom: 20%; display: flex; gap: 1.4cqw; font-size: 2.4cqw; line-height: 1.2; opacity: 0; transform: translateX(-30%); transition: opacity .5s, transform .5s; }
.reproductor__rotulo.visible { opacity: 1; transform: none; }
.reproductor__rotulo i { width: .8cqw; background: var(--amarillo); border-radius: 1cqw; }
.reproductor__rotulo b { display: block; font: 800 3.2cqw var(--titulos); }
.reproductor__rotulo small { color: var(--amarillo); font-weight: 700; }
.reproductor__capitulo { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-left: 8%; background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.25)); opacity: 0; transition: opacity .5s; }
.reproductor__capitulo.visible { opacity: 1; }
.reproductor__capitulo small { color: var(--amarillo); font-weight: 800; letter-spacing: .2em; font-size: 2cqw; }
.reproductor__capitulo b { font: 800 5.4cqw/1.05 var(--titulos); max-width: 70%; margin-top: .6cqw; }
.reproductor__capitulo i { height: .9cqw; width: 0; margin-top: 2cqw; background: var(--amarillo); border-radius: 1cqw; transition: width .8s .2s cubic-bezier(.2,.8,.2,1); }
.reproductor__capitulo.visible i { width: 22cqw; }
.reproductor__subs { position: absolute; left: 10%; right: 10%; bottom: 7%; text-align: center; font: 700 3cqw var(--subs); text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.reproductor__subs .s.suena { color: var(--amarillo); }
.reproductor__barra { position: relative; height: 5px; background: rgba(255,255,255,.12); }
.reproductor__barra i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--rec); }
.reproductor__barra span { position: absolute; top: 0; width: 3px; height: 100%; background: #0d0c13; }
.reproductor__info { padding: 16px 18px 18px; }
.reproductor__info b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.reproductor__info small { color: var(--tenue); }

/* --- Bento ------------------------------------------------------------------------- */
.bento { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento__pieza { position: relative; padding: 30px; min-height: 220px; border-radius: var(--radio); background: var(--tarjeta); border: 1px solid var(--borde); overflow: hidden; }
.bento__pieza--ancha { grid-column: span 2; }
.bento__pieza p { color: var(--suave); margin-top: 12px; max-width: 460px; }
.bento__deco--palabra { position: absolute; right: -10px; bottom: -14px; font: 900 clamp(2.4rem, 5vw, 4.2rem)/1 var(--subs); color: rgba(255,255,255,.06); }
.bento__deco--palabra b { color: rgba(255, 212, 0, .28); }
.barras { position: absolute; right: 26px; bottom: 26px; display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.barras i { width: 14px; height: var(--h); border-radius: 4px; background: linear-gradient(var(--amarillo), rgba(255, 212, 0, .2)); transform-origin: 50% 100%; transform: scaleY(var(--crece, 1)); }

/* --- Comparativa ------------------------------------------------------------------- */
.tabla { max-width: 980px; margin: 0 auto; border-radius: 24px; border: 1px solid var(--borde); background: var(--tarjeta); overflow: hidden; }
.tabla__fila { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--borde); }
.tabla__fila:first-child { border-top: 0; }
.tabla__fila > span { padding: 18px 20px; font-size: .95rem; }
.tabla__fila--cabeza > span { font-weight: 700; color: var(--suave); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.tabla__fila [role='rowheader'] { font-weight: 600; }
.tabla .no { color: var(--tenue); }
.tabla .medio { color: #fbbf24; }
.tabla .si { color: var(--texto); }
.tabla__nuestra { background: rgba(255, 212, 0, .07); position: relative; }
.tabla__fila--cabeza .tabla__nuestra { color: var(--amarillo); }
.tabla .si.tabla__nuestra { color: var(--amarillo); font-weight: 700; }
.tabla .si.tabla__nuestra::before { content: ''; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border-radius: 50%; background: var(--amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* --- Por qué funciona y proceso ---------------------------------------------------- */
.porque__rejilla, .proceso__pasos { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; }
.porque__dato { font: 700 1.2rem/1.35 var(--titulos); color: var(--texto) !important; margin-top: 0 !important; }
.porque__fuente { font-size: .82rem; color: var(--tenue) !important; }
.porque__fuente a { color: var(--amarillo); }
.proceso__num { display: block; font: 800 3.4rem/1 var(--titulos); background: linear-gradient(180deg, var(--amarillo), rgba(255, 212, 0, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }

/* --- Preguntas --------------------------------------------------------------------- */
.acordeon { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.acordeon details { border-radius: 18px; background: var(--tarjeta); border: 1px solid var(--borde); transition: background .25s, border-color .25s; }
.acordeon details[open] { background: var(--tarjeta-2); border-color: rgba(255, 212, 0, .3); }
.acordeon summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: '+'; color: var(--amarillo); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.acordeon details[open] summary::after { transform: rotate(45deg); }
.acordeon p { padding: 0 24px 22px; color: var(--suave); }

/* --- CTA final --------------------------------------------------------------------- */
.final__caja { position: relative; max-width: 980px; margin: 0 auto; text-align: center; padding: clamp(50px, 8vw, 90px) clamp(22px, 5vw, 70px); border-radius: 36px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, rgba(255, 59, 78, .25), transparent 55%), radial-gradient(90% 90% at 50% 100%, rgba(139, 92, 246, .25), transparent 60%), var(--fondo-2); border: 1px solid var(--borde); }
.final__caja h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin-bottom: 36px; }
.final__caja::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--giro, 0deg), transparent 0 70%, var(--amarillo), var(--rec), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: gira 6s linear infinite; }
@property --giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes gira { to { --giro: 360deg; } }

/* --- Pie y barra móvil ------------------------------------------------------------- */
.pie { position: relative; z-index: 1; max-width: var(--ancho); margin: 0 auto; padding: 40px 20px 120px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--tenue); border-top: 1px solid var(--borde); font-size: .9rem; }
.barra-movil { display: none; }

/* Estado inicial de lo que entra con animación (solo si hay JavaScript y movimiento) */
.js .entra, .js .aparece { opacity: 0; transform: translateY(30px); }
.js .hero__titulo .palabra { transform: translateY(110%); }
.js .resalte { --resalte: 0; }

/* --- Pantallas medianas y móvil ------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero__titulo { font-size: clamp(2.6rem, 8vw, 4.6rem); }
  .hero__sub { margin: 0 auto; }
  .hero__botones, .hero__confianza { justify-content: center; }
  .hero__escena { height: 560px; max-width: 620px; width: 100%; margin: 0 auto; }
  .sistema__cuerpo { grid-template-columns: 1fr; gap: 30px; }
  /* La conversación se queda arriba y los pasos pasan por debajo: mismo ancho, para que el
     texto no asome por los lados. */
  .consola { position: sticky; top: 76px; z-index: 2; max-width: 640px; margin: 0 auto; width: 100%; box-shadow: 0 30px 60px 10px var(--fondo); }
  .consola__chat { height: 220px; }
  .pasos { gap: 34vh; padding-top: 6vh; max-width: 640px; width: 100%; margin: 0 auto; }
  .fabrica__cuerpo, .youtube { grid-template-columns: 1fr; }
  .reproductor { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .multiplica__rejilla { grid-template-columns: repeat(5, 1fr); }
  .multiplica__rejilla > :nth-child(n+6) { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding-left: 16px; padding-right: 16px; }
  .nav { padding-left: 16px; }
  .nav__enlaces { display: none; }
  .hero__titulo { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero__escena { height: 480px; }
  .movil--centro { --ancho-movil: 210px; }
  .movil--lado { --ancho-movil: 160px; }
  .movil--izq { left: -4%; }
  .movil--der { right: -4%; }
  .chip { font-size: .76rem; padding: 8px 12px 8px 8px; }
  .chip__icono { width: 30px; height: 30px; }
  .chip--a { right: 0; top: 2%; }
  .chip--b { left: 0; top: 52%; }
  .chip--c { right: 2%; bottom: 0; }
  .consola__chat { height: 190px; }
  .consola__chat .msg { font-size: .82rem; }
  .medidor svg { width: 80px; }
  .medidor__numero span { font-size: 1.8rem; }
  .pasos::before, .pasos::after { left: 23px; }
  .paso { gap: 16px; }
  .paso__num { width: 48px; height: 48px; font-size: .95rem; }
  .fabrica__lista, .porque__rejilla, .proceso__pasos, .bento { grid-template-columns: 1fr; }
  .bento__pieza--ancha { grid-column: auto; }
  .movil--grande { --ancho-movil: 240px; }
  .selector button { padding: 8px 11px; font-size: .84rem; }
  .multiplica__rejilla { grid-template-columns: repeat(3, 1fr); }
  .multiplica__rejilla > :nth-child(n+4) { display: none; }
  .tabla__fila { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .tabla__fila > span { padding: 14px 8px; font-size: .78rem; }
  .tabla__fila--cabeza > span { font-size: .66rem; letter-spacing: .04em; }
  .tabla .si.tabla__nuestra::before { display: none; }
  .barra-movil {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
    align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 999px; text-decoration: none; font-weight: 700;
    background: linear-gradient(135deg, #ff4d5e, #ff2d6f 55%, #d946ef); color: #fff; box-shadow: 0 14px 40px rgba(255, 45, 111, .45);
    transform: translateY(150%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .barra-movil.visible { transform: none; }
  .barra-movil .punto-rec { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .entra, .js .aparece { opacity: 1; transform: none; }
  .js .hero__titulo .palabra { transform: none; }
  .js .resalte { --resalte: 1; }
  .problema__texto .p { opacity: 1; }
}
