/* ===== SECCI脫N SABER M脕S ===== */

.info-destacada {
  width: 100%;
  padding: 80px 40px;

  /* 馃敟 Imagen de fondo */
  background: #1e3a8a;
  background-size: cover;
  background-position: center;
}


.info-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;   /* 馃敟 ahora todo va en columna */
  align-items: center;      /* 馃敟 centra horizontalmente */
  text-align: center;       /* 馃敟 centra texto */
  gap: 50px;
}

/* Waves decorativas */
.info-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 100px;
}

.info-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Posicionamiento */
.info-wave-top {
  margin-bottom: -5px; /* encaja con la secci贸n superior */
}

.info-wave-bottom {
  margin-top: -5px; /* encaja con la siguiente secci贸n */
}

/* T铆tulo izquierdo */
.info-left h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: #ffffff; /* morado similar imagen */
  line-height: 1.2;
}

/* Cards contenedor */
.info-cards {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card individual */
.info-card-box {
  background: #f1f1f1;
  border-radius: 15px;
  padding: 30px 25px;
  width: 220px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Icono circular */
.info-icon {
  width: 70px;
  height: 70px;
  background:#ffd700;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

/* T铆tulo card */
.info-card-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

/* Enlace */
.info-card-box a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
}

.info-card-box a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .info-container {
    flex-direction: column;
    text-align: center;
  }

  .info-left h2 {
    font-size: 2.3rem;
  }
}

@media (max-width: 600px) {
  .info-cards {
    flex-direction: column;
    align-items: center;
  }
}


/* ============================= */
/* ANIMACIÓN SABER MÁS */
/* ============================= */

.animar-info {
  opacity: 0;
  transform: translateX(100px) translateY(40px) rotate(4deg);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.animar-info.visible {
  opacity: 1;
  transform: translateX(0) translateY(0) rotate(0);
}