/* ==========================================================================
   Hot & Cold Mechanical
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Base / reset
   3.  Layout primitives
   4.  Buttons
   5.  Header + navigation
   6.  Hero
   7.  Trust bar
   8.  Cards + service grids
   9.  Work types (service / repair / installation)
   10. Why choose us
   11. CTA band
   12. Contact + form
   13. Footer
   14. Sticky mobile call bar
   15. Motion + reduced-motion
   ========================================================================== */

/* --------------------------------------------------- 1. Design tokens ---- */
:root {
  /* Brand — red reads "heating", blue reads "cooling". Used as accents only. */
  --heat:            #c8102e;
  --heat-dark:       #a20c24;
  --heat-tint:       #fdf2f3;
  --cool:            #0f5fa6;
  --cool-dark:       #0b4880;
  --cool-tint:       #f0f6fb;
  --pipe:            #23405c;   /* water heaters — deep neutral blue */
  --pipe-tint:       #f2f5f8;

  /* Neutrals */
  --ink:             #15181d;   /* headings, logo "Mechanical" */
  --ink-soft:        #3d444e;   /* body copy */
  --ink-muted:       #5f6874;   /* meta, captions — 5.9:1 on white */
  --line:            #dee3ea;
  --line-strong:     #c3cad4;
  --surface:         #ffffff;
  --surface-2:       #f5f7f9;
  --surface-3:       #eaeef3;
  --inverse:         #15181d;
  --inverse-soft:    #1e232a;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-h3:   clamp(1.3125rem, 1.15rem + 0.8vw, 1.625rem);
  --fs-h2:   clamp(1.75rem, 1.45rem + 1.5vw, 2.5rem);
  --fs-h1:   clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);

  /* Space */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.5rem;   --sp-8: 3rem;
  --sp-9: 4rem;
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Shape + depth — restrained on purpose */
  --r-sm: 3px;
  --r:    6px;
  --r-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(21, 24, 29, 0.06), 0 1px 3px rgba(21, 24, 29, 0.05);
  --shadow:    0 2px 4px rgba(21, 24, 29, 0.05), 0 6px 16px rgba(21, 24, 29, 0.07);
  --shadow-lg: 0 10px 30px rgba(21, 24, 29, 0.12);

  --header-h: 68px;
  --mobilebar-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------ 2. Base / reset -- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-lg); letter-spacing: -0.01em; font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--cool-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cool); }

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

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li + li { margin-top: var(--sp-2); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

:focus-visible {
  outline: 3px solid var(--cool);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Skip link — first tab stop on every page */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0 0 var(--r) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------ 3. Layout primitives --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Long-form body copy — narrow measure, left-aligned with everything else. */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: var(--sp-7); }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-top: var(--sp-3); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); }

.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }

/* Text alongside a supporting image. */
.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  margin-top: var(--sp-8);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--line);
}
.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
.section-head p { color: var(--ink-muted); font-size: var(--fs-lg); margin-bottom: 0; }

/* Small uppercase label above a heading */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--heat);
  flex: none;
}
.eyebrow--cool::before { background: var(--cool); }

.lead { font-size: var(--fs-lg); color: var(--ink-soft); }

/* Phone numbers and other short strings that must never break mid-value. */
.nowrap { white-space: nowrap; }

/* Logo wordmark ---------------------------------------------------------- */
.wordmark {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
}
.wordmark__hot  { color: var(--heat); }
.wordmark__amp  { color: var(--ink); font-weight: 700; }
.wordmark__cold { color: var(--cool); }
.wordmark__mech { color: var(--ink); }
.wordmark:hover { color: var(--ink); }

