/* Cover Flow Roofing
   Category-standard roofer site: off-white ground, charcoal ink and strips,
   one forest green for actions only, square corners, Estedad display, Geist body.
   Desktop geometry is bound to the approved comp (.impeccable/mocks/comp-1.png,
   1536x1024): 1 --u equals 1px at a 1536px-wide frame. */

@font-face { font-family: "Estedad"; src: url("/assets/fonts/estedad-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("/assets/fonts/estedad-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --ink: #1e2124;
  --body: #383c40;
  --muted: #5d6268;
  --line: #c9ccd0;
  --line-soft: #e3e4e1;
  --green: #1f5d45;
  --green-dark: #174634;
  --error: #b42318;

  --font-head: "Estedad", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --u: 1px;
  --gutter: 1.25rem;
  --container: 1440px;
  --header-h: 64px;
  --radius: 0;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.15s;
}
@media (min-width: 1100px) {
  :root {
    --u: calc(min(100vw, 1680px) / 1536);
    --gutter: calc(45 * var(--u));
    --header-h: calc(83 * var(--u));
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
.hero-media picture, .page-hero .media picture { height: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6875rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.75rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; padding: 0.7rem 1.5rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1.125rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #33383d; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 1rem; max-width: none; padding-right: calc(28 * var(--u)); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 3.25rem; height: auto; }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.primary-nav { display: none; }
.header-call {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 2.75rem; padding: 0 0.9rem;
  background: var(--green); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.header-call:hover { background: var(--green-dark); }
.header-call:active { transform: translateY(1px); }
.header-call .icon { width: 1.25rem; height: 1.25rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-weight: 500; color: var(--ink); font-size: 1.125rem; }

@media (max-width: 420px) {
  .brand span { font-size: 1.15rem; }
  .brand img { width: 2.6rem; }
  .header-call .num { display: none; }
}
@media (min-width: 1100px) {
  .site-header .container { padding-left: calc(42 * var(--u)); }
  .brand { gap: calc(16 * var(--u)); }
  .brand img { width: calc(88 * var(--u)); }
  .brand span { font-size: calc(37 * var(--u)); }
  .primary-nav { display: flex; gap: calc(60 * var(--u)); margin-left: calc(160 * var(--u)); }
  .primary-nav a { font-weight: 600; letter-spacing: -0.01em; font-size: calc(22 * var(--u)); color: var(--ink); text-decoration: none; padding-block: 0.25rem; border-bottom: 2px solid transparent; transition: border-color var(--dur-fast) var(--ease-out); }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { border-bottom-color: var(--green); }
  .header-call { height: calc(51 * var(--u)); width: calc(220 * var(--u)); justify-content: center; gap: calc(15 * var(--u)); padding: 0 0 0 calc(8 * var(--u)); font-weight: 700; font-size: calc(22 * var(--u)); letter-spacing: -0.03em; }
  .header-call .icon { width: calc(27 * var(--u)); height: calc(27 * var(--u)); }
  .nav-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 24, 0.72) 0%, rgba(20, 22, 24, 0.45) 55%, rgba(20, 22, 24, 0.15) 100%); }
.hero-inner { position: relative; display: grid; gap: 2rem; padding-block: 3rem 2.5rem; }
.hero-copy h1 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.0625rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 13em; }
.hero-copy .subhead { margin-top: 1rem; font-size: clamp(1.125rem, 1rem + 0.9vw, 1.875rem); line-height: 1.15; max-width: 22em; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-ctas .btn { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

.quote-card { background: var(--card); color: var(--body); padding: 1.5rem; border: 1px solid var(--line-soft); }
.quote-card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); color: var(--ink); line-height: 1.05; }
.lead-form { display: grid; gap: 0.75rem; }
.quote-card .lead-form { margin-top: 1rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; height: 2.75rem; padding: 0 0.85rem;
  background: #fff; border: 1px solid #a9adb3; border-radius: var(--radius);
  font-size: 1.0625rem; color: var(--ink);
}
.lead-form ::placeholder { color: #5d6268; opacity: 1; }
.lead-form select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; color: #5d6268; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231e2124'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1rem; }
.lead-form select.filled, .lead-form select:valid { color: var(--ink); }
.lead-form textarea { height: 5.9rem; padding-block: 0.6rem; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.lead-form .btn { width: 100%; margin-top: 0.25rem; min-height: 3.25rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--error); font-weight: 600; }
.form-success h3 { color: var(--green); margin-bottom: 0.5rem; }

@media (min-width: 1100px) {
  .hero { height: calc(622 * var(--u)); }
  .hero-inner { display: block; height: 100%; padding: 0; max-width: none; }
  .hero-copy { position: absolute; left: calc(48 * var(--u)); top: calc(152 * var(--u)); width: calc(800 * var(--u)); }
  .hero-copy h1 { font-size: calc(65 * var(--u)); line-height: calc(66 * var(--u)); max-width: none; }
  .hero-copy .subhead { margin-top: calc(10 * var(--u)); letter-spacing: -0.01em; font-size: calc(29 * var(--u)); line-height: calc(33 * var(--u)); max-width: calc(660 * var(--u)); }
  .hero .hero-ctas { position: absolute; left: calc(50 * var(--u)); top: calc(400 * var(--u)); margin: 0; gap: calc(18 * var(--u)); flex-wrap: nowrap; }
  .hero .hero-ctas .btn { height: calc(60 * var(--u)); min-height: 0; padding: 0; font-size: calc(24 * var(--u)); border-width: calc(3 * var(--u)); }
  .hero .hero-ctas .btn-primary { width: calc(283 * var(--u)); }
  .hero .hero-ctas .btn-ghost { width: calc(258 * var(--u)); }
  .quote-card { position: absolute; left: calc(1078 * var(--u)); top: calc(50 * var(--u)); width: calc(430 * var(--u)); height: calc(496 * var(--u)); padding: calc(26 * var(--u)) calc(27 * var(--u)) 0 calc(31 * var(--u)); border: 0; }
  .quote-card h2 { font-size: calc(36 * var(--u)); line-height: calc(40 * var(--u)); }
  .quote-card .lead-form { margin-top: calc(17 * var(--u)); gap: calc(12 * var(--u)); }
  .quote-card .lead-form input, .quote-card .lead-form select { height: calc(40 * var(--u)); font-size: calc(18 * var(--u)); padding: 0 calc(13 * var(--u)); }
  .quote-card .lead-form textarea { height: calc(94 * var(--u)); margin-top: calc(5 * var(--u)); font-size: calc(18 * var(--u)); padding: calc(10 * var(--u)) calc(13 * var(--u)); }
  .quote-card .lead-form .btn { height: calc(53 * var(--u)); min-height: 0; margin-top: calc(8 * var(--u)); font-size: calc(23 * var(--u)); }
}

/* Trust strip */
.trust-strip { background: var(--ink); color: #fff; }
.trust-strip ul { list-style: none; padding: 1.1rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.25rem; }
.trust-strip li { font-weight: 600; font-size: 1rem; line-height: 1.3; }
@media (min-width: 900px) and (max-width: 1279px) { .trust-strip ul { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
@media (min-width: 1280px) {
  .trust-strip .container { max-width: none; }
  .trust-strip ul { height: calc(83 * var(--u)); padding: 0; display: flex; align-items: center; justify-content: space-between; padding-inline: calc(36 * var(--u)) calc(16 * var(--u)); }
  .trust-strip li { font-size: calc(21 * var(--u)); letter-spacing: -0.01em; white-space: nowrap; display: flex; align-items: center; height: calc(36 * var(--u)); }
  .trust-strip li + li { border-left: 1px solid rgba(255, 255, 255, 0.55); padding-left: calc(40 * var(--u)); }
  .trust-strip li:not(:last-child) { padding-right: calc(40 * var(--u)); }
}

/* Sections */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section-alt { background: #eeeeeb; }
.section-dark { background: var(--ink); color: #e9eaeb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 50rem; margin-bottom: 2.5rem; }
.section-head h2, .split h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section-head p { margin-top: 1rem; font-size: 1.125rem; }
.overline { display: block; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 0.75rem; }
.section-dark .overline { color: #9fd3bd; }
.lede { font-size: 1.1875rem; line-height: 1.6; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4rem; }
.prose h2 { margin: 3rem 0 1rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.prose h3 { margin: 2rem 0 0.6rem; }
.prose a { color: var(--green); font-weight: 500; }
.source { font-size: 0.875rem; color: var(--muted); }
.source a { color: var(--muted); }

/* Services: homepage first viewport sits at the comp's y=788 */
.services-home { padding-top: 2.5rem; }
.services-home h2 { margin-bottom: 1.75rem; }
@media (min-width: 1100px) {
  .services-home { padding-top: calc(50 * var(--u)); }
  .services-home .container { max-width: none; padding-left: calc(43 * var(--u)); padding-right: calc(45 * var(--u)); }
  .services-home h2 { font-size: calc(59 * var(--u)); line-height: calc(64 * var(--u)); margin-left: calc(3 * var(--u)); margin-bottom: calc(30 * var(--u)); }
}
.feature-cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .feature-cards { grid-template-columns: repeat(4, 1fr); gap: calc(24 * var(--u)); } }
.feature-card { display: flex; flex-direction: column; background: var(--card); text-decoration: none; color: inherit; }
.feature-card .body { border: 1px solid var(--line-soft); border-top: 0; transition: border-color var(--dur-fast) var(--ease-out); }
.feature-card:hover .body { border-color: var(--ink); }
.feature-card picture { display: block; overflow: hidden; }
.feature-card img { width: 100%; aspect-ratio: 344 / 100; object-fit: cover; object-position: 50% var(--focus-y, 0%); transition: transform 0.5s var(--ease-out); }
.feature-card:hover img { transform: scale(1.04); }
.feature-card .body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.feature-card h3 { font-size: 1.375rem; }
.feature-card .more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--green); }
.feature-card .more .icon { transition: transform var(--dur-fast) var(--ease-out); }
.feature-card:hover .more .icon { transform: translateX(3px); }

.service-index { margin-top: 3rem; display: grid; gap: 0 2.5rem; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 768px) { .service-index { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .service-index { grid-template-columns: 1fr 1fr 1fr; } }
.service-index a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.0625rem; }
.service-index a:hover { color: var(--green); }
.service-index a .icon { width: 1.1rem; height: 1.1rem; color: var(--green); align-self: center; }

/* Why choose: numbered-free three pillars, ruled columns */
.pillars { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pillars { grid-template-columns: 1.25fr 1fr 1fr; gap: 0; } .pillars > * { padding: 0 2rem; } .pillars > *:first-child { padding-left: 0; } .pillars > * + * { border-left: 1px solid var(--line); } }
.pillar h3 { margin-bottom: 0.75rem; }
.pillar .fact { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.pillar .fact strong { color: var(--ink); font-weight: 600; }
.section-dark .pillar .fact { border-color: rgba(255,255,255,0.2); color: #c4c7ca; }
.section-dark .pillar .fact strong { color: #fff; }
.section-dark .pillars > * + * { border-color: rgba(255,255,255,0.2); }

/* Problem chunks: two-column grouped list with left rule */
.chunks { display: grid; gap: 2.5rem 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .chunks { grid-template-columns: 1fr 1fr; } }
.chunk { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.chunk h3 { margin-bottom: 0.5rem; }
.chunk .fact { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--muted); }

/* Service types: media split */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: 5fr 7fr; gap: 4rem; } .split .sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
.split .media img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: 50% var(--focus-y, 50%); }
.type-list { display: grid; gap: 0; }
.type-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.type-list article:first-child { padding-top: 0; }
.type-list h3 { margin-bottom: 0.5rem; }
.type-list h3 a { text-decoration: none; }
.type-list h3 a:hover { color: var(--green); }
.type-list .fact { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--muted); }

/* Mid-page form band */
.form-band { background: var(--green); color: #fff; }
.form-band .container { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .form-band .container { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.form-band h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.form-band p { margin-top: 1rem; font-size: 1.125rem; color: #e4efe9; }
.form-band .lead-form { background: #fff; padding: 1.5rem; color: var(--body); }
.form-band .lead-form .row { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .form-band .lead-form .row { grid-template-columns: 1fr 1fr; } }
.form-band .lead-form .btn { background: var(--ink); }
.form-band .lead-form .btn:hover { background: #33383d; }

/* Reviews placeholder */
.proof { display: grid; gap: 2rem; }
@media (min-width: 900px) { .proof { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }
.placeholder-note { border: 2px dashed var(--line); padding: 1.5rem; background: #fff; }
.placeholder-note strong { color: var(--ink); }
.review-slots { display: grid; gap: 1rem; }
@media (min-width: 640px) { .review-slots { grid-template-columns: 1.3fr 1fr; } .review-slots > :first-child { grid-row: span 2; } }
.review-slot { background: #fff; border: 1px solid var(--line-soft); padding: 1.5rem; }
.review-slot p { color: var(--muted); }

/* Areas */
.areas { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .areas { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.area { border-top: 2px solid var(--ink); padding-top: 1rem; }
.area h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.area p { font-size: 0.9375rem; }

/* FAQ */
.faq { max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; color: var(--green); transition: transform var(--dur-fast) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > p { padding: 0 0 1.25rem; max-width: 46rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #e9eaeb; }
.cta-band .container { display: grid; gap: 1.5rem; padding-block: 4rem; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.cta-band p { margin-top: 0.75rem; font-size: 1.125rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #e9eaeb; position: relative; overflow: hidden; }
.page-hero .media { position: absolute; inset: 0; }
.page-hero .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero .container { position: relative; padding-block: 1.25rem 3.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.75rem); max-width: 18em; margin-top: 1.5rem; }
.page-hero .subhead { margin-top: 1rem; font-size: 1.1875rem; max-width: 40rem; color: #f0f1f2; }
.page-hero .hero-ctas { margin-top: 1.75rem; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.875rem; color: #c9ccd0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #8b9096; }
.breadcrumbs a { color: #e9eaeb; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 500; }

/* Service page layout */
.page-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .page-layout { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; } }
.aside-stack { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { background: #fff; border: 1px solid var(--line-soft); padding: 1.5rem; }
.aside-card h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.aside-card .lead-form { margin-top: 1rem; }
.aside-links { list-style: none; padding: 0; }
.aside-links li a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); }
.aside-links li a:hover { color: var(--green); }
.aside-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.steps li::before { content: counter(step); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #fff; background: var(--ink); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.compare { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.9875rem; }
.compare th, .compare td { text-align: left; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); }
.table-wrap { overflow-x: auto; }
.local-note { background: #fff; border: 1px solid var(--line-soft); padding: 1.25rem 1.5rem; margin-top: 1rem; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.125rem; }

/* Footer */
.site-footer { background: #15171a; color: #c9ccd0; font-size: 0.9375rem; }
.site-footer .container { padding-block: 4rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1.3fr 0.8fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { color: #e9eaeb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-services { columns: 1; }
@media (min-width: 500px) { .footer-services { columns: 2; column-gap: 1.5rem; } }
.footer-services li { break-inside: avoid; }
.site-footer address { font-style: normal; margin-top: 1rem; line-height: 1.7; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; color: #a3a8ae; }
.footer-bottom a { color: #c9ccd0; }

/* Sticky mobile CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); transform: translateY(100%); transition: transform 0.25s var(--ease-out); }
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; height: 56px; text-decoration: none; font-weight: 600; font-size: 1rem; color: #fff; }
.mobile-cta .call { background: var(--green); }
.mobile-cta .quote { background: var(--ink); }
.mobile-cta .icon { width: 1.2rem; height: 1.2rem; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { .site-footer .container { padding-bottom: calc(2rem + 56px); } }

/* Desktop call FAB on long pages */
.call-fab { display: none; }
@media (min-width: 768px) {
  .call-fab { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 70; width: 3.75rem; height: 3.75rem; display: grid; place-items: center; background: var(--green); color: #fff; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), background-color var(--dur-fast); }
  .call-fab.visible { opacity: 1; transform: none; pointer-events: auto; }
  .call-fab:hover { background: var(--green-dark); }
  .call-fab .icon { width: 1.6rem; height: 1.6rem; }
  .footer-bottom { padding-right: 5rem; } /* keep the floating call button clear of the legal links */
}

/* The one authored motion moment: the job steps count in, number first, as the reader reaches them.
   main.js adds .reveal only to steps below the fold at load, so nothing visible is ever hidden. */
.steps li.reveal::before { transform: scale(0.4); opacity: 0; transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.steps li.reveal > * { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--reveal-delay, 0s) + 0.12s); }
.steps li.reveal.in::before, .steps li.reveal.in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steps li.reveal::before, .steps li.reveal > * { opacity: 1; transform: none; }
  .feature-card:hover img { transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .btn:active, .header-call:active { transform: none; }
}
