/* InDisplay · sitio público.
   Un solo archivo, sin JavaScript. El sitio es siempre claro (aunque el visitante tenga el modo oscuro puesto):
   blanco y gris frío, tinta casi negra azulada y UN solo color vivo, el azul eléctrico de InDisplay (--acento).
   El dorado queda solo en el logo. Una sola tipografía: Archivo (variable en peso, recortada al castellano).
   Las escenas dibujadas (los carteles de ejemplo, la trivia, el panel) tienen sus propios colores adentro: son
   "pantallas", no parte de la marca.
   Importante para la política de seguridad del sitio (sitio/firebase.json): nada de estilos en línea
   (style="…") ni de <style> dentro del HTML; todo va acá. Animaciones: solo transform y opacity, y siempre adentro
   de @media (prefers-reduced-motion: no-preference) (una prueba lo vigila). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/archivo-sitio.77c53d78.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --fondo: #ffffff;
  --tenue: #f5f7fb;
  --superficie: #ffffff;
  --tinta: #0b1020;
  --apagado: #4d566b;
  --linea: rgba(11, 16, 32, 0.09);
  --linea-fuerte: rgba(11, 16, 32, 0.16);

  /* El único color vivo: azul eléctrico. Sobre blanco contrasta 6:1 (AA para texto chico). */
  --acento: #3346ff;
  --acento-hover: #2432e0;
  --acento-suave: rgba(51, 70, 255, 0.07);
  --acento-medio: rgba(51, 70, 255, 0.16);

  --sombra-1: 0 1px 2px rgba(16, 24, 48, 0.06), 0 1px 1px rgba(16, 24, 48, 0.03);
  --sombra-2: 0 18px 40px -20px rgba(16, 24, 64, 0.22), 0 3px 8px -3px rgba(16, 24, 64, 0.08);
  --sombra-3: 0 50px 90px -40px rgba(18, 26, 90, 0.42), 0 10px 24px -12px rgba(18, 26, 90, 0.18);

  --boton: var(--acento);
  --sobre-boton: #ffffff;
  --boton-hover: var(--acento-hover);

  /* El logo conserva su ámbar */
  --lg-ic: #f5b301;
  --lg-in: #e09a00;

  --radio: 16px;
  --radio-chico: 10px;
  --ancho: 1160px;
  --alto-cabecera: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--alto-cabecera) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--fondo);
  color: var(--tinta);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2 {
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

svg,
img,
video {
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}

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

.ic {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.saltar {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--tinta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.saltar:focus {
  top: 12px;
}

.solo-lector {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ───────── Logo ───────── */

.lg {
  width: auto;
  height: 30px;
}

.lg .lg-ic {
  fill: var(--lg-ic);
}

.lg .lg-in {
  fill: var(--lg-in);
}

.lg .lg-tx {
  fill: currentColor;
}

/* ───────── Estructura ───────── */

.caja {
  width: 100%;
  max-width: calc(var(--ancho) + 56px);
  margin-inline: auto;
  padding-inline: 28px;
}

.caja-angosta {
  max-width: calc(800px + 56px);
}

.seccion {
  padding-block: clamp(72px, 9vw, 120px);
}

.seccion-tenue {
  background: var(--tenue);
  border-block: 1px solid var(--linea);
}

/* Dos secciones blancas seguidas: una línea fina las separa */
.seccion:not(.seccion-tenue) + .seccion:not(.seccion-tenue) {
  border-top: 1px solid var(--linea);
}

.encabezado {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.encabezado h2,
.cierre h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.encabezado .bajada {
  max-width: 54ch;
  margin-top: 18px;
}

.caja-angosta .encabezado {
  display: block;
}

.caja-angosta .encabezado h2 {
  max-width: none;
}

@media (min-width: 900px) {
  .encabezado:not(.encabezado-izq) {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: 64px;
    align-items: end;
  }

  .encabezado:not(.encabezado-izq) .etiqueta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .encabezado:not(.encabezado-izq) .bajada {
    margin-top: 0;
    padding-bottom: 6px;
  }
}

/* Rótulo chico arriba de cada título: una etiqueta técnica, con su punto de color */
.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--linea-fuerte);
  border-radius: 999px;
  background: var(--superficie);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinta);
}

.etiqueta::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--acento);
}

.bajada {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  font-weight: 400;
  color: var(--apagado);
  line-height: 1.6;
}

.letra-chica {
  font-size: 0.9375rem;
  color: var(--apagado);
}

/* ───────── Botones ───────── */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--boton);
  border-radius: 12px;
  background: var(--boton);
  color: var(--sobre-boton);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -10px rgba(51, 70, 255, 0.7);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.boton:hover {
  background: var(--boton-hover);
  border-color: var(--boton-hover);
  transform: translateY(-1px);
}

.boton:active {
  transform: translateY(0);
}

.boton-claro {
  background: var(--superficie);
  border-color: var(--linea-fuerte);
  color: var(--tinta);
  box-shadow: var(--sombra-1);
}

.boton-claro:hover {
  background: var(--superficie);
  border-color: var(--tinta);
}

.boton-chico {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.9375rem;
}

.boton-ancho {
  width: 100%;
}

.botones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.botones-centro {
  justify-content: center;
}

/* ───────── Cabecera ───────── */

.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fondo);
  border-bottom: 1px solid var(--linea);
}

@supports (backdrop-filter: blur(10px)) {
  .cabecera {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}

.cabecera-fila {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--alto-cabecera);
}

.cabecera-logo {
  display: block;
  flex: none;
  margin-right: auto;
  color: var(--tinta);
}

.menu {
  display: none;
  gap: 2px;
}

.menu a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--apagado);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.menu a:hover {
  color: var(--tinta);
  background: var(--tenue);
}

.menu a[aria-current="page"] {
  color: var(--acento);
}

.cabecera-acciones {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* El botón de entrar al panel: con borde, siempre visible (en la compu y en el celu) */
.boton-ingresar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--linea-fuerte);
  border-radius: 10px;
  background: var(--superficie);
  color: var(--tinta);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--sombra-1);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.boton-ingresar:hover {
  border-color: var(--acento);
  color: var(--acento);
}

.boton-ingresar .ic {
  width: 1.05rem;
  height: 1.05rem;
}

/* En el celu, la cabecera es logo + Ingresar + menú: el WhatsApp ya está en el botón verde que flota */
@media (max-width: 639px) {
  .cabecera-wa {
    display: none;
  }
}

.menu-movil summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 40px;
  border: 1px solid var(--linea-fuerte);
  border-radius: 10px;
  color: var(--tinta);
  cursor: pointer;
  list-style: none;
}

.menu-movil summary::-webkit-details-marker {
  display: none;
}

.menu-movil[open] summary {
  background: var(--acento-suave);
  border-color: var(--acento-medio);
}

.menu-movil nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: 8px 28px 20px;
  background: var(--fondo);
  border-bottom: 1px solid var(--linea);
  box-shadow: var(--sombra-2);
}

.menu-movil nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--linea);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-movil nav a:last-child {
  border-bottom: 0;
}

.menu-movil nav a[aria-current="page"] {
  color: var(--acento);
}

@media (min-width: 960px) {
  .menu {
    display: flex;
  }

  .menu-movil {
    display: none;
  }

  .cabecera-logo {
    margin-right: 0;
  }
}

/* ───────── Portada ───────── */

.portada {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 112px);
}

/* Fondo de la portada: una grilla fina que se desvanece y un brillo azul muy suave detrás de la pantalla */
.portada::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--linea) 1px, transparent 1px), linear-gradient(90deg, var(--linea) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 72% 20%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 72% 20%, #000 10%, transparent 72%);
  opacity: 0.7;
}

.portada::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 4%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(51, 70, 255, 0.12), transparent);
}

.portada-fila {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
}

.portada h1 {
  font-size: clamp(2.6rem, 6.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.resalte {
  color: var(--acento);
}

.portada .bajada {
  max-width: 34em;
  margin-top: 24px;
}

.portada .botones {
  margin-top: 34px;
}

.portada .letra-chica {
  margin-top: 18px;
}

@media (min-width: 960px) {
  .portada-fila {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

/* ── La tele sola: la usa la portada cuando hay video (config.json → video), y la tele vertical de eventos y
   agencias. Las medidas van en cqw: se achica entera. ── */

.vitrina {
  position: relative;
  width: min(100%, 500px);
  margin-inline: auto;
  container-type: inline-size;
}

.portada-escena .vitrina-sola {
  margin-top: clamp(36px, 5vw, 56px);
}

.tele {
  position: relative;
  width: 61cqw;
  margin-left: auto;
  margin-bottom: 7cqw;
  padding: 1.9cqw;
  border-radius: 3cqw;
  background: linear-gradient(145deg, #313744 0%, #11141b 38%, #0a0c11 100%);
  box-shadow: 0 0 0 0.3cqw #3d4452, 0 0 0 0.7cqw rgba(16, 24, 48, 0.07), 0 9cqw 13cqw -7cqw rgba(18, 26, 90, 0.5);
}

/* El pie: un cuello y una base, para que se lea como una tele y no como un cuadro */
.tele::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2.2cqw;
  width: 7cqw;
  height: 3cqw;
  transform: translateX(-50%);
  background: linear-gradient(#2b303b, #12151c);
}

.tele::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5.6cqw;
  width: 24cqw;
  height: 3.4cqw;
  transform: translateX(-50%);
  border-radius: 1.2cqw 1.2cqw 2.4cqw 2.4cqw;
  background: linear-gradient(#383f4c, #12151c);
  box-shadow: 0 2.4cqw 3cqw -1.4cqw rgba(18, 26, 90, 0.4);
}

.tele-pantalla {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.3cqw;
  background: #11141b;
  box-shadow: 0 0 0 0.3cqw #000;
  container-type: inline-size;
}

/* El vidrio: un reflejo fijo en diagonal, que no se mueve */
.tele-pantalla::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 26%, transparent 27%);
}

.tele-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vitrina-sola .tele {
  margin-inline: auto;
}

/* ── La portada con escenario (inicio y /comercios): el título centrado arriba y, abajo, a todo el ancho, el
   escenario 3D: "un cambio que viaja por todas tus pantallas". ── */

.portada-escena {
  padding-block: clamp(28px, 4vw, 52px) clamp(56px, 7vw, 96px);
}

.portada-escena::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 10%, transparent 75%);
}

.portada-escena::after {
  right: auto;
  left: 15%;
  top: -12%;
  width: 70%;
  height: 60%;
}

.portada-centro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portada-centro .etiqueta {
  margin-bottom: 18px;
}

.portada-escena h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  text-wrap: balance;
}