/* ------------------------------------------------------------ 4. Buttons - */
.btn {
  --btn-bg: var(--heat);
  --btn-fg: #fff;
  --btn-bd: var(--heat);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: 52px;
  padding: var(--sp-3) var(--sp-5);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--r);
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              transform 0.12s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover {
  --btn-bg: var(--heat-dark);
  --btn-bd: var(--heat-dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn svg { flex: none; }

.btn--lg { min-height: 60px; font-size: var(--fs-lg); padding-inline: 1.75rem; }
.btn--block { display: flex; width: 100%; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover {
  --btn-bg: var(--surface-2);
  --btn-bd: var(--ink);
  color: var(--ink);
}

.btn--cool { --btn-bg: var(--cool); --btn-bd: var(--cool); }
.btn--cool:hover { --btn-bg: var(--cool-dark); --btn-bd: var(--cool-dark); }

/* On dark backgrounds */
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-bd: #fff;
  color: #fff;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.btn-row > .btn { flex: 1 1 auto; }
.btn-row--lead { max-width: 40rem; margin-top: var(--sp-5); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--cool-dark);
  min-height: 44px;
}
.link-arrow svg { transition: transform 0.18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow--heat { color: var(--heat-dark); }

/* --------------------------------------------- 5. Header + navigation ---- */
.topbar {
  background: var(--ink);
  color: #cfd5dd;
  font-size: var(--fs-xs);
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  padding-block: 6px;
}
.topbar__facts {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.topbar__facts li { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar__facts svg { color: #8fa5bd; }
.topbar__phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: var(--sp-3);
  white-space: nowrap;
}
.topbar__phone:hover { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(21, 24, 29, 0.1); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: var(--sp-2);
}
.site-header .wordmark {
  font-size: clamp(1.0625rem, 0.85rem + 1.1vw, 1.375rem);
  margin-right: auto;
  padding-block: var(--sp-2);
  min-height: 44px;
  align-items: center;
}
.site-header .wordmark__mech {
  display: block;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav__link:hover { color: var(--heat-dark); background: var(--surface-2); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 3px;
  background: var(--heat);
  border-radius: 2px;
}

/* Header call button — the most important control on the site */
.header-call {
  display: none;
  align-items: center;
  gap: var(--sp-3);
  min-height: 48px;
  padding: 0.375rem 1.125rem;
  background: var(--heat);
  color: #fff;
  border-radius: var(--r);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.header-call:hover { background: var(--heat-dark); color: #fff; box-shadow: var(--shadow); }
.header-call__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.2;
}
.header-call__number {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); border-color: var(--ink); }
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.15s var(--ease), top 0.22s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 6px; }
.nav-toggle__bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 6px; transform: rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.nav-drawer.is-open { display: block; }
.nav-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 29, 0.55);
  animation: fade-in 0.2s var(--ease);
}
.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: slide-in 0.24s var(--ease);
}
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.nav-drawer__head .wordmark { font-size: 1.0625rem; }
.nav-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  cursor: pointer;
}
.nav-drawer__close:hover { background: var(--surface-2); border-color: var(--ink); }
.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: var(--sp-2) 0;
  flex: 1;
}
.nav-drawer__list li { margin: 0; border-bottom: 1px solid var(--line); }
.nav-drawer__link {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: var(--sp-3) var(--sp-5);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-drawer__link:hover { background: var(--surface-2); color: var(--ink); }
.nav-drawer__link[aria-current="page"] {
  color: var(--heat-dark);
  box-shadow: inset 4px 0 0 var(--heat);
}
.nav-drawer__foot {
  padding: var(--sp-5);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  gap: var(--sp-3);
}
.nav-drawer__note {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  text-align: center;
}
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------- 6. Hero - */
/* Full-bleed photo hero. The photo is a real <img> (not a CSS background)
   so it keeps meaningful alt text; the scrim is a separate layer so its
   gradient math stays independent of whatever the photo's own colors do. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 88vh, 760px);
  border-bottom: 1px solid var(--line);
  background: var(--ink); /* shows briefly if the photo is still loading */
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
}
/* Dark scrim behind the text column only — strong enough that white text
   clears 4.5:1 even over the photo's brightest pixels (the sky), verified
   against the worst-case blend, then eases off so the photo reads clearly
   on the right where the subject is. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.92) 0%, rgba(8, 11, 16, 0.88) 45%, rgba(8, 11, 16, 0.4) 68%, rgba(8, 11, 16, 0) 88%),
    linear-gradient(0deg, rgba(8, 11, 16, 0.6) 0%, rgba(8, 11, 16, 0) 55%);
}
/* Full-width version of the site's red/blue signature bar, at the seam
   between the hero photo and the section below. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--heat) 50%, var(--cool) 50%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: var(--sp-4); color: #fff; }
.hero h1 .hl-heat { color: var(--heat); }
.hero h1 .hl-cool { color: #7fb2e0; }
.hero__lead {
  font-size: var(--fs-lg);
  color: #e7ebf0;
  margin-bottom: var(--sp-5);
  max-width: 34rem;
}

/* "CALL ME — I'LL ANSWER!" */
.answer-line {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-base);
  letter-spacing: 0.02em;
}
.answer-line svg { color: #ff5a68; flex: none; }

.hero__ctas { margin-bottom: var(--sp-5); max-width: 40rem; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
}
.hero__badges svg { color: #7fb2e0; flex: none; }

/* Page hero for interior pages */
.page-hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.page-hero__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
.page-hero h1 { margin-bottom: var(--sp-3); }
.page-hero p { color: var(--ink-soft); font-size: var(--fs-lg); max-width: 36rem; }
.page-hero img {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------- 7. Trust bar - */
.trustbar { background: var(--ink); color: #e6eaef; }
.trustbar__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4) var(--sp-5);
  list-style: none;
  margin: 0;
  padding-block: var(--sp-5);
}
.trustbar__list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-3);
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
}
.trustbar__list svg { flex: none; color: #fff; }
.trustbar__list li:nth-child(1) svg { color: #ff5c73; }
.trustbar__list li:nth-child(2) svg { color: #5aaef0; }

/* --------------------------------------------- 8. Cards + service grids -- */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.card__media { position: relative; background: var(--surface-3); }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r);
  background: var(--surface-2);
  color: var(--ink);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--ink-soft); margin-bottom: var(--sp-4); }
