/* Roofmate External Cleaning — stylesheet. Hand written, no framework, no external requests. */

/* Palette sampled straight out of the REC logo: charcoal #343434, sky #81e1fc,
   white. Sky is a bright tint, so it only clears contrast on dark ground
   (8.4:1 on charcoal) and can never be text or a border on white. --blue is
   the same hue pulled down until it passes on white (6.7:1), and it carries
   every link, button and focus ring on light backgrounds. */
:root {
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --muted: #6e6e6e;
  --line: #e0e0e0;
  --line-soft: #efefef;
  --bg: #ffffff;
  --bg-alt: #f4f6f7;
  --bg-deep: #262626;
  --charcoal: #343434;
  --blue: #0c6480;
  --blue-dark: #084f66;
  --sky: #81e1fc;
  --sky-soft: #e8f8fe;
  --warn: #8a5b00;
  --warn-bg: #fff6e0;
  --ok: #1f6b45;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(28, 28, 28, .06), 0 8px 24px rgba(28, 28, 28, .06);
  --shadow-lg: 0 2px 4px rgba(28, 28, 28, .06), 0 18px 48px rgba(28, 28, 28, .12);
  --wrap: 1140px;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Archivo", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Self hosted so the site keeps making zero external requests and the CSP can
   stay on font-src 'self'. Both are variable fonts, latin subset only. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibmplexsans-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.018em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.lede { font-size: 1.18rem; color: var(--ink-soft); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.center { text-align: center; }

/* ---------- placeholder token ---------- */
.tbc {
  display: inline-block; background: var(--warn-bg); color: var(--warn);
  border: 1px dashed #d8b45e; border-radius: 5px;
  padding: 0 .45em; font-size: .82em; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap; cursor: help;
}

/* ---------- header ---------- */
.topbar {
  background: var(--bg-deep); color: #bfbfbf; font-size: .84rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar a { color: #ffffff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--sky); }

.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.5) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
/* The REC roofline on its charcoal tile, matching the logo but redrawn so it
   stays crisp small. The supplied file bakes the business name in at a size
   that is unreadable in a header, which then repeats beside it. */
.brand-mark {
  width: 44px; height: 44px; border-radius: 9px; background: var(--charcoal);
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--font-head); color: var(--ink); font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; }
.brand-sub { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: 9px 12px; border-radius: 7px; white-space: nowrap;
}
.nav a:hover { background: var(--bg-alt); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--sky-soft); }

.has-menu { position: relative; }
.has-menu > .menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 7px; display: none; z-index: 70;
}
.has-menu:hover > .menu, .has-menu:focus-within > .menu { display: block; }
.menu a { display: block; padding: 8px 11px; font-weight: 500; font-size: .91rem; }
.menu .menu-all { border-top: 1px solid var(--line-soft); margin-top: 5px; padding-top: 9px; font-weight: 700; color: var(--charcoal); }

.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none; margin-left: auto; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 13px; font: inherit; font-weight: 700; font-size: .88rem;
  color: var(--ink); cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head);
  padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: .96rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 10px rgba(12,100,128,.25); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--charcoal); color: var(--charcoal); background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-light:hover { background: var(--sky-soft); color: var(--charcoal); }
