/* ============================================================
   GH HEATING — DESIGN SYSTEM
   ------------------------------------------------------------
   This stylesheet is structured as a reusable component system
   intended to be ported to WordPress Gutenberg blocks.

   PRIMITIVES
     - Tokens (color, type, space, radius, shadow)

   SECTION BACKGROUNDS — five styles only
     .sec-light    #ffffff
     .sec-subtle   #f5f6f8
     .sec-tinted   #eef3f7
     .sec-dark     #1a4c72   (navy)
     .sec-deep     #1e2d3d   (deep blue-gray)

   BUTTONS — three styles only
     .btn-primary    solid orange
     .btn-secondary  outlined orange
     .btn-ghost      outlined white (use on .sec-dark / .sec-deep)

   CARDS — one base + dark inversion
     .card           base white card
     .sec-dark .card,
     .sec-deep .card invert to dark card with light text

   EYEBROWS — single format
     .eyebrow        "— LABEL" small caps, orange dash prefix

   COLOUR RULE — orange is a light-background colour
     On .sec-dark and .sec-deep:
       - All text/headings/icons render in white
       - Orange TEXT/ICON accents use --orange-on-dark (#ff8d4d),
         a lifted tangerine that keeps saturation but passes AA on navy
       - Full --orange (#e95000) only as a FILL behind white text
         (buttons, badges) — never as text on navy
       - Buttons MUST be .btn-ghost (white outline) — never .btn-primary
     On .sec-light / .sec-subtle / .sec-tinted:
       - Orange buttons (.btn-primary) are the default CTA
       - Brand-colour logo, dark text
   ============================================================ */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Brand */
  --navy: #1a4c72;
  --navy-deep: #1e2d3d;
  --orange: #e95000;
  --orange-hover: #cf4600;
  --orange-on-dark: #ff8d4d; /* luminous tangerine — brand orange lifted for AA contrast on navy */

  /* Neutrals */
  --white: #ffffff;
  --subtle: #f5f6f8;
  --tinted: #eef3f7;
  --text: #1e2d3d;
  --text-mid: #5a6a7a;
  --text-light: #8a98a8;
  --border: #dde4ec;

  /* Inverted neutrals (for dark/deep sections) */
  --text-on-dark: #ffffff;
  --text-on-dark-mid: rgba(255, 255, 255, 0.78);
  --text-on-dark-low: rgba(255, 255, 255, 0.6);
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --card-on-dark: rgba(255, 255, 255, 0.05);
  --card-on-dark-hover: rgba(255, 255, 255, 0.08);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 42, 64, 0.06), 0 1px 3px rgba(15, 42, 64, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 42, 64, 0.08), 0 2px 4px rgba(15, 42, 64, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 42, 64, 0.14), 0 4px 12px rgba(15, 42, 64, 0.06);
  --shadow-orange: 0 8px 24px rgba(233, 80, 0, 0.28);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Container */
  --container: 1320px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

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

/* ============================================================
   SECTION BACKGROUNDS — five styles
   ============================================================ */
section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0; }

.sec-light   { background: var(--white); color: var(--text); }
.sec-subtle  { background: var(--subtle); color: var(--text); }
.sec-tinted  { background: var(--tinted); color: var(--text); }
.sec-dark    { background: var(--navy); color: var(--text-on-dark); }
.sec-deep    { background: var(--navy-deep); color: var(--text-on-dark); }

/* Text colour cascade for inverted sections */
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4,
.sec-deep h1, .sec-deep h2, .sec-deep h3, .sec-deep h4 { color: var(--text-on-dark); }

.sec-dark .section-head p,
.sec-deep .section-head p { color: var(--text-on-dark-mid); }

/* ============================================================
   EYEBROW — single format
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.sec-dark .eyebrow,
.sec-deep .eyebrow { color: var(--orange-on-dark); }
.sec-dark .eyebrow::before,
.sec-deep .eyebrow::before { background: var(--orange-on-dark); }

.eyebrow-shield {
  width: 16px; height: 19px;
  opacity: 0.95;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--text-mid); font-size: 18px; line-height: 1.5; margin-top: 14px; }

/* ============================================================
   BUTTONS — three styles only
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 200ms var(--ease),
              background-color 200ms var(--ease),
              box-shadow 200ms var(--ease),
              border-color 200ms var(--ease),
              color 200ms var(--ease);
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }

/* Primary — solid orange */
.btn-primary {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(233, 80, 0, 0.36);
}

