/* ─────────────────────────────────────────────────────────────────
   Absolute Home Services, ahsbc.com
   Design: Warm, bright, welcoming, light editorial
   Colors pulled from logo: red #C8211C + blue #1B5DAA + warm whites
───────────────────────────────────────────────────────────────── */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #FFFBF7;   /* warm near-white, main page bg */
  --bg-cream:     #F5F1EA;   /* slightly richer cream for alternate sections */
  --surface:      #FFFFFF;   /* cards, panels */
  --surface-2:    #F8F4EE;   /* subtle inset surfaces */
  --border:       #DDD8CE;
  --border-light: #EAE5DC;

  /* Text */
  --text:         #1C1814;   /* warm near-black */
  --text-muted:   #6A6258;
  --text-dim:     #A09890;

  /* Brand red (logo): warmth, energy, urgency */
  --accent:       #C8211C;
  --accent-hover: #A81A16;
  --accent-dim:   rgba(200, 33, 28, 0.08);
  --accent-pale:  #FFF0EE;

  /* Brand blue (logo): trust, cooling */
  --blue:         #1B5DAA;
  --blue-hover:   #154C90;
  --blue-dim:     rgba(27, 93, 170, 0.08);
  --blue-pale:    #EEF4FF;

  /* HVAC service tints */
  --heat-bg:      #FFF4F0;
  --heat-text:    #C8211C;
  --cool-bg:      #EEF4FF;
  --cool-text:    #1B5DAA;
  --water-bg:     #EEF8FF;
  --water-text:   #0077A8;
  --maint-bg:     #FFF8EE;
  --maint-text:   #B86A00;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(28, 24, 20, 0.06);
  --shadow-sm:    0 2px 8px rgba(28, 24, 20, 0.07), 0 1px 2px rgba(28, 24, 20, 0.04);
  --shadow-md:    0 4px 16px rgba(28, 24, 20, 0.08), 0 2px 4px rgba(28, 24, 20, 0.04);
  --shadow-lg:    0 8px 32px rgba(28, 24, 20, 0.10), 0 2px 8px rgba(28, 24, 20, 0.05);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius:       6px;
  --radius-lg:    12px;
  --radius-xl:    16px;

  /* Motion */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:       160ms;
  --t-base:       240ms;
  --t-slow:       380ms;

  /* Spacing scale: tighter page rhythm */
  --section-pad:      3.25rem;
  --section-pad-sm:   2.5rem;
  --section-header-mb: 1.5rem;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img    { max-width: 100%; height: auto; display: block; }
ul     { list-style: none; }
a      { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Accessibility ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-pad) 0; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200, 33, 28, 0.25);
}
.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(200, 33, 28, 0.30);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--text-muted);
  background: var(--surface);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-sm  { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1rem;
  font-size: 1rem;
}

