/* ============================================================
   DAWNFALL — FAQ page
   ============================================================ */

/* ── Body ───────────────────────────────────────────────── */

.faq-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Category filter pills ──────────────────────────────── */

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-filter-btn {
  padding: 6px 16px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.faq-filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.faq-filter-btn.active {
  background: var(--brand-gradient);
  color: var(--on-brand);
  border-color: var(--border-brand);
  box-shadow: 0 4px 20px var(--brand-tint-22), 0 1px 4px var(--shadow-lg);
}

/* ── FAQ items ──────────────────────────────────────────── */

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

.faq-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 4px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}

.faq-item[open] {
  border-color: var(--border-brand);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text);
  transition: transform var(--dur-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
}

.faq-answer p          { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong     { color: var(--text); }
.faq-answer a          { color: var(--brand-2); text-decoration: underline; }
.faq-answer ul,
.faq-answer ol         { padding-left: 20px; margin: 8px 0; }
.faq-answer li         { margin-bottom: 4px; }

/* ── Empty state ────────────────────────────────────────── */

.faq-empty {
  text-align: center;
  color: var(--text);
  font-size: 14px;
  padding: 40px 0;
}

/* ── CTA block ──────────────────────────────────────────── */

.faq-contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.faq-contact-cta p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

.faq-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-cta-actions .btn { border-radius: var(--card-radius); }

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 600px) {
  .faq-item summary { padding: 14px 16px; }
  .faq-answer { padding: 0 16px 14px; }
}

@media (max-width: 480px) {
  .faq-cta-actions { flex-direction: column; align-items: stretch; }
  .faq-cta-actions .btn { width: 100%; }
}
