.contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

.experiencia-academica {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
    max-width: 100%;
}

.titulo {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003366;
}


.estadisticas {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 40px;
    width: 100%;
  justify-content: space-around;
}

.bloque {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  text-align: center;
}

.etiqueta {
  font-size: 1rem;
  color: #333;
}
.numero {
  font-size: 4.2rem;
  font-weight: bold;
  color: #006699;
  margin-bottom: 10px;
  position: relative;
    margin-bottom: 5px; 
}

.intro {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.icono {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

/*lines */
.numero::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #006699;
  margin: 10px auto 0;
  border-radius: 2px;
    width: 80px;
    transition: width 0.5s ease;
}

.cierre {
  margin-top: 40px;
  font-size: 1rem;
  color: #555;
  border-top: 2px solid #ccc;
  padding-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1200px) {
  .experiencia-academica .contenedor {
    max-width: 90%;
  }
}

.bloque-oferta-academica {
  width: 100%;
  padding: 20px 20px 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}
.contenedor-galeria {
  width: 100%;
  overflow-x: hidden;
}

.titulo-oferta {
  font-size: 2.5rem;
  color: #002b5c;
  margin-bottom: 40px;
  font-weight: bold;
    text-align: center;
}

.galeria-carreras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  padding: 0 20px;
  margin-bottom: 40px;
  box-sizing: border-box;
  max-width: 100%;
}

.carrera {
  flex: 0 0 auto;
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.carrera img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 0 12px rgba(0,43,92,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carrera:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.carrera p {
  margin-top: 12px;
  font-weight: bold;
  color: #002b5c;
  font-size: 1rem;
}

.boton-oferta {
  text-align: center;
}

.boton-oferta a {
  display: inline-block;
  padding: 14px 28px;
  background-color: #f7c600;
  color: #002b5c;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-oferta a:hover {
  background-color: #ffd84d;
  transform: scale(1.05);
}
.linea-separadora {
  width: 80%;
  height: 2px;
  background-color: #ccc;
  margin: 20px auto 0 auto;
  border-radius: 2px;
}
/* ======================================================= */
/* ADAPTACIÓN MÓVIL PARA ESTADÍSTICAS Y CARRERAS           */
/* ======================================================= */
@media (max-width: 768px) {
  .estadisticas, 
  .galeria-carreras {
    gap: 30px !important; /* Reducimos la separación de 80px a 30px */
  }
  
  .titulo,
  .titulo-oferta {
    font-size: 1.8rem; /* Achicamos un poco los títulos principales */
  }
}
