/* =========================================================
   Window Replacement Leduc: site styles
   Plain CSS, no build step. Colours, type and spacing are
   driven by the variables below.

   Design idea: "big sky". Leduc sits on open prairie, so the
   site is built on wide horizons: an indigo header and hero,
   full width panoramic photos, and canola yellow for actions.
   The hero panorama opens from the centre once on load, like
   a sliding window parting.
   ========================================================= */

/* ---------- self hosted fonts (SIL Open Font License, see assets/fonts) ---------- */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/big-shoulders-display.woff2') format('woff2-variations'), url('fonts/big-shoulders-display.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/public-sans.woff2') format('woff2-variations'), url('fonts/public-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/public-sans-italic.woff2') format('woff2-variations'), url('fonts/public-sans-italic.woff2') format('woff2');
}

:root {
  /* palette */
  --indigo:      #1B2559;   /* prairie dusk: header, hero, headings */
  --indigo-2:    #26346F;   /* hover, hero gradient */
  --indigo-deep: #121A40;   /* footer */
  --sky:         #EAF2FB;   /* alternate sections */
  --sky-2:       #D5E4F5;
  --sky-strong:  #2F62C8;   /* focus rings and inline links on light backgrounds */
  --canola:      #F4CF2E;   /* primary actions only */
  --canola-2:    #E5BD14;
  --white:       #FFFFFF;
  --ink:         #141A33;
  --ink-soft:    #4A5270;   /* body copy, AA on white and sky */
  --line:        #D9E2EE;

  /* legacy names the builder uses */
  --brand:       var(--indigo);
  --brand-dark:  var(--indigo-deep);
  --bg:          var(--white);
  --bg-alt:      var(--sky);
  --bg-dark:     var(--indigo-deep);

  /* type */
  --font-head: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
  --font-body: 'Public Sans', 'Segoe UI', Helvetica, Arial, sans-serif;

  /* layout */
  --max:       1200px;
  --gutter:    clamp(20px, 4vw, 40px);
  --radius:    6px;
  --header-h:  76px;
  --section-y: clamp(64px, 8vw, 112px);
  --measure:   70ch;
  --column:    760px;   /* the centred reading column */

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1.03rem, 1rem + .2vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--indigo);
  font-weight: 800;
  letter-spacing: .005em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 1.9rem + 4.5vw, 5.5rem); line-height: .94; font-weight: 850; }
h2 { font-size: clamp(2.3rem, 1.75rem + 2.3vw, 3.6rem); line-height: 1; margin-bottom: .5em; }
h3 { font-size: clamp(1.45rem, 1.3rem + .5vw, 1.8rem); line-height: 1.08; margin-bottom: .4em; font-weight: 750; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.1em; color: var(--ink-soft); text-wrap: pretty; }
p:empty { display: none; }  /* builder leaves empty paragraphs after nested buttons */
strong { color: var(--ink); font-weight: 650; }

a {
  color: var(--sky-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--canola);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
a:hover { color: var(--indigo); text-decoration-color: var(--indigo); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--canola); color: var(--indigo-deep); }
:focus-visible { outline: 3px solid var(--sky-strong); outline-offset: 3px; border-radius: 3px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--canola); }

.muted { color: var(--ink-soft); font-size: .92rem; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  background: var(--canola);
  color: var(--indigo-deep);
  border: 2px solid var(--canola);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--canola-2); border-color: var(--canola-2); color: var(--indigo-deep); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 15px 32px; font-size: 1.06rem; }
