/* =========================================================
   faq.css — FAQ Page
   ========================================================= */

/* Breadcrumb */
.breadcrumb-bar{ background: var(--ivory-deep); border-bottom: 1px solid var(--paper-line); padding: 14px 0; }
.breadcrumb-bar .container{ display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.breadcrumb-bar a{ color: var(--text-dim); transition: color .18s ease; }
.breadcrumb-bar a:hover{ color: var(--copper); }
.breadcrumb-bar span:last-child{ color: var(--text); font-weight: 600; }

/* =========================================================
   Hero — slow-panning animated blueprint grid
   ========================================================= */
.faq-hero{ background: var(--ink); padding: 64px 0 56px; text-align: center; position: relative; overflow: hidden; }
.faq-hero-grid{
  position: absolute; top: -20%; left: -20%; right: -20%; bottom: -20%;
  background-image: linear-gradient(rgba(190,91,34,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(190,91,34,.14) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 50% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 80% at 50% 40%, #000 0%, transparent 75%);
  animation: gridDrift 22s linear infinite;
}
@keyframes gridDrift{ from{ transform: translate(0,0);} to{ transform: translate(32px, 32px);} }

.faq-hero-inner{ position: relative; max-width: 640px; }
.faq-hero .eyebrow{ justify-content: center; }
.faq-hero h1{ color: #fff; font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 14px; animation: heroFadeUp .6s ease both; }
.faq-hero-lede{ color: rgba(255,255,255,.78); font-size: 15.5px; margin-bottom: 30px; animation: heroFadeUp .6s ease .1s both; }
@keyframes heroFadeUp{ from{ opacity: 0; transform: translateY(14px);} to{ opacity: 1; transform: translateY(0);} }

.faq-search{
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 15px 22px;
  max-width: 480px; margin: 0 auto; box-shadow: var(--shadow-lift);
  animation: heroFadeUp .6s ease .2s both;
}
.faq-search svg{ width: 18px; height: 18px; color: var(--text-dim); flex-shrink: 0; }
.faq-search input{ border: none; outline: none; background: none; font-family: var(--font-body); font-size: 14.5px; width: 100%; color: var(--text); }

/* =========================================================
   Tabs with sliding indicator
   ========================================================= */
.faq-section{ padding-top: 52px; }
.faq-tabs{
  position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px;
  border-bottom: 1.5px solid var(--paper-line); padding-bottom: 0;
}
.faq-tab{
  position: relative; z-index: 1; background: none; border: none; padding: 12px 4px; margin-right: 22px;
  font-size: 14px; font-weight: 600; color: var(--text-dim); cursor: pointer; transition: color .2s ease;
}
.faq-tab:hover{ color: var(--text); }
.faq-tab.is-active{ color: var(--copper); }
.faq-tab-indicator{
  position: absolute; bottom: -1.5px; left: 0; height: 2.5px; background: var(--copper); border-radius: 2px;
  transition: transform .3s cubic-bezier(.4,0,.2,1), width .3s cubic-bezier(.4,0,.2,1); width: 0;
}

/* =========================================================
   FAQ list — staggered reveal
   ========================================================= */
.faq-list{ display: flex; flex-direction: column; gap: 2px; max-width: 800px; }
.faq-item{
  background: #fff; border: 1.5px solid var(--paper-line); border-radius: var(--radius-sm); margin-bottom: 10px;
  overflow: hidden; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease, border-color .2s ease;
}
.faq-item.is-visible{ opacity: 1; transform: translateY(0); }
.faq-item.is-hidden{ display: none; }
.faq-item:hover{ border-color: var(--copper); }

.faq-q{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; padding: 18px 20px; text-align: left;
  font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--text); cursor: pointer;
}
.faq-q svg{ width: 18px; height: 18px; color: var(--copper); flex-shrink: 0; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.faq-item.is-open .faq-q svg{ transform: rotate(180deg); }

.faq-a{ max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.faq-item.is-open .faq-a{ max-height: 220px; }
.faq-a p{ padding: 0 20px 20px; font-size: 14px; color: var(--text-dim); line-height: 1.65; margin: 0; }

/* =========================================================
   Empty state
   ========================================================= */
.faq-empty{ text-align: center; padding: 50px 20px; max-width: 800px; }
.faq-empty p{ font-size: 14.5px; color: var(--text-dim); margin-bottom: 18px; }

/* =========================================================
   Callout
   ========================================================= */
.faq-callout{
  margin-top: 44px; max-width: 800px; background: var(--ivory-deep); border-radius: var(--radius);
  padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.faq-callout h3{ font-size: 16px; margin-bottom: 4px; }
.faq-callout p{ font-size: 13.5px; color: var(--text-dim); margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  .faq-hero-grid{ animation: none; }
}

@media (max-width: 760px){
  .faq-hero{ padding: 48px 0 40px; }
  .faq-tabs{ overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .faq-tab{ flex-shrink: 0; }
  .faq-callout{ flex-direction: column; align-items: flex-start; }
  .faq-callout .btn{ width: 100%; }
}
