@charset "utf-8";
/* ============================================================================
   HeyTV Streaming — hoja de estilos única
   Sin frameworks, sin build. Mobile-first. Fuentes autoalojadas.
   ========================================================================= */

/* ---------- 1. Fuentes ---------------------------------------------------- */
/* Clash Display — titulares. General Sans — texto y UI. Plex Mono — acentos técnicos. */
@font-face {
  font-family: 'Clash Display';
  src: url('assets/fonts/clash-display-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('assets/fonts/clash-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/general-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/general-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/general-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/general-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('assets/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('assets/fonts/plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Tokens ----------------------------------------------------- */
:root {
  --bg:            #050507;
  --bg-2:          #08090E;
  --bg-3:          #0A0C13;
  --pink:          #E91458;
  --pink-soft:     #FF7FA8;
  --blue:          #29ABE2;
  --blue-soft:     #7FD8FF;
  --text:          #F2F4F7;
  --white:         #FFFFFF;
  --muted:         #A7B0BE;
  --dim:           #8B94A2;
  --faint:         #5E6875;
  --line:          rgba(255, 255, 255, .09);
  --line-strong:   rgba(255, 255, 255, .18);
  --card:          linear-gradient(158deg, rgba(255,255,255,.055), rgba(255,255,255,.012));

  --display: 'Clash Display', 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 26px;

  --shell: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

/* ---------- 3. Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;             /* clip (no hidden): no rompe position:sticky */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-soft); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; color: var(--white); }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* Salto al contenido */
.skip {
  position: absolute;
  left: 50%;
  top: -100px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 0 0 10px 10px;
  background: var(--pink);
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; color: var(--white); }

/* ---------- 4. Tipografía ------------------------------------------------- */
.t-display {
  font-family: var(--display);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.02em;
  font-size: clamp(2.6rem, 7.6vw, 4.6rem);
  line-height: .99;
}
.t-h2 {
  font-size: clamp(1.75rem, 5.2vw, 2.9rem);
  line-height: 1.04;
}
.t-h3 {
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  line-height: 1.14;
  letter-spacing: -.005em;
}
.kicker {
  display: block;
  margin-bottom: .9rem;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker--pink { color: var(--pink); }
.lead { font-size: clamp(1rem, 2.2vw, 1.19rem); line-height: 1.68; color: var(--muted); font-weight: 400; }
.note { font-size: .94rem; line-height: 1.7; color: var(--dim); }
.meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--faint); }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 5. Cabecera --------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(5, 5, 7, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}
.hdr-logo { flex-shrink: 0; display: flex; align-items: center; }
.hdr-logo img { width: 84px; height: auto; }

.nav-desk { display: none; }
.nav-link {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #9AA3B2;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--white); }

.hdr-actions { display: flex; align-items: center; gap: .6rem; }

.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(233, 20, 88, .55);
  border-radius: 999px;
  transition: border-color .2s;
}
.burger:hover { border-color: var(--pink); }
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 4px; }
[aria-expanded="true"] .burger-1 { transform: translateY(5.5px) rotate(45deg); }
[aria-expanded="true"] .burger-2 { opacity: 0; }
[aria-expanded="true"] .burger-3 { transform: translateY(-5.5px) rotate(-45deg); }