.btn--ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn--ghost:hover { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.wc-phone { font-weight: 700; white-space: nowrap; }

/* ---------- header: indigo bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--indigo);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-head); font-size: 1.45rem; line-height: 1;
}
.nav__logo strong { color: var(--white); font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
/* horizon window mark: sky over canola field, drawn in CSS */
.nav__logo::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 3px;
  border: 2.5px solid var(--white);
  background: linear-gradient(180deg, #8EB8EE 0 55%, var(--canola) 55% 100%);
}
.nav__logo:hover { color: var(--white); }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__links > li > a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; font-weight: 550;
  border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links > li > a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ""; width: 6px; height: 6px; margin-left: 8px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 320px;
  list-style: none; padding: 8px;
  background: var(--white); border-radius: 0 0 var(--radius) var(--radius);
  border-top: 3px solid var(--canola);
  box-shadow: 0 24px 48px -16px rgba(18,26,64,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; display: none; }
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.dropdown a:hover { background: var(--sky); color: var(--indigo); }

.nav__links > li > a.nav__call {
  margin-left: 10px; padding: 0 20px; min-height: 46px;
  background: var(--canola); color: var(--indigo-deep) !important; font-weight: 700;
}
.nav__links > li > a.nav__call:hover { background: var(--canola-2); }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius);
  background: transparent; color: var(--white); font-size: 1.3rem; line-height: 1; cursor: pointer;
}

@media (max-width: 1020px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--indigo); border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 50px -20px rgba(18,26,64,.6);
    padding: 6px var(--gutter) 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav__links.open { display: flex; }
  .nav__links > li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__links > li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav__links > li > a { width: 100%; min-height: 52px; padding: 0; font-size: 1.04rem; }
  .nav__links > li > a:hover { background: transparent; }
  .has-dropdown > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 10px 14px; min-width: 0; background: transparent;
    border-left: 2px solid var(--canola); border-radius: 0;
  }
  .dropdown a { color: rgba(255,255,255,.85); padding: 9px 12px; }
  .dropdown a:hover { background: rgba(255,255,255,.08); color: var(--white); }
  .nav__links > li > a.nav__call { margin: 0; justify-content: center; min-height: 54px; }
}
@media (max-width: 420px) { .nav__logo { font-size: 1.25rem; gap: 10px; } .nav__logo::before { width: 26px; height: 26px; } }

/* =========================================================
   HERO: indigo sky above a panoramic photo
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(180deg, var(--indigo) 0%, var(--indigo-2) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after { content: none; }   /* removes the builder's dark overlay */

.hero__inner {
  grid-row: 1;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "eye eye" "title lead" "title cta";
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(32px, 5vw, 80px);
  align-items: end;
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(44px, 5.5vw, 72px);
}
.hero__eyebrow {
  grid-area: eye;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-size: 1rem !important; font-weight: 600; line-height: 1.35;
  color: var(--canola) !important; letter-spacing: .01em; text-transform: none; opacity: 1;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--canola); flex: none; }
.hero h1 { grid-area: title; color: var(--white); margin: 0; max-width: 12ch; }
.hero__inner > p:not(.hero__eyebrow) {
  grid-area: lead; align-self: end; color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 1.02rem + .3vw, 1.25rem); line-height: 1.55; max-width: 36ch; margin-bottom: 0;
}
.hero__cta { grid-area: cta; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* the builder writes white inline colours on the phone button; keep it white on indigo */
.hero .hero__cta .btn--ghost { color: var(--white) !important; border-color: rgba(255,255,255,.75) !important; background: transparent; }
.hero .hero__cta .btn--ghost:hover { color: var(--indigo) !important; background: var(--white); border-color: var(--white) !important; }

/* the panorama: full width, with a canola horizon line along its top edge */
.hero__media {
  grid-row: 2;
  position: relative; inset: auto; z-index: 1;
  border-top: 6px solid var(--canola);
}
.hero__media img {
  width: 100%; aspect-ratio: 3 / 1; height: auto;
  object-fit: cover; object-position: 50% 66%;
}
/* the one load moment: the panorama slides open from the centre */
@keyframes panorama-open {
  from { clip-path: inset(0 50% 0 50%); }
  to   { clip-path: inset(0 0 0 0); }
}
.hero__media img { animation: panorama-open 1.2s var(--ease) .1s both; }

/* service and town pages: a slimmer panorama */
.page-service .hero__inner, .page-location .hero__inner { padding-top: clamp(40px, 5.5vw, 76px); }
.page-service .hero h1, .page-location .hero h1 { font-size: clamp(2.7rem, 1.8rem + 3.9vw, 5rem); max-width: 13ch; }
.page-service .hero__media img, .page-location .hero__media img { aspect-ratio: 4 / 1; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eye" "title" "lead" "cta"; grid-template-rows: auto; }
  .hero h1 { margin-bottom: 20px; max-width: 13ch; }
  .hero__media img, .page-service .hero__media img, .page-location .hero__media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--sky); }
