/* ==========================================================================
   336 Heating and Air: site styles
   Brand colors are sampled from the logo. Red is reserved for "Book" buttons
   so the eye always lands on booking.
   ========================================================================== */

/* ---------- Fonts (Barlow, self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #061733;
  --navy-900: #0a2350;
  --navy: #012b75;
  --blue-700: #02459a;
  --blue: #0155ac;
  --blue-500: #0167b9;
  --blue-200: #c9ddf3;
  --blue-100: #e3eefa;
  --blue-50: #f2f7fd;
  --green: #65a402;
  --green-light: #97bb01;
  --green-text: #3d7400;
  --green-50: #f1f8e6;
  --red: #d70303;
  --red-dark: #b00202;
  --red-50: #fff3f3;
  --sun: #fdc704;
  --sun-50: #fff9e1;

  --ink: #0e1a2e;
  --ink-2: #44526a;
  --ink-3: #66748b;
  --line: #dbe3ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6, 23, 51, 0.06), 0 1px 1px rgba(6, 23, 51, 0.04);
  --shadow: 0 18px 40px -20px rgba(6, 23, 51, 0.35), 0 2px 8px rgba(6, 23, 51, 0.06);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue-700); }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; color: var(--navy-900); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(2rem, 1.45rem + 2vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 1.18rem + 0.5vw, 1.55rem); line-height: 1.2; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon-sm { width: 0.9em; height: 0.9em; display: inline-block; vertical-align: -0.05em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--sun); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy-900); color: #fff; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(780px + 2 * var(--gutter)); }

/* Seasonal content (see the inline script in <head>) */
[data-season="heating"] .only-cooling,
[data-season="cooling"] .only-heating { display: none !important; }

/* ---------- Brand bar (echoes the blue → green arc in the logo) ---------- */
.brand-bar { height: 4px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-500) 45%, var(--green) 78%, var(--green-light) 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.4em;
  font: 700 1.0625rem/1.1 var(--font); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 2px solid transparent; border-radius: 12px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-book { background: var(--red); color: #fff; box-shadow: 0 10px 20px -10px rgba(215, 3, 3, 0.7); }
.btn-book:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 24px -12px rgba(176, 2, 2, 0.75); }
.btn-call { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn-call:hover { border-color: var(--blue); color: var(--blue); }
.btn-call .icon { color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue-200); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-50); }
.btn-sm { padding: 0.62em 1.05em; font-size: 1rem; border-radius: 10px; }
.btn-lg { padding: 1em 1.7em; font-size: 1.1875rem; border-radius: 14px; }
.btn-block { width: 100%; }
/* Two-line button: label plus a small detail line ("Call for a Free Estimate" / phone number) */
.btn-stack { text-align: left; }
.btn-stack .btn-text { display: grid; gap: 2px; }
.btn-stack small { font-size: 0.8em; font-weight: 600; line-height: 1; letter-spacing: 0.02em; color: var(--ink-3); }
.btn-lg.btn-stack { padding-block: 0.6em; }
.on-dark .btn-call { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.on-dark .btn-call .icon { color: var(--sun); }
.on-dark .btn-call:hover { border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform 0.15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 24px -18px rgba(6, 23, 51, 0.35); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img, .lp-logo { height: 46px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-weight: 600; font-size: 1.0625rem; color: var(--navy-900); text-decoration: none;
}
.primary-nav a:hover { background: var(--blue-50); color: var(--blue); }
.primary-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--green); border-radius: 8px 8px 0 0; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--blue); }
.header-phone:hover { color: var(--blue); }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .menu-icon-close, .menu-open .menu-toggle .menu-icon-open { display: none; }
.menu-open .menu-toggle .menu-icon-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding-block: 8px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 1.2rem; color: var(--navy-900); text-decoration: none;
}
.mobile-menu-actions { display: grid; gap: 10px; }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .logo img, .lp-logo { height: 38px; }
  .header-inner .header-phone, .header-inner .header-book { display: none; }
}
@media (min-width: 1081px) { .mobile-menu { display: none !important; } }