/* ── Typography helpers ─────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.625rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-subhead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52ch;
}

.section-header { margin-bottom: var(--section-header-mb); }

/* ── Navigation ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--t-slow) var(--ease),
    border-color var(--t-slow) var(--ease),
    box-shadow var(--t-slow) var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 251, 247, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}

.site-logo { flex-shrink: 0; display: flex; align-items: center; }

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.site-nav { flex: 1; }

.nav-list {
  display: flex;
  gap: 1.875rem;
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
}
.nav-list a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.nav-phone:hover { color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
  width: 34px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s;
  transform-origin: center;
}
.nav-toggle:hover span  { background: var(--text); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition:
    max-height 0.38s var(--ease),
    border-color 0.38s var(--ease);
}
.mobile-menu.open {
  max-height: 460px;
  border-bottom-color: var(--border);
}
.mobile-menu .container { padding-top: 1.25rem; padding-bottom: 1.5rem; }
.mobile-menu ul         { display: flex; flex-direction: column; }
.mobile-menu li         { border-bottom: 1px solid var(--border-light); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-phone { color: var(--accent) !important; font-weight: 500; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(200, 33, 28, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(27, 93, 170, 0.04) 0%, transparent 60%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}

/* ── Full-bleed image hero ───────────────────────────────────────── */
.hero--image {
  min-height: 80vh;
  background-color: #14100c;
  background-image: none;
  color: #fff;
  flex-direction: column;
  align-items: stretch;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 22%;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.85) 0%, rgba(20, 16, 12, 0.6) 36%, rgba(20, 16, 12, 0.15) 64%, rgba(20, 16, 12, 0) 100%),
    linear-gradient(0deg, rgba(20, 16, 12, 0.5) 0%, rgba(20, 16, 12, 0) 45%);
}
.hero--image .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1 1 auto;
  align-content: center;
  grid-template-columns: 1fr;
  justify-items: start;
}
.hero--image .hero-content {
  max-width: 600px;
  animation: hero-rise 0.8s var(--ease) both;
}
.hero--image .hero-eyebrow,
.hero--image .hero-headline,
.hero--image .hero-subhead,
.hero--image .hero-proofs li {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}
.hero--image .hero-eyebrow  { color: rgba(255, 255, 255, 0.88); }
.hero--image .hero-headline { color: #fff; }
.hero--image .hero-subhead  { color: rgba(255, 255, 255, 0.92); }
.hero--image .hero-proofs li { color: rgba(255, 255, 255, 0.94); }
.hero--image .hero-proofs svg { color: #fff; }
.hero--image .btn-outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}
.hero--image .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

/* ── Service quick-link strip ────────────────────────────────────── */
.hvac-visual--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.hvac-visual--row .hvac-panel {
  gap: 1.125rem;
  padding: 1.5rem 1.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hvac-visual--row .hvac-panel-icon { width: 58px; height: 58px; }
.hvac-visual--row .hvac-panel-icon svg { width: 30px; height: 30px; }
.hvac-visual--row .hvac-panel-text strong { font-size: 1.5rem; }
.hvac-visual--row .hvac-panel-text span { font-size: 1rem; }
.hvac-visual--row .hvac-panel:hover {
  filter: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Hero bottom quick-link bar (glass cards over the image) */
.hero-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 0.375rem;
  padding-bottom: 1.25rem;
}
.hvac-visual--glass {
  gap: 0.75rem;
}
.hero-strip .hvac-panel {
  padding: 0.95rem 1.25rem;
  gap: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(18, 14, 10, 0.46);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-strip .hvac-panel:hover {
  filter: none;
  transform: translateY(-3px);
  background: rgba(18, 14, 10, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}
.hero-strip .hvac-panel-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
}
.hero-strip .hvac-panel-icon svg { width: 26px; height: 26px; }
.hero-strip .hvac-heat  .hvac-panel-icon { color: #ff6b66; }
.hero-strip .hvac-cool  .hvac-panel-icon { color: #7fb2ff; }
.hero-strip .hvac-water .hvac-panel-icon { color: #6fd0ff; }
.hero-strip .hvac-panel-text strong { color: #fff; }
.hero-strip .hvac-panel-text span { color: rgba(255, 255, 255, 0.82); }

.hero-content {
  animation: hero-rise 0.8s var(--ease) both;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.375rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 0.875rem;
}

.hero-subhead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  max-width: 46ch;
  margin-bottom: 1rem;
}

.hero-proofs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.125rem;
}

.hero-proofs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-proofs svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── HVAC Visual (hero right column) ───────────────────────────── */
.hero-visual {
  animation: hero-rise 0.8s 0.15s var(--ease) both;
}

.hvac-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hvac-panel {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}
.hvac-panel:last-child { border-bottom: none; }

.hvac-panel:hover {
  filter: brightness(0.97);
}

.hvac-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}

.hvac-heat  { background: var(--heat-bg); }
.hvac-cool  { background: var(--cool-bg); }
.hvac-water { background: var(--water-bg); }

.hvac-panel-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hvac-panel-icon svg {
  width: 44px;
  height: 44px;
}

.hvac-heat  .hvac-panel-icon { background: rgba(200, 33, 28, 0.12); color: var(--heat-text); }
.hvac-cool  .hvac-panel-icon { background: rgba(27, 93, 170, 0.12); color: var(--cool-text); }
.hvac-water .hvac-panel-icon { background: rgba(0, 119, 168, 0.12); color: var(--water-text); }

.hvac-panel-text { display: flex; flex-direction: column; gap: 0.25rem; }
.hvac-panel-text strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}
.hvac-panel-text span {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.hvac-visual-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.625rem;
  line-height: 1.5;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Trust Strip ─────────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.trust-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

.trust-divider { color: var(--border); font-size: 1rem; }

/* ── Services ───────────────────────────────────────────────────── */
.services-section { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition:
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
  box-shadow: var(--shadow-xs);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-2px);
}

/* Service icon chips */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.service-icon--heat  { background: var(--heat-bg);  color: var(--heat-text); }
.service-icon--cool  { background: var(--cool-bg);  color: var(--cool-text); }
.service-icon--water { background: var(--water-bg); color: var(--water-text); }
.service-icon--maint { background: var(--maint-bg); color: var(--maint-text); }
.service-icon--emerg { background: var(--accent-pale); color: var(--accent); }
.service-icon--rebate{ background: #F0FFF4; color: #1A7A3A; }

.service-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.68;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
  transition: letter-spacing var(--t-fast), color var(--t-fast);
}
.service-link:hover {
  color: var(--accent-hover);
  letter-spacing: 0.03em;
}

/* ── Why Section ─────────────────────────────────────────────────── */
.why-section { background: var(--bg-cream); }

/* ── Mid-page CTA ────────────────────────────────────────────────── */
.mid-cta {
  background: var(--accent);
  padding: 1.75rem 0;
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mid-cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
}

.mid-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mid-cta .btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.mid-cta .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 640px) {
  .mid-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .mid-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .mid-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3.75rem;
}

.why-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ── Process ─────────────────────────────────────────────────────── */
.process-section { background: var(--surface); }

.process-steps {
  display: flex;
  align-items: flex-start;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.025em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.process-connector {
  width: 4.5rem;
  height: 1px;
  background: var(--border);
  margin-top: 1.875rem;
  flex-shrink: 0;
}

/* ── Work Section ────────────────────────────────────────────────── */
.work-section { background: var(--bg-cream); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-base);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.work-img-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.work-img--heat  { background: var(--heat-bg);  color: var(--heat-text); }
.work-img--cool  { background: var(--cool-bg);  color: var(--cool-text); }
.work-img--water { background: var(--water-bg); color: var(--water-text); }

.img-placeholder-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.img-placeholder-brief {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
  max-width: 30ch;
  margin: 0;
}

.work-card-body { padding: 1.5rem; }

.work-type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
}

/* ── Reviews ─────────────────────────────────────────────────────── */
.reviews-section { background: var(--surface); }

.reviews-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.google-rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.google-rating-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}

.google-rating-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.google-rating-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.google-rating-label strong {
  font-weight: 600;
  color: var(--text);
}

.star-partial {
  color: var(--border);
  position: relative;
}

.reviews-trust-badge {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.reviews-trust-badge:hover {
  color: var(--accent);
  border-color: rgba(200, 33, 28, 0.3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.review-card {
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--shadow-xs);
}

.review-stars span {
  color: #F5A623;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
}

.review-author cite {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--text-dim);
  font-weight: 500;
}

.reviews-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: center;
}

.reviews-trust-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .reviews-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
  }
  .reviews-trust-actions { width: 100%; }
}

