/* ============================================================
   FAQ-01 — Two-Column Accordion Grid
   Diseño premium e interactivo con tarjetas sobre fondo blanco
   ============================================================ */

.faq-accordion-section {
  padding: 100px 24px;
  background: var(--background);
  position: relative;
}

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

/* ── Header izquierdo ── */
.faq-header {
  text-align: left;
  margin-bottom: 56px;
  max-width: 680px;
}

.faq-title {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--secondary);
  margin: 0 0 16px 0;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

/* Acento con gradiente elegante usando el color del cliente */
.faq-accent-gradient {
  background: linear-gradient(135deg, var(--secondary) 20%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.faq-subtitle {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ── Grilla de acordeones ── */
.faq-accordion-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

/* ── Tarjeta FAQ ── */
.faq-item {
  background: var(--backgroundAlt);
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

/* Estado activo / abierto */
.faq-item.active {
  background: var(--background);
  border-color: var(--primary);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--primary) 8%, transparent);
}

/* ── Disparador / Botón de pregunta ── */
.faq-trigger {
  width: 100%;
  padding: 26px 32px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  outline: none;
}

.faq-question {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  transition: color 0.25s ease;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

/* Ícono "+" delgado */
.faq-icon {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--textSecondary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease;
  flex-shrink: 0;
}

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

/* ── Contenido de la respuesta ── */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-content-inner {
  padding: 0 32px 28px 32px;
}

.faq-content-inner p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  font-size: 0.98rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .faq-accordion-section {
    padding: 50px 20px;
  }
  .faq-header {
    margin-bottom: 32px;
  }
  .faq-accordion-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .faq-accordion-section {
    padding: 40px 16px;
  }
  .faq-header {
    margin-bottom: 20px;
  }
  .faq-trigger {
    padding: 14px 18px;
    gap: 16px;
  }
  .faq-content-inner {
    padding: 0 18px 14px 18px;
  }
  .faq-question {
    font-size: 0.95rem;
  }
  .faq-content-inner p {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .faq-icon {
    font-size: 1.3rem;
  }
}