/* Secondary — outlined orange */
.btn-secondary {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-secondary:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Ghost — outlined white (use on dark/deep) */
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================================
   CARDS — one base + dark inversion
   ============================================================ */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 300ms var(--ease),
              box-shadow 300ms var(--ease),
              border-color 300ms var(--ease),
              background-color 300ms var(--ease);
  color: var(--text);
  text-decoration: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
/* Card inversion on dark/deep sections */
.sec-dark .card,
.sec-deep .card {
  background: var(--card-on-dark);
  border-color: var(--border-on-dark);
  color: var(--text-on-dark);
  backdrop-filter: blur(6px);
}
.sec-dark .card:hover,
.sec-deep .card:hover {
  background: var(--card-on-dark-hover);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.sec-dark .card h3,
.sec-deep .card h3 { color: var(--text-on-dark); }
.sec-dark .card p,
.sec-deep .card p { color: var(--text-on-dark-mid); }

/* ============================================================
   NAV — fixed white at all times (non-negotiable brand rule)
   - White background, brand-colour logo
   - Dark hero image sits BELOW the navbar, not behind it
   - On scroll: subtle shadow added for elevation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 320ms var(--ease), padding 320ms var(--ease), top 320ms var(--ease);
}
.nav--announce { top: var(--announce-h, 44px); }
.nav.scrolled {
  box-shadow: 0 4px 16px rgba(15, 42, 64, 0.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 44px; height: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 200ms var(--ease);
}
.nav-logo:hover .logo-icon { transform: translateY(-1px); }

.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 4px;
}
.wordmark-main {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--orange);
  line-height: 1;
}
.wordmark-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: var(--text);
  font-size: 14px; font-weight: 500;
  padding: 9px 12px; border-radius: 8px;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.nav-links a:hover { color: var(--orange); background: var(--subtle); }

/* ── Dropdown menus ── */
.nav-has-dropdown { position: relative; }
.nav-top {
  appearance: none; border: 0; background: transparent;
  font-family: inherit; cursor: pointer;
  color: var(--text);
  font-size: 14px; font-weight: 500;
  padding: 9px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.nav-caret {
  display: inline-flex;
  color: var(--text-mid);
  transition: transform 200ms var(--ease), color 180ms var(--ease);
}
.nav-has-dropdown:hover .nav-top,
.nav-has-dropdown:focus-within .nav-top {
  color: var(--orange); background: var(--subtle);
}
.nav-has-dropdown:hover .nav-caret,
.nav-has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg); color: var(--orange);
}
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 248px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(15, 42, 64, 0.14), 0 2px 8px rgba(15, 42, 64, 0.06);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  z-index: 10;
}
/* hover bridge so the gap doesn't drop the menu */
.nav-dropdown::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.nav-dropdown-list a {
  display: block;
  padding: 9px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav-dropdown-list a:hover { color: var(--orange); background: var(--subtle); }
.nav-dropdown-footer {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 10px 12px 4px;
  border-top: 1px solid var(--border);
  width: 100%; box-sizing: border-box;
  font-size: 13px; font-weight: 600;
  color: var(--orange);
  transition: gap 180ms var(--ease);
}
.nav-dropdown-footer:hover { gap: 10px; }

/* ============================================================
   EMERGENCY — Variation A: announcement bar / Variation B: floating pill
   ============================================================ */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 101;
  display: block;
  background: #1e2d3d;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 0;
  transition: background 200ms var(--ease);
}
.announce-bar:hover { background: #25394d; }
.announce-inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  font-size: 14px; line-height: 1.4;
  text-align: center;
}
.announce-text { color: rgba(255, 255, 255, 0.85); }
.announce-text strong { color: #ffffff; font-weight: 700; }
.announce-num { color: #ffffff; font-weight: 700; white-space: nowrap; }
.announce-arrow {
  display: inline-flex; align-items: center;
  color: var(--orange-on-dark);
  transition: transform 200ms var(--ease);
}
.announce-bar:hover .announce-arrow { transform: translateX(3px); }

.emergency-pill {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 120;
  display: inline-flex; align-items: center; gap: 10px;
  background: #e95000;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(233, 80, 0, 0.42), 0 2px 8px rgba(15, 42, 64, 0.2);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.emergency-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(233, 80, 0, 0.5), 0 4px 10px rgba(15, 42, 64, 0.24);
}
.emergency-pill .pill-icon { display: inline-flex; align-items: center; }
.emergency-pill .pill-text strong { font-weight: 700; }
@media (max-width: 560px) {
  .announce-inner { font-size: 13px; gap: 8px; }
  .emergency-pill { bottom: 16px; right: 16px; padding: 13px 18px; }
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* Utility emergency link (variant B) — sits left of phone, outside main nav */
.utility-emergency {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.utility-emergency:hover {
  background: var(--orange);
  color: #ffffff;
}
.utility-emergency .util-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(233, 80, 0, 0.18);
  animation: pulse-orange 1.8s ease-in-out infinite;
}
@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 0 0 4px rgba(233, 80, 0, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(233, 80, 0, 0.08); }
}
.utility-emergency:hover .util-dot {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.nav-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 600; font-size: 14px;
}
.nav-phone svg { width: 16px; height: 16px; }

.nav-mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--subtle);
  color: var(--navy);
  align-items: center; justify-content: center;
}