/* Panel móvil */
.nav-mob {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.5rem var(--gutter) 2.5rem;
  background: rgba(5, 5, 7, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.nav-mob.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-mob a {
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}
.nav-mob a:hover { color: var(--pink); }
body.nav-lock { overflow: hidden; }

/* Las reglas base de arriba van primero para que esta media query, que
   aparece después en el archivo, sea la que gane el empate de especificidad
   y oculte correctamente el burger/menú móvil en pantallas de escritorio. */
@media (min-width: 880px) {
  .nav-desk { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
  .burger { display: none; }
  .nav-mob { display: none; }
  .hdr-logo img { width: 100px; }
  .btn-live.btn-sm { padding: .85rem 1.35rem; }
}
@media (max-width: 400px) {
  .hdr-actions .btn-live.btn-sm { padding: .7rem .85rem; font-size: .68rem; }
}

/* ---------- 6. Botones ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }

.btn-live {
  background: linear-gradient(118deg, var(--pink) 0%, #FF3B7B 100%);
  color: var(--white);
  box-shadow: 0 12px 34px -14px rgba(233, 20, 88, .95);
}
.btn-live:hover { color: var(--white); box-shadow: 0 0 0 1px #FF4C86, 0 16px 44px -12px rgba(233, 20, 88, .9); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  color: #E8ECF2;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--white); box-shadow: 0 12px 34px -16px rgba(41, 171, 226, .9); }

.btn-sm { padding: .72rem 1.15rem; font-size: .76rem; letter-spacing: .1em; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem .95rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color .3s, color .3s, background .3s;
}
.chip:hover { border-color: rgba(41, 171, 226, .7); color: var(--white); background: rgba(41, 171, 226, .08); }

.arrow { flex-shrink: 0; }

/* Punto «en vivo» */
.dot {
  display: block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.72); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- 7. Secciones -------------------------------------------------- */
.sec { position: relative; padding-block: var(--section-y); }
.sec--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.sec--line { border-top: 1px solid var(--line); }

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.sec-head p { max-width: 42ch; }

@media (min-width: 860px) {
  .sec-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3.5rem;
  }
  .sec-head > div { max-width: 46rem; }
  .sec-head p { max-width: 22rem; text-align: left; }
}

/* ---------- 8. Hero ------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-side {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
}
/* La opacidad va en la foto, no en el contenedor: si no, los velos que la
   apagan quedan translúcidos y la imagen se come el titular. */
.hero-side img { opacity: .78; }
.hero-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,7,.6) 0%, rgba(5,5,7,.25) 30%, rgba(5,5,7,.55) 70%, var(--bg) 100%);
}
.hero-l { left: 0;  width: 62%; clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%); }
.hero-r { right: 0; width: 58%; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
.hero-l::before, .hero-r::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-l::before { background: linear-gradient(96deg,  rgba(5,5,7,.1) 0%, rgba(5,5,7,.5) 38%, rgba(5,5,7,.92) 76%, var(--bg) 100%); }
.hero-r::before { background: linear-gradient(276deg, rgba(5,5,7,.1) 0%, rgba(5,5,7,.5) 36%, rgba(5,5,7,.92) 78%, var(--bg) 100%); }

.hero-glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(1080px, 150vw);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(233, 20, 88, .2) 0%, rgba(233, 20, 88, .05) 52%, transparent 100%);
  pointer-events: none;
}
.hero-glow-2 {
  top: 26%;
  width: min(760px, 110vw);
  background: radial-gradient(closest-side, rgba(41, 171, 226, .2), transparent 100%);
}

.hero-in {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 4.2rem) clamp(3rem, 8vw, 5.75rem);
  text-align: center;
}
/* Halo oscuro fijo detrás del badge "en vivo" y el logo: en pantallas
   angostas las fotos laterales del fondo no siempre terminan de apagarse
   antes de llegar al centro, y el logo queda pegado visualmente a la foto.
   Este halo garantiza contraste sin depender del ancho de viewport. */
.hero-in::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -4%;
  transform: translateX(-50%);
  width: min(640px, 96vw);
  height: 58%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(5, 5, 7, .92) 0%, rgba(5, 5, 7, .6) 48%, transparent 78%);
  pointer-events: none;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.75rem;
  padding: .65rem 1.25rem;
  border: 1px solid rgba(233, 20, 88, .55);
  border-radius: 4px;
  background: rgba(233, 20, 88, .1);
  box-shadow: 0 0 40px -14px var(--pink);
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge-live .dot { color: var(--pink); }
.badge-live b { font-weight: 600; color: var(--pink); }
.badge-live i { display: block; width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }
.badge-live span { color: var(--muted); font-style: normal; }

