/* ==========================================================================
   Ruta 66 Televisión — estilos del sitio público
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #446bb1;
  --blue-600: #34589a;
  --blue-700: #243f78;
  --blue-50: #eef3fb;
  --red: #d4202d;
  --red-600: #b3141f;
  --red-glow: rgba(212, 32, 45, .45);

  --night: #080d1a;
  --night-2: #0e1628;
  --night-3: #16213b;
  --night-line: rgba(255, 255, 255, .08);

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fc;
  --card: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 60px -20px rgba(8, 13, 26, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 32px); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* --------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px var(--red-glow); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--red); }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .38em .9em; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); font-size: .82rem; font-weight: 600; white-space: nowrap;
}
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip--live { background: var(--red); border-color: var(--red); color: #fff; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .4em;
}
.eyebrow--light { color: #ff6b75; }

.dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s infinite; flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 13, 26, .86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--night-line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { border-radius: 12px; }
.brand__text { display: inline-flex; align-items: baseline; gap: 4px; font-size: 1.3rem; letter-spacing: -.02em; }
.brand__text b { font-weight: 900; }
.brand__text .red { color: #ff4b57; }
.brand__text span { font-weight: 500; opacity: .75; font-size: .9em; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; color: rgba(255, 255, 255, .72); font-weight: 600; font-size: .93rem;
  padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red);
}
.btn-live {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .08em;
  box-shadow: 0 8px 22px -8px var(--red-glow);
}
.btn-live:hover { background: var(--red-600); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .close { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .btn-live { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--night); padding: 8px 16px 20px; border-bottom: 1px solid var(--night-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--night-line); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: #ff6b75; }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle .open { display: none; }
  body.nav-open .nav-toggle .close { display: block; }
}
@media (max-width: 420px) { .brand__text { display: none; } }

/* --------------------------------------------------------------- flashes */
.flashes { margin-top: 16px; display: grid; gap: 8px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.flash--success { background: #e8f7ee; color: #146c3b; }
.flash--error { background: #fdecee; color: #a0141f; }
.flash--info { background: var(--blue-50); color: var(--blue-700); }

/* --------------------------------------------------------------- player */
.player {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); isolation: isolate;
}
.player__media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.player__offline { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255, 255, 255, .7); text-align: center; padding: 20px; }
.player__offline .icon { width: 48px; height: 48px; }
.player-fallback { display: flex; justify-content: flex-end; margin-top: 8px; font-size: .82rem; }
.player-fallback a, .player-fallback button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--night-2); color: rgba(255, 255, 255, .85); font: inherit; font-weight: 600; cursor: pointer; }
.player-fallback a:hover, .player-fallback button:hover, .player-fallback button:focus-visible { background: var(--night); color: #fff; }
.player__notice { position: absolute; left: 12px; bottom: 56px; z-index: 2; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .8rem; pointer-events: none; }
.badge-live {
  position: absolute; top: 14px; left: 14px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px;
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
}

/* --------------------------------------------------------------- hero en vivo */
.hero-live {
  position: relative; color: #fff; padding: 36px 0 48px;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(68, 107, 177, .45), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(212, 32, 45, .28), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  overflow: hidden;
}
.hero-live__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.hero-live__caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.hero-live__caption h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 4px; }
.hero-live__caption h1 span { color: #ff4b57; }
.hero-live__caption p { margin: 0; color: rgba(255, 255, 255, .7); }
.hero-live__side { display: grid; gap: 16px; }

.onair {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--night-line); border-radius: var(--radius); padding: 18px;
  color: #fff;
}
.onair__label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ff6b75; }
.onair__label .dot { color: #ff4b57; width: 8px; height: 8px; }
.onair__label--next { color: rgba(255, 255, 255, .55); margin: 18px 0 8px; }
.onair__now { display: flex; gap: 14px; align-items: center; color: #fff; }
.onair__now:hover { color: #fff; }
.onair__now img { width: 96px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; flex: none; background: var(--night-3); }
.onair__now strong { display: block; font-size: 1.08rem; line-height: 1.25; }
.onair__now span, .onair__next span { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.onair__next { display: flex; flex-direction: column; color: #fff; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.onair__next:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.onair__empty { color: rgba(255, 255, 255, .7); margin: 0; }
.progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 14px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #ff6b75); border-radius: 4px; transition: width .6s var(--ease); }

.today {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line);
  border-radius: var(--radius); padding: 18px; color: #fff;
}
.today__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.today__head h2 { font-size: 1rem; margin: 0; }
.today__head a { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 4px; }
.today__head a:hover { color: #fff; }
.today__list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.today__list li { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 8px; font-size: .92rem; }
.today__list li + li { border-top: 1px solid var(--night-line); }
.today__list time { width: 70px; flex: none; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; font-size: .84rem; }
.today__list a { color: inherit; flex: 1; font-weight: 600; }
.today__list a:hover { color: #ff6b75; }
.today__list li.is-live { background: rgba(212, 32, 45, .16); border-color: transparent; }
.today__list li.is-live time { color: #ff9aa1; }
.today__list .empty { color: rgba(255, 255, 255, .6); }

.today--light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.today--light .today__head a { color: var(--blue); }
.today--light .today__list li + li { border-top-color: var(--line); }
.today--light .today__list time { color: var(--muted); }
.today--light .today__list a:hover { color: var(--red); }
.today--light .today__list li.is-live { background: #fdecee; }
.today--light .today__list li.is-live time { color: var(--red); }

@media (max-width: 1024px) {
  .hero-live__grid { grid-template-columns: 1fr; }
  .hero-live__side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero-live { padding: 16px 0 32px; }
  .hero-live .container { width: 100%; }
  .hero-live .player { border-radius: 0; }
  .hero-live__caption, .hero-live__side { padding-inline: 16px; }
  .hero-live__caption { flex-direction: column; align-items: flex-start; }
  .hero-live__side { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- secciones */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section-head--center { justify-content: center; text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.link-more .icon { transition: transform .2s var(--ease); }
.link-more:hover .icon { transform: translateX(3px); }

.page-hero {
  color: #fff; padding: 64px 0 56px;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(212, 32, 45, .3), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(68, 107, 177, .5), transparent 60%),
    var(--night);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 10px; max-width: 18ch; }
.page-hero p { color: rgba(255, 255, 255, .72); font-size: 1.1rem; margin: 0; max-width: 60ch; }
.page-hero--about h1 { max-width: 22ch; }

.empty-state { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 16px; color: var(--muted); grid-column: 1 / -1; }
.empty-state .icon { width: 40px; height: 40px; opacity: .5; }

/* --------------------------------------------------------------- slider */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--night); aspect-ratio: 21 / 8; }
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(20px, 5vw, 56px); color: #fff;
  background: linear-gradient(90deg, rgba(8, 13, 26, .85) 0%, rgba(8, 13, 26, .35) 55%, transparent 100%);
}
.slide h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); margin: 0 0 6px; max-width: 16ch; }
.slide p { color: rgba(255, 255, 255, .8); max-width: 46ch; margin-bottom: 18px; }
.slider__btn {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); transition: background .2s;
}
.slider__btn:hover { background: rgba(255, 255, 255, .28); }
.slider__btn--prev { left: 14px; }
.slider__btn--next { right: 14px; }
.slider__dots { position: absolute; z-index: 3; right: 22px; bottom: 20px; display: flex; gap: 6px; }
.slider__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: width .3s var(--ease), background .3s; }
.slider__dots button.is-active { width: 26px; background: #fff; }
@media (max-width: 680px) {
  .slider { aspect-ratio: 4 / 3; }
  .slider__btn { display: none; }
  .slide figcaption { background: linear-gradient(0deg, rgba(8, 13, 26, .9) 0%, rgba(8, 13, 26, .2) 70%); }
}

/* --------------------------------------------------------------- grids y tarjetas */
.grid { display: grid; gap: 22px; }
.grid--programs { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--news { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--episodes { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.program-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.program-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-50); }
.program-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.program-card:hover .program-card__media img { transform: scale(1.04); }
.program-card__body { padding: 16px 18px 18px; }
.program-card__body .eyebrow { font-size: .68rem; margin-bottom: .3em; }
.program-card h3 { font-size: 1.08rem; margin: 0 0 6px; }
.program-card__time { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); margin: 0; }
.program-card__desc { font-size: .9rem; color: var(--ink-2); margin: 8px 0 0; }

.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.news-layout__list { display: grid; gap: 14px; }
.news-layout__list .news-card__link { flex-direction: row; }
.news-layout__list .news-card__media { width: 38%; flex: none; aspect-ratio: 4 / 3; }
.news-layout__list .news-card__media .chip { display: none; }
.news-layout__list .news-card__body { padding: 12px 16px; }
.news-layout__list h3 { font-size: 1rem; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }

.news-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.news-card__link:hover { color: var(--ink); }
.news-card__link:hover h3 { color: var(--blue); }
.news-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-50); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media .chip { position: absolute; left: 12px; top: 12px; }
.news-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 1.08rem; margin: 0 0 8px; transition: color .2s; }
.news-card p { color: var(--ink-2); font-size: .95rem; }
.news-card .meta { margin: auto 0 0; color: var(--muted); font-size: .82rem; display: flex; align-items: center; gap: 6px; }
.news-card--lead h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.news-card--lead .news-card__body { padding: 22px 24px 24px; }
.news-lead { margin-bottom: 26px; }
.news-card--wide .news-card__link { display: grid; grid-template-columns: 1.3fr 1fr; }
.news-card--wide .news-card__media { aspect-ratio: auto; min-height: 320px; }
.news-card--wide .news-card__body { justify-content: center; }
@media (max-width: 820px) {
  .news-card--wide .news-card__link { display: flex; }
  .news-card--wide .news-card__media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------- CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 52px); border-radius: calc(var(--radius) + 6px); color: #fff;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(120deg, var(--blue-700), var(--blue) 55%, #5a82c9);
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 6px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------- en vivo */
.live-page { background: linear-gradient(180deg, var(--night) 0, var(--night) 420px, var(--bg) 420px); padding: 32px 0 64px; }
.live-page__head { color: #fff; margin-bottom: 20px; }
.live-page__head h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 4px; }
.live-page__head h1 .dot { color: var(--red); width: 12px; height: 12px; }
.live-page__head p { color: rgba(255, 255, 255, .65); margin: 0; }
.live-page__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; margin-top: 24px; align-items: start; }
.live-page .onair { background: var(--night-2); }
.share-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.share-card h2 { font-size: 1.05rem; margin: 0 0 4px; }
.share-card p { color: var(--muted); font-size: .92rem; }
.share, .social { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s, transform .2s;
}
.share a:hover, .social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.share-card .social { margin-top: 12px; }
@media (max-width: 1024px) { .live-page__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .live-page__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- programa */
.program-hero {
  color: #fff; padding: 48px 0;
  background: radial-gradient(700px 400px at 0% 0%, rgba(68, 107, 177, .5), transparent 60%), var(--night);
}
.program-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.program-hero__art img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--night-3); }
.program-hero__info h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
.program-hero__time, .program-hero__host { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-weight: 600; margin-bottom: 8px; }
.program-hero__desc { color: rgba(255, 255, 255, .72); margin-top: 16px; }
.program-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .6); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.back:hover { color: #fff; }
@media (max-width: 820px) { .program-hero__grid { grid-template-columns: 1fr; gap: 24px; } }

.episode-player { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 28px; margin-bottom: 56px; align-items: start; }
.episode-player__meta h2 { font-size: 1.5rem; }
@media (max-width: 900px) { .episode-player { grid-template-columns: 1fr; } }

.episode-card { display: block; color: var(--ink); background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.episode-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.episode-card.is-active { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.episode-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--night-3); }
.episode-card__media img { width: 100%; height: 100%; object-fit: cover; }
.episode-card__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 13, 26, .25); color: #fff; opacity: .9; transition: background .2s; }
.episode-card__play .icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--red); fill: #fff; stroke: none; }
.episode-card:hover .episode-card__play { background: rgba(8, 13, 26, .45); }
.episode-card__body { padding: 12px 14px 14px; }
.episode-card__body h3 { font-size: .98rem; margin: 2px 0 0; }
.meta { color: var(--muted); font-size: .82rem; }