/* ---------- Sticky mobile call / book bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -16px rgba(6, 23, 51, 0.35);
  }
  .mobile-cta .btn { padding-block: 0.9em; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head > :last-child { margin-bottom: 0; }
.eyebrow {
  display: flex; align-items: center; gap: 0.6em; margin: 0 0 0.85em;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--green); }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.fine-print { font-size: 0.95rem; color: var(--ink-3); }
.on-dark { color: #c9d6ec; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .eyebrow { color: var(--sun); }
.on-dark .eyebrow::before { background: var(--green-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(900px 420px at 88% 0%, var(--blue-100), transparent 65%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .accent { color: var(--blue); font-style: italic; }
.hero .lead { max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.proof-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; color: var(--ink-2); }
.proof-list li { display: inline-flex; align-items: center; gap: 8px; }
.proof-list .icon { color: var(--green); }
.season-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 0.98rem; color: var(--navy-900); text-decoration: none;
}
.season-chip .chip-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun-50); color: #b07b00; }
.season-chip .chip-icon .icon { width: 17px; height: 17px; }
.season-chip.cooling .chip-icon { background: var(--blue-50); color: var(--blue); }
.season-chip strong { color: var(--red); }
.season-chip:hover { border-color: var(--blue-200); color: var(--navy-900); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-badge {
  position: relative; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; padding: 7%;
  background: #fff; box-shadow: var(--shadow);
}
.hero-badge::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 2px dashed var(--blue-200);
}
.hero-badge img { width: 100%; height: auto; }
.price-sticker {
  position: absolute; right: -2%; bottom: -3%;
  display: grid; place-items: center; text-align: center;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 16px 30px -14px rgba(215, 3, 3, 0.8);
  transform: rotate(-8deg); line-height: 1.05;
}
.price-sticker .amt { font-weight: 800; font-style: italic; font-size: 2.6rem; letter-spacing: -0.02em; }
.price-sticker .lbl { font-weight: 700; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Value pillars (Quick · Local · Reliable) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar-num { display: block; margin-bottom: 10px; font-weight: 800; font-style: italic; font-size: 1rem; letter-spacing: 0.08em; color: var(--green-text); }
.pillar h3 { margin-bottom: 0.35em; }
.pillar p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Offer / pricing cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.offer-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3.2vw, 40px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.offer-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.offer-flag {
  position: absolute; top: -15px; left: clamp(24px, 3vw, 38px);
  padding: 6px 14px; border-radius: 999px;
  background: var(--navy-900); color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.offer-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-weight: 700; color: var(--blue); }
.offer-card h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin-bottom: 0.25em; }
.price { display: flex; align-items: flex-start; gap: 2px; margin: 10px 0 6px; color: var(--navy-900); font-weight: 800; font-style: italic; line-height: 1; }
.price .dollar { font-size: 1.7rem; margin-top: 0.3em; }
.price .amount { font-size: clamp(3.4rem, 2.6rem + 2.6vw, 4.6rem); letter-spacing: -0.03em; }
.price .per { align-self: flex-end; margin: 0 0 0.6em 8px; font-style: normal; font-weight: 600; font-size: 1.05rem; color: var(--ink-3); }
.offer-card .offer-sub { color: var(--ink-2); }
.offer-card .btn { margin-top: auto; }
.offer-card .offer-foot { margin: 14px 0 0; text-align: center; font-size: 0.98rem; color: var(--ink-3); }
.checklist { display: grid; gap: 11px; margin: 18px 0 28px; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--green); }
.checklist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 860px) {
  .offer-grid { grid-template-columns: 1fr; gap: 36px; }
  .checklist.two-col { grid-template-columns: 1fr; }
}

/* ---------- Cards (services, generic) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.card h3 { margin-bottom: 0.35em; }
.card p { margin: 0; color: var(--ink-2); }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 13px; background: var(--blue-50); color: var(--blue); }
.card-icon .icon { width: 26px; height: 26px; }
.card-icon.heat { background: var(--red-50); color: var(--red); }
.card-icon.cool { background: var(--blue-50); color: var(--blue-500); }
.card-icon.green { background: var(--green-50); color: var(--green-text); }
.card-icon.sun { background: var(--sun-50); color: #a57200; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- "Why 336" (dark) ---------- */
.why { position: relative; overflow: hidden; background: var(--navy-900); }
.why::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%;
  border: 46px solid rgba(101, 164, 2, 0.12); pointer-events: none;
}
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.why .lead { color: #c9d6ec; }
.promise-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.promise-list li {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.promise-list .p-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(101, 164, 2, 0.18); color: var(--green-light); }
.promise-list h3 { margin: 2px 0 4px; font-size: 1.25rem; color: #fff; }
.promise-list p { margin: 0; color: #c9d6ec; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Second-opinion feature ---------- */
.feature-band {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--sun); box-shadow: var(--shadow-sm);
}
.feature-band .f-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--sun-50); color: #a57200; }
.feature-band .f-icon .icon { width: 36px; height: 36px; }
.feature-band h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 0.3em; }
.feature-band p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .feature-band { grid-template-columns: 1fr; }
  .feature-band .btn { justify-self: start; }
}

