/* =====================================================================
   Priscimos Enterprise Solutions LLC (DBA PEG Solutions)
   priscimosenterprise.net
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Overpass";
  src: url("../fonts/overpass-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0E1B45;
  --navy-deep: #0A1538;
  --royal: #1D55D0;
  --royal-deep: #1644AA;
  --royal-tint: #EAF0FC;
  --sky: #5FAEF3;
  --crimson: #B4233C;
  --paper: #F3F6FB;
  --line: #DCE3F0;
  --field: #C6D1E6;
  --ink: #0E1B45;
  --ink-2: #44507A;
  --ink-3: #66729A;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 78px;
  --shadow: 0 28px 56px -36px rgba(14, 27, 69, 0.45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--royal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--royal-deep); }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--navy); }
h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
  text-wrap: balance;
}
h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 6vw, 80px); }
.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.ic { width: 1.25em; height: 1.25em; flex: none; stroke-width: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1.1 var(--sans);
  padding: 15px 22px 13px;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn .ic { width: 20px; height: 20px; margin-top: -2px; }
.btn-lg { font-size: 17px; padding: 18px 26px 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--royal-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--field); }
.btn-outline:hover { border-color: var(--royal); color: var(--royal); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(14, 27, 69, .55); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 50px; width: auto; }
.primary-nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li:not(.nav-extra) > a,
.sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 16px/1 var(--sans);
  color: var(--navy);
  padding: 12px 12px 10px;
  border-radius: 8px;
  border: 0; background: none; cursor: pointer;
  text-decoration: none;
}
.nav-menu > li:not(.nav-extra) > a:hover, .sub-toggle:hover { background: var(--paper); color: var(--royal); }
.nav-menu > li:not(.nav-extra) > a.is-current { color: var(--royal); box-shadow: inset 0 -2px 0 var(--royal); border-radius: 0; }
.ic-chev { width: 16px; height: 16px; margin-top: -2px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ic-chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: -8px; width: 330px;
  list-style: none; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.sub-menu a { display: grid; gap: 2px; padding: 12px 14px 10px; border-radius: 10px; text-decoration: none; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--paper); }
.sub-title { font-weight: 700; color: var(--navy); }
.sub-hint { font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.header-phone .ic { color: var(--royal); width: 19px; height: 19px; margin-top: -2px; }
.header-phone:hover { color: var(--royal); }
.nav-toggle { display: none; }

@media (hover: hover) and (min-width: 1100px) {
  .has-sub:hover > .sub-menu { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(72px, 8vw, 112px); overflow-x: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-copy { container-type: inline-size; min-width: 0; }
.hero-kicker { font-weight: 700; font-size: 17px; color: var(--royal); margin: 0; }
.hero-title {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 88px);
  font-size: clamp(40px, 13.2cqi, 96px);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--navy);
  padding-left: 1em;
  margin: 0.62em 0 1.02em;
}
.hero-title .line { display: block; position: relative; }
.hero-swoosh {
  position: absolute;
  left: -0.1em; top: -0.7em;
  width: 7.6em; height: 4.7em;
  overflow: visible;
  pointer-events: none;
}
.hero-lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cred-row { display: flex; flex-wrap: wrap; gap: 14px 22px; list-style: none; margin-top: 34px; }
.cred-row li { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--navy); }
.cred-row li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.cred-row .ic { color: var(--royal); width: 21px; height: 21px; margin-top: -2px; }

/* Chain-of-custody clipboard */
.custody {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 30px 26px;
  box-shadow: var(--shadow);
}
.custody::before {
  content: ""; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 9px; background: var(--navy);
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .12);
}
.custody::after {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 8px; border-radius: 6px; background: #fff; opacity: .9;
}
.custody-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.custody-head h2 { font-size: 30px; margin: 0 0 4px; }
.custody-head p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.custody-head img { width: 44px; height: 44px; flex: none; }
.custody-steps { position: relative; list-style: none; margin: 8px 0 0; }
.custody-steps::before {
  content: ""; position: absolute; left: 15px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(var(--royal), #4646A6 60%, var(--crimson));
  transform-origin: top;
}
.custody-steps li {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 13px 0 11px; font-weight: 700; font-size: 17px;
  border-bottom: 1px dashed var(--line);
}
.custody-steps li:last-child { border-bottom: 0; }
.tick {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 50%; background: var(--royal); color: #fff;
  box-shadow: 0 0 0 4px #fff;
}
.custody-steps li:last-child .tick { background: var(--crimson); }
.tick .ic { width: 17px; height: 17px; stroke-width: 3; }
.custody-sign { display: flex; align-items: flex-end; gap: 12px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.custody-sign i { flex: 1; height: 26px; border-bottom: 1.5px solid var(--navy); }

/* One orchestrated entrance: the swoosh sweeps in, then the custody steps tick off */
@media (prefers-reduced-motion: no-preference) {
  .hero-swoosh { animation: sweep-in 1.1s cubic-bezier(.22, .7, .2, 1) .1s both; }
  .custody-steps::before { animation: draw-down .9s ease-out .7s both; }
  .custody-steps .tick { animation: tick-in .4s cubic-bezier(.3, 1.4, .5, 1) both; }
  .custody-steps li:nth-child(1) .tick { animation-delay: .75s; }
  .custody-steps li:nth-child(2) .tick { animation-delay: .95s; }
  .custody-steps li:nth-child(3) .tick { animation-delay: 1.15s; }
  .custody-steps li:nth-child(4) .tick { animation-delay: 1.35s; }
}
@keyframes sweep-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tick-in { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Section heading block ---------- */
.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 56px; align-items: end;
  margin-bottom: clamp(36px, 4vw, 52px);
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0 0 6px; color: var(--ink-2); font-size: 19px; max-width: 46ch; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
}
.svc h3 { font-size: clamp(30px, 2.6vw, 36px); }
.svc p { margin: 0; color: var(--ink-2); }
.svc-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--royal-tint); color: var(--royal); }
.svc-icon .ic { width: 27px; height: 27px; }
.svc-medical { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-medical h3 { color: #fff; }
.svc-medical p { color: #C9D3EE; font-size: 19px; }
.svc-medical .svc-icon { background: rgba(95, 174, 243, .14); color: var(--sky); }
.svc-custom { background: var(--royal-tint); border-color: #D4E0F8; }
.svc-custom .svc-icon { background: #fff; }
.svc-link {
  margin-top: auto; padding-top: 10px;
  font-weight: 700; color: var(--royal);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.svc-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc:hover { border-color: var(--royal); }
.svc-medical .svc-link { color: #fff; text-decoration-color: var(--sky); }
.svc-medical:hover { border-color: var(--sky); }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; line-height: 1.45; }
.ticks .ic { width: 19px; height: 19px; color: var(--royal); margin-top: 2px; stroke-width: 2.5; }
.ticks-2 { grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.svc-medical .ticks { margin: 10px 0 4px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.svc-medical .ticks li { color: #fff; }
.svc-medical .ticks .ic { color: var(--sky); }
.svc-medical .svc-for { font-size: 16.5px; color: #AFBCE0; margin-top: 8px; }
.svc-creds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.svc-creds li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 7px; border-radius: 999px;
  background: rgba(95, 174, 243, .12); color: #fff; font-weight: 700; font-size: 14.5px;
}
.svc-creds .ic { width: 17px; height: 17px; color: var(--sky); margin-top: -2px; }

/* Steps: a dashed "road" joins the stops */
.steps-wrap { margin-top: clamp(56px, 6vw, 80px); }
.steps-title { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 30px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; }
.steps::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: 24%;
  border-top: 2px dashed #AFC0E2;
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: #fff; border: 2px solid var(--royal);
  color: var(--royal); font-weight: 800; font-size: 18px; line-height: 1; padding-top: 2px;
}
.step:last-child .step-num { background: var(--royal); color: #fff; }
.step h4 { font: 700 19px/1.3 var(--sans); margin: 18px 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.services .step-num { box-shadow: 0 0 0 6px var(--paper); }
.assure .step-num { box-shadow: 0 0 0 6px #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-copy p { max-width: 62ch; color: var(--ink-2); }
.about-copy p:first-of-type { font-size: 20px; color: var(--ink); }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; color: var(--royal) !important; margin-top: 1.2em; }
.about-side { padding-top: 10px; }
.pull { margin: 0; padding-left: 28px; border-left: 4px solid var(--royal); border-image: linear-gradient(var(--royal), #4646A6 55%, var(--crimson)) 1; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.22; color: var(--navy); margin: 0; }
.facts { margin: 44px 0 0; }
.facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0 12px; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 15px; color: var(--ink-3); padding-top: 1px; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.45; }

/* ---------- Difference (navy band) ---------- */
.difference { background: var(--navy); color: #fff; }
.difference-head { max-width: 880px; }
.difference-q { font-weight: 700; font-size: 18px; color: var(--sky); margin-bottom: 14px; }
.difference h2 { color: #fff; }
.statement { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: #D5DEF6; margin: 22px 0 0; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .16); }
.creds li { padding: 36px 32px 0 0; }
.creds li + li { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .16); }
.cred-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid rgba(95, 174, 243, .55); color: var(--sky); }
.cred-icon .ic { width: 27px; height: 27px; }
.creds h3 { font: 700 21px/1.3 var(--sans); color: #fff; margin: 22px 0 8px; }
.creds p { margin: 0; color: #B8C4E6; font-size: 17px; }

/* ---------- Coverage ---------- */
.cov-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.cov-kicker { font-weight: 700; font-size: 17px; color: var(--royal); margin-bottom: 10px; }
.cov-copy > p { color: var(--ink-2); }
.county-heading { font: 700 16px/1.3 var(--sans); color: var(--navy); margin: 34px 0 10px; }
.county-list { list-style: none; columns: 3; column-gap: 26px; }
.county-list li {
  break-inside: avoid; padding: 8px 0 6px; font-size: 16.5px;
  border-bottom: 1px solid var(--line); transition: color .15s;
}
.county-list li.is-active { color: var(--royal); font-weight: 700; }
.cov-note { display: flex; gap: 14px; align-items: flex-start; margin: 30px 0 0; padding: 18px 20px 16px; border-radius: 14px; background: var(--royal-tint); color: var(--navy); font-weight: 600; }
.cov-note .ic { color: var(--royal); margin-top: 1px; }
.cov-map { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.covmap { width: 100%; height: auto; background: var(--paper); border-radius: 24px; }
.covmap-ctx path { fill: #E3E9F3; stroke: #fff; stroke-width: 1.2; }
.covmap-served .county { fill: #BCD0F5; stroke: #fff; stroke-width: 1.6; transition: fill .15s; }
.covmap-served .county:hover, .covmap-served .county.is-active { fill: var(--royal); }
.covmap-labels text { font: 700 14.5px var(--sans); fill: #14245C; text-anchor: middle; pointer-events: none; }
.covmap-labels text.is-active { fill: #fff; }
.covmap-home .pulse { fill: var(--crimson); opacity: .2; }
.covmap-home .ring { fill: #fff; }
.covmap-home .dot { fill: var(--crimson); }
.covmap-home .tag rect { fill: var(--navy); }
.covmap-home .tag text { font: 700 13px var(--sans); fill: #fff; }
.cov-locator {
  position: absolute; left: 18px; bottom: 58px; width: 128px;
  padding: 10px 10px 8px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -18px rgba(14, 27, 69, .5);
}
.cov-locator span { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.locator .tx { fill: #E3E9F3; stroke: #B6C3DD; stroke-width: 1.5; }
.locator .region { fill: var(--royal); }
.locator .dot { fill: var(--crimson); }
.cov-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ""; width: 16px; height: 16px; border-radius: 4px; }
.lg-served::before { background: #BCD0F5; }
.lg-home::before { border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(180, 35, 60, .25); width: 12px; height: 12px; margin-inline: 2px; }

/* ---------- Quote / contact ---------- */
.quote { background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.quote-copy > p { color: var(--ink-2); max-width: 44ch; }
@media (min-width: 900px) { .quote-copy { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact-list { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.contact-list a, .contact-static {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  color: var(--navy); text-decoration: none; font-weight: 600; line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-list a:hover { border-color: var(--royal); color: var(--royal); }
.contact-list small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
.contact-list .ic { width: 24px; height: 24px; color: var(--royal); }
.contact-phone > span { font-size: 24px; font-weight: 800; }

.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.span-2 { grid-column: 1 / -1; }
.field { min-width: 0; }
.field > label, .choices legend { display: block; font-weight: 700; font-size: 15.5px; margin-bottom: 8px; color: var(--navy); }
.opt { font-weight: 500; font-size: 13.5px; color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font-size: 17px; line-height: 1.4;
  padding: 13px 14px 11px; border: 1.5px solid var(--field); border-radius: 10px;
  background: #fff; color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(29, 85, 208, .16); }
.field [aria-invalid="true"] { border-color: var(--crimson); }
.field-error { display: block; margin-top: 7px; font-size: 14.5px; font-weight: 700; color: var(--crimson); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select-chev { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choices legend { width: 100%; padding: 0; }
.choice {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 10px 16px 8px; border: 1.5px solid var(--field); border-radius: 999px;
  font-weight: 600; font-size: 15.5px; transition: border-color .15s, background-color .15s;
}
.choice input { accent-color: var(--royal); width: 17px; height: 17px; margin: 2px 0 0; }
.choice:has(input:checked) { border-color: var(--royal); background: var(--royal-tint); color: var(--royal); }
.choice:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.form-note .ic { width: 18px; height: 18px; color: var(--crimson); margin-top: 1px; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px 12px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.5; }
.form-status.is-error { background: #FBEAED; color: #8E1A2F; }
.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.form-success .ok-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--royal-tint); color: var(--royal); }
.form-success .ok-mark .ic { width: 32px; height: 32px; }
.form-success h3 { font-size: 34px; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); max-width: 40ch; margin-inline: auto; }

/* ---------- Service pages ---------- */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 80px); align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 26px; font-size: 15px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #A6B2CD; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--royal); text-decoration: underline; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04;
  letter-spacing: -0.012em; text-wrap: balance; max-width: 15ch;
}
.page-hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 54ch; margin: 24px 0 32px; }
.glance { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.glance-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--navy); color: var(--sky); margin-bottom: 18px; }
.glance-icon .ic { width: 27px; height: 27px; }
.glance h2 { font-size: 28px; margin-bottom: 10px; }
.glance dl { margin: 0; }
.glance dl div { padding: 12px 0 10px; border-top: 1px solid var(--line); }
.glance dt { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.glance dd { margin: 2px 0 0; font-size: 16.5px; line-height: 1.45; }

.carry { background: var(--paper); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; list-style: none; margin-top: 36px; }
.item { padding: 28px 0 30px; border-top: 1px solid #CBD6EA; }
.item > .ic { width: 30px; height: 30px; color: var(--royal); margin-bottom: 16px; }
.item h3 { font: 700 19px/1.3 var(--sans); margin-bottom: 6px; }
.item p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.who {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 24px 48px; align-items: start;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 3.4vw, 44px);
  border-radius: 22px; background: var(--navy); color: #fff;
}
.who h2 { color: #fff; font-size: clamp(30px, 3vw, 40px); margin: 0; }
.who .ticks li { color: #fff; }
.who .ticks .ic { color: var(--sky); }
.assure-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin-top: 36px; }
.assure-list li > .ic { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--royal-tint); color: var(--royal); margin-bottom: 18px; }
.assure-list h3 { font: 700 19px/1.3 var(--sans); margin-bottom: 6px; }
.assure-list p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.cov-strip { background: var(--navy); color: #fff; }
.cov-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; padding-block: 26px 24px; }
.cov-strip p { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 600; }
.cov-strip .ic { color: var(--sky); margin-top: 1px; }
.cov-strip a { color: #fff; font-weight: 700; text-decoration-color: var(--sky); text-decoration-thickness: 2px; }
.others h2 { font-size: clamp(28px, 3vw, 36px); }
.others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.other-svc { display: grid; gap: 4px; padding: 26px 28px 24px; border: 1px solid var(--line); border-radius: 20px; color: var(--navy); text-decoration: none; transition: border-color .15s; }
.other-svc:hover { border-color: var(--royal); color: var(--navy); }
.other-label { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.other-hint { color: var(--ink-3); font-size: 16px; }

/* ---------- Legal + plain pages ---------- */
.prose { max-width: 780px; }
.prose h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 58px); line-height: 1.05; }
.prose .meta { color: var(--ink-3); font-weight: 600; margin: 10px 0 32px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 1.6em 0 .4em; }
.prose p { color: var(--ink-2); }
.plain { min-height: 56vh; display: grid; align-items: center; }
.plain-inner { max-width: 680px; text-align: center; }
.plain-inner .hero-actions { justify-content: center; }
.plain-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); color: var(--royal); margin-bottom: 22px; }
.plain-icon.ok { background: var(--royal-tint); }
.plain-icon .ic { width: 34px; height: 34px; }
.plain h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin-bottom: 16px; }
.plain p { color: var(--ink-2); font-size: 19px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #BCC7E6; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin: 22px 0; max-width: 34ch; font-size: 16.5px; }
.footer-creds { list-style: none; display: grid; gap: 9px; }
.footer-creds li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #fff; }
.footer-creds .ic { color: var(--sky); width: 19px; height: 19px; margin-top: -2px; }
.footer-col h2 { font: 700 15px/1.3 var(--sans); color: #fff; margin: 4px 0 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #BCC7E6; text-decoration: none; font-size: 16.5px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: 11px; font-size: 16.5px; line-height: 1.45; overflow-wrap: anywhere; }
.footer-contact .ic { color: var(--sky); width: 19px; height: 19px; margin-top: 2px; }
.footer-legal {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px); padding-block: 24px 26px;
  font-size: 14.5px; color: #8E9BC2;
}
.footer-legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-legal p { margin: 0; }
.footer-legal a { color: #BCC7E6; }

/* ---------- Mobile quick-contact bar ---------- */
.action-bar { display: none; }


/* ---------- Top bar ---------- */
.top-bar { background: var(--navy); color: #C9D3EE; font-size: 14.5px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; padding-block: 8px 6px; }
.top-bar p { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.top-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(95, 174, 243, .25); flex: none; margin-top: -2px; }
.top-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.top-bar a:hover { color: var(--sky); }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-list { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; padding: 26px 18px 22px; }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list li:first-child { padding-left: 0; }
.trust-list .ic { width: 26px; height: 26px; color: var(--royal); margin-top: 1px; }
.trust-list span { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.trust-list b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 2px; }

/* ---------- Difference pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin-top: clamp(40px, 5vw, 56px); }
.pillars li { padding: 26px 24px 24px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pillars .ic { width: 28px; height: 28px; color: var(--sky); }
.pillars h3 { font: 700 19px/1.3 var(--sans); color: #fff; margin: 16px 0 6px; }
.pillars p { margin: 0; color: #B8C4E6; font-size: 16px; line-height: 1.5; }

/* ---------- Fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.fleet-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: linear-gradient(140deg, var(--navy) 0%, #1B2F7A 55%, #4646A6 100%); }
.fleet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fleet-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #fff; }
.fleet-fallback .ic { width: 96px; height: 96px; stroke-width: 1.3; color: var(--sky); }
.fleet-fallback span { font-family: var(--serif); font-style: italic; font-size: 28px; }
.fleet-copy > p { color: var(--ink-2); }
.fleet-copy .ticks { margin: 22px 0 32px; }

/* ---------- Closing call to action ---------- */
.cta-band { background: var(--royal); color: #fff; background-image: linear-gradient(110deg, var(--royal) 0%, #2B4FC0 55%, #4646A6 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 10px; max-width: 22ch; }
.cta-band p { margin: 0; color: #DCE5FA; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--royal-tint); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

@media (max-width: 1099px) {
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .trust-list li:nth-child(4) { border-left: 0; padding-left: 0; }
  .trust-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .fleet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .top-extra { display: none; }
  .top-bar { font-size: 13.5px; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { padding: 18px 12px 16px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); }
  .trust-list li:nth-child(-n+2) { border-top: 0; }
  .trust-list li:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--line) !important; }
  .pillars { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1099px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .nav-toggle {
    display: inline-grid; place-items: center; order: 3;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  }
  .nav-toggle .ic { width: 24px; height: 24px; }
  .nav-toggle-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }
  .header-actions { order: 2; margin-left: auto; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; margin: 0;
    background: #fff; border-top: 1px solid var(--line);
    padding: 8px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li:not(.nav-extra) > a, .sub-toggle {
    width: 100%; justify-content: space-between;
    font-size: 21px; padding: 18px 2px 16px; border-radius: 0; border-bottom: 1px solid var(--line);
  }
  .nav-menu > li:not(.nav-extra) > a:hover, .sub-toggle:hover { background: none; }
  .nav-menu > li:not(.nav-extra) > a.is-current { box-shadow: none; }
  .sub-menu { position: static; width: auto; border: 0; box-shadow: none; padding: 6px 0 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub-menu::before { display: none; }
  .nav-extra { display: block; margin-top: 22px; }
  .nav-extra + .nav-extra { margin-top: 14px; }
  .nav-phone { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); text-decoration: none; padding: 14px; border: 1.5px solid var(--field); border-radius: 10px; }
  .nav-phone .ic { color: var(--royal); }

  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
  .cov-grid { grid-template-columns: 1fr; }
  .cov-map { position: relative; top: 0; max-width: 680px; }
  .assure-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 959px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .custody, .glance { max-width: 560px; }
}

@media (max-width: 899px) {
  .section-head, .about-grid, .quote-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-medical { grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .steps::before { display: none; }
  .creds { grid-template-columns: 1fr; border-top: 0; }
  .creds li, .creds li + li { padding: 28px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; grid-template-columns: 58px 1fr; gap: 0 20px; }
  .creds li .cred-icon { grid-row: span 2; }
  .creds h3 { margin-top: 4px; }
  .items { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 719px) {
  body { font-size: 17px; }
  .footer-legal { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border-radius: 12px; background: var(--royal-tint); }
  .brand img { height: 40px; }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -24px rgba(14, 27, 69, .6);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: 12px; font-weight: 800; font-size: 17px; text-decoration: none; padding-top: 2px;
  }
  .action-bar .ic { width: 20px; height: 20px; margin-top: -2px; }
  .action-call { border: 1.5px solid var(--field); color: var(--navy); }
  .action-quote { background: var(--royal); color: #fff; }
  .action-quote:hover { color: #fff; }
  body.nav-open .action-bar { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cred-row { flex-direction: column; gap: 10px; }
  .cred-row li + li { padding-left: 0; border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .county-list { columns: 2; }
  .covmap-labels { display: none; }
  .cov-locator { width: 92px; left: 10px; bottom: 50px; padding: 8px 8px 6px; }
  .cov-locator span { font-size: 10px; }
  .ticks-2 { grid-template-columns: 1fr; }
  .others-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 559px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; padding-bottom: 26px; }
  .step .step-num { grid-row: span 2; }
  .step h4 { margin: 10px 0 4px; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; border-left: 2px dashed #AFC0E2; }
  .items, .assure-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-contact { grid-column: 1 / -1; }
  .custody { padding: 34px 22px 22px; }
}

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

@media print {
  .site-header, .action-bar, .quote-form, .nav-toggle { display: none !important; }
  body { padding: 0; }
}
