/* ═══════════════════════════════════════════════════════════════
   Burke Williams — FAQ Page  |  Figma node: 1978:81236
   ═══════════════════════════════════════════════════════════════ */

/* Hero — fill:#335d88 solid blue */
.bw-faq-hero {
  position: relative; background: #335d88;
  padding: 80px 120px 120px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.bw-faq-hero-panel { position: relative; z-index: 2; max-width: 700px; display: flex; flex-direction: column; gap: 20px; }
.bw-faq-hero-heading { margin: 0; }
.bw-faq-h-display { display: block; font-family: var(--font-display); font-size: 60px; font-weight: 350; line-height: 72px; color: #fffdf8; }
.bw-faq-h-script { display: block; font-family: var(--font-script); font-size: 60px; font-weight: 400; line-height: 72px; color: #fffdf8; font-style: normal; }
/* 4 white pills */
.bw-faq-hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.bw-faq-pill {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px;
  border-radius: 110px; background: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: #335d88;
}
.bw-faq-hero-desc { font-family: var(--font-body); font-size: 20px; font-weight: 400; line-height: 24px; color: #fffdf8; margin: 0; }
.bw-faq-hero-note { font-family: var(--font-body); font-size: 12px; color: rgba(255,253,248,0.65); margin: 0; }
/* Union vector decoration */
.bw-faq-union {
  position: absolute; bottom: -200px; right: -100px; width: 1595px; height: 1581px;
  background: #ece8dd; opacity: 0.08; border-radius: 50%; pointer-events: none;
}

/* Tab strip — fill:#fffdf8 */
.bw-faq-tabs {
  background: #fffdf8; border-bottom: 1px solid #ece8dd;
  display: flex; align-items: center; padding: 0 120px; height: 80px;
  position: sticky; top: 60px; z-index: 90;
}
.bw-faq-tabs-inner { display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.bw-faq-tabs-inner::-webkit-scrollbar { display: none; }
.bw-faq-tab {
  white-space: nowrap; flex-shrink: 0; padding: 8px 20px; border-radius: 500px;
  border: 1px solid transparent; background: transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; color: #676767;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.bw-faq-tab:hover { color: #335d88; border-color: #ece8dd; }
.bw-faq-tab--active { background: #ece8dd; color: #335d88; font-weight: 600; border-color: transparent; }

/* FAQ Content */
.bw-faq-content { background: #fffdf8; padding: 60px 0 100px; }
.bw-faq-container { max-width: 1680px; margin-inline: auto; padding-inline: 120px; }
/* Panel */
.bw-faq-panel { display: none; }
.bw-faq-panel--active { display: block; }
/* Panel heading: Teodor 40px */
.bw-faq-panel-heading {
  font-family: var(--font-display); font-size: 40px; font-weight: 350; line-height: 48px;
  color: #335d88; margin: 0 0 32px;
}
/* FAQ item — stroke:#b3b3b3 */
.bw-faq-item { border: 1px solid #b3b3b3; margin-bottom: 12px; }
.bw-faq-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px; background: #fffdf8; border: none; cursor: pointer; text-align: left;
  transition: background 0.2s;
}
.bw-faq-toggle:hover { background: #f6f3ec; }
.bw-faq-toggle--open { background: #f6f3ec; }
/* Teodor 24px wt=700 lh=26.9px #335d88 */
.bw-faq-q { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 26.9px; color: #335d88; }
.bw-faq-icon { flex-shrink: 0; }
.bw-faq-toggle--open .bw-faq-icon-plus { display: none; }
.bw-faq-icon-minus { display: none; }
.bw-faq-toggle--open .bw-faq-icon-minus { display: block; }
/* Barlow 16px wt=500 lh=21.6px ls=0.16px #6b6b6e */
.bw-faq-answer { display: none; padding: 0 12px 20px; }
.bw-faq-answer--open { display: block; }
.bw-faq-answer p { font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 21.6px; letter-spacing: 0.16px; color: #6b6b6e; margin: 0; }

@media (max-width: 1400px) { .bw-faq-hero { padding: 64px; } .bw-faq-tabs { padding: 0 64px; } .bw-faq-container { padding-inline: 64px; } }
@media (max-width: 768px) {
  .bw-faq-hero { padding: 120px 24px 80px; }
  .bw-faq-h-display, .bw-faq-h-script { font-size: clamp(36px, 8vw, 60px); line-height: 1.1; }
  .bw-faq-tabs { padding: 0 16px; height: auto; min-height: 60px; padding-block: 8px; }
  .bw-faq-container { padding-inline: 24px; }
  .bw-faq-panel-heading { font-size: 28px; }
  .bw-faq-q { font-size: 18px; }
}