.card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.card__list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-top: var(--sp-2);
}
.card__list li:first-child { margin-top: 0; }
.card__list svg { flex: none; margin-top: 4px; color: var(--ink-muted); }
.card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.card__actions .link-arrow { min-height: 40px; }
.card__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.card__call svg { color: var(--heat); flex: none; }
.card__call:hover { color: var(--heat-dark); text-decoration: underline; }

/* Accent variants — red for heating, blue for cooling, deep blue for water heaters */
.card--heat { border-top: 4px solid var(--heat); }
.card--heat .card__icon { background: var(--heat-tint); color: var(--heat); }
.card--cool { border-top: 4px solid var(--cool); }
.card--cool .card__icon { background: var(--cool-tint); color: var(--cool); }
.card--pipe { border-top: 4px solid var(--pipe); }
.card--pipe .card__icon { background: var(--pipe-tint); color: var(--pipe); }

/* ------------------------------------------------------- 9. Work types --- */
.worktypes { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.worktype { padding: var(--sp-6) var(--sp-5); border-bottom: 1px solid var(--line); }
.worktype:last-child { border-bottom: 0; }
.worktype__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--heat);
  margin-bottom: var(--sp-3);
}
.worktype:nth-child(2) .worktype__num { color: var(--cool); }
.worktype:nth-child(3) .worktype__num { color: var(--pipe); }
.worktype h3 {
  font-size: var(--fs-xl);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-2);
}
.worktype p { color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------- 10. Why choose us - */
.why { display: grid; gap: var(--sp-7); align-items: start; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.why__list li { display: flex; gap: var(--sp-4); margin: 0; }
.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
}
.why__list h3 { font-size: var(--fs-base); margin-bottom: 2px; font-weight: 800; }
.why__list p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; }