@media (min-width: 1100px) {
  .portada-escena h1 {
    max-width: none;
  }
}

/* La línea que cambia: "Cambiá [la promo] desde el celu." Las palabras están apiladas en la misma celda de una
   grilla (así el renglón mide siempre lo mismo y no salta); se ve una por vez. */
.rotador {
  margin-top: 16px;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.rot-pila {
  display: inline-grid;
  justify-items: center;
  overflow: hidden;
  margin-inline: 0.1em;
  padding: 0 0.4em;
  border-radius: 0.35em;
  background: var(--acento-suave);
  box-shadow: inset 0 0 0 1px var(--acento-medio);
  color: var(--acento);
  vertical-align: bottom;
}

.rot-pila span {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
}

.rot-pila span:first-child {
  opacity: 1;
}

.portada-centro .bajada {
  max-width: 36em;
  margin-top: 14px;
}

.portada-centro .botones {
  margin-top: 26px;
}

.portada-centro .letra-chica {
  margin-top: 12px;
}

/* El escenario: una tarjeta oscura, muy redondeada, con el piso de grilla y el brillo azul. Todo se mide en cqw
   del escenario (100cqw = su ancho), así la escena se achica entera. */
.escenario {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1360px);
  margin: clamp(28px, 3.5vw, 44px) auto 0;
}

.esc {
  position: relative;
  overflow: hidden;
  aspect-ratio: 34 / 13;
  border-radius: clamp(22px, 2.6vw, 36px);
  background:
    radial-gradient(48% 46% at 50% 64%, rgba(51, 70, 255, 0.28), transparent 72%),
    radial-gradient(60% 40% at 50% 0%, rgba(120, 140, 255, 0.12), transparent 70%),
    linear-gradient(#10172e 0%, #0b1020 55%, #070a16 100%);
  box-shadow: 0 0 0 1px #0b1020, 0 44px 80px -44px rgba(18, 26, 90, 0.6);
  container-type: inline-size;
  isolation: isolate;
  --piso: 7cqw;
}

/* Arriba, una línea de luz finita; alrededor, una viñeta que oscurece los bordes (quietas, encima de todo) */
.esc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(120% 95% at 50% 45%, transparent 58%, rgba(4, 6, 14, 0.55) 100%);
  box-shadow: inset 0 1px 0 rgba(170, 185, 255, 0.22);
}

.esc-vista {
  position: absolute;
  inset: 0;
  perspective: 150cqw;
  perspective-origin: 50% 36%;
}

/* La cámara: todo lo que está adentro vive en 3D de verdad; la cámara flota despacio (ver las animaciones) */
.esc-camara {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 70%;
  transform: rotateX(4deg) rotateY(-2deg);
}

/* El piso: un plano acostado (rotateX 90°), con una grilla fina que se pierde en la oscuridad. No más grande que esto:
   con la cámara moviéndose, el área del piso es lo que más cuesta dibujar (medido con la CPU 4 veces más lenta). */
.esc-piso {
  position: absolute;
  left: -10cqw;
  bottom: var(--piso);
  width: 120cqw;
  height: 80cqw;
  transform-origin: 50% 100%;
  transform: translateZ(32cqw) rotateX(90deg);
  background:
    radial-gradient(52% 58% at 50% 62%, transparent 30%, #0b1020 100%),
    linear-gradient(rgba(130, 150, 255, 0.2) 0.12cqw, transparent 0.12cqw),
    linear-gradient(90deg, rgba(130, 150, 255, 0.2) 0.12cqw, transparent 0.12cqw);
  background-size: 100% 100%, 5cqw 5cqw, 5cqw 5cqw;
  background-position: 0 0, 0 0, 0 0;
  --ox: 71cqw;
  --oy: 70cqw;
}

/* La onda que sale del celu por el piso. Crece a velocidad pareja: llega a cada pantalla según su distancia */
.esc-onda {
  position: absolute;
  left: calc(var(--ox) - 65cqw);
  top: calc(var(--oy) - 65cqw);
  width: 130cqw;
  height: 130cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 84%, rgba(51, 70, 255, 0.3) 93%, rgba(185, 197, 255, 0.95) 97.6%, transparent 100%);
  opacity: 0;
  transform: scale(0.02);
}

/* Cada pantalla: posición (--x, --b desde abajo), ancho (--w), profundidad (--z), giro (--ry) y cuándo le llega la
   onda (--d). Vertical 9:16 o apaisada 16:9. */
.pt {
  position: absolute;
  left: var(--x);
  bottom: var(--b);
  width: var(--w);
  aspect-ratio: 9 / 16;
  transform-style: preserve-3d;
  transform: translate3d(-50%, 0, var(--z)) rotateY(var(--ry));
}

.pt-ap {
  aspect-ratio: 16 / 9;
}

.pt-giro {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* Cada cara es una pantalla entera (marco + vidrio). La de arriba (dorso) es el cartel nuevo: se funde sobre el de antes */
.pt-cara {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0.42cqw solid #05070c;
  border-radius: 0.8cqw;
  background: #11141b;
  box-shadow: 0 0 0 0.1cqw rgba(150, 165, 255, 0.4), 0 2.5cqw 5cqw -1.5cqw rgba(0, 0, 0, 0.7);
  container-type: size;
}

.pt-dorso {
  opacity: 0;
}

/* El vidrio: un reflejo fijo en diagonal */
.pt-cara::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 30%, transparent 31%);
}

/* En el piso, abajo de cada pantalla: su sombra y la luz que se enciende cuando le llega la onda */
.pt-sombra,
.pt-luz {
  position: absolute;
  left: -20%;
  width: 140%;
  aspect-ratio: 5 / 2;
  top: calc(100% + var(--b) - var(--piso) - 0.2cqw);
  transform: translateY(-50%) rotateX(90deg);
}

.pt-sombra {
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
}

.pt-luz {
  background: radial-gradient(closest-side, rgba(150, 165, 255, 0.95), rgba(51, 70, 255, 0.45) 45%, transparent);
  opacity: 0;
}

.pt-1 { --x: 11cqw; --b: 20cqw; --w: 21cqw; --z: -18cqw; --ry: 32deg; --d: 2.28s; }
.pt-2 { --x: 31cqw; --b: 12cqw; --w: 11cqw; --z: -2cqw; --ry: 14deg; --d: 1.49s; }
.pt-3 { --x: 50cqw; --b: 19cqw; --w: 27cqw; --z: -24cqw; --ry: 0deg; --d: 1.81s; }
.pt-4 { --x: 69cqw; --b: 12cqw; --w: 11cqw; --z: -2cqw; --ry: -14deg; --d: 1.09s; }
.pt-5 { --x: 89cqw; --b: 20cqw; --w: 21cqw; --z: -18cqw; --ry: -32deg; --d: 1.78s; }
.pt-6 { --x: 22cqw; --b: 5cqw; --w: 8.5cqw; --z: 14cqw; --ry: 20deg; --d: 1.47s; }
.pt-7 { --x: 78cqw; --b: 5cqw; --w: 8.5cqw; --z: 14cqw; --ry: -20deg; --d: 0.83s; }

