:root {
  --ink: #111827;
  --muted: #5b6678;
  --line: #dbe3ef;
  --bg: #f7f9fc;
  --card: #ffffff;
  --blue: #0f4c81;
  --blue-dark: #0a345b;
  --blue-soft: #e8f2fb;
  --gold: #f2b84b;
  --green: #1f8a70;
  --shadow: 0 18px 45px rgba(12, 32, 56, .13);
  --radius: 22px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  font-size: 13px;
  box-shadow: 0 10px 26px rgba(15,76,129,.24);
}
.brand-text { font-size: 18px; }
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.nav a:hover { color: var(--blue); }
.call-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}
.menu-btn { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(31,138,112,.18), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f0f6fc 58%, #e9f3fa 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -170px;
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(15,76,129,.09);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 420px;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 6vw, 72px); max-width: 920px; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 22px; }
.lead {
  max-width: 740px;
  font-size: 21px;
  color: var(--muted);
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 26px rgba(15,76,129,.25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: #fff; color: var(--blue-dark); border: 1px solid var(--line); }
.btn-block { width: 100%; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 800px;
}
.trust-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
}
.trust-row strong { display: block; font-size: 14px; }
.trust-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

.hero-card, .stat-card, .panel, .lead-form, .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 30px;
}
.status-pill {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(242,184,75,.2);
  color: #8a5d00;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.check-list, .feature-list { padding: 0; list-style: none; margin: 18px 0 24px; }
.check-list li, .feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--muted);
}
.check-list li::before, .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}
.microcopy, .form-disclaimer {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 0;
}

.logo-strip {
  background: var(--blue-dark);
  color: #dcecff;
}
.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 18px 0;
}
.logo-strip span {
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
}

.section { padding: 84px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-heading {
  max-width: 820px;
  text-align: center;
  margin-bottom: 34px;
}
.section-heading p:last-child {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}
.cards {
  display: grid;
  gap: 22px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card, .mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(12,32,56,.06);
}
.card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.card p, .mini-card span, .stat-card p, .panel p, .split-grid p {
  color: var(--muted);
}
.mini-card strong { display: block; margin-bottom: 7px; font-size: 18px; }
.mini-card span { display: block; font-size: 14px; }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split-grid.reverse {
  grid-template-columns: .95fr 1.05fr;
}
.stat-card, .panel { padding: 34px; }
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.specialty-grid span {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--blue-dark);
  font-weight: 750;
  background: var(--bg);
}

.process { background: linear-gradient(180deg, #f7f9fc, #fff); }

.intake {
  background:
    radial-gradient(circle at bottom left, rgba(15,76,129,.14), transparent 34%),
    #0c2038;
  color: #fff;
}
.intake .eyebrow { color: #93f0d2; }
.intake-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.intake-copy p { color: #c8d5e8; font-size: 18px; }
.contact-card {
  margin-top: 24px;
  padding: 22px;
  color: var(--ink);
}
.contact-card strong, .contact-card a { display: block; }
.contact-card a { color: var(--blue); font-weight: 850; margin-top: 7px; }

.lead-form {
  padding: 28px;
  color: var(--ink);
}
.form-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.form-header p { margin: 0; color: var(--muted); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label, legend {
  font-size: 14px;
  color: #334155;
  font-weight: 760;
}
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; }
.span-2 { grid-column: span 2; }
fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 18px 0;
  padding: 18px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  color: var(--muted);
  font-weight: 600;
}
.checkbox input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}
.consent {
  padding: 14px;
  border-radius: 16px;
  background: var(--bg);
}
.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #e9fff8;
  color: #0b654f;
  font-weight: 750;
}
.hidden { display: none; }

.cta { background: #fff; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--muted); margin: 0; }

.footer {
  padding: 44px 0;
  background: #081626;
  color: #dce7f6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr;
  gap: 28px;
}
.footer p { color: #aab7c7; max-width: 520px; }
.footer h3 { font-size: 15px; letter-spacing: 0; margin-bottom: 12px; }
.footer a, .footer span { display: block; color: #cbd8e8; margin-bottom: 8px; }
.footer .brand-badge { box-shadow: none; }

@media (max-width: 940px) {
  .topbar-inner { flex-wrap: wrap; padding: 14px 0; }
  .menu-btn {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding-top: 10px;
  }
  .nav.open { display: flex; }
  .call-link { display: none; }
  .hero-grid, .split-grid, .split-grid.reverse, .intake-grid { grid-template-columns: 1fr; }
  .hero { padding: 58px 0; }
  .trust-row, .cards.three, .cards.four, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .form-grid, .specialty-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .cta-inner { display: block; }
  .cta-inner .btn { margin-top: 20px; width: 100%; }
  .section { padding: 62px 0; }
  h1 { font-size: 40px; }
}
