/* Primary Source Home Inspections
   Brand: navy #144661, warm gray #595856
   Headings: Baskervville (matches the logo wordmark). Body: Source Sans 3. */

:root {
  --navy: #144661;
  --navy-deep: #0d3247;
  --navy-tint: #e8eef3;
  --gray: #595856;
  --gray-light: #8a8987;
  --ink: #1d2a33;
  --paper: #ffffff;
  --paper-alt: #f6f4f1;
  --line: #dcd8d3;
  --gold: #b98b3d;
  --wrap: 1140px;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(20, 70, 97, .08), 0 8px 24px rgba(20, 70, 97, .06);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.measure { max-width: 68ch; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Typography ---------- */

.h2 {
  font-family: Baskervville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .6em;
}
.h2--invert { color: #fff; }
.lede { font-size: 1.125rem; color: var(--gray); margin: 0 0 1.1em; }
.section__intro { color: var(--gray); font-size: 1.125rem; max-width: 60ch; margin: -.4em auto 2.5rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
  min-height: 48px;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: translateY(1px); } }

/* ---------- Banner ---------- */

.banner {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.banner__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
}
.banner__brand { flex: 0 0 auto; display: block; padding: 10px 0; }
.banner__brand img { width: auto; height: 52px; }

.banner__toggle {
  margin-left: auto;
  width: 48px; height: 48px;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 12px; cursor: pointer;
}
.banner__toggle span { display: block; height: 2px; background: var(--navy); }

.nav { flex-basis: 100%; display: none; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.nav a {
  display: block; padding: 13px 2px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav a:hover { color: var(--navy); }

.banner__phone { flex-basis: 100%; text-decoration: none; padding-bottom: 12px; }
.banner__phone-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-light); }
.banner__phone-number { display: block; font-weight: 700; font-size: 1.25rem; color: var(--navy); }

@media (min-width: 900px) {
  .banner__toggle { display: none; }
  .nav { display: block; flex: 1 1 auto; flex-basis: auto; margin-left: 24px; }
  .nav ul { display: flex; gap: 26px; margin: 0; }
  .nav a { border: 0; padding: 6px 0; font-size: .98rem; }
  .banner__phone { flex: 0 0 auto; flex-basis: auto; margin-left: auto; text-align: right; padding-bottom: 0; }
}

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-deep); }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,50,71,.55) 0%, rgba(13,50,71,.35) 40%, rgba(13,50,71,.88) 100%);
}
.hero__inner { padding-top: 120px; padding-bottom: 88px; color: #fff; }
.hero__eyebrow {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.85); margin: 0 0 14px;
}
.hero__headline {
  font-family: Baskervville, Georgia, serif; font-weight: 400;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4rem);
  line-height: 1.08; margin: 0 0 18px; max-width: 16ch;
}
.hero__sub { font-size: 1.15rem; max-width: 54ch; color: rgba(255,255,255,.92); margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero__dots { position: absolute; bottom: 22px; right: 22px; display: flex; gap: 8px; }
.hero__dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8); background: transparent; cursor: pointer;
}
.hero__dots button[aria-selected="true"] { background: #fff; }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--paper-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--area { background: var(--navy-tint); }
.section--intro .lede { font-size: 1.1875rem; }
.section--thanks { padding: clamp(80px, 14vw, 160px) 0; }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-tint); display: block; margin-bottom: 16px;
  background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
}
.card__icon[data-icon="house"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144661' stroke-width='1.8'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3C/svg%3E"); }
.card__icon[data-icon="radon"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144661' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1'/%3E%3C/svg%3E"); }
.card__icon[data-icon="mold"]   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144661' stroke-width='1.8'%3E%3Cpath d='M12 3c3 4 5 6.5 5 9a5 5 0 0 1-10 0c0-2.5 2-5 5-9Z'/%3E%3C/svg%3E"); }
.card__icon[data-icon="insect"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144661' stroke-width='1.8'%3E%3Cellipse cx='12' cy='13' rx='4' ry='7'/%3E%3Cpath d='M12 6V3M8 8 5 5M16 8l3-3M8 13H4M16 13h4M8 18l-3 3M16 18l3 3'/%3E%3C/svg%3E"); }
.card__title { font-family: Baskervville, Georgia, serif; font-weight: 400; font-size: 1.375rem; color: var(--navy); margin: 0 0 10px; }
.card__body { color: var(--gray); font-size: .98rem; margin: 0 0 18px; flex: 1; }
.card__link { font-weight: 600; text-decoration: none; font-size: .95rem; }
.card__link:hover { text-decoration: underline; }

/* Split */
.split { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 60px; } }
.split__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Expect */
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .expect { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .expect { grid-template-columns: repeat(3, 1fr); } }
.expect__item { border-top: 2px solid rgba(255,255,255,.28); padding-top: 18px; }
.expect__title { font-size: 1.0625rem; font-weight: 700; margin: 0 0 6px; color: #fff; }
.expect__body { margin: 0; color: rgba(255,255,255,.82); font-size: .98rem; }

/* Credentials */
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(2, 1fr); } }
.creds__item {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--navy);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap;
}
.creds__label { font-weight: 600; font-size: .98rem; }
.creds__num { color: var(--gray-light); font-size: .9rem; white-space: nowrap; }

