 @font-face {
        font-family: "Museo_Sans_100";
        src: url("../fonts/MuseoSans-100.otf");
        font-weight: 100;
    }
    @font-face {
        font-family: "Museo_Sans_300";
        src: url("../fonts/MuseoSans-300.otf");
        font-weight: 300;
    }
    @font-face {
        font-family: "Museo_Sans_500";
        src: url("../fonts/MuseoSans-500.otf");
        font-weight: 500;
    }
    @font-face {
        font-family: "Museo_Sans_700";
        src: url("../fonts/MuseoSans_700.otf");
        font-weight: 700;
    }
    @font-face {
        font-family: "Museo_Sans_900";
        src: url("../fonts/MuseoSans_900.otf");
        font-weight: 900;
    }
body{
  margin: 0px;
}
header figure{
  margin: 0px;
  padding: 0px;
  box-sizing: content-box;
}
header img{
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
nav{
  background-color: #0A2A80;
  display: flex;
  flex-direction: row;
  justify-content: center;
  height: calc(52px * .7);
}
nav ul{
  display: flex;
  align-items: center;
  height: 100%;
  flex-direction: row;
  justify-content: center;
  list-style-type: none;
  margin:0px;
  padding: 0px;
  width: min(920px, 95%);
}
nav ul li{
  flex: 1;
  text-align: center;
  height: 65%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: #FFF 1px solid;
}
nav ul li:last-child {
  border-right: none;
  border: none;
}

nav ul li a{
  text-decoration: none;
  color: #fff;
  font-family: "Museo_Sans_500";
  font-size: calc(20px  * .7);
  line-height: 24px;
}
h3{
  font-size: calc(35px * .7);
  font-weight: 900;
  line-height: 36px;
  font-family: "Museo_Sans_900";
  
}
p{
  font-weight: 500;
  font-size: calc(25px * .7);
  font-family: "Museo_Sans_500";
}
.seccion-texto{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 20px;
  
}
.contenedor-texto{
   width: min(995px, 90%);
   text-align: center;
}
.contenedor-texto h3{
  color: #0A2A80;
   font-family: "Museo_Sans_900";
   margin:0px;
   margin-bottom: 16px;
   
}
.contenedor-texto hr{
  border-color: #147BE3;
}
.contenedor-texto .parrafo{
  position: relative;
    font-weight: 500;
  font-size: calc(1.4375rem * .7);
  color:#0A2A80;
   font-family: "Museo_Sans_500";
}
.icono-mano{
  position: absolute;
  right: -140px;
  top:-66px;
}
.seccion-video {
  background-color: #0A2A80; /* azul de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 25px; 
}
.seccion-video h3{
  color: #fff;
  font-size: calc(35px * .7);
  margin-top: 0px;
}

.contenedor-video {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  width: min(920px, 90%);
  text-align: center;
}

/* Corazón en la esquina */
.icono-corazon {
  position: absolute;
  top: -20px;
  left: -10px;
  background: #0A2A80;   /* fondo blanco detrás del corazón */
  border-radius: 75% 15% 75% 0%;
  padding: 6px;

}
.contenedor-parrafo{
  width: min(920px, 90%);
  color: #fff;
  text-align: center;
}
.seccion-propuestas{
  background-color: #FAB931; /* azul de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 0px;
  padding-bottom: 50px;
  
}
.seccion-propuestas h3{
  position: relative;
  color:#fff;
  margin-bottom: 30px;
}
.seccion-propuestas h3 .icono-estrella{
  position: absolute;
  top: -10px;
  left: 725px;
}
.contenedor-propuestas{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(254px, 1fr));
  width: min(1020px, 90%);
  
}
.contenedor-propuestas .box{
  border-right: #fff 1px dashed; 
  display: flex;
  align-items: end;
  justify-content: center;
}
.contenedor-propuestas .box:nth-child(4n) {
  border-right: none;
}
.box a figure{
  margin: 0px;
  box-sizing: content-box; 
  width: 194px; 
  overflow: hidden;

}
.box a figure img{
  margin-top: 18px;
  margin-bottom: 22px;
  aspect-ratio: 193.99 / 231.62; 
  
  width: 100%; 
  height: auto; 
  display: block;   
  object-fit: cover;
   object-position:center
}
.box a figure figcaption{
  font-size: calc(27px * .7);
  line-height: 30px;
  text-align: center;
  color: #fff;
  font-family: "Museo_Sans_500";
}
.youtube-container {
  position: relative; /* Para posicionar el iframe correctamente */
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.ficha-inciativa{
   background-color: #0A2A80; /* azul de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 80px; 
  color: #fff;

}
.ficha-inciativa h3{
   font-size: calc(35px * .7);
  font-weight: 900;
  line-height: 42px;
  font-family: "Museo_Sans_900";
  margin-bottom: 1.5rem;
  margin-top: 0px;
}
.ficha-inciativa .contenedor-iniciativa hr{
 color: #0178E5;
 border-top-width: 2px;
 margin: 18px 0px;
}
.ficha-inciativa .contenedor-iniciativa h5{
  margin: 0px;
   font-style: normal;
   font-size: calc(27px * .7);
   font-family: "Museo_Sans_700";
   padding: 6px 0px;
}
.ficha-inciativa .contenedor-iniciativa p{
  font-size: calc(25px * .7);
  font-family: "Museo_Sans_500";
}



.contenedor-iniciativa{
    width: min(920px, 90%);
}
.iniciativa-icono{
  padding-right: 2rem; text-align: right; padding-bottom: 0px;
}
.icono-imagen{
  object-fit: cover;width: min(292px, 100%);
}
.contenedor-iniciativa h5{
  font-family: "Museo_Sans_500";
  font-size:calc(1.6875rem * .7);
  font-style: italic;
}
.ficha-establecimiento{
   background-color: #FAB931; /* azul de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  
  padding-bottom: 80px; 
}
.iniciativa-video{
  width: 100%;
  overflow: hidden;
  box-sizing: content-box;
}
.iniciativa-video img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.video-iframe{
  background-color: #fff; width: min(922px,100%); aspect-ratio: 922.44 / 415.1;
}
.iniciativa-fotos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.foto-img{
  aspect-ratio: 215.36 / 257.14; background-color: #fff; width: min(215.36px, 100%);
}
.ficha-inciativa .contenedor-iniciativa .titulo-redes{
  font-style: normal !important;
  margin: 0px;
  font-weight: 900;
  font-size: calc(27px * .7);
  margin-bottom: 2.25rem;
}
.ficha-inciativa .contenedor-iniciativa .titulo-redes::after{
  content:none;
  background-color: none;
  width: none;
}

.web-redes{
  border: 5px solid #1DB0E0;
  border-radius: 31px;
  padding-top: 24px;
  padding-bottom: 24px;
 
}
.redes-link{
   display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 4rem;
}
.link-redes{
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #fff;
  text-decoration: none;
  gap:1rem;
  padding-bottom: 1rem;
  font-size: calc(25px * .7);
  font-family: "Museo_Sans_500";
  justify-content: center;
}
.link-redes img{
  margin-right: 10px;
}
.web-url{
text-align: center;
margin-top: 2.63rem;


}
.url-link{

  text-decoration: none;
  border: 1px solid #01AEE1;
  border-radius: 9px;
  font-family: "Museo_Sans_700";
  color: #FFF;
  font-size: calc(23px * .7);
  padding-left: 4rem;
  padding-right: 4rem;
  display: inline-block;
  background-color: #01AEE1;
}
.contenedor-establecimiento{
   width: min(920px, 90%);
   position: relative;
}
.contenedor-establecimiento h4{
   color:#FFF;
   font-family: "Museo_Sans_900";
   font-size: calc(27px * .7);
   margin-top: 42px;
}
.establecimiento-listado{
  color: #FFF;
  font-family: "Museo_Sans_500";
  font-size: calc(25px * .7);
}
.establecimiento-listado.dos-columnas {
  columns: 2;
}

/* Styles for 3 columns (optional, but good for clarity/override) */
.establecimiento-listado.tres-columnas {
  columns: 3;
}
.establecimiento-listado li::marker{
  color: #23397E;
}
.establecimiento-listado li{
  margin-bottom: 18px;
}
.ficha-icono-corazon{
  position: absolute;
  top: -50px;
  left: -200px;
}
.ficha-icono-koreano{
   position: absolute;
  bottom: 50%;
  right: -200px;
}
footer{
  background-color: #F94556;
  padding-bottom: 57px;
  padding-top: 47px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-footer{
   width: min(920px, 90%);
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   align-items: center;
   text-align: center;
}
.section-footer a img{
  width: min(calc(230px * .5), 100%);
}
.contenedor-redes{
  width: min(490px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.contenedor-redes a img{
  width: min(calc(78px * .5), 100%);
}
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-track {
display: flex;
  transition: transform 0.6s ease, opacity 0.8s ease;
  opacity: 1;
  gap: 25px;
}

.carousel-track.fade {
  opacity: 0;
}

.carousel img {
  width: calc(50% - 24.5px); 
  min-width: calc(50% - 24.5px); 
  height: 300px;
  object-fit: cover;
  user-select: none;
  transition: 
    transform 0.6s ease,
    box-shadow 0.5s ease,
    filter 0.4s ease;
  will-change: transform;
  perspective: 1000px;
    animation: fadeUp 0.8s ease forwards;
  animation-delay: calc(var(--i) * 0.15s);
  opacity: 0; /* Para que se vea la animación desde 0 */
}

/* Efecto parallax + zoom */
.carousel img:hover{
  transform: scale(1.1) rotateY(5deg) translateZ(15px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  filter: brightness(1.05);
  z-index: 3;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Aplica la animación a las imágenes al cargar */

/* Asignamos un índice distinto a cada imagen */
.carousel-track img:nth-child(1) { --i: 0; }
.carousel-track img:nth-child(2) { --i: 1; }
.carousel-track img:nth-child(3) { --i: 2; }
.carousel-track img:nth-child(4) { --i: 3; }
.carousel-track img:nth-child(5) { --i: 4; }
.carousel-track img:nth-child(6) { --i: 5; }
.carousel-track img:nth-child(7) { --i: 6; }
.carousel-track img:nth-child(8) { --i: 7; }

/* En pantallas pequeñas reducimos el efecto */
@media (max-width: 600px) {
  .carousel img {
    width: 100%;
    min-width: 100%;
  }
  .carousel img:hover {
    transform: scale(1.05);
    rotate: none;
  }
}



/* Botones */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3em 0.6em;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.carousel button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }


.btn {
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 2rem;
  padding: 10px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
}

.btn:hover {
  background: rgba(0,0,0,0.7);
}



/* Responsivo */
@media (max-width: 768px) {
  .grupo {
    grid-template-columns: repeat(2, 1fr);
  }
  .icono-mano{
    display: none;
  }
  .icono-estrella{
    display: none;
  }
  .seccion-video h3{
    text-align: center;
  }
  .seccion-propuestas h3{
    text-align: center;
  }
.redes-link{
  grid-template-columns: repeat(1, 1fr);
}
.ficha-icono-koreano{
  display: none;
}
.icono-corazon{
  transform: scale(.8);
  top: -40px;
  left: -15px;
}
@media (max-width: 480px) {
  .grupo {
    grid-template-columns: 1fr;
  }
}
