/* --- Sección Principal FAQ --- */

.faq-section-dark {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background-color: #050505;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.glow-orb-faq {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.faq-container {
  position: relative;
  z-index: 1;
}

/* --- Encabezado --- */

.pre-title-faq {
  display: inline-block;
  color: #4a90e2;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title-faq {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.section-subtitle-faq {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Contenedor del Acordeón --- */

.faq-accordion-container {
  margin-top: 40px;
}

/* --- Items del Acordeón --- */

.faq-item {
  background: rgba(20, 25, 35, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item:hover {
  border-color: rgba(74, 144, 226, 0.3);
  background: rgba(30, 40, 55, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Estado Activo */

.faq-item.active {
  background: rgba(30, 40, 55, 0.6);
  border-color: rgba(74, 144, 226, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(74, 144, 226, 0.05);
}

/* --- Cabecera del Acordeón (Clickable) --- */

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  cursor: pointer;
  user-select: none;
  gap: 15px;
}

.faq-question {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
  color: #4a90e2;
}

.faq-item.active .faq-question {
  color: #4a90e2;
}

.faq-chevron {
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #4a90e2;
}

/* --- Cuerpo del Acordeón (Respuesta) --- */

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
  padding: 0 25px;
}

.faq-body p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

.faq-body p strong {
  color: #ffffff;
  font-weight: 600;
}

.faq-item.active .faq-body {
  max-height: 300px;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .faq-section-dark {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .section-title-faq {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .faq-header {
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .faq-body {
    padding: 0 20px;
  }
}

