/* United Services — FAQ stylesheet (self-contained, matches site brand).
   Nav + footer rules are the same ones used by the homepage (site.css) and the
   blog (blog.css) so /faq sits under an identical chrome. */
:root {
  --navy: #0a1628; --navy-mid: #132040; --navy-light: #1e3060;
  --gold: #c9a84c; --gold-light: #e8c96a; --gold-pale: #f5e9c8;
  --white: #ffffff; --off-white: #f8f6f0;
  --gray: #8a9ab5; --gray-light: #e8ecf4;
  --text: #1a2340; --text-light: #4a5878;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif; background: var(--off-white);
  color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ── NAV (matched exactly to homepage site.css) ── */
/* scoped to the site header: .faq-toc is also a <nav>, and must NOT be fixed */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.96); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px; border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.logo { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: .25rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.75); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.faq-hero {
  background: var(--navy); color: var(--white);
  padding: 8rem 5% 4.25rem; text-align: center; position: relative; overflow: hidden;
}
.faq-hero::after {
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.10), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.faq-hero .wordmark {
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.1rem;
  color: var(--gold); letter-spacing: 0.16em; margin-bottom: 0.9rem;
}
.faq-hero .eyebrow {
  color: rgba(255,255,255,0.55); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.faq-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.faq-hero p { color: var(--gray); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ── LAYOUT ── */
.faq-wrap { max-width: 1180px; margin: 0 auto; padding: 3.5rem 5% 4rem; }

/* ── TABLE OF CONTENTS ── */
.faq-toc {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: 14px;
  padding: 1.6rem 1.8rem; margin-bottom: 2.5rem;
}
.toc-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.faq-toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2.5rem; }
.faq-toc ol li { break-inside: avoid; }
.faq-toc li { margin-bottom: 0.5rem; font-size: 0.94rem; color: var(--text-light); }
.faq-toc li::marker { color: var(--gold); font-variant-numeric: tabular-nums; }
.faq-toc a { color: var(--text-light); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.faq-toc a:hover { color: var(--navy); border-bottom-color: var(--gold); }

/* ── Q&A ITEMS (native <details>, no JavaScript) ── */
/* two side-by-side columns so all 10 answers fit with far less scrolling */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}

.faq-item {
  background: var(--white); border: 1px solid var(--gray-light);
  border-left: 4px solid var(--gold); border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10,22,40,.04);
  scroll-margin-top: 90px;
}
.faq-item details { width: 100%; }
.faq-item summary {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.6rem; cursor: pointer; list-style: none;
  transition: background .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(201,168,76,0.05); }
.faq-num {
  font-family: 'Playfair Display', serif; font-size: 0.85rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.06em; padding-top: 0.32rem; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.faq-item summary h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  font-weight: 600; color: var(--navy); line-height: 1.35; flex: 1;
}
.chev {
  flex-shrink: 0; width: 11px; height: 11px; margin-top: 0.45rem;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .22s;
}
.faq-item details[open] > summary .chev { transform: rotate(-135deg); }
.faq-a { padding: 0 1.6rem 1.5rem 3.35rem; }
.faq-a p { color: var(--text-light); font-size: 1rem; line-height: 1.75; }
.faq-a p + p { margin-top: 0.9rem; }

/* ── COMPLIANCE NOTE ── */
.faq-compliance {
  margin: 2.2rem 0 0; padding: 1.1rem 1.3rem;
  background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.28);
  border-radius: 8px; font-size: 0.82rem; line-height: 1.65; color: var(--text-light);
}
.faq-compliance strong { color: var(--navy); }

/* ── CLOSING CTA ── */
.faq-cta {
  margin-top: 3rem; background: var(--navy); border-radius: 16px;
  padding: 3rem 2.2rem 2.6rem; text-align: center; position: relative; overflow: hidden;
  scroll-margin-top: 90px;
}
.faq-cta::after {
  content: ""; position: absolute; top: -60%; left: -10%; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
}
.faq-cta > * { position: relative; z-index: 1; }
.faq-cta h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.15; }
.faq-cta p { color: var(--gray); max-width: 48ch; margin: 1rem auto 0; font-size: 1rem; }
.cta-row { margin-top: 1.8rem; display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.02em; border-radius: 999px;
  padding: 0.95rem 2rem; text-decoration: none; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,.28); }
.btn-ghost { background: transparent; color: var(--off-white); border-color: rgba(248,246,240,.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.cta-fine { font-size: 0.85rem; color: var(--gray); margin-top: 1.5rem; }
.cta-fine a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.cta-fine a:hover { border-bottom-color: var(--gold); }

/* ── FOOTER ── */
footer { background: var(--navy); color: var(--gray); padding: 3rem 5% 2.5rem; text-align: center; margin-top: 4rem; }
.footer-logo { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.footer-logo span { color: var(--gold); }
.footer-legal { max-width: 720px; margin: 0 auto 1.4rem; font-size: 0.8rem; line-height: 1.6; }
.footer-links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,22,40,.98); backdrop-filter: blur(12px); flex-direction: column; padding: 1rem 0 1.5rem; border-bottom: 1px solid rgba(201,168,76,.15); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: .85rem 2rem; font-size: .95rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-toc ol { columns: 1; }
}

@media (max-width: 768px) {
  .faq-hero { padding: 7rem 5% 3rem; }
  .faq-item summary { padding: 1.2rem 1.1rem; gap: .75rem; }
  .faq-a { padding: 0 1.1rem 1.3rem 1.1rem; }
  .faq-cta { padding: 2.4rem 1.4rem 2rem; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
