:root {
  --navy: #061a35;
  --navy-dark: #031326;
  --blue: #0c3568;
  --red: #e31b23;
  --paper: #f4f6f8;
  --white: #ffffff;
  --muted: #647080;
  --border: #dfe3e8;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: #111;
  font-family: "Inter", Arial, sans-serif;
  padding-bottom: 82px;
}

button,
a,
input {
  font: inherit;
}

button {
  border: 0;
}

img {
  max-width: 100%;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
.nav-button,
.listen-button,
.secondary-button,
.outline-button {
  font-family: "Poppins", Arial, sans-serif;
}

/* BARRA SUPERIOR */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 13px;
  padding: 9px 0;
}

.top-bar-content,
.top-socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-socials {
  gap: 13px;
}

.top-socials > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  opacity: 0.7;
}

.top-socials a {
  color: var(--white);
  text-decoration: none;
  transition: 0.2s ease;
}

.top-socials a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

/* CABECERA */
.main-header {
  background: var(--white);
  padding: 12px 0;
}

.header-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 30px;
  align-items: center;
}

.logo-home-button { display: inline-flex; align-items: center; flex: 0 0 auto; border: 0; background: transparent; padding: 0; cursor: pointer; }
.logo-home-button:focus-visible { outline: 3px solid rgba(227,30,36,.35); outline-offset: 6px; border-radius: 4px; }
.logo-home-button .logo { display: block; }

.logo {
  display: block;
  width: 320px;
  height: 110px;
  object-fit: cover;
  object-position: center;
}