@media (max-width: 1100px) {
  .nav-variant-B .utility-emergency .label-text,
  .nav-variant-B .utility-emergency span:not(.util-dot) {
    /* keep label */
  }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .nav-phone { display: none; }
  .nav-cta .utility-emergency { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}

/* Hero clears the fixed white nav — top padding fits the nav height + breathing room */
:root { --nav-height: 84px; }
main { padding-top: var(--nav-height); }
@media (max-width: 980px) { :root { --nav-height: 76px; } }

/* ============================================================
   HERO — dark (#1a4c72), parallax bg, shield watermark
   ============================================================ */
.hero {
  min-height: 720px;
  padding: 100px 0 140px;
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--navy);
  will-change: transform;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
    radial-gradient(60% 80% at 20% 30%, rgba(26, 76, 114, 0.7), transparent 60%),
    radial-gradient(50% 70% at 80% 70%, rgba(233, 80, 0, 0.16), transparent 60%),
    linear-gradient(135deg, #133957 0%, #1a4c72 60%, #133957 100%);
}
.hero-bg::after {
  content: 'Hero photo — engineer at work, modern kitchen';
  position: absolute; bottom: 24px; right: 24px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 42, 64, 0.55) 0%, rgba(15, 42, 64, 0.75) 60%, rgba(15, 42, 64, 0.9) 100%);
}
.hero-shield {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  height: 130%;
  width: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-content { max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}
.hero h1 { color: #ffffff; max-width: 14ch; }
.hero h1 .accent { color: var(--orange-on-dark); }
.hero-sub {
  margin-top: 24px; font-size: 20px; line-height: 1.55;
  color: rgba(255,255,255,0.85); max-width: 56ch;
}
.hero-sub .price { color: #ffffff; font-weight: 700; }
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 56px; display: flex; gap: 48px; flex-wrap: wrap;
}
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-item .label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 6px;
}
.hero-meta-item .value {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px;
}

/* ============================================================
   TRUST BAR — Variant A (white) and Variant B (tinted)
   ============================================================ */
.trust-bar {
  padding: 28px 0;
}
.trust-bar-A {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-bar-B {
  background: var(--tinted);
  border-top: 1px solid #dde3ea;
  border-bottom: 1px solid #dde3ea;
}
.trust-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-heading {
  margin: 0 0 22px;
}
.accred-col {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 12px;
  padding: 4px 28px;
  position: relative;
}
.accred-col + .accred-col::before {
  content: '';
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--border);
}
.accred-logo {
  display: flex; align-items: center; justify-content: center;
  height: 56px;
}
.accred-logo img {
  height: 48px; width: auto;
  display: block;
}
/* Gas Safe is a self-contained black badge — round its corners so it reads as a logo */
.accred-logo img[src*="gas-safe"] { height: 56px; border-radius: 8px; }
.accred-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.accred-sub {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.4;
  max-width: 30ch;
}

@media (max-width: 720px) {
  .trust-cols { grid-template-columns: 1fr; gap: 28px; }
  .accred-col { padding: 0; }
  .accred-col + .accred-col::before { display: none; }
}

/* ============================================================
   AUDIENCE — equal three-up cards
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  padding: 36px 32px;
  min-height: 320px;
  gap: 18px;
}
.audience-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--tinted);
  display: grid; place-items: center;
  color: var(--navy);
}
.audience-card h3 { font-size: 22px; }
.audience-card p {
  color: var(--text-mid);
  font-size: 15px;
  flex: 1;
}
.audience-card .arrow {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 600; font-size: 14px;
}
.audience-card .arrow svg { transition: transform 240ms var(--ease); }
.audience-card:hover .arrow svg { transform: translateX(4px); color: var(--orange); }

/* ============================================================
   INSTALLS — light section, two-column with photo
   ============================================================ */
.installs-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center;
}
.installs-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 18px;
}
.installs-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; color: var(--text);
}
.installs-list .check {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: #fff1ec; color: var(--orange);
  display: grid; place-items: center;
}
.installs-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.installs-finance-note { font-size: 12px; color: var(--text-mid); margin-top: 18px; }
.installs-finance-note a { color: var(--navy); text-decoration: underline; }

