/* ═════════════════════════════════════════════════════════════
   FAQ PAGE — faq.css
   Hupp & Fuller Detailing
   ═════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --color-bg-dark: #050409;
  --color-text: #F0EDE6;
  --color-text-muted: rgba(240, 237, 230, 0.65);
  --color-text-muted-2: rgba(240, 237, 230, 0.38);
  --color-gold-1: #D3AF37;
  --color-gold-2: #C5A033;
  --color-gold-3: #8A6E1E;
  --color-stroke: rgba(255, 255, 255, 0.1);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ── Base Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
}

html::-webkit-scrollbar { display: none; }

body {
  width: 100%;
  min-height: 100dvh;
  background: var(--color-bg-dark);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Page Wrapper ── */
.faq-page {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  isolation: isolate;
  overflow-x: hidden;
}

/* ── Parallax Background ── */
.faq-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.faq-bg img {
  position: absolute;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.3) saturate(0.8);
  transform: translate3d(0, var(--scroll-y, 0px), 0);
  will-change: transform;
}

.faq-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 12, 0.97) 0%,
      rgba(10, 10, 12, 0.45) 20%,
      rgba(10, 10, 12, 0.25) 50%,
      rgba(10, 10, 12, 0.55) 75%,
      rgba(10, 10, 12, 0.97) 100%
    ),
    radial-gradient(ellipse at 30% 15%, rgba(214, 177, 92, 0.07), transparent 55%);
}

/* ── Ambient Orbs ── */
.faq-orb {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.faq-orb--top {
  width: clamp(280px, 42vw, 620px);
  height: clamp(280px, 42vw, 620px);
  top: -18%;
  left: -14%;
  background: radial-gradient(circle at center, rgba(214, 177, 92, 0.13) 0%, transparent 70%);
}

.faq-orb--bottom {
  width: clamp(220px, 36vw, 520px);
  height: clamp(220px, 36vw, 520px);
  bottom: -12%;
  right: -10%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

/* ── Shared Shell ── */
.faq-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

/* ═════════════════════════════════════════════════════════════
   HERO HEADER
   ═════════════════════════════════════════════════════════════ */

.faq-hero {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 14vh, 140px) 0 clamp(48px, 7vh, 80px);
}

.faq-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 2.5vh, 24px);
  max-width: 740px;
  margin: 0 auto;
}

/* ── Badge ── */
.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(32px, 4vh, 38px);
  padding: 0 clamp(14px, 2vw, 18px);
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(245, 227, 174, 0.11), rgba(214, 177, 92, 0.05));
  border: 1px solid rgba(214, 177, 92, 0.22);
  color: var(--color-gold-1);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
}

.faq-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold-2);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.2); }
}

