@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --red: #ec3642;
  --red2: #ff5964;
  --black: #070707;
  --dark: #111;
  --gray: #e0e0e0; /* Texto secundario más claro */
  --light: #f5f5f5;
  --max: 1180px;
}

/* --- REGLAS BASE Y RESPONSIVAS --- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: #171717;
  background: #fff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
}

/* --- BARRA SUPERIOR --- */
.topbar {
  background: #050505;
  color: #ffffff; /* Texto más blanco */
  font-size: 11px;
  border-bottom: 1px solid #222;
}

.topbar-in {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: #fff;
}

/* --- ENCABEZADO Y NAVEGACIÓN --- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, .96);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid #252525;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  line-height: .85;
  color: #fff;
}

.logo b {
  font-size: 29px;
  color: var(--red);
}

.logo strong {
  font-size: 28px;
  font-weight: 900;
}

.logo small {
  grid-column: 2;
  font-size: 7px;
  letter-spacing: 2px;
  color: #e0e0e0; /* Más blanco */
  margin-top: 5px;
}

.nav nav {
  display: flex;
  gap: 25px;
}

.nav nav a {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff; /* Menú en blanco puro */
  text-transform: uppercase;
}

.nav nav a:hover {
  color: var(--red);
}

.menu-btn {
  display: none;
  background: 0;
  border: 0;
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}

/* --- HERO SLIDER --- */
/* --- HERO SLIDER --- */
.hero-slider {
  height: clamp(480px, 75vh, 760px);
  position: relative;
  background: #050505;
  color: #fff;
  overflow: hidden;
  width: 100%;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.15); /* Aumenta el brillo directo de la imagen */
}

.slide-shade {
  position: absolute;
  inset: 0;
  /* Sombra suavizada: reduce la oscuridad para que resalte la imagen */
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .2)),
              linear-gradient(0deg, rgba(0, 0, 0, .4), transparent 50%);
}

.slide-content {
  position: absolute;
  left: max(16px, calc((100% - 1180px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(650px, calc(100% - 32px));
  z-index: 2;
}

.slide-content > span,
.kicker,
.section-title > span,
.contact-in > div > span {
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 900;
  color: var(--red);
}

.slide-content h1 {
  font-size: clamp(34px, 6vw, 80px);
  line-height: .95;
  letter-spacing: -2px;
  margin: 14px 0;
}

.slide-content h1 em {
  color: var(--red);
  font-style: normal;
}

.slide-content p {
  font-size: 15px;
  color: #f0f0f0; /* Más claro */
  line-height: 1.6;
  max-width: 560px;
}

.slide-content .btn {
  margin: 14px 8px 0 0;
}

.buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.red {
  background: var(--red);
  color: #fff;
}

.outline {
  border: 1px solid #777;
  color: #fff;
}

.dark {
  background: #111;
  color: #fff;
}

/* FLECHAS Y PUNTOS DEL SLIDER */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .4);
  color: #fff;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev { left: 16px; }
.next { right: 16px; }

.dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, .6);
  border: 0;
  cursor: pointer;
}

.dot.active {
  background: var(--red);
}

.slide-counter {
  position: absolute;
  right: 25px;
  bottom: 20px;
  color: #ddd;
  font-size: 10px;
  z-index: 5;
}

.slide-counter b {
  font-size: 22px;
  color: #fff;
}

