/* ==========================================================================
   Unlimited Grading & Utility LLC
   Brand: navy #0B2440 (logo wordmark) · forest green #15462A (logo banner)
          steel #B7BDC3 (logo shield) · light stone surfaces
   ========================================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Surfaces — light theme */
  --color-bg: #f6f7f5;
  --color-surface: #ffffff;
  --color-surface-2: #fbfcfb;
  --color-surface-offset: #eceeeb;
  --color-surface-offset-2: #e3e7e4;
  --color-divider: #dde1dd;
  --color-border: #ced4cf;

  /* Text */
  --color-text: #14202c;
  --color-text-muted: #56636e;
  --color-text-faint: #8b959d;
  --color-text-inverse: #f7f9f8;

  /* Brand */
  --navy: #0b2440;
  --navy-deep: #071a30;
  --green: #15462a;
  --green-mid: #1c6038;
  --green-bright: #227a45;
  --steel: #b7bdc3;
  --steel-light: #e6e9ec;

  /* Semantic */
  --color-primary: #15462a;
  --color-primary-hover: #0f3520;
  --color-accent: #0b2440;

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(11, 36, 64, 0.08);
  --shadow-md: 0 4px 14px rgba(11, 36, 64, 0.1);
  --shadow-lg: 0 14px 38px rgba(11, 36, 64, 0.14);

  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1240px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  --bar-h: 46px;
  --nav-h: 62px;
}

/* --------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + var(--nav-h) + 12px);
}

body {
  min-height: 100dvh;
  line-height: 1.62;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}
a {
  color: var(--green-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--navy);
}
h1 {
  font-size: var(--text-2xl);
  text-transform: uppercase;
}
h2 {
  font-size: var(--text-xl);
  text-transform: uppercase;
}
h3 {
  font-size: var(--text-lg);
}
p,
li {
  text-wrap: pretty;
}

a,
button,
input,
select,
textarea {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.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;
}

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

/* --------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.wrap--default {
  max-width: var(--content-wide);
}
.wrap--default > .prose,
.wrap--default > .faq,
.wrap--default > .checks,
.wrap--default > h2,
.wrap--default > .lede,
.wrap--default > .eyebrow {
  max-width: var(--content-default);
}
.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.section--offset {
  background: var(--color-surface-offset);
}
.section--surface {
  background: var(--color-surface);
}
.section--navy {
  background: var(--navy);
  color: var(--color-text-inverse);
}
.section--navy h2,
.section--navy h3 {
  color: #fff;
}
.section--navy p {
  color: #c8d3de;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--steel), transparent);
  max-width: 120px;
}
.section--navy .eyebrow {
  color: #7fc79b;
}
.section--navy .eyebrow::after {
  background: linear-gradient(90deg, #2c4a6b, transparent);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-top: var(--space-4);
}
.section > .wrap > p,
.prose p {
  max-width: 70ch;
}

/* --------------------------------------------------------------- sticky contact bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  border-bottom: 2px solid var(--green);
}
.topbar__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4);
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.topbar__meta {
  display: none;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb3c8;
  font-family: var(--font-display);
  font-weight: 500;
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  justify-content: center;
}
.topbar__call,
.topbar__mail {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  min-height: 34px;
  white-space: nowrap;
}
.topbar__call {
  background: var(--green-bright);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.topbar__call:hover {
  background: #2a9153;
  color: #fff;
}
.topbar__mail {
  color: #cdd9e5;
  border: 1px solid #29466a;
}
.topbar__mail:hover {
  color: #fff;
  border-color: #4c7099;
  background: #10314f;
}
.topbar__icon {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.topbar__mail-text {
  display: none;
}
.topbar__call {
  flex: 1 1 auto;
  justify-content: center;
}
.topbar__mail {
  flex: none;
}

@media (min-width: 700px) {
  .topbar__meta {
    display: block;
  }
  .topbar__links {
    flex: none;
    justify-content: flex-end;
  }
  .topbar__call {
    flex: none;
  }
  .topbar__mail-text {
    display: inline;
  }
}

/* --------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: var(--bar-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.975);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
}
.nav__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-5);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.nav__logo {
  display: block;
  flex: none;
  padding-block: var(--space-2);
}
.nav__logo img {
  height: 40px;
  width: auto;
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  min-height: 40px;
}
.nav__toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.nav__menu {
  display: none;
}
.nav__menu.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 3px solid var(--green);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) var(--space-5) var(--space-6);
  max-height: calc(100dvh - var(--bar-h) - var(--nav-h));
  overflow-y: auto;
}
.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav__list a {
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
}
.nav__list a:hover,
.nav__list a[aria-current='page'] {
  color: var(--green-bright);
}
.nav__sub {
  list-style: none;
  padding-left: var(--space-4);
  border-left: 2px solid var(--steel-light);
  margin: var(--space-2) 0 var(--space-3);
}
.nav__sub a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 0;
}
.nav__inner .nav__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    display: block !important;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    overflow: visible;
    max-height: none;
    background: none;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
  }
  .nav__list > li {
    position: relative;
  }
  .nav__list > li > a {
    border-bottom: 0;
    padding: var(--space-2) var(--space-3);
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
  }
  .nav__list > li > a:hover {
    background: var(--color-surface-offset);
  }
  .nav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 268px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--green);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 160ms;
  }
  .nav__list > li:hover .nav__sub,
  .nav__list > li:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__sub a {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
  }
  .nav__sub a:hover {
    background: var(--color-surface-offset);
    color: var(--navy);
  }
  .nav__inner .nav__cta {
    display: inline-flex;
  }
  .nav__logo img {
    height: 46px;
  }
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  text-align: center;
}
.btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex: none;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--green-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover {
  background: #14395f;
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  border-color: var(--color-border);
  color: var(--navy);
  background: var(--color-surface);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover {
  background: #e8eef4;
  color: var(--navy-deep);
}
.btn--outline-light {
  border-color: #3a5b80;
  color: #dce6f0;
}
.btn--outline-light:hover {
  border-color: #7fc79b;
  color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.btn-row .btn {
  flex: 1 1 220px;
}
@media (min-width: 600px) {
  .btn-row .btn {
    flex: 0 0 auto;
  }
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 26, 48, 0.9) 0%,
    rgba(7, 26, 48, 0.76) 45%,
    rgba(7, 26, 48, 0.88) 100%
  );
}
.hero__inner {
  position: relative;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(var(--space-12), 9vw, var(--space-24)) var(--space-5);
}
.hero__body {
  max-width: 46rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(34, 122, 69, 0.22);
  border: 1px solid #2f7b4d;
  color: #a9e0bf;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  white-space: nowrap;
  line-height: 1;
}
.hero__badge svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: #7fc79b;
}
.hero__sub {
  font-size: var(--text-lg);
  color: #cbd8e4;
  margin-top: var(--space-5);
  max-width: 52ch;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid #1f3c5c;
  list-style: none;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a8bacd;
}
.hero__trust svg {
  width: 16px;
  height: 16px;
  stroke: #7fc79b;
  fill: none;
  stroke-width: 2.5;
  flex: none;
}

/* page header (interior pages) */
.pagehead {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  border-bottom: 4px solid var(--green);
}
.pagehead h1 {
  color: #fff;
}
.pagehead p {
  color: #c3d1de;
  font-size: var(--text-lg);
  margin-top: var(--space-4);
  max-width: 60ch;
}
.crumbs {
  font-size: var(--text-xs);
  color: #8ba3bb;
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}
.crumbs a {
  color: #9fc9b1;
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}
.crumbs span {
  padding-inline: var(--space-2);
  color: #4d6b89;
}

