/**
 * frequently-asked-questions.css v2 — /frequently-asked-questions-of-inspire-recovery/ (ID 958)
 * 2026-08-28 — visual redesign: 50/50 hero, category left-border accent, SVG chevron, open-state highlight
 *
 * Foundation: main.css (tokens · base · layout · typography · components)
 * Section rhythm: S1 AQUA → S2 WHITE → S3 SOFT-BLUE → S4 WHITE → S5 AQUA
 * CSS prefix: faq-
 */


/* ══════════════════════════════════════════════════════════════
   S1 — HERO
   Aqua. 50/50 grid: text left · image right.
   Image: attachment 1286 (hand holding smartphone; approved 2026-08-28).
   ══════════════════════════════════════════════════════════════ */

.faq-hero {
  background: var(--brand-aqua);
  padding: 0;
  overflow: hidden;
}

.faq-hero .wrap {
  padding-top: 0;
  padding-bottom: 0;
  max-width: 1160px;
}

.faq-hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 460px;
}

.faq-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px) clamp(48px, 6vw, 80px) 0;
}

.faq-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: .7;
}

.faq-h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}

.faq-hero-lead {
  font-size: clamp(.96rem, 1.3vw, 1.06rem);
  line-height: 1.68;
  color: var(--text-primary);
  margin-bottom: 28px;
  max-width: 52ch;
}

.faq-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-hero .btn             { background: #fff; color: var(--ink); }
.faq-hero .btn:hover       { background: #EEF2F1; transform: translateY(-1px); }
.faq-hero .btn.ghost       { background: transparent; color: var(--ink); border-color: rgba(22,32,31,.42); }
.faq-hero .btn.ghost:hover { background: rgba(22,32,31,.07); transform: none; }

.faq-hero-img-wrap {
  position: relative;
  overflow: hidden;
}

.faq-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


/* ══════════════════════════════════════════════════════════════
   S2 & S4 — ACCORDION SECTIONS (white)
   ══════════════════════════════════════════════════════════════ */

.faq-section {
  border-top: 1px solid var(--border-light);
}

.faq-section--white {
  background: #fff;
}

.faq-section--soft {
  background: var(--surface-soft-blue);
}

.faq-category {
  margin-bottom: clamp(44px, 6vw, 68px);
}

.faq-category--last {
  margin-bottom: 0;
}


/* Category header */

.faq-cat-header {
  margin-bottom: 20px;
}

.faq-cat-title {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  padding-left: 14px;
  border-left: 3px solid var(--brand-aqua);
  line-height: 1.25;
}

.faq-cat-intro {
  font-size: clamp(.86rem, 1.1vw, .93rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.62;
  padding-left: 17px;
  margin: 0;
}


/* Accordion list */

.faq-items {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 19px 2px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: clamp(.93rem, 1.25vw, 1.02rem);
  font-weight: 600;
  color: var(--ink);
  gap: 18px;
  line-height: 1.42;
  transition: color .15s;
}

.faq-btn:hover {
  color: var(--brand-aqua-hover);
}

.faq-btn:focus-visible {
  outline: 2px solid var(--brand-aqua-hover);
  outline-offset: 3px;
  border-radius: 2px;
}

.faq-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.faq-chevron svg {
  width: 15px;
  height: 15px;
  transition: transform .22s ease;
  display: block;
  color: var(--brand-aqua-hover);
}

.faq-btn[aria-expanded="true"] .faq-chevron svg {
  transform: rotate(180deg);
}

.faq-panel {
  display: none;
}

.faq-panel.is-open {
  display: block;
}

.faq-panel-body {
  padding: 4px 4px 24px 16px;
  border-left: 2px solid var(--brand-aqua);
  margin-left: 2px;
}

.faq-panel-body p {
  font-size: clamp(.88rem, 1.18vw, .96rem);
  color: var(--text-secondary);
  line-height: 1.74;
  margin-bottom: 10px;
}

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

.faq-panel-body a {
  color: var(--brand-aqua-hover);
  font-weight: 600;
  text-decoration: none;
}

.faq-panel-body a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .faq-hero-grid          { grid-template-columns: 1fr; }
  .faq-hero-img-wrap      { display: none; }
  .faq-hero-content       { padding: clamp(40px, 6vw, 60px) 0; }
}

@media (max-width: 640px) {
  .faq-hero-ctas { flex-direction: column; }
}
