/* nextkdrama.com — cielo celeste, noche azul y botones eléctricos */

:root {
  --vt-cielo: #b9d4ef;
  --vt-cielo-hondo: #a6c6e8;
  --vt-nube: #eef5fd;
  --vt-nube-borde: #8fb3dc;
  --vt-noche: #0d1b36;
  --vt-noche-alta: #172a52;
  --vt-tinta: #0c1f3f;
  --vt-gris: #34507a;
  --vt-blanco: #ffffff;

  --vt-azul: #1d5bff;
  --vt-azul-luz: #4378ff;
  --vt-azul-hondo: #0e3fd0;
  --vt-verde: #18d26c;
  --vt-verde-luz: #3fe58a;
  --vt-verde-hondo: #0fae57;
  --vt-sobre-verde: #032712;

  --vt-titulo: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --vt-cuerpo: "Nunito Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --vt-max: 1200px;
  --vt-lateral: clamp(1rem, 4vw, 2.5rem);
  --vt-ritmo: clamp(3.2rem, 7vw, 5.5rem);
  --vt-alto: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--vt-alto) + 14px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 85% -120px, rgba(29, 91, 255, 0.22), transparent 70%),
    var(--vt-cielo);
  color: var(--vt-tinta);
  font-family: var(--vt-cuerpo);
  font-size: 1.0625rem;
  line-height: 1.66;
}

body.vt-quieto { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
strong { font-weight: 800; }

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

[tabindex="-1"]:focus { outline: none; }

.vt-salto {
  position: absolute;
  top: -90px;
  left: 12px;
  z-index: 300;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--vt-verde);
  color: var(--vt-sobre-verde);
  font-weight: 800;
  text-decoration: none;
}
.vt-salto:focus { top: 12px; }

.vt-marco {
  width: min(100% - 2 * var(--vt-lateral), var(--vt-max));
  margin-inline: auto;
}

/* --- botones --- */

.vt-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--vt-cuerpo);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.vt-boton--azul {
  background: var(--vt-azul);
  color: var(--vt-blanco);
  box-shadow: 0 10px 24px -12px rgba(29, 91, 255, 0.9);
}
.vt-boton--azul:hover { background: var(--vt-azul-luz); transform: translateY(-2px); }
.vt-boton--azul:active { background: var(--vt-azul-hondo); transform: translateY(0); box-shadow: none; }

.vt-boton--verde {
  background: var(--vt-verde);
  color: var(--vt-sobre-verde);
  box-shadow: 0 10px 24px -12px rgba(24, 210, 108, 0.95);
}
.vt-boton--verde:hover { background: var(--vt-verde-luz); transform: translateY(-2px); }
.vt-boton--verde:active { background: var(--vt-verde-hondo); transform: translateY(0); box-shadow: none; }

.vt-boton--grande { min-height: 56px; padding: 0.85rem 2rem; font-size: 1.08rem; }
.vt-boton--ancho { width: 100%; }

.vt-acciones { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.vt-tramo > .vt-marco > .vt-boton,
.vt-lado__cuerpo > .vt-boton { margin-top: 1.8rem; }

/* --- cabecera --- */

.vt-cabeza {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vt-noche);
  box-shadow: 0 6px 24px -14px rgba(13, 27, 54, 0.9);
}

.vt-cabeza__fila {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--vt-alto);
  width: min(100% - 2 * var(--vt-lateral), 1320px);
  margin-inline: auto;
}

.vt-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  color: var(--vt-blanco);
  text-decoration: none;
}