/* El celu, en primer plano: "Publicar". Alto y finito, con isla de cámara */
.esc-celu {
  position: absolute;
  left: 61cqw;
  bottom: 5cqw;
  width: 6.2cqw;
  padding: 0.32cqw;
  border-radius: 1.35cqw;
  background: linear-gradient(150deg, #454c5a 0%, #171a22 40%, #0b0d12 100%);
  box-shadow: 0 0 0 0.1cqw #5d6578, 0 3cqw 5cqw -2cqw rgba(0, 0, 0, 0.8);
  transform: translate3d(-50%, 0, 22cqw) rotateY(-14deg) rotateX(6deg);
}

/* La línea de luz que sale del celu cuando se toca Publicar */
.ec-haz {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0.5cqw;
  height: 24cqw;
  margin-left: -0.25cqw;
  border-radius: 0.25cqw;
  background: linear-gradient(to top, rgba(200, 210, 255, 0.95), rgba(51, 70, 255, 0.5) 50%, transparent);
  transform-origin: 50% 100%;
  transform: scaleY(0);
  opacity: 0;
}

.ec-pantalla {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  padding: 30% 8% 9%;
  border-radius: 1.05cqw;
  background: #ffffff;
  color: #0b1020;
  line-height: 1.15;
  container-type: inline-size;
}

.ec-pantalla::before {
  content: "";
  position: absolute;
  top: 4cqw;
  left: 50%;
  width: 26cqw;
  height: 7.5cqw;
  transform: translateX(-50%);
  border-radius: 4cqw;
  background: #0b0d12;
}

.ec-rotulo {
  font-size: 7cqw;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3346ff;
}

.ec-titulo {
  margin: 2cqw 0 6cqw;
  font-size: 13cqw;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ec-lista li {
  display: flex;
  align-items: center;
  gap: 5cqw;
  padding-block: 3.4cqw;
  border-bottom: 0.4cqw solid rgba(11, 16, 32, 0.08);
  font-size: 9.5cqw;
  font-weight: 550;
  white-space: nowrap;
}

.ec-lista i {
  flex: none;
  width: 10cqw;
  height: 16cqw;
  border-radius: 2cqw;
}

.ec-boton {
  display: grid;
  place-items: center;
  margin-top: auto;
  height: 22cqw;
  border-radius: 7cqw;
  background: #3346ff;
  color: #ffffff;
  font-size: 11cqw;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 3cqw 6cqw -3cqw rgba(51, 70, 255, 0.9);
}

/* El dedo que toca: un círculo que aparece sobre el botón */
.ec-dedo {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 26cqw;
  height: 26cqw;
  margin: 0 0 -2cqw -13cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 0.8cqw rgba(255, 255, 255, 0.8);
  opacity: 0;
}

/* El aviso de arriba: "Todas al día". Sin movimiento queda a la vista */
.ec-aviso {
  position: absolute;
  top: 11%;
  left: 7%;
  right: 7%;
  display: flex;
  align-items: center;
  gap: 4cqw;
  padding: 8cqw 6cqw;
  border-radius: 6cqw;
  background: #0b1020;
  color: #ffffff;
  font-size: 9cqw;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3cqw 8cqw -3cqw rgba(11, 16, 32, 0.6);
}

.ec-aviso i {
  flex: none;
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: #2fd27f;
}

.escenario-nota {
  margin-top: 16px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--apagado);
}

.escenario-nota b {
  color: var(--tinta);
  font-weight: 600;
}

/* Tablet: el mismo escenario, un poco más alto */
@media (max-width: 1023px) {
  .esc {
    aspect-ratio: 2 / 1;
  }
}

/* Celu: tres pantallas (helado, pizzería y hamburguesería), escenario más alto que ancho */
@media (max-width: 640px) {
  .escenario {
    width: calc(100% - 24px);
  }

  .esc {
    aspect-ratio: 3 / 4;
    --piso: 12cqw;
  }

  .esc-vista {
    perspective: 170cqw;
    perspective-origin: 50% 34%;
  }

  .esc-piso {
    --ox: 66cqw;
    --oy: 66cqw;
  }

  .pt:not(.pt-celu) {
    display: none;
  }

  .pt-2 { --x: 24cqw; --b: 22cqw; --w: 31cqw; --z: 0cqw; --ry: 16deg; --d: 1.4s; }
  .pt-3 { --x: 50cqw; --b: 80cqw; --w: 76cqw; --z: -30cqw; --d: 1.93s; }
  .pt-4 { --x: 76cqw; --b: 22cqw; --w: 31cqw; --z: 0cqw; --ry: -16deg; --d: 1.07s; }

  .esc-celu {
    left: 56cqw;
    bottom: 13cqw;
    width: 17cqw;
    padding: 0.8cqw;
    border-radius: 3.2cqw;
    transform: translate3d(-50%, 0, 18cqw) rotateY(-12deg) rotateX(6deg);
  }

  .ec-pantalla {
    border-radius: 2.5cqw;
  }

  .ec-haz {
    width: 1.2cqw;
    height: 40cqw;
    margin-left: -0.6cqw;
  }
}

/* El ciclo dura 12 s. A 1 s se toca Publicar y a 1,2 s sale la onda (crece 2,4 s); cada pantalla cambia su cartel
   con un fundido cuando le llega (--d), en 0,5 s. A los 7 s se vuelve a publicar y el cambio vuelve (fundido de B a A), así el
   loop no tiene corte. La cámara flota aparte, en 28 s de ida y vuelta. */
@media (prefers-reduced-motion: no-preference) {
  .esc-camara {
    animation: 28s ease-in-out infinite alternate both esc-camara;
    will-change: transform;
  }

  .pt-dorso {
    animation: 12s linear infinite both esc-cambio;
    animation-delay: var(--d);
  }

  .pt-luz {
    animation: 12s linear infinite both esc-luz;
    animation-delay: var(--d);
  }

  .esc-onda {
    animation: 12s linear infinite both esc-onda;
  }

  .ec-haz {
    animation: 12s ease-out infinite both esc-haz;
  }

  .ec-boton {
    animation: 12s ease-in-out infinite both esc-toque;
  }

  .ec-dedo {
    animation: 12s ease-out infinite both esc-dedo;
  }

  .ec-aviso {
    animation: 12s ease-out infinite both esc-aviso;
  }

  .rot-pila span {
    animation: 12s ease-out infinite both esc-palabra;
  }

  /* Delays negativos: cada palabra entra justo cuando se va la anterior (a los 3, 6 y 9 s) */
  .rot-pila span:nth-child(2) {
    animation-delay: -9s;
  }

  .rot-pila span:nth-child(3) {
    animation-delay: -6s;
  }

  .rot-pila span:nth-child(4) {
    animation-delay: -3s;
  }
}

@keyframes esc-camara {
  0% {
    transform: rotateX(2deg) rotateY(-6deg);
  }
  100% {
    transform: rotateX(6.5deg) rotateY(5deg);
  }
}

@keyframes esc-cambio {
  0%,
  10% {
    opacity: 0;
    animation-timing-function: ease-in-out;
  }
  14%,
  60% {
    opacity: 1;
    animation-timing-function: ease-in-out;
  }
  64%,
  100% {
    opacity: 0;
  }
}

@keyframes esc-luz {
  0%,
  9.9% {
    opacity: 0;
  }
  11% {
    opacity: 1;
  }
  22%,
  59.9% {
    opacity: 0;
  }
  61% {
    opacity: 1;
  }
  72%,
  100% {
    opacity: 0;
  }
}

@keyframes esc-onda {
  0%,
  9.99% {
    opacity: 0;
    transform: scale(0.02);
  }
  10% {
    opacity: 1;
    transform: scale(0.02);
  }
  22% {
    opacity: 0.8;
    transform: scale(0.608);
  }
  30% {
    opacity: 0;
    transform: scale(1);
  }
  30.01%,
  59.99% {
    opacity: 0;
    transform: scale(0.02);
  }
  60% {
    opacity: 1;
    transform: scale(0.02);
  }
  72% {
    opacity: 0.8;
    transform: scale(0.608);
  }
  80% {
    opacity: 0;
    transform: scale(1);
  }
  80.01%,
  100% {
    opacity: 0;
    transform: scale(0.02);
  }
}

@keyframes esc-haz {
  0%,
  9% {
    opacity: 0;
    transform: scaleY(0);
  }
  10% {
    opacity: 1;
    transform: scaleY(0.25);
  }
  13% {
    opacity: 0.9;
    transform: scaleY(1);
  }
  17%,
  59% {
    opacity: 0;
    transform: scaleY(1);
  }
  59.01% {
    opacity: 0;
    transform: scaleY(0);
  }
  60% {
    opacity: 1;
    transform: scaleY(0.25);
  }
  63% {
    opacity: 0.9;
    transform: scaleY(1);
  }
  67%,
  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes esc-toque {
  0%,
  7.2%,
  10%,
  57.2%,
  60%,
  100% {
    transform: scale(1);
  }
  8.4%,
  58.4% {
    transform: scale(0.9);
  }
}

@keyframes esc-dedo {
  0%,
  6% {
    opacity: 0;
    transform: scale(1.6);
  }
  8.4% {
    opacity: 0.9;
    transform: scale(1);
  }
  11.5%,
  56% {
    opacity: 0;
    transform: scale(1.35);
  }
  56.01% {
    opacity: 0;
    transform: scale(1.6);
  }
  58.4% {
    opacity: 0.9;
    transform: scale(1);
  }
  61.5%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes esc-aviso {
  0%,
  35% {
    opacity: 0;
    transform: translateY(-40%);
  }
  38%,
  52% {
    opacity: 1;
    transform: translateY(0);
  }
  55%,
  85% {
    opacity: 0;
    transform: translateY(-40%);
  }
  88%,
  97% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-40%);
  }
}

@keyframes esc-palabra {
  0%,
  22% {
    opacity: 1;
    transform: translateY(0);
  }
  25% {
    opacity: 0;
    transform: translateY(-70%);
  }
  25.01%,
  97% {
    opacity: 0;
    transform: translateY(70%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* El puntito que late (eventos, trivia y panel) */
@keyframes pulso {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ── Los carteles de ejemplo (hechos con texto y SVG): cada rubro con su propio look. Viven adentro de una pantalla
   (.tele-pantalla) y miden todo en cqw de esa pantalla. Las clases cr-<rubro> solo ponen los colores: el panel las
   reusa para sus miniaturas. ── */

.cr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
  padding: 11cqw 9cqw 12cqw;
  overflow: hidden;
  line-height: 1.05;
}

.cr-sobre {
  font-size: 4.3cqw;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cr-grande {
  font-size: 44cqw;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.cr-titulo {
  font-size: 11cqw;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cr-texto {
  font-size: 6cqw;
  font-weight: 500;
}

.cr-pie {
  margin-top: auto;
  font-size: 4.8cqw;
  font-weight: 550;
}

.cr-dibujo {
  align-self: center;
  width: 50cqw;
  height: auto;
}

/* Heladería: rosa pastel y fucsia */
.cr-helado,
.cl-helado {
  background: linear-gradient(170deg, #ffe6ee 0%, #ffc4d5 100%);
  color: #5c1430;
}

.cr-helado .cr-sobre,
.cr-helado .cr-grande {
  color: #d92c64;
}

.cr-helado .cr-dibujo {
  width: 44cqw;
  margin-block: 2cqw 1cqw;
}

/* Gimnasio: negro y verde lima */
.cr-gym,
.cl-gym {
  background: #0c0e12;
  color: #f3f5f7;
}

.cr.cr-gym::before {
  content: "";
  position: absolute;
  right: -34cqw;
  top: -14cqw;
  width: 54cqw;
  height: 80cqw;
  transform: rotate(24deg);
  background: linear-gradient(#c8ff2e, #9fe000);
  opacity: 0.95;
}

.cr-gym .cr-sobre {
  position: relative;
  max-width: 60cqw;
  color: #c8ff2e;
}

.cr-gym .cr-titulo {
  position: relative;
  max-width: 62cqw;
  margin-top: 4cqw;
  font-size: 14cqw;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.cr-gym .cr-pie {
  color: rgba(243, 245, 247, 0.7);
}

.cr-grilla {
  position: relative;
  display: grid;
  margin-top: auto;
}

.cr-grilla li {
  display: flex;
  align-items: baseline;
  gap: 5cqw;
  padding-block: 4.4cqw;
  border-bottom: 0.4cqw solid rgba(255, 255, 255, 0.12);
  font-size: 8cqw;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cr-grilla b {
  color: #c8ff2e;
  font-size: 7cqw;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Pizzería: rojo tomate y amarillo */
.cr-pizza,
.cl-pizza {
  background: radial-gradient(120% 70% at 50% 30%, #d6362b 0%, #a91d16 70%);
  color: #fff6e6;
}

.cr-pizza .cr-sobre {
  color: #ffd166;
}

.cr-pizza .cr-dibujo {
  width: 62cqw;
  margin-block: 4cqw 3cqw;
}

.cr-precio {
  font-size: 17cqw;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffd166;
}

/* Peluquería y estética: verde salvia, letras finas */
.cr-estetica,
.cl-estetica {
  background: linear-gradient(180deg, #eef4f2 0%, #dbe8e4 100%);
  color: #17403b;
}

.cr.cr-estetica::before {
  content: "";
  position: absolute;
  right: -30cqw;
  top: -26cqw;
  width: 90cqw;
  height: 90cqw;
  border: 0.5cqw solid rgba(23, 64, 59, 0.16);
  border-radius: 50%;
}

.cr-estetica .cr-titulo {
  margin-top: auto;
  font-size: 15cqw;
  font-weight: 300;
  letter-spacing: -0.045em;
}

.cr-lista {
  display: grid;
  margin-top: 4cqw;
  border-top: 0.4cqw solid rgba(23, 64, 59, 0.25);
}

.cr-lista li {
  display: flex;
  gap: 5cqw;
  padding-block: 4cqw;
  border-bottom: 0.4cqw solid rgba(23, 64, 59, 0.14);
  font-size: 6.6cqw;
  font-weight: 450;
}

.cr-lista b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.cr-estetica .cr-pie {
  margin-top: 6cqw;
}

/* Hamburguesería: mostaza y marrón */
.cr-burger,
.cl-burger {
  background: #ffc21a;
  color: #2b1607;
}

.cr-burger .cr-titulo {
  margin-top: 2cqw;
  font-size: 17cqw;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.cr-burger .cr-dibujo {
  width: 74cqw;
  margin-top: 6cqw;
}

.cr-sello {
  position: absolute;
  right: 8cqw;
  bottom: 11cqw;
  display: grid;
  place-items: center;
  width: 30cqw;
  height: 30cqw;
  border-radius: 50%;
  background: #2b1607;
  color: #ffc21a;
  font-size: 8cqw;
  font-weight: 800;
  letter-spacing: -0.03em;
  transform: rotate(-10deg);
}

.cr-burger .cr-texto {
  margin-top: auto;
  max-width: 44cqw;
}

/* Panadería: marrón tostado y crema */
.cr-pan,
.cl-pan {
  background: linear-gradient(170deg, #4a2c1a 0%, #2e1a0f 100%);
  color: #fbeedd;
}

.cr-pan .cr-sobre {
  color: #f2b66d;
}

.cr-pan .cr-grande {
  margin-top: auto;
  font-size: 58cqw;
  color: #f2b66d;
}

.cr-pan .cr-titulo {
  font-weight: 600;
}

.cr-pan .cr-abajo {
  margin-top: auto;
  font-size: 13cqw;
}

.cr-pan .cr-precio {
  color: #f2b66d;
}

.cr-pan .cr-pie {
  margin-top: 6cqw;
  color: rgba(251, 238, 221, 0.75);
}

/* ── Los carteles del escenario de la portada: la cara de atrás de cada pantalla (-b, el cartel "nuevo") y los
   carteles apaisados (cr-ap: miden en cqh, el alto de su pantalla, y van en fila). ── */

.cr-helado-b {
  background: linear-gradient(170deg, #eaf7e3 0%, #c7e8b4 100%);
  color: #23461a;
}

.cr-helado.cr-helado-b .cr-sobre {
  color: #3f7d26;
}

.cr-helado-b .cr-titulo {
  font-size: 19cqw;
  letter-spacing: -0.05em;
}

.cr-helado-b .cr-dibujo {
  width: 50cqw;
  margin-block: auto 2cqw;
}

.cr-burger-b {
  background: #2b1607;
  color: #fff1d6;
}

.cr-burger-b .cr-sobre {
  color: #ffc21a;
}

.cr-burger-b .cr-sello {
  background: #ffc21a;
  color: #2b1607;
}

.cr-gym-b {
  background: #c8ff2e;
  color: #0c0e12;
}

.cr.cr-gym-b::before {
  background: linear-gradient(#a8e600, #8fcc00);
  opacity: 1;
}

.cr-gym.cr-gym-b .cr-sobre {
  color: #0c0e12;
}

.cr-gym-b .cr-grande {
  margin-top: auto;
  font-size: 30cqw;
}

.cr-gym.cr-gym-b .cr-pie {
  color: #0c0e12;
  font-weight: 700;
}

.cr-pan-b {
  background: linear-gradient(170deg, #fbeedd 0%, #f0d9b8 100%);
  color: #3a2213;
}

.cr-pan.cr-pan-b .cr-sobre {
  color: #a3561d;
}

.cr-pan-b .cr-titulo {
  margin-top: auto;
  font-size: 17cqw;
  line-height: 0.95;
}

.cr-pan.cr-pan-b .cr-precio {
  color: #a3561d;
}

.cr-pan.cr-pan-b .cr-pie {
  color: #6b4a33;
}

/* Apaisados: en fila, medidos en cqh */
.cr-ap {
  flex-direction: row;
  align-items: center;
  gap: 6cqh;
  padding: 10cqh 9cqh;
}

.cr-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3cqh;
  min-width: 0;
}

.cr-ap .cr-sobre {
  font-size: 5.6cqh;
}

.cr-ap .cr-titulo {
  font-size: 13cqh;
  line-height: 1;
}

.cr-ap .cr-texto {
  font-size: 6.6cqh;
}

.cr-ap .cr-precio {
  font-size: 19cqh;
}

.cr-ap .cr-pie {
  margin-top: 2cqh;
  font-size: 5.6cqh;
}

.cr-ap .cr-dibujo {
  flex: none;
  width: 70cqh;
  margin: 0;
}

.cr-pizza-b {
  background: radial-gradient(120% 90% at 30% 40%, #2a2a2a 0%, #121212 75%);
  color: #fff6e6;
}

.cr-estetica.cr-ap .cr-titulo {
  margin-top: 4cqh;
  font-size: 17cqh;
}

.cr-estetica.cr-ap .cr-pie {
  margin-top: 6cqh;
}

.cr-ap .cr-lista {
  flex: 1;
  margin-top: 0;
}

.cr-ap .cr-lista li {
  gap: 4cqh;
  padding-block: 4.4cqh;
  font-size: 7cqh;
}

.cr-estetica-b {
  background: linear-gradient(180deg, #23453f 0%, #17322d 100%);
  color: #e6f1ee;
}

.cr-estetica-b .cr-lista,
.cr-estetica-b .cr-lista li {
  border-color: rgba(230, 241, 238, 0.2);
}

.cr.cr-estetica-b::before {
  border-color: rgba(230, 241, 238, 0.14);
}

/* Café: crema y café con leche; de noche, al revés */
.cr-cafe {
  background: linear-gradient(160deg, #f6eee3 0%, #ead9c3 100%);
  color: #3a2416;
}

.cr-cafe .cr-sobre,
.cr-cafe .cr-precio {
  color: #b0532a;
}

.cr-cafe .cr-texto {
  color: #6b4a33;
}

.cr-cafe .cr-precio {
  flex: none;
  align-self: flex-end;
}

.cr-cafe-b {
  background: linear-gradient(160deg, #3a2416 0%, #24150c 100%);
  color: #f6eee3;
}

.cr-cafe.cr-cafe-b .cr-sobre,
.cr-cafe.cr-cafe-b .cr-precio {
  color: #f2b66d;
}

.cr-cafe.cr-cafe-b .cr-texto {
  color: #d8c3a8;
}

/* ── La tele apaisada (eventos) y los tríos de teles (agencias): carteles de ejemplo hechos con texto ── */

.tv {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
}

.tv-marco {
  aspect-ratio: 16 / 9;
  padding: clamp(5px, 1.1vw, 9px);
  border-radius: 18px;
  background: linear-gradient(145deg, #313744 0%, #11141b 40%, #0a0c11 100%);
  box-shadow: 0 0 0 1px #3d4452, var(--sombra-3);
}

.tv-pantalla {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 11px;
  background: #0f1430;
  container-type: inline-size;
}

.tv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carteles {
  position: absolute;
  inset: 0;
}

/* Un evento de ejemplo: azul noche con un coral de acento */
.cartel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2cqw;
  padding: 6cqw 8cqw 7cqw;
  color: #ffffff;
  background: radial-gradient(90% 120% at 85% 0%, #2a2f72 0%, transparent 60%), linear-gradient(160deg, #141a3d, #0b0f26);
  opacity: 0;
}

.cartel:first-child {
  opacity: 1;
}

.ev-sobre {
  display: flex;
  align-items: center;
  gap: 2cqw;
  font-size: 2.4cqw;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff7a59;
}

.ev-sobre::before {
  content: "";
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 0.3cqw;
  background: #ff7a59;
}

.ev-titulo {
  font-size: 7.6cqw;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.ev-texto {
  font-size: 3cqw;
  color: rgba(255, 255, 255, 0.72);
}

.ev-programa ul {
  display: grid;
  margin-top: 1.4cqw;
}

.ev-programa li {
  display: grid;
  grid-template-columns: 12cqw 1fr auto;
  align-items: baseline;
  gap: 2.6cqw;
  padding-block: 2.3cqw;
  border-bottom: 0.2cqw solid rgba(255, 255, 255, 0.12);
  font-size: 4.2cqw;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.ev-programa li:last-child {
  border-bottom: 0;
}

.ev-programa b {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ev-programa em {
  font-size: 2.3cqw;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ev-programa .ev-ahora b,
.ev-programa .ev-ahora em {
  color: #ff7a59;
}

.ev-programa .ev-ahora em {
  padding: 0.5cqw 1.4cqw;
  border: 0.2cqw solid #ff7a59;
  border-radius: 99px;
}

.ev-pregunta {
  font-size: 5cqw;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ev-opciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6cqw;
  margin-top: 1cqw;
}

.ev-op {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  padding: 1.6cqw 2.2cqw;
  border-radius: 1.4cqw;
  background: rgba(255, 255, 255, 0.08);
  font-size: 3.2cqw;
  font-weight: 600;
}

.ev-op i {
  flex: none;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 0.5cqw;
}

.ev-op-ok {
  background: #ffffff;
  color: #0b0f26;
}

.tv-barra {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.7cqw;
  background: #ff7a59;
  transform: scaleX(0);
  transform-origin: left;
}

/* El tótem del evento: coral, con el aviso de último momento */
.ev-totem {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5cqw;
  padding: 11cqw 10cqw 14cqw;
  background: linear-gradient(170deg, #ff8a64 0%, #f2553a 100%);
  color: #ffffff;
}

.ev-sala {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 2cqw 6cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 6cqw;
  font-weight: 650;
}

.ev-urgente {
  display: flex;
  align-items: center;
  gap: 3cqw;
  font-size: 5.4cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ev-urgente i {
  width: 4cqw;
  height: 4cqw;
  border-radius: 50%;
  background: #ffffff;
}

.ev-totem .ev-titulo {
  font-size: 15.5cqw;
}

.ev-totem .ev-texto {
  font-size: 7.6cqw;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

@media (prefers-reduced-motion: no-preference) {
  .cartel {
    animation: cartel 12s linear infinite both;
  }

  .cartel:nth-child(2) {
    animation-delay: 4s;
  }

  .cartel:nth-child(3) {
    animation-delay: 8s;
  }

  .cartel:first-child {
    animation-name: cartel-primero;
  }

  .tv-barra {
    animation: barra 4s linear infinite;
  }

  .ev-urgente i,
  .trio-estado i {
    animation: 1.6s ease-in-out infinite pulso;
  }
}

/* Igual que la vitrina: cada cartel entra arriba del anterior; el primero está abajo de todo y lo destapa el último */
@keyframes cartel {
  0% {
    opacity: 0;
  }
  4%,
  37.3% {
    opacity: 1;
  }
  37.4%,
  100% {
    opacity: 0;
  }
}

@keyframes cartel-primero {
  0%,
  37.3% {
    opacity: 1;
  }
  37.4%,
  100% {
    opacity: 0;
  }
}

@keyframes barra {
  to {
    transform: scaleX(1);
  }
}

/* Eventos: la tele apaisada con el programa y, adelante, un tótem vertical con el aviso */
.duo {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding-bottom: 12%;
  container-type: inline-size;
}

.duo .tv {
  width: 86%;
  margin: 0;
}

/* El tótem tapa el costado derecho de la tele: los carteles dejan ese lugar libre */
.duo .cartel {
  padding-right: 24cqw;
}

.duo .tele {
  position: absolute;
  right: 0;
  bottom: 2cqw;
  width: 29cqw;
  margin: 0;
  padding: 0.9cqw;
  border-radius: 3cqw;
}

.duo .tele-pantalla,
.trio .tele-pantalla {
  border-radius: 2cqw;
}

/* Agencias: tres teles, tres clientes */
.trio {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3cqw;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  container-type: inline-size;
}

.trio-item {
  flex: 1;
  min-width: 0;
}

.trio-item:nth-child(2) {
  margin-top: 7cqw;
}

.trio-item:nth-child(3) {
  margin-top: 3cqw;
}

.trio-cliente {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  margin-bottom: 2.4cqw;
  padding: 1cqw 2.4cqw 1cqw 1.2cqw;
  width: fit-content;
  border: 1px solid var(--linea-fuerte);
  border-radius: 99px;
  background: var(--superficie);
  box-shadow: var(--sombra-1);
  font-size: max(0.75rem, 2.4cqw);
  font-weight: 600;
  white-space: nowrap;
}

.trio-cliente i {
  width: 2.6cqw;
  height: 2.6cqw;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
}

.trio .tele {
  width: auto;
  margin: 0 0 6cqw;
  padding: 0.9cqw;
  border-radius: 2.6cqw;
}

.trio .tele::before {
  bottom: -2.2cqw;
  width: 5cqw;
}

.trio .tele::after {
  bottom: -4.4cqw;
  width: 14cqw;
  height: 2.4cqw;
}

.trio-estado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.875rem;
  color: var(--apagado);
}

.trio-estado i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fa463;
}

/* ───────── El caso real y las galerías de carteles ───────── */

.galeria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}

.galeria li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 8px);
}

.galeria img,
.galeria video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  object-fit: cover;
  background: #11141b;
  box-shadow: 0 0 0 1px var(--linea), var(--sombra-2);
}

.galeria figcaption {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--apagado);
}

.galeria figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--tinta);
  font-size: 1.0625rem;
  font-weight: 600;
}

@media (min-width: 860px) {
  .galeria {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .galeria-cuatro {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .galeria li:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

.datos {
  display: grid;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
}

.datos li {
  padding: 20px 22px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--superficie);
  color: var(--apagado);
  font-size: 0.9375rem;
}

.datos b {
  display: block;
  margin-bottom: 4px;
  color: var(--tinta);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (min-width: 760px) {
  .datos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ───────── Rubros ───────── */

.rubros {
  padding-block: 0 clamp(56px, 8vw, 96px);
}

.rubros-titulo {
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apagado);
}

.rubros-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.rubros-lista li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--linea);
  border-radius: 10px;
  background: var(--superficie);
  box-shadow: var(--sombra-1);
  font-size: 0.9375rem;
  font-weight: 500;
}

.rubros-lista .ic {
  width: 1.0625rem;
  height: 1.0625rem;
  color: var(--acento);
}

/* ───────── Tarjetas de funciones ───────── */

.tarjetas,
.ideas {
  display: grid;
  gap: 14px;
}

.tarjeta,
.idea {
  padding: 26px 24px 28px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--superficie);
  box-shadow: var(--sombra-1);
}

.tarjeta h3 {
  margin-top: 18px;
}

.tarjeta p,
.idea p {
  margin-top: 8px;
  color: var(--apagado);
  font-size: 0.96875rem;
}

.icono-chip {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--acento-suave);
  box-shadow: inset 0 0 0 1px var(--acento-medio);
  color: var(--acento);
}

.icono-chip .ic {
  width: 1.25rem;
  height: 1.25rem;
}

.idea {
  border-left: 3px solid var(--acento);
}

@media (min-width: 640px) {
  .tarjetas,
  .ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 980px) {
  .tarjetas,
  .ideas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tarjetas-cuatro {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ───────── Para quién (las tres puertas del inicio) ───────── */

.puertas {
  display: grid;
  gap: 14px;
  counter-reset: puerta;
}

.puerta {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px 26px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--superficie);
  box-shadow: var(--sombra-1);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.puerta::before {
  counter-increment: puerta;
  content: "0" counter(puerta);
  position: absolute;
  top: 28px;
  right: 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--apagado);
  font-variant-numeric: tabular-nums;
}

.puerta h3 {
  margin-top: 20px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.puerta p {
  flex: 1;
  margin-top: 10px;
  color: var(--apagado);
}

.puerta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--acento);
  font-weight: 600;
}

.puerta-link .ic {
  transition: transform 0.15s ease;
}

.puerta:hover {
  border-color: var(--acento-medio);
  box-shadow: var(--sombra-2);
  transform: translateY(-2px);
}

.puerta:hover .puerta-link .ic {
  transform: translateX(4px);
}

@media (min-width: 860px) {
  .puertas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ───────── Pasos ───────── */

.pasos {
  display: grid;
  gap: 14px;
  counter-reset: paso;
}

.paso {
  position: relative;
  padding: 24px 24px 28px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--superficie);
  box-shadow: var(--sombra-1);
}

.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding-inline: 8px;
  border-radius: 8px;
  background: var(--tinta);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.paso-numero::before {
  content: "0";
}

.paso h3 {
  margin-top: 18px;
}

.paso p {
  margin-top: 8px;
  color: var(--apagado);
}

@media (min-width: 860px) {
  .pasos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  /* Una línea fina que une los pasos */
  .paso:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 37px;
    right: -17px;
    width: 18px;
    height: 1px;
    background: var(--linea-fuerte);
  }
}

/* ───────── Trivia: el texto ───────── */

.trivia-fila {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.lista-iconos {
  display: grid;
  gap: 4px;
}

.lista-iconos li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--linea);
}

.lista-iconos li:first-child {
  border-top: 0;
}

.lista-iconos p {
  color: var(--apagado);
  font-size: 1rem;
  padding-top: 7px;
}

.lista-iconos strong {
  color: var(--tinta);
  font-weight: 600;
}

.lista-iconos .icono-chip {
  flex: none;
  width: 36px;
  height: 36px;
}

/* En el celu, la escena va enseguida del título (antes de la lista), para que se vea sin bajar tanto */
@media (max-width: 959px) {
  .trivia-texto {
    display: contents;
  }

  .trivia-fila .encabezado {
    margin-bottom: 0;
  }

  .trivia-fila .lista-iconos {
    order: 3;
  }
}

@media (min-width: 960px) {
  .trivia-fila {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.escena-nota {
  margin-top: 18px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--apagado);
}

/* ── La trivia en pantalla: la escena de una partida en vivo, copiada del estilo "Show" de la app. Una tele
   vertical, el ranking y el celu de un jugador. Medidas en cqw: .trv mide la escena y .trv-pantalla y
   .trv-celu-pantalla son contenedores propios (sus cqw son de esa pantalla).
   Ciclo de 12 s: pregunta y reloj hasta el 54 % (6,5 s), revelación hasta el 94 % y vuelta a empezar.
   Lo "de la pregunta" lleva .trv-q y lo "de la revelación", .trv-r. Sin movimiento queda quieta con la respuesta
   revelada: por eso los estilos de abajo (sin animar) son los de la revelación. ── */

.trv-escena {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.trv {
  position: relative;
  aspect-ratio: 100 / 111;
  container-type: inline-size;
}

.trv-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.trv svg {
  overflow: visible;
}

.trv-q {
  opacity: 0;
}

.trv-r {
  opacity: 1;
}

.trv-tele {
  position: absolute;
  left: 3cqw;
  top: 0;
  width: 58cqw;
  padding: 1.5cqw;
  border-radius: 3cqw;
  background: linear-gradient(145deg, #313744 0%, #11141b 38%, #0a0c11 100%);
  box-shadow: 0 0 0 0.3cqw #3d4452, 0 9cqw 13cqw -7cqw rgba(18, 26, 90, 0.55);
}

.trv-tele::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2.2cqw;
  width: 6cqw;
  height: 2.6cqw;
  transform: translateX(-50%);
  background: linear-gradient(#2b303b, #12151c);
}

.trv-tele::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5cqw;
  width: 22cqw;
  height: 3cqw;
  transform: translateX(-50%);
  border-radius: 1cqw 1cqw 2cqw 2cqw;
  background: linear-gradient(#383f4c, #12151c);
}

.trv-pantalla {
  position: relative;
  isolation: isolate;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.6cqw;
  background: radial-gradient(ellipse 95% 64% at 50% 30%, #2d36a8 0%, #161c63 50%, #080b2b 100%);
  color: #ffffff;
  line-height: 1.1;
  container-type: inline-size;
}

/* Los rayos quietos del estudio */
.trv-pantalla::before {
  content: "";
  position: absolute;
  left: -40cqw;
  top: -36cqw;
  width: 180cqw;
  height: 180cqw;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.06) 0deg 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  z-index: -1;
}

/* Los rayos que se encienden detrás de la correcta */
.trv-rayos {
  position: absolute;
  left: -30cqw;
  top: 43cqw;
  width: 160cqw;
  height: 160cqw;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 214, 120, 0.3) 0deg 9deg, transparent 9deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent);
  mask-image: radial-gradient(closest-side, #000 15%, transparent);
  opacity: 0.7;
  z-index: -1;
}

.trv-envivo {
  position: absolute;
  right: 4cqw;
  top: 4cqw;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.2cqw 2.6cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 3cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trv-envivo i {
  width: 2cqw;
  height: 2cqw;
  border-radius: 50%;
  background: #ff5a5f;
}

/* La cinta de "PREGUNTA 3 DE 6", con sus pliegues */
.trv-cinta {
  position: absolute;
  left: 21cqw;
  top: 10cqw;
  width: 58cqw;
  height: 8.6cqw;
  display: grid;
  place-items: center;
  background: #6c79ff;
  font-size: 3.4cqw;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trv-cinta::before,
.trv-cinta::after {
  content: "";
  position: absolute;
  top: 2.2cqw;
  width: 8cqw;
  height: 8.6cqw;
  background: #4752c4;
  z-index: -1;
}

.trv-cinta::before {
  left: -5.5cqw;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 32% 50%);
}

.trv-cinta::after {
  right: -5.5cqw;
  clip-path: polygon(0 0, 100% 0, 68% 50%, 100% 100%, 0 100%);
}

/* El bichito anfitrión: asomado detrás de la tarjeta; al revelar sube y festeja */
.trv-anfitrion {
  position: absolute;
  left: 6cqw;
  top: 13cqw;
  width: 24cqw;
  height: 24cqw;
}

.trv-salta {
  transform: translateY(-8cqw);
}

.trv-anfitrion svg {
  width: 100%;
  height: auto;
}

.trv-globo {
  position: absolute;
  left: 33cqw;
  top: 9.5cqw;
  padding: 2.2cqw 4cqw;
  border-radius: 4cqw;
  background: #ffffff;
  color: #16161a;
  font-size: 5.4cqw;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.3);
  transform-origin: 0 100%;
}

.trv-globo::before {
  content: "";
  position: absolute;
  left: -1.4cqw;
  bottom: 2.2cqw;
  width: 4cqw;
  height: 4cqw;
  background: #ffffff;
  transform: rotate(45deg);
}

.trv-tarjeta {
  position: absolute;
  left: 6cqw;
  top: 27cqw;
  width: 88cqw;
  height: 44cqw;
  display: grid;
  place-items: center;
  padding: 5cqw 8cqw;
  border-radius: 6cqw;
  background: #ffffff;
  color: #16161a;
  box-shadow: 0 1.6cqw 0 #c7cde3, 0 6cqw 12cqw rgba(0, 0, 0, 0.42);
}

.trv-tarjeta p {
  font-size: 6.6cqw;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

/* El reloj: una bolita que da la vuelta y la cuenta regresiva */
.trv-reloj {
  position: absolute;
  left: 79cqw;
  top: 19cqw;
  width: 16cqw;
  height: 16cqw;
  border-radius: 50%;
  border: 1.3cqw solid #3346ff;
  background: #ffffff;
  color: #16161a;
  box-shadow: 0 1.5cqw 3cqw rgba(0, 0, 0, 0.3);
}

.trv-aguja {
  position: absolute;
  inset: -1.3cqw;
}

.trv-aguja::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.6cqw;
  width: 2.6cqw;
  height: 2.6cqw;
  margin-left: -1.3cqw;
  border-radius: 50%;
  background: #ff5a5f;
  box-shadow: 0 0 0 0.6cqw #ffffff;
}

.trv-dig {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 7cqw;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  opacity: 0;
}

/* Las 4 opciones: colores y formas fijos, como en la app */
.trv-rojo {
  background: #e5484d;
  --borde: #b3303a;
}

.trv-azul {
  background: #2f7cf6;
  --borde: #1c58c0;
}

.trv-naranja {
  background: #e48d0b;
  --borde: #ae6905;
}

.trv-verde {
  background: #1f9e62;
  --borde: #157447;
}

.trv-fichas {
  position: absolute;
  left: 6cqw;
  top: 80cqw;
  width: 88cqw;
  display: grid;
  gap: 3cqw;
}

.trv-ficha {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3.6cqw;
  height: 14cqw;
  padding: 0 4cqw 1.1cqw;
  border-radius: 3.4cqw;
  box-shadow: inset 0 -1.1cqw 0 var(--borde);
  font-size: 5.8cqw;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 0.3cqw 0 rgba(0, 0, 0, 0.12);
}

.trv-ficha span {
  display: grid;
  place-items: center;
  flex: none;
  width: 8.4cqw;
  height: 8.4cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.trv-ficha span svg,
.tc-botones svg {
  width: 46%;
  height: 46%;
  fill: #ffffff;
  stroke: #ffffff;
}

.trv-ficha:not(.trv-correcta) {
  opacity: 0.3;
}

.trv-correcta {
  z-index: 1;
  transform: scale(1.04);
}

.trv-correcta::after {
  content: "";
  position: absolute;
  inset: -1.6cqw;
  border: 1cqw solid #ffffff;
  border-radius: 4.8cqw;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.35);
  opacity: 1;
}

.trv-tilde {
  position: absolute;
  right: 4cqw;
  top: 50%;
  width: 7.4cqw;
  height: 7.4cqw;
  margin-top: -4.2cqw;
  border-radius: 50%;
  background: #ffffff;
}

.trv-tilde::after {
  content: "";
  position: absolute;
  left: 2.5cqw;
  top: 1.5cqw;
  width: 2.2cqw;
  height: 3.6cqw;
  border: solid #ae6905;
  border-width: 0 0.9cqw 0.9cqw 0;
  transform: rotate(45deg);
}

/* Abajo: los jugadores y el QR para sumarse */
.trv-jugadores {
  position: absolute;
  left: 5cqw;
  top: 151cqw;
  display: flex;
  gap: 2.4cqw;
}

.trv-jugadores li {
  position: relative;
  width: 14cqw;
  text-align: center;
}

.trv-jugadores svg {
  width: 13cqw;
  height: 13cqw;
  margin-inline: auto;
}

.trv-jugadores span {
  display: block;
  margin-top: 1cqw;
  font-size: 3.3cqw;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.85);
}

.trv-ok {
  position: absolute;
  right: -0.5cqw;
  top: -0.5cqw;
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: #1f9e62;
  box-shadow: 0 0 0 0.6cqw #121858;
}

.trv-ok::after {
  content: "";
  position: absolute;
  left: 1.75cqw;
  top: 0.9cqw;
  width: 1.4cqw;
  height: 2.4cqw;
  border: solid #ffffff;
  border-width: 0 0.6cqw 0.6cqw 0;
  transform: rotate(45deg);
}

.trv-qr {
  position: absolute;
  right: 5cqw;
  top: 146cqw;
  width: 24cqw;
  padding: 2cqw 2cqw 1.4cqw;
  border-radius: 2.6cqw;
  background: #ffffff;
  color: #16161a;
}

.trv-qr svg {
  width: 100%;
  height: auto;
  fill: #0b1020;
}

.trv-qr p {
  margin-top: 1cqw;
  text-align: center;
  font-size: 3.4cqw;
  font-weight: 800;
}

/* El ranking en vivo, al costado */
.trv-ranking {
  position: absolute;
  right: 2cqw;
  top: 7cqw;
  width: 33cqw;
  padding: 3cqw 3cqw 2cqw;
  border: 1px solid var(--linea);
  border-radius: 3cqw;
  background: #ffffff;
  box-shadow: var(--sombra-2);
}

.trv-ranking-titulo {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  margin-bottom: 1.4cqw;
  font-size: max(0.625rem, 2.3cqw);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acento);
}

.trv-ranking-titulo::before {
  content: "";
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: #ff5a5f;
}

/* Los puestos quedan quietos; las filas se mueven */
.trv-ranking ol {
  position: relative;
  padding-left: 3.4cqw;
}

.trv-ranking ol::before {
  content: "1\A 2\A 3";
  position: absolute;
  left: 0;
  top: 0;
  white-space: pre;
  line-height: 7.6cqw;
  color: var(--apagado);
  font-size: max(0.6875rem, 2.8cqw);
  font-variant-numeric: tabular-nums;
}

.trv-fila {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  height: 7.6cqw;
  border-top: 1px solid var(--linea);
  background: #ffffff;
  font-size: max(0.75rem, 3.3cqw);
  font-weight: 600;
}

.trv-fila svg {
  flex: none;
  width: 5.6cqw;
  height: 5.6cqw;
}

.trv-fila span {
  flex: 1;
  min-width: 0;
}

.trv-fila b {
  position: relative;
  min-width: 6.4cqw;
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.trv-fila em {
  font-style: normal;
}

.trv-fila em.trv-q {
  position: absolute;
  right: 0;
}

.trv-fila-fede {
  position: relative;
  z-index: 1;
}

/* El celu de Fede */
.trv-celu {
  position: absolute;
  right: 4cqw;
  bottom: 1cqw;
  width: 28cqw;
  padding: 0.85cqw;
  border-radius: 5.4cqw;
  background: linear-gradient(150deg, #3a404c 0%, #14171e 40%, #0b0d12 100%);
  box-shadow: 0 0 0 0.3cqw #454c5a, 0 8cqw 12cqw -6cqw rgba(18, 26, 90, 0.55);
}

.trv-celu-pantalla {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 4.7cqw;
  background: radial-gradient(ellipse 120% 70% at 50% 25%, #2d36a8 0%, #161c63 55%, #080b2b 100%);
  color: #ffffff;
  line-height: 1.1;
  container-type: inline-size;
}

.trv-celu-pantalla::before {
  content: "";
  position: absolute;
  top: 3.4cqw;
  left: 50%;
  width: 26cqw;
  height: 7cqw;
  transform: translateX(-50%);
  border-radius: 4cqw;
  background: #05060d;
}

.tc-a,
.tc-b {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22cqw 9cqw 16cqw;
  text-align: center;
}

.tc-rotulo {
  font-size: 6.4cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.tc-botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5cqw;
  width: 100%;
  margin-top: 12cqw;
}

.tc-botones li {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.15;
  border-radius: 7cqw;
  box-shadow: inset 0 -2.4cqw 0 var(--borde);
}

.tc-botones svg {
  width: 44%;
  height: 44%;
}

.tc-elegido::after {
  content: "";
  position: absolute;
  inset: -2.4cqw;
  border: 1.6cqw solid #ffffff;
  border-radius: 9cqw;
}

.tc-listo {
  margin-top: auto;
  font-size: 7cqw;
  font-weight: 650;
  line-height: 1.2;
}

.tc-vas {
  font-size: 15cqw;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tc-bicho {
  width: 70cqw;
  height: auto;
  margin-block: 10cqw 6cqw;
}

.tc-puntos {
  padding: 1.6cqw 6cqw;
  border-radius: 99px;
  background: #1f9e62;
  font-size: 10cqw;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tc-puesto {
  margin-top: auto;
  font-size: 6.6cqw;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

@media (prefers-reduced-motion: no-preference) {
  .trv-q {
    animation: 12s linear infinite both trv-q;
  }

  .trv-r {
    animation: 12s linear infinite both trv-r;
  }

  .trv-ficha:not(.trv-correcta) {
    animation: 12s ease infinite both trv-apaga;
  }

  .trv-correcta {
    animation: 12s ease-out infinite both trv-crece;
  }

  .trv-correcta::after {
    animation: 12s linear infinite both trv-r;
  }

  .trv-anfitrion {
    animation: 3s ease-in-out infinite trv-flota;
  }

  .trv-salta {
    animation: 12s ease-out infinite both trv-salta;
  }

  .trv-globo {
    animation: 12s ease-out infinite both trv-globo;
  }

  .trv-rayos {
    animation: 12s ease-out infinite both trv-rayos;
  }

  .trv-aguja {
    animation: 12s linear infinite both trv-aguja;
  }

  /* La cuenta regresiva: cada número un segundo (6 a 1, entre los 0 y los 6 s). Retrasos negativos: así el ciclo
     arranca bien desde el primer cuadro, sin que ningún número espere su turno a la vista. */
  .trv-dig {
    animation: 12s linear infinite both trv-dig;
  }

  .trv-d5 {
    animation-delay: -11s;
  }

  .trv-d4 {
    animation-delay: -10s;
  }

  .trv-d3 {
    animation-delay: -9s;
  }

  .trv-d2 {
    animation-delay: -8s;
  }

  .trv-d1 {
    animation-delay: -7s;
  }

  .trv-envivo i,
  .trv-ranking-titulo::before {
    animation: 1.6s ease-in-out infinite pulso;
  }

  .trv-fila-fede {
    animation: 12s cubic-bezier(0.3, 0.7, 0.2, 1) infinite both trv-sube;
  }

  .trv-fila-caro {
    animation: 12s cubic-bezier(0.3, 0.7, 0.2, 1) infinite both trv-baja;
  }

  .tc-botones li:not(.tc-elegido) {
    animation: 12s ease infinite both tc-apaga;
  }

  .tc-elegido {
    animation: 12s ease-out infinite both tc-toque;
  }

  .tc-elegido::after,
  .tc-listo {
    animation: 12s ease infinite both tc-listo;
  }

  .tc-bicho {
    animation: 12s ease-out infinite both tc-salta;
  }
}

@keyframes trv-q {
  0%,
  52% {
    opacity: 1;
  }
  56%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes trv-r {
  0%,
  54% {
    opacity: 0;
  }
  58%,
  94% {
    opacity: 1;
  }
  99%,
  100% {
    opacity: 0;
  }
}

@keyframes trv-apaga {
  0%,
  54% {
    opacity: 1;
  }
  58%,
  94% {
    opacity: 0.3;
  }
  99%,
  100% {
    opacity: 1;
  }
}

@keyframes trv-crece {
  0%,
  54% {
    transform: scale(1);
  }
  57% {
    transform: scale(1.09);
  }
  61%,
  94% {
    transform: scale(1.04);
  }
  99%,
  100% {
    transform: scale(1);
  }
}

@keyframes trv-flota {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1cqw);
  }
}

@keyframes trv-salta {
  0%,
  54% {
    transform: translateY(0);
  }
  57.5% {
    transform: translateY(-13cqw) scale(0.96, 1.05);
  }
  60.5% {
    transform: translateY(-6.5cqw) scale(1.05, 0.95);
  }
  63% {
    transform: translateY(-8cqw);
  }
  94% {
    transform: translateY(-8cqw);
  }
  99%,
  100% {
    transform: translateY(0);
  }
}

@keyframes trv-globo {
  0%,
  56% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  63%,
  93% {
    opacity: 1;
    transform: scale(1);
  }
  97%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes trv-rayos {
  0%,
  54% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  61% {
    opacity: 1;
    transform: scale(1) rotate(10deg);
  }
  94% {
    opacity: 0.6;
    transform: scale(1.04) rotate(32deg);
  }
  99%,
  100% {
    opacity: 0;
    transform: scale(1.04) rotate(36deg);
  }
}

@keyframes trv-aguja {
  0% {
    transform: rotate(0deg);
  }
  52%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes trv-dig {
  0%,
  8.2% {
    opacity: 1;
  }
  8.4%,
  100% {
    opacity: 0;
  }
}

/* El ranking: Fede sube del 2.º al 1.er lugar y Caro baja */
@keyframes trv-sube {
  0%,
  56% {
    transform: translateY(100%);
  }
  64%,
  94% {
    transform: translateY(0);
  }
  99%,
  100% {
    transform: translateY(100%);
  }
}

@keyframes trv-baja {
  0%,
  56% {
    transform: translateY(-100%);
  }
  64%,
  94% {
    transform: translateY(0);
  }
  99%,
  100% {
    transform: translateY(-100%);
  }
}

/* El celu: a los 3 s Fede toca el círculo naranja */
@keyframes tc-apaga {
  0%,
  25% {
    opacity: 1;
  }
  28%,
  90% {
    opacity: 0.3;
  }
  93%,
  100% {
    opacity: 1;
  }
}

@keyframes tc-toque {
  0%,
  24% {
    transform: scale(1);
  }
  26% {
    transform: scale(0.86);
  }
  30%,
  100% {
    transform: scale(1);
  }
}

@keyframes tc-listo {
  0%,
  26% {
    opacity: 0;
  }
  30%,
  90% {
    opacity: 1;
  }
  93%,
  100% {
    opacity: 0;
  }
}

@keyframes tc-salta {
  0%,
  57% {
    transform: translateY(8cqw) scale(0.85);
  }
  61% {
    transform: translateY(-5cqw) scale(1.04);
  }
  65%,
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ───────── El panel (dibujado) ───────── */

.panel-fila {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.panel-fila .encabezado {
  margin-bottom: 0;
}

.panel-fila h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

@media (min-width: 1000px) {
  .panel-fila {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
  }
}

.panel {
  width: 100%;
  container-type: inline-size;
}

.pn {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--linea-fuerte);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--sombra-3);
  font-size: 0.875rem;
  line-height: 1.3;
}

.pn-barra {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--linea);
  background: var(--tenue);
}

.pn-barra > i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 16, 32, 0.14);
}

.pn-direccion {
  margin-inline: auto;
  padding: 3px 14px;
  border: 1px solid var(--linea);
  border-radius: 7px;
  background: #ffffff;
  font-size: 0.75rem;
  color: var(--apagado);
}

.pn-arriba {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--linea);
  overflow: hidden;
  white-space: nowrap;
}

.pn-marca {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.pn-marca b {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #f5b301;
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.2);
}

.pn-pestana {
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--apagado);
  font-weight: 500;
}

.pn-activa {
  background: var(--acento-suave);
  color: var(--acento);
  font-weight: 600;
}

.pn-cuenta {
  display: none;
  margin-left: auto;
  padding: 5px 26px 5px 10px;
  border: 1px solid var(--linea);
  border-radius: 7px;
  position: relative;
  font-weight: 550;
}

.pn-cuenta::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border: solid var(--apagado);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.pn-cuerpo {
  display: grid;
  gap: 18px;
  padding: 16px 14px 18px;
  background: linear-gradient(var(--tenue), #ffffff 120px);
}

.pn-titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.pn-titulo small {
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(11, 16, 32, 0.07);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--apagado);
}

.pn-lista {
  display: grid;
  gap: 8px;
  align-content: start;
}

.pn-lista .pn-titulo {
  margin-bottom: 2px;
}

.pn-fila {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--linea);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--sombra-1);
}

/* Las miniaturas: una tele chiquita con el color de su cartel y dos rayitas de "texto" */
.pn-mini {
  position: relative;
  flex: none;
  display: grid;
  align-content: end;
  gap: 3px;
  width: 50px;
  height: 30px;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 0 0 2px #14171e;
}

.pn-mini-v {
  width: 24px;
  height: 40px;
  margin-inline: 13px;
}

.pn-mini i {
  height: 3px;
  width: 70%;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.8;
}

.pn-mini i + i {
  width: 45%;
}

.pn-mini-off {
  background: #1b1f29;
  color: transparent;
}

.pn-nombre {
  flex: 1;
  min-width: 0;
  color: var(--apagado);
  font-size: 0.8125rem;
}

.pn-nombre b {
  display: block;
  color: var(--tinta);
  font-size: 0.9375rem;
  font-weight: 600;
}

.pn-estado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(11, 16, 32, 0.06);
  color: var(--apagado);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pn-estado i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa1b0;
}

.pn-aire {
  background: rgba(31, 164, 99, 0.1);
  color: #137a47;
}

.pn-aire i {
  background: #1fa463;
}

.pn-hoy {
  padding: 14px 14px 12px;
  border: 1px solid var(--linea);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--sombra-1);
}

.pn-horas {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  color: var(--apagado);
  font-variant-numeric: tabular-nums;
}

.pn-dias {
  position: relative;
  display: grid;
  gap: 8px;
}

.pn-dia {
  display: flex;
  height: 16px;
  gap: 2px;
}

.pn-dia i {
  border-radius: 4px;
}

.pn-a {
  background: var(--acento);
}

.pn-b {
  background: #9aa6ff;
}

.pn-off {
  background: repeating-linear-gradient(135deg, rgba(11, 16, 32, 0.08) 0 3px, rgba(11, 16, 32, 0.02) 3px 6px);
}

.pn-w8 {
  width: 8%;
}

.pn-w15 {
  width: 15%;
}

.pn-w17 {
  width: 17%;
}

.pn-w21 {
  width: 21%;
}

.pn-w24 {
  width: 24%;
}

.pn-w25 {
  width: 25%;
}

.pn-w29 {
  width: 29%;
}

.pn-w30 {
  width: 30%;
}

.pn-w31 {
  width: 31%;
}

.pn-w37 {
  width: 37%;
}

.pn-ahora {
  position: absolute;
  left: 62%;
  top: -6px;
  bottom: -6px;
  width: 2px;
  border-radius: 2px;
  background: #ff4d4f;
}

.pn-ahora::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
}

.pn-leyenda {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--apagado);
}

.pn-leyenda span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pn-leyenda i {
  width: 14px;
  height: 8px;
  border-radius: 3px;
}

.pn-aviso {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #0b1020;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 550;
  white-space: nowrap;
  box-shadow: var(--sombra-2);
  transform: translateX(-50%);
}

.pn-aviso i {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1fa463;
}

.pn-aviso i::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@container (min-width: 560px) {
  .pn-cuerpo {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 16px;
    padding: 20px 18px 64px;
  }

  .pn-cuenta {
    display: block;
  }

  .pn-hoy {
    align-self: start;
    margin-top: 32px;
  }
}

@container (max-width: 559px) {
  .pn-cuerpo {
    padding-bottom: 64px;
  }

  .pn-pestana:nth-of-type(3),
  .pn-pestana:nth-of-type(4) {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pn-aire i {
    animation: 2s ease-in-out infinite pulso;
  }

  .pn-aviso {
    animation: 9s ease infinite both pn-aviso;
  }
}

@keyframes pn-aviso {
  0%,
  40% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  46%,
  82% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  88%,
  100% {
    opacity: 0;
    transform: translate(-50%, 4px);
  }
}

/* ───────── Precio ───────── */

.precio-fila {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.precio-tarjeta {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--linea);
  border-radius: 20px;
  background: var(--superficie);
  box-shadow: var(--sombra-3);
}

.precio-tarjeta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--acento);
}

.precio-monto {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.precio-numero {
  font-size: clamp(3.25rem, 8vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.precio-numero-chico {
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.precio-unidad {
  color: var(--apagado);
}

.precio-lista {
  display: grid;
  gap: 12px;
  margin-block: 26px 30px;
  padding-top: 24px;
  border-top: 1px solid var(--linea);
}

.precio-lista li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
}

.precio-lista .ic {
  margin-top: 2px;
  color: var(--acento);
}

.precio-nota {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--apagado);
}

.precio-aparte {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 520px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--linea);
  border-radius: 12px;
  background: var(--superficie);
  line-height: 1.5;
}

.precio-aparte .ic {
  margin-top: 2px;
  color: var(--acento);
}

@media (min-width: 900px) {
  .precio-fila {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

/* ───────── Preguntas ───────── */

.preguntas {
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--superficie);
  box-shadow: var(--sombra-1);
}

.preguntas details + details {
  border-top: 1px solid var(--linea);
}

.preguntas summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 1.0625rem;
  font-weight: 550;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.preguntas summary::-webkit-details-marker {
  display: none;
}

.preguntas summary .mas {
  color: var(--acento);
  transition: transform 0.2s ease;
}

.preguntas details[open] summary .mas {
  transform: rotate(45deg);
}

.preguntas details p {
  max-width: 62ch;
  padding: 0 22px 22px;
  color: var(--apagado);
}

.mas-preguntas {
  margin-top: 24px;
}

.mas-preguntas a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acento);
  font-weight: 600;
  text-decoration: none;
}

.mas-preguntas a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ───────── Cierre: banda de tinta lisa, con una grilla fina y un brillo azul suave ───────── */

.cierre {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 150px);
  background: #0b1020;
  color: #ffffff;
  --tinta: #ffffff;
  --apagado: #c4cad8;
  --superficie: transparent;
  --linea-fuerte: rgba(255, 255, 255, 0.28);
}

.cierre::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%);
}

.cierre::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 80% at 50% 0%, rgba(51, 70, 255, 0.32), transparent 70%);
}

.cierre-caja {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cierre h2 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

.cierre .bajada {
  max-width: 520px;
  margin: 18px auto 0;
}

.cierre .botones {
  margin-top: 34px;
}

.cierre .boton-claro {
  color: #ffffff;
  box-shadow: none;
}

.cierre .boton-claro:hover {
  border-color: #ffffff;
}

.cierre .letra-chica {
  margin-top: 22px;
}

/* ───────── Pie ───────── */

.pie {
  padding-block: 56px 40px;
  background: var(--tenue);
  border-top: 1px solid var(--linea);
}

.pie-fila {
  display: grid;
  gap: 32px;
}

.pie-marca {
  color: var(--tinta);
}

.pie-marca .lg {
  height: 28px;
}

.pie-marca p {
  max-width: 26em;
  margin-top: 14px;
  color: var(--apagado);
}

.pie-enlaces {
  display: grid;
  gap: 8px;
  align-content: start;
}

.pie-titulo {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinta);
}

.pie-enlaces a {
  color: var(--apagado);
  text-decoration: none;
}

.pie-enlaces a:hover {
  color: var(--acento);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pie-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--linea);
  color: var(--apagado);
}

@media (min-width: 720px) {
  .pie-fila {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
    gap: 40px;
  }
}

/* Botón de WhatsApp siempre a mano */
.flotante {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.flotante:hover {
  transform: scale(1.06);
}

.flotante .ic {
  width: 1.75rem;
  height: 1.75rem;
}

/* ───────── Página 404 ───────── */

.perdido {
  padding-block: clamp(72px, 12vw, 140px);
  text-align: center;
}

.perdido-numero {
  font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--acento);
}

.perdido h1 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.perdido .bajada {
  margin-top: 14px;
}

.perdido .botones {
  margin-top: 32px;
}

/* ───────── Celulares chicos ───────── */

@media (max-width: 520px) {
  .caja {
    padding-inline: 20px;
  }

  .botones .boton {
    width: 100%;
  }

  .cabecera-fila {
    gap: 10px;
  }

  .lg {
    height: 26px;
  }

  .rubros-lista li {
    padding: 7px 12px 7px 10px;
    font-size: 0.875rem;
  }

  .menu-movil nav {
    padding-inline: 20px;
  }

  /* La escena de la trivia aprovecha todo el ancho del celu */
  .trv-escena {
    margin-inline: -12px;
    width: calc(100% + 24px);
  }

  /* El botón flotante de WhatsApp no tiene que tapar la última línea del pie. */
  .pie {
    padding-bottom: 96px;
  }
}

@media (max-width: 380px) {
  .boton-ingresar {
    padding: 0 12px;
  }
}
