@media (max-width: 768px) {
  .contenedor4 {
    flex-direction: column;
    padding: 20px;
  }

  .imagen1,
  .formulario {
    flex: 1 1 100%;
    text-align: center;
  }

  .imagen1 img {
    max-width: 90%;
  }

  .contenedor-presentacion {
    padding: 1rem;
  }

  .contenedor-alerta {
    flex-direction: column;
  }

  .alerta-texto,
  .alerta-imagen {
    flex: 1 1 100%;
  }

  .alerta-imagen {
    margin-top: 1rem;
  }

  .presentacion {
    padding: 1rem;
    /* font-size: 0.95rem; */
  }

  .benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contenido-texto {
    text-align: justify;
  }
}


body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  color: #333;
  font-size: 19px;
  padding: 0;
  overflow-x: hidden;
  background-color: #FFFF;
  /* Reforzamos que no se desborde */
}

.contenido {
  padding: 30px 0;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;

}

.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
   background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.presentacion {
   background-image: url('img/imgpresentacion2.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 0rem;
  width: 100%;
  /* Evita scroll horizontal */
}

.contenedor-presentacion {
  max-width: 1200px;
  /* Puedes ajustar este valor para “jugar” con el ancho */
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.92);
  /* Fondo blanco semi transparente para mejorar legibilidad */
  border-radius: 12px;
  color: #242424;
  text-align: justify;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.presentacion p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.presentacion strong {
  color: #611232;
}

.video-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.video-container video {
  max-width: 70%;
  border-radius: 8px;
}

section {
  display: flex;
  justify-content: center;

}

article {
  max-width: 1000px;

  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
  /* Centra por defecto todo dentro del artículo */
}

article h3 {
  text-align: left;
  /* Sobrescribe solo el título */
  margin-bottom: 1rem;
}

.texto {
  text-align: justify;
  margin-bottom: 2rem;
  flex: 1 1 60%;

}

.benefits {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
/* Permalink - use to edit and share this gradient. Enlace permanente - úsalo para editar y compartir este gradiente: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+50,ffffff+100 */
background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 50%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */








}

.contenido-benefits {
  max-width: 1000px;
  box-sizing: border-box;
}

.contenido-benefits h3 {
  text-align: left;
  margin-bottom: 2rem;
}

.benefit-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.icono {
  flex-shrink: 0;
}

.icono-svg {
  width: 40px;
  height: 40px;
  color: #1e5b4f;
}

.contenido-texto {
  flex: 1;
}

.benefit-card h4 {
  margin: 0 0 0.75rem;
  color: #1e5b4f;
}

.benefit-card p,
.benefit-card ul {
  margin: 0 0 1rem;
  text-align: justify;
}

.benefit-card ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.benefit-card li {
  margin-bottom: 0.5rem;
}

.importante {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.contenedor-importante {
  width: 1000px;
  margin: auto;
  text-align: center;
}

.importante h3 {
  text-align: left;
  margin-bottom: 1rem;
}

.imagen-entidades {
  margin-top: 2rem;
  background-image: url('img/search.png');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 3rem 1rem;
  position: relative;
}

.selector-entidades {
  width: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
}

.selector-entidades label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #fff;

}

.selector-entidades select {
  padding: 0.5rem;

  border-radius: 4px;
  border: none;
}

.estadisticas {
  padding: 3rem 1rem;
 /* Permalink - use to edit and share this gradient. Enlace permanente - úsalo para editar y compartir este gradiente: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+50,ffffff+100 */
background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 50%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */



}

.contenedor-estadisticas {
  max-width: 1000px;
  margin: auto;
}

.estadisticas h3 {
  margin-bottom: 1rem;
  text-align: left;
}

.estadisticas h4 {

  margin: 1.5rem 0 1rem;
  text-align: left;
}

.imagen-centro {
  text-align: center;
  margin-bottom: 2rem;
}

.imagen-centro img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.texto {
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: justify;
}


.prioridad {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1000px;
}



.prioridad-contenido {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}



.prioridad p {
  margin-bottom: 1rem;
}

.prioridad strong {
  color: #1e5b4f;
}

.imagen,
.video {
  text-align: center;
}

.imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.contacto {
 /* Permalink - use to edit and share this gradient. Enlace permanente - úsalo para editar y compartir este gradiente: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100 */
/* background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%);  */
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */



  padding: 40px 20px;
  text-align: left;
}

.contenedor-contacto {
  max-width: 1000px;
  width: 100%;
  /* Asegura que tome todo el ancho permitido */
  margin: 0 auto;
  /* Centra horizontalmente dentro del body o sección */
  padding: 2rem;
  /* Espaciado interno opcional */
  box-sizing: border-box;
  /* Incluye el padding dentro del ancho */

}

.info-contacto {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-contacto img {
  flex-shrink: 0;
}

.info-contacto div {
  display: flex;
  flex-direction: column;
}

.contenedor-contacto h3 {
  margin-bottom: 2rem;

}


.contenedor-contacto a {
  color: #611232;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contenedor-contacto a:hover {
  color: #a57f2c;
  /* Dorado claro al pasar el cursor */
  text-decoration: underline;
}











.contenedor4 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  gap: 40px;
  flex-wrap: wrap;
  /* se apilan en pantallas pequeñas */
}

.imagen1 {
  flex: 1 1 40%;
  text-align: right;
}

.imagen1 img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}







/* Contenido debajo del fondo */


.contenedor1 {
  display: flex;
  justify-content: center;
  /* centra el grupo */
  align-items: center;
  gap: 70px;
  /* más separación entre imágenes */
  margin-top: 100px;
}

.contenedor1 img {
  width: 400px;
  /* tamaño aumentado */
  height: auto;
}

h3 {
  color: #611232;
}

/* Estilos comunes */
.carousel,
.carousel2 {
  position: relative;
  width: 100%;
  max-width: 550px;
  overflow: hidden;
  margin: auto;
}

.slides,
.slides2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide,
.slide2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.slide img,
.slide2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Indicadores */
.indicators,
.indicators1 {
  text-align: center;
  margin-top: 10px;
}

.dot,
.dot1 {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
}

.dot.active,
.dot1.active {
  background-color: #717171;
}

.img45 {
  max-width: 80%;
  /* imagen grande pero no excede el ancho */
  height: auto;
  border-radius: 8px;
  margin-top: 0px;
  /* espacio arriba de la imagen */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




.alerta {
  background-color: #F4F4F4;
  padding: 2rem;
  border-left: 6px solid #1e5b4f;
  margin: 2rem 0;
  color: #333;
}

.alerta h3 {
  color: #1e5b4f;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contenedor-alerta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.alerta-texto {
  flex: 1 1 60%;
  font-size: 1.5rem;
}

.alerta-texto p,
.alerta-texto ul {
  margin-bottom: 1rem;
  text-align: left;
}

.alerta-texto ul {
  list-style: none;
  padding-left: 0;
}

.alerta-texto li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.icono {
  width: 35px;
  height: 35px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.alerta-imagen {
  flex: 1 1 30%;
  text-align: center;
}

.alerta-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.alerta-imagen a:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: #9b2247;
}

/* Responsivo para móviles */





/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;

}

.modal-contenido {
  background: #F4F4F4;
  overflow-y: auto;
  border-radius: 10px;
  width: 75%;
  max-height: 80%;
  text-align: left;
  background-image: url('img/imgmodal2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 3rem;



}

.cerrar {
  float: right;
  font-size: 4rem;
  cursor: auto;
  color: #611232;
}