/* ── Hero Title ── */
.faq-hero-title {
  font-size: clamp(36px, 7.5vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  text-wrap: balance;
}

.faq-title-gold {
  font-weight: var(--font-weight-bold);
  background: linear-gradient(180deg, #fff4cb 0%, var(--color-gold-1) 18%, var(--color-gold-2) 62%, var(--color-gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 20px rgba(214, 177, 92, 0.15));
}

/* ── Hero Subtitle ── */
.faq-hero-subtitle {
  max-width: 680px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.faq-hero-subtitle strong {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* ── Hero Actions ── */
.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 14px);
}

/* ── Search ── */
.faq-search {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.faq-search-input {
  width: 100%;
  height: clamp(50px, 6vh, 58px);
  padding: 0 52px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: var(--font-weight-regular);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.faq-search-input::placeholder { color: var(--color-text-muted-2); }

.faq-search-input:focus {
  border-color: rgba(214, 177, 92, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 0 4px rgba(214, 177, 92, 0.08), var(--shadow-lg);
}

.faq-search-icon {
  position: absolute;
  left: clamp(16px, 2vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted-2);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.faq-search-input:focus ~ .faq-search-icon,
.faq-search-input:not(:placeholder-shown) ~ .faq-search-icon {
  color: var(--color-gold-2);
}

.faq-search-clear {
  position: absolute;
  right: clamp(14px, 1.8vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.faq-search-clear svg { width: 14px; height: 14px; }

.faq-search-clear:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-text);
}

.faq-search-clear[hidden] { display: none; }

/* ═════════════════════════════════════════════════════════════
   FAQ CONTENT
   ═════════════════════════════════════════════════════════════ */

.faq-content-section {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vh, 60px) 0 clamp(48px, 8vh, 80px);
}

/* Widen the shell for the two-column layout */
.faq-content-section .faq-shell {
  max-width: clamp(780px, 94vw, 1200px);
}

/* ── Scroll Progress Track ── */
.faq-scroll-track {
  position: absolute;
  left: 0;
  top: clamp(12px, 1.4vw, 16px);
  bottom: clamp(12px, 1.4vw, 16px);
  width: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

.faq-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  min-height: 24px;
  background: linear-gradient(180deg, var(--color-gold-1), var(--color-gold-2));
  border-radius: 2px;
  transition: top 0.3s var(--ease-standard), height 0.3s var(--ease-standard);
  box-shadow: 0 0 10px rgba(214, 177, 92, 0.3);
}

/* ── Layout Container ── */
.faq-layout {
  display: flex;
  gap: clamp(18px, 2.8vw, 36px);
  align-items: flex-start;
}

/* ── Left Sidebar ── */
.faq-sidebar {
  flex-shrink: 0;
  width: clamp(200px, 22vw, 260px);
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(12px, 1.4vw, 16px) clamp(10px, 1.1vw, 13px);
  padding-left: clamp(18px, 2vw, 24px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 177, 92, 0.18) transparent;
}

.faq-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-sidebar::-webkit-scrollbar { width: 3px; }
.faq-sidebar::-webkit-scrollbar-track { background: transparent; }
.faq-sidebar::-webkit-scrollbar-thumb { background: rgba(214, 177, 92, 0.2); border-radius: 2px; }

.faq-sidebar-label {
  font-size: 9px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted-2);
  padding: 5px 8px 3px;
  pointer-events: none;
  user-select: none;
}

.faq-sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 5px 0 7px;
}

/* ── Tab Buttons ── */
.faq-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  padding: clamp(8px, 1vh, 11px) clamp(8px, 0.9vw, 11px);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-family);
  font-size: clamp(11.5px, 0.9vw, 13px);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1.3;
  word-break: break-word;
  hyphens: auto;
}

.faq-tab-group {
  display: block;
  font-size: 8.5px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-2);
  opacity: 0.55;
  transition: opacity var(--transition-fast);
}

.faq-tab-label {
  flex: 1;
  min-width: 0;
}

/* ── Tab Count Badge ── */
.faq-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 9px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted-2);
  letter-spacing: 0;
  text-transform: none;
  margin-left: auto;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.faq-tab.active .faq-tab-count {
  background: rgba(214, 177, 92, 0.15);
  color: var(--color-gold-1);
}

.faq-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--color-text);
}

.faq-tab:hover .faq-tab-group { opacity: 0.9; }

.faq-tab.active {
  background: linear-gradient(135deg, rgba(245, 227, 174, 0.11), rgba(214, 177, 92, 0.04));
  border-color: rgba(214, 177, 92, 0.3);
  color: var(--color-gold-1);
  box-shadow: 0 3px 10px rgba(214, 177, 92, 0.08);
}

.faq-tab.active .faq-tab-group { opacity: 1; color: var(--color-gold-1); }
.faq-tab:focus-visible { outline: 2px solid var(--color-gold-2); outline-offset: 2px; }

/* ── Main Panel ── */
.faq-main-panel { flex: 1; min-width: 0; }

.faq-tab-panel { display: none; }
.faq-tab-panel.active { display: block; }

.faq-layout.search-active .faq-tab-panel { display: block; }

