/* Myrtle Beach Plumber Pros
   Design tokens live in design-system/MASTER.md. Mobile first. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  --navy: #0E2A47;
  --navy-900: #0A1F35;
  --navy-700: #173A5C;
  --blue: #1B5E9E;
  --orange: #FF8A1F;
  --orange-hover: #FF9A3C;
  --text: #2E3B47;
  --muted: #566573;
  --line: #D7DEE4;
  --line-strong: #B9C6D1;
  --mist: #EEF2F5;
  --water: #D5E0E9;
  --on-navy: #C9D6E3;
  --white: #FFFFFF;

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

  --step--1: 0.9375rem;
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.3125rem, 1.2rem + 0.45vw, 1.5625rem);
  --step-2: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem);
  --step-3: clamp(2.125rem, 1.7rem + 1.8vw, 3.125rem);
  --step-4: clamp(2.625rem, 1.8rem + 3.4vw, 4.75rem);
  --phone: clamp(2.125rem, 1.55rem + 2.6vw, 3.625rem);

  --radius: 3px;
  --gutter: 20px;
  --container: 1200px;
  --header-h: 68px;
  --callbar-h: 64px;
  --section-y: clamp(3.5rem, 2.2rem + 5.5vw, 6.5rem);

  --z-callbar: 40;
  --z-header: 50;
  --z-menu: 60;
}

@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 80px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  padding-bottom: var(--callbar-h);
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 160ms ease; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.1; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: var(--orange); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.section--flush-top { padding-top: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Call plate: every phone CTA ---------- */

.call-plate {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--orange); color: var(--navy-900);
  padding: 14px 22px 14px 18px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms ease;
}
.call-plate:hover { background: var(--orange-hover); color: var(--navy-900); }
.call-plate__icon { width: 34px; height: 34px; stroke-width: 2.25; }
.call-plate__text { display: grid; line-height: 1; }
.call-plate__label { font-weight: 600; font-size: 0.9375rem; margin-bottom: 6px; }
.call-plate__number { font-family: var(--font-display); font-weight: 700; font-size: var(--phone); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.call-plate--sm { gap: 10px; padding: 11px 18px 11px 14px; }
.call-plate--sm .call-plate__icon { width: 26px; height: 26px; }
.call-plate--sm .call-plate__number { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }
.call-plate--block { display: flex; width: 100%; justify-content: center; }

.placeholder-flag {
  display: inline-block; margin-top: 10px; font-size: 0.8125rem; font-weight: 600;
  color: var(--muted); background: var(--mist); padding: 2px 8px; border-radius: 2px;
}

/* ---------- Trust list ---------- */

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.trust li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.0625rem; }
.trust .icon { width: 22px; height: 22px; color: var(--blue); }
.on-navy .trust li { color: var(--white); }
.on-navy .trust .icon { color: var(--orange); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: grid; line-height: 1; }
.brand__city { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--muted); margin-bottom: 2px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.brand:hover .brand__name { color: var(--navy); }

.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; min-height: 44px;
  font-weight: 600; font-size: 1.0625rem; color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav__link:hover, .nav__toggle:hover { color: var(--blue); }
.nav__link[aria-current="page"], .nav__item--current > .nav__toggle { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav__toggle .icon { width: 18px; height: 18px; transition: transform 160ms ease; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__item { position: relative; }
.dropdown {
  position: absolute; left: -12px; top: calc(100% + 8px);
  width: 520px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  padding: 18px 20px; display: none;
}
.nav__item--open .dropdown { display: block; }
.dropdown__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.dropdown__list a { display: block; padding: 8px 0; color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.dropdown__list a:hover { color: var(--blue); }
.dropdown__all { display: inline-block; margin-top: 14px; font-weight: 600; }

.header-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-call-sm {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--orange); color: var(--navy-900); font-weight: 700; font-family: var(--font-display);
  font-size: 1.25rem; text-decoration: none; border-radius: var(--radius);
}
.header-call-sm:hover { background: var(--orange-hover); color: var(--navy-900); }
.header-call-sm .icon { width: 20px; height: 20px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--navy);
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu);
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(var(--callbar-h) + 32px); display: none;
}
.menu-open .mobile-menu { display: block; }
.menu-open { overflow: hidden; }
.mobile-menu__group { border-bottom: 1px solid var(--line); padding-block: 14px; }
.mobile-menu__heading { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--navy); text-decoration: none; display: block; padding-block: 6px; }
.mobile-menu__list { list-style: none; display: grid; gap: 0; margin-top: 4px; }
.mobile-menu__list a { display: block; padding: 10px 0; font-size: 1.125rem; font-weight: 500; color: var(--text); text-decoration: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-call { display: inline-flex; }
  .header-actions { display: none; }
  .mobile-menu { display: none !important; }
  .header-call .call-plate__number { font-size: 1.875rem; }
}
@media (min-width: 1024px) and (max-width: 1159px) {
  .nav__link, .nav__toggle { padding-inline: 8px; font-size: 1rem; }
  .header-call .call-plate__number { font-size: 1.625rem; }
}

