/* ============================================
   EL SEIS (Canal 6) — Main Stylesheet
   Mobile-first · NBC-quality design
   v3 — Feb 2026
   ============================================ */

/* --- Variables --- */
:root {
  --gold-deep: #CE7A23;
  --gold: #F5B324;
  --gold-bright: #FFDA27;
  --amber: #ECAA00;
  --black: #0A0A0A;
  --navy: #1B2E6E;
  --red: #E63946;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F0F0F0;
  --gray-200: #E5E7EB;
  --gray-600: #6B7280;
  --gray-900: #111827;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 36px rgba(0,0,0,.18);
  --shadow-card: 0 4px 16px rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.1);
  --shadow-card-hover: 0 12px 36px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.12);
  --radius: 10px;
  --radius-lg: 14px;
}

/* --- Reset + Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 1.55vw, 1.35rem); }
p { font-size: .98rem; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  height: 64px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
#header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-brand img {
  height: 44px;
  width: auto;
}
#header .desktop-nav { display: flex; align-items: center; gap: 28px; }
#header .desktop-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: color .2s;
  white-space: nowrap;
  position: relative;
}
#header .desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
#header .desktop-nav a:hover { color: var(--white); }
#header .desktop-nav a:hover::after { width: 100%; }
#header .desktop-nav a.active { color: var(--gold); }
#header .desktop-nav a.active::after { width: 100%; }
#header .desktop-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}
#header .desktop-nav a.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
}
#header .desktop-nav a.nav-live::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(245, 179, 36, .35);
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--black);
  flex-direction: column;
  padding: 16px 24px 28px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s, opacity .3s;
  z-index: 1100;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: .5px;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu a.nav-live { color: var(--red); }

@media (max-width: 767px) {
  #header {
    height: 56px;
  }
  .header-brand img {
    height: 38px;
  }
  .container {
    padding: 0 14px;
  }
  .hamburger { display: flex; }
  #header .desktop-nav { display: none !important; }
  .mobile-menu {
    top: 56px;
    display: flex;
  }
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ============================================
   NOW BAR
   ============================================ */
.now-bar {
  background: var(--black);
  border-top: 1px solid rgba(245,179,36,.55);
  border-bottom: 1px solid rgba(245,179,36,.4);
  padding: 10px 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 14px;
  font-size: .82rem;
  color: var(--gray-200);
}
.now-bar-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.now-bar-title {
  color: var(--white);
  font-size: .84rem;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.now-bar-time {
  color: var(--gray-600);
  white-space: nowrap;
}
.now-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  justify-self: end;
  white-space: nowrap;
  transition: color .2s ease;
}
.now-bar-link:hover { color: var(--gold); }

@media (max-width: 767px) {
  .now-bar {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 8px 14px;
    gap: 6px 10px;
    font-size: .76rem;
  }
  .now-bar-label {
    grid-column: 1;
  }
  .now-bar-time {
    grid-column: 2;
    justify-self: end;
    font-size: .72rem;
  }
  .now-bar-title {
    grid-column: 1 / -1;
    white-space: normal;
    font-size: .78rem;
    line-height: 1.35;
  }
  .now-bar-link {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: .74rem;
  }
}

/* ============================================
   HERO PLAYER
   ============================================ */
#hero-live {
  background: var(--black);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Now playing bar below player */