.hero-logo { width: clamp(180px, 42vw, 280px); margin-bottom: 1.6rem; filter: drop-shadow(0 0 30px rgba(41, 171, 226, .45)); }
.hero h1 .pink { color: var(--pink); text-shadow: 0 0 40px rgba(233, 20, 88, .6); }
.hero h1 .blue { color: var(--blue); text-shadow: 0 0 40px rgba(41, 171, 226, .55); }

.hero-rule {
  width: clamp(140px, 30vw, 240px);
  height: 4px;
  margin: 1.6rem 0 1.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--white) 22%, var(--white) 78%, transparent);
  transform: skewX(-18deg);
  opacity: .85;
}
.hero-in .lead { max-width: 40ch; }
.hero-in .lead b { font-weight: 500; color: var(--white); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 2.2rem;
}
.hero-cta .btn { flex: 1 1 auto; min-width: 220px; }
.hero-micro { margin-top: 1.5rem; font-size: .82rem; letter-spacing: .04em; color: #79828F; }

@media (min-width: 720px) {
  .hero-cta .btn { flex: 0 0 auto; }
  .btn-live.btn-hero { padding: 1.25rem 2.4rem; font-size: 1.02rem; }
  .btn-ghost.btn-hero { padding: 1.25rem 2rem; font-size: 1.02rem; }
}

/* ---------- 9. Ticker ----------------------------------------------------- */
.ticker {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  min-height: 56px;
  border-top: 1px solid rgba(233, 20, 88, .35);
  border-bottom: 1px solid rgba(41, 171, 226, .25);
  background: linear-gradient(90deg, rgba(233, 20, 88, .14) 0%, rgba(5, 5, 7, .9) 40%, rgba(41, 171, 226, .12) 100%);
  overflow: hidden;
}
.ticker-tag {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
  padding-inline: 1.1rem;
  background: var(--pink);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-view { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  padding-left: 2.5rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #C3CBD6;
  white-space: nowrap;
  animation: tick 38s linear infinite;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-duration: 90s; } }

/* ---------- 10. Rejillas y carruseles ------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { gap: 1.5rem; }
}

/* Carrusel: scroll horizontal en móvil, rejilla en escritorio */
.rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-block: 2px .5rem;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 auto; scroll-snap-align: start; }
.rail-hint {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.rail > .card { width: min(82vw, 320px); }
@media (min-width: 860px) {
  .rail-hint { display: none; }
  .rail--grid5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .rail--grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .rail--grid5 > *, .rail--grid3 > * { width: auto !important; }
}

/* ---------- 11. Tarjetas -------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 20, 88, .5);
  box-shadow: 0 28px 60px -34px rgba(233, 20, 88, .7);
}
.card-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem 1.4rem 1.5rem; }
.card-media { position: relative; overflow: hidden; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.12); }

.card-cat {
  position: relative;
  gap: 1rem;
  padding: 1.6rem 1.4rem 1.4rem;
}
.card-cat:hover { border-color: var(--glow, var(--blue)); box-shadow: 0 26px 60px -34px var(--glow, var(--blue)); }
.card-cat .idx {
  position: absolute;
  top: 1.35rem;
  right: 1.4rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, .13);
  transition: color .4s;
}
.card-cat:hover .idx { color: var(--glow); }
.ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  color: var(--white);
  transition: color .4s, border-color .4s, box-shadow .4s;
}
.card-cat:hover .ico { color: var(--glow); border-color: var(--glow); box-shadow: 0 0 40px -8px var(--glow); }
.card-more {
  margin-top: auto;
  padding-top: .5rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--glow, var(--pink));
}

/* Etiqueta en vivo sobre miniatura */
.tag-live {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tag-date {
  display: inline-flex;
  padding: .35rem .7rem;
  border: 1px solid rgba(233, 20, 88, .34);
  border-radius: 6px;
  background: rgba(233, 20, 88, .14);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pink-soft);
}
.tag-date--blue { border-color: rgba(41, 171, 226, .34); background: rgba(41, 171, 226, .14); color: var(--blue-soft); }
.tag-region { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7C8695; }

/* Programa destacado */
.feature { display: grid; grid-template-columns: 1fr; }
.feature .card-media { aspect-ratio: 16 / 10; }
.feature-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.5rem 2rem; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1.05fr 1fr; }
  .feature .card-media { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .feature-body { justify-content: center; padding: 2.75rem 3rem; }
}

