/* ============================================================
   Vanguard Risk & Safety Advisors — Global Stylesheet
   Brand: Navy #0E2A3A | Teal #2F8A94 | Gray #4B5563
   Note: --orange / --yellow tokens repurposed as brand teals
         (teal/navy palette sampled from the logo).
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0E2A3A;
  --navy-dark:   #061E2A;
  --navy-mid:    #17384A;
  --orange:      #2F8A94;  /* Vanguard Teal — primary accent */
  --orange-dark: #1A5F68;  /* Deep Teal — hover/active */
  --teal:        #2F8A94;
  --teal-dark:   #1A5F68;
  --teal-light:  #4FB3BC;
  --gray:        #4B5563;
  --gray-light:  #6B7280;
  --steel:       #E5E7EB;
  --warm-white:  #F8FAFB;
  --white:       #FFFFFF;
  --yellow:      #4FB3BC;  /* Light Teal — formerly Signal Yellow */

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);

  --max-w: 1200px;
  --section-y: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 200ms ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(47,138,148,.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.nav-logo-mark img { width: 100%; height: auto; display: block; }
.footer .nav-logo-mark { width: 40px; height: 40px; }
.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 10px; font-weight: 400; opacity: .65; letter-spacing: .04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 150ms;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }

.nav-cta { flex-shrink: 0; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.nav-mobile {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px;
}
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color 150ms;
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 16px; }
.nav-mobile.open { display: block; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 96px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(47,138,148,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.hero-logo { display: flex; justify-content: center; }
.hero-logo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25), 0 0 0 1px rgba(47,138,148,.15);
  max-width: 320px;
  width: 100%;
}
.hero-logo-card img { width: 100%; height: auto; display: block; }
@media (max-width: 960px) {
  .hero-logo-card { max-width: 240px; padding: 24px; }
}

.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 640px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,.15);
  padding-top: 8px;
  padding-bottom: 8px;
}
.trust-item:last-child { border-right: none; margin-right: 0; }
.trust-item svg { color: var(--orange); flex-shrink: 0; }

/* ── Section base ── */
.section { padding: var(--section-y) 0; }
.section-sm { padding: 64px 0; }
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p, .section-navy li { color: rgba(255,255,255,.75); }
.section-navy .eyebrow { color: var(--orange); }

.section-steel { background: var(--steel); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header p { font-size: 18px; color: var(--gray-light); margin-top: 16px; }

/* ── Problem section ── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem-content h2 { margin-bottom: 24px; }
.problem-content p { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.problem-visual {
  display: grid;
  gap: 16px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.problem-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(47,138,148,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.problem-card h4 { color: var(--navy); font-size: 13px; margin-bottom: 4px; }
.problem-card p { font-size: 14px; color: var(--gray-light); margin: 0; }

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(13,31,60,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  transition: background 200ms;
}
.service-card:hover .service-icon { background: rgba(47,138,148,.1); color: var(--orange); }
.service-card h3 { font-size: 18px; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--gray-light); margin-bottom: 20px; }
.service-card a { font-size: 14px; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 4px; transition: gap 150ms; }
.service-card a:hover { gap: 8px; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -16px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 40px;
  background: rgba(255,255,255,.15);
}
.stat-num {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  line-height: 1.3;
}

/* ── Credibility section ── */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cred-content h2 { margin-bottom: 24px; }
.cred-content p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(47,138,148,.08);
  color: var(--orange);
  border: 1px solid rgba(47,138,148,.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.cred-visual {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}
.cred-visual .eyebrow { margin-bottom: 24px; }
.cred-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cred-stat { text-align: center; }
.cred-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.cred-stat-label { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.3; }
.cred-operators {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cred-operators p { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.operator-list { display: flex; flex-wrap: wrap; gap: 8px; }
.operator-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .03em;
}

/* ── Who We Serve table ── */
.serve-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.serve-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}
.serve-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 16px 24px;
  font-size: 13px;
  letter-spacing: .04em;
}
.serve-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--steel);
  vertical-align: top;
}
.serve-table tr:last-child td { border-bottom: none; }
.serve-table tr:nth-child(even) td { background: var(--warm-white); }
.serve-table td:first-child { font-weight: 600; color: var(--navy); }