.hero-live-now-playing {
  width: 100%;
  background: var(--black);
  border-top: 2px solid var(--gold);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-live-now-playing .np-label {
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.hero-live-now-playing .np-divider { color: rgba(255,255,255,.2); }
#np-title { color: var(--white); font-size: .85rem; font-weight: 600; }
.np-time { color: var(--gray-600); font-size: .8rem; margin-left: auto; }

/* ============================================
   SECTIONS
   ============================================ */
.section-light {
  background: var(--white);
  padding: 64px 0;
}
.section-light:nth-child(even) { background: var(--gray-50); }
.section-alt {
  background: #EBEDF0;
  padding: 64px 0;
}
@media (min-width: 768px) {
  .section-alt { padding: 76px 0; }
}
.section-dark {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
}
@media (min-width: 768px) {
  .section-light, .section-dark { padding: 76px 0; }
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 38px;
  padding-bottom: 16px;
  display: inline-block;
  letter-spacing: 1px;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}
.section-dark .section-title {
  color: var(--white);
}
@media (min-width: 768px) {
  .section-title { font-size: 1.9rem; margin-bottom: 46px; }
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 24px;
    align-items: start;
  }
  .news-grid .news-card.featured {
    grid-row: span 3;
  }
}

/* News Cards */
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-grid .news-card:not(.featured) {
  min-height: 410px;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  border-color: rgba(245,179,36,.2);
}
.news-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-100);
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-card-image img {
  transform: scale(1.06);
}
.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card .category-tag {
  margin-bottom: 10px;
}
.news-card-headline {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--gray-900);
}
.news-card-date {
  font-size: .78rem;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.news-card-excerpt {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s, gap .2s;
}
.read-more::after {
  content: '→';
  transition: transform .2s;
}
.news-card:hover .read-more { color: var(--gold); }
.news-card:hover .read-more::after { transform: translateX(4px); }

/* Featured card */
.news-card.featured .news-card-image { aspect-ratio: 4/3; }
.news-card.featured .news-card-headline { font-size: 1.3rem; }
@media (min-width: 768px) {
  .news-card.featured .news-card-headline { font-size: 1.6rem; }
  .news-card.featured .news-card-image {
    aspect-ratio: 16/9;
    min-height: 280px;
    flex: 0 0 auto;
  }
  .news-card.featured .news-card-body { padding: 22px; }
  .news-card.featured .news-card-excerpt { flex: 0 0 auto; }
  .news-card.featured .read-more { margin-top: 12px; }
}
.section-dark .news-card { background: var(--gray-900); }
.section-dark .news-card-headline { color: var(--white); }

/* ============================================
   SHOWS CAROUSEL
   ============================================ */
.shows-carousel .swiper-slide { height: auto; }
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.show-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.show-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.show-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.show-card:hover img { transform: scale(1.08); }
.show-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 72px 16px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 8%, rgba(0,0,0,.95) 100%);
}
.show-card-name {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  font-size: 1.08rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.show-card-host {
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  margin-top: 6px;
  display: block;
  line-height: 1.35;
  text-transform: none;
}
.show-card-host--time {
  color: var(--gold);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .25px;
  margin-top: 4px;
  text-transform: uppercase;
}
.show-card-category {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
  letter-spacing: .5px;
}
.show-card-schedule {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  margin-top: 3px;
}
.shows-page .show-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 18%, rgba(0,0,0,.93) 100%);
  padding: 56px 16px 16px;
}
.shows-page .show-card-name {
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .homepage-shows .show-card {
    min-width: 280px;
  }
}
@media (min-width: 1480px) {
  .homepage-shows .container {
    max-width: 1460px;
  }
}

/* Mobile: 2 visible cards */
@media (max-width: 767px) {
  .shows-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .homepage-shows .show-card {
    min-width: 0;
  }
  .swiper-button-next,
  .swiper-button-prev { display: none !important; }
  .shows-page .shows-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .shows-page .show-card {
    aspect-ratio: 16/9;
  }
  .shows-page .show-card-schedule {
    font-size: .78rem;
  }
}
/* Swiper nav */
.shows-carousel .swiper-button-next,
.shows-carousel .swiper-button-prev { color: var(--gold); }
.shows-carousel .swiper-pagination-bullet-active { background: var(--gold); }

/* ============================================
   SCHEDULE
   ============================================ */