/* ── Areas ───────────────────────────────────────────────────────── */
.areas-section { background: var(--bg); }

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.area-item {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  transition:
    color var(--t-fast),
    background var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  cursor: default;
}
.area-item:hover {
  color: var(--accent);
  border-color: rgba(200, 33, 28, 0.3);
  background: var(--accent-pale);
  box-shadow: var(--shadow-sm);
}

.areas-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
}
.areas-note a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.areas-note a:hover { border-bottom-color: var(--accent); }

/* ── About ───────────────────────────────────────────────────────── */
.about-section { background: var(--bg-cream); }

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: center;
}

.about-img-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  color: var(--text-dim);
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── CTA / Contact ───────────────────────────────────────────────── */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: start;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.cta-eyebrow { color: var(--accent); }

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.cta-subhead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.cta-direct {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-or {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.cta-badge svg { color: var(--accent); flex-shrink: 0; }

/* ── Form ────────────────────────────────────────────────────────── */
.contact-form {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.optional {
  color: var(--text-dim);
  font-weight: 300;
  font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6875rem 0.875rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A09890' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 33, 28, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 84px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.form-consent a {
  color: var(--accent);
  font-weight: 500;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.55;
  margin-top: 0.25rem;
}

.form-status--success { color: #1A7A3A; }
.form-status--error   { color: var(--accent); }
.form-status--info    { display: none; }

.google-reviews-widget {
  margin-bottom: 2rem;
  min-height: 0;
}

.google-reviews-widget:not([hidden]) {
  min-height: 120px;
}

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-section { background: var(--bg); padding-top: 64px; }

.legal-container {
  max-width: 720px;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: -0.5rem;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 0.75rem;
}

.legal-body p,
.legal-body li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-body a {
  color: var(--accent);
  font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: #1C1814;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  align-self: flex-start;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 28ch;
}

.footer-phone {
  font-size: 1rem;
  font-weight: 500;
  color: #FF6B60;
  transition: color var(--t-fast);
  margin-top: 0.125rem;
}
.footer-phone:hover { color: #FF8880; }

.footer-info {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.30);
}

.placeholder-note {
  font-size: 0.72rem;
  font-style: italic;
}

.footer-nav-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.30);
  transition: color var(--t-fast);
  line-height: 1.4;
}
.footer-nav a:hover { color: rgba(255,255,255,0.60); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.22);
}

/* ── Scroll Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity  0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.services-grid .service-card:nth-child(2) { transition-delay: 0.07s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.14s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.21s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.28s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.35s; }

.why-grid .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.3s; }

.work-grid .work-card:nth-child(2) { transition-delay: 0.1s; }
.work-grid .work-card:nth-child(3) { transition-delay: 0.2s; }

.reviews-grid .review-card:nth-child(2) { transition-delay: 0.1s; }
.reviews-grid .review-card:nth-child(3) { transition-delay: 0.2s; }

/* ── Keyframes ───────────────────────────────────────────────────── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Reduced Motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Mobile call bar ─────────────────────────────────────────────── */
.mobile-call-bar {
  display: none;
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-call-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0.625rem 1rem;
    padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 251, 247, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(28, 24, 20, 0.08);
    transition: transform var(--t-base) var(--ease), opacity var(--t-base);
  }

  .mobile-call-bar.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-call-bar-phone {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6875rem 1rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--surface);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
  }

  .mobile-call-bar-phone svg {
    color: var(--accent);
    flex-shrink: 0;
  }

  .mobile-call-bar-quote {
    flex: 1;
    justify-content: center;
    padding: 0.6875rem 1rem;
    font-size: 0.9375rem;
  }
}