.section--dark { background: var(--indigo-deep); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.82); }

.section__lead { max-width: var(--measure); }
.section__lead > p:first-child, p.section__lead { font-size: 1.12em; line-height: 1.6; color: var(--ink); }
.center .section__lead, .section__lead.center { margin-left: auto; margin-right: auto; }
h2.center { margin-left: auto; margin-right: auto; max-width: 20ch; }

.section .wrap > p, .section .wrap > .section__lead { max-width: var(--measure); }
.section .wrap > .btn { margin-top: 14px; }

/* long reading sections: one centred column */
.section > .wrap.is-editorial > * { max-width: var(--column); margin-left: auto; margin-right: auto; }
.section > .wrap.is-editorial > h2 { margin-bottom: .55em; }
.section > .wrap.is-editorial > .btn { display: flex; width: fit-content; margin-left: max(0px, calc((100% - var(--column)) / 2)); }
.section > .wrap.is-editorial > p:first-of-type,
.section > .wrap.is-editorial > .section__lead > p:first-child { font-size: 1.14em; line-height: 1.6; color: var(--ink); }

/* photo bands: edge to edge panoramas, no gap between them and the sections around them */
.section[style*="padding:18px"] { padding: 0 !important; }
.section .wrap > img {
  width: 100vw !important; max-width: 100vw;   /* overrides the builder's inline width */
  margin-left: calc(50% - 50vw);
  aspect-ratio: 3 / 1; object-fit: cover;
  border-radius: 0 !important;
}
@media (max-width: 700px) { .section .wrap > img { aspect-ratio: 16 / 10; } }

/* ---------- two column split (contact, estimate) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .2s var(--ease);
}
.section:not(.section--alt) .card { background: var(--sky); border-color: transparent; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .98em; }
.card p:last-child { margin-bottom: 0; }
.card > a:last-child {
  margin-top: auto; padding-top: 8px; align-self: flex-start;
  font-weight: 700; font-size: .96rem; color: var(--indigo);
}
.card:has(> a:last-child):hover { border-color: var(--indigo); }

/* service and town links: a directory list with dividing lines */
.linklist {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px);
  list-style: none; border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .linklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .linklist { grid-template-columns: 1fr; } }
.section--alt .linklist { border-top-color: var(--sky-2); }
.linklist li { list-style: none; border-bottom: 1px solid var(--line); }
.section--alt .linklist li { border-bottom-color: var(--sky-2); }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 2px;
  color: var(--indigo); text-decoration: none; text-align: left;
  font-weight: 650; font-size: 1rem; line-height: 1.3;
  transition: color .2s var(--ease), padding .2s var(--ease);
}
.linklist a::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
}
.linklist a:hover { color: var(--sky-strong); padding-left: 6px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
th { background: var(--sky); font-weight: 700; color: var(--indigo); }
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ: ruled lines, no boxes ---------- */
.faq { border-top: 2px solid var(--indigo); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.section--alt .faq details { border-bottom-color: var(--sky-2); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 22px 56px 22px 0;
  font-family: var(--font-head); font-weight: 750; font-size: clamp(1.3rem, 1.2rem + .4vw, 1.55rem); line-height: 1.15; color: var(--indigo);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px;
  border-radius: 50%; background-color: var(--canola);
  background-image: linear-gradient(var(--indigo), var(--indigo)), linear-gradient(var(--indigo), var(--indigo));
  background-size: 12px 2px, 2px 12px; background-position: center, center; background-repeat: no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding-bottom: 24px; margin-bottom: 0; max-width: var(--measure); }

/* ---------- CTA band: canola ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 20px;
  background: var(--canola);
  color: var(--indigo-deep); text-align: center;
}
.cta-band h2 { color: var(--indigo-deep); max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band p, .cta-band .muted { color: var(--indigo-deep) !important; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band a:not(.btn) { color: var(--indigo-deep); text-decoration-color: var(--indigo-deep); }
.cta-band .btn { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.cta-band .btn:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: var(--white); }
.cta-band .btn--ghost { background: transparent; color: var(--indigo-deep); border-color: var(--indigo-deep); }
.cta-band .btn--ghost:hover { background: var(--indigo-deep); color: var(--white); }

/* ---------- contact and estimate ---------- */
.page-form .section:first-of-type { background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); }
.page-form .split > div:first-child { padding-top: 8px; }
.page-form h1 { font-size: clamp(2.8rem, 1.9rem + 3.6vw, 4.6rem); margin-bottom: 18px; }

.form-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--indigo);
  border-radius: var(--radius);
  padding: clamp(10px, 1.6vw, 18px);
  box-shadow: 10px 10px 0 var(--canola);
}
@media (max-width: 600px) { .form-card { box-shadow: 6px 6px 0 var(--canola); } }
/* GoHighLevel inline form */
.form-card iframe { display: block; width: 100%; min-height: 749px; border: 0; }