/* The loud one. Only for dark ground, where sky on charcoal runs 8.4:1. */
.btn-bright { background: var(--sky); color: var(--charcoal); }
.btn-bright:hover { background: #a3ebff; color: var(--charcoal); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(129,225,252,.10), transparent 62%),
    linear-gradient(168deg, #262626 0%, #2e2e2e 52%, #343434 100%);
  color: #d4d4d4; padding: 78px 0 84px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(to top, rgba(255,255,255,.05), transparent);
  pointer-events: none;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .eyebrow { color: #81e1fc; }
.hero .lede { color: #cfcfcf; font-size: 1.22rem; max-width: 54ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-services { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-services li {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 6px 13px; border-radius: 100px; font-size: .87rem; font-weight: 600; color: #e9e9e9; margin: 0;
}

.hero-card {
  background: #fff; color: var(--ink-soft); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { margin-bottom: .3em; }
.hero-card .fine { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- rating block ---------- */
.rating { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.stars { color: #f0a930; font-size: 1.05rem; letter-spacing: 1px; }
.rating-text { font-size: .92rem; font-weight: 600; color: #d4d4d4; }
.hero-card .rating-text { color: var(--ink-soft); }

/* ---------- trust badges ---------- */
.trust { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { text-align: center; padding: 6px 10px; }
.trust-value { display: block; font-weight: 800; color: var(--ink); font-size: 1.06rem; margin-bottom: 2px; }
.trust-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

/* ---------- sections ---------- */
section { padding: 68px 0; }
section.tight { padding: 46px 0; }
section.alt { background: var(--bg-alt); }
section.deep { background: var(--bg-deep); color: #c9c9c9; }
section.deep h2, section.deep h3 { color: #fff; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flat, ruled at the top rather than boxed on all four sides, no lift on hover.
   Same reasoning as .svc-list: the floating rounded tile is the tell. */
.card {
  background: transparent; border: 0; border-top: 2px solid var(--charcoal);
  border-radius: 0; padding: 20px 0 4px; display: flex; flex-direction: column;
  transition: border-color .15s ease;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1em; }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--blue); }
.card .card-link::after { content: " →"; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-top-color: var(--blue); }
a.card:hover h3, a.card:hover .card-link { color: var(--blue); }
section.deep .card { border-top-color: var(--sky); }
section.deep .card p { color: #bdbdbd; }
section.deep .card .card-link { color: var(--sky); }

.card-icon { margin-bottom: 14px; }
.card-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
section.deep .card-icon svg { stroke: var(--sky); }

/* ---------- service list ----------
   Deliberately not cards. A bordered rounded tile with an icon chip in a 3-up
   grid is the single most recognisable generated-website pattern going, and
   Gareth's customers are comparing this against real trade sites. This is a
   hairline-ruled index instead: reads like a services list on a quote, and it
   takes photos later without a rebuild. */
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.svc-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 26px 14.5rem 1fr auto; gap: 26px;
  align-items: baseline; padding: 24px 6px; text-decoration: none; color: inherit;
  transition: background .13s ease;
}
.svc-row:hover { background: var(--sky-soft); }
.svc-row .svc-ico { align-self: center; }
.svc-row .svc-ico svg {
  width: 24px; height: 24px; stroke: var(--blue); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.svc-row h3 { margin: 0; font-size: 1.16rem; }
.svc-row p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.svc-row .go { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--blue); white-space: nowrap; }
.svc-row .go::after { content: " \2192"; }
.svc-row:hover h3, .svc-row:hover .go { color: var(--blue); }

section.deep .svc-list { border-top-color: rgba(255,255,255,.16); }
section.deep .svc-list > li { border-bottom-color: rgba(255,255,255,.16); }
section.deep .svc-row:hover { background: rgba(255,255,255,.05); }
section.deep .svc-row p { color: #bdbdbd; }
section.deep .svc-row .svc-ico svg { stroke: var(--sky); }
section.deep .svc-row .go, section.deep .svc-row:hover h3 { color: var(--sky); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-left: 54px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--charcoal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}
.step h3 { margin-bottom: .3em; font-size: 1.08rem; }
.step p { font-size: .95rem; margin: 0; }
section.deep .step p { color: #bdbdbd; }

/* ---------- checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .65em; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .5em; width: 7px; height: 12px;
  border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; align-items: start; }
.split-narrow { grid-template-columns: 1fr 1fr; }
.aside {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 96px;
}
.aside h3 { font-size: 1.06rem; }
.aside p { font-size: .93rem; }
.aside .btn { width: 100%; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
tbody tr:hover { background: var(--bg-alt); }
td strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; color: var(--ink);
  list-style: none; position: relative; font-size: 1.03rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 15px; font-size: 1.5rem;
  font-weight: 400; color: var(--blue); line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 40px 20px 0; }
.faq-item .faq-body p { margin: 0; color: var(--ink-soft); }

/* ---------- area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1.4em; list-style: none; }
.chips li { margin: 0; }
.chips a {
  display: inline-block; padding: 8px 15px; border-radius: 100px; background: #fff;
  border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.chips a:hover { border-color: var(--blue); background: var(--sky-soft); color: var(--charcoal); }
section.deep .chips a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e9e9e9; }
section.deep .chips a:hover { background: var(--sky); border-color: var(--sky); color: var(--charcoal); }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .96rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(12,100,128,.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); margin: 5px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.checkgrid label {
  display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 8px; font-weight: 600; font-size: .91rem; cursor: pointer; margin: 0; color: var(--ink);
}
.checkgrid label:hover { border-color: var(--blue); background: var(--bg-alt); }
.checkgrid input { width: auto; accent-color: var(--charcoal); }

/* ---------- notice ---------- */
.notice {
  background: var(--warn-bg); border: 1px solid #e8ce8e; border-left: 4px solid #d8a437;
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 26px;
}
.notice p { margin: 0; font-size: .93rem; color: #6b4a08; }
.notice strong { color: #4d3505; }

/* ---------- testimonials ---------- */
.quote { margin: 0 0 26px; padding-left: 22px; border-left: 3px solid var(--sky); }
.quote blockquote { margin: 0 0 .7em; font-size: 1.06rem; color: var(--ink); }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--muted); }

/* ---------- real photos ---------- */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); }
.photo figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
section.deep .photo figcaption { color: #a8a8a8; }

/* ---------- placeholder tiles ---------- */
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ph {
  aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--bg-alt); display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .85rem; font-weight: 600; padding: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, #343434, #262626); color: #d4d4d4;
  border-radius: var(--radius-lg); padding: 44px; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { max-width: 56ch; margin: 0 auto 1.6em; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--charcoal); text-decoration: underline; }
.crumb span { margin: 0 7px; opacity: .6; }

/* ---------- page head ---------- */
.page-head { padding: 40px 0 12px; }
.page-head h1 { margin-bottom: .35em; }
.page-head .lede { max-width: 62ch; margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); color: #a8a8a8; padding: 56px 0 26px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 14px; }
.site-footer a { color: #d4d4d4; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 36px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- sticky mobile call bar (shown under 720px) ---------- */
.callbar { display: none; }


/* ---------- accessibility ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px; font-weight: 700;
  border-radius: 0 0 8px 0; text-decoration: none;
}
.skip:focus { left: 0; color: #fff; }

/* Neither brand colour clears 3:1 on both grounds, so the ring is a token and
   every dark surface flips it to sky. Blue on charcoal is only 2.3:1. */
.topbar, .hero, section.deep, .cta-band, .site-footer, .callbar { --focus: var(--sky); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus, var(--blue));
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sticky header would otherwise cover the target of an in-page jump. */
:target { scroll-margin-top: 96px; }
h1, h2, h3, #main { scroll-margin-top: 96px; }

/* Honeypot. Hidden from people, still reachable by the bots that fill it. */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- form status ---------- */
.form-status {
  margin: 14px 0 0; padding: 12px 15px; border-radius: 8px;
  font-size: .93rem; font-weight: 600; text-align: left;
}
.form-status.is-ok { background: #e9f4ee; color: var(--ok); border: 1px solid #b7d5c5; }
.form-status.is-err { background: #fdecec; color: #9b2226; border: 1px solid #f0c2c2; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid {
  border-color: #c0504d; box-shadow: 0 0 0 3px rgba(192,80,77,.12);
}
code {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 5px; font-size: .88em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split-narrow { grid-template-columns: 1fr; gap: 34px; }
  .aside { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 26px 1fr auto; gap: 8px 18px; align-items: start; }
  .svc-row h3 { grid-column: 2; }
  .svc-row p { grid-column: 2 / -1; }
  .svc-row .go { grid-column: 3; grid-row: 1; align-self: center; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    padding: 10px 16px 18px; gap: 2px; box-shadow: var(--shadow-lg); max-height: 78vh; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .has-menu > .menu {
    position: static; display: block; box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; padding: 0 0 0 12px; margin: 2px 0 6px 10px; min-width: 0;
  }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta a { text-align: center; background: var(--blue); color: #fff !important; }
  .site-header .wrap { position: relative; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 68px; }
  section { padding: 44px 0; }
  .hero { padding: 44px 0 52px; }
  .hero h1 { max-width: none; }
  .hero .lede { font-size: 1.08rem; }
  .grid-2, .grid-3, .grid-4, .ph-grid, .checkgrid, .field-row { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 24px 1fr; gap: 6px 14px; padding: 20px 2px; }
  .svc-row h3 { grid-column: 2; font-size: 1.08rem; }
  .svc-row p { grid-column: 2; }
  .svc-row .go { grid-column: 2; grid-row: auto; margin-top: 6px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 30px 20px; }
  .form-card { padding: 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .aside { padding: 20px 18px; }

  /* Topbar: the email is noise on a phone, the phone number is the point. */
  .topbar { padding: 9px 0; }
  .topbar .wrap { justify-content: center; gap: 10px; font-size: .82rem; }
  .topbar .wrap span:first-child { display: none; }

  /* Full-width buttons beat side-by-side ones squeezed onto a phone. */
  .btn { padding: 15px 22px; width: 100%; }
  .btn-row { flex-direction: column; gap: 10px; }
  .btn-row .btn { width: 100%; }
  .nav-cta .btn, .chips a, .menu a { width: auto; }

  /* Tap targets: 44px minimum. */
  .chips a { padding: 11px 17px; }
  .faq-item summary { padding: 17px 40px 17px 0; }
  .menu a { padding: 12px 11px; }
  .checkgrid label { padding: 14px 15px; }
  .field input, .field select, .field textarea { padding: 14px; font-size: 16px; }

  h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  h2 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .section-head { margin-bottom: 30px; }
  .hero-services li { font-size: .82rem; padding: 5px 11px; }
  .step { padding-left: 48px; }
  .split, .hero-grid { gap: 28px; }

  .callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
    border-top: 1px solid rgba(255,255,255,.14);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .callbar a {
    flex: 1; padding: 16px 8px; text-align: center; font-weight: 700; font-size: .95rem;
    text-decoration: none; color: #fff; min-height: 52px;
  }
  .callbar .call { background: var(--charcoal); }
  /* The primary action on a phone, so it gets the bright brand colour. Sky
     needs charcoal type, not the white the rest of the bar uses. */
  .callbar .quote { background: var(--sky); color: var(--charcoal); }
}

@media (max-width: 400px) {
  .wrap { padding: 0 18px; }
  .trust-grid { grid-template-columns: 1fr; gap: 10px; }
  .trust-item { display: flex; justify-content: space-between; align-items: baseline; text-align: left; padding: 6px 0; }
  .brand-sub { font-size: .62rem; }
  .rating { flex-wrap: wrap; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
