/* =========================================================
   Nexxol Media — faq.css  (FAQ page only)
   Inherits the existing design system (styles.css tokens).
   No new colors: uses --color-orange / --color-periwinkle /
   --surface / --text-dark, etc.
   ========================================================= */

/* ---------- FAQ hero (on the dark base) ---------- */
.faq-hero {
  position: relative;
  padding-block: calc(var(--header-h) + 56px) 60px;
  text-align: center;
  overflow: hidden;
}
.faq-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 50% -10%, rgba(103, 111, 189, 0.20), transparent 60%),
    radial-gradient(60% 90% at 85% 0%, rgba(245, 137, 31, 0.10), transparent 55%);
  pointer-events: none;
}
.faq-hero__inner { position: relative; max-width: 720px; }

.faq-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-block-end: 20px;
}
.faq-breadcrumb a { color: var(--ink-soft); transition: color 0.25s var(--ease); }
.faq-breadcrumb a:hover { color: var(--color-orange); }
.faq-breadcrumb span[aria-current] { color: var(--ink); }

.faq-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.faq-hero__sub {
  margin-block-start: 16px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ---------- FAQ accordion list ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid #e7e9f2;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item.is-open {
  border-color: rgba(245, 137, 31, 0.35);
  box-shadow: var(--shadow-card);
}

.faq-item__q { margin: 0; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: right;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-dark);
  transition: color 0.25s var(--ease);
}
.faq-item.is-open .faq-q { color: var(--orange-deep); }
.faq-q__text { flex: 1 1 auto; }

.faq-q__icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--color-orange);
  transition: transform 0.35s var(--ease), background 0.25s var(--ease);
}
.faq-item.is-open .faq-q__icon {
  transform: rotate(180deg);
  background: var(--gold-tint);
}

/* Smooth height reveal via grid-rows (no JS measuring) */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a__inner p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--text-dark-muted);
  line-height: 1.9;
  font-size: 1rem;
}

/* ---------- "still have a question" CTA ---------- */
.faq-cta {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
  background: var(--surface-card);
  border: 1px solid #e7e9f2;
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  box-shadow: var(--shadow-lux-sm);
}
.faq-cta__title { font-size: 1.35rem; font-weight: 800; color: var(--text-dark); }
.faq-cta__text { margin-block: 10px 22px; color: var(--text-dark-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .faq-q { padding: 18px 18px; font-size: 1rem; gap: 12px; }
  .faq-a__inner p { padding: 0 18px 20px; }
  .faq-cta { padding: 30px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .faq-a,
  .faq-q__icon,
  .faq-item,
  .faq-breadcrumb a,
  .faq-q { transition: none; }
}
