/* ============================================================
   Noma Earplugs - FAQ page
   Reuses nav / footer / buttons / gradient from style.css
   ============================================================ */

.faq { max-width: 820px; margin: 0 auto; padding: 60px 22px 90px; }

/* ---------- Our story ---------- */
.story { max-width: 700px; margin: 0 auto 56px; padding-bottom: 56px; border-bottom: 1px solid var(--hairline); }
.story__title { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.02em; text-align: center; margin-bottom: 28px; }
.story__body p { font-size: 17px; color: var(--text-soft); line-height: 1.65; margin-bottom: 18px; }
.story__body em { color: var(--text); font-style: italic; }
.story__tag { text-align: center; color: var(--text) !important; font-weight: 700; font-size: clamp(18px, 2.4vw, 22px); margin-top: 28px; }

.faq__head { text-align: center; margin-bottom: 48px; }
.faq__title { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 14px; }
.faq__sub { font-size: 17px; color: var(--text-soft); }

/* ---------- Accordion ---------- */
.faq__list { border-top: 1px solid var(--hairline); }

.faq__item { border-bottom: 1px solid var(--hairline); }

.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 22px 4px; font-family: inherit; font-size: clamp(16px, 2vw, 19px);
  font-weight: 600; color: var(--text); transition: color .2s;
}
.faq__q:hover { color: var(--accent); }

.faq__icon {
  flex: 0 0 22px; width: 22px; height: 22px; fill: none;
  stroke: var(--text-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s ease, stroke .2s;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); stroke: var(--accent); }

/* Answer - smooth height via max-height (set to content height in JS) */
.faq__a { max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(.4,0,.2,1); }
.faq__a p { font-size: 16px; color: var(--text-soft); padding: 0 4px 24px; max-width: 680px; }

/* ---------- Closing CTA ---------- */
.faq__cta { text-align: center; margin-top: 56px; }
.faq__cta p { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
