/* ============================================================
   SV Internet — /faq standalone page (2026-11-04)
   Contemporary bronze/onyx editorial system. Dark canvas,
   muted champagne accents, Cormorant display + DM Mono eyebrows.
   All selectors are fq-* scoped so the shared shell/luxury-glass
   layers (loaded after this sheet) can never bleed in.
   ============================================================ */

:root {
  --fq-onyx: #100f0d;
  --fq-onyx-2: #15110c;
  --fq-panel: #1b1916;
  --fq-panel-2: #211d18;
  --fq-line: rgba(214, 170, 120, 0.22);
  --fq-line-soft: rgba(242, 235, 226, 0.1);
  --fq-gold: #d6aa78;
  --fq-gold-hi: #ecca9e;
  --fq-gold-deep: #a9804f;
  --fq-text: #f2ebe2;
  --fq-muted: #c1b4a8;
  --fq-muted-2: #9a8d80;
  --fq-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --fq-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --fq-sans: Manrope, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body.faq-page {
  background: var(--fq-onyx);
  color: var(--fq-text);
  font-family: var(--fq-sans);
  overflow-x: clip;
}

.fq-main { overflow: clip; }
.fq-container {
  width: min(1140px, calc(100% - clamp(40px, 7vw, 120px)));
  margin-inline: auto;
}

/* ---------- Type helpers ---------- */
.fq-kicker {
  font-family: var(--fq-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fq-gold);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.fq-kicker-rule { color: var(--fq-gold); }
.fq-kicker-line {
  inline-size: 44px;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, var(--fq-gold));
}
.fq-kicker-index { color: var(--fq-gold-deep); margin-inline-end: 0.15rem; }
.fq-kicker-gold { color: var(--fq-gold-hi); }
.fq-foil {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(105deg, var(--fq-gold-hi) 0%, var(--fq-gold) 55%, var(--fq-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.fq-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(150px, 23vh, 250px) clamp(76px, 12vh, 130px);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(214, 170, 120, 0.16), transparent 60%),
    linear-gradient(180deg, #17130e 0%, var(--fq-onyx) 78%);
  overflow: clip;
}
.fq-hero-halo {
  position: absolute;
  z-index: -1;
  inset-block-start: -38vw;
  inset-inline-start: 50%;
  translate: -50% 0;
  width: 120vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(236, 202, 158, 0.14), rgba(214, 170, 120, 0.06) 48%, transparent 72%);
  pointer-events: none;
}
.fq-hero-ring {
  position: absolute;
  z-index: -1;
  inset-block-start: 4vh;
  inset-inline-end: -260px;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(214, 170, 120, 0.18);
  box-shadow:
    0 0 0 90px rgba(214, 170, 120, 0.03),
    inset 0 0 120px rgba(214, 170, 120, 0.05);
  pointer-events: none;
  animation: fq-ring-drift 18s ease-in-out infinite alternate;
}
.fq-hero-inner { position: relative; }
.fq-hero h1 {
  font-family: var(--fq-serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 8.2vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 1.1rem 0 1.4rem;
  max-width: 15ch;
  text-wrap: balance;
}
.fq-lede {
  color: var(--fq-muted);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.75;
  max-width: 56ch;
  margin: 0 0 2.2rem;
}
.fq-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0; }

.fq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.fq-btn-gold {
  background: linear-gradient(120deg, var(--fq-gold-hi), var(--fq-gold) 60%, var(--fq-gold-deep));
  color: #241808;
  box-shadow: 0 14px 34px -16px rgba(214, 170, 120, 0.65);
}
.fq-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(214, 170, 120, 0.75); }
.fq-btn-ghost {
  background: rgba(242, 235, 226, 0.04);
  border-color: var(--fq-line);
  color: var(--fq-text);
}
.fq-btn-ghost:hover { border-color: var(--fq-gold); color: var(--fq-gold-hi); transform: translateY(-2px); }

/* ---------- Directory + toolbar ---------- */
.fq-directory {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--fq-onyx);
}
.fq-sr-heading {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.fq-toolbar {
  position: sticky;
  top: clamp(62px, 9vh, 92px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: center;
  gap: 1rem 1.6rem;
  padding: 0.9rem 1.1rem;
  margin-block-end: clamp(40px, 6vw, 68px);
  border: 1px solid var(--fq-line-soft);
  border-radius: 18px;
  background: rgba(16, 15, 13, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
}
.fq-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.95rem;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--fq-line);
  background: rgba(27, 25, 22, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fq-search-wrap:focus-within {
  border-color: var(--fq-gold);
  box-shadow: 0 0 0 3px rgba(214, 170, 120, 0.14);
}
.fq-search-icon { width: 19px; height: 19px; color: var(--fq-gold); flex: none; }
.fq-search-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--fq-text);
  font: inherit;
  font-size: 0.95rem;
}
.fq-search-wrap input::placeholder { color: var(--fq-muted-2); }
.fq-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fq-chip {
  appearance: none;
  cursor: pointer;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--fq-line);
  background: transparent;
  color: var(--fq-muted);
  font-family: var(--fq-sans);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.fq-chip:hover { color: var(--fq-gold-hi); border-color: var(--fq-gold); transform: translateY(-1px); }
.fq-chip.is-active {
  background: linear-gradient(120deg, var(--fq-gold-hi), var(--fq-gold));
  border-color: transparent;
  color: #241808;
  font-weight: 700;
}

/* ---------- Groups + accordions ---------- */
.fq-group { margin-block-end: clamp(44px, 6vw, 72px); scroll-margin-top: 170px; }
.fq-group-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.6rem 1.1rem;
  padding-block-end: 1.1rem;
  margin-block-end: 1.3rem;
  border-block-end: 1px solid var(--fq-line-soft);
}
.fq-group-head .fq-kicker { grid-column: 1 / -1; }
.fq-group-head h2 {
  margin: 0;
  font-family: var(--fq-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.fq-group-count {
  font-family: var(--fq-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fq-muted-2);
  white-space: nowrap;
}
.fq-list { display: grid; gap: 0.8rem; }
.fq-item {
  border: 1px solid var(--fq-line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 25, 22, 0.85), rgba(23, 19, 14, 0.85));
  overflow: clip;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.fq-item[open], .fq-item:hover {
  border-color: var(--fq-line);
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.9);
}
.fq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
  padding: 1.05rem 1.35rem;
  font-family: var(--fq-serif);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.35;
  color: var(--fq-text);
  transition: color 0.2s ease;
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary:hover { color: var(--fq-gold-hi); }
.fq-item-index {
  font-family: var(--fq-mono);
  font-size: 0.72rem;
  color: var(--fq-gold-deep);
  letter-spacing: 0.1em;
  flex: none;
  inline-size: 26px;
}
.fq-question { flex: 1; }
.fq-plus {
  position: relative;
  flex: none;
  inline-size: 18px;
  block-size: 18px;
  border-radius: 50%;
  border: 1px solid var(--fq-line);
  transition: border-color 0.25s ease, transform 0.3s ease;
}
.fq-plus::before, .fq-plus::after {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  background: var(--fq-gold);
  translate: -50% -50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.fq-plus::before { inline-size: 9px; block-size: 1.5px; }
.fq-plus::after { inline-size: 1.5px; block-size: 9px; }
.fq-item[open] .fq-plus { border-color: var(--fq-gold); transform: rotate(135deg); }
.fq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s ease;
}
.fq-item[open] .fq-answer { grid-template-rows: 1fr; }
.fq-answer > * { overflow: hidden; }
.fq-answer { padding-inline: 1.35rem; }
.fq-item[open] .fq-answer { padding-block: 0 1.3rem; }
.fq-answer p {
  margin: 0;
  color: var(--fq-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 68ch;
}
.fq-answer p + p { margin-block-start: 0.8rem; }
.fq-no-results {
  margin: 2.4rem auto 0;
  max-width: 52ch;
  text-align: center;
  color: var(--fq-muted);
  padding: 2rem;
  border: 1px dashed var(--fq-line);
  border-radius: 14px;
}

/* ---------- Steps band ---------- */
.fq-steps-band {
  padding-block: clamp(64px, 9vw, 110px);
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(214, 170, 120, 0.08), transparent 55%),
    var(--fq-onyx-2);
  border-block: 1px solid var(--fq-line-soft);
}
.fq-band-head { margin-block-end: clamp(34px, 4.5vw, 52px); }
.fq-band-head h2 {
  margin: 0.9rem 0 0;
  font-family: var(--fq-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.fq-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: fqstep;
}
.fq-step {
  position: relative;
  padding: 2rem 1.7rem 1.9rem;
  border: 1px solid var(--fq-line-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(27, 25, 22, 0.9), rgba(20, 17, 13, 0.9));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.fq-step:hover { transform: translateY(-4px); border-color: var(--fq-line); }
.fq-step-num {
  display: block;
  font-family: var(--fq-serif);
  font-size: 3.1rem;
  line-height: 1;
  margin-block-end: 1.4rem;
  background: linear-gradient(120deg, var(--fq-gold-hi), var(--fq-gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fq-step h3 {
  margin: 0 0 0.7rem;
  font-family: var(--fq-serif);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.2;
}
.fq-step p { margin: 0; color: var(--fq-muted); line-height: 1.75; font-size: 0.95rem; }

/* ---------- Closing CTA ---------- */
.fq-cta-band { padding-block: clamp(64px, 9vw, 104px); background: var(--fq-onyx); }
.fq-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 24px;
  border: 1px solid var(--fq-line);
  background:
    radial-gradient(110% 140% at 88% -20%, rgba(236, 202, 158, 0.2), transparent 60%),
    linear-gradient(125deg, rgba(214, 170, 120, 0.13), rgba(214, 170, 120, 0.03) 55%, rgba(27, 25, 22, 0.6));
}
.fq-cta-inner h2 {
  margin: 0.8rem 0 1rem;
  font-family: var(--fq-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}
.fq-cta-inner p { margin: 0; color: var(--fq-muted); line-height: 1.75; max-width: 52ch; }
.fq-cta-actions { display: flex; flex-direction: column; gap: 0.8rem; min-inline-size: 220px; }
.fq-cta-actions .fq-btn { inline-size: 100%; }

/* ---------- Keyboard ---------- */
.fq-chip:focus-visible,
.fq-btn:focus-visible,
.fq-item summary:focus-visible,
.fq-search-wrap input:focus-visible {
  outline: 2px solid var(--fq-gold-hi);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fq-toolbar { grid-template-columns: 1fr; }
  .fq-steps { grid-template-columns: 1fr; }
  .fq-cta-inner { grid-template-columns: 1fr; }
  .fq-cta-actions { flex-direction: row; flex-wrap: wrap; min-inline-size: 0; }
  .fq-cta-actions .fq-btn { inline-size: auto; flex: 1 1 200px; }
}
@media (max-width: 560px) {
  .fq-hero-ring { inline-size: 320px; inset-inline-end: -180px; }
  .fq-group-head { grid-template-columns: 1fr auto; row-gap: 0.3rem; }
  .fq-item summary { padding: 0.95rem 1rem; min-height: 54px; gap: 0.7rem; }
  .fq-answer { padding-inline: 1rem; }
  .fq-item[open] .fq-answer { padding-block: 0 1.05rem; }
  .fq-toolbar { top: 60px; padding: 0.8rem; }
  .fq-chip { min-height: 42px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fq-hero-ring { animation: none; }
  .fq-answer { transition: none; }
  .fq-item, .fq-step, .fq-btn, .fq-chip { transition: none; }
  .fq-btn:hover, .fq-step:hover, .fq-btn-ghost:hover { transform: none; }
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .fq-kicker-line { background: linear-gradient(270deg, transparent, var(--fq-gold)); }
[dir="rtl"] .fq-hero-halo { inset-inline-start: 50%; }
[dir="rtl"] .fq-item-index { letter-spacing: 0; }