/* ── Tablet (≤1024px) ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }
  .hero-content { max-width: 100%; }
  .hero-headline { max-width: none; }
  .hero-visual  { max-width: 420px; }

  .services-grid  { grid-template-columns: repeat(2, 1fr); }

  .why-grid { gap: 2rem 3rem; }

  .process-steps {
    flex-direction: column;
    gap: 2.25rem;
  }
  .process-connector {
    display: block;
    width: 1px;
    height: 2rem;
    margin-left: 1.7rem;
  }

  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid .review-card:nth-child(3) { grid-column: span 2; }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { order: -1; }
  .about-img-placeholder { aspect-ratio: 16 / 7; }

  .cta-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── Mobile (≤640px) ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section      { padding: var(--section-pad-sm) 0; }
  .container    { padding: 0 1.25rem; }
  .section-header { margin-bottom: var(--section-header-mb); }

  /* Nav */
  .site-nav             { display: none; }
  .nav-phone            { display: none; }
  .nav-actions .btn-sm  { display: none; }
  .nav-toggle           { display: flex; }

  .logo-img { height: 34px; }

  /* Hero */
  .hero-container { padding-top: 1.25rem; padding-bottom: 1.75rem; }
  .hero-headline  { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-subhead   { font-size: 0.9375rem; }
  .hero-proofs    { margin-bottom: 1.125rem; }
  .hero-actions   { flex-direction: column; gap: 0.625rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero--image { min-height: 78vh; }
  .hero-bg { object-position: 72% 20%; }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(20, 16, 12, 0.9) 0%, rgba(20, 16, 12, 0.55) 55%, rgba(20, 16, 12, 0.5) 100%);
  }
  .hvac-visual--row { grid-template-columns: 1fr; }

  /* Hero quick-link bar: compact 3-up row on mobile */
  .hero-strip { padding-bottom: 1.25rem; }
  .hero-strip .hvac-visual--row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .hero-strip .hvac-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0.7rem 0.4rem;
  }
  .hero-strip .hvac-panel-text { align-items: center; }
  .hero-strip .hvac-panel-text strong { font-size: 0.9rem; }
  .hero-strip .hvac-panel-text span { display: none; }
  .hero-strip .hvac-panel-icon { width: 42px; height: 42px; }
  .hero-strip .hvac-panel-icon svg { width: 22px; height: 22px; }

  /* HVAC visual */
  .hvac-panel { padding: 1.25rem 1.5rem; gap: 1.25rem; }
  .hvac-panel-icon { width: 64px; height: 64px; }
  .hvac-panel-text strong { font-size: 1.5rem; }
  .hvac-panel-text span { font-size: 1.125rem; }
  .hvac-panel-icon svg { width: 32px; height: 32px; }

  /* Trust */
  .trust-divider   { display: none; }
  .trust-container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:nth-child(n) { transition-delay: 0s; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid .why-card:nth-child(n) { transition-delay: 0s; }

  /* Process */
  .process-steps { gap: 2rem; }
  .process-connector { display: none; }

  /* Work */
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-card:nth-child(n) { transition-delay: 0s; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid .review-card:nth-child(3) { grid-column: span 1; }
  .reviews-grid .review-card:nth-child(n) { transition-delay: 0s; }

  /* Areas */
  .area-item { padding: 0.5rem 1rem; font-size: 0.875rem; }

  /* About */
  .about-img-placeholder { aspect-ratio: 16 / 7; }

  /* CTA */
  .form-row         { grid-template-columns: 1fr; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }
  .cta-direct       { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-direct .btn  { width: 100%; justify-content: center; }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}

/* ── Service pages ─────────────────────────────────────────────── */
.service-hero {
  padding-top: 64px;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 90% 15%, rgba(200, 33, 28, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 10% 85%, rgba(27, 93, 170, 0.04) 0%, transparent 60%);
}

.service-hero--cool {
  background-image:
    radial-gradient(ellipse 70% 55% at 90% 15%, rgba(27, 93, 170, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 10% 85%, rgba(200, 33, 28, 0.03) 0%, transparent 60%);
}

.service-hero--water {
  background-image:
    radial-gradient(ellipse 70% 55% at 90% 15%, rgba(0, 119, 168, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 10% 85%, rgba(27, 93, 170, 0.04) 0%, transparent 60%);
}

.service-hero--has-image {
  padding-top: 64px;
}

.service-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}

.service-hero-copy {
  min-width: 0;
  max-width: 38rem;
}

.service-hero-copy .service-hero-subhead {
  margin-top: 0;
}

.service-hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
  justify-self: end;
  width: 100%;
  max-width: 28rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-hero-inner {
  padding-top: 1.75rem;
  padding-bottom: 2rem;
  max-width: 720px;
}

.service-hero-inner--with-seal {
  max-width: 920px;
}

.service-hero-title-row {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-bottom: 0.375rem;
}

.service-hero-inner--with-seal .service-hero-subhead {
  margin-top: 0;
}

.service-hero-title-row .service-hero-headline {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.service-hero--water .service-stamp-seal {
  margin-top: -6.25rem;
}

/* Circular seal badge: scalloped edge via SVG */
.service-stamp-seal {
  position: relative;
  flex-shrink: 0;
  width: 9.625rem;
  height: 9.625rem;
  transform: rotate(-7deg);
  transform-origin: center center;
  margin-top: 0.125rem;
}

.service-stamp-seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-stamp-seal-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.35rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
  user-select: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28),
    0 -1px 2px rgba(80, 10, 8, 0.45),
    0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 720px) {
  .service-hero-title-row {
    flex-wrap: wrap;
  }

  .service-stamp-seal {
    margin-left: auto;
    margin-top: 0;
  }

  .service-hero--water .service-stamp-seal {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .service-stamp-seal {
    width: 7.75rem;
    height: 7.75rem;
  }

  .service-stamp-seal-text {
    font-size: 0.6875rem;
    padding: 1.1rem;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.breadcrumb a:hover { color: var(--accent); }

.breadcrumb-sep {
  color: var(--border);
  user-select: none;
}

.breadcrumb-current {
  color: var(--text-muted);
}

.service-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.service-hero-subhead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.68;
  font-weight: 300;
  max-width: 54ch;
  margin-bottom: 1.5rem;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-intro-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-intro-copy p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.service-img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  color: var(--text-dim);
  text-align: center;
}

.service-img-placeholder--heat  { background: var(--heat-bg);  color: var(--heat-text); }
.service-img-placeholder--cool  { background: var(--cool-bg);  color: var(--cool-text); }
.service-img-placeholder--water { background: var(--water-bg); color: var(--water-text); }
.service-img-placeholder--emerg { background: var(--accent-pale); color: var(--accent); }
.service-img-placeholder--rebate { background: #F0FFF4; color: #1A7A3A; }

/* ── Real photos in image slots ──────────────────────────────────── */
.work-img-placeholder.has-photo,
.service-img-placeholder.has-photo,
.about-img-placeholder.has-photo {
  padding: 0;
  border: none;
  overflow: hidden;
  display: block;
}
.work-img-placeholder.has-photo img,
.service-img-placeholder.has-photo img,
.about-img-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.checklist-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* About page: story timeline */
.about-timeline {
  max-width: 720px;
  margin: 0 auto;
}
.about-timeline-item {
  position: relative;
  padding: 0 0 2.25rem 2.25rem;
  border-left: 2px solid var(--border);
}
.about-timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.about-timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-pale);
}
.about-timeline-year {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.about-timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.about-timeline-desc {
  color: var(--text-muted);
  line-height: 1.65;
}

.service-process-step {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.service-process-step .step-number {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.service-process-step .step-title {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.service-process-step .step-desc {
  font-size: 0.9375rem;
}

.service-callout {
  background: var(--accent-pale);
  border: 1.5px solid rgba(200, 33, 28, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.service-callout--blue {
  background: var(--blue-pale);
  border-color: rgba(27, 93, 170, 0.15);
}

.service-callout-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
}

.service-callout p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 62ch;
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-base),
    color var(--t-fast);
}

.related-service-link:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--accent);
}

.related-service-link span {
  font-size: 1.125rem;
  color: var(--text-dim);
  transition: color var(--t-fast);
}

.related-service-link:hover span { color: var(--accent); }

.service-page-cta {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-light);
}

.service-page-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 540px;
  margin: 0 auto;
}

.service-page-cta-inner .section-heading {
  margin-bottom: 0;
}

.service-page-cta-inner p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.service-page-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Install photo gallery (service pages) ─────────────────────── */
.install-gallery-section {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.install-gallery {
  max-width: 880px;
  margin: 0 auto;
}

.install-gallery-frame {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.install-gallery-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  min-width: 0;
}

.install-gallery-track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.install-gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.install-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.install-gallery-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  box-shadow: var(--shadow-sm);
}

.install-gallery-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.install-gallery-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.install-gallery-btn:active {
  transform: scale(0.96);
}

.install-gallery-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.install-gallery-counter {
  margin-top: 0.875rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .install-gallery-frame {
    flex-direction: column;
    gap: 0.625rem;
  }

  .install-gallery-viewport {
    width: 100%;
    order: -1;
  }

  .install-gallery-frame {
    position: relative;
  }

  .install-gallery-frame > .install-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.92);
  }

  .install-gallery-frame > .install-gallery-btn:active {
    transform: translateY(-50%) scale(0.96);
  }

  .install-gallery-btn--prev { left: 0.625rem; }
  .install-gallery-btn--next { right: 0.625rem; }
}

