body {
  margin: 0;
  padding-top: 60px;
  min-height: 100vh;
  background-color: white;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

/* COLUMNAS DE GIFS */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 18%;
  height: 100%;

  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.726)), url("img/logo_gif.gif");
  background-repeat: repeat-y;
  background-size: 300px 180px;

  z-index: 1;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 10%,
    black 30%,
    transparent 100%
  );
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

body::before,
body::after {
  background-size: clamp(80px, 15vw, 600px);
}

/* CONTENIDO */
body > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .container-ajustado {
    max-width: 69%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10%;
    padding-right: 10%;
  }
}

/* BIENVENIDXS */

.seccion-bienvenida {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 30px 0;
  width: 100%;
}

.contenedor-central {
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding-left: 20%; 
  padding-right: 20%;
  margin: 0 auto;
}

.bloque-texto {
  flex: 1;
  max-width: 450px;
  text-align: left;
}

.bloque-texto h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
  margin-top: 0;
}

.bloque-texto p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.boton-saber-mas {
  display: inline-block;
  background-color: #b00000;
  color: white !important;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.2s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.boton-saber-mas:hover {
  background-color: white;
  color: #b00000 !important;
  border: 2px solid #b00000;
}

/* CARRUSEL */
.bloque-carrusel {
  flex: 300px;
  display: flex;
  justify-content: center;
}

.triple-carousel {
  display: flex;
  align-items: center;
  gap: 19px;
}

.img-principal {
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transform: scale(1.1);
  z-index: 3;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  max-width: 100%;
}

.fade-out {
  opacity: 0;
}

.img-secundaria {
  width: 150px;
  border-radius: 5px;
  opacity: 0.7;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  max-width: 100%;
}

.img-principal:hover,
.img-secundaria:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* RESPONSIVE COMPU CHICA */
@media (max-width: 1290px) {
  .contenedor-central {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .bloque-texto {
    text-align: center;
    margin-bottom: 10px;
  }

  .bloque-carrusel {
    width: 100%;

  }

  .triple-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .img-principal {
    width: 100%;
    max-width: 260px;
    transform: scale(1.05);
  }

  .img-secundaria {
    width: 50%;
    max-width: 160px;
  }
}


@media (max-width: 768px) {

  .bloque-carrusel { width: 100%; }

  .triple-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .img-principal {
    width: 100%;
    max-width: 180px;
    transform: scale(1.05);
  }

  .img-secundaria {
    width: 35%;
    max-width: 90px;
  }

}

/* NAVBAR */
.custom-navbar {
  background-color: #b00000;
  padding: 8px 20px;
}

.custom-navbar .nav-link {
  color: white !important;
  font-weight: 500;
}

.custom-navbar .nav-link:hover {
  opacity: 0.75;
}

.divider {
  width: 1px;
  height: 20px;
  background-color: white;
  margin: 0 10px;
  opacity: 0.7;
}

@media (max-width: 991.98px) {
  .divider {
    
    display: none !important;
  }
}

/* CRONOGRAMA */
.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #fff;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.program-card:hover::before {
  opacity: 1;
}

.program-card .img-normal,
.program-card .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  padding: 10px;
  object-fit: contain;
  transition:
  opacity 0.3s ease,
  transform 0.4s ease,
  filter 0.4s ease;
}

.program-card .img-normal {
  z-index: 0;
  opacity: 1;
}

.program-card .img-hover {
  z-index: 2;
  opacity: 0;
}

.program-card:hover .img-hover {
  opacity: 1;
  transform: scale(1.08);
  filter: brightness(1.2);
}

.program-card:hover .img-normal {
  opacity: 0;
}

.program-card img {
  border-radius: 15px 15px 0 0;
  height: 120px;       
  object-fit: contain;   
  padding: 10px;
}

.program-card:hover {
 transform: scale(1.05);
 box-shadow: 0 8px 16px rgba(0,0,0,0.15);
 border-width: 3px;
}

.card-1:hover { border-color: #ff96ad; }
.card-2:hover { border-color: #9a5bff; }
.card-3:hover { border-color: #94d8ff; }
.card-4:hover { border-color: #5a0bc2; }
.card-5:hover { border-color: #13dd46; }
.card-6:hover { border-color: #ff399c; }
.card-7:hover { border-color: #ff7300; }
.card-8:hover { border-color: #ffd000; }
.card-9:hover { border-color: #ff3c00; }
.card-10:hover { border-color: #008015; }
.card-11:hover { border-color: #ff0000; }


.btn-danger {
 background-color: #b60000 !important;
 border: none !important;
}


/* TEMPORADA DESPLEGABLE */
.accordion-button {
  font-size: 18px;
  justify-content: center;
  color: #B70F0A;
  text-align: center;
  align-items: center;
}

.accordion-button.bg-danger {
  background-color: #B70F0A !important;
  color: white !important;
}

.logo-temp {
  width: 130px;
  height: 130px; 
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.logo-temp:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ÚLTIMOS PROGRAMAS */

.live-container {
  width: 100%;
  max-width: 398px;        
  margin: 40px auto;
  border-radius: 20px;     
  overflow: hidden;    
  border: 4px solid #B70F0A;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}

.live-container iframe {
  width: 100%;
  height: 218px;
  display: block;
}

.btn-stream {
  background: #fff;
  border: 2px solid #d32f2f;
  border-radius: 50px;
  padding: 8px 18px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-stream:hover {
  background: #d32f2f;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.icon-yt {
  width: 24px;
  height: 15px;
}

.bell-icon {
  font-size: 22px;
}

.texto-suscripcion {
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .texto-suscripcion {
    max-width: 40px;
  }
}


/* CONTENIDO DESTACADO */
.destacados-container {
  position: relative;
  overflow: hidden;
  background: #b00000;
  padding: 40px 0;
}

.destacados-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 60px;
}

@media (min-width: 993px) {
  .destacados-wrapper {
    justify-content: center;
  }
}

.destacados-wrapper::-webkit-scrollbar {
  display: none;
}

.destacado-item {
  flex: 0 0 auto;
  width: 220px;    
  height: 390px;   
  margin: 0 10px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  aspect-ratio: 9 / 16;
}

.video-reel {
  width: 100% !important;
  height: 100% !important;
}

.instagram-media {
  min-width: 0 !important;
  max-width: 100% !important;
}

.destacado-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 2rem;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background .2s ease, transform .2s ease;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.video-reel {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}


@media (max-width: 756px) {
  .destacado-item {
    width: 80vw;  
    max-width: 220px;
    aspect-ratio: 9 / 16;
  }

  .destacados-wrapper {
    padding: 0 40px;
  }

  .arrow-left,
  .arrow-right {
    font-size: 1.4rem;
    padding: 6px 9px;
  }
}


/* REDES */
.redes-section h3 {
  font-weight: 700;
  letter-spacing: 1px;
}

.social-card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  width: 60px; 
  padding: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.social-card:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.social-link {
  text-decoration: none;
  display: block;
}

.social-card img {
  width: 40px;
  height: 40px; 
  object-fit: contain;
  display: block;
}


@media (max-width: 760px) {
.redes-section .row {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
  }

  .redes-section .col-4 {
    flex: 0 0 auto;
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

footer {
    margin-bottom: -49px !important;
}