/* ===================== HERO ADMISION ===================== */ 
.hero-box {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #f0f8ff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.hero-box h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
}

.hero-box .subtitulo {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.btn-postula {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  color: white;
  background: linear-gradient(135deg, #0077cc, #005fa3);
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-postula:hover {
  background: linear-gradient(135deg, #005fa3, #0077cc);
  transform: translateY(-2px);
}


/* ====== NUEVO: contenedor para imagen + video ====== */
.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ====== NUEVO: estilo del video ====== */
.hero-video video {
  max-width: 100%;
  width: 273px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* ===================== SECCION CARDS ===================== */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card h3 {
  font-size: 1.5rem;
  color: #0077cc;
  margin-bottom: 1rem;
  text-align: center;
}

.card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  text-align: justify;
}


/* ===================== RESPONSIVO ===================== */
@media (max-width: 1024px) {
  .grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-box h2 {
    font-size: 2rem;
  }

  .hero-box .subtitulo {
    font-size: 1rem;
  }

  .btn-postula {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }

  .card {
    max-width: 100%;
  }

  /* video e imagen uno debajo del otro */
  .hero-media {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-box h2 {
    font-size: 1.6rem;
  }

  .hero-box .subtitulo {
    font-size: 0.95rem;
  }

  .btn-postula {
    font-size: 0.9rem;
  }
}
