/* ===== DESIGN TOKENS ===== */
:root {
  --ink: #0A2540; --ink-700: #0F2E4D; --ink-600: #14385C;
  --teal: #0E7C7B; --teal-700: #0A5E5D; --teal-50: #E1F0F0;
  --gold: #C7A24B; --gold-600: #B8922F; --gold-50: #F7F1DF; --gold-200: #E8D9A8;
  --n0: #FFFFFF; --n50: #F7F9FC; --n100: #EEF2F7; --n200: #E2E8F0;
  --n400: #94A3B8; --n600: #475569; --n700: #334155; --n800: #1E293B; --n900: #0F172A;
  --radius: 12px; --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06);
  --shadow-md: 0 10px 30px rgba(10,37,64,.08);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  font-family: var(--sans); color: var(--n800); background: var(--n0); line-height: 1.65;
  display: flex; flex-direction: column; min-height: 100vh; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.15; }
a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--teal-700); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 10000;
  background: var(--teal); color: #fff; padding: 0.75rem 1.5rem;
  font-weight: 600; text-decoration: none; border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--n200); position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.logo a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.logo .tagline { font-size: 0.7rem; font-weight: 500; color: var(--n600); letter-spacing: 0.01em; }
.header-cta-btn {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-left: auto; margin-right: 0.5rem;
  padding: 0.5rem 1.1rem; border-radius: 8px; background: var(--gold); color: var(--ink);
  font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.2s;
}
.header-cta-btn:hover { background: var(--gold-600); color: var(--ink); }
.header-cta-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.header-login-btn {
  display: inline-flex; align-items: center; margin-right: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 8px; background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal); font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.header-login-btn:hover { background: var(--teal-50); color: var(--teal-700); }
.header-login-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; border-radius: 4px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.primary-nav { width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.primary-nav.open { max-height: 600px; }
.primary-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0 0.25rem; border-top: 1px solid var(--n200); margin-top: 0.7rem; }
.primary-nav a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; color: var(--n800); text-decoration: none; font-weight: 500; transition: background 0.2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--teal-50); color: var(--teal-700); }
.primary-nav a.current { background: var(--teal-50); color: var(--teal-700); font-weight: 600; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.9rem 1.6rem; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-600); color: var(--ink); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-teal:hover { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-arrow svg { width: 18px; height: 18px; }

/* ===== HERO ===== */
.hero { background: var(--ink); color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; top: -20%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(14,124,123,0.35) 0%, rgba(10,37,64,0) 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 0.45rem; background: rgba(199,162,75,0.16); color: var(--gold); border: 1px solid rgba(199,162,75,0.3); padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.25rem; }
.hero-pill svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #CBD5E1; max-width: 560px; margin-bottom: 1.75rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero-reassure { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.9rem; color: #CBD5E1; }
.hero-reassure span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-reassure svg { width: 16px; height: 16px; color: var(--gold); }

/* Hero process card */
.review-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; color: var(--n800); }
.review-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--n200); margin-bottom: 1rem; }
.review-card-head h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.review-card-head .tag { font-size: 0.72rem; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 0.25rem 0.6rem; border-radius: 999px; }
.review-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--n100); }
.review-item:last-child { border-bottom: none; }
.review-item .label { font-size: 0.9rem; color: var(--n700); }
.review-item .label small { display: block; color: var(--n400); font-size: 0.78rem; }
.status { font-size: 0.74rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.status.review { background: #FEF3C7; color: #92400E; }
.status.disputed { background: #DBEAFE; color: #1E40AF; }
.status.updated { background: #D1FAE5; color: #065F46; }
.review-card-foot { margin-top: 1rem; font-size: 0.74rem; color: var(--n400); text-align: center; }

/* ===== SECTION COMMON ===== */
section { padding: 4.5rem 0; }
.eyebrow { display: block; text-align: center; color: var(--teal); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 0.6rem; }
.section-sub { text-align: center; color: var(--n600); max-width: 640px; margin: 0 auto 3rem; font-size: 1.05rem; }
.bg-light { background: var(--n50); }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--n50); border-top: 1px solid var(--n200); border-bottom: 1px solid var(--n200); padding: 2rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--teal); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 1rem; color: var(--ink); font-weight: 700; }
.trust-item span { font-size: 0.85rem; color: var(--n600); }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.step-card { background: var(--n0); border: 1px solid var(--n200); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow 0.25s, transform 0.2s; position: relative; }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--gold); margin-bottom: 0.5rem; }
.step-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.step-icon svg { width: 24px; height: 24px; color: var(--teal-700); }
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--n600); font-size: 0.95rem; }

/* ===== SERVICE HIGHLIGHTS ===== */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.svc-card { background: var(--n0); border: 1px solid var(--n200); border-radius: var(--radius-lg); padding: 1.75rem; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s; }
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal); }
.svc-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.svc-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.svc-icon svg { width: 26px; height: 26px; color: var(--gold); }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--ink); }
.svc-card p { color: var(--n600); font-size: 0.95rem; margin-bottom: 0.75rem; }
.svc-more { font-size: 0.9rem; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 0.3rem; }
.svc-more svg { width: 16px; height: 16px; }