.day-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}
.day-btn {
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  background: transparent;
  color: var(--gray-900);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
  letter-spacing: .3px;
}
.section-dark .day-btn {
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
}
.day-btn.active,
.day-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Schedule list — supports BOTH .schedule-slot (server) and .slot (client JS) */
.schedule-slot,
.slot {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 16px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: background .2s, border-color .2s;
  border-left: 3px solid transparent;
  background: var(--gray-50);
}
.schedule-slot:nth-child(even),
.slot:nth-child(even) {
  background: var(--white);
}
.schedule-slot:nth-child(odd),
.slot:nth-child(odd) {
  background: var(--gray-50);
}
.schedule-slot:hover,
.slot:hover {
  background: rgba(245,179,36,.06);
  border-left-color: var(--gold);
}
.section-dark .schedule-slot,
.section-dark .slot {
  background: rgba(255,255,255,.04);
}
.section-dark .schedule-slot:nth-child(even),
.section-dark .slot:nth-child(even) {
  background: rgba(255,255,255,.02);
}
.section-dark .schedule-slot:hover,
.section-dark .slot:hover {
  background: rgba(245,179,36,.08);
}

.schedule-time,
.slot-time {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: .88rem;
  white-space: nowrap;
}
.schedule-title,
.slot-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--gray-900);
  line-height: 1.3;
}
.section-dark .schedule-title,
.section-dark .slot-title {
  color: var(--white);
}
.schedule-desc,
.slot-detail {
  grid-column: 2;
  font-size: .86rem;
  color: #4B5563;
  line-height: 1.4;
}
.schedule-slot.current,
.slot.current {
  border-left-color: var(--gold);
  background: rgba(245,179,36,.08);
}
.schedule-list,
#schedule-list {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.schedule-list .schedule-slot:last-child,
#schedule-list .slot:last-child,
#schedule-list .schedule-slot:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .schedule-slot,
  .slot {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
  .schedule-desc,
  .slot-detail { grid-column: 1; }
}

/* ============================================
   PAGE-SPECIFIC
   ============================================ */
.page-shell {
  padding-top: 12px;
}
.page-section {
  padding: 12px 0 72px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 0 2px;
  font-size: .84rem;
  color: #6B7280;
}
.breadcrumbs a {
  color: var(--gold-deep);
  transition: color .2s ease;
}
.breadcrumbs a:hover {
  color: var(--amber);
}
.breadcrumbs span {
  color: #9CA3AF;
}
.section-cta {
  margin-top: 24px;
}
.empty-state {
  color: #6B7280;
  padding: 20px 0;
}
.placeholder-graphic {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-graphic svg {
  width: 48px;
  height: 48px;
  stroke: #9CA3AF;
  fill: none;
  stroke-width: 1.5;
}

/* Programacion page */
.programacion-page .day-selector {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding-bottom: 0;
}
.programacion-page .schedule-list .schedule-slot:nth-child(odd) {
  background: #F9FAFB;
}
.programacion-page .schedule-list .schedule-slot:nth-child(even) {
  background: #FFFFFF;
}
.programacion-page .schedule-list .schedule-slot:hover {
  background: rgba(245,179,36,.10);
}
.programacion-page .day-btn {
  padding: 10px 8px;
  text-align: center;
}
.schedule-day-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--gold-deep);
}

/* En vivo */
.en-vivo-schedule {
  padding: 52px 0 64px;
  background: var(--white);
}
.en-vivo-schedule .schedule-list {
  box-shadow: var(--shadow-sm);
}

