:root {
  --navy: #12224d;
  --blue: #1e4da1;
  --green: #58b336;
  --green-ink: #2b7a1c;
  --paper: #f3f5f8;
  --white: #ffffff;
  --ink: #1e2430;
  --muted: #55607a;
  --line: #d5dbe6;
  --head: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1.0625rem; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.15rem; padding: .75rem 1.5rem; border-radius: 6px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: #6cc94a; }
.btn-line { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* Header and nav */
header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: .25rem; }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a.link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .25rem 0; }
nav a.link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
nav a.link[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 0 -3px 0 var(--green); }
nav .btn { padding: .5rem 1rem; font-size: 1.02rem; }
.menu-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 6px; padding: .4rem .9rem; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  nav.open { display: flex; }
  nav a.link { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  nav a.link[aria-current="page"] { box-shadow: none; }
  nav .btn { margin-top: 1rem; text-align: center; }
}
@media (max-width: 430px) { .brand small { display: none; } .brand { font-size: 1.15rem; } }

/* Home hero */
.hero { background: var(--navy); color: var(--white); padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { color: var(--white); }
.hero-grid { display: grid; gap: 3rem; grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: #d6def0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero .phone { margin-top: 1.4rem; color: #b8c4e0; font-size: .98rem; }
.hero .phone a { color: var(--white); font-weight: 600; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Interior page header */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: .3em; }
.page-hero p { color: #d6def0; font-size: 1.15rem; margin: 0; }

/* Punch list */
.punch { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 1.6rem 1.6rem 1.3rem; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.punch h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.punch .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.punch ul { list-style: none; margin: 0; padding: 0; }
.punch li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); font-weight: 500; --d: 0s; }
.box { flex: none; width: 24px; height: 24px; border: 2px solid var(--blue); border-radius: 4px; position: relative; background: var(--white); }
.box::after { content: ""; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(40deg); opacity: 0; }
.punch li .txt { position: relative; }
.punch li .txt::after { content: ""; position: absolute; left: 0; top: 52%; height: 2px; width: 0; background: var(--muted); }
.punch li .box { animation: fill .3s ease forwards; animation-delay: var(--d); }
.punch li .box::after { animation: tick .2s ease forwards; animation-delay: var(--d); }
.punch li .txt { animation: fade .3s ease forwards; animation-delay: var(--d); }
.punch li .txt::after { animation: strike .3s ease forwards; animation-delay: var(--d); }
.punch li:nth-child(1) { --d: .8s; } .punch li:nth-child(2) { --d: 1.35s; } .punch li:nth-child(3) { --d: 1.9s; } .punch li:nth-child(4) { --d: 2.45s; } .punch li:nth-child(5) { --d: 3s; }
@keyframes fill { to { background: var(--green); border-color: var(--green); } }
@keyframes tick { to { opacity: 1; } }
@keyframes fade { to { color: var(--muted); } }
@keyframes strike { to { width: 100%; } }
.punch .foot { border-top: 2px solid var(--navy); margin-top: .2rem; padding-top: .9rem; font-size: .95rem; color: var(--muted); margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .punch li .box, .punch li .box::after, .punch li .txt, .punch li .txt::after { animation-duration: .001s; animation-delay: 0s; }
}

/* Service summaries and lists */
.services-grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(3, 1fr); margin-top: 2.2rem; }
.svc { border-top: 4px solid var(--blue); padding-top: 1rem; }
.svc:nth-child(2) { border-color: var(--green); }
.svc ul, .checklist { list-style: none; margin: 0; padding: 0; }
.svc li, .checklist li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-bottom: 1px solid var(--line); }
.svc li::before, .checklist li::before { content: ""; position: absolute; left: 2px; top: .85rem; width: 6px; height: 11px; border: solid var(--green-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.more { margin-top: 2rem; }
.more a { font-family: var(--head); font-weight: 600; font-size: 1.2rem; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

/* Detailed services page */
.svc-block { border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; }
.svc-block.alt { background: var(--white); }
.svc-block .split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.svc-block .checklist { columns: 2; column-gap: 2.5rem; }
.svc-block .checklist li { break-inside: avoid; }
@media (max-width: 860px) { .svc-block .split { grid-template-columns: 1fr; gap: 1.5rem; } .svc-block .checklist { columns: 1; } }

/* Trust band */
.trust { background: var(--navy); color: var(--white); }
.trust h2 { color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2rem; }
.trust-grid div { border-top: 3px solid var(--green); padding-top: .9rem; }
.trust-grid strong { display: block; font-family: var(--head); font-size: 1.35rem; font-weight: 600; margin-bottom: .3rem; }
.trust-grid span { color: #d6def0; font-size: .98rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* Steps */
.how { background: var(--white); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.2rem; counter-reset: s; }
.step { padding: 0 1.4rem 0 0; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: .9rem; }
.step::after { content: ""; position: absolute; top: 20px; left: 52px; right: 12px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .98rem; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step { padding-left: 58px; padding-right: 0; }
  .step::before { position: absolute; left: 0; top: 0; }
  .step::after { display: none; }
}

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.values { margin: 0; padding: 0; list-style: none; border-left: 4px solid var(--green); }
.values li { padding: .9rem 0 .9rem 1.4rem; border-bottom: 1px solid var(--line); }
.values li:last-child { border-bottom: 0; }
.values strong { display: block; font-family: var(--head); font-size: 1.3rem; color: var(--navy); font-weight: 600; }
.values span { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Service area */
.towns { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.towns li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem 1rem; font-weight: 500; }
.prep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.prep div { border-top: 4px solid var(--blue); padding-top: 1rem; }
.prep h3 { font-size: 1.25rem; }
.prep p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .prep { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--white); border-top: 1px solid var(--line); text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; color: var(--muted); }

/* Quote form */
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.direct { margin-top: 1.6rem; padding: 0; list-style: none; }
.direct li { padding: .5rem 0; border-top: 1px solid var(--line); }
.direct b { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
input, select, textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1.5px solid #aab4c8; border-radius: 6px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--blue); }
textarea { min-height: 130px; resize: vertical; }
form .btn { width: 100%; font-size: 1.25rem; }
.hint { font-size: .88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; gap: 2rem; } form { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--navy); color: #b8c4e0; padding: 3rem 0 1.5rem; font-size: .95rem; }
footer a { color: var(--white); }
footer .quad { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
footer strong { color: var(--white); font-family: var(--head); font-size: 1.25rem; font-weight: 600; display: block; margin-bottom: .4rem; }
footer p { margin: 0 0 .3rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: .3rem; }
footer .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; }
@media (max-width: 860px) { footer .quad { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer .quad { grid-template-columns: 1fr; } }