/* ---------- 12. Espacios pendientes de material --------------------------- */
.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem;
  border: 1px dashed rgba(41, 171, 226, .45);
  border-radius: var(--r-md);
  background-color: var(--bg-3);
  background-image: repeating-linear-gradient(135deg, rgba(41, 171, 226, .06) 0 2px, transparent 2px 12px);
  overflow: hidden;
}
.slot--pink {
  border-color: rgba(233, 20, 88, .45);
  background-image: repeating-linear-gradient(135deg, rgba(233, 20, 88, .07) 0 2px, transparent 2px 12px);
}
.slot--flat { border-radius: 0; border-width: 0 0 1px; }
.slot-spec {
  align-self: flex-start;
  padding: .3rem .55rem;
  border: 1px solid rgba(41, 171, 226, .34);
  border-radius: 5px;
  background: rgba(41, 171, 226, .14);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-soft);
  white-space: nowrap;
}
.slot--pink .slot-spec { border-color: rgba(233, 20, 88, .34); background: rgba(233, 20, 88, .14); color: var(--pink-soft); }
.slot-mid {
  position: absolute;
  left: 50%;
  top: 44%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.slot-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #6E7A8A;
}
.slot-flag {
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.slot-foot { position: relative; display: flex; flex-direction: column; gap: .4rem; }
.slot-title { font-weight: 700; font-size: .84rem; line-height: 1.16; text-transform: uppercase; color: #E8ECF2; }
.slot-note { font-family: var(--mono); font-size: .66rem; line-height: 1.55; color: #8A94A4; }

/* Modo guía: el equipo ve la ficha técnica; el visitante, sólo «Próximamente». */
.slot-spec, .slot-note, .slot-title { display: none; }
.slot-soon {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
body.guia .slot-spec { display: inline-block; }
body.guia .slot-note, body.guia .slot-title { display: block; }
body.guia .slot-soon { display: none; }
body.guia .slot-flag { display: block; }
.slot-flag { display: none; }

.guia-toggle {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 12, 19, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .9);
}
.guia-toggle:hover { border-color: var(--blue); color: var(--white); }
.guia-toggle i { width: 7px; height: 7px; border-radius: 999px; background: var(--faint); }
body.guia .guia-toggle i { background: var(--blue); box-shadow: 0 0 10px var(--blue); }

/* Proporciones de espacio */
.slot--916 { aspect-ratio: 9 / 16; }
.slot--169 { aspect-ratio: 16 / 9; }
.slot--11  { aspect-ratio: 1 / 1; }

/* ---------- 13. Clips ----------------------------------------------------- */
.clip-card { width: 168px; }
@media (min-width: 560px) { .clip-card { width: 200px; } }

.tags-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(41, 171, 226, .07), rgba(255, 255, 255, .012));
}
.tags-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags-lbl { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
@media (min-width: 860px) {
  .tags-box { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
  .tags-box > div:first-child { display: flex; flex-direction: column; gap: .9rem; }
}

/* ---------- 14. Cobertura ------------------------------------------------- */
.cover-wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .cover-wrap { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.stats { display: flex; gap: 1rem; margin-block: 1.5rem; }
.stat {
  flex: 1;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(233, 20, 88, .1), rgba(255, 255, 255, .015));
}
.stat:last-child { background: linear-gradient(150deg, rgba(41, 171, 226, .1), rgba(255, 255, 255, .015)); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1; letter-spacing: -.02em; color: var(--white); }
.stat span { display: block; margin-top: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.map { position: relative; display: grid; place-items: center; }
.map svg { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 0 40px rgba(41, 171, 226, .28)); }
.map-halo {
  position: absolute;
  inset: 8% 0;
  background: radial-gradient(closest-side, rgba(233, 20, 88, .16), transparent 100%);
  pointer-events: none;
}
.ring { animation: ring 2.6s ease-out infinite; transform-origin: center; }
@keyframes ring { 0% { r: 6; opacity: .75; } 100% { r: 34; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; opacity: .4; } }

/* ---------- 15. Agenda ---------------------------------------------------- */
.list-box {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .018);
  overflow: hidden;
}
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .02);
}
.list-head b { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.list-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: .25rem 1rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .25s;
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: rgba(255, 255, 255, .025); }
.list-row time { font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--pink); }
.list-row .ttl { font-size: .94rem; font-weight: 600; color: #E8ECF2; }
.list-row .rgn { grid-column: 2; font-size: .8rem; color: var(--dim); }
.list-row .sts { grid-column: 2; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.list-row .sts--wait { color: var(--faint); }
@media (min-width: 760px) {
  .list-row { grid-template-columns: 96px 1fr 150px 160px; align-items: center; gap: 1.5rem; }
  .list-row .rgn, .list-row .sts { grid-column: auto; }
  .list-row .sts { text-align: right; }
}

/* ---------- 16. Mosaico --------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.mosaic > * { min-height: 128px; }
.m-big { grid-column: span 2; }
.mosaic-photo { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; height: 100%; }
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .5s; }
.mosaic-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 7, .55) 100%); pointer-events: none; }
.mosaic-photo:hover img { transform: scale(1.06); filter: saturate(1.12); }
@media (min-width: 720px) {
  .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 168px; gap: 1rem; }
  .mosaic > * { min-height: 0; }
  .m-big { grid-column: auto; }   /* se anula antes de repartir la rejilla */
  .m-1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .m-2 { grid-column: 3 / span 1; grid-row: 1 / span 2; }
  .m-3 { grid-column: 4 / span 2; grid-row: 1; }
  .m-4 { grid-column: 6 / span 1; grid-row: 1 / span 2; }
  .m-5 { grid-column: 4 / span 2; grid-row: 2; }
  .m-6 { grid-column: 1 / span 2; grid-row: 3; }
  .m-7 { grid-column: 3 / span 2; grid-row: 3; }
  .m-8 { grid-column: 5 / span 2; grid-row: 3; }
}

/* ---------- 17. Redes ----------------------------------------------------- */
.social-h2 {
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  text-align: center;
  background: linear-gradient(102deg, var(--blue) 0%, var(--white) 48%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.social {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .02);
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}
.social:hover {
  transform: translateY(-4px);
  border-color: var(--glow, var(--blue));
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 20px 44px -26px var(--glow, var(--blue));
}
.social-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, .05);
  color: #E4E9EF;
  transition: color .35s;
}
.social:hover .social-ico { color: var(--glow, var(--blue)); }
.social b { display: block; font-size: .94rem; font-weight: 700; color: var(--white); }
.social span { display: block; font-size: .78rem; color: var(--dim); }

