:root {
  --navy: #062e51;
  --blue: #0c6db2;
  --blue-dark: #095b94;
  --ink: #10283d;
  --muted: #5d6d7b;
  --line: #d8e1e8;
  --mist: #f2f5f7;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(6, 46, 81, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section { padding: 5.5rem 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading h2,
.page-intro h1,
.hero h1 {
  margin: 0;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.section-heading h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-heading p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.section--navy .section-heading h2,
.section--navy .section-heading p { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(6,46,81,.11);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 178px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; }
.desktop-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] { color: var(--blue); }
.nav-phone { white-space: nowrap; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.2rem;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(12,109,178,.28); outline-offset: 3px; }
.button--outline { background: transparent; color: var(--navy); border-color: rgba(6,46,81,.25); }
.button--outline:hover { background: var(--mist); border-color: var(--navy); }
.button--light { background: #fff; color: var(--navy); }
.button--light:hover { background: var(--mist); }

.hero { padding: 4.5rem 0 2.2rem; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); max-width: 820px; }
.hero .lede { margin: 1.4rem 0 0; max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-contact { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); }
.hero-contact a { color: var(--navy); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1.2rem 1.2rem 1.2rem -1.2rem;
  border: 1px solid rgba(12,109,178,.28);
  z-index: -1;
}
.hero-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.hero-caption {
  width: calc(100% - 2rem);
  margin: -2.3rem 1rem 0;
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 1.15rem 1.25rem;
  font-size: .92rem;
}

.proof-strip { padding: 1.4rem 0; border-block: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof-item { padding: .2rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--navy); font-size: .94rem; }
.proof-item span { display: block; margin-top: .1rem; color: var(--muted); font-size: .78rem; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: #fff; padding: 2rem; min-height: 250px; }
.service-card .number { color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 1.15rem 0 .65rem; color: var(--navy); font-size: 1.55rem; line-height: 1.15; }
.service-card p { color: var(--muted); margin: 0; }
.service-card a { display: inline-block; margin-top: 1.2rem; color: var(--navy); font-weight: 800; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.statement { font-size: clamp(1.65rem, 3.5vw, 2.8rem); line-height: 1.22; color: var(--navy); margin: 0; font-weight: 720; letter-spacing: -.025em; }
.body-copy p:first-child { margin-top: 0; }
.body-copy p { color: var(--muted); font-size: 1.04rem; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.process-step { border-top: 3px solid var(--blue); padding-top: 1.2rem; }
.process-step::before { counter-increment: step; content: "0" counter(step); color: var(--blue); font-weight: 800; font-size: .82rem; letter-spacing: .12em; }
.process-step h3 { color: var(--navy); margin: .75rem 0 .5rem; font-size: 1.25rem; }
.process-step p { margin: 0; color: var(--muted); }

.cta-band { padding: 4rem 0; background: var(--navy); color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; }
.cta-band p { margin: .7rem 0 0; color: rgba(255,255,255,.78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.cta-band .button--outline { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .button--outline:hover { background: rgba(255,255,255,.08); }

.page-intro { padding: 4.8rem 0 3.2rem; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 900px; }
.page-intro p { max-width: 760px; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.15rem; }

.service-detail { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2.6rem 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail h2 { margin: 0; color: var(--navy); font-size: 1.55rem; }
.service-detail .detail-copy > p { margin-top: 0; color: var(--muted); font-size: 1.05rem; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.detail-list li { padding-left: 1rem; position: relative; }
.detail-list li::before { content: ""; width: 5px; height: 5px; background: var(--blue); position: absolute; left: 0; top: .65em; }

.credentials { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.25); }
.credential { padding: 1.8rem; border-right: 1px solid rgba(255,255,255,.2); }
.credential:last-child { border-right: 0; }
.credential strong { display: block; font-size: 1.2rem; }
.credential span { color: rgba(255,255,255,.72); font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-card { border-top: 3px solid var(--blue); padding-top: 1.5rem; }
.contact-card h2 { margin: 0 0 1rem; color: var(--navy); font-size: 1.8rem; }
.contact-card p { color: var(--muted); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-list li { margin: .8rem 0; }
.contact-list a { color: var(--navy); font-weight: 800; text-underline-offset: 3px; }

.quote-form { background: var(--mist); padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .38rem; }
.field--full { grid-column: 1 / -1; }
label { color: var(--navy); font-weight: 750; font-size: .92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid #bdcad4;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: .8rem .85rem;
  min-height: 48px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(12,109,178,.18); border-color: var(--blue); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: #041f37; color: #fff; padding: 3.2rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .8fr; gap: 3rem; }
.footer-brand { font-weight: 800; font-size: 1.2rem; }
.footer-copy { color: rgba(255,255,255,.7); max-width: 440px; font-size: .94rem; }
.footer-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #8fc9ef; }
.footer-links { list-style: none; padding: 0; margin: .8rem 0 0; }
.footer-links li { margin: .45rem 0; }
.footer-links a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.58); font-size: .82rem; }
.footer-bottom a { color: inherit; }

.notice { border-left: 4px solid var(--blue); padding: 1rem 1.2rem; background: var(--mist); color: var(--muted); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; color: var(--navy); font-weight: 800; padding: .55rem .7rem; border: 1px solid var(--line); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; right: 0; top: calc(100% + .55rem); width: min(310px, calc(100vw - 2rem)); padding: .55rem; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
  .mobile-menu nav a { display: block; padding: .8rem .75rem; color: var(--navy); font-weight: 750; text-decoration: none; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-visual { max-width: 620px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(even) { border-right: 0; }
  .proof-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .service-detail { grid-template-columns: 1fr; gap: .8rem; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .credential:nth-child(2) { border-right: 0; }
  .credential:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.35rem), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand img { width: 142px; }
  .section { padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 1.5rem; }
  .detail-list, .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .credentials { grid-template-columns: 1fr; }
  .credential { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .credential:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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

/* Cloudflare quote-form states */
.form-status {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border-left: 4px solid var(--blue);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}
.turnstile-wrap { min-height: 65px; }
.cf-turnstile { max-width: 100%; }
@media (max-width: 420px) {
  .turnstile-wrap { overflow-x: auto; }
}