/* ── Panel Header ── */
.faq-panel-header {
  margin-bottom: clamp(14px, 2vh, 22px);
  padding-bottom: clamp(12px, 1.6vh, 18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-panel-eyebrow {
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-gold-2);
  margin: 0 0 5px;
}

.faq-panel-title {
  font-size: clamp(16px, 1.9vw, 23px);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
}

.faq-panel-subtitle {
  margin: 5px 0 0;
  font-size: clamp(11.5px, 0.9vw, 13.5px);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-light);
  line-height: 1.55;
}

.faq-layout.search-active .faq-panel-header { display: none; }

/* ── FAQ Item ── */
.faq-item {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  margin-bottom: clamp(10px, 1.3vh, 14px);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  scroll-margin-top: 90px;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(214, 177, 92, 0.06), transparent 58%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 0;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.faq-item:hover::before { opacity: 1; }

.faq-item.is-open {
  border-color: rgba(214, 177, 92, 0.24);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(214, 177, 92, 0.04);
}

.faq-item.is-open::before { opacity: 1; }

.faq-item.is-hidden { display: none; }

/* ── Question Button ── */
.faq-question {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.8vw, 30px);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-question:hover { background: rgba(255, 255, 255, 0.02); }
.faq-question:focus-visible { outline: 2px solid var(--color-gold-2); outline-offset: -2px; border-radius: var(--radius-lg); }

.faq-question-text {
  flex: 1;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.42;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  transition: color var(--transition-fast);
  min-width: 0;
}

.faq-item.is-open .faq-question-text { color: var(--color-gold-1); }

/* ── Toggle Icon ── */
.faq-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 3.2vw, 38px);
  height: clamp(30px, 3.2vw, 38px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-toggle-icon svg {
  width: clamp(13px, 1.3vw, 16px);
  height: clamp(13px, 1.3vw, 16px);
  color: var(--color-text-muted);
  transition: transform var(--transition-base), color var(--transition-fast);
}

.faq-item.is-open .faq-toggle-icon {
  background: linear-gradient(135deg, rgba(245, 227, 174, 0.14), rgba(214, 177, 92, 0.08));
  border-color: rgba(214, 177, 92, 0.3);
}

.faq-item.is-open .faq-toggle-icon svg {
  transform: rotate(45deg);
  color: var(--color-gold-1);
}

/* ── Answer Panel ── */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-standard);
}

.faq-item.is-open .faq-answer { max-height: 800px; }

.faq-answer-inner {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 2.8vw, 30px) clamp(18px, 2.5vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-answer-inner p {
  padding-top: clamp(14px, 1.8vh, 20px);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.72;
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
}

.faq-answer-inner p strong {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.faq-answer-inner p a {
  color: var(--color-gold-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.faq-answer-inner p a:hover { color: var(--color-gold-2); }

/* ── Answer CTAs ── */
.faq-answer-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: clamp(14px, 1.8vh, 20px);
}

.faq-answer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(214, 177, 92, 0.18);
  background: rgba(214, 177, 92, 0.05);
  color: var(--color-gold-1);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.faq-answer-cta:hover {
  background: rgba(214, 177, 92, 0.12);
  border-color: rgba(214, 177, 92, 0.35);
  transform: translateY(-1px);
  color: var(--color-gold-2);
}

.faq-answer-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ── No Results ── */
.faq-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(40px, 6vh, 64px) 24px;
  text-align: center;
}

.faq-no-results[hidden] { display: none; }

.faq-no-results svg {
  width: 44px;
  height: 44px;
  color: var(--color-text-muted-2);
}

.faq-no-results p {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-no-results p a { color: var(--color-gold-1); text-decoration: underline; }

/* ═════════════════════════════════════════════════════════════
   CTA SECTION
   ═════════════════════════════════════════════════════════════ */

.faq-cta-section {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vh, 60px) 0 clamp(60px, 10vh, 100px);
}

.faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.6vh, 28px);
  padding: clamp(40px, 6vh, 70px) clamp(24px, 5vw, 56px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    radial-gradient(ellipse at 50% 0%, rgba(214, 177, 92, 0.08), transparent 60%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}

.faq-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10px, 0.9vw, 11px);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-2);
}

