/* Piel de marca "Luz Roja" (Ismael Cala). Solo tokens y 6 piezas propias; el resto es kit.css.
   Contraste: blanco sobre #E5222A = 4,58:1; texto rojo sobre fondo = #FF5C61 (6,5:1). */
[data-tema="marca"] {
  --fondo: #0A0A0B; --fondo-alt: #111112; --superficie: #17171A; --superficie-alt: #1E1E22;
  --texto: #F7F5F2; --texto-suave: #C9C5BF; --texto-tenue: #A8A39C;
  --acento: #E5222A; --acento-texto: #FFFFFF; --cta: #E5222A; --cta-texto: #FFFFFF;
  --rojo-texto: #FF5C61;
  --exito: #3DDC97; --exito-texto: #04140D; --alerta: #E5222A; --alerta-texto: #FFFFFF;
  --borde: #2A2A2F; --borde-fuerte: #46464D;
  --marcador-fondo: #FFE45C; --marcador-texto: #1A1500; --foco: #FFFFFF;
  --sombra-s: 0 1px 2px rgb(0 0 0 / .5); --sombra-m: 0 8px 20px -6px rgb(0 0 0 / .6);
  --sombra-l: 0 30px 60px -12px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .05);
  --sombra-cta: 0 12px 34px -8px rgb(229 34 42 / .55);
  --brillo-fondo: radial-gradient(60% 45% at 50% 0%, rgb(229 34 42 / .22), transparent 70%);
  color-scheme: dark;
}
[data-tema="marca"] .pre-titulo, [data-tema="marca"] .texto-acento, [data-tema="marca"] .stack-oferta__bono { color: var(--rojo-texto); }
[data-tema="marca"] .stack-oferta__cabecera .pre-titulo { color: #fff; }
[data-tema="marca"] .resaltado { background: none; color: var(--rojo-texto); }
[data-tema="marca"] .titular, [data-tema="marca"] .titular-seccion { text-wrap: balance; }
body { font-size: 1.125rem; }

/* Luz roja de "al aire": punto que late (solo transform/opacity) */
.al-aire { display: inline-flex; align-items: center; gap: .6em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: var(--texto-s); color: var(--texto); }
.luz-roja { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--acento); flex: none; box-shadow: 0 0 12px 2px rgb(229 34 42 / .8); }
.luz-roja::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--acento); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .luz-roja::after { animation: luz-latido 1.6s ease-out infinite; }
  @keyframes luz-latido { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
}

/* Barra superior de aviso (mayúsculas, rojo pleno) */
.barra-aviso { background: var(--acento); color: #fff; text-align: center; padding: .8rem var(--esp-gutter); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: var(--texto-s); line-height: 1.35; }
.barra-aviso .luz-roja { display: inline-block; vertical-align: -1px; margin-right: .5em; background: #fff; box-shadow: none; width: 10px; height: 10px; }
.barra-aviso .luz-roja::after { background: #fff; }

.pagina-centrada { padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5rem); text-align: center; }
.pagina-centrada .contenedor { max-width: 860px; }
.pagina-centrada .pila { justify-items: center; }
.pagina-centrada .titular { margin-inline: auto; max-width: 18ch; font-size: clamp(2.1rem, 1.3rem + 4vw, 3.9rem); }
.pagina-centrada .subtitulo { margin-inline: auto; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); color: var(--texto-suave); }
.progreso--rojo .progreso__relleno { background: var(--acento); }
.progreso--rojo .progreso__barra { height: 12px; }
.progreso--rojo .progreso__info { font-size: var(--texto-s); }

/* Reproductor placeholder con overlay "Toca para escuchar" */
.reproductor { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radio-l); overflow: hidden; background: #000; box-shadow: var(--sombra-l); border: 1px solid var(--borde-fuerte); }
.reproductor .recuadro-medio { position: absolute; inset: 0; border: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }
.reproductor > iframe, .reproductor > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reproductor__overlay { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: var(--esp-3); width: 100%; border: 0; cursor: pointer; color: #fff; background: rgb(0 0 0 / .55); padding: var(--esp-4); font: inherit; }
.reproductor__overlay:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.reproductor__play { width: clamp(64px, 16vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--acento); box-shadow: 0 0 0 10px rgb(229 34 42 / .28); }
.reproductor__play svg { width: 42%; height: 42%; margin-left: 8%; }
.reproductor__overlay b { display: block; font-family: var(--fuente-titular); font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem); line-height: 1.2; }
.reproductor__overlay span span { display: block; font-size: clamp(1rem, .9rem + .6vw, 1.3rem); opacity: .92; margin-top: .25em; }
.reproductor.esta-reproduciendo .reproductor__overlay { display: none; }
@media (prefers-reduced-motion: no-preference) { .reproductor:not(.esta-reproduciendo) .reproductor__play { animation: kit-latido 2.2s ease-in-out infinite; } }

/* Botones píldora grandes */
.boton--pildora { border-radius: 999px; min-height: 76px; padding: .9em 1.4em; font-size: clamp(1.1rem, .95rem + .9vw, 1.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.boton--pildora .boton__sub { text-transform: none; font-size: clamp(.9rem, .85rem + .3vw, 1.05rem); font-weight: 600; opacity: .95; }
.boton--blanco { --b-fondo: #fff; --b-texto: #111; --b-sombra: none; --b-borde: transparent; text-transform: none; font-weight: 700; }
.boton--blanco:hover { background: #e9e9e9; }
.bloque-botones { display: grid; gap: var(--esp-4); width: 100%; max-width: 720px; margin-inline: auto; }

/* Botón de compra con demora: oculto (y sin foco) hasta que corre el reloj */
.js-ok [data-cta-demora]:not(.es-visible) { visibility: hidden; opacity: 0; transform: translateY(12px); }
[data-cta-demora] { transition: opacity .5s ease, transform .5s ease, visibility 0s; min-height: 190px; }

.stack-oferta, .garantia, .comparativa-marco { text-align: left; }
.sello-pagos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.sello-pagos span { padding: .35em .8em; border: 1px solid var(--borde-fuerte); border-radius: 8px; font-size: var(--texto-s); font-weight: 700; color: var(--texto-suave); }
.faq { text-align: left; }
.pie { background: var(--fondo); }
@media (max-width: 479px) { .comparativa th, .comparativa td { font-size: 1rem; padding: .8rem .6rem; } }
.comparativa td { width: 50%; }
/* Ajustes tras revisar a 390 px */
.boton--pildora { border-radius: 44px; }
.boton--pildora .marcador { white-space: normal; overflow-wrap: normal; }
.reproductor .recuadro-medio { place-items: start center; padding: .5rem; }
.reproductor .recuadro-medio__texto { font-size: .7rem; max-width: none; opacity: .8; }
.reproductor .recuadro-medio__texto b { display: inline; margin-right: .6em; }
@media (max-width: 559px) {
  .reproductor__play { width: 56px; box-shadow: 0 0 0 6px rgb(229 34 42 / .28); }
  .reproductor__overlay { gap: .5rem; padding-top: 1.6rem; }
  .stack-oferta__item { grid-template-columns: 1fr; }
  .stack-oferta__valor { padding-left: 1.7em; white-space: normal; }
  .stack-oferta__items, .stack-oferta__cierre { padding-inline: var(--esp-4); }
}