/* ── Pricing section ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--steel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 200ms ease;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--orange);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
}
.pricing-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--steel);
}
.pricing-tier { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.pricing-price { font-size: 42px; font-weight: 700; color: var(--navy); line-height: 1; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--gray-light); }
.pricing-tagline { font-size: 14px; color: var(--gray-light); margin-top: 8px; }
.pricing-features { padding: 28px 32px 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray);
  padding: 8px 0;
  border-bottom: 1px solid var(--steel);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.pricing-footer { padding: 0 32px 32px; }
.pricing-footer .btn { width: 100%; justify-content: center; }

/* ── About preview / quote ── */
.about-preview {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.about-preview::before {
  content: '"';
  position: absolute;
  top: -20px; left: 32px;
  font-size: 200px;
  color: rgba(255,255,255,.05);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.about-preview p {
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  font-style: italic;
  max-width: 800px;
}
.about-preview-attr {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .03em;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}
.about-preview .btn { position: relative; z-index: 1; }

/* ── CTA section ── */
.cta-section {
  background: var(--orange);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 560px; margin: 0 auto 40px; }
.cta-section .btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  font-weight: 700;
}
.cta-section .btn-white:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}
.footer-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--orange);
  text-transform: uppercase;
}
.footer-col h4 { color: rgba(255,255,255,.4); font-size: 11px; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  padding: 5px 0;
  transition: color 150ms;
}
.footer-col a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  padding: 5px 0;
}
.footer-contact li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.3); font-size: 13px; transition: color 150ms; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── Page hero (interior) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ── About page ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-content h2 { margin-bottom: 24px; }
.story-content p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.story-pullquote {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.story-pullquote::before {
  content: '"';
  position: absolute;
  top: -30px; left: 24px;
  font-size: 160px;
  color: rgba(255,255,255,.06);
  font-family: Georgia, serif;
  line-height: 1;
}
.story-pullquote blockquote {
  font-size: 17px;
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}
.story-pullquote cite {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .03em;
  font-style: normal;
  position: relative;
  z-index: 1;
}

.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cred-item {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cred-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(47,138,148,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.cred-item strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.cred-item span { font-size: 13px; color: var(--gray-light); }

/* ── Services page ── */
.service-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--steel);
}
.service-section:last-of-type { border-bottom: none; }
.service-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.service-section-grid.reverse { direction: rtl; }
.service-section-grid.reverse > * { direction: ltr; }
.service-sidebar {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-sidebar-header {
  background: var(--navy);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.service-sidebar-header h3 { color: var(--white); font-size: 18px; margin: 0; }
.service-sidebar-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.service-sidebar-body { padding: 24px; }
.who-tag {
  display: inline-block;
  background: rgba(47,138,148,.08);
  color: var(--orange);
  border: 1px solid rgba(47,138,148,.2);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.service-sidebar-body p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.service-sidebar-body .btn { width: 100%; justify-content: center; }

.service-detail h2 { margin-bottom: 16px; }
.service-detail p { font-size: 16px; line-height: 1.75; }
.service-features-list { margin: 24px 0; }
.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--gray);
  border-bottom: 1px solid var(--steel);
}
.service-features-list li:last-child { border-bottom: none; }
.service-features-list li svg { color: var(--orange); flex-shrink: 0; margin-top: 1px; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel);
  font-size: 15px;
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--steel);
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: var(--warm-white); }
.pricing-table td:first-child { font-weight: 600; color: var(--navy); }

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--gray-light); margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.form-group label .req { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--steel);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  background: var(--warm-white);
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(47,138,148,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-submit .btn { width: 100%; justify-content: center; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { font-size: 18px; margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--steel);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 36px; height: 36px;
  background: rgba(47,138,148,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 12px; color: var(--gray-light); font-weight: 500; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .05em; }
.contact-detail span, .contact-detail a { font-size: 15px; color: var(--navy); font-weight: 500; }
.contact-detail a:hover { color: var(--orange); }

.response-note {
  background: rgba(47,138,148,.06);
  border: 1px solid rgba(47,138,148,.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.response-note svg { color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.response-note p { font-size: 14px; color: var(--gray); margin: 0; }

.service-areas {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.service-areas h3 { font-size: 18px; margin-bottom: 16px; }
.service-areas p { font-size: 14px; color: var(--gray-light); line-height: 1.6; }

/* ── FAQ page ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: background 150ms;
}
.faq-question:hover { background: var(--warm-white); }
.faq-question:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.faq-icon {
  width: 28px; height: 28px;
  background: rgba(47,138,148,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 250ms ease, background 150ms;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 250ms ease;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  border-top: 1px solid var(--steel);
  padding-top: 20px;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-white { color: var(--white) !important; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-y: 72px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stat-item + .stat-item::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-section-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-section-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --section-y: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .problem-grid, .cred-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 40px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-bar { flex-direction: column; gap: 12px; }
  .trust-item { border-right: none; padding-right: 0; margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cred-visual { padding: 32px; }
  .cred-stat-grid { grid-template-columns: 1fr 1fr; }
  .creds-grid { grid-template-columns: 1fr; }
  .about-preview { padding: 40px 32px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .serve-table th, .serve-table td { padding: 12px 16px; font-size: 14px; }

  /* Reduce vertical space on tablet/phone */
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 56px 0 48px; }
  .cta-section { padding: 56px 0; }
  .stats-bar { padding: 36px 0; }
  .footer { padding: 48px 0 28px; }
  .service-section { padding: 48px 0; }

  /* Service cards / sections */
  .service-card { padding: 24px; }
  .pricing-header { padding: 24px 24px 20px; }
  .pricing-features { padding: 20px 24px 24px; }
  .pricing-footer { padding: 0 24px 24px; }
  .pricing-price { font-size: 36px; }

  /* About story image card / pullquote */
  .story-pullquote { padding: 32px 24px; }
  .story-pullquote::before { font-size: 120px; top: -16px; left: 12px; }
  .about-preview::before { font-size: 140px; left: 16px; }

  /* FAQ */
  .faq-question { padding: 18px 20px; font-size: 15px; }
  .faq-answer-inner { padding: 16px 20px 20px; }
  .faq-item.open .faq-answer { max-height: 1200px; }

  /* Service sticky sub-nav scrolls horizontally; align to top of main nav */
  .service-section-grid.reverse { direction: ltr; }
}

@media (max-width: 600px) {
  /* Tighter container padding to claw back horizontal space */
  .container { padding: 0 16px; }

  /* Headings already use clamp(); tighten line-height a touch */
  h1 { line-height: 1.2; }
  h2 { line-height: 1.2; }

  /* Section spacing */
  :root { --section-y: 48px; }
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 16px; }

  /* Hero — tighten */
  .hero { padding: 48px 0 48px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-logo-card { max-width: 200px; padding: 20px; }

  /* Page hero */
  .page-hero { padding: 44px 0 40px; }
  .page-hero p { font-size: 16px; }

  /* CTA section */
  .cta-section { padding: 44px 0; }
  .cta-section p { font-size: 16px; margin-bottom: 28px; }
  .cta-section .btn { width: 100%; justify-content: center; }

  /* Buttons — full width, big tap target */
  .btn { padding: 14px 22px; min-height: 48px; }
  .btn-sm { padding: 10px 16px; min-height: 40px; }

  /* Forms */
  .contact-form-wrap { padding: 24px 18px; border-radius: 10px; }
  .contact-form-wrap > p { margin-bottom: 24px; }
  .form-group { margin-bottom: 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* prevents iOS zoom on focus */ padding: 12px 14px; }
  .contact-info-card { padding: 24px 20px; }
  .service-areas { padding: 24px 20px; }

  /* Cred visual */
  .cred-visual { padding: 28px 22px; }
  .cred-stat-num { font-size: 30px; }

  /* About preview / quote */
  .about-preview { padding: 32px 22px; }
  .about-preview p { font-size: 17px; margin-bottom: 24px; }

  /* Pricing tweaks */
  .pricing-card { border-radius: 10px; }
  .pricing-header { padding: 22px 22px 18px; }
  .pricing-features { padding: 18px 22px 22px; }
  .pricing-features li { font-size: 14px; }
  .pricing-footer { padding: 0 22px 22px; }

  /* Services page */
  .service-section { padding: 40px 0; }
  .service-sidebar-header { padding: 18px; gap: 12px; }
  .service-sidebar-header h3 { font-size: 16px; }
  .service-sidebar-body { padding: 20px 18px; }
  .service-features-list li { font-size: 14px; padding: 8px 0; }
  .pricing-table th, .pricing-table td { padding: 10px 12px; font-size: 13px; }

  /* FAQ */
  .faq-question { padding: 16px 16px; font-size: 15px; gap: 12px; }
  .faq-answer-inner { padding: 14px 16px 18px; font-size: 15px; }

  /* Stats grid */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Nav logo: tighten label so it fits next to hamburger */
  .nav-inner { gap: 12px; height: 64px; }
  .nav-logo-mark { width: 38px; height: 38px; }
  .nav-logo-text { font-size: 13px; line-height: 1.15; }
  .nav-logo-text span { font-size: 9px; }
  .nav-mobile { padding: 12px 16px; }
  .nav-mobile a { padding: 14px 0; font-size: 15px; min-height: 44px; }

  /* Long links / emails should never break layout */
  .footer-contact a,
  .contact-detail a,
  .footer-col a { word-break: break-word; overflow-wrap: anywhere; }

  /* Footer sizing */
  .footer { padding: 40px 0 24px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  .footer-legal { display: block; text-align: center; }

  /* Operator tags don't need to be cramped */
  .operator-list { gap: 6px; }

  /* Section header text alignment */
  .section-header { padding: 0 4px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-card { max-width: 100%; }
  .cred-stat-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cred-stat-num { font-size: 28px; }

  /* Hide trailing logo card on the homepage hero on the smallest phones —
     it eats vertical space and the text already conveys the brand */
  .hero-logo { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ── Inline-style overrides (mobile) ──
   Some HTML uses inline styles set for desktop. The classes below are added
   in the markup so we can safely scale them down on small screens. */
@media (max-width: 600px) {
  .faq-cta-card { padding: 32px 20px !important; margin-top: 40px !important; }
  .faq-cta-card .btn { width: 100%; justify-content: center; }
  .faq-tier-list li { flex-direction: column; gap: 4px !important; }
  .faq-tier-list li strong { min-width: 0 !important; }
  .gov-grid { grid-template-columns: 1fr !important; }
  a.services-subnav { padding: 14px 14px !important; font-size: 12px !important; }
  .services-subnav-wrap { top: 64px !important; }
  .service-pricing-callout { padding: 14px !important; }
  .service-pricing-callout-num { font-size: 24px !important; }
  .founder-photo-caption { padding: 14px 16px !important; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .5s ease both; }
.fade-in-delay-1 { animation-delay: .1s; }
.fade-in-delay-2 { animation-delay: .2s; }
.fade-in-delay-3 { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