/* Direct-contact callout */
.why__aside { display: grid; gap: var(--sp-5); }
.why__photo {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.callout {
  background: var(--ink);
  color: #e6eaef;
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
}
.callout h3 { color: #fff; font-size: var(--fs-xl); }
.callout p { color: #b9c2cd; font-size: var(--fs-sm); }
.callout__phone {
  display: inline-block;
  padding-block: 0.35rem;
  margin: var(--sp-2) 0 var(--sp-4);
  color: #fff;
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.375rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1.1;
}
.callout__phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; }

/* Heat-pump / rebate callout banner — same dark, high-contrast treatment as
   .callout so it reads as a highlight without relying on color alone. */
.rebate-banner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-top: var(--sp-7);
  padding: var(--sp-6) var(--sp-5);
  background: var(--ink);
  color: #e6eaef;
  border-radius: var(--r-lg);
}
.rebate-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.rebate-banner__body { max-width: 46rem; }
.rebate-banner__eyebrow {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb3c8;
}
.rebate-banner__body p {
  margin: 0 0 var(--sp-5);
  color: #fff;
  font-size: var(--fs-lg);
  line-height: 1.5;
}
.rebate-banner__body strong { font-weight: 800; }

/* Centers a lone trailing card when a 3-column grid ends up with 4 items. */
@media (min-width: 900px) {
  .grid--3 > .card--span-center:last-child { grid-column: 2; }
}

/* --------------------------------------------------------- 11. CTA band -- */
.cta-band {
  background: var(--ink);
  color: #e6eaef;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(200, 16, 46, 0.28), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(15, 95, 166, 0.32), transparent 45%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--section-y);
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #c4cbd4; }
.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block: 0.35rem;
  color: #fff;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1.05;
  margin-bottom: var(--sp-3);
}
.cta-band__phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.cta-band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: #c4cbd4;
}
.cta-band__meta li { display: flex; align-items: center; gap: var(--sp-2); margin: 0; }
.cta-band__meta svg { color: #7fb2e0; flex: none; }

/* --------------------------------------------------- 12. Contact + form -- */
.contact-grid { display: grid; gap: var(--sp-7); align-items: start; }

.contact-list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: var(--sp-3); }
.contact-list li { margin: 0; }
.contact-item {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
a.contact-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r);
  background: var(--surface-2);
  color: var(--ink);
}
.contact-item--call .contact-item__icon { background: var(--heat-tint); color: var(--heat); }
.contact-item--text .contact-item__icon { background: var(--cool-tint); color: var(--cool); }
.contact-item__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.contact-item__value {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.contact-item--call .contact-item__value { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.5rem); }
/* Address is a block of text rather than a single tappable value. */
.contact-item__value--address { font-size: var(--fs-base); }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-5), 4vw, var(--sp-7));
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: var(--sp-2); }
.form-card__intro { color: var(--ink-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }

.field { margin-bottom: var(--sp-5); }
.field:last-of-type { margin-bottom: var(--sp-6); }
.field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}
.field .req { color: var(--heat); }
.field .optional { color: var(--ink-muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* keeps iOS from zooming on focus */
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6874' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: var(--sp-7);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cool);
  box-shadow: 0 0 0 3px rgba(15, 95, 166, 0.18);
}
.field__hint { display: block; margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--ink-muted); }
.field__error {
  display: none;
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--heat-dark);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--heat); background: var(--heat-tint); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18); }
.field.has-error .field__error { display: block; }

.form-status {
  display: none;
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: var(--heat); background: var(--heat-tint); }
.form-status strong { display: block; margin-bottom: 4px; color: var(--ink); }
.form-status a { font-weight: 700; }

.form-foot { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--ink-muted); }

