/* ========== CONFIGURACIÓN GENERAL OSCURA ========== */
.faq-section {
  padding: 80px 20px;
  background-color: #070707;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ========== ENCABEZADOS ========== */
.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-headline {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
}

.faq-subheadline {
  color: #a0aab8;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ========== GRID DE 2 COLUMNAS ========== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-headline {
    font-size: 2rem;
  }
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== CATEGORÍAS ========== */
.faq-category {
  margin-bottom: 25px;
}

.faq-category h3 {
  font-size: 0.9rem;
  color: #00e0ff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid #00e0ff;
  line-height: 1;
  font-weight: 600;
}

/* ========== TARJETA (ITEM) ========== */
.faq-item {
  margin-bottom: 12px;
  border: 1px solid #152333;
  border-radius: 12px;
  background: #0d1e2e;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #1e3347;
  background: #141a26;
}

.faq-item.active {
  border-color: #00e0ff;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.12);
  background: #101622;
}

/* ========== BOTÓN PREGUNTA ========== */
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  line-height: 1.4;
}

.faq-item.active .faq-question {
  color: #00e0ff;
}

/* ========== RESPUESTA ========== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 20px 20px 20px;
  color: #bdc5d1;
  line-height: 1.7;
  font-size: 0.92rem;
}

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

.faq-content p {
  margin: 0 0 10px 0;
}

.faq-content p:last-child {
  margin-bottom: 0;
}

/* ========== CTAs DENTRO DE RESPUESTAS ========== */
.faq-cta {
  margin-top: 12px !important;
}

.faq-cta a {
  color: #00e0ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.faq-cta a:hover {
  color: #5ce1ff;
  text-decoration: underline;
}

/* ========== ICONO ========== */
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s, color 0.3s;
  color: #00e0ff;
  margin-left: 15px;
  flex-shrink: 0;
}

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

/* ========== CTA FINAL DE SECCIÓN ========== */
.faq-final-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #152333;
}

.faq-final-cta p {
  color: #a0aab8;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.faq-contact-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #00e0ff 0%, #0a7cff 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 224, 255, 0.3);
}

.faq-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 224, 255, 0.4);
  background: linear-gradient(135deg, #5ce1ff 0%, #00b8e6 100%);
  text-decoration: none;
  color: #070707;
}

/* ========== RESPONSIVE AJUSTES ========== */
@media (max-width: 480px) {
  .faq-section {
    padding: 60px 15px;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.9rem;
  }

  .faq-content {
    padding: 0 16px 16px 16px;
    font-size: 0.88rem;
  }

  .faq-icon {
    font-size: 1.3rem;
  }
}