/* ============================================================
   STATS STRIP — dark full-bleed band, counters only
   ============================================================ */
.stats-strip {
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 80% at 80% 50%, rgba(233, 80, 0, 0.14), transparent 60%);
  pointer-events: none;
}
.stats-strip > .container { position: relative; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: center;
}
.stat {
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
  padding: 12px;
}
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 4.4vw, 64px);
  line-height: 1;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 2px; justify-content: center;
}
.stat-num .suffix { color: var(--orange-on-dark); }
.stat-num .placeholder-num {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}
.stat-label {
  color: var(--text-on-dark-mid);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   PLACEHOLDER IMAGE
   ============================================================ */
.placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--tinted) 0 10px, var(--subtle) 10px 20px);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
}
.placeholder .ph-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-mid);
  background: white;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  letter-spacing: 0.03em;
}

/* ============================================================
   PLANS — light section, white cards
   Recommended card has a navy banner header
   ============================================================ */
.plans-section { overflow: hidden; }
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.plan-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex; flex-direction: column;
  gap: 0;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.plan-card.featured {
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(233, 80, 0, 0.18);
}
.plan-card.featured:hover {
  border-color: var(--orange);
  box-shadow: 0 20px 50px rgba(233, 80, 0, 0.26);
}
.plan-banner {
  background: var(--orange);
  color: #ffffff;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.plan-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}
.plan-banner::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}
.plan-body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.plan-card:not(.featured) .plan-body {
  padding-top: 36px;
}
.plan-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.plan-desc {
  color: var(--text-mid);
  font-size: 15px; line-height: 1.55;
  min-height: 3.1em;
}
.plan-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 44px; letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 4px;
  margin-top: 4px;
  color: var(--navy);
}
.plan-price .per { font-size: 14px; font-weight: 500; color: var(--text-mid); letter-spacing: 0; }
.plan-features { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.plan-features li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}
.plan-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tinted);
  color: var(--navy);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.plan-cta {
  margin-top: auto;
  padding-top: 24px;
}
.plan-cta.btn {
  width: 100%;
  height: 48px;
  font-size: 14px;
  margin-top: 24px;
  padding-top: 0;
}
.plans-aside {
  margin-top: 40px;
  text-align: center;
  color: var(--text-mid);
  font-size: 14px;
}
.plans-aside a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.plans-aside a:hover { color: var(--orange); border-color: var(--orange); }
.plans-footer {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.plans-footer .small { color: var(--text-mid); font-size: 13px; max-width: 480px; }

/* ============================================================
   COMMERCIAL — deep section, side-by-side blocks
   ============================================================ */
.commercial-strip { position: relative; overflow: hidden; padding: 110px 0; }
.commercial-strip > .container { position: relative; z-index: 1; }
.commercial-shield {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  height: 150%;
  width: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.commercial-head { max-width: 720px; margin-bottom: 64px; }
.commercial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-on-dark);
}
.commercial-block {
  padding: 40px 36px 40px 0;
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--border-on-dark);
}
.commercial-block:last-child { border-right: none; padding-right: 0; }
.commercial-block + .commercial-block { padding-left: 36px; }
.commercial-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--border-on-dark);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.commercial-block h3 { font-size: 20px; letter-spacing: -0.005em; color: #ffffff; }
.commercial-block p { color: var(--text-on-dark-mid); font-size: 15px; line-height: 1.55; }
.commercial-cta {
  margin-top: 56px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-on-dark);
}
.commercial-note { color: var(--text-on-dark-mid); font-size: 14px; }
.commercial-note a { color: #ffffff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.commercial-note a:hover { color: #ffffff; text-decoration-color: #ffffff; }

/* ============================================================
   TESTIMONIALS — subtle bg, white cards
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonials .card { padding: 32px; gap: 18px; }
.testimonials .stars { color: #f5a623; font-size: 16px; letter-spacing: 2px; }
.testimonial-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.type-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.type-tag-homeowner { background: var(--tinted); color: var(--navy); }
.type-tag-commercial { background: #fff1ec; color: var(--orange); }
.testimonials blockquote {
  margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); font-weight: 500;
}
.testimonial-footer {
  margin-top: auto; display: flex; align-items: center; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tinted); color: var(--navy);
  display: grid; place-items: center;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px;
}
.testimonial-name { font-weight: 600; font-size: 15px; color: var(--text); }
.testimonial-meta { font-size: 13px; color: var(--text-mid); }

/* ============================================================
   BLOG — light, white cards
   ============================================================ */
.blog-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.blog-head h2 { max-width: 16ch; }
.blog-link {
  color: var(--navy); font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.blog-link:hover { color: var(--orange); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.blog-card {
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}
.blog-card .blog-image {
  aspect-ratio: 16/10;
  background: repeating-linear-gradient(45deg, var(--tinted) 0 10px, var(--subtle) 10px 20px);
  border-bottom: 1px solid var(--border);
  display: grid; place-items: center;
}
.blog-card .blog-image .ph-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mid);
  background: white; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border);
}
.blog-card-body {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-mid);
}
.blog-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  background: #fff1ec; color: var(--orange);
}
.blog-tag.maintenance { background: var(--tinted); color: var(--navy); }
.blog-tag.guide { background: #f0f7ee; color: #386e1e; }
.blog-card h3 {
  font-size: 22px; line-height: 1.25;
  transition: color 240ms var(--ease);
}
.blog-card:hover h3 { color: var(--orange); }
.blog-excerpt { color: var(--text-mid); font-size: 15px; }
.blog-readmore {
  color: var(--navy); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
}

/* ============================================================
   AREAS — tinted bg, white panels
   ============================================================ */
.areas-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
  margin-bottom: 56px;
}
.areas-header h2 { max-width: 14ch; }
.areas-header h2 .accent { color: var(--orange); }
.areas-header p { color: var(--text-mid); font-size: 17px; line-height: 1.6; }
.areas-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.areas-tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.areas-tier-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.areas-tier h3 { font-size: 22px; }
.areas-tier .count {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 13px; color: var(--text-mid);
  background: var(--tinted); padding: 4px 10px; border-radius: 999px;
}
.areas-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.areas-list a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  background: var(--subtle); color: var(--text);
  border: 1px solid var(--border);
  transition: all 200ms var(--ease);
}
.areas-list a:hover {
  background: var(--orange); color: white; border-color: var(--orange);
  transform: translateY(-2px);
}
.areas-list .featured {
  background: var(--navy); color: white; border-color: var(--navy);
}
.areas-footer { margin-top: 48px; display: flex; justify-content: center; }

