/* ingresantes-2026.css – Estilos específicos para la página Ingresantes 2026 */

/* Ajustes generales de contenedor */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero específico (hereda de .hero-ingresantes del global si existe) */
.hero-ingresantes {
  background: linear-gradient(to bottom, #0f3c5d, #0d2b44);
  color: #ffffff;
  padding: 130px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* LOGO */
.hero-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
  animation: float 3s ease-in-out infinite;
}

/* ANIMACIÓN LOGO */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* TÍTULO */
.hero-ingresantes h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* =========================
   RESPONSIVE HERO
========================= */
@media (max-width: 768px) {
  .hero-ingresantes {
    padding: 110px 16px 70px;
  }

  .hero-ingresantes h1 {
    font-size: 36px;
  }

  .hero-logo {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-ingresantes h1 {
    font-size: 28px;
  }

  .hero-logo {
    width: 100px;
  }
}

/* Introducción */
.intro-ingresantes p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.intro-ingresantes p strong {
  color: var(--banner);
}

/* Grupos y categorías (reutilizamos .cat-grid y .cat-box del global) */
.grupos-iniciales,
.categorias {
  background: #ffffff;
  border-radius: 24px;
  margin: 30px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--banner);
  margin-bottom: 32px;
}

.cat-box {
  background: var(--card-bg);
  padding: 28px 16px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(0,0,0,0.02);
  font-weight: 500;
}

.cat-box strong {
  display: block;
  margin-top: 8px;
  color: var(--btn);
  font-size: 1.1rem;
}

.cat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(29, 69, 103, 0.08);
  border-color: var(--btn);
}

.nota {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  margin-top: 32px;
  padding: 0 20px;
}

/* Clases de Experiencia */
.clase-experiencia {
  background: linear-gradient(145deg, #f0f5fa 0%, #ffffff 100%);
  border-radius: 40px;
  margin: 40px 0;
  padding: 40px 0;
}

.clase-experiencia h2 {
  font-size: 2.2rem;
  color: var(--banner);
  text-align: center;
  margin-bottom: 16px;
}

.clase-experiencia .sub {
  text-align: center;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-experiencia {
  text-align: center;
  margin-top: 48px;
}

.cta-experiencia h3 {
  font-size: 1.6rem;
  color: var(--banner);
  margin-bottom: 24px;
  font-weight: 600;
}

/* Bloques de asignaturas (repetidos) */
.asignaturas {
  background: #ffffff;
  border-radius: 32px;
  margin: 30px auto;
  box-shadow: 0 8px 28px rgba(29, 69, 103, 0.04);
  transition: all 0.3s ease;
}

.asignaturas:hover {
  box-shadow: 0 20px 40px rgba(29, 69, 103, 0.08);
}

.asignaturas h2 {
  font-size: 1.9rem;
  color: var(--banner);
  text-align: center;
  margin-bottom: 12px;
}

.asignaturas .sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ============================================= */
/* ICON GRID - VERSIÓN MÁS GRANDE (corregido)   */
/* ============================================= */
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.icon-card {
  flex: 0 0 220px;
  text-align: center;
  background: var(--card-bg);
  padding: 28px 16px;
  border-radius: 28px;
  transition: all 0.2s ease;
}

.icon-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 50%;
  background: white;
  padding: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.02);
}

.icon-card p {
  font-weight: 600;
  color: var(--banner);
  margin: 0;
  font-size: 1.1rem;
}

.icon-card:hover {
  background: white;
  box-shadow: 0 14px 28px rgba(57, 132, 198, 0.12);
  transform: scale(1.02);
}

/* =========================
   RESPONSIVE AJUSTADO
========================= */
@media (max-width: 768px) {
  .hero-ingresantes h1 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .icon-card {
    flex: 0 0 180px;
  }
  .icon-card img {
    width: 100px;
    height: 100px;
  }
  .icon-card p {
    font-size: 1rem;
  }
  .cta-experiencia h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero-ingresantes::after {
    display: none;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .icon-grid {
    gap: 20px;
  }
  .icon-card {
    flex: 0 0 150px;
  }
  .icon-card img {
    width: 90px;
    height: 90px;
  }
}
/* ==== CTA FINAL ==== */
.cta-final {
  background: linear-gradient(135deg, #0d3a66, #1B4C80);
  color: #ffffff;
  padding: 50px 40px; /* antes 10% */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  border-radius: 20px;
  margin: 60px auto; /* centra el bloque */
  max-width: 1200px; /* evita que toque los bordes */
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.cta-final h2 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 650px;
  margin: 0;
}

.cta-boton {
  margin-top: 20px;
}

.btn-inscripcion {
  background-color: #1e64c1;
  color: white;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.25s ease;
  display: inline-block;
}

.btn-inscripcion:hover {
  background-color: #174f9a;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-final {
    text-align: center;
    flex-direction: column;
    gap: 20px;
  }

  .cta-final h2 {
    text-align: center;
  }

  .cta-boton {
    margin-top: 0;
  }
}