/* ---------- Mobile call bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--callbar-h); padding-bottom: env(safe-area-inset-bottom);
  background: var(--orange); color: var(--navy-900); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; letter-spacing: 0.01em;
  border-top: 2px solid var(--navy-900);
}
.callbar:hover { color: var(--navy-900); background: var(--orange-hover); }
.callbar .icon { width: 26px; height: 26px; }
.callbar__sub { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; }
@media (min-width: 1024px) { .callbar { display: none; } }

/* ---------- Home hero ---------- */

.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--white); }
.on-navy a:not(.call-plate) { color: var(--white); }

.hero { position: relative; }
.hero__grid { display: grid; }
.hero__content { padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) var(--gutter) clamp(2.75rem, 2rem + 4vw, 5rem); }
.hero h1 { max-width: 15ch; margin-bottom: 0.35em; }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 36ch; margin-bottom: 1.6em; }
.hero__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 45%; }

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, calc(var(--container) * 0.54)) [split] minmax(0, calc(var(--container) * 0.46)) [content-end] minmax(var(--gutter), 1fr) [full-end];
    min-height: min(720px, calc(100vh - var(--header-h)));
  }
  .hero__content { grid-column: content-start / split; padding: 88px 56px 88px 0; align-self: center; }
  .hero__media { grid-column: split / full-end; aspect-ratio: auto; height: 100%; }
}
@media (min-width: 960px) and (max-width: 1279px) { .hero__media img { object-position: 58% 50%; } }

/* ---------- Section heads ---------- */

.section-head { display: grid; gap: 8px 48px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}

/* ---------- Service tiles (featured) ---------- */

.tiles { list-style: none; display: grid; gap: 36px 24px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile { position: relative; }
.tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.tile__media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(14, 42, 71, 0.12); border-radius: inherit; pointer-events: none; }
@media (max-width: 599px) { .tile__media { aspect-ratio: 16 / 10; } }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: filter 200ms ease; }
.tile__title { font-size: var(--step-2); font-weight: 600; margin: 18px 0 6px; }
.tile__title a { color: var(--navy); text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; }
.tile__text { color: var(--muted); font-size: 1.0625rem; margin: 0; max-width: 40ch; }
.tile:hover .tile__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--orange); }
.tile:hover .tile__media img { filter: brightness(0.92); }