/* ============================================================
   FOOTER — dark navy
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark-mid);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-shield {
  position: absolute;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  height: 130%;
  width: auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand .logo-stack .logo-light { opacity: 1; }
.footer-brand .logo-stack .logo-brand { opacity: 0; }
.footer-brand .wordmark-main { color: #ffffff; }
.footer-brand .wordmark-sub { color: var(--text-on-dark-mid); }
.footer-tagline { color: var(--text-on-dark-mid); font-size: 14px; max-width: 36ch; }
.footer-col h4 {
  color: #ffffff; font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { font-size: 14px; color: var(--text-on-dark-mid); transition: color 180ms; }
.footer-list a:hover { color: #ffffff; }
.footer-contact { display: grid; gap: 14px; font-size: 14px; }
.footer-contact .row {
  display: flex; gap: 12px; align-items: flex-start; color: var(--text-on-dark-mid);
}
.footer-contact .row svg { width: 18px; height: 18px; color: var(--orange-on-dark); flex-shrink: 0; margin-top: 2px; }
.footer-contact a:hover { color: #ffffff; }
.footer-creds {
  margin-top: 8px;
  padding-top: 20px; border-top: 1px solid var(--border-on-dark);
  display: grid; gap: 8px;
  font-size: 13px;
}
.footer-creds .cred-row {
  display: flex; justify-content: space-between; gap: 12px;
  color: var(--text-on-dark-mid);
}
.footer-creds .cred-row strong { color: #ffffff; font-weight: 600; }
.footer-bottom {
  padding-top: 32px;
  display: flex; gap: 32px; justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.footer-disclaimer {
  margin-top: 24px;
  font-size: 11px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 96ch;
}
.footer-disclaimer strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

/* ============================================================
   MOBILE STICKY
   ============================================================ */