/* --------------------------------------------------------------- answer box (AI/AEO) */
.answer {
  max-width: 84ch;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--green);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.answer h2,
.answer h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.answer p {
  color: var(--color-text);
  max-width: 78ch;
}
.answer p + p {
  margin-top: var(--space-3);
}
.answer strong {
  color: var(--navy);
}

/* --------------------------------------------------------------- cards / grids */
.grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
.grid--2 {
  grid-template-columns: 1fr;
}
.grid--3 {
  grid-template-columns: 1fr;
}
.grid--4 {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
a.card:hover::before {
  transform: scaleX(1);
}
a.card {
  text-decoration: none;
  color: inherit;
}
a.card:hover {
  border-color: var(--steel);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: #e8f1eb;
  display: grid;
  place-items: center;
  flex: none;
}
.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
}
.card h3 {
  font-size: 1.3125rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.card__more {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
a.card:hover .card__more {
  color: var(--green-bright);
  gap: var(--space-3);
}
.card__more svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #1c3a5c;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 860px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stats > div {
  background: var(--navy);
  padding: var(--space-6) var(--space-5);
  text-align: center;
}
.stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 700;
  color: #7fc79b;
  line-height: 1;
}
.stats dd {
  font-size: var(--text-xs);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #9fb3c8;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 500;
}

/* --------------------------------------------------------------- split feature */
.split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-16);
  }
  .split--flip > .split__media {
    order: -1;
  }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.split__body p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------- check list */
.checks {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
@media (min-width: 640px) {
  .checks--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.checks li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.checks svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  stroke: var(--green-bright);
  fill: none;
  stroke-width: 2.5;
}

/* service tag cloud */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  list-style: none;
}
.tags li {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------- towns */
.towns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-8);
  list-style: none;
}
.towns a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  min-height: 56px;
}
.towns a:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: var(--shadow-sm);
}
.towns a svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  opacity: 0.55;
}
.towns span.plain {
  display: flex;
  align-items: center;
  background: var(--color-surface-offset-2);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  min-height: 56px;
}