/* ------------------------------------------------------------ 13. Footer - */
.site-footer {
  background: var(--ink);
  color: #aab3bf;
  font-size: var(--fs-sm);
  padding-top: var(--sp-8);
}
.site-footer__grid { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.site-footer .wordmark { font-size: 1.375rem; margin-bottom: var(--sp-3); }
.site-footer .wordmark__amp { color: #fff; }
.site-footer .wordmark__mech { color: #fff; }
.site-footer__heading {
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: var(--sp-1);
}
.site-footer a { color: #cfd6de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__area {
  max-width: 56rem;
  margin: 0 auto;
  padding-top: var(--sp-6);
  border-top: 1px solid #2a2f37;
  color: #aab3bf;
  font-size: var(--fs-sm);
  line-height: 1.6;
  text-align: center;
}
.site-footer__area strong { color: #fff; }

.site-footer__shout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
  margin: 0;
  padding-bottom: var(--sp-6);
  padding-top: var(--sp-5);
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}
.site-footer__shout a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff !important;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-footer__shout a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.site-footer__legal {
  border-top: 1px solid #2a2f37;
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #8a939f;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
  order: 2;
}
.site-footer__legal-links li {
  display: flex;
  align-items: center;
  margin: 0;
}
.site-footer__legal-links li + li::before {
  content: "\00B7";
  margin-right: var(--sp-3);
  color: #545c68;
}
.site-footer__legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #aab3bf;
}
.site-footer__legal-links a:hover { color: #fff; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff !important;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

/* ------------------------------------------- 14. Sticky mobile call bar -- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1px;
  background: #2a2f37;
  border-top: 1px solid #2a2f37;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 18px rgba(21, 24, 29, 0.18);
  transform: translateY(100%);
  transition: transform 0.25s var(--ease);
}
.callbar.is-visible { transform: translateY(0); }
.callbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: var(--mobilebar-h);
  padding: var(--sp-3);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
}
.callbar__btn svg { flex: none; }
.callbar__btn--call { background: var(--heat); }
.callbar__btn--call:active { background: var(--heat-dark); }
.callbar__btn--text { background: var(--cool); }
.callbar__btn--text:active { background: var(--cool-dark); }
.callbar__btn span small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.callbar__btn:hover { color: #fff; }

/* Only shown on small screens; body gets room so it never covers content. */
@media (max-width: 899px) {
  body { padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) {
  .callbar { display: none; }
}

.ready-list {
  margin: var(--sp-5) 0 0;
  padding: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.ready-list h3 { font-size: var(--fs-base); margin-bottom: var(--sp-3); }
.ready-list ul { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.ready-list li { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-2); }
.ready-list li:first-child { margin-top: 0; }
.ready-list svg { flex: none; margin-top: 4px; color: var(--cool); }

.note-strip {
  margin-top: var(--sp-5);
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  padding: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

/* --------------------------------------------------------- 15. Motion ---- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ====================================================== Responsive ======== */
@media (min-width: 560px) {
  .trustbar__list { grid-template-columns: repeat(2, 1fr); }
  .callbar__btn { font-size: 1.125rem; }
  .header-call { display: inline-flex; }
}

@media (min-width: 768px) {
  .page-hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .worktypes { grid-template-columns: repeat(3, 1fr); }
  .worktype { border-bottom: 0; border-right: 1px solid var(--line); }
  .worktype:last-child { border-right: 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .why { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .cta-band__inner { grid-template-columns: 1.1fr 0.9fr; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .form-row .field { margin-bottom: 0; }
  .form-row + .field { margin-top: var(--sp-5); }
}

@media (min-width: 620px) and (max-width: 899px) {
  .page-hero img { aspect-ratio: 2 / 1; object-fit: cover; }
  .card { flex-direction: row; align-items: stretch; }
  .card__media { flex: 0 0 40%; }
  .card__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .card--heat, .card--cool, .card--pipe { border-top-width: 1px; }
  .card--heat { border-left: 4px solid var(--heat); }
  .card--cool { border-left: 4px solid var(--cool); }
  .card--pipe { border-left: 4px solid var(--pipe); }
}

@media (min-width: 560px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .trustbar__list { grid-template-columns: repeat(4, 1fr); }
  .trustbar__list li { justify-content: center; font-size: var(--fs-xs); white-space: nowrap; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-8); }
}

@media (min-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

/* Phones: the utility bar keeps one credential and the phone number, on one line. */
@media (max-width: 559px) {
  /* Tighten the hero so the call button stays above the fold on small screens. */
  .hero__lead { font-size: var(--fs-base); line-height: 1.55; margin-bottom: var(--sp-4); }
  .answer-line { margin-bottom: var(--sp-4); }
  .topbar__inner { flex-wrap: nowrap; }
  .topbar__facts li:nth-child(n + 2) { display: none; }
}
@media (max-width: 380px) {
  .btn { padding-inline: var(--sp-4); }
  .topbar { font-size: 0.75rem; }
}
