/* =========================
   ESTILO GENERAL
========================= */
.contenido {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

/* =========================
   ACERCA DE
========================= */
.Acercade {
  max-width: 1200px;
  width: 90%;
  background: #007bff9a;
  color: white;
  margin: 60px auto;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.Acercade h3 {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.Acercade p {
  font-size: 1rem;
  line-height: 1.6;
}

.logo-escuela-acercade {
  height: 150px;
  width: auto;
  flex-shrink: 0;
}

/* =========================
   TARJETAS (BASE)
========================= */
.card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.card h4 {
  color: #003366;
  margin-bottom: 10px;
  text-align: center;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  text-align: center;
}

/* =========================
   MISION Y VISION (MVV)
========================= */
.MVV .card {
  margin-top: -60px;
  padding: 25px;
}

/* =========================
   VALORES
========================= */
.valores {
  margin-top: 40px;
}

.valores .card {
  margin-top: 20px;
  padding: 25px;
}

/* =========================
   GRID GENERAL
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* =========================
   MEDIA QUERIES
========================= */
@media (max-width: 992px) {
  .Acercade h3 {
    font-size: 1.5rem;
  }

  .Acercade p {
    font-size: 0.95rem;
  }

  .logo-escuela-acercade {
    height: 120px;
  }

  .MVV .grid {
    grid-template-columns: 1fr;
    gap: 100px 0;
  }
}

@media (max-width: 768px) {
  .Acercade {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .logo-escuela-acercade {
    height: 100px;
    margin-top: 1rem;
  }

  .MVV .grid {
    grid-template-columns: 1fr;
    gap: 100px 0;
  }
}

@media (max-width: 480px) {
  .Acercade h3 {
    font-size: 1.3rem;
  }

  .Acercade p {
    font-size: 0.9rem;
  }

  .logo-escuela-acercade {
    height: 80px;
  }

  .MVV .grid {
    grid-template-columns: 1fr;
    gap: 100px 0;
  }
}
