/* ======== ESTILOS BASE ======== */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #f4f4f9; /* Fondo muy claro */
  text-align: center;
}

header.contenedor1 {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 1rem;
  border-bottom: 3.5px solid #D4007B; /* Un color institucional para la línea */
}


header img.ine {
  width: 150px;
}

header img.iso {  
  width: 80px;
}

.direccion {
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  color: rgb(99, 97, 97);
  
}

.logo-container {
    flex-basis: 10%; /* Espacio para los logos */
    text-align: center;
}

.logo {
    max-width: 100px; /* Tamaño máximo para logos */
    height: auto;
}



/* ======== TÍTULO ======== */
.seccion-header p {
  
    font-size: 1.7rem; /*tamaño del titulo*/
    color: #1e3a5f; /* Azul más oscuro */
    margin: 20px 0;
    padding: 60px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ======== BOTONES ======== */
.contenedor2,
.contenedor3 {
  display: flex;
  flex-wrap:wrap;
  justify-content: center; /* 🔹 Centra horizontalmente */
  align-items: center;
  gap: 3rem; /* 🔹 Espacio entre botones */
  width: 100%;
  max-width: 1100px; /* 🔹 Limita el ancho total */
  margin: 0 auto 2rem auto; /* 🔹 Centrado */
}

.contenedor2 a {
  background-color: #e6e4d2;
  color: rgb(20, 63, 104);
  text-decoration: none;
  padding: 2rem 5.5rem;
  border-radius: 8px 8px 8px 8px ;
  box-shadow: 2px 4px 6px rgba(19, 19, 19, 0.2);
  transition: all 0.3s ease-in-out;
  flex: 1 1 1%; /* 🔹 Se adaptan en ancho */
  max-width: 210px;
  font-weight: 780; 
  border: 1.8px solid #163eac;
  font-size: 22px;
  
  
}

.contenedor2 a:hover,
.contenedor3 a:hover {
  
  background-color:  #D4007B;
  color:rgb(255, 255, 255);
  transform: scale(1.05);
  border: 1.9px solid #ffffff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05); /* Sombra sutil */
  transform: translateY(-6px); /* Pequeño desplazamiento hacia arriba */
  
  
}


.años{
font-size: 2vh;
}


.años:hover{
    transform: scale(1.05);
}

.scra{
    font-size: 1.5vh;
}

.scra:hover{
    transform: scale(1.05);
}

/* ======== IMÁGENES DEL PIE ======== */
.contenedor4 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}

.contenedor4 img {
  width: 180px;
  border-radius: 10%;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.25);
}




.btn {
    background: transparent;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
}


.btn:hover{

    transform: scale(1.3);
}

.salir img {
  width: 60px;
  cursor: pointer;
  
}

.cerrar{
background: transparent;
border: none;
}

/* ======== LÍNEAS ======== */
/*.h {
  border: none;
  height: 2px;
  background-color: #e40e9d;
  width: 100%;
  margin: 3% auto;
}*/

/* ======== RESPONSIVE ======== */

/* Tablet horizontal (hasta 1024px) */
@media (max-width: 1024px) {
  .contenedor2 {
    max-width: 35%;
    max-height: 15%;
  }
  .contenedor4 {
    flex-wrap: wrap;
  }
}

/* Tablet vertical y móvil */
@media (max-width: 768px) {


  .logo-container{
        display:inline-block; /* Si utilizas None: Oculta los logos en la vista más pequeña para ahorrar espacio *//*Ahora 
        lo  puse en Block y esto los puso uno encima del otro*/
    }
  
  .contenedor2 a  {
    width: 100%;
    height: 15%;
    max-width: none;
    
  }
 
}