/* --------------------------------------------------------------- process */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: var(--space-8);
  border-top: 2px solid var(--color-border);
}
.steps li::before {
  content: '0' counter(step);
  position: absolute;
  top: var(--space-3);
  left: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--steel);
  line-height: 1;
}
.steps h3 {
  font-size: 1.1875rem;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.steps p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------- FAQ */
.faq {
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315462a' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 200ms ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--green);
}
.faq details > div {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.faq details > div p + p {
  margin-top: var(--space-3);
}

/* --------------------------------------------------------------- CTA band */
.cta {
  background: linear-gradient(135deg, var(--green) 0%, #0e3a22 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.04) 0 14px,
    transparent 14px 28px
  );
}
.cta__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 900px) {
  .cta__inner {
    grid-template-columns: 1.4fr auto;
    gap: var(--space-12);
  }
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #c4e0d0;
  margin-top: var(--space-3);
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
@media (min-width: 560px) {
  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.cta__actions .btn--light {
  background: #fff;
  color: var(--green);
}
.cta__actions .btn--light:hover {
  background: #e6f2ea;
  color: #0e3a22;
}
.cta__actions .btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.cta__actions .btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------- contact blocks */
.contact-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.contact-card h3 {
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.contact-card a,
.contact-card p strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
  line-height: 1.15;
  display: block;
}
.contact-card a:hover {
  color: var(--green-bright);
}
.contact-card small {
  display: block;
  margin-top: var(--space-2);
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------- footer */
.footer {
  background: var(--navy-deep);
  color: #a8bacd;
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
  font-size: var(--text-sm);
}
.footer__grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-10);
  }
}
.footer img.footer__logo {
  height: 54px;
  width: auto;
  margin-bottom: var(--space-5);
}
.footer h2 {
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.footer a {
  color: #a8bacd;
  text-decoration: none;
}
.footer a:hover {
  color: #7fc79b;
  text-decoration: underline;
}
.footer p {
  color: #8ba3bb;
  max-width: 40ch;
}
.footer__contact {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.footer__contact a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.footer__bottom {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  border-top: 1px solid #16304d;
  padding-block: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #6d849c;
}
.footer__bottom p {
  color: #6d849c;
}

/* --------------------------------------------------------------- misc */
.inline-links {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.inline-links a {
  font-weight: 500;
}
.prose h2 {
  margin-top: var(--space-10);
}
.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.prose p,
.prose ul {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}
.prose ul {
  padding-left: var(--space-6);
  display: grid;
  gap: var(--space-2);
}
.prose > *:first-child {
  margin-top: 0;
}

.notfound {
  text-align: center;
  padding-block: var(--space-24);
}
.notfound .btn-row {
  justify-content: center;
}
.notfound .wrap--default > * {
  margin-inline: auto;
}

/* --------------------------------------------------------- service map */
.mapfig {
  margin: var(--space-8) 0 0;
}
.svcmap {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #eef1ee;
}
.svcmap__label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  fill: var(--navy);
}
.svcmap__label--minor {
  font-size: 13px;
  font-weight: 500;
  fill: #3b4a58;
}
.svcmap__halo {
  fill: none;
  stroke: #eef1ee;
  stroke-width: 5;
  stroke-linejoin: round;
}
.svcmap__label.is-bound {
  fill: #14522f;
}
.svcmap__label.is-page {
  fill: #1c6038;
}
.svcmap__state {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  fill: #8b9a8d;
  letter-spacing: 0.14em;
}
.svcmap__region {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  fill: #7d8f80;
  letter-spacing: 0.22em;
}
.svcmap__ring {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  fill: #4a7a5c;
  letter-spacing: 0.18em;
}
.svcmap__shield text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  fill: #4a5a68;
}
.svcmap__scale text,
.svcmap__north text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  fill: #3b4a58;
}
.maplegend {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.maplegend li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.maplegend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 2px #fff;
}
.maplegend__dot--hq {
  background: var(--navy);
  width: 15px;
  height: 15px;
}
.maplegend__dot--bound {
  background: var(--green-bright);
}
.maplegend__dot--town {
  background: #5c7086;
  width: 9px;
  height: 9px;
}
.maplegend__swatch {
  width: 26px;
  height: 0;
  flex: none;
  border-top: 3px dashed var(--green-bright);
}
.mapfig figcaption {
  margin-top: var(--space-4);
  max-width: 74ch;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 860px) {
  .svcmap__label {
    font-size: 19px;
  }
  .svcmap__label--minor {
    font-size: 0;
  }
  .svcmap__region,
  .svcmap__state {
    font-size: 22px;
  }
  .svcmap__ring,
  .svcmap__shield {
    display: none;
  }
  .svcmap__scale text,
  .svcmap__north text {
    font-size: 16px;
  }
}