/* ---------- Tips ---------- */
.tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tip-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.tip-card:hover { color: inherit; transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow); }
.tip-art { position: relative; display: grid; place-items: center; height: 132px; background: var(--blue-50); color: var(--blue); overflow: hidden; }
.tip-art .icon { width: 54px; height: 54px; position: relative; z-index: 1; }
.tip-art::before, .tip-art::after { content: ""; position: absolute; border-radius: 50%; border: 18px solid currentColor; opacity: 0.08; }
.tip-art::before { width: 220px; height: 220px; left: -60px; top: -110px; }
.tip-art::after { width: 160px; height: 160px; right: -40px; bottom: -90px; }
.tip-art.fall { background: var(--red-50); color: var(--red); }
.tip-art.winter { background: var(--blue-50); color: var(--blue-500); }
.tip-art.spring { background: var(--green-50); color: var(--green-text); }
.tip-art.summer { background: var(--sun-50); color: #a57200; }
.tip-art.year-round { background: #eef2f8; color: var(--navy); }
.tip-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.tip-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.92rem; font-weight: 600; color: var(--ink-3); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--blue-50); color: var(--blue); }
.tag.fall { background: var(--red-50); color: var(--red-dark); }
.tag.winter { background: var(--blue-50); color: var(--blue-700); }
.tag.spring { background: var(--green-50); color: var(--green-text); }
.tag.summer { background: var(--sun-50); color: #8a5f00; }
.tag.year-round { background: #eef2f8; color: var(--navy); }
.tip-card h3 { font-size: 1.32rem; margin-bottom: 0.4em; }
.tip-card p { margin: 0 0 16px; color: var(--ink-2); font-size: 1.05rem; }
.tip-card .link-arrow { margin-top: auto; color: var(--blue); }
@media (max-width: 960px) { .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tip-grid { grid-template-columns: 1fr; } }

/* ---------- Article (tip pages) ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 52px); background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.5rem); margin-bottom: 0.3em; }
.page-hero .lead { max-width: 40em; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 0.98rem; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-card h2 { font-size: 1.45rem; margin-bottom: 0.3em; }
.aside-card .price { margin: 4px 0 10px; }
.aside-card .price .amount { font-size: 3.2rem; }
.aside-card p { color: var(--ink-2); font-size: 1.05rem; }
.aside-card .btn { width: 100%; }
.aside-card .aside-call { display: block; margin-top: 12px; text-align: center; font-weight: 700; color: var(--navy-900); text-decoration: none; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

.prose { font-size: 1.16rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.7em 0 0.5em; font-size: clamp(1.55rem, 1.35rem + 0.8vw, 1.95rem); }
.prose h3 { margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose .checklist li::marker { content: none; }
.prose .checklist { margin: 1.2em 0 1.6em; }
.prose a:not(.btn) { font-weight: 600; }
.callout { margin: 1.6em 0; padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; border-left: 5px solid var(--sun); background: var(--sun-50); }
.callout > :last-child { margin-bottom: 0; }
.callout-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 800; color: var(--navy-900); }
.callout.warn { border-color: var(--red); background: var(--red-50); }
.callout.tip { border-color: var(--green); background: var(--green-50); }
.callout.info { border-color: var(--blue); background: var(--blue-50); }
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 2.2em 0 0; padding: 24px 26px; border-radius: var(--radius);
  background: var(--navy-900); color: #c9d6ec;
}
.inline-cta strong { display: block; color: #fff; font-size: 1.3rem; line-height: 1.25; }
.article-footer { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Season toggle (plans page) ---------- */
.season-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.season-toggle button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 700 1rem var(--font); color: var(--ink-2);
}
.season-toggle button .icon { width: 18px; height: 18px; }
[data-season="heating"] .season-toggle [data-set-season="heating"],
[data-season="cooling"] .season-toggle [data-set-season="cooling"] { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
[data-season="heating"] .season-toggle [data-set-season="heating"] .icon { color: var(--red); }
[data-season="cooling"] .season-toggle [data-set-season="cooling"] .icon { color: var(--blue-500); }
.checklist-panel { margin-top: 28px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.checklist-panel h3 { display: flex; align-items: center; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.2rem; line-height: 1.35; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); }
.faq .answer > :last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
/* The Housecall Pro widget draws its own card, so the frame only sizes it. */
.reviews-frame { max-width: 1000px; margin-inline: auto; }
.reviews-frame iframe { width: 100%; height: 460px; border: 0; }
@media (max-width: 600px) { .reviews-frame iframe { height: 520px; } }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.town-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.town-list li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy-900); }
.town-list .icon { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px); background: linear-gradient(118deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--blue-700) 100%); color: #c9d6ec; }
.cta-band::before {
  content: ""; position: absolute; left: -160px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%;
  border: 40px solid rgba(151, 187, 1, 0.09); pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-band-copy { max-width: 620px; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; font-size: 1.2rem; }
.cta-band-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band-call { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.cta-band-call .icon { color: var(--sun); }
.cta-band-call:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .cta-band-actions { width: 100%; align-items: stretch; } .cta-band-call { justify-content: center; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--blue-50), var(--blue-100)); display: grid; place-items: center; }
.portrait img.photo { width: 100%; height: 100%; object-fit: cover; }
.portrait img.badge { width: 72%; }
.portrait-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); font-weight: 700; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.portrait-caption span { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ink-3); }
.signature { margin-top: 1.2em; font-weight: 800; font-style: italic; font-size: 1.5rem; color: var(--blue); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(48px, 7vw, 72px); background: var(--navy-950); color: #b3c2da; font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 0.9fr 1.1fr; gap: 40px; }
.footer-h { margin: 6px 0 16px; font-size: 0.92rem; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #e3ebf8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.badge-disc { display: inline-grid; place-items: center; width: 116px; height: 116px; margin-bottom: 16px; padding: 7px; border-radius: 50%; background: #fff; }
.badge-disc img { width: 100%; height: auto; }
.footer-brand p { max-width: 30em; }
.footer-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-list li, .footer-list a { display: flex; align-items: flex-start; gap: 10px; }
.footer-list .icon { margin-top: 3px; color: var(--green-light); }
.footer-links a { display: inline; }
.footer-book p { margin-bottom: 18px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.social a:hover { background: rgba(255, 255, 255, 0.16); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 6vw, 56px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.95rem; }
.footer-bottom-wrap { padding-bottom: 0; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Landing page ---------- */
.lp-header { background: #fff; border-bottom: 1px solid var(--line); }
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.lp-header-actions { display: flex; align-items: center; gap: 16px; }
@media (max-width: 760px) { .lp-header-actions .header-book { display: none; } }
@media (max-width: 400px) { .lp-header-actions .header-phone span { font-size: 0.98rem; } }
.lp-hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px); background: radial-gradient(900px 420px at 90% 0%, var(--blue-100), transparent 65%), linear-gradient(180deg, var(--blue-50), #fff); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp-hero h1 .price-inline { color: var(--red); font-style: italic; white-space: nowrap; }
.lp-hero .lead { max-width: 34em; }
.lp-sub { margin-top: 14px; font-size: 1rem; color: var(--ink-3); }
.coupon {
  position: relative; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg);
  background: #fff; border: 2px dashed var(--blue-200); box-shadow: var(--shadow);
}
.coupon-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.coupon-head .price { margin: 0; }
.coupon-head .price .amount { font-size: clamp(3.2rem, 2.6rem + 2vw, 4.2rem); }
.coupon-label { font-weight: 800; font-size: 1.15rem; line-height: 1.2; color: var(--navy-900); }
.coupon-label span { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ink-3); }
.coupon .checklist { margin: 18px 0 22px; gap: 9px; font-size: 1.05rem; }
.coupon .fine-print { margin: 12px 0 0; text-align: center; }
@media (max-width: 900px) { .lp-hero-grid { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-weight: 800; font-style: italic; font-size: 1.2rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.lp-footer { padding-block: 28px; text-align: center; color: var(--ink-3); font-size: 0.98rem; border-top: 1px solid var(--line); }
.lp-footer p { margin: 0; }
.lp-footer a { color: var(--ink-2); }

/* ---------- Diagnostic price strip ---------- */
.diag-note {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 24px; align-items: center;
  margin-top: 24px; padding: 20px 26px; border-radius: var(--radius);
  background: #fff; border: 1.5px dashed var(--blue-200);
}
.diag-note p { margin: 0; color: var(--ink-2); }
.diag-note strong { color: var(--navy-900); }
.diag-price { display: inline-flex; align-items: flex-start; font-weight: 800; font-style: italic; font-size: 2.7rem; line-height: 1; letter-spacing: -0.02em; color: var(--navy-900); }
.diag-price .dollar { margin-top: 0.2em; font-size: 1.2rem; }
@media (max-width: 760px) {
  .diag-note { grid-template-columns: 1fr; }
  .diag-note .btn { justify-self: start; }
}
.plan-detail-cta { max-width: 440px; margin-top: 28px; }
.plan-detail-cta .offer-foot { text-align: left; }

/* ---------- Page-specific additions ---------- */
.offer-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin-bottom: 0.25em; }
ol.steps { margin: 0; padding: 0; list-style: none; }
.steps-vertical { grid-template-columns: 1fr; gap: 14px; }
.steps-vertical .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 22px 24px; }
.steps-vertical .step::before { grid-row: span 2; margin: 0; }
.steps-vertical .step h3 { margin: 6px 0 4px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid-4 { grid-template-columns: 1fr; } }
.checklist-panel h3 .card-icon { width: 44px; height: 44px; margin: 0; }
.checklist-panel h3 .card-icon .icon { width: 24px; height: 24px; }
.season-toggle + .checklist-panel { margin-top: 24px; }
.ty-check { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 22px; border-radius: 50%; background: var(--green-50); color: var(--green-text); }
.ty-check .icon { width: 46px; height: 46px; }
.eyebrow-center, .center .eyebrow { justify-content: center; }
.hero-actions-center { justify-content: center; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.stack-sm > * + * { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .mobile-cta, .cta-band, .site-footer, .brand-bar { display: none !important; }
}