/* Horizontal tiles for long service lists */
.tiles--rows { gap: 0 48px; border-top: 2px solid var(--navy); }
.tiles--rows .tile { display: grid; grid-template-columns: 132px 1fr; grid-template-areas: "media title" "media text"; grid-template-rows: auto 1fr; gap: 0 20px; align-content: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tiles--rows .tile__media { grid-area: media; align-self: start; }
.tiles--rows .tile__title { grid-area: title; align-self: end; }
.tiles--rows .tile__text { grid-area: text; }
.tiles--rows .tile__media { aspect-ratio: 4 / 3; }
.tiles--rows .tile__title { margin: 0 0 4px; font-size: var(--step-1); }
.tiles--rows .tile__text { font-size: 1rem; }
@media (min-width: 600px) { .tiles--rows .tile { grid-template-columns: 200px 1fr; gap: 0 28px; } }
@media (min-width: 1100px) { .tiles.tiles--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Service list (compact) ---------- */

.svc-list { list-style: none; display: grid; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 2px solid var(--navy); }
@media (min-width: 720px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1100px) { .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-list__item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.svc-list__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.svc-list__name a { color: var(--navy); text-decoration: none; }
.svc-list__name a::after { content: ""; position: absolute; inset: 0; }
.svc-list__text { grid-column: 1 / 2; color: var(--muted); font-size: 1rem; margin: 0; }
.svc-list__chev { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 22px; height: 22px; color: var(--line-strong); transition: color 160ms ease, transform 160ms ease; }
.svc-list__item:hover .svc-list__name a { color: var(--blue); }
.svc-list__item:hover .svc-list__chev { color: var(--orange); transform: translateX(3px); }

/* ---------- Booking steps ---------- */

.steps { list-style: none; display: grid; gap: 28px; position: relative; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; align-content: start; }
.step__marker {
  position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.75rem;
  border-radius: var(--radius);
}
.step h3 { font-size: var(--step-1); margin: 12px 0 6px; }
.step p { margin: 0; color: var(--text); max-width: 34ch; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; background: var(--line-strong); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step { grid-template-columns: 1fr; }
  .step h3 { margin-top: 22px; }
  .steps::before { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 3px; }
}

/* ---------- Proof (licensed / estimates) ---------- */

.proof { display: grid; gap: 40px; align-items: center; }
.proof__media { position: relative; }
.proof__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); position: relative; z-index: 1; }
@media (min-width: 900px) { .proof__media img { aspect-ratio: 4 / 5; } }
.proof__items { display: grid; gap: 32px; }
.proof__item { border-top: 2px solid var(--navy); padding-top: 20px; }
.proof__item h3 { display: flex; align-items: center; gap: 12px; }
.proof__item h3 .icon { width: 30px; height: 30px; color: var(--blue); }
.proof__item p { margin: 0; }
@media (min-width: 900px) {
  .proof { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .proof__media::before { content: ""; position: absolute; inset: 28px -20px -20px 28px; background: var(--navy); border-radius: var(--radius); }
}

/* ---------- Map + towns ---------- */

.area { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .area { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.map { width: 100%; height: auto; background: var(--water); border-radius: var(--radius); }
.map__ocean { fill: var(--water); }
.map__sc { fill: var(--white); stroke: var(--line-strong); stroke-width: 1; }
.map__nc { fill: var(--mist); stroke: var(--line-strong); stroke-width: 1; }
.map__water { fill: var(--water); stroke: var(--water); stroke-width: 1.2; stroke-linejoin: round; }
.map__dot { fill: var(--navy); stroke: var(--white); stroke-width: 2.5; }
.map__label { font-family: var(--font-body); font-weight: 600; font-size: 17px; fill: var(--navy); paint-order: stroke; stroke: var(--white); stroke-width: 3.5px; stroke-linejoin: round; }
.map__note { font-family: var(--font-body); font-weight: 500; font-style: italic; font-size: 16px; fill: #4F6273; }
.map__state { font-family: var(--font-body); font-weight: 500; font-size: 14px; fill: #5F7080; paint-order: stroke; stroke-width: 4px; stroke-linejoin: round; }
.map__state--nc { stroke: var(--mist); }
.map__state--sc { stroke: var(--white); }
.map__scale { stroke: var(--navy); stroke-width: 2; }
.map__scale-text { font-family: var(--font-body); font-weight: 600; font-size: 13px; fill: var(--navy); }
.map-caption { font-size: 0.875rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) {
  .map__label { font-size: 27px; stroke-width: 5px; }
  .map__state, .map__note { font-size: 23px; }
  .map__scale-text { font-size: 21px; }
}

.towns { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 2px solid var(--navy); }
.towns li { border-bottom: 1px solid var(--line); }
.towns a { display: flex; align-items: center; gap: 8px; padding: 13px 0; font-weight: 600; color: var(--navy); text-decoration: none; min-height: 48px; }
.towns a:hover { color: var(--blue); }
.towns .icon { width: 18px; height: 18px; color: var(--blue); }
.area__copy p { color: var(--text); }
.area__more { display: inline-block; margin-top: 22px; font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.faq__intro p { color: var(--muted); }
.faq__list { border-top: 2px solid var(--navy); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--navy); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 24px; height: 24px; color: var(--blue); transition: transform 180ms ease; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__answer { padding: 0 0 22px; max-width: 64ch; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band p { margin: 0; max-width: 46ch; font-size: var(--step-1); line-height: 1.45; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 56px; } }

/* ---------- Inner page head ---------- */

.crumbs { padding-top: 22px; font-size: 0.9375rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

.page-head { padding: 18px 0 clamp(3rem, 2rem + 4vw, 5rem); }
.page-head__grid { display: grid; gap: 40px; align-items: center; margin-top: clamp(1rem, 0.5rem + 2vw, 2.25rem); }
.page-head h1 { font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem); max-width: 16ch; }
.page-head__lead { font-size: var(--step-1); line-height: 1.45; color: var(--text); max-width: 42ch; margin-bottom: 1.4em; }
.media-frame { position: relative; }
.media-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) {
  .page-head__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; }
  .media-frame::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; background: var(--navy); border-radius: var(--radius); }
}

.page-head--plain .page-head__grid { grid-template-columns: 1fr; }
.page-head--split .page-head__grid { gap: 8px; }
@media (min-width: 960px) {
  .page-head--split .page-head__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 72px; }
  .page-head--split h1 { margin-bottom: 0; }
  .page-head--split .page-head__lead { margin-top: 0; }
}

/* ---------- Service page body ---------- */

.content-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
}
.prose > * + * { margin-top: 0; }
.block { margin-bottom: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); }
.block:last-child { margin-bottom: 0; }
.block h2 { font-size: var(--step-2); margin-bottom: 0.6em; }
.block p { max-width: 66ch; }

.checklist { list-style: none; display: grid; gap: 0 32px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } .checklist--single { grid-template-columns: 1fr; } }
.note--spaced { margin-top: 2rem; }
.checklist li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }

.plain-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 66ch; }
.plain-list li { padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 8px; height: 3px; background: var(--orange); }

.defs { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.defs div { display: grid; gap: 4px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .defs div { grid-template-columns: 180px 1fr; } }
.defs dt { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--navy); line-height: 1.2; }
.defs dd { margin: 0; }

.note { background: var(--mist); border-left: 4px solid var(--navy); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.note h2 { font-size: var(--step-1); margin-bottom: 0.5em; }
.note p:last-child { margin-bottom: 0; }

.figure { margin-inline: 0; margin-top: 0; }
.aside .figure { margin-bottom: 0; }
.figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { font-size: 0.9375rem; color: var(--muted); margin-top: 10px; }

.aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) {
  .content-grid { align-items: stretch; }
  .aside { align-self: stretch; }
  .aside__sticky { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 24px; }
}
.call-card { padding: 28px; border-radius: var(--radius); }
.call-card h2 { font-size: 1.875rem; margin-bottom: 0.3em; }
.call-card p { margin-bottom: 18px; }
.call-card .call-plate { width: 100%; justify-content: center; }
.call-card .trust { margin-top: 18px; flex-direction: column; gap: 10px; }
.side-links { border-top: 2px solid var(--navy); }
.side-links h2 { font-size: 1.375rem; margin: 16px 0 6px; }
.side-links ul { list-style: none; }
.side-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 500; }
.side-links a:hover { color: var(--blue); }
.side-links a[aria-current="page"] { color: var(--muted); pointer-events: none; }

/* ---------- Service areas page ---------- */

.wide-media { position: relative; }
.wide-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
@media (max-width: 639px) { .wide-media img { aspect-ratio: 4 / 3; } }

.town { display: grid; gap: 28px; align-items: center; padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); border-top: 1px solid var(--line); }
.town:first-child { border-top: 0; }
.town__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.town h2 { font-size: var(--step-3); }
.town__call { margin-top: 8px; font-weight: 600; }
@media (min-width: 900px) {
  .town { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .town--flip .town__media { order: 2; }
}
.town-grid { display: grid; gap: 0 56px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .town-grid { grid-template-columns: 1fr 1fr; } }
.town-grid .town-mini { padding-block: 32px; border-bottom: 1px solid var(--line); }
.town-mini h2 { font-size: var(--step-2); }
.town-mini p { margin-bottom: 0.6em; }

/* ---------- How it works page ---------- */

.steps-v { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.steps-v li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps-v h2 { font-size: var(--step-2); margin: 8px 0 8px; }
.steps-v p { margin: 0; max-width: 60ch; }
.after-steps { margin-top: 3rem; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------- Contact page ---------- */

.contact-call { margin-top: 8px; }
.info-block { margin-top: 2rem; }
.info-block h2 { font-size: var(--step-1); margin-bottom: 0.5em; }
.info-block p { max-width: 60ch; }
.ready { counter-reset: none; }

/* ---------- Privacy policy ---------- */

.page-head--tight { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-head--tight .page-head__lead { margin-bottom: 0; }
.legal__date { font-weight: 600; color: var(--muted); margin: 0 0 1.1em; }
.legal { max-width: 72ch; }
.legal ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1em; }
.legal .note ul { margin-bottom: 0; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 3px; background: var(--orange); }
.legal__section { margin-top: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); padding-top: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); border-top: 1px solid var(--line); }
.legal__section h2 { font-size: var(--step-2); margin-bottom: 0.55em; }
.legal__section h3 { font-size: var(--step-1); margin: 1.3em 0 0.45em; }
.legal__section h2 + h3 { margin-top: 0.4em; }
.legal__section > :last-child { margin-bottom: 0; }
.aside--toc { display: none; }
@media (min-width: 1024px) { .aside--toc { display: grid; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: #C5D1DD; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 28px; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.7fr); gap: 48px; } }
.footer-brand .brand__city { color: #AFC0D0; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { margin-top: 18px; max-width: 42ch; }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--orange) !important; }
.footer-phone:hover { color: var(--orange-hover) !important; }
.footer-phone .icon { width: 26px; height: 26px; }
.footer-col h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--white); margin: 0 0 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: #DCE4EC; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid #1E3A57; display: grid; gap: 12px; font-size: 0.9375rem; color: #AFC0D0; }
@media (min-width: 900px) { .footer-legal { grid-template-columns: 1fr auto; align-items: start; } }
.footer-legal p { margin: 0; max-width: 80ch; }
.footer-legal__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer .footer-legal a { color: #DCE4EC; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-legal a:hover { color: var(--orange); }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.stack-sm > * + * { margin-top: 12px; }

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

@media print {
  .site-header, .callbar, .mobile-menu, .cta-band, .aside { display: none !important; }
  body { padding: 0; }
}
