/* ============================= */
/* 2. SECCIÓN MISIÓN Y VISIÓN */
/* ============================= */

.mision-vision-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0 40px 0;
  font-family: var(--font-primary);
  background-color: var(--bg-light);
  animation: fadeInUp 1.2s ease;
}

/* === Contenedores individuales === */
.section-mision,
.section-vision {
  flex: 1;
  text-align: justify;
  padding: 0 10px;
  transition: transform var(--transition-medium);
}

/* === Títulos === */
.section-mision h2,
.section-vision h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
  animation: fadeInLeft 1.2s ease;
}

/* === Párrafos === */
.section-mision p,
.section-vision p {
  color: var(--text-color);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0;
  animation: fadeInRight 1.2s ease;
}

/* === Animaciones suaves === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Responsive: apilado en pantallas pequeñas === */
@media (max-width: 768px) {
  .mision-vision-container {
    flex-direction: column;
    gap: 25px;
    padding: 40px 15px;
  }

  .section-mision,
  .section-vision {
    padding: 0;
    text-align: center;
  }

  .section-mision h2,
  .section-vision h2 {
    text-align: center;
  }
}