/* Chips */
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: .92rem; color: var(--navy); font-weight: 600; }

/* Quotes */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--paper-alt); border-radius: var(--radius); padding: 28px; }
.quote blockquote { margin: 0 0 14px; font-family: Baskervville, Georgia, serif; font-size: 1.15rem; color: var(--ink); }
.quote__by { margin: 0; font-size: .9rem; color: var(--gray-light); }

/* ---------- CTA + form ---------- */

.section--cta { background: var(--navy-deep); }
.cta { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cta__body { color: rgba(255,255,255,.85); font-size: 1.125rem; }
.cta__phone { margin: 22px 0 0; }
.cta__phone a { font-family: Baskervville, Georgia, serif; font-size: 2rem; color: #fff; text-decoration: none; }
.cta__phone a:hover { text-decoration: underline; }

.form { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--gray-light); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.form__note { font-size: .85rem; color: var(--gray-light); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

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

.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 0; font-size: .95rem; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.1fr .8fr 1.1fr; gap: 48px; } }
.footer__mark { margin-bottom: 14px; }
.footer__name { font-family: Baskervville, Georgia, serif; font-size: 1.25rem; color: #fff; margin: 0 0 8px; }
.footer__meta { margin: 0 0 8px; }
.footer a { color: rgba(255,255,255,.88); }
.footer__h { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin: 0 0 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 9px; }
.footer__list--plain li { color: rgba(255,255,255,.78); }
.footer__num { color: rgba(255,255,255,.45); white-space: nowrap; }
.seals { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.seals img { background: rgba(255,255,255,.06); border-radius: var(--radius); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; padding-bottom: 28px; }
.footer__legal p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ============ Interior pages ============ */

.h3 { font-size: 1.125rem; font-weight: 700; margin: 2rem 0 .6rem; color: var(--ink); }
.prose { margin: 0 0 1.1em; color: var(--gray); font-size: 1.0625rem; }
.measure .prose { font-size: 1.1rem; }
.fineprint { font-size: .92rem; color: var(--gray-light); margin-top: 1.4rem; }

.btn--quiet { background: transparent; color: var(--navy); border-color: rgba(20,70,97,.3); }
.btn--quiet:hover { background: var(--navy-tint); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-tint); }

/* Page hero */
.phero { background: var(--navy-tint); border-bottom: 1px solid var(--line); padding: clamp(44px,6vw,72px) 0; }
.phero__inner { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .phero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.phero__eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--navy); margin: 0 0 12px; font-weight: 600; }
.phero__title {
  font-family: Baskervville, Georgia, serif; font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.12;
  color: var(--navy); margin: 0 0 16px;
}
.phero__lede { font-size: 1.125rem; color: var(--gray); margin: 0 0 26px; max-width: 56ch; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.phero__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 460px; }

/* Split variants */
.split--tight { gap: 32px; }
@media (min-width: 900px) { .split--tight { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 900px) { .split--flip .split__text { order: 2; } .split--flip .split__img { order: 1; } }

/* Tick list */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--gray); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 10px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

/* Types of inspections */
.types { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .types { grid-template-columns: repeat(2, 1fr); } }
.types__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; border-left: 3px solid var(--navy);
}
.types__name { display: block; font-weight: 700; margin-bottom: 4px; }
.types__note { display: block; color: var(--gray); font-size: .95rem; }

/* IS / ISN'T comparison */
.compare { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; gap: 22px; } }
.compare__col { border-radius: var(--radius); padding: 26px 24px; }
.compare__col--is { background: var(--navy); color: #fff; }
.compare__col--isnt { background: var(--paper); border: 1px solid var(--line); }
.compare__head {
  font-family: Baskervville, Georgia, serif; font-weight: 400; font-size: 1.3rem;
  margin: 0 0 16px; padding-bottom: 12px;
}
.compare__col--is .compare__head { border-bottom: 1px solid rgba(255,255,255,.25); }
.compare__col--isnt .compare__head { border-bottom: 1px solid var(--line); color: var(--navy); }
.compare__col ul { list-style: none; margin: 0; padding: 0; }
.compare__col li { padding: 10px 0; font-size: .98rem; }
.compare__col--is li { border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.9); }
.compare__col--isnt li { border-bottom: 1px solid var(--line); color: var(--gray); }
.compare__col li:last-child { border-bottom: 0; }

/* System-by-system */
.systems { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .systems { grid-template-columns: repeat(2, 1fr); } }
.system {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.system__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.system__body { padding: 26px 24px; }
.system__name {
  font-family: Baskervville, Georgia, serif; font-weight: 400; font-size: 1.4rem;
  color: var(--navy); margin: 0 0 12px;
}
.system__inspect { margin: 0 0 14px; color: var(--ink); font-size: .98rem; }
.system__looking { margin: 0; color: var(--gray); font-size: .95rem; }
.system__label {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--navy); font-weight: 700; margin-bottom: 4px;
}
.system__note {
  margin: 14px 0 0; padding: 12px 14px; background: var(--navy-tint);
  border-radius: var(--radius); font-size: .88rem; color: var(--gray);
}