.mobile-sticky {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: none;
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(15, 42, 64, 0.1);
  transform: translateY(100%);
  transition: transform 320ms var(--ease);
}
.mobile-sticky.show { transform: translateY(0); }
.mobile-sticky .phone,
.mobile-sticky .book {
  flex: 1; height: 48px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px;
}
.mobile-sticky .phone {
  border: 2px solid var(--navy); color: var(--navy);
}
.mobile-sticky .book {
  background: var(--orange); color: white;
}

/* ============================================================
   REVEALS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* ============================================================
   ICON ANIMATIONS
   ============================================================ */
@keyframes flicker {
  0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
  50% { transform: scale(1.08) translateY(-1px); opacity: 0.92; }
}
@keyframes wobble {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
@keyframes gentle-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.icon-flame .flame-body { transform-origin: center 80%; animation: flicker 1.6s ease-in-out infinite; }
.icon-wrench { animation: wobble 3.2s ease-in-out infinite; transform-origin: center; }
.icon-boiler .boiler-dot { animation: gentle-bob 2s ease-in-out infinite; }
.icon-shield .shield-check { animation: gentle-bob 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .icon-flame .flame-body,
  .icon-wrench,
  .icon-boiler .boiler-dot,
  .icon-shield .shield-check,
  .reveal,
  .reveal-stagger > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  :root { --gutter: 20px; }
  section { padding: 72px 0; }
  .stats-strip { padding: 48px 0; }
  .audience-grid,
  .plans-grid,
  .testimonials-grid,
  .blog-grid,
  .stats-grid,
  .commercial-grid,
  .areas-tiers { grid-template-columns: 1fr; gap: 16px; }
  .installs-grid { grid-template-columns: 1fr; gap: 40px; }
  .areas-header { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mobile-sticky { display: flex; }
  body { padding-bottom: 80px; }
  .hero { padding: 64px 0 80px; min-height: 0; }
  .hero h1 { font-size: 40px; }
  .hero-meta { gap: 28px; }
  .commercial-block { padding: 32px 0; border-right: none; border-bottom: 1px solid var(--border-on-dark); }
  .commercial-block + .commercial-block { padding-left: 0; }
  .commercial-block:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