/* ── Hot water page: urgency paths + tank comparison ─────────────── */
.hot-water-paths {
  padding: 0 0 2rem;
  margin-top: -0.5rem;
}

.hot-water-paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hot-water-path {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.625rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hot-water-path--urgent {
  border-color: rgba(200, 33, 28, 0.22);
  background: linear-gradient(180deg, #fff9f8 0%, var(--surface) 100%);
}

.hot-water-path-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--text);
  font-weight: 400;
}

.hot-water-path p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.hot-water-path .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.hw-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.hw-compare-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.625rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hw-compare-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 13.5rem;
  background: #f5f8fa;
  border: 1px solid var(--border-light);
}

.hw-compare-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.5rem;
}

.hw-compare-card--on-demand .hw-compare-photo {
  background: #eef7fc;
}

.hw-compare-card--on-demand {
  border-color: rgba(0, 119, 168, 0.28);
  background: linear-gradient(180deg, #f4fbff 0%, var(--surface) 100%);
}

.hw-compare-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--water-text);
}

.hw-compare-card--on-demand .hw-compare-label {
  color: #0077a8;
}

.hw-compare-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text);
  font-weight: 400;
}

.hw-compare-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hw-compare-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hw-compare-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hw-compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hw-compare-card--on-demand .hw-compare-list li::before {
  background: #0077a8;
}

.hw-compare-best {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hw-compare-best strong {
  color: var(--text);
  font-weight: 600;
}

.hw-compare-note {
  margin-top: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.65;
}

.hot-water-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-intro-visual--lifestyle img {
  object-position: center 35%;
}

@media (max-width: 900px) {
  .service-hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-hero-media {
    order: -1;
    max-width: none;
    max-height: 22rem;
    aspect-ratio: 16 / 10;
    justify-self: stretch;
  }

  .service-hero-copy {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .service-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-intro-visual { order: -1; }
  .service-process-steps { grid-template-columns: 1fr; }
  .hot-water-paths-grid,
  .hw-compare-grid,
  .hot-water-reviews { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-hero-inner { padding-top: 1.25rem; padding-bottom: 1.75rem; }
  .service-hero-actions { flex-direction: column; width: 100%; }
  .service-hero-actions .btn { width: 100%; justify-content: center; }
  .checklist-grid { grid-template-columns: 1fr; }
  .related-services-grid { grid-template-columns: 1fr; }
  .service-page-cta-actions { flex-direction: column; width: 100%; }
  .service-page-cta-actions .btn { width: 100%; justify-content: center; }
  .hot-water-path .btn { width: 100%; justify-content: center; }
}