/* What I don't do */
.notlist { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.notlist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--gray); }
.notlist li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 14px; height: 2px; background: var(--gray-light);
}

/* Pull quote */
.pull {
  margin: 2.2rem 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--navy);
  font-family: Baskervville, Georgia, serif; font-size: 1.45rem; line-height: 1.35; color: var(--navy);
}

/* Contact extras */
.section--contact { padding-top: clamp(48px,7vw,80px); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.6rem 0 0; }
.cta__sub { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); margin: 30px 0 10px; }
.cta__small { color: rgba(255,255,255,.82); font-size: .98rem; margin: 0; }
.steps { margin: 0; padding-left: 1.2em; color: rgba(255,255,255,.82); }
.steps li { margin-bottom: 8px; font-size: .98rem; }

.areanote { margin-top: 22px; color: var(--gray); font-size: 1rem; }

/* Footer logo on dark */
.footer__mark { width: 190px; height: auto; filter: brightness(0) invert(1); opacity: .9; }

/* Certification seals */
.seals img { height: 64px; width: auto; background: transparent; border-radius: 0; }
.footer .seals img { background: #fff; padding: 6px 8px; border-radius: var(--radius); }
.seals--lg { justify-content: center; gap: 28px; margin-top: 40px; align-items: center; }
.seals--lg img { height: 110px; }
@media (max-width: 600px) { .seals--lg img { height: 78px; } }

/* Hero photo caption (for example, the service discount on the flag photo) */
.hero__badges { position: absolute; top: 24px; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero__badges .wrap { position: relative; }
.hero__badge {
  position: absolute; top: 0; left: 20px; max-width: calc(100% - 40px); margin: 0;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow);
  font-weight: 700; font-size: .95rem; line-height: 1.3;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  opacity: 0; transform: translateY(-4px); transition: opacity .9s ease, transform .9s ease;
}
.hero__badge::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b98b3d'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero__badge.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero__badge { transition: none; } }

/* Contact: intro, then form, then details on phones; form in its own column on desktop */
.cta--contact { grid-template-areas: "intro" "form" "details"; }
.cta__intro { grid-area: intro; }
.cta--contact .form { grid-area: form; }
.cta__details { grid-area: details; }
.cta__details > .cta__sub:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .cta--contact { grid-template-areas: "intro form" "details form"; grid-template-rows: auto 1fr; row-gap: 0; }
  .cta__details > .cta__sub:first-child { margin-top: 30px; }
}
.phero__eyebrow--invert { color: #fff; }

/* "Next service" button between page content and the closing banner */
.section--next { padding: 0 0 clamp(56px, 8vw, 96px); margin-top: calc(-1 * clamp(24px, 4vw, 48px)); background: var(--paper); }
.section--alt + .section--next { background: var(--paper-alt); }

/* Text-message consent (contact form) */
.consent { border: 0; padding: 0; margin: 4px 0 18px; }
.consent__legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; line-height: 1.4; margin: 0 0 8px; cursor: pointer; }
.consent__opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy-deep); }
.consent__fine { margin-top: 16px; }
.consent__fine p { font-size: .78rem; line-height: 1.5; color: #5f5e5c; margin: 0 0 8px; }
.consent__fine a { color: inherit; overflow-wrap: anywhere; }

/* Facebook icon beside the phone number (header and footer) */
.banner__contact { flex-basis: 100%; display: flex; align-items: center; gap: 14px; padding-bottom: 12px; }
.banner__contact .banner__phone { flex-basis: auto; padding-bottom: 0; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.social--banner { color: var(--navy); border: 1px solid var(--line); }
.social--banner:hover, .social--banner:focus-visible { background: var(--navy); color: #fff; }
.footer__contact { display: flex; align-items: center; gap: 12px; }
.social--footer { width: 34px; height: 34px; color: #fff; background: rgba(255,255,255,.12); }
.social--footer svg { width: 18px; height: 18px; }
.social--footer:hover, .social--footer:focus-visible { background: rgba(255,255,255,.25); }
@media (min-width: 900px) {
  .banner__contact { flex: 0 0 auto; flex-basis: auto; margin-left: auto; padding-bottom: 0; }
  .banner__contact .banner__phone { margin-left: 0; }
}

/* Service cards: with five services, lay out 3 + 2 with the second row centered */
@media (min-width: 1000px) {
  .cards:has(> :nth-child(5)) { display: flex; flex-wrap: wrap; justify-content: center; }
  .cards:has(> :nth-child(5)) > .card { flex: 0 0 calc((100% - 40px) / 3); }
}
.card__icon[data-icon="water"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144661' stroke-width='1.8'%3E%3Cpath d='M4 7h9a3 3 0 0 1 3 3v1'/%3E%3Cpath d='M4 4v6'/%3E%3Cpath d='M16 14c1.4 2 2.5 3.3 2.5 4.6a2.5 2.5 0 0 1-5 0c0-1.3 1.1-2.6 2.5-4.6Z'/%3E%3C/svg%3E"); }
