:root {
  --rojo: #aa3824;
  --rojo-oscuro: #90271a;
  --amarillo: #c9902b;
  --amarillo-hover: #a8741f;
  --texto: #0F172A;
  --gris: #334155;
  --gris-claro: #E5E7EB;
  --blanco: #FFFFFF;
  --sombra-suave: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* ============== ANIMACIONES ======================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pasos-admision {
  padding: 6rem 0 3rem;
  background: var(--blanco);
  animation: fadeInUp 0.9s ease 0.2s backwards;
}

.pasos-admision h2 {
  text-align: center;
  color: var(--texto);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.8s ease;
}

.pasos-admision .container {
  width: min(1150px, 92%);
  margin-inline: auto;
}

/* === PASOS === */
.grid-pasos {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.8rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.paso {
  flex: 1 1 22%;
  background: var(--blanco);
  border: 1px solid var(--gris-claro);
  border-radius: 1rem;
  padding: 2.2rem 1.5rem;
  box-shadow: var(--sombra-suave);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: scaleIn 0.6s ease backwards;
}

.paso:nth-child(1) {
  animation-delay: 0.1s;
}

.paso:nth-child(2) {
  animation-delay: 0.2s;
}

.paso:nth-child(3) {
  animation-delay: 0.3s;
}

.paso:nth-child(4) {
  animation-delay: 0.4s;
}

.paso:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icono {
  font-size: 2.8rem;
  background: #f9fafb;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--rojo);
}

.paso h3 {
  color: var(--rojo);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.paso p,
.paso li {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.6;
}

.paso ul {
  text-align: left;
  margin: 0.5rem 0 1rem 1rem;
}

.btn {
  display: inline-block;
  background: var(--rojo);
  color: var(--blanco);
  padding: 0.6rem 1.3rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn:hover {
  background: var(--rojo-oscuro);
  transform: scale(1.05);
}

.nota {
  font-size: 0.85rem;
  color: #7f2418;
  margin-top: 0.5rem;
}

.motivacion {
  color: var(--rojo);
  font-weight: 600;
  margin-top: 1rem;
}

.mensaje-final {
  background: #fef9f5;
  border-left: 6px solid var(--amarillo);
  padding: 2.5rem;
  border-radius: 0.8rem;
  margin-top: 3rem;
  text-align: center;
  box-shadow: var(--sombra-suave);
  animation: fadeInUp 0.9s ease 0.6s backwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mensaje-final:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.mensaje-final h2 {
  color: var(--rojo);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.mensaje-final p {
  color: var(--gris);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto;
}

/* === FOOTER === */
footer {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--blanco);
  font-size: 0.95rem;
  margin-top: 3rem;
  animation: fadeInUp 1s ease 0.8s backwards;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-pasos {
    flex-wrap: wrap;
  }

  .paso {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .grid-pasos {
    flex-direction: column;
  }

  .paso {
    flex: 1 1 100%;
  }

  .mensaje-final {
    margin-top: 2rem;
    padding: 1.8rem 1.2rem;
  }

  .mensaje-final h2 {
    font-size: 1.3rem;
  }
}

.texto-rojo-oscuro {
  color: var(--rojo-oscuro);
}