/* ===== COMPLIANCE / RISK-REVERSAL BAND ===== */
.promise { background: var(--gold-50); border-top: 1px solid var(--gold-200); border-bottom: 1px solid var(--gold-200); }
.promise .container { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.promise h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
.promise p { color: var(--n700); margin-bottom: 1rem; }
.promise-list { list-style: none; display: grid; gap: 0.85rem; }
.promise-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.promise-list svg { width: 22px; height: 22px; color: var(--teal-700); flex-shrink: 0; margin-top: 2px; }
.promise-list strong { color: var(--ink); }
.promise-list span { color: var(--n700); font-size: 0.95rem; }

/* ===== TESTIMONIAL TEASER ===== */
.tst-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.tst-card { background: var(--n0); border: 1px solid var(--n200); border-radius: var(--radius-lg); padding: 1.75rem; }
.tst-stars { color: var(--gold); margin-bottom: 0.75rem; letter-spacing: 2px; }
.tst-card blockquote { font-size: 1rem; color: var(--n700); margin-bottom: 1rem; quotes: none; }
.tst-author { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.tst-role { font-size: 0.82rem; color: var(--n600); }
.tst-disclaimer { text-align: center; color: var(--n400); font-size: 0.82rem; margin-top: 1.5rem; }

/* ===== FINAL CTA ===== */
.final-cta { background: var(--ink); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.final-cta p { color: #CBD5E1; max-width: 560px; margin: 0 auto 2rem; font-size: 1.08rem; }
.center { text-align: center; }

/* ===== FOOTER ===== */
.site-footer { margin-top: auto; background: var(--n900); color: #cbd5e1; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; list-style: none; padding: 1.25rem 0; font-size: 0.85rem; }
.footer-legal a { color: var(--n400); text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-legal a:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; border-radius: 2px; }
.footer-bottom { border-top: 1px solid var(--n800); padding: 1rem 0; text-align: center; font-size: 0.85rem; }
.footer-ada { background: var(--n800); color: var(--n400); padding: 0.75rem 0; text-align: center; font-size: 0.85rem; }
.footer-ada a { color: #38bdf8; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav { max-height: none !important; width: auto; overflow: visible; }
  .primary-nav ul { flex-direction: row; border-top: none; padding: 0; margin: 0; gap: 0.15rem; }
  .site-header .container { flex-wrap: nowrap; }
  .promise .container { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 940px) {
  .hero { padding: 6rem 0; }
  .hero .container { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .tst-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================= CONSOLIDATED HEADER NAV (v3) ================= */
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: nowrap; }
.nav-toggle { display: inline-flex; }
.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: block; width: 100%; max-height: none; overflow: visible;
  background: #ffffff; border-bottom: 1px solid #E2E8F0; box-shadow: 0 16px 30px rgba(10,37,64,.10);
  padding: 0.5rem 0 1.25rem; z-index: 999;
  visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-nav.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.primary-nav .nav-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 1.25rem; border: 0; max-height: none; width: auto; }
.primary-nav .nav-list > li { border-bottom: 1px solid #EEF2F7; position: relative; }
.primary-nav .nav-list > li > a,
.primary-nav .dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem; width: 100%;
  padding: .9rem .25rem; margin: 0; font-family: inherit; font-size: 1rem; font-weight: 500; color: #1E293B;
  background: none; border: none; border-radius: 0; cursor: pointer; text-align: left; text-decoration: none;
}
.primary-nav .nav-list > li > a:hover, .primary-nav .nav-list > li > a:focus-visible,
.primary-nav .dropdown-toggle:hover, .primary-nav .dropdown-toggle:focus-visible { color: #0E7C7B; background: none; }
.primary-nav .chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.primary-nav .has-dropdown.open > .dropdown-toggle .chev { transform: rotate(180deg); }
.primary-nav .dropdown { list-style: none; display: block; margin: 0; padding: 0; border: 0; max-height: 0; overflow: hidden; width: auto; transition: max-height .25s ease; }
.primary-nav .has-dropdown.open > .dropdown { max-height: 360px; }
.primary-nav .dropdown a { display: block; padding: .65rem .25rem .65rem 1.1rem; color: #475569; text-decoration: none; font-size: .95rem; font-weight: 500; }
.primary-nav .dropdown a:hover, .primary-nav .dropdown a:focus-visible { color: #0A5E5D; background: none; }
.primary-nav a.current, .primary-nav .dropdown-toggle.current { color: #0E7C7B; font-weight: 700; }
.nav-actions { display: flex; flex-direction: column; gap: .6rem; padding: 1rem 1.25rem 0; }
.nav-actions .header-login-btn, .nav-actions .header-cta-btn { width: 100%; justify-content: center; margin: 0; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; width: auto; max-height: none; overflow: visible; padding: 0;
    background: none; border: 0; box-shadow: none;
    visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    display: flex; align-items: center; gap: 1.25rem;
  }
  .primary-nav .nav-list { flex-direction: row; align-items: center; padding: 0; gap: .15rem; }
  .primary-nav .nav-list > li { border: 0; }
  .primary-nav .nav-list > li > a, .primary-nav .dropdown-toggle { width: auto; padding: .5rem .7rem; border-radius: 8px; font-size: .92rem; }
  .primary-nav .nav-list > li > a:hover, .primary-nav .dropdown-toggle:hover { background: #E1F0F0; color: #0A5E5D; }
  .primary-nav .dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; max-height: none; overflow: visible;
    background: #ffffff; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 16px 40px rgba(10,37,64,.14);
    padding: .4rem;
    visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .primary-nav .has-dropdown:hover > .dropdown,
  .primary-nav .has-dropdown:focus-within > .dropdown,
  .primary-nav .has-dropdown.open > .dropdown { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .primary-nav .dropdown a { border-radius: 8px; padding: .6rem .75rem; }
  .primary-nav .dropdown a:hover, .primary-nav .dropdown a:focus-visible { background: #E1F0F0; }
  .nav-actions { flex-direction: row; align-items: center; padding: 0; gap: .6rem; }
  .nav-actions .header-login-btn, .nav-actions .header-cta-btn { width: auto; }
}

@media (min-width: 992px) {
  .primary-nav .has-dropdown > .dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
}