/* Noticias list page */
.news-list-page .news-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
.news-list-page .news-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
}
.news-list-page .news-card.featured {
  grid-row: auto;
}
.news-list-page .news-img {
  min-height: 220px;
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-list-page .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-list-page .news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-list-page .news-headline {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1.08rem;
  line-height: 1.26;
  color: var(--gray-900);
}
.news-list-page .news-meta {
  font-size: .8rem;
  color: #6B7280;
}
.news-list-page .news-summary {
  font-size: .9rem;
  color: #4B5563;
  line-height: 1.5;
}
.news-list-page .news-source {
  font-size: .76rem;
  color: #6B7280;
}
.news-list-page .news-read-more {
  margin-top: auto;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  padding: 8px 14px;
  border: 2px solid var(--gray-900);
  text-transform: uppercase;
  font-size: .86rem;
  border-radius: 6px;
}
.pagination a {
  background: var(--white);
  color: var(--gray-900);
  transition: background .2s, color .2s;
}
.pagination a:hover {
  background: var(--gold);
}
.pagination .active {
  background: var(--gold);
  color: var(--black);
}

/* Contact page */
#contacto {
  padding: 24px 0 72px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .9fr);
  gap: 30px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field--full {
  grid-column: 1 / -1;
}
.contact-field label {
  font-size: .74rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  background: #fff;
  color: var(--gray-900);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(206,122,35,.18);
  outline: none;
}
.contact-form .btn {
  margin-top: 14px;
}
#contact-msg {
  margin-top: 10px;
}
.form-msg {
  font-size: .88rem;
  font-weight: 700;
}
.form-msg.ok {
  color: #047857;
}
.form-msg.err {
  color: #B91C1C;
}
.contact-info {
  padding: 4px 4px 0;
}
.contact-info h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.contact-info p {
  margin-bottom: 16px;
  color: #374151;
  line-height: 1.55;
}
.contact-info .social-links a {
  color: #111827;
  background: #F3F4F6;
}
.contact-info .social-links a:hover {
  color: var(--gold-deep);
  background: rgba(245,179,36,.2);
}
.contact-linktree {
  margin-top: 8px;
  font-weight: 700;
  color: var(--gold-deep);
}
.contact-linktree:hover {
  color: var(--amber);
}

@media (max-width: 767px) {
  .news-grid .news-card:not(.featured) {
    min-height: 0;
  }
  .page-section {
    padding: 10px 0 46px;
  }
  .programacion-page .day-selector {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .news-list-page .news-card {
    grid-template-columns: 1fr;
  }
  .news-list-page .news-img {
    min-height: 190px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 16px;
  }
  .contact-form .btn {
    width: 100%;
  }
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  gap: 36px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }
}
.footer-brand img {
  height: 60px;
  width: auto;
  margin: 0 auto 12px;
}
@media (min-width: 768px) {
  .footer-brand img { margin: 0 0 12px; }
}
.footer-tagline {
  font-size: .9rem;
  color: var(--gray-600);
  font-style: italic;
}
.footer-social h4,
.footer-contact h4 {
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: .5px;
}
.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
}
@media (min-width: 768px) {
  .social-links { justify-content: flex-start; }
}
.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-200);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: all .25s;
}
.social-links a:hover {
  color: var(--gold);
  background: rgba(245,179,36,.12);
  transform: translateY(-2px);
}
.footer-contact p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.footer-bottom {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-600);
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(245,179,36,.25);
}
.btn:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245,179,36,.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(245,179,36,.3);
}
.btn-sm { padding: 10px 20px; font-size: .78rem; }

a,
button,
.news-card,
.show-card,
.schedule-slot,
.slot,
.day-btn,
.social-links a {
  transition:
    color .24s ease,
    background-color .24s ease,
    border-color .24s ease,
    transform .24s ease,
    box-shadow .24s ease,
    opacity .24s ease;
}

/* ============================================
   BACK TO TOP
   ============================================ */
#back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
  box-shadow: var(--shadow-md);
  z-index: 900;
}
#back-top.visible,
#back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-top:hover { background: var(--gold-bright); }

/* ============================================
   UTILITIES
   ============================================ */
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.pulse-dot-sm {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}
.gold-rule {
  height: 3px;
  border: none;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  margin: 24px 0;
}
.category-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  background: var(--gold);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 3px;
}
.oswald { font-family: 'Oswald', sans-serif; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Fade-in on scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