/* --- REPRODUCTOR EN VIVO --- */
.player {
  background: linear-gradient(140deg, #090909, #180b0d);
  padding: 85px 0;
  color: #fff;
}

.section-title {
  margin-bottom: 35px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -1px;
  margin: 9px 0;
}

.section-title p {
  color: #e0e0e0;
  font-size: 13px;
  line-height: 1.7;
}

.section-title.dark p {
  color: #e0e0e0;
}

.section-title.dark h2 {
  color: #fff;
}

.player-box {
  display: grid;
  grid-template-columns: 145px 1fr 150px;
  gap: 30px;
  align-items: center;
  background: #111;
  border: 1px solid #292929;
  border-radius: 18px;
  padding: 25px;
}

.disc {
  display: grid;
  place-items: center;
}

.disc > div {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-radial-gradient(circle, #222 0 2px, #080808 3px 5px);
  border: 6px solid #252525;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.disc b {
  font-size: 26px;
  color: #fff;
}

.live {
  font-size: 9px;
  font-weight: 900;
  color: var(--red);
}

.live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 6px;
}

.player-content h3 {
  font-size: 25px;
  margin: 8px 0;
  color: #ffffff;
}

.player-content p {
  margin: 0 0 16px;
  color: #e0e0e0; /* Texto secundario del reproductor más claro */
}

.player-content audio {
  width: 100%;
  height: 46px;
}

.station {
  border-left: 1px solid #292929;
  text-align: center;
  font-size: 50px;
  font-weight: 900;
  color: var(--red);
}

.station small {
  display: block;
  font-size: 10px;
  color: #e0e0e0;
  letter-spacing: 2px;
}

/* --- BANNERS Y EVENTOS --- */
.events {
  padding: 90px 0;
}

.show-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.show-banner {
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.show-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.event-card {
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.event-image {
  width: 100%;
  height: auto;
  max-height: 260px;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f0f0f;
}

.event-body {
  padding: 23px;
}

.event-body > span,
.cards3 b {
  font-size: 9px;
  letter-spacing: 2px;
  color: #b52631;
  font-weight: 900;
}

.event-body h3 {
  margin: 9px 0;
  font-size: 20px;
}

.event-body p,
.cards3 p {
  font-size: 12px;
  line-height: 1.75;
  color: #555;
}

.event-body a {
  font-size: 10px;
  font-weight: 900;
  color: #a8202b;
}

/* --- REALIZACIONES --- */
.realizaciones {
  padding: 90px 0;
  background: #f6f6f6;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards3 article {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
}

.cards3 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.cards3 div {
  padding: 24px;
}

.cards3 h3 {
  margin: 8px 0;
}

/* --- PROGRAMA DESTACADO --- */
.program {
  background: #0a0a0a;
  color: #fff;
  padding: 70px 0;
}

.program-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.program h2 {
  font-size: clamp(30px, 5vw, 60px);
  letter-spacing: -2px;
  margin: 13px 0;
}

.program h2 em {
  color: var(--red);
  font-style: normal;
}

.program p {
  color: #e0e0e0;
}

.schedule {
  display: inline-block;
  margin-top: 18px;
  border: 1px solid #444;
  padding: 11px 15px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

.program-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--red);
  text-align: center;
}

.program-number small {
  display: block;
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
}

/* --- EQUIPO --- */
.team {
  padding: 90px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-grid article {
  background: #111;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.team-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}

.team-grid h3 {
  font-size: 15px;
  margin: 16px 17px 4px;
  color: #ffffff;
}

.team-grid p {
  font-size: 10px;
  color: #cccccc; /* Texto de los integrantes más legibles */
  margin: 0 17px 18px;
}

/* --- CONTACTO Y PIE DE PÁGINA --- */
.contact {
  padding: 70px 0;
  background: #f0f0f0;
}

.contact-in {
  background: var(--red);
  border-radius: 18px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-in > div > span {
  color: #fff;
}

.contact-in h2 {
  font-size: 34px;
  margin: 10px 0;
  color: #ffffff;
}

.contact-in p {
  font-size: 12px;
  color: #ffffff; /* Texto sobre fondo rojo completamente blanco */
}

.contact-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-btns .red {
  background: #fff;
  color: #111;
}

/* PIE DE PÁGINA TOTALMENTE ILUMINADO */
footer {
  background: #050505;
  color: #ffffff; /* Color general en blanco */
  padding: 30px 0;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #ffffff; /* Asegura color blanco para todos los textos del footer */
}

.footer-in div {
  color: #ffffff;
}

.footer-in strong {
  color: #ffffff;
  display: block;
}

.footer-in span {
  display: block;
  margin-top: 5px;
  color: #e0e0e0; /* Subtítulo sutil pero bien visible */
}

/* BOTONES FLOTANTES */
.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}

.float-play {
  background: #111;
}

.float-wa {
  background: #1cae59;
}

/* --- MEDIA QUERIES PARA CELULARES Y TABLETS --- */
@media (max-width: 900px) {
  .nav nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    background: #080808;
    padding: 22px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid #333;
  }

  .nav nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .player-box {
    grid-template-columns: 95px 1fr;
  }

  .station {
    display: none;
  }

  .event-grid,
  .cards3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar-in {
    justify-content: center;
    font-size: 9px;
  }

  .topbar-in span:first-child {
    display: none;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .hero-slider {
    height: 520px;
  }

  .slide-content {
    top: 50%;
    transform: translateY(-50%);
  }

  .slide-content h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .slide-content .btn {
    width: 100%;
    margin-right: 0;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .prev { left: 8px; }
  .next { right: 8px; }

  .slide-counter {
    right: 15px;
    bottom: 15px;
  }

  .player-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .disc {
    display: none;
  }

  .event-grid,
  .cards3,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .program-in,
  .contact-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .program-number {
    align-self: center;
  }

  .contact-in {
    padding: 25px;
  }

  .contact-in h2 {
    font-size: 26px;
  }

  .contact-btns {
    width: 100%;
  }

  .contact-btns .btn {
    width: 100%;
  }

  .footer-in {
    flex-direction: column;
  }
}