/* ─────────────────────────────────────────────────────────────────────
   FAQ PAGE — Searchable, tabbed, accordion layout
   ───────────────────────────────────────────────────────────────────── */

/* ── Fade-in ── */
.fade-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-section.is-visible { opacity: 1; transform: translateY(0); }
.fade-child { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-section.is-visible .fade-child { opacity: 1; transform: translateY(0); }
.fade-section.is-visible .fade-child:nth-child(1) { transition-delay: 0s; }
.fade-section.is-visible .fade-child:nth-child(2) { transition-delay: 0.1s; }
.fade-section.is-visible .fade-child:nth-child(3) { transition-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  .fade-section, .fade-child { opacity: 1; transform: none; transition: none; }
}


/* ── Page ── */
.fq-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) 80px;
}


/* ── Breadcrumb (layout only — styles from .vh-breadcrumb) ── */
.fq-page > .vh-breadcrumb {
  padding-top: 100px;
}


/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.fq-header {
  padding-top: 20px;
  margin-bottom: 0;
}
.fq-header__title {
  font-family: 'Geologica', 'Georgia', serif;
  font-size: 36px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.2;
  margin: 0 0 12px;
}
.fq-header__sub {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4A4A4A;
  margin: 0 0 28px;
  max-width: 600px;
}

/* Search box */
.fq-search {
  position: relative;
  max-width: 520px;
}
.fq-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.fq-search__input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1.5px solid #E5E2DD;
  border-radius: 8px;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fq-search__input::placeholder {
  color: #8A8A8A;
}
.fq-search__input:focus {
  border-color: #1A1A1A;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

/* Search status */
.fq-search-status {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 13px;
  color: #8A8A8A;
  margin-top: 8px;
  min-height: 20px;
}


/* ══════════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════════ */
.fq-tabs {
  margin-top: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid #E5E2DD;
  overflow: visible;
}
.fq-tabs__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fq-tabs__track::-webkit-scrollbar { display: none; }

.fq-tabs__btn {
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8A8A8A;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.fq-tabs__btn:hover {
  color: #4A4A4A;
}
.fq-tabs__btn.is-active {
  color: #1A1A1A;
  font-weight: 600;
  border-bottom-color: #1A1A1A;
}


/* ══════════════════════════════════════════════════════════
   FAQ CONTENT
   ══════════════════════════════════════════════════════════ */

/* No results */
.fq-no-results {
  text-align: center;
  padding: 48px 0;
}
.fq-no-results p {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 15px;
  color: #8A8A8A;
}
.fq-no-results a {
  color: #3B82F6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Group headings */
.fq-group__heading {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 40px 0 20px;
  line-height: 1.3;
}
.fq-group:first-child .fq-group__heading {
  margin-top: 48px;
}

/* FAQ items */
.fq-item {
  border-bottom: 1px solid #E5E2DD;
}
.fq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.fq-item__q-text {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.4;
}
.fq-item__q:hover .fq-item__q-text {
  color: #4A4A4A;
}
.fq-item__chevron {
  flex-shrink: 0;
  color: #8A8A8A;
  transition: transform 0.3s ease;
}
.fq-item.is-open .fq-item__chevron {
  transform: rotate(180deg);
}

/* Answer panel */
.fq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.fq-item__a-inner {
  padding: 0 32px 16px 0;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #4A4A4A;
}
.fq-item__a-inner p {
  margin: 0 0 12px;
}
.fq-item__a-inner p:last-child {
  margin-bottom: 0;
}
.fq-item__a-inner a {
  color: #3B82F6;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(59, 130, 246, 0.3);
}
.fq-item__a-inner a:hover {
  text-decoration-color: #3B82F6;
}
.fq-item__a-inner strong {
  color: #1A1A1A;
  font-weight: 600;
}

/* Styled lists in answers */
.fq-item__a-inner ul {
  list-style: none;
  padding-left: 20px;
  margin: 8px 0 12px;
}
.fq-item__a-inner ul li {
  position: relative;
  padding-left: 0;
  margin-bottom: 8px;
  line-height: 1.65;
}
.fq-item__a-inner ul li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8A8A8A;
}

/* Highlight matches */
.fq-item__a-inner mark,
.fq-item__q-text mark {
  background: #FEF3C7;
  color: inherit;
  padding: 1px 2px;
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════ */
.fq-cta {
  text-align: center;
  padding: 56px 0;
  margin-top: 24px;
  border-top: 1px solid #E5E2DD;
}
.fq-cta__heading {
  font-family: 'Geologica', 'Georgia', serif;
  font-size: 28px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 8px;
}
.fq-cta__sub {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  color: #4A4A4A;
  margin: 0 0 24px;
}
.fq-cta__btn {
  display: inline-block;
  padding: 14px 32px;
  background: #1A1A1A;
  color: #fff;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.fq-cta__btn:hover { background: #333; }
.fq-cta__phone {
  display: block;
  margin-top: 12px;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 13px;
  color: #8A8A8A;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .fq-page > .vh-breadcrumb { padding-top: 80px; }
  .fq-header__title { font-size: 28px; }
  .fq-header__sub { font-size: 15px; }
  .fq-search__input { height: 44px; font-size: 14px; }
  .fq-tabs__btn { padding: 10px 12px; font-size: 13px; }
  .fq-group__heading { font-size: 18px; margin-top: 32px; }
  .fq-group:first-child .fq-group__heading { margin-top: 36px; }
  .fq-item__q-text { font-size: 15px; }
  .fq-item__a-inner { font-size: 14px; padding-right: 0; }
  .fq-cta__heading { font-size: 24px; }
}


/* ── Print ── */
@media print {
  .fq-page > .vh-breadcrumb, .fq-search, .fq-search-status, .fq-tabs, .fq-cta { display: none; }
  .fade-section, .fade-child { opacity: 1; transform: none; }
  .fq-item__a { max-height: none !important; overflow: visible; }
  .fq-item__chevron { display: none; }
  .fq-group { display: block !important; }
  .fq-item { display: block !important; }
}
