/* ==========================================================================
   Koehler Rescue Services — Design System
   ========================================================================== */

:root {
  --teal: #03645a;
  --teal-800: #024b43;
  --teal-900: #01332e;
  --turq: #6be1d0;
  --turq-soft: #d7f8f3;
  --blue: #1fbcf7;
  --deepblue: #0d49bd;
  --navy: #0a1138;
  --navy-800: #0e1746;
  --ink: #101a3d;
  --ink-soft: #3c4a68;
  --muted: #64748b;
  --line: #e3e8f0;
  --paper: #ffffff;
  --paper-2: #f5f8fc;
  --paper-3: #eef3fa;
  --white: #ffffff;

  --grad-brand: linear-gradient(135deg, var(--deepblue) 0%, var(--blue) 100%);
  --grad-teal: linear-gradient(135deg, var(--teal-900) 0%, var(--teal) 55%, #0a8d7d 100%);
  --grad-night: linear-gradient(160deg, #060b26 0%, var(--navy) 42%, #0b2050 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(10, 17, 56, 0.06);
  --shadow-sm: 0 4px 14px rgba(10, 17, 56, 0.07);
  --shadow: 0 14px 40px -12px rgba(10, 17, 56, 0.22);
  --shadow-lg: 0 34px 70px -24px rgba(10, 17, 56, 0.35);

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h4 { font-size: clamp(1.05rem, 1.7vw, 1.25rem); }

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--deepblue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
strong { color: var(--ink); font-weight: 650; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15rem; }
li { margin-bottom: 0.4em; }
small { font-size: 0.85rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--turq); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1360px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }
.section--navy { background: var(--grad-night); color: #cfd9ee; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--teal { background: var(--grad-teal); color: #d8f4f0; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section--edge { border-top: 1px solid var(--line); }

/* ---------- eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--turq);
  border-radius: 2px;
}
.section--navy .eyebrow, .section--teal .eyebrow { color: var(--turq); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); }
.section--navy .section-lead { color: #b9c6e2; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 10px 26px -10px rgba(13, 73, 189, 0.7);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 34px -14px rgba(13, 73, 189, 0.8); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--call { --btn-bg: linear-gradient(135deg, #0a8d7d 0%, var(--teal) 100%); box-shadow: 0 10px 26px -10px rgba(3, 100, 90, 0.75); }
.btn--call:hover { box-shadow: 0 18px 34px -14px rgba(3, 100, 90, 0.85); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover { border-color: var(--deepblue); color: var(--deepblue); background: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--teal); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--deepblue);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--teal); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #c3cfe8;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.35rem;
}
.topbar__left { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; letter-spacing: 0.02em; }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 3px rgba(107, 225, 208, 0.22); }
.topbar__right { display: flex; align-items: center; gap: 1.35rem; }
.topbar a { color: #dfe7f7; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--turq); }
.topbar svg { width: 14px; height: 14px; opacity: 0.85; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.16); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(10, 17, 56, 0.45); }
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: none; }
.brand__mark { width: 44px; height: 48px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.72rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--teal); background: var(--turq-soft); }
.nav__link svg { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.2s ease; }

.nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}
.nav__panel--wide { min-width: 640px; padding: 1rem; }
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__panel a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav__panel a:hover { background: var(--paper-3); color: var(--teal); }
.nav__panel a small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.01em; }
.nav__panel-title {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 0.5rem 0.7rem 0.35rem;
}
.nav__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; }
.nav__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav__panel-foot {
  margin: 0.5rem -0.6rem -0.6rem;
  padding: 0.75rem 1.1rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
}
.nav__panel-foot a { padding: 0; display: inline; color: var(--deepblue); }
.nav__panel-foot a:hover { background: none; }

.header__cta { display: flex; align-items: center; gap: 0.9rem; flex: none; }
.header__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1.15;
}
.header__phone span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.header__phone strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.header__phone:hover strong { color: var(--teal); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.22s ease, top 0.22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #fff;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 8rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
body.nav-open .drawer { transform: translateX(0); visibility: visible; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__top { display: flex; gap: 0.7rem; margin-bottom: 1.5rem; }
.drawer__top .btn { flex: 1; }
.drawer a.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}
.drawer details[open] summary::after { content: "–"; }
.drawer details .drawer__sub { padding: 0.35rem 0 0.85rem 0.25rem; display: grid; gap: 0.1rem; }
.drawer details .drawer__sub a {
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 8px;
}
.drawer details .drawer__sub a:hover { background: var(--paper-2); color: var(--teal); }
.drawer__meta { margin-top: 1.75rem; font-size: 0.88rem; color: var(--muted); display: grid; gap: 0.5rem; }
.drawer__meta a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--grad-night);
  color: #d6e0f4;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -320px; top: -420px;
  background: radial-gradient(circle, rgba(31, 188, 247, 0.38) 0%, rgba(31, 188, 247, 0) 62%);
  filter: blur(10px);
}
.hero__glow--teal {
  left: -380px; top: 120px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(3, 100, 90, 0.55) 0%, rgba(3, 100, 90, 0) 65%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 20%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 20%, #000 35%, transparent 100%);
}
.hero__road { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; opacity: 0.55; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3.2rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(107, 225, 208, 0.1);
  border: 1px solid rgba(107, 225, 208, 0.32);
  color: var(--turq);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}
.hero__badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--turq);
  box-shadow: 0 0 0 4px rgba(107, 225, 208, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(107, 225, 208, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(107, 225, 208, 0.05); }
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--turq);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hero__line2 { color: #fff; }
.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: #bcc9e4;
  max-width: 33em;
  margin-bottom: 1.9rem;
}
.hero__actions { margin-bottom: 1.9rem; }
.hero__note { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: #9fb0d2; }
.hero__note svg { width: 16px; height: 16px; color: var(--turq); flex: none; }

/* hero side card */
.rescue-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.rescue-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.rescue-card__head strong { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.rescue-card__live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--turq);
}
.rescue-card__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--turq); animation: pulse 2.4s ease-in-out infinite; }
.rescue-card__rows { display: grid; gap: 0.1rem; margin-bottom: 1.15rem; }
.rescue-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rescue-row:last-child { border-bottom: 0; }
.rescue-row__icon {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(31, 188, 247, 0.14);
  color: var(--blue);
}
.rescue-row__icon svg { width: 17px; height: 17px; }
.rescue-row__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #93a4c7; font-weight: 700; }
.rescue-row__value { font-size: 0.92rem; color: #fff; font-weight: 650; }
.rescue-card__foot { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1rem; }
.rescue-card__stars { display: flex; align-items: center; gap: 0.3rem; color: #ffc857; font-size: 0.8rem; }
.rescue-card__stars svg { width: 14px; height: 14px; }
.rescue-card__stars span { color: #c8d5ec; margin-left: 0.35rem; font-weight: 600; }
.rescue-card .btn { width: 100%; margin-top: 0.9rem; }

/* ---------- trust strip ---------- */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.trustbar__item {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.85rem;
}
.trustbar__item:first-child { padding-left: 0; }
.trustbar__item:last-child { border-right: 0; padding-right: 0; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.trustbar__item strong { display: block; font-family: var(--font-display); font-size: 1.32rem; color: var(--navy); line-height: 1; }
.trustbar__item span { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* ---------- grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- service cards ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--turq-soft), #eaf7ff);
  color: var(--teal);
  margin-bottom: 1.15rem;
  transition: background 0.22s ease, color 0.22s ease;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--grad-brand); color: #fff; }
.service-card h3 { font-size: 1.32rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.service-card__meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.service-card__price { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); font-weight: 700; }
.service-card__price small { font-family: var(--font-body); font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; display: block; text-transform: uppercase; }
.service-card .link-arrow { font-size: 0.85rem; }

/* ---------- feature / why cards ---------- */
.feature {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--turq-soft); color: var(--teal);
  margin-bottom: 1rem;
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.92rem; margin: 0; }
.section--navy .feature {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}
.section--navy .feature p { color: #b3c1de; }
.section--navy .feature__icon { background: rgba(31, 188, 247, 0.14); color: var(--blue); }

/* ---------- split feature block ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__body h2 { margin-bottom: 1rem; }

.art-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--grad-night);
  aspect-ratio: 4 / 3.2;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.art-panel svg { width: 100%; height: 100%; }
.art-panel--teal { background: var(--grad-teal); }

.stat-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1.05rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem;
}
.stat-chip--br { right: -0.5rem; bottom: 1.5rem; }
.stat-chip--tl { left: -0.5rem; top: 1.5rem; }
.stat-chip strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); line-height: 1; display: block; }
.stat-chip span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.stat-chip__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--turq-soft); color: var(--teal); display: grid; place-items: center; }
.stat-chip__icon svg { width: 18px; height: 18px; }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.7rem; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  font-size: 0.95rem;
  align-items: start;
  margin: 0;
}
.checklist li::before {
  content: "";
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--turq-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303645A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  margin-top: 2px;
}
.section--navy .checklist li { color: #c2cfe8; }
.section--navy .checklist li::before { background-color: rgba(107, 225, 208, 0.16); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 0.4rem;
}
.stat strong span { color: var(--turq); }
.stat span { font-size: 0.8rem; color: #a9b8d8; font-weight: 500; letter-spacing: 0.01em; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card--featured { border-color: transparent; box-shadow: var(--shadow); }
.price-card--featured::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-card__tag {
  position: absolute; top: -0.7rem; right: 1.25rem;
  background: var(--grad-brand); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.7rem; border-radius: 999px;
}
.price-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--turq-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 1rem; }
.price-card__icon svg { width: 22px; height: 22px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 0.35rem;
  display: flex; align-items: baseline; gap: 0.3rem;
}
.price-card__amount sup { font-size: 1.1rem; top: -0.9em; color: var(--teal); }
.price-card__note { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; min-height: 2.6em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.35rem; display: grid; gap: 0.45rem; }
.price-card li { display: grid; grid-template-columns: 16px 1fr; gap: 0.55rem; font-size: 0.86rem; margin: 0; }
.price-card li::before {
  content: "";
  width: 15px; height: 15px; margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303645A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.price-card .btn { margin-top: auto; }

/* ---------- review section ---------- */
.review-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rating-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.rating-block__score { font-family: var(--font-display); font-size: 4.2rem; line-height: 0.9; color: var(--navy); }
.rating-block__stars { display: flex; justify-content: center; gap: 0.25rem; color: #ffb020; margin: 0.65rem 0 0.4rem; }
.rating-block__stars svg { width: 22px; height: 22px; }
.rating-block p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.25rem; }
.rating-block .btn { width: 100%; }

.platform-list { display: grid; gap: 0.65rem; }
.platform {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.platform:hover { border-color: var(--blue); transform: translateX(3px); box-shadow: var(--shadow-xs); }
.platform__name { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.platform__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.platform__dot--g { background: #4285f4; }
.platform__dot--bbb { background: #005f9e; }
.platform__dot--y { background: #d32323; }
.platform__dot--t { background: #00b67a; }
.platform__cta { font-size: 0.8rem; font-weight: 700; color: var(--deepblue); display: inline-flex; align-items: center; gap: 0.3rem; }
.platform__cta svg { width: 13px; height: 13px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.65rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq details[open] { border-color: rgba(31, 188, 247, 0.55); box-shadow: var(--shadow-xs); }
.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 650;
  color: var(--ink);
  font-size: 0.98rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 20px; height: 20px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303645A' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; font-size: 0.94rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }
.section--navy .faq details { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.section--navy .faq summary { color: #fff; }
.section--navy .faq details > div { color: #b4c2de; }
.section--navy .faq summary::after { filter: brightness(2.2) saturate(0.4); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-teal);
  color: #e6fbf7;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -10%; top: -60%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(107, 225, 208, 0.32), transparent 62%);
  z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #c6ece7; margin-bottom: 0; max-width: 44em; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.7rem; min-width: 240px; }
.cta-band__phone {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #fff;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-band__phone:hover { color: #fff; text-decoration: underline; }

/* ---------- forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: #d94848; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.78rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  min-height: 46px;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 188, 247, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field__help { font-size: 0.76rem; color: var(--muted); }
.field--hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.85rem; }
.form-status { margin-top: 1rem; border-radius: 11px; padding: 0.9rem 1rem; font-size: 0.9rem; display: none; }
.form-status.is-error { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-status.is-success { display: block; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-status a { font-weight: 700; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding: 1rem 0 0; font-size: 0.8rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; color: #c3cbd9; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  background: var(--grad-night);
  color: #cbd7ee;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.75rem, 6vw, 4.75rem);
}
.page-hero__glow {
  position: absolute; z-index: -1;
  width: 780px; height: 780px; right: -280px; top: -380px;
  background: radial-gradient(circle, rgba(31, 188, 247, 0.3), transparent 62%);
}
.page-hero__glow--teal {
  left: -300px; right: auto; top: 40%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(3, 100, 90, 0.5), transparent 65%);
}
.page-hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero .crumbs { color: #93a4c7; padding-top: 0; margin-bottom: 1.5rem; }
.page-hero .crumbs a { color: #b9c8e4; }
.page-hero .crumbs a:hover { color: var(--turq); }
.page-hero .crumbs [aria-current="page"] { color: #fff; }
.page-hero .crumbs li + li::before { color: #4d5f85; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; max-width: 20ch; }
.page-hero p { color: #b9c7e3; font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 62ch; }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d3dff2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill svg { width: 13px; height: 13px; color: var(--turq); }

/* ---------- layout with sidebar ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem; box-shadow: var(--shadow-xs);
}
.aside-card--navy { background: var(--grad-night); border-color: transparent; color: #c6d3ea; }
.aside-card--navy h3 { color: #fff; font-size: 1.3rem; }
.aside-card h3 { font-size: 1.12rem; margin-bottom: 0.75rem; }
.aside-card .btn { width: 100%; }
.aside-card__phone { font-family: var(--font-display); font-size: 1.6rem; color: #fff; text-decoration: none; display: block; margin: 0.25rem 0 0.9rem; }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.aside-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.65rem; border-radius: 9px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.aside-list a:hover, .aside-list a[aria-current="page"] { background: var(--turq-soft); color: var(--teal); }
.aside-list a svg { width: 13px; height: 13px; opacity: 0.4; }

/* ---------- prose ---------- */
.prose { font-size: 1.02rem; color: var(--ink-soft); }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 1.75rem; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.55rem; }
.prose blockquote {
  margin: 1.75rem 0;
  padding: 1.15rem 1.4rem;
  border-left: 3px solid var(--turq);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
  color: var(--ink);
}
.prose > h2:first-child { margin-top: 0; }

/* ---------- coverage / locations ---------- */
.county-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.county-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.county-card__top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.county-card__badge {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
  flex: none;
}
.county-card__badge svg { width: 18px; height: 18px; }
.county-card__tag {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); background: var(--turq-soft);
  padding: 0.22rem 0.55rem; border-radius: 999px;
}
.county-card__tag--x { color: var(--deepblue); background: #e8f1ff; }
.county-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.county-card p { font-size: 0.88rem; margin-bottom: 1rem; }
.county-card__towns { font-size: 0.8rem; color: var(--muted); margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line); }
.county-card__towns strong { color: var(--ink); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.2rem; }

.town-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.town-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.8rem 1rem;
  text-decoration: none; color: var(--ink);
  font-weight: 650; font-size: 0.92rem;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.town-link:hover { border-color: var(--blue); color: var(--deepblue); background: #f8fbff; }
.town-link svg { width: 14px; height: 14px; opacity: 0.45; }

/* ---------- blog ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__art { height: 152px; background: var(--grad-night); position: relative; overflow: hidden; }
.post-card__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-card__art--teal { background: var(--grad-teal); }
.post-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; margin-bottom: 0.55rem; }
.post-card h3 { font-size: 1.15rem; line-height: 1.15; margin-bottom: 0.5rem; }
.post-card p { font-size: 0.87rem; margin-bottom: 1rem; }
.post-card .link-arrow { margin-top: auto; }

.article-head { padding-block: clamp(2rem, 4vw, 3.25rem) 1.5rem; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 26ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }
.article-meta__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; }
.article-body { font-size: 1.05rem; max-width: 720px; }
.article-body h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin-top: 2.1rem; }
.article-body p { margin-bottom: 1.15rem; }

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: #9fb0d0;
  padding-block: clamp(2.5rem, 5vw, 4rem) 0;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: -10%; top: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(31, 188, 247, 0.16), transparent 65%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer a { color: #c1cfe8; text-decoration: none; }
.footer a:hover { color: var(--turq); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer__brand p { font-size: 0.86rem; color: #93a5c6; margin: 1rem 0 1.15rem; max-width: 32ch; }
.footer__logo { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.footer__logo .brand__mark { width: 40px; height: 44px; }
.footer__logo .brand__name { color: #fff; }
.footer__logo .brand__sub { color: var(--turq); }
.footer__contact { display: grid; gap: 0.6rem; }
.footer__contact a { display: flex; align-items: flex-start; gap: 0.6rem; color: #d5e0f2; font-weight: 600; }
.footer__contact svg { width: 16px; height: 16px; color: var(--turq); flex: none; margin-top: 3px; }
.footer__contact small { display: block; color: #8a9cbd; font-weight: 500; font-size: 0.75rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.15rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.78rem;
  color: #8397b9;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.footer__social { display: flex; gap: 0.45rem; margin-top: 1rem; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.16s ease, transform 0.16s ease;
}
.footer__social a:hover { background: rgba(31, 188, 247, 0.2); transform: translateY(-2px); }
.footer__social svg { width: 15px; height: 15px; color: #c1cfe8; }

/* ---------- sticky mobile call bar ---------- */
.mobile-call {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(10, 17, 56, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}
.mobile-call .btn { padding: 0.8rem 0.9rem; font-size: 0.86rem; box-shadow: none; }
.mobile-call .btn--ghost { border-color: rgba(255, 255, 255, 0.32); }

/* ---------- misc ---------- */
.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;
}

table caption { text-align: left; }
.table-wrap table { min-width: 420px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--paper-3); color: var(--ink-soft);
  padding: 0.3rem 0.6rem; border-radius: 6px;
}
.notice {
  display: flex; gap: 0.8rem;
  background: #fff8ed; border: 1px solid #ffe0b3; border-radius: var(--radius);
  padding: 1rem 1.15rem; font-size: 0.88rem; color: #8a5a00;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #d98600; }
.notice--info { background: #f2f8ff; border-color: #cfe4ff; color: #1b4a86; }
.notice--info svg { color: var(--deepblue); }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.info-list li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; font-size: 0.93rem; margin: 0; }
.info-list svg { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }

.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; }
.vehicle-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.65rem 0.8rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.vehicle-chip svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.section--navy .vehicle-chip { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: #d3dff2; }
.section--navy .vehicle-chip svg { color: var(--turq); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header__phone { display: none; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-sticky { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .hero__inner { grid-template-columns: 1fr; padding-block: 2.5rem 3.5rem; }
  .rescue-card { max-width: 460px; }
  .trustbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar__item { padding: 1.15rem 0.5rem; border-right: 0; }
  .trustbar__item:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
  .trustbar__item:nth-child(even) { padding-left: 1.15rem; }
  .trustbar__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trustbar__item:first-child, .trustbar__item:nth-child(2) { padding-top: 1.15rem; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .review-layout { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .cta-band__actions .btn { flex: 1; }
  .cta-band__phone { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .town-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mobile-call { display: grid; }
  body { padding-bottom: 74px; }
  .aside-sticky { grid-template-columns: 1fr; }
  .topbar__right a span { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header .btn--call { display: none; }
  .hero h1 em { white-space: normal; }
  .grid--2, .grid--3, .grid--4, .price-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__note { font-size: 0.8rem; }
  .page-hero h1 { max-width: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 1.1rem 0.75rem; }
  .stat-chip--br { right: 0.5rem; bottom: 0.75rem; }
  .stat-chip--tl { left: 0.5rem; top: 0.75rem; }
  .btn { padding: 0.9rem 1.35rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .rescue-card { padding: 1.2rem; }
  .section-head { margin-bottom: 1.75rem; }
  .brand__mark { width: 38px; height: 42px; }
  .brand__name { font-size: 1.18rem; }
  .brand__sub { font-size: 0.53rem; letter-spacing: 0.18em; }
}

@media (max-width: 380px) {
  .trustbar__grid { grid-template-columns: 1fr; }
  .trustbar__item { border-right: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line); }
}

@media print {
  .header, .topbar, .mobile-call, .footer__social, .btn { display: none !important; }
  body { color: #000; }
}

/* Roadsider dispatch embed */
.dispatch-frame iframe {
  width: 100%;
  border: 0;
  min-height: 560px;
  display: block;
  border-radius: 14px;
  background: #ffffff;
}
.dispatch-fallback {
  margin: .9rem 0 0;
  font-size: .85rem;
  color: #5b6472;
}