/* ---------- 18. Participa (formularios) ----------------------------------- */
.form-card { padding: 1.6rem 1.5rem 1.75rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  font-size: .94rem;
  transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #667081; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(41, 171, 226, .05);
}
.field textarea { min-height: 88px; resize: vertical; }
.form-legal { margin-top: .9rem; font-size: .74rem; line-height: 1.6; color: var(--faint); }
.form-msg {
  margin-top: .9rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(41, 171, 226, .4);
  border-radius: 10px;
  background: rgba(41, 171, 226, .08);
  font-size: .86rem;
  color: var(--blue-soft);
}
.form-msg[hidden] { display: none; }

/* ---------- 19. FAQ ------------------------------------------------------- */
.faq { display: grid; gap: 0 3.5rem; }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.faq details {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  margin-left: auto;
  margin-top: .35rem;
  border-right: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary i {
  flex-shrink: 0;
  margin-top: .15rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  font-style: normal;
  color: var(--pink);
}
.faq p { margin-top: .7rem; padding-left: 2rem; font-size: .92rem; line-height: 1.68; color: #949DAB; }

/* ---------- 20. CTA final ------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: .32; }
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(94deg, var(--bg) 22%, rgba(5, 5, 7, .88) 55%, rgba(5, 5, 7, .4) 100%);
}
.cta-in { position: relative; z-index: 2; max-width: 46rem; padding-block: clamp(3.5rem, 9vw, 7rem); }
.cta-in h2 { font-size: clamp(2rem, 6.4vw, 3.5rem); line-height: .99; }

/* ---------- 21. Hub de enlaces -------------------------------------------- */
.hub { padding-block: clamp(2.75rem, 6vw, 4.5rem); border-top: 1px solid rgba(255, 255, 255, .07); }
.hub-head {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
}
.hub-head h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); }
.hub-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (min-width: 860px) {
  .hub-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .hub-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
}
.hub-col b {
  display: block;
  margin-bottom: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
}
.hub-col:nth-child(even) b { color: var(--blue); }
.hub-col li { margin-bottom: .75rem; }
.hub-col a {
  font-size: .85rem;
  font-weight: 300;
  color: var(--dim);
  transition: color .25s, padding-left .25s var(--ease);
}
.hub-col a:hover { color: var(--white); padding-left: 5px; }

