.faq-header-content {
  text-align: center;
  margin: 30px 0 0 0;
  user-select: none;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CONTENEDOR FAQ */
.faq-container {
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.13);
  margin: 0 auto 80px auto;
  padding: 60px 80px;
  max-width: 1400px;
  /* Deja espacio a los lados para ver el fondo negro */
}

/* TÍTULO FAQ */
.faq-title {
  font-weight: 800;
  font-size: 4rem;
  margin-bottom: 48px;
  color: #4a3c8c;
  text-align: center;
  text-shadow: 0 2px 6px rgba(74, 60, 140, 0.18);
  user-select: none;
  letter-spacing: 1.5px;
}

/* ITEM FAQ */
.faq-item {
  border-bottom: 2px solid #b9b3e6;
  padding-bottom: 32px;
  margin-bottom: 44px;
  transition: background-color 0.25s ease;
  cursor: default;
}

.faq-item:hover {
  background-color: #f0eefa;
}

/* PREGUNTA */
.faq-question {
  color: #3a2a5a;
  font-weight: bolder;
  font-size: 2.7rem;
  padding-right: 38px;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.faq-question:hover {
  color: #5b44a3;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 800;
  font-size: 3.5rem;
  color: #a590d8;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
  color: #5b3e99;
}

/* RESPUESTA */
.faq-answer {
  margin-top: 18px;
  display: none;
  line-height: 1.8;
  color: #2e2e2e;
  font-size: 2.15rem;
  font-weight: 1000px;
  padding-left: 10px;
}

.faq-answer.show {
  display: block;
}

/* =========================
   RESPONSIVE DESIGN FAQ
   ========================= */

/* === MÓVIL PEQUEÑO (hasta 480px) === */
@media (max-width: 480px) {
  .faq-container {
    padding: 18px 4vw;
    max-width: 98vw;
    margin: 0 auto 30px auto;
  }
  .faq-title {
    font-size: 2rem;
    margin-bottom: 22px;
  }
  .faq-question {
    font-size: 1.2rem;
    padding-right: 24px;
  }
  .faq-question::after {
    font-size: 2rem;
  }
  .faq-answer {
    font-size: 1rem;
    padding-left: 2px;
  }
}

/* === MÓVIL GRANDE / TABLET PEQUEÑA (481px a 767px) === */
@media (min-width: 481px) and (max-width: 767px) {
  .faq-container {
    padding: 28px 6vw;
    max-width: 96vw;
    margin: 0 auto 40px auto;
  }
  .faq-title {
    font-size: 2.5rem;
    margin-bottom: 28px;
  }
  .faq-question {
    font-size: 1.5rem;
    padding-right: 28px;
  }
  .faq-question::after {
    font-size: 2.3rem;
  }
  .faq-answer {
    font-size: 1.2rem;
    padding-left: 4px;
  }
}

/* === TABLET (768px a 1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  .faq-container {
    padding: 40px 10vw;
    max-width: 90vw;
    margin: 0 auto 60px auto;
  }
  .faq-title {
    font-size: 3rem;
    margin-bottom: 36px;
  }
  .faq-question {
    font-size: 2rem;
    padding-right: 32px;
  }
  .faq-question::after {
    font-size: 2.7rem;
  }
  .faq-answer {
    font-size: 1.5rem;
    padding-left: 6px;
  }
}

/* === PORTÁTIL/ESCRITORIO PEQUEÑO (1024px a 1280px) === */
@media (min-width: 1024px) and (max-width: 1280px) {
  .faq-container {
    padding: 50px 60px;
    max-width: 900px;
    margin: 0 auto 70px auto;
  }
  .faq-title {
    font-size: 3.2rem;
    margin-bottom: 40px;
  }
  .faq-question {
    font-size: 2.2rem;
    padding-right: 34px;
  }
  .faq-question::after {
    font-size: 3rem;
  }
  .faq-answer {
    font-size: 1.7rem;
    padding-left: 8px;
  }
}