/* =========================
   FAQ SECTION
========================= */
.faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Caja FAQ */
.faq-item {
  background-color: var(--white);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}


.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Pregunta */
.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
}

.faq-question h2 {
  font-size: 18px;
  color: var(--secondary-color);
}

/* Icono + */
.faq-icon {
  font-size: 22px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

/* Respuesta */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #fafafa;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 15px;
  color: #555;
}

/* Estado activo */
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 10px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}