/* =========================
   SECCIÓN LOGROS
========================= */
.seccion {
  padding: 80px 20px;
}

.bg-gray {
  background: #f1f1f1;
  width: 100%;
  padding: 60px 0;
}

.contenido {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.contenido h3 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* =========================
   TARJETA PRINCIPAL (RESEÑA)
========================= */
.reseña-card {
  background: #fff;
  border-left: 6px solid #007bff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.reseña-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.reseña-card h4 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* asegurar estilo a TODOS los párrafos dentro de la tarjeta reseña */
.reseña-card p,
.reseña-card > p,
.reseña-card .resena-texto,
.reseña-card .resena-texto p,
.reseña-card .resena-extra,
.reseña-card .resena-extra p {
  text-align: justify;
  text-indent: 2em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1em;
  font-size: 1rem;
}

/* =========================
   EFECTO "LEER MÁS"
========================= */
.resena-texto {
  position: relative;
  overflow: hidden;
  max-height: 120px;
  transition: max-height 0.4s ease;
}

.resena-extra {
  display: none;
}

.reseña-card.expandida .resena-texto {
  max-height: 1000px;
}

.reseña-card.expandida .resena-extra {
  display: block;
}

.leer-mas-btn {
  background: none;
  border: none;
  color: #007bff;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  padding: 0;
  transition: color 0.2s;
}

.leer-mas-btn:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* =========================
   GRID DE LOGROS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 16px;
  border-left: 5px solid #007bff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card h4 {
  margin-bottom: 10px;
  color: #003366;
  font-size: 1.2rem;
  font-weight: bold;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* =========================
   MEDIA QUERIES
========================= */
@media (max-width: 992px) {
  .contenido h3 {
    font-size: 1.8rem;
  }

  .reseña-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contenido h3 {
    font-size: 1.5rem;
  }
}
