:root {
  --navy: #17364d;
  --navy-dark: #0f2738;
  --blue: #2c617d;
  --accent: #b86f2e;
  --accent-dark: #965723;
  --ink: #1e2b33;
  --muted: #5b6870;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --line: #d9dedf;
  --soft: #edf2f3;
  --shadow: 0 18px 50px rgba(15, 39, 56, 0.10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--navy-dark); }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { color: var(--navy-dark); line-height: 1.12; margin-top: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 4.6vw, 3.45rem); }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }
ul { padding-left: 1.2rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow-text { max-width: 760px; }
.section { padding: 96px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy-dark); color: #e9f0f2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow {
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--accent-dark);
}
.eyebrow.light { color: #f1b77c; }
.large-copy { font-size: 1.18rem; color: #34464f; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(217,222,223,.75);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-dark); text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: var(--navy); color: #fff;
  font-weight: 900; font-size: 1.2rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.08rem; letter-spacing: .01em; }
.brand-text span { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; }
.primary-nav a:hover { color: var(--accent-dark); }
.primary-nav .nav-cta { background: var(--navy); color: #fff; padding: 11px 16px; border-radius: 10px; }
.primary-nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--navy-dark); margin: 5px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  background:
    radial-gradient(circle at 82% 12%, rgba(184,111,46,.14), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f6f8f7 60%, #edf3f3 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 580px; height: 580px;
  border: 1px solid rgba(44,97,125,.12);
  border-radius: 50%;
  right: -280px; bottom: -330px;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 64px; align-items: center; }
.hero-lead { font-size: clamp(1.12rem, 2vw, 1.36rem); color: #3c4f5a; max-width: 800px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 48px; padding: 12px 20px; border-radius: 11px;
  text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--navy-dark); border: 1px solid #bcc9ce; }
.button.full { width: 100%; }
.microcopy { color: var(--muted); font-size: .9rem; }
.hero-panel {
  position: relative; z-index: 2;
  background: var(--navy-dark); color: #ecf2f4; padding: 34px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-kicker { color: #c4d2d8; font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.panel-question { font-size: 1.55rem; color: #fff; font-weight: 800; line-height: 1.25; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 28px; margin: 12px 0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #e4a061; font-weight: 900;
}

.trust-strip { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.13); }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 1.05rem; }
.trust-grid span { font-size: .86rem; color: #c7d4da; margin-top: 3px; }

.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading.narrow { max-width: 650px; }
.section-heading > p:last-child { font-size: 1.08rem; color: var(--muted); }

.card-grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,39,56,.045);
}
.card.span-two { grid-column: 1 / -1; }
.card-number { display: inline-block; color: var(--accent-dark); font-weight: 900; margin-bottom: 28px; letter-spacing: .08em; }
.card p { color: var(--muted); }
.card li { margin: 8px 0; }

.assessment-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 72px; align-items: start; }
.price-card {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid #d7d6cf;
  box-shadow: var(--shadow);
}
.price-label { color: var(--muted); font-weight: 750; }
.price { color: var(--navy-dark); font-size: 4rem; line-height: 1; font-weight: 900; margin: 10px 0 18px; letter-spacing: -.06em; }
.check-list.compact { margin: 20px 0; }
.check-list.compact li { margin: 9px 0; }
.fine-print { font-size: .82rem; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.steps article {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.steps article > span {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft); color: var(--navy);
  font-weight: 900;
}
.steps h3 { margin-bottom: 7px; }
.steps p { color: var(--muted); margin-bottom: 0; }

.about-grid, .location-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.about-copy { font-size: 1.07rem; color: #d2dfe4; }
.two-col { display: grid; grid-template-columns: 1fr .8fr; gap: 72px; align-items: start; }
.boundary-card {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
}
.boundary-card h3 { margin-bottom: 7px; }
.boundary-card p + h3 { margin-top: 26px; }

.location { background: var(--soft); }
.location-grid p:last-child { font-size: 1.08rem; color: #455761; }

.contact-section { background: linear-gradient(135deg, #f8f6f1, #eef3f3); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 72px; align-items: center; }
.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

.site-footer { background: #0b1d29; color: #becbd1; padding: 44px 0; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 40px; }
.footer-brand { color: #fff; font-weight: 850; font-size: 1rem; }
.site-footer a { display: block; color: #d6e1e5; text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-meta { display: flex; flex-direction: column; gap: 7px; }

.legal-hero { background: var(--paper); padding: 90px 0 50px; }
.legal-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.legal-copy h2 { font-size: 1.55rem; margin-top: 42px; }
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); padding: 50px 0; }
.error-brand { margin-bottom: 70px; }

@media (max-width: 900px) {
  .section { padding: 74px 0; }
  .hero { padding: 78px 0; }
  .hero-grid, .assessment-grid, .about-grid, .two-col, .contact-grid, .location-grid { grid-template-columns: 1fr; gap: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .card.span-two { grid-column: auto; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:first-child { padding-left: 24px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .nav-wrap { min-height: 70px; }
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 15px; right: 15px; top: 72px;
    padding: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav.static-nav { display: flex; position: static; padding: 0; flex-direction: row; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: 11px; }
  .primary-nav .nav-cta { text-align: center; margin-top: 4px; }
  .hero-panel { padding: 28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); padding: 20px 0; }
  .trust-grid div:first-child { padding-left: 0; }
  .trust-grid div:last-child { border-bottom: 0; }
  .card, .price-card, .contact-card, .boundary-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 3px solid #f0a15c; outline-offset: 3px; }
