/* ===== FAQ page ===== */

/* --- FV (centered variant) --- */
.page-fv .fv-bg{background-position:center 78%}
.page-fv.fv-center .fv-inner{text-align:center}
.page-fv.fv-center .fv-title{font-size:52px;font-weight:600;line-height:1.3}
.page-fv.fv-center .fv-lead{font-size:20px;font-weight:700;line-height:1.6;margin-top:18px}

.fv-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:24px}
.fv-cat{
  display:inline-flex;align-items:center;justify-content:center;
  height:32px;padding:4px 24px;
  background:#dfd9d3;color:var(--text);
  font-family:var(--serif);font-weight:700;font-size:15px;line-height:1.6;
  transition:.2s;
}
.fv-cat:hover{background:var(--accent);color:#fff}

/* --- FAQ categories --- */
.faq .faq-cat{margin-bottom:64px;scroll-margin-top:120px}
.faq .faq-cat:last-child{margin-bottom:0}

.faq-cat-title{
  font-family:var(--serif);color:var(--accent);
  font-size:24px;font-weight:600;line-height:1.7;letter-spacing:.02em;
  padding-bottom:23px;margin-bottom:40px;
  border-bottom:2px solid var(--line2);
}

/* keep each category's Q&A list flush — no extra bottom margin */
.faq .qa-list{margin-bottom:0}

/* ===== Responsive ===== */
@media(max-width:768px){
  .page-fv.fv-center .fv-title{font-size:30px;line-height:1.5}
  .page-fv.fv-center .fv-lead{font-size:15px;line-height:1.7;margin-top:14px}
  .fv-cats{gap:10px;margin-top:20px}
  .fv-cat{height:30px;padding:3px 16px;font-size:13px}

  .faq .faq-cat{margin-bottom:48px}
  .faq-cat-title{font-size:20px;padding-bottom:16px;margin-bottom:28px}
}

@media(max-width:374px){
  .fv-cat{padding:3px 12px;font-size:12px}
}