.header-live {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header-live span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.header-live strong {
  color: var(--navy);
  font-size: 18px;
}

.header-live small {
  color: #666;
}

/* BOTONES */
.listen-button,
.secondary-button,
.outline-button {
  padding: 14px 21px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}

.listen-button {
  background: var(--red);
  color: var(--white);
}

.listen-button:hover {
  background: #b91017;
}

.secondary-button,
.outline-button {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.secondary-button:hover {
  background: var(--white);
  color: var(--navy);
}

.outline-button {
  border-color: var(--red);
}

.outline-button:hover {
  background: var(--red);
}

.text-button {
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.text-button:hover { color: var(--red); transform: translateX(4px); }

/* MENÚ */
.navbar {
  background: var(--navy);
}

.menu {
  display: flex;
  overflow-x: auto;
}

.nav-button {
  background: transparent;
  color: var(--white);
  padding: 19px 21px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.nav-button:hover,
.nav-button.active {
  background: var(--red);
}

/* NAVEGACIÓN SPA */
.page-section {
  display: none;
}

.page-section.active-section {
  display: block;
}

#anuncia.active-section {
  display: block !important;
  min-height: 600px;
}

/* HERO */
.hero-section {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.85fr;
  min-height: 500px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px;
  background: radial-gradient(circle at 25% 45%, rgba(255,255,255,0.09), transparent 35%);
}

.hero-label,
.on-air-badge {
  width: max-content;
  background: var(--red);
  border-radius: 4px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
}

.hero-content h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
}

.hero-content p {
  max-width: 620px;
  margin-bottom: 28px;
  color: #dce5ef;
  font-size: 18px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* AHORA AL AIRE */
.on-air-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #04152b;
  color: var(--white);
  padding: 20px 24px;
  text-align: center;
}

.host-photo {
  width: 230px;
  height: 280px;
  margin: 15px auto;
  overflow: hidden;
  background: #12345d;
  border-radius: 7px;
}

.host-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.on-air-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.on-air-card p {
  margin-bottom: 10px;
  font-size: 16px;
}

.on-air-card > span:not(.on-air-badge) {
  margin-bottom: 18px;
  color: #d4dbe5;
}

/* PUBLICIDAD */
.sponsor-section {
  background: var(--white);
  padding: 28px 0;
}

.sponsor-banner {
  width: 100%;
  border: 1px dashed #adb7c4;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9edf2, #f7f8fa);
  border-radius: 6px;
  text-align: center;
}
.sponsor-banner:hover { border-color: var(--red); box-shadow: 0 10px 25px rgba(18,58,99,.1); transform: translateY(-2px); }
.sponsor-banner small i { margin-left: 5px; color: var(--red); }

.sponsor-banner span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.sponsor-banner strong {
  margin: 5px;
  color: var(--navy);
  font-size: 20px;
}

.sponsor-banner small {
  color: #667;
}

/* SECCIONES */
.content-section {
  background: var(--white);
  padding: 48px 0 65px;
}

.light-section {
  background: #f5f7fa;
}

.dark-section {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 5px solid var(--red);
}

.section-heading h2 {
  color: var(--navy);
  font-size: 27px;
}

/* SONANDO AHORA */
.now-playing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.current-song {
  display: flex;
  align-items: center;
  gap: 25px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 30px;
}

.music-mark {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #12345d;
  border-radius: 8px;
}

.music-mark span {
  width: 5px;
  height: 35px;
  background: var(--white);
  border-radius: 3px;
  animation: wave 1s infinite ease-in-out;
}

.music-mark span:nth-child(2) { height: 60px; animation-delay: 0.15s; }
.music-mark span:nth-child(3) { height: 80px; animation-delay: 0.3s; }
.music-mark span:nth-child(4) { height: 48px; animation-delay: 0.45s; }

@keyframes wave {
  50% { transform: scaleY(0.45); }
}

.live-text {
  color: #ff3038;
  font-size: 12px;
  font-weight: 800;
}

.current-song h3 {
  margin: 8px 0;
  font-size: 26px;
}

.current-song p {
  margin-bottom: 18px;
  color: #cbd5df;
}

.recent-songs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 25px;
}

.recent-songs h3 { margin-bottom: 16px; color: var(--navy); }
.recent-songs p { margin-bottom: 6px; color: var(--red); font-weight: 700; }
.recent-songs small { margin-top: 8px; color: #666; }

/* NOTICIAS */
.news-home-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.full-news-grid {
  grid-template-columns: repeat(2, 1fr);
}

.news-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf2f7;
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.news-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-category {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.card-content h3 {
  margin: 10px 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.card-content p {
  color: #5a5f66;
  font-size: 14px;
  line-height: 1.6;
}

.news-date {
  display: block;
  margin-top: 14px;
  color: #7b8490;
  font-size: 12px;
}

.fallback-image {
  object-fit: contain !important;
  padding: 30px;
  background: var(--navy);
}

/* PUBLICIDAD LATERAL */
.sidebar-ad > span {
  display: block;
  margin-bottom: 8px;
  color: #888;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.sidebar-ad > div {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e9edf2;
  border: 1px dashed #a9b1bd;
  border-radius: 6px;
  padding: 25px;
  text-align: center;
}

.sidebar-ad strong {
  color: var(--navy);
  font-size: 22px;
}

/* PROGRAMACIÓN */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-card {
  background: var(--white);
  border-top: 4px solid var(--navy);
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(18,58,99,.08);
  padding: 24px;
}

.program-card span { display: block; margin-bottom: 10px; color: var(--red); font-size: 13px; font-weight: 700; }
.program-card h3 { margin-bottom: 8px; color: var(--navy); font-size: 18px; }
.program-card p { color: #666; }

/* PÁGINAS INTERNAS */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 60px 0;
}

.page-hero span { color: #ff343c; font-size: 12px; font-weight: 800; }
.page-hero h1 { margin: 8px 0; font-size: 48px; }
.page-hero p { color: #d7e0ea; font-size: 18px; }

.simple-content { max-width: 800px; }
.simple-content h2 { margin-bottom: 15px; color: var(--navy); }
.simple-content p { color: #555; line-height: 1.7; }

.tv-placeholder { text-align: center; }
.tv-placeholder i { margin-bottom: 20px; background: var(--red); border-radius: 50%; padding: 28px; font-size: 28px; }

.whatsapp-button {
  display: inline-block;
  background: #25d366;
  color: var(--white);
  border-radius: 5px;
  padding: 15px 24px;
  font-weight: 700;
  text-decoration: none;
}

/* FOOTER */
.footer { position: relative; background: #03182f; color: var(--white); }
.footer-accent { height: 4px; background: linear-gradient(90deg, var(--red) 0 28%, #fff 28% 31%, #174a7e 31% 100%); }
.footer-main { display: grid; grid-template-columns: 1.25fr .65fr 1fr 1fr; gap: 45px; align-items: start; padding-top: 46px; padding-bottom: 42px; }
.footer-logo-button { display: block; border: 0; background: transparent; padding: 0; cursor: pointer; }
.footer-logo-button img { width: 235px; max-width: 100%; height: 68px; display: block; object-fit: contain; object-position: left center; }
.footer-brand > p { max-width: 300px; margin: 17px 0 20px; color: #aebdcd; font-size: 13px; line-height: 1.65; }
.footer-listen { width: auto; min-height: 42px; margin: 0; padding: 0 17px; font-size: 11px; }
.footer-kicker { display: block; margin-bottom: 15px; color: #ff3c43; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links button { border: 0; background: transparent; color: #bec9d5; padding: 0; font: inherit; font-size: 12px; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.footer-links button:hover { color: #fff; transform: translateX(4px); }
.footer-contact { display: grid; gap: 14px; border: 0; padding: 0; }
.footer-contact a, .footer-contact-item { display: flex; align-items: center; gap: 11px; color: #e4eaf0; font-size: 12px; line-height: 1.35; text-decoration: none; }
.footer-contact > a > i, .footer-contact-item > i { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; margin: 0; border-radius: 9px; background: rgba(255,255,255,.07); color: #ff3c43; }
.footer-contact a span, .footer-contact-item span { display: grid; }
.footer-contact small { margin-bottom: 2px; color: #8193a6; font-size: 9px; text-transform: uppercase; }
.footer-community h3 { margin: 0 0 8px; color: #fff; font-size: 17px; }
.footer-community > p { margin: 0 0 17px; color: #9faebe; font-size: 12px; line-height: 1.55; }
.footer-socials { display: flex; gap: 9px; }
.footer-socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.footer-socials a:hover { border-color: var(--red); background: var(--red); transform: translateY(-3px); }
.footer-live-dot { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #d6dee7; padding: 7px 11px; font-size: 9px; font-weight: 800; }
.footer-live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); background: #021225; color: #74869a; font-size: 10px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
/* REPRODUCTOR */
.radio-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.2);
  padding: 9px 28px;
}

.player-info { display: flex; flex-direction: column; }
.player-info small { display: flex; align-items: center; gap: 7px; margin-top: 3px; color: #d1d7df; font-size: 12px; }
.player-info small span { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: pulse 1.5s infinite; }

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(227,27,35,0); }
}

.player-main-button {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.player-main-button:disabled { opacity: 0.6; cursor: wait; }
.player-main-button svg { width: 25px; height: 25px; }

.player-volume { display: flex; align-items: center; gap: 10px; }
.audio-wave-button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border-radius: 50%; cursor: pointer; }
.audio-wave { height: 25px; display: flex; align-items: center; gap: 3px; }
.audio-wave span { width: 3px; height: 9px; background: var(--white); border-radius: 3px; animation: wave 1s infinite ease-in-out; }
.audio-wave span:nth-child(2), .audio-wave span:nth-child(4) { height: 17px; }
.audio-wave span:nth-child(3) { height: 25px; }
.audio-wave-button.muted .audio-wave span { height: 3px; opacity: 0.45; animation: none; }

#volumeSlider { width: 125px; accent-color: var(--red); cursor: pointer; }
.volume-level { color: rgba(255,255,255,0.55); font-size: 9px; font-weight: 700; }
.volume-level strong { margin-left: 3px; color: var(--white); font-size: 11px; }

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.whatsapp-float i { font-size: 23px; }

/* TABLET */
@media (max-width: 950px) {
  .header-content { grid-template-columns: 1fr; text-align: center; }
  .logo { margin: auto; }
  .header-live { align-items: center; }
  .hero-grid, .now-playing-grid, .news-home-layout { grid-template-columns: 1fr; }
  .on-air-card { max-width: 100%; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-contact { border: 0; padding: 0; }
}

/* CELULAR */
@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .container { width: 90%; }
  .top-bar-content { gap: 7px; }
  .top-socials > span { display: none; }
  .header-content { gap: 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 34px; }
  .footer-brand, .footer-links, .footer-community { align-items: flex-start; text-align: left; }
  .footer-bottom .container { align-items: center; flex-direction: column; gap: 5px; text-align: center; }
  .logo { width: 270px; height: 95px; }
  .hero-content { padding: 44px 24px; }
  .hero-content h1 { font-size: 40px; }
  .hero-buttons { flex-direction: column; }
  .news-grid, .full-news-grid, .schedule-grid { grid-template-columns: 1fr; }
  .current-song { flex-direction: column; text-align: center; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .radio-player { padding: 9px 14px; }
  .player-info strong { font-size: 12px; }
  .player-volume { gap: 4px; }
  #volumeSlider, .volume-level { display: none; }
  .whatsapp-float { right: 15px; bottom: 86px; width: 50px; height: 50px; justify-content: center; padding: 0; }
  .whatsapp-float span { display: none; }
}
/* =====================================================
   CABECERA Y MENÚ - RADIO MANTARO
===================================================== */

/* CABECERA PRINCIPAL */
.main-header {
  position: relative;
  z-index: 20;
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* LOGO */
.logo {
  display: block;
  width: 285px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* INFORMACIÓN AHORA AL AIRE */
.header-live {
  flex: 1;
  min-width: 0;
  padding-left: 26px;
  border-left: 1px solid var(--border);
}

.live-status {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 1.6s infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.45);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(227, 27, 35, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(227, 27, 35, 0);
  }
}

.header-live strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-live small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* BOTÓN ESCUCHAR */
.listen-button {
  min-height: 49px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(227, 27, 35, 0.22);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.listen-button:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 11px 25px rgba(12, 53, 104, 0.25);
}

.listen-button:active {
  transform: translateY(0);
}

.play-icon {
  font-size: 12px;
}

/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 5px 18px rgba(3, 19, 38, 0.18);
}

.menu {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-links {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
}

.nav-button {
  position: relative;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.nav-button::after {
  position: absolute;
  right: 19px;
  bottom: 0;
  left: 19px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-button:hover,
.nav-button.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-button:hover::after,
.nav-button.active::after {
  transform: scaleX(1);
}

/* =====================================================
   BOTÓN DEL MENÚ PARA CELULAR
===================================================== */

.mobile-menu-button {
  width: 45px;
  height: 45px;
  margin-left: auto;
  padding: 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.mobile-menu-button span {
  width: 23px;
  height: 2px;
  display: block;
  border-radius: 20px;
  background: var(--white);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {
  .header-content {
    min-height: 84px;
    gap: 20px;
  }

  .logo {
    width: 225px;
  }

  .header-live {
    padding-left: 20px;
  }

  .header-live strong {
    font-size: 15px;
  }

  .listen-button {
    padding: 0 17px;
    font-size: 10px;
  }

  .nav-button {
    padding: 0 13px;
    font-size: 10px;
  }

  .nav-button::after {
    right: 13px;
    left: 13px;
  }
}

/* =====================================================
   CELULARES
===================================================== */

@media (max-width: 760px) {
  .main-header {
    padding: 9px 0;
  }

  .header-content {
    min-height: 67px;
    gap: 14px;
  }

  .logo {
    width: 175px;
  }

  .header-live {
    display: none;
  }

  .listen-button {
    min-height: 43px;
    padding: 0 15px;
    font-size: 10px;
  }

  .navbar {
    overflow: visible;
  }

  .menu {
    min-height: 55px;
    overflow: visible;
  }

  .mobile-menu-button {
    display: flex;
  }

  .menu-links {
    position: absolute;
    top: 55px;
    right: 0;
    left: 0;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--navy);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 30px rgba(3, 19, 38, 0.28);
    z-index: 1000;
  }

  .menu-links.menu-open {
    display: flex;
  }

  .nav-button {
    width: 100%;
    min-height: 46px;
    padding: 0 17px;
    border-radius: 7px;
    font-size: 11px;
    text-align: left;
  }

  .nav-button::after {
    top: 9px;
    right: auto;
    bottom: 9px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .nav-button:hover::after,
  .nav-button.active::after {
    transform: scaleY(1);
  }
}

/* =====================================================
   CELULARES PEQUEÑOS
===================================================== */

@media (max-width: 480px) {
  .header-content {
    gap: 10px;
  }

  .logo {
    width: 145px;
  }

  .listen-button {
    width: 43px;
    min-width: 43px;
    padding: 0;
  }

  .listen-button-text {
    display: none;
  }

  .play-icon {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .logo {
    width: 125px;
  }
}
/* =====================================================
   HERO PRINCIPAL - RADIO MANTARO
===================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(12, 53, 104, 0.58),
      transparent 38%
    ),
    linear-gradient(
      115deg,
      var(--navy-dark) 0%,
      var(--navy) 52%,
      #103d70 100%
    );
}

.hero-section::before {
  position: absolute;
  top: -160px;
  right: -110px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-section::after {
  position: absolute;
  right: 8%;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(227, 27, 35, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 70px;
}

.hero-content {
  max-width: 720px;
}

.hero-label {
  width: fit-content;
  margin-bottom: 22px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 700px;
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -2.5px;
}

.hero-content p {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.secondary-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.secondary-button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.secondary-button-light {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.secondary-button-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* TARJETA AHORA AL AIRE */

.on-air-card {
  position: relative;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(3, 19, 38, 0.82);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.on-air-badge {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.on-air-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: on-air-pulse 1.5s infinite;
}

@keyframes on-air-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.host-photo {
  width: 100%;
  height: 175px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(
      145deg,
      rgba(28, 79, 130, 0.9),
      rgba(8, 34, 63, 0.96)
    );
}

.host-photo img {
  width: 100%;
  max-width: 260px;
  height: 100%;
  display: block;
  object-fit: contain;
}

.on-air-information {
  padding: 14px 2px 12px;
  text-align: center;
}

.on-air-small-title {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.on-air-information h2 {
  margin: 0;
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.on-air-information p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.current-schedule {
  margin-top: 8px;
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.outline-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.outline-button:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .hero-section {
    padding: 58px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 38px;
  }

  .hero-content h1 {
    font-size: clamp(45px, 7vw, 65px);
  }

  .host-photo {
    height: 180px;
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .hero-section {
    padding: 45px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-label {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-content h1 {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -1.8px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .on-air-card {
    max-width: 430px;
    margin: 0 auto;
  }

  .host-photo {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 36px 0;
  }

  .hero-content h1 {
    font-size: 43px;
  }

  .hero-content p {
    margin-top: 18px;
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .secondary-button {
    width: 100%;
  }

  .on-air-card {
    padding: 16px;
  }

  .host-photo {
    height: 175px;
    padding: 18px;
  }
}
/* PÁGINA DE NOTICIAS */
.news-page-content { background: #f5f7fa; }
.featured-news { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); min-height: 360px; margin-bottom: 28px; overflow: hidden; border-radius: 16px; background: var(--navy); box-shadow: 0 16px 38px rgba(8,34,63,.16); }
.featured-news:empty { display: none; }
.featured-news-image { min-width: 0; overflow: hidden; }
.featured-news-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.featured-news-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px; color: #fff; }
.featured-news-copy > span { color: #ff4a50; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.featured-news-copy h2 { margin: 8px 0 12px; color: #fff; font-size: 27px; line-height: 1.25; }
.featured-news-copy p { margin: 0 0 17px; color: #cbd5df; font-size: 14px; line-height: 1.65; }
.featured-news-copy small { color: #9eabb9; font-size: 11px; }
.featured-news-copy button { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; border: 0; border-radius: 8px; background: var(--red); color: #fff; padding: 12px 17px; font-weight: 800; cursor: pointer; }
.news-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.news-search { min-width: 250px; display: flex; align-items: center; gap: 10px; border: 1px solid #dce2e9; border-radius: 9px; background: #fff; padding: 0 14px; }
.news-search i { color: #8a94a3; }
.news-search input { width: 100%; min-height: 44px; border: 0; outline: 0; background: transparent; color: var(--navy); font: inherit; }
.news-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.news-filters button { border: 1px solid #dce2e9; border-radius: 999px; background: #fff; color: #5e6875; padding: 9px 13px; font-size: 11px; font-weight: 700; cursor: pointer; }
.news-filters button.active { border-color: var(--red); background: var(--red); color: #fff; }
.news-results-count { margin-bottom: 17px; color: #7a8492; font-size: 11px; }
.news-empty-state { border: 1px dashed #ccd4de; border-radius: 14px; padding: 48px 20px; text-align: center; }
.news-empty-state[hidden] { display: none; }
.news-empty-state i { color: #a3adba; font-size: 35px; }
.news-empty-state h3 { margin: 12px 0 5px; color: var(--navy); }
.news-empty-state p { margin: 0; color: #7a8492; }
.detalle-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: #667085; font-size: 12px; }
.detalle-meta i { margin-right: 5px; color: var(--red); }
.news-share { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; border-top: 1px solid #e1e6ec; border-bottom: 1px solid #e1e6ec; padding: 20px 0; color: var(--navy); }
.news-share > div { display: flex; gap: 9px; }
.news-share a { display: inline-flex; align-items: center; gap: 7px; border-radius: 7px; color: #fff; padding: 10px 14px; font-size: 11px; font-weight: 800; text-decoration: none; }
.share-whatsapp { background: #20a95a; }
.share-facebook { background: #1877f2; }
.related-news { margin-top: 40px; }
.related-news .news-grid { grid-template-columns: repeat(3, 1fr); }
.related-news .card-image { height: 150px; }
.related-news .card-content { padding: 17px; }
.related-news .card-content h3 { font-size: 15px; }
.related-news .card-content p { display: none; }
@media (max-width: 850px) { .featured-news { grid-template-columns: 1fr; } .featured-news-image { height: 310px; } .news-tools { align-items: stretch; flex-direction: column; } .news-search { width: 100%; } .related-news .news-grid { grid-template-columns: 1fr; } }
@media (max-width: 550px) { .featured-news-image { height: 220px; } .featured-news-copy { padding: 24px; } .featured-news-copy h2 { font-size: 22px; } .news-filters { display: grid; grid-template-columns: repeat(2, 1fr); } .news-share { align-items: stretch; flex-direction: column; } .news-share > div { display: grid; grid-template-columns: 1fr 1fr; } .news-share a { justify-content: center; } }
/* PUBLICIDAD */
.sponsor-section { background: #f5f7fa; }
.sponsor-intro { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-bottom: 32px; }
.sponsor-intro > div { max-width: 720px; }
.sponsor-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .9px; }
.sponsor-intro h2, .sponsor-benefits h2 { margin: 7px 0 12px; color: var(--navy); font-size: clamp(27px, 4vw, 39px); line-height: 1.16; }
.sponsor-intro p { margin: 0; color: #667085; font-size: 15px; line-height: 1.7; }
.sponsor-main-cta { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; border-radius: 11px; background: #20a95a; color: #fff; padding: 15px 20px; text-decoration: none; box-shadow: 0 12px 26px rgba(32,169,90,.2); }
.sponsor-main-cta > i { font-size: 25px; }
.sponsor-main-cta span { display: grid; font-weight: 800; }
.sponsor-main-cta small { font-size: 9px; letter-spacing: .8px; opacity: .8; }
.sponsor-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sponsor-services article { border: 1px solid #e2e7ed; border-radius: 13px; background: #fff; padding: 23px; box-shadow: 0 9px 25px rgba(18,58,99,.06); }
.sponsor-services article > i { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 11px; background: rgba(227,30,36,.1); color: var(--red); font-size: 19px; }
.sponsor-services h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.sponsor-services p { margin: 0; color: #6d7784; font-size: 13px; line-height: 1.6; }
.sponsor-packages { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr); gap: 25px; align-items: stretch; margin-top: 28px; }
.sponsor-benefits { border: 1px solid #e2e7ed; border-radius: 14px; background: #fff; padding: 28px; }
.sponsor-benefits h2 { font-size: 27px; }
.sponsor-benefits ul { display: grid; gap: 17px; margin: 21px 0 0; padding: 0; list-style: none; }
.sponsor-benefits li { display: flex; align-items: flex-start; gap: 12px; }
.sponsor-benefits li > i { margin-top: 4px; color: var(--red); }
.sponsor-benefits li span { display: grid; gap: 3px; color: #667085; font-size: 13px; }
.sponsor-benefits li strong { color: var(--navy); font-size: 14px; }
.sponsor-contact-card { display: flex; flex-direction: column; align-items: flex-start; border-radius: 14px; background: var(--navy); color: #fff; padding: 28px; }
.sponsor-contact-card > i { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 11px; background: var(--red); font-size: 20px; }
.sponsor-contact-card > span { color: #ff4a50; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.sponsor-contact-card h3 { margin: 7px 0 10px; color: #fff; font-size: 23px; line-height: 1.25; }
.sponsor-contact-card p { margin: 0 0 22px; color: #cbd5df; font-size: 13px; line-height: 1.65; }
.sponsor-contact-card a { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; border-radius: 8px; background: #20a95a; color: #fff; padding: 13px; font-size: 12px; font-weight: 800; text-decoration: none; }
@media (max-width: 950px) { .sponsor-services { grid-template-columns: repeat(2, 1fr); } .sponsor-packages { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .sponsor-intro { align-items: stretch; flex-direction: column; } .sponsor-main-cta { justify-content: center; } .sponsor-services { grid-template-columns: 1fr; } .sponsor-benefits, .sponsor-contact-card { padding: 22px; } }
/* NOSOTROS */
.about-section { background: #f5f7fa; }
.about-intro { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.35fr); gap: 45px; align-items: center; }
.about-logo { overflow: hidden; border-radius: 18px; background: var(--navy); box-shadow: 0 18px 42px rgba(8,34,63,.17); aspect-ratio: 1/1; }
.about-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.about-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .9px; }
.about-copy h2 { margin: 8px 0 17px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.about-copy > p { margin: 0 0 13px; color: #596474; font-size: 15px; line-height: 1.75; }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.about-highlights span { display: grid; gap: 3px; border: 1px solid #e1e6ec; border-radius: 11px; background: #fff; padding: 15px; }
.about-highlights i { margin-bottom: 4px; color: var(--red); }
.about-highlights strong { color: var(--navy); font-size: 15px; }
.about-highlights small { color: #748091; font-size: 11px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 45px; }
.about-values article { border: 1px solid #e2e7ed; border-radius: 14px; background: #fff; padding: 25px; box-shadow: 0 10px 28px rgba(18,58,99,.07); }
.about-values article > i { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 10px; background: rgba(227,30,36,.1); color: var(--red); font-size: 19px; }
.about-values h3 { margin: 0 0 9px; color: var(--navy); font-size: 19px; }
.about-values p { margin: 0; color: #667085; font-size: 13px; line-height: 1.65; }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 28px; border-radius: 14px; background: var(--navy); color: #fff; padding: 27px 30px; }
.about-cta span { color: #ff4a50; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.about-cta h2 { margin: 5px 0; color: #fff; font-size: 24px; }
.about-cta p { margin: 0; color: #cbd5df; font-size: 13px; }
.about-cta .listen-button { flex: 0 0 auto; margin: 0; }
@media (max-width: 850px) { .about-intro { grid-template-columns: 1fr; } .about-logo { width: min(100%, 430px); margin: 0 auto; } .about-values { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .about-intro { gap: 28px; } .about-highlights { grid-template-columns: 1fr; } .about-cta { align-items: stretch; flex-direction: column; padding: 23px; } .about-cta .listen-button { width: 100%; } }
/* MANTARO TV */
.mantaro-tv-section { background: #f5f7fa; }
.tv-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.tv-heading h2 { margin: 6px 0 5px; color: var(--navy); font-size: 30px; }
.tv-heading p { margin: 0; color: #667085; }
.tv-kicker { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .8px; }
.youtube-channel-button, .tv-channel-card a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; background: var(--red); color: #fff; padding: 13px 18px; font-size: 12px; font-weight: 800; text-decoration: none; }
.tv-social-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.facebook-channel-button, .tv-channel-card a.facebook-card-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; background: #1877f2; color: #fff; padding: 13px 18px; font-size: 12px; font-weight: 800; text-decoration: none; }
.tv-content-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, .65fr); gap: 26px; align-items: stretch; }
.youtube-player { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; background: #020b16; box-shadow: 0 16px 38px rgba(4,24,48,.18); aspect-ratio: 16/9; }
.youtube-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-channel-card { display: flex; flex-direction: column; align-items: flex-start; border-radius: 14px; background: var(--navy); color: #fff; padding: 25px; box-shadow: 0 16px 38px rgba(4,24,48,.14); }
.tv-channel-card img { width: 94px; height: 94px; margin-bottom: 19px; border-radius: 12px; object-fit: cover; }
.tv-channel-card > span { color: #ff4a50; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.tv-channel-card h3 { margin: 8px 0 10px; color: #fff; font-size: 21px; line-height: 1.3; }
.tv-channel-card p { margin: 0 0 22px; color: #cbd5df; font-size: 13px; line-height: 1.65; }
.tv-card-actions { width: 100%; display: grid; gap: 10px; margin-top: auto; }
.tv-channel-card a { width: 100%; margin-top: auto; }
.tv-card-actions .facebook-card-button { margin-top: 0; }
@media (max-width: 850px) { .tv-content-grid { grid-template-columns: 1fr; } .tv-channel-card { align-items: center; text-align: center; } }
@media (max-width: 600px) { .tv-heading { align-items: stretch; flex-direction: column; } .tv-social-buttons { display: grid; justify-content: stretch; } .youtube-channel-button, .facebook-channel-button { width: 100%; } .tv-heading h2 { font-size: 25px; } .tv-channel-card { padding: 21px; } }
/* =========================
   SECCIÓN EN CABINA
========================= */

.cabina-section {
  padding: 70px 0;
  background: #f5f7fa;
}

.cabina-heading {
  margin-bottom: 30px;
}

.cabina-heading h2 {
  margin: 6px 0 8px;
  color: #123a63;
  font-size: 2rem;
}

.cabina-heading p {
  margin: 0;
  color: #667085;
  font-size: 1rem;
}

.section-label {
  color: #e31e24;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.cabina-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cabina-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(18, 58, 99, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cabina-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(18, 58, 99, 0.15);
}

.cabina-photo {
  height: 260px;
  flex: 0 0 260px;
  overflow: hidden;
  background: #e9edf2;
}

.cabina-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.cabina-card:hover .cabina-photo img {
  transform: scale(1.04);
}

.cabina-info {
  min-width: 0;
  flex: 1;
  padding: 22px;
}

.cabina-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #e31e24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.cabina-info h3 {
  margin: 0 0 6px;
  color: #123a63;
  font-size: 1.35rem;
}

.cabina-info strong {
  display: block;
  margin-bottom: 14px;
  color: #202733;
  font-size: 1rem;
}

.cabina-info p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cabina-info p i {
  margin-top: 3px;
  color: #e31e24;
}

.cabina-card-team {
  grid-column: auto;
}

.cabina-card-team .cabina-photo {
  height: 260px;
  flex-basis: 260px;
}

/* TABLET */

@media (max-width: 900px) {
  .cabina-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cabina-card-team {
    grid-column: auto;
  }
}

/* CELULAR */

@media (max-width: 600px) {
  .cabina-section {
    padding: 50px 0;
  }

  .cabina-heading h2 {
    font-size: 1.7rem;
  }

  .cabina-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cabina-card-team {
    grid-column: auto;
  }

  .cabina-photo,
  .cabina-card-team .cabina-photo {
    height: 320px;
  }

  .cabina-info {
    padding: 19px;
  }
}
/* AJUSTES PARA LA VERSIÓN LIMPIA */
.logo-card { padding: 28px; background: var(--navy); }
.logo-card img { object-fit: contain !important; }
.noticia-detalle { max-width: 860px; }
.detalle-imagen { width: 100%; max-height: 520px; margin: 28px 0; object-fit: cover; border-radius: 14px; }
#detalleContenido { color: #444; font-size: 17px; line-height: 1.8; }
.news-card { cursor: pointer; }


/* ===== ACTUALIZACIÓN PORTADA V2 ===== */
.breaking-bar { background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.breaking-inner { min-height: 42px; display: flex; align-items: center; gap: 18px; }
.breaking-inner > strong { flex: 0 0 auto; align-self: stretch; display: flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 0 18px; font-size: 12px; letter-spacing: .3px; }
.breaking-window { min-width: 0; flex: 1; overflow: hidden; white-space: nowrap; }
.breaking-track { width: max-content; display: flex; align-items: center; gap: 24px; color: var(--navy); font-size: 13px; font-weight: 600; animation: breakingMove 38s linear infinite; }
.breaking-track i { color: var(--red); font-size: 5px; }

@keyframes breakingMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-metadata { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) 22px; align-items: center; gap: 8px; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.hero-metadata i { color: var(--red); font-size: 18px; }
.hero-metadata div { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-metadata small { color: #cbd5df; }
.hero-metadata strong { display: -webkit-box; overflow: hidden; color: #fff; font-size: 12px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero-metadata::after { width: 22px; content: ""; }
.metadata-status { color: #6d7784; font-size: 12px; }
.song-information { min-width: 0; }
.song-label { display: block; margin-top: 12px; color: #91a0b2; font-size: 10px; font-weight: 700; letter-spacing: .8px; }
.current-song h3 { overflow-wrap: anywhere; }
.live-text i { margin-right: 5px; font-size: 7px; animation: pulseDot 1.4s infinite; }
@keyframes pulseDot { 50% { opacity: .35; } }
.program-live-label { margin-bottom: 9px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .7px; }
.on-air-clock { display: flex; align-items: center; gap: 8px; margin-top: 18px; border-top: 1px solid #dce2e9; padding-top: 14px; color: #6c7480; font-size: 13px; }
.home-news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-news-grid .card-content h3 { font-size: 18px; }
.home-news-grid .card-content p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.program-card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.program-card::after { position: absolute; right: -24px; bottom: -24px; width: 68px; height: 68px; border-radius: 50%; background: rgba(18,58,99,.06); content: ""; transition: right .3s ease, bottom .3s ease, transform .3s ease; }
.program-card span, .program-card h3, .program-card p { position: relative; z-index: 1; transition: color .2s ease, transform .2s ease; }
@media (hover: hover) {
  .program-card:hover { border-top-color: var(--red); background: #fff; box-shadow: 0 16px 32px rgba(18,58,99,.14); transform: translateY(-7px); }
  .program-card:hover::after { right: -12px; bottom: -12px; transform: scale(1.25); }
  .program-card:hover span { color: #c9151c; transform: translateX(3px); }
  .program-card:hover h3 { color: var(--red); }
}
.program-card-live { border-top-color: var(--red); transform: translateY(-4px); box-shadow: 0 11px 26px rgba(18,58,99,.12); }
.home-program-card { min-height: 170px; display: flex; flex-direction: column; justify-content: center; }
.home-program-state { position: relative; z-index: 1; width: fit-content; margin-bottom: 10px; border-radius: 999px; background: #eef2f6; color: #6d7784; padding: 5px 8px; font-size: 9px; letter-spacing: .7px; }
.home-program-card.program-card-live .home-program-state { background: rgba(227,30,36,.12); color: var(--red); }
.home-program-card.program-card-live { background: #fff; }
#homeScheduleGrid.weekend-schedule { grid-template-columns: 1fr; }
.weekend-program-card { width: 100%; min-height: 155px; }
.weekend-program-card h3 { font-size: 22px; }
.program-now-badge { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; border-radius: 999px; padding: 5px 8px; font-size: 9px; letter-spacing: .6px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 30px; align-items: stretch; }
.contact-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 34px; }
.contact-label { color: #ff4a50; font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.contact-card h2 { margin: 8px 0 24px; font-size: 28px; }
.contact-card p { display: flex; gap: 13px; margin: 18px 0; color: #dbe4ee; line-height: 1.55; }
.contact-card p > i { width: 20px; margin-top: 4px; color: #ff4a50; text-align: center; }
.contact-card strong { color: #fff; }
.contact-card p a { color: #dbe4ee; overflow-wrap: anywhere; text-decoration: none; }
.contact-card p a:hover { color: #fff; text-decoration: underline; }
.map-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; background: var(--red); color: #fff; border-radius: 7px; padding: 13px 18px; font-weight: 700; text-decoration: none; }
.map-wrapper { min-height: 420px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.map-wrapper iframe { width: 100%; height: 100%; min-height: 420px; display: block; border: 0; }
.top-socials a, .footer-socials a { transition: transform .2s ease, opacity .2s ease; }
.top-socials a:hover { transform: translateY(-2px); opacity: .8; }

@media (max-width: 1100px) { .home-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 950px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .breaking-inner { width: 100%; gap: 12px; }
  .breaking-inner > strong { padding: 0 12px; font-size: 10px; }
  .breaking-track { font-size: 12px; }
  .home-news-grid { grid-template-columns: 1fr; }
  .metadata-status { display: none; }
  .map-wrapper, .map-wrapper iframe { min-height: 330px; }
  .contact-card { padding: 25px; }
}

/* AJUSTE V3: se conserva el reproductor original y solo se destaca Play/Pausa */
.player-main-button {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 5px rgba(227, 30, 36, 0.18), 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.player-main-button:hover {
  transform: scale(1.07);
  box-shadow: 0 0 0 7px rgba(227, 30, 36, 0.22), 0 10px 24px rgba(0, 0, 0, 0.32);
}

.player-main-button:active {
  transform: scale(0.97);
}

.player-main-button.is-playing {
  animation: playerButtonPulse 1.8s ease-in-out infinite;
}

.player-main-button svg {
  width: 29px;
  height: 29px;
}

@keyframes playerButtonPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(227, 30, 36, 0.18), 0 8px 20px rgba(0, 0, 0, 0.28); }
  50% { box-shadow: 0 0 0 10px rgba(227, 30, 36, 0.05), 0 10px 24px rgba(0, 0, 0, 0.32); }
}

/* Las cuatro categorías ocupan todo el ancho en la portada */
.home-news-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .home-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .player-main-button { width: 58px; height: 58px; }
  .home-news-grid { grid-template-columns: 1fr; }
}

/* Metadatos musicales: album y portada */
.music-mark { flex: 0 0 130px; overflow: hidden; }
#nowPlayingCover { width: 100%; height: 100%; display: block; object-fit: cover; transition: opacity .25s ease; }
.current-song p { margin-bottom: 4px; }
.now-playing-album { max-width: 360px; margin-bottom: 18px; display: block; overflow: hidden; color: #91a0b2; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }

/* ===== V1.1: Sonando ahora inteligente y encuadre del locutor ===== */
.host-photo {
  padding: 0;
  background: linear-gradient(145deg, rgba(28,79,130,.9), rgba(8,34,63,.96));
}
.host-photo img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity .3s ease, transform .3s ease;
}
.host-photo img.host-image-logo {
  padding: 24px;
  object-fit: contain;
  object-position: center !important;
}
.host-photo img.host-image-cover {
  padding: 0;
  object-fit: cover;
  object-position: center !important;
}

.current-song {
  min-width: 0;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 30px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.current-song.content-mode-music { box-shadow: inset 4px 0 0 #2f80ed; }
.current-song.content-mode-advertising { box-shadow: inset 4px 0 0 #f59e0b; }
.current-song.content-mode-radio { box-shadow: inset 4px 0 0 var(--red); }
.music-mark {
  width: 170px;
  height: 170px;
  flex: none;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #0b294c;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
#nowPlayingCover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: opacity .25s ease, transform .35s ease;
}
.content-mode-radio #nowPlayingCover,
.content-mode-advertising #nowPlayingCover {
  object-fit: contain;
}
#nowPlayingCover.fallback-cover {
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #12345d;
}
.song-information {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.song-label {
  margin-top: 10px;
  color: #8fa7c1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.content-mode-advertising .song-label { color: #fbbf24; }
.current-song h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.current-song p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
.now-playing-album[hidden] { display: none; }
.now-playing-album {
  margin-top: 6px;
  margin-bottom: 16px;
}

.song-information .listen-button {
  width: 100%;
  margin-top: auto;
}

.recent-songs {
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
}
.recent-songs-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.recent-songs-heading h3 { margin: 4px 0 0; }
.recent-songs-heading > i { color: var(--red); font-size: 22px; }
.recent-tracks-list { display: grid; gap: 10px; }
.recent-track {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  background: #fff;
}
.recent-track img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #12345d;
}
.recent-track img.fallback-cover {
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #12345d;
}
.recent-track-info { min-width: 0; display: grid; gap: 4px; }
.recent-track-info strong,
.recent-track-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-track-info strong { color: var(--navy); font-size: 13px; }
.recent-track-info span { color: #667085; font-size: 12px; }
.recent-track time { color: #8a94a3; font-size: 11px; white-space: nowrap; }
.recent-empty { margin: 0 !important; color: #6d7784 !important; font-weight: 400 !important; line-height: 1.5; }

@media (max-width: 760px) {
  .current-song { grid-template-columns: 125px minmax(0, 1fr); align-items: center; gap: 20px; }
  .music-mark { width: 125px; height: 125px; flex-basis: 125px; }
}
@media (max-width: 560px) {
  .current-song { display: flex; flex-direction: column; align-items: stretch; padding: 22px; }
  .music-mark { width: 100%; height: auto; aspect-ratio: 1/1; flex-basis: auto; max-width: 240px; margin: 0 auto; }
  .song-information { text-align: center; align-items: center; }
  .current-song h3 { font-size: 22px; }
  .recent-track { grid-template-columns: 46px minmax(0,1fr); }
  .recent-track img { width: 46px; height: 46px; }
  .recent-track time { grid-column: 2; }
}

@media (max-width: 760px) {
  .mobile-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