.vt-logo__icono {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px 12px 12px 3px;
  background: linear-gradient(135deg, var(--vt-azul) 0%, #39a3ff 100%);
  font-family: var(--vt-titulo);
  font-weight: 900;
  font-style: italic;
  font-size: 1.05rem;
}

.vt-logo__texto {
  font-family: var(--vt-titulo);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.vt-pildoras {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border-radius: 16px;
  background: var(--vt-noche-alta);
}

.vt-pildora {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 12px;
  color: #c9d8f2;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vt-pildora:hover { background: rgba(255, 255, 255, 0.08); color: var(--vt-blanco); }
.vt-pildora[aria-current="true"] { background: var(--vt-azul); color: var(--vt-blanco); }

.vt-cabeza__ctas { display: flex; gap: 0.5rem; }
.vt-cabeza__ctas .vt-boton { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.95rem; }

.vt-conmutador {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  background: var(--vt-noche-alta);
  cursor: pointer;
}

.vt-conmutador__raya {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--vt-blanco);
  transition: transform 0.2s ease;
}

.vt-conmutador[aria-expanded="true"] .vt-conmutador__raya:first-child { transform: translateY(4.75px) rotate(45deg); }
.vt-conmutador[aria-expanded="true"] .vt-conmutador__raya:last-child { transform: translateY(-4.75px) rotate(-45deg); }

.vt-hoja { display: none; }

/* --- primer pantallazo --- */

.vt-escenario { padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(1.5rem, 3vw, 2.4rem); }

.vt-escenario__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.vt-h1 {
  margin: 0 0 1.1rem;
  font-family: var(--vt-titulo);
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem);
  font-weight: 900;
  font-stretch: 88%;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.vt-escenario__texto p { color: var(--vt-gris); }
.vt-escenario__texto p:last-of-type { margin-bottom: 0; }

.vt-pantalla {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 30px;
  background: var(--vt-noche);
  box-shadow: 0 30px 60px -30px rgba(13, 27, 54, 0.85);
  isolation: isolate;
}

.vt-pantalla::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -26px;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 3px solid var(--vt-azul);
  box-shadow: 0 0 0 14px rgba(29, 91, 255, 0.12), 0 0 0 30px rgba(24, 210, 108, 0.12);
}

.vt-pantalla img {
  width: 100%;
  aspect-ratio: 1408 / 768;
  object-fit: cover;
  border-radius: 22px;
}

.vt-carril {
  display: flex;
  gap: 0.5rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding: 0.5rem;
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(238, 245, 253, 0.6);
  border: 1px solid var(--vt-nube-borde);
  scrollbar-width: thin;
}

.vt-ficha {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 14px;
  background: var(--vt-nube);
  color: var(--vt-tinta);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.vt-ficha:hover { background: var(--vt-noche); color: var(--vt-blanco); }

/* --- tramos --- */

.vt-tramo { padding: var(--vt-ritmo) 0; }

.vt-tramo--hondo { background: var(--vt-cielo-hondo); }

.vt-tramo--noche {
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(29, 91, 255, 0.35), transparent 70%),
    radial-gradient(600px 380px at 100% 100%, rgba(24, 210, 108, 0.16), transparent 70%),
    var(--vt-noche);
  color: #d9e5f7;
}
.vt-tramo--noche .vt-h2,
.vt-tramo--noche .vt-h3 { color: var(--vt-blanco); }

.vt-h2 {
  margin: 0 0 1rem;
  font-family: var(--vt-titulo);
  font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem);
  font-weight: 850;
  font-stretch: 90%;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.vt-h3 {
  margin: 0 0 0.8rem;
  font-family: var(--vt-titulo);
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.vt-intro { max-width: 760px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.vt-intro > :last-child { margin-bottom: 0; }

.vt-ancho-texto { max-width: 72ch; }

.vt-lado {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.vt-lado__titulo { position: sticky; top: calc(var(--vt-alto) + 28px); }
.vt-lado__cuerpo > p { max-width: 72ch; }

.vt-mitades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

.vt-mitades--tarjetas { margin-top: clamp(1.6rem, 3vw, 2.4rem); gap: 1.1rem; }
.vt-mitades--ajustado { gap: 1.2rem 2rem; }
.vt-mitades--ajustado > :last-child { margin-bottom: 0; }

.vt-terna {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.1rem;
}

.vt-columna { display: grid; gap: 1.1rem; }

/* --- paneles --- */

.vt-panel {
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
  border-radius: 24px;
  background: var(--vt-nube);
  box-shadow: inset 0 0 0 1px rgba(143, 179, 220, 0.7);
}

.vt-panel > :last-child { margin-bottom: 0; }

.vt-panel--ancho { margin-top: clamp(1.6rem, 3vw, 2.4rem); }

.vt-panel--azul {
  background: linear-gradient(160deg, #dbe6ff 0%, var(--vt-nube) 60%);
  box-shadow: inset 4px 0 0 var(--vt-azul), inset 0 0 0 1px rgba(29, 91, 255, 0.3);
}

.vt-panel--verde {
  background: linear-gradient(160deg, #d6f7e5 0%, var(--vt-nube) 60%);
  box-shadow: inset 4px 0 0 var(--vt-verde-hondo), inset 0 0 0 1px rgba(15, 174, 87, 0.3);
}

.vt-panel--noche {
  background: linear-gradient(165deg, var(--vt-noche-alta), var(--vt-noche));
  color: #d9e5f7;
  box-shadow: none;
}
.vt-panel--noche .vt-h3 { color: var(--vt-blanco); }

.vt-panel--oscuro {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #d9e5f7;
}

.vt-panel--aviso { box-shadow: inset 0 0 0 1px rgba(255, 196, 77, 0.45); }
.vt-panel--aviso .vt-h3 { color: #ffd36b; }

.vt-tramo:not(.vt-tramo--noche) .vt-panel--oscuro {
  background: var(--vt-noche);
}

.vt-panel--equipo { position: relative; padding-top: 2.6rem; border-radius: 30px; }
.vt-panel--equipo::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 56px;
  height: 6px;
  border-radius: 6px;
  background: var(--vt-nube-borde);
  transform: translateX(-50%);
}

/* --- tablas --- */

.vt-tabla {
  margin: 0 0 1.2rem;
  overflow-x: auto;
  border-radius: 20px;
  background: var(--vt-nube);
  box-shadow: inset 0 0 0 1px rgba(143, 179, 220, 0.8);
  -webkit-overflow-scrolling: touch;
}

.vt-tabla table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.vt-tabla table:not(:has(th:nth-child(3))) { min-width: 0; }

.vt-tabla thead th {
  padding: 0.85rem 1rem;
  background: var(--vt-noche);
  color: #bcd2f5;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
}

.vt-tabla tbody th,
.vt-tabla tbody td,
.vt-tabla tfoot th,
.vt-tabla tfoot td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  color: var(--vt-tinta);
}

.vt-tabla tbody tr + tr > * { border-top: 1px solid rgba(143, 179, 220, 0.55); }
.vt-tabla tbody th { font-weight: 800; }
.vt-tabla tbody tr:nth-child(even) { background: rgba(185, 212, 239, 0.28); }

.vt-tabla tfoot { background: var(--vt-verde); }
.vt-tabla tfoot th,
.vt-tabla tfoot td { color: var(--vt-sobre-verde); font-weight: 900; }

.vt-tramo--noche .vt-tabla { box-shadow: none; }

/* --- listas --- */

.vt-vinetas { display: grid; gap: 0.55rem; margin: 0 0 1rem; padding: 0; list-style: none; }

.vt-vinetas li { position: relative; padding-left: 1.6rem; line-height: 1.55; }

.vt-vinetas li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  background: var(--vt-azul);
  transform: rotate(45deg) scale(0.8);
}

.vt-panel--verde .vt-vinetas li::before { background: var(--vt-verde-hondo); }
.vt-panel--noche .vt-vinetas li::before,
.vt-tramo--noche .vt-vinetas li::before { background: var(--vt-verde); }
.vt-panel--aviso .vt-vinetas li::before { background: #ffc44d; }

.vt-pasos { display: grid; gap: 0.7rem; margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: vt-n; }

.vt-pasos li { position: relative; padding-left: 2.7rem; line-height: 1.5; counter-increment: vt-n; }

.vt-pasos li::before {
  content: counter(vt-n);
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 10px;
  background: var(--vt-azul);
  color: var(--vt-blanco);
  font-weight: 900;
  font-size: 0.9rem;
}

.vt-tramo--noche .vt-pasos li::before { background: var(--vt-verde); color: var(--vt-sobre-verde); }

.vt-trayecto {
  position: relative;
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  counter-reset: vt-t;
}

.vt-trayecto::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1.4rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--vt-azul), var(--vt-verde));
}

.vt-trayecto li {
  position: relative;
  min-height: 2.8rem;
  padding: 0.75rem 1rem 0.75rem 3.8rem;
  border-radius: 18px;
  background: var(--vt-nube);
  counter-increment: vt-t;
  line-height: 1.5;
}

.vt-trayecto li::before {
  content: counter(vt-t);
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--vt-noche);
  color: var(--vt-blanco);
  font-weight: 900;
}

.vt-renglones { margin: 0 0 1rem; padding: 0; list-style: none; }
.vt-renglones li { padding: 0.65rem 0; border-top: 1px dashed var(--vt-nube-borde); line-height: 1.5; }
.vt-renglones li:last-child { border-bottom: 1px dashed var(--vt-nube-borde); }

.vt-mosaico {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.vt-tesela {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: var(--vt-nube);
  font-size: 0.97rem;
  line-height: 1.5;
  border-top: 4px solid var(--vt-azul);
}
.vt-tesela:nth-child(odd) { border-top-color: var(--vt-verde-hondo); }
.vt-tesela strong { display: block; margin-bottom: 0.2rem; font-family: var(--vt-titulo); font-size: 1.05rem; }

.vt-cupon {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  border-radius: 22px;
  overflow: hidden;
  background: var(--vt-noche);
}

.vt-cupon__pestana {
  padding: 1.2rem 1.3rem;
  color: #d9e5f7;
  line-height: 1.5;
}
.vt-cupon__pestana + .vt-cupon__pestana { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.vt-cupon__pestana strong { display: block; margin-bottom: 0.3rem; color: var(--vt-blanco); font-family: var(--vt-titulo); font-size: 1.1rem; }
.vt-cupon__pestana:first-child strong { color: var(--vt-verde-luz); }

.vt-etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.vt-etiquetas li {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--vt-nube);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px var(--vt-nube-borde);
}
.vt-etiquetas li:first-child { background: var(--vt-noche); color: var(--vt-blanco); box-shadow: none; }

.vt-sino { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.vt-sino span {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 20px;
  font-family: var(--vt-titulo);
  font-size: 1.3rem;
  font-weight: 900;
}
.vt-sino__si { background: var(--vt-verde); color: var(--vt-sobre-verde); }
.vt-sino__no { background: #ff6474; color: #2b0006; }

.vt-canales {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.vt-canal {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.vt-canal strong { display: block; margin-bottom: 0.25rem; color: var(--vt-verde-luz); }

.vt-franja {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: 28px;
  background:
    repeating-linear-gradient(135deg, rgba(29, 91, 255, 0.06) 0 14px, transparent 14px 28px),
    var(--vt-nube);
  box-shadow: inset 0 0 0 2px var(--vt-azul);
}
.vt-franja > :last-child,
.vt-franja .vt-vinetas { margin-bottom: 0; }

/* --- preguntas --- */

.vt-dudas { display: grid; gap: 0.6rem; }

.vt-duda {
  border-radius: 18px;
  background: var(--vt-nube);
  box-shadow: inset 0 0 0 1px rgba(143, 179, 220, 0.8);
}

.vt-duda__titulo { margin: 0; }

.vt-duda__boton {
  position: relative;
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 1rem 3.6rem 1rem 1.2rem;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--vt-tinta);
  font-family: var(--vt-cuerpo);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.vt-duda__boton::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2.5px no-repeat,
    linear-gradient(#fff, #fff) center / 2.5px 12px no-repeat,
    var(--vt-azul);
  transition: transform 0.2s ease;
}

.vt-duda__boton[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--vt-sobre-verde), var(--vt-sobre-verde)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--vt-sobre-verde), var(--vt-sobre-verde)) center / 2.5px 12px no-repeat,
    var(--vt-verde);
}

.vt-duda__boton:hover { color: var(--vt-azul-hondo); }

.vt-duda__respuesta { padding: 0 1.2rem 1.1rem; }
.vt-duda__respuesta p { margin: 0; max-width: 70ch; }

/* --- pie --- */

.vt-pie {
  padding: 2.6rem 0 2rem;
  background: var(--vt-noche);
  color: #b9cbe8;
}

.vt-pie__arriba {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vt-pie__ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.vt-pie__enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
  margin: 1.8rem 0;
}

.vt-pie__enlaces a {
  display: inline-block;
  padding: 0.35rem 0;
  color: #b9cbe8;
  text-decoration: none;
  font-weight: 600;
}
.vt-pie__enlaces a:hover { color: var(--vt-blanco); text-decoration: underline; text-underline-offset: 3px; }

.vt-pie :focus-visible,
.vt-cabeza :focus-visible,
.vt-tramo--noche :focus-visible { outline-color: var(--vt-verde-luz); }

.vt-pie__legal {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.vt-arriba {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--vt-azul);
  color: var(--vt-blanco);
  box-shadow: 0 12px 26px -12px rgba(29, 91, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.vt-arriba.vt-visible { opacity: 1; visibility: visible; transform: none; }
.vt-arriba:hover { background: var(--vt-azul-luz); }

/* --- adaptación --- */

@media (max-width: 1280px) {
  .vt-cabeza__extra { display: none; }
}

@media (max-width: 1120px) {
  .vt-pildoras { display: none; }
  .vt-cabeza__ctas { margin-left: auto; }
  .vt-conmutador { display: flex; }

  .vt-hoja {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--vt-alto));
    max-height: calc(100dvh - var(--vt-alto));
    padding: 0.8rem var(--vt-lateral) 1.4rem;
    overflow-y: auto;
    background: var(--vt-noche);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px -20px rgba(13, 27, 54, 0.9);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .vt-hoja.vt-abierta { visibility: visible; opacity: 1; transform: none; }

  .vt-hoja__lista {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
  }

  .vt-hoja__lista a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: 14px;
    background: var(--vt-noche-alta);
    color: #dbe6f8;
    font-weight: 700;
    text-decoration: none;
  }
  .vt-hoja__lista a:hover { background: var(--vt-azul); color: var(--vt-blanco); }

  .vt-terna { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-terna > :last-child { grid-column: 1 / -1; }
  .vt-mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vt-canales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .vt-escenario__grid { grid-template-columns: minmax(0, 1fr); }
  .vt-pantalla { order: -1; }
  .vt-pantalla::before { width: 130px; height: 130px; top: -20px; right: -10px; }
  .vt-lado,
  .vt-mitades,
  .vt-franja { grid-template-columns: minmax(0, 1fr); }
  .vt-lado__titulo { position: static; }
  .vt-cupon { grid-template-columns: minmax(0, 1fr); }
  .vt-cupon__pestana + .vt-cupon__pestana { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .vt-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root { --vt-alto: 66px; }
  body { font-size: 1rem; }
  .vt-logo__texto { display: none; }
  .vt-cabeza__ctas .vt-boton { padding: 0.5rem 1rem; font-size: 0.92rem; }
  .vt-hoja__lista { grid-template-columns: minmax(0, 1fr); }
  .vt-terna,
  .vt-mosaico,
  .vt-canales { grid-template-columns: minmax(0, 1fr); }
  .vt-terna > :last-child { grid-column: auto; }
  .vt-acciones .vt-boton,
  .vt-tramo > .vt-marco > .vt-boton,
  .vt-lado__cuerpo > .vt-boton { width: 100%; white-space: normal; }
  .vt-pantalla { padding: 6px; border-radius: 22px; }
  .vt-pantalla img { border-radius: 17px; }
}