/* fallback styles for any native fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 1rem; }

.contact-list { list-style: none; margin: 28px 0; border-top: 2px solid var(--indigo); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
.contact-list li strong:first-child { font-family: var(--font-head); font-size: 1.3rem; font-weight: 750; color: var(--indigo); }
.contact-list a { font-size: 1.06rem; overflow-wrap: anywhere; }

/* ---------- article pages (about, FAQ, legal, how it works) ---------- */
.article { max-width: 780px; }
.page-article .section:first-of-type,
.page-hub .section:first-of-type { padding-top: clamp(48px, 7vw, 96px); }
.article h1 { margin-bottom: 22px; font-size: clamp(2.8rem, 1.9rem + 3.6vw, 4.6rem); }
.article h2 { margin-top: 1.6em; font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem); }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { margin: 0 0 1.2em 1.2em; color: var(--ink-soft); }
.article li { margin-bottom: .55em; padding-left: .2em; }
.article ul li::marker { color: var(--indigo); }
.article__lead { padding-bottom: 8px; margin-bottom: 8px; }
.article__date { margin-top: -4px; }
.article .linklist { margin: 8px 0 1.4em; }
.article .grid { margin: 8px 0 1.4em; }
.faq-page h2 { font-size: 1.7rem; margin-top: 1.6em; }

/* a real sequence, so these get step numbers */
.article ol { list-style: none; counter-reset: step; margin-left: 0; border-top: 2px solid var(--indigo); }
.article ol > li { counter-increment: step; position: relative; padding: 20px 0 20px 70px; margin: 0; border-bottom: 1px solid var(--line); }
.article ol > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 12px;
  width: 50px; text-align: left;
  font-family: var(--font-head); font-weight: 850; font-size: 2.6rem; line-height: 1; color: var(--indigo);
  text-decoration: underline; text-decoration-color: var(--canola); text-decoration-thickness: 4px; text-underline-offset: 6px;
}

/* hub pages: services, service areas */
.page-hub .section:first-of-type h1 { max-width: 16ch; margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--indigo-deep); color: rgba(255,255,255,.78);
  padding: clamp(56px, 7vw, 92px) 0 32px;
  border-top: 6px solid var(--canola);
}
.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1.45rem; font-weight: 800; }
.site-footer p { color: rgba(255,255,255,.78) !important; font-size: .97rem; line-height: 1.65; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: clamp(28px, 4vw, 48px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.88); font-size: .95rem; text-decoration-color: rgba(244,207,46,.5); text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.site-footer li a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--canola); }
.site-footer .wc-phone { color: var(--canola); font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.55); }
.site-footer .footer-disclaimer { font-size: .85rem; color: rgba(255,255,255,.58) !important; margin-top: 12px; line-height: 1.55; }

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