/* =========================================================
   Dallas County Protection and Patrol Services
   Brand: navy #102544 · gold #FFC428 · Oswald / Inter
   ========================================================= */

:root {
  /* Brand */
  --navy-950: #071427;
  --navy-900: #0B1B33;
  --navy-800: #102544;   /* primary brand navy */
  --navy-700: #1A355E;
  --gold-500: #FFC428;   /* primary brand gold */
  --gold-600: #F0B000;
  --gold-ink: #7A5900;   /* gold-family text that passes 4.5:1 on white */

  /* Neutrals */
  --ink: #0F1B2D;
  --body: #3D4A5C;
  --muted-on-dark: #B9C4D4;
  --surface: #F4F6F9;
  --surface-2: #E9EDF3;
  --line: #D9E0E9;
  --white: #FFFFFF;
  --error: #B42318;
  --success: #067647;

  /* Type */
  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16, 37, 68, .06), 0 8px 24px rgba(16, 37, 68, .08);
  --shadow-lift: 0 2px 4px rgba(16, 37, 68, .08), 0 16px 40px rgba(16, 37, 68, .14);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 150ms;
  --dur-med: 250ms;

  --header-h: 84px;
  --container: 1200px;

  /* z-index scale */
  --z-header: 40;
  --z-callbar: 30;
  --z-skip: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; font-weight: 600; }
p { margin: 0 0 var(--s-4); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.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: var(--s-4); top: -100px; z-index: var(--z-skip);
  background: var(--gold-500); color: var(--navy-900); padding: var(--s-3) var(--s-4);
  font-weight: 700; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible,
.services :focus-visible,
.careers :focus-visible,
.about :focus-visible { outline-color: var(--navy-800); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 28px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 14px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-600); box-shadow: 0 6px 18px rgba(255, 196, 40, .35); }

.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }

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

.btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold-500); border-radius: 2px; }
.eyebrow--gold { color: var(--gold-500); }

.section { padding-block: var(--s-8); }
@media (min-width: 1024px) { .section { padding-block: var(--s-9); } }

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: var(--s-4);
  text-wrap: balance;
}
.section-title--light { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto var(--s-7); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-lead { font-size: 18px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--muted-on-dark); font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 44px; }
.topbar__text { margin: 0; display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold-500); }
.topbar__sep { opacity: .4; }
.topbar__right { display: flex; align-items: center; gap: var(--s-4); }
.topbar__license { color: var(--gold-500); font-weight: 700; letter-spacing: .04em; }
.topbar__social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; }
.topbar__social .icon { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .topbar__label, .topbar__sep, .topbar__email, .topbar__social { display: none; }
  .topbar { font-size: 13px; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-med) var(--ease-out);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 37, 68, .10); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand__logo { width: 56px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--navy-800); text-transform: uppercase; letter-spacing: .02em; }
.brand__sub { font-size: 11.5px; font-weight: 700; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .12em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav__list { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-800); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; padding: 10px 24px; font-size: 14px; }
.nav__phone-mobile { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: var(--navy-800); color: var(--white); border: 0; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1099px) {
  :root { --header-h: 72px; }
  .brand__logo { width: 46px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    padding: var(--s-4) var(--s-4) var(--s-5);
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(16,37,68,.12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: flex; min-height: 52px; font-size: 16px; border-bottom: 1px solid var(--surface-2); }
  .nav__link::after { display: none; }
  .nav__cta { min-height: 52px; }
  .nav__phone-mobile {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 52px; border: 2px solid var(--navy-800); border-radius: var(--radius-pill);
    color: var(--navy-800); font-weight: 700; text-decoration: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100svh - var(--header-h) - 44px));
  display: flex; align-items: center;
  padding-block: var(--s-8);
  background: var(--navy-900);
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,20,39,.94) 0%, rgba(11,27,51,.82) 40%, rgba(16,37,68,.35) 75%, rgba(16,37,68,.15) 100%),
    url("hero.jpg") center right / cover no-repeat;
}
.hero__inner { position: relative; }
.hero__title {
  color: var(--white);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: 1.02;
  max-width: 11ch; margin-bottom: var(--s-5);
  text-wrap: balance;
}
.hero .eyebrow { font-size: 15px; }
.hero__lead { color: #DCE3EE; font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero__trust {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--muted-on-dark); font-size: 14px; font-weight: 500; margin: 0;
  padding: var(--s-2) var(--s-4); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-pill);
  background: rgba(7,20,39,.45);
}
.hero__trust .icon { color: var(--gold-500); }
@media (max-width: 767px) {
  .hero__media {
    background:
      linear-gradient(180deg, rgba(7,20,39,.78) 0%, rgba(11,27,51,.9) 100%),
      url("hero.jpg") 70% center / cover no-repeat;
  }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { font-size: 13px; border-radius: var(--radius); }
}

/* ---------- Feature strip ---------- */
.features { background: var(--surface); }
.features__grid { display: grid; grid-template-columns: 1fr; max-width: 1440px; margin-inline: auto; }
@media (min-width: 640px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features__grid { grid-template-columns: repeat(4, 1fr); } }
.feature {
  display: flex; gap: var(--s-4); padding: var(--s-6) var(--s-5);
  border-top: 4px solid transparent;
  transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.feature:nth-child(even) { background: var(--surface-2); }
.feature:hover { background: var(--white); border-top-color: var(--gold-500); }
@media (min-width: 1100px) { .feature { padding: var(--s-7) var(--s-6); } }
.feature__icon {
  width: 44px; height: 44px; flex-shrink: 0; color: var(--navy-800);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.feature__title { font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-2); }
.feature p { font-size: 15px; margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1.05fr; gap: var(--s-8); } }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; object-position: center top; border-radius: var(--radius); }
.about__media::before {
  content: ""; position: absolute; inset: 24px -16px -16px 24px; z-index: -1;
  border: 3px solid var(--gold-500); border-radius: var(--radius);
}
.about { position: relative; isolation: isolate; }
.about__badge {
  position: absolute; left: var(--s-5); bottom: var(--s-5);
  display: flex; flex-direction: column;
  background: var(--navy-800); color: var(--white);
  padding: var(--s-4) var(--s-5); border-radius: var(--radius); border-left: 5px solid var(--gold-500);
  box-shadow: var(--shadow-lift);
}
.about__badge-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-on-dark); font-weight: 600; }
.about__badge-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--gold-500); letter-spacing: .04em; }
.about__content p:not(.eyebrow) { font-size: 17px; max-width: 62ch; }
.checklist { display: grid; gap: var(--s-3); margin: var(--s-5) 0 var(--s-6); }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; color: var(--ink); }
.checklist .icon {
  width: 28px; height: 28px; padding: 5px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); stroke-width: 3;
}

/* ---------- Services ---------- */
.services { background: var(--surface); }
.services__grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-6);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-med) var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 14px; margin-bottom: var(--s-5);
  background: var(--navy-800); color: var(--gold-500);
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-3); }
.service-card p { margin: 0; font-size: 15.5px; }

/* ---------- What sets us apart ---------- */
.apart { background: var(--navy-800); color: var(--muted-on-dark); }
.apart__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .apart__grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); } }
.apart__content > p:not(.eyebrow) { font-size: 17px; color: #D3DBE7; max-width: 62ch; }
.apart__points { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.point { display: flex; gap: var(--s-4); }
.point > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255,196,40,.12); color: var(--gold-500); }
.point h3 { color: var(--white); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-1); }
.point p { margin: 0; font-size: 15.5px; }
.apart__media img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.35); }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin: var(--s-8) 0 0; border-top: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--s-6) var(--s-4) 0; text-align: center; display: flex; flex-direction: column-reverse; gap: var(--s-1); }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); color: var(--gold-500); letter-spacing: .03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat dt { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

/* ---------- Service areas ---------- */
.areas { position: relative; isolation: isolate; overflow: hidden; }
.areas__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,20,39,.15), rgba(7,20,39,.35)),
    url("areas.jpg") center / cover no-repeat;
}
.areas__inner { display: flex; }
.areas__card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: var(--s-6); max-width: 720px;
  border-top: 5px solid var(--gold-500);
}
@media (min-width: 768px) { .areas__card { padding: var(--s-7); } }
.areas__card > p:not(.eyebrow) { font-size: 17px; }
.areas__subhead { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin: var(--s-5) 0 var(--s-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips li {
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--navy-800);
}
.chips--strong li { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.metros { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 560px) { .metros { grid-template-columns: 1fr 1fr; } }
.metro {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4); border-radius: var(--radius);
  background: var(--navy-800); color: var(--white);
  border-left: 4px solid var(--gold-500);
}
.metro .icon { width: 24px; height: 24px; color: var(--gold-500); }
.metro strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.metro__sub { display: block; font-size: 14px; color: var(--muted-on-dark); }
.areas__counties { margin: var(--s-3) 0 0; font-size: 14.5px; }
.areas__note { margin: var(--s-5) 0 0; font-size: 15px; }
.areas__note a { color: var(--navy-800); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold-500); color: var(--navy-900); padding-block: var(--s-7); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.cta-band__title { font-size: clamp(28px, 3.6vw, 40px); text-transform: uppercase; color: var(--navy-900); margin-bottom: var(--s-1); }
.cta-band p { margin: 0; font-size: 17px; font-weight: 500; }
.cta-band .btn--navy:hover { background: var(--navy-950); }
@media (max-width: 639px) { .cta-band .btn { width: 100%; } }

/* ---------- Careers ---------- */
.careers__grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1024px) { .careers__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } }
.careers__content p:not(.eyebrow) { font-size: 17px; max-width: 60ch; }
.careers__img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: center 30%; border-radius: var(--radius); margin-top: var(--s-5); }

/* ---------- Forms ---------- */
.form-card {
  color: var(--body);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5); box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .form-card { padding: var(--s-7); } }
.form-card__title { font-size: 26px; text-transform: uppercase; margin-bottom: var(--s-2); }
.form-card__hint { font-size: 14px; margin-bottom: var(--s-5); }
.form-card__fine { font-size: 13.5px; margin: var(--s-3) 0 0; text-align: center; }
.form-grid { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-size: 16px; color: var(--ink);
  background: var(--white); border: 1.5px solid #B8C3D1; border-radius: 8px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23102544' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(255,196,40,.45);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field input[type="file"] { padding: 10px 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: var(--s-3); padding: 8px 14px; border: 0; border-radius: 6px;
  background: var(--navy-800); color: var(--white); font-weight: 600; cursor: pointer;
}
.field__help { margin: 0; font-size: 13.5px; color: var(--body); }
.field__optional { font-weight: 400; color: var(--body); }
/* Spam trap: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { position: relative; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: var(--s-4) 0 0; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); background: #ECFDF3; border: 1px solid #ABEFC6; padding: var(--s-3) var(--s-4); border-radius: 8px; }
.form-status.is-error { color: var(--error); background: #FEF3F2; border: 1px solid #FECDCA; padding: var(--s-3) var(--s-4); border-radius: 8px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: #D3DBE7; }
.contact__grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: var(--s-8); } }
.contact__info > p:not(.eyebrow) { font-size: 17px; }
.contact-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: var(--gold-500); color: var(--navy-900);
}
.contact-list__label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted-on-dark); margin-bottom: 2px; }
.contact-list a { color: var(--white); font-weight: 600; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-500); text-decoration: underline; }
.contact-list li > span:last-child { color: var(--white); font-size: 17px; }
.contact .form-card :focus-visible { outline-color: var(--navy-800); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--muted-on-dark); padding-top: var(--s-8); font-size: 15px; }
.footer__grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.1fr 1fr 1fr .9fr 1.4fr; } }
.footer__brand img { width: 72px; margin-bottom: var(--s-4); }
.footer__tagline { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; color: var(--white); margin-bottom: var(--s-2); }
.footer__license { color: var(--gold-500); font-weight: 700; letter-spacing: .05em; margin: 0; }
.footer__heading { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: var(--s-4); }
.footer__links { display: grid; gap: 2px; }
.footer__links a, .footer__contact a, .footer__social { color: var(--muted-on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.footer__links a:hover, .footer__contact a:hover, .footer__social:hover { color: var(--gold-500); }
.footer__contact { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.footer__contact li { display: flex; gap: var(--s-3); align-items: flex-start; }
.footer__contact .icon { color: var(--gold-500); margin-top: 8px; }
.footer__contact li > span { padding-top: 6px; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__social { gap: var(--s-2); font-weight: 600; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s-5); font-size: 13.5px; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); justify-content: space-between; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted-on-dark); margin-left: var(--s-2); }
.footer__bottom a:hover { color: var(--gold-500); }
.footer__contact + .footer__links { margin-bottom: var(--s-2); }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 767px) {
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
    display: flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: var(--gold-500); color: var(--navy-900);
    font-weight: 700; text-decoration: none; font-size: 16px;
    box-shadow: 0 -4px 20px rgba(7,20,39,.25);
  }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .service-card:hover { transform: none; }
}

/* =========================================================
   Inner pages (services, industries, locations, legal, 404)
   ========================================================= */
.section--tight { padding-block: var(--s-7); }
@media (min-width: 1024px) { .section--tight { padding-block: var(--s-8); } }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--s-7) var(--s-8);
  background: var(--navy-900);
}
@media (min-width: 1024px) { .page-hero { padding-block: var(--s-8) var(--s-9); } }
.page-hero__media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,20,39,.95) 0%, rgba(11,27,51,.86) 45%, rgba(16,37,68,.55) 80%, rgba(16,37,68,.4) 100%),
    var(--hero-img, url("hero.jpg")) center / cover no-repeat;
}
@media (max-width: 767px) {
  .page-hero__media { background: linear-gradient(180deg, rgba(7,20,39,.85) 0%, rgba(11,27,51,.93) 100%), var(--hero-img, url("hero.jpg")) center / cover no-repeat; }
  .page-hero .hero__actions .btn { flex: 1 1 100%; }
  .page-hero .hero__trust { font-size: 13px; border-radius: var(--radius); }
}
.page-hero__title {
  color: var(--white);
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700; text-transform: uppercase; line-height: 1.05;
  max-width: 20ch; margin-bottom: var(--s-5); text-wrap: balance;
}
.page-hero__lead { color: #DCE3EE; font-size: clamp(17px, 1.5vw, 19px); max-width: 640px; margin-bottom: var(--s-6); }
.page-hero--short .page-hero__lead { margin-bottom: 0; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__title, .page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .hero__actions { justify-content: center; margin-bottom: 0; }
.page-hero__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 14vw, 150px); line-height: 1; color: var(--gold-500); margin-bottom: var(--s-2); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: var(--s-5); font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--muted-on-dark); }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: var(--white); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-500); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold-500); font-weight: 600; }

/* ---------- Intro + at-a-glance ---------- */
.intro__grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1024px) { .intro__grid { grid-template-columns: 1.5fr 1fr; gap: var(--s-8); } }
.prose > p:not(.eyebrow) { font-size: 17px; max-width: 68ch; }
.prose a { color: var(--navy-800); font-weight: 600; }
.glance {
  background: var(--navy-800); color: #D3DBE7;
  border-radius: var(--radius); border-top: 5px solid var(--gold-500);
  padding: var(--s-6); box-shadow: var(--shadow-lift);
}
@media (min-width: 1024px) { .glance { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.glance__title { color: var(--white); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-5); }
.glance__list { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.glance__list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 15.5px; color: var(--white); }
.glance__list .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); stroke-width: 3; }

/* ---------- Linked cards ---------- */
.service-card--link { display: block; text-decoration: none; color: inherit; }
.service-card--link p { margin-bottom: var(--s-4); }
.service-card__more {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink);
}
.service-card--link:hover .service-card__more { color: var(--navy-800); }
.service-card--link:focus-visible { outline-color: var(--navy-800); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-5); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  counter-increment: step; position: relative;
  padding: var(--s-6) var(--s-5) var(--s-5);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1; color: var(--gold-500);
}
.step h3 { color: var(--white); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-2); }
.step p { margin: 0; font-size: 15.5px; }

/* ---------- Compare columns ---------- */
.compare { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: var(--s-6); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); border-top: 4px solid var(--gold-500); }
.compare__col h3 { color: var(--white); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-4); }
.compare__list { display: grid; gap: var(--s-3); }
.compare__list li { display: flex; gap: var(--s-3); align-items: flex-start; color: #D3DBE7; font-size: 16px; }
.compare__list .icon { color: var(--gold-500); margin-top: 3px; stroke-width: 3; }
.compare__note { max-width: 720px; margin: var(--s-6) auto 0; text-align: center; font-size: 16px; color: #D3DBE7; }
.compare__note a { color: var(--gold-500); font-weight: 700; }

/* ---------- Coverage chips ---------- */
.coverage { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) { .coverage { grid-template-columns: 1fr 1.3fr; gap: var(--s-8); } }
.coverage .section-title { font-size: clamp(26px, 3.2vw, 36px); }
.coverage a { color: var(--navy-800); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 860px; margin-inline: auto; display: grid; gap: var(--s-3); }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq__item[open] { border-color: var(--navy-800); box-shadow: var(--shadow-card); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 56px; padding: var(--s-4) var(--s-5);
  font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-color: var(--navy-800); }
.faq__chev { color: var(--navy-800); transition: transform var(--dur-med) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 var(--s-5) var(--s-5); font-size: 16px; max-width: 72ch; }

/* ---------- Related links ---------- */
.related__title { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin-bottom: var(--s-4); }
.related { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related { grid-template-columns: repeat(4, 1fr); } .related--3 { grid-template-columns: repeat(3, 1fr); } }
.related__link {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 64px; padding: var(--s-4); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-500);
  color: var(--navy-800); font-weight: 700; text-decoration: none;
  transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.related__link span { flex: 1; }
.related__link:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.related__link:focus-visible { outline-color: var(--navy-800); }
.related__arrow { color: var(--gold-ink); }

/* ---------- Home: linked metros ---------- */
a.metro { text-decoration: none; transition: background-color var(--dur-fast) var(--ease-out); }
a.metro:hover { background: var(--navy-700); }
a.metro:focus-visible { outline-color: var(--navy-800); }
.metros li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); text-transform: uppercase; margin: var(--s-7) 0 var(--s-4); }
.legal h2:first-of-type { margin-top: var(--s-6); }
.legal h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; margin: var(--s-5) 0 var(--s-2); }
.legal ul { list-style: disc; padding-left: var(--s-5); margin: 0 0 var(--s-4); }
.legal li { margin-bottom: var(--s-2); font-size: 17px; }
.form-card__fine a { color: var(--navy-800); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .related__link:hover { transform: none; }
}