/* ---------- 22. Pie ------------------------------------------------------- */
.ftr { padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; border-top: 1px solid var(--line); background: var(--bg); }
.ftr-top { display: grid; gap: 2.25rem; margin-bottom: 2.25rem; }
@media (min-width: 860px) { .ftr-top { grid-template-columns: 1.4fr 1fr 1fr auto; gap: 3rem; } }
.ftr img { width: 116px; margin-bottom: 1rem; }
.ftr-col b {
  display: block;
  margin-bottom: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}
.ftr-col li { margin-bottom: .7rem; }
.ftr-col a, .ftr-col span { font-size: .87rem; font-weight: 300; color: var(--dim); }
.ftr-col a:hover { color: var(--white); }
.ftr-social { display: flex; gap: .6rem; }
.ftr-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  color: #9AA3B2;
  transition: color .3s, border-color .3s, transform .3s var(--ease);
}
.ftr-social a:hover { color: var(--white); border-color: var(--blue); transform: translateY(-3px); }
.ftr-bot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .78rem;
  font-weight: 300;
  color: var(--faint);
}
.ftr-bot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ftr-bot a { color: var(--faint); }
.ftr-bot a:hover { color: var(--text); }
@media (min-width: 860px) {
  .ftr-bot { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- 23. Aparición al hacer scroll --------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Defensa: si el JS no corre o llega cacheado viejo, nada queda invisible. */
.no-js .reveal, .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 24. Utilidades ------------------------------------------------ */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.pink { color: var(--pink); }
.blue { color: var(--blue); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- 25. Páginas internas ------------------------------------------ */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1.25rem 0; font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--white); }

.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1; }
.page-head .lead { margin-top: 1rem; max-width: 46ch; }

.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.15rem; font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.prose h2 { margin: 2.25rem 0 .9rem; font-size: clamp(1.3rem, 3.4vw, 1.65rem); }
.prose ul { margin-bottom: 1.15rem; }
.prose li { margin-bottom: .6rem; padding-left: 1.1rem; position: relative; color: var(--muted); }
.prose li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 999px; background: var(--pink); }
