/* ============================================================
   FAQ page. Accordion colors/spacing copied directly from the live
   KloudData theme's home FAQ section (template-parts/home-faq.php +
   assets/css/home.css's .kd-home-faq-item/-q/-icon/-a), adapted to
   this page's div+button markup (vs. their native <details>) and
   grouped-category structure (vs. their flat list) -- not
   re-derived, so the card look matches klouddata.com exactly.
   ============================================================ */
.faq{ max-width: 950px; margin: 0 auto; padding: 140px 24px 120px; }
@media (max-width: 1024px){ .faq{ padding: 120px 24px 96px; } }
@media (max-width: 640px){ .faq{ padding: 100px 20px 72px; } }
.faq-head{ text-align: center; margin-bottom: 48px; }
@media (max-width: 640px){ .faq-head{ margin-bottom: 32px; } }
/* font-size/line-height intentionally not set here -- inherits the
   sitewide h1 scale from main.css. */
.faq-head h1{ margin: 0 0 14px; color: var(--text-primary); }
.faq-head p{ color: var(--text-secondary); font-size: 16px; margin: 0; }

.faq-group + .faq-group{ margin-top: 40px; }
/* This is a small uppercase category label ("ACCESS & SAFETY"), not a
   visual heading, despite the h2 tag (used for document outline/a11y) --
   deliberately excluded from the sitewide h2 scale rather than forced to
   48px, which would break this layout. */
.faq-group h2{ font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-blue); font-weight: 700; margin: 0 0 14px; }

.faq-item{
  border: 2px solid var(--border); border-radius: 12px; margin-bottom: 14px;
  overflow: hidden; background: #fff;
}
.faq-q{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; background: #fff; border: none; cursor: pointer;
  padding: 22px 20px; font-family: var(--font-main); font-weight: 700; font-size: 18px; color: var(--text-primary);
  transition: background var(--transition);
}
@media (max-width: 640px){ .faq-q{ padding: 16px 16px; font-size: 16px; gap: 12px; } }
.faq-q:hover{ background: var(--bg-secondary); }
.faq-item.open .faq-q{ background: var(--bg-secondary); border-bottom: 2px solid var(--border); }
.faq-chevron{ flex-shrink: 0; width: 20px; height: 20px; color: var(--text-muted); transition: color var(--transition), transform 200ms var(--transition); }
.faq-item.open .faq-chevron{ color: var(--text-primary); transform: rotate(180deg); }
.faq-a{ max-height: 0; overflow: hidden; background: #fff; transition: max-height 240ms var(--transition); }
.faq-item.open .faq-a{ max-height: 400px; }
.faq-a-inner{ padding: 16px 20px 24px; color: #6B7A99; font-size: 16px; line-height: 1.7; }
@media (max-width: 640px){ .faq-a-inner{ padding: 12px 16px 20px; } }

/* Visual styling (dark navy card, radial glow, button) comes from
   main.css's shared .cta-band component; this only adds the FAQ page's
   own top spacing before it. */
.faq-cta{ margin-top: 56px; }