.faq-cta-title {
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: var(--font-weight-light);
  color: var(--color-text);
}

.faq-cta-body {
  max-width: 620px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65;
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 16px);
}

/* ── Buttons ── */
.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(46px, 5.5vh, 54px);
  padding: 0 clamp(22px, 2.8vw, 32px);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.faq-btn:hover { transform: translateY(-3px); }
.faq-btn:focus-visible { outline: 2px solid var(--color-gold-2); outline-offset: 3px; }

.faq-btn--primary {
  color: var(--color-bg-dark);
  background: linear-gradient(180deg, var(--color-gold-1) 0%, var(--color-gold-2) 100%);
  box-shadow: 0 14px 36px rgba(214, 177, 92, 0.24), var(--shadow-md);
}

.faq-btn--primary:hover {
  box-shadow: 0 18px 44px rgba(214, 177, 92, 0.34), var(--shadow-lg);
}

.faq-btn--secondary {
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.faq-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

/* ═════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-soft), transform 0.85s var(--ease-soft);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.r1 { transition-delay: 0.05s; }
.r2 { transition-delay: 0.1s; }
.r3 { transition-delay: 0.15s; }
.r4 { transition-delay: 0.2s; }
.r5 { transition-delay: 0.25s; }

/* ═════════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════════ */

@media (max-width: 800px) {
  .faq-layout {
    flex-direction: column;
    gap: 12px;
  }

  .faq-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px;
    padding-left: 10px;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .faq-sidebar::-webkit-scrollbar { display: none; }

  .faq-scroll-track { display: none; }

  .faq-sidebar-nav {
    flex-direction: row;
    gap: 5px;
    width: 100%;
  }

  .faq-sidebar-label,
  .faq-sidebar-divider { display: none; }

  .faq-tab {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
    word-break: normal;
    hyphens: none;
    scroll-snap-align: start;
  }

  .faq-tab-count { display: none; }

  .faq-tab-group {
    font-size: 9px;
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .faq-bg { position: absolute; }
  .faq-bg img { height: 100%; }

  .faq-orb { position: absolute; filter: blur(80px); }

  .faq-hero {
    padding-top: max(70px, env(safe-area-inset-top));
  }

  .faq-hero-actions { flex-direction: column; align-items: stretch; }
  .faq-hero-actions .faq-btn { width: 100%; min-height: 50px; }

  .faq-question { padding: 16px 18px; align-items: flex-start; }
  .faq-question-text { font-size: 15px; }
  .faq-toggle-icon { margin-top: 1px; width: 32px; height: 32px; }
  .faq-answer-inner { padding: 0 18px 18px; }
  .faq-answer-inner p { font-size: 14px; padding-top: 13px; }

  .faq-answer-ctas { gap: 6px; }
  .faq-answer-cta { padding: 6px 12px; font-size: 11px; }

  .faq-cta { padding: 32px 20px; }
  .faq-cta-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .faq-cta-actions .faq-btn { width: 100%; min-height: 50px; }
}

@media (max-width: 480px) {
  .faq-hero-title { font-size: 30px; }
  .faq-hero-subtitle { font-size: 13px; }

  .faq-search-input { height: 48px; font-size: 13px; }

  .faq-question { padding: 14px 14px; gap: 10px; }
  .faq-question-text { font-size: 13px; line-height: 1.48; }
  .faq-toggle-icon { width: 28px; height: 28px; }

  .faq-answer-inner { padding: 0 14px 14px; }
  .faq-answer-inner p { font-size: 13px; }

  .faq-answer-cta { font-size: 10px; padding: 5px 10px; }

  .faq-cta { padding: 28px 16px; }
  .faq-cta-title { font-size: 24px; }
}

@media (max-width: 375px) {
  .faq-hero-title { font-size: 26px; }
  .faq-question-text { font-size: 12px; }
  .faq-answer-inner p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .faq-bg img { transform: none !important; }
}