/* --------------------------------------------------------------- programación */
.day-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 24px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; }
.day-tabs button { position: relative; border: 0; background: none; border-radius: 11px; padding: 12px 6px; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s; }
.day-tabs button:hover { background: var(--bg); }
.day-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.day-tabs small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.day-tabs button[aria-selected="true"] small { color: #ff8a92; }
.day-tabs .short { display: none; }
@media (max-width: 720px) { .day-tabs .full { display: none; } .day-tabs .short { display: inline; } .day-tabs button { padding: 10px 2px; font-size: .88rem; } }

.schedule { display: grid; gap: 10px; }
.schedule__row {
  display: grid; grid-template-columns: 110px 120px 1fr auto 24px; align-items: center; gap: 18px;
  padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.schedule__row:hover { color: var(--ink); border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.schedule__row.is-live { border-color: var(--red); background: linear-gradient(90deg, #fff4f5, #fff 60%); }
.schedule__time strong { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.schedule__time span { font-size: .82rem; color: var(--muted); }
.schedule__row img { width: 120px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--blue-50); }
.schedule__info h3 { font-size: 1.05rem; margin: 0 0 2px; }
.schedule__info p { margin: 0; color: var(--muted); font-size: .88rem; }
.schedule__arrow { color: var(--muted); }
@media (max-width: 680px) {
  .schedule__row { grid-template-columns: 76px 1fr auto; gap: 12px; padding: 12px; }
  .schedule__row img, .schedule__arrow { display: none; }
}

/* --------------------------------------------------------------- artículo */
.article__head { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; margin-bottom: 16px; color: var(--muted); }
.breadcrumbs .icon { width: 14px; height: 14px; }
.article__head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.03em; }
.article__lead { font-size: 1.2rem; color: var(--ink-2); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; margin: 0; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 36px 0 64px; }
.article__figure { margin: 0 0 28px; }
.article__figure img { width: 100%; border-radius: var(--radius); }
.prose { font-size: 1.1rem; line-height: 1.8; color: #1e293b; }
.prose p { margin-bottom: 1.2em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.share--row { align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.share--row span { font-weight: 700; margin-right: 6px; }
.article__aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.article__aside h2 { font-size: 1.1rem; }
.latest { list-style: none; counter-reset: n; margin: 0 0 20px; padding: 0; }
.latest li { counter-increment: n; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest li::before { content: counter(n); font-weight: 900; font-size: 1.4rem; color: var(--line); line-height: 1; min-width: 20px; }
.latest a { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.latest a:hover { color: var(--blue); }
.latest .eyebrow { display: block; font-size: .65rem; }
.live-mini { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: var(--radius-sm); background: var(--night); color: #fff; font-weight: 700; }
.live-mini:hover { color: #fff; background: var(--night-3); }
.live-mini .dot { color: var(--red); }
.live-mini .icon { margin-left: auto; }
@media (max-width: 960px) { .article__layout { grid-template-columns: 1fr; } .article__aside { position: static; } }

/* --------------------------------------------------------------- nosotros */
.about-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.about-intro p { color: var(--ink-2); font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stats strong { display: block; font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; color: var(--blue); line-height: 1.1; }
.stats div:nth-child(2) strong, .stats div:nth-child(3) strong { color: var(--red); }
.stats span { color: var(--muted); font-weight: 600; font-size: .9rem; }
@media (max-width: 820px) { .about-intro { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--red)); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 32px; padding: 14px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 64px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline__year { font-weight: 900; color: var(--blue); padding-top: 12px; font-size: 1.05rem; }
.timeline li div { background: var(--bg); border-radius: var(--radius-sm); padding: 16px 20px; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-2); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 64px; }
.mv-card { padding: 32px; border-radius: var(--radius); color: #fff; background: linear-gradient(140deg, var(--blue-700), var(--blue)); box-shadow: var(--shadow); }
.mv-card--red { background: linear-gradient(140deg, #8f0f18, var(--red)); }
.mv-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .15); margin-bottom: 16px; }
.mv-card__icon .icon { width: 26px; height: 26px; }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { color: rgba(255, 255, 255, .85); margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); margin-bottom: 12px; }
.value h3 { font-size: 1.1rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- contacto y formularios */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.info-card > span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.info-card h3 { font-size: 1rem; margin: 0 0 2px; }
.info-card p { margin: 0; color: var(--ink-2); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 16px; }
.span-2 { grid-column: span 2; }
.field label { display: inline-block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink-2); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(68, 107, 177, .15); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.field__error { color: var(--red); font-size: .84rem; margin: 6px 0 0; }
.check { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--ink-2); font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } .map { aspect-ratio: 4 / 3; } }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* --------------------------------------------------------------- paginación */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; font-weight: 700; }
.pagination a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--ink); color: #fff; }
.pagination .gap { color: var(--muted); }

/* --------------------------------------------------------------- error */
.error-page { text-align: center; padding: 96px 0; }
.error-page__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; margin: 0; background: linear-gradient(120deg, var(--blue), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page p { color: var(--muted); }
.error-page__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0 20px; max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: .25em; color: #ff6b75; }
.site-footer .social a { background: rgba(255, 255, 255, .07); color: #fff; }
.site-footer .social a:hover { background: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--night-line); padding: 20px 0; font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Contador público de espectadores */
.viewer-count { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: .88rem; font-weight: 600; }
.viewer-count .dot { color: #ff4b57; width: 8px; height: 8px; }
.viewer-count b { font-variant-numeric: tabular-nums; }
