/* Reliable HVAC, Inc. — site styles
   One family (Archivo Variable, self-hosted). Black, white, and gray; yellow only on calls to action.
   Hard edges, real photos. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Black and white, with yellow reserved for calls to action */
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #6b6b6b;
  --paper: #f4f4f4;
  --cream: #ffffff;
  --white: #ffffff;
  --line: #e1e1e1;
  --hivis: #ffd500;
  --hivis-deep: #e9c300;
  --maroon: #111111;
  --maroon-deep: #000000;
  --sage: #111111;
  --sage-light: #111111;
  --cool: #111111;
  --danger: #b23a2f;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 76px; /* room for the mobile call bar */
}
@media (min-width: 1100px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; }
address { font-style: normal; }
ul, ol { padding-left: 1.25rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hivis); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale (base 17px, ratio ~1.25) ---------- */
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.08; letter-spacing: -0.015em; font-weight: 760; font-stretch: 108%; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; font-stretch: 104%; }
h4 { font-size: 1.05rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.measure { max-width: 64ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9375rem; }
strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-stretch: 104%; line-height: 1.15; text-decoration: none; cursor: pointer;
  min-height: 48px; white-space: nowrap;
}
.btn-primary { background: var(--hivis); color: var(--ink); border-color: var(--hivis); }
.btn-primary:hover { background: var(--hivis-deep); border-color: var(--hivis-deep); color: var(--ink); }
.btn-dark { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.btn-dark:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); color: var(--white); }
.btn-outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn-outline:hover { background: rgba(0, 0, 0, 0.06); color: currentColor; }
.btn-lg { font-size: 1.15rem; padding: 1rem 1.6rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 2px solid var(--white); border-radius: var(--radius); padding: 0.45rem 0.7rem; font: inherit; font-weight: 700; color: var(--white); cursor: pointer; }
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #333; padding: 0.5rem var(--gutter) 1rem; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 0.7rem 0; color: var(--white); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.site-nav li a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--hivis); padding-left: 0.75rem; }
.nav-phone { margin-top: 1rem; width: 100%; }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; align-items: center; gap: 1.5rem; border: 0; padding: 0; background: none; }
  .site-nav ul { display: flex; gap: 1.25rem; }
  .site-nav li a { padding: 0.35rem 0; border: 0; font-weight: 600; font-size: 0.97rem; border-bottom: 3px solid transparent; white-space: nowrap; }
  .site-nav li a:hover { border-bottom-color: rgba(255, 255, 255, 0.4); }
  .site-nav li a[aria-current="page"] { box-shadow: none; padding-left: 0; border-bottom-color: var(--hivis); }
  .nav-phone { margin: 0; width: auto; }
}

/* ---------- Mobile call bar ---------- */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left)); background: var(--white); border-top: 1px solid var(--line); }
.call-bar .btn { padding-inline: 0.5rem; font-size: 0.95rem; }
@media (min-width: 1100px) { .call-bar { display: none; } }

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { padding: var(--space-4) var(--gutter) var(--space-4); }
.hero-badge { display: block; width: min(100%, 340px); height: auto; margin: 0 0 1.5rem; border-radius: 6px; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14); }
.hero-panel h1 { color: var(--ink); }
.hero-panel .lead { color: var(--ink-2); }
.hero-panel .btn-outline { color: var(--ink); }
.hero-proof { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; }
.hero-proof strong { color: var(--ink); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 560px; }
  .hero-media { order: 2; aspect-ratio: auto; }
  .hero-panel { order: 1; padding: var(--space-5) var(--space-4) var(--space-5) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
  .hero--inner { min-height: 420px; }
  .hero--inner .hero-panel { padding-block: var(--space-4); }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.trust-strip li { padding: 1rem var(--gutter) 1rem 0; border-bottom: 1px solid var(--line); }
.trust-strip li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-strip li:nth-child(even) { padding-left: var(--gutter); padding-right: 0; }
.trust-strip strong { display: block; font-size: 1.15rem; font-stretch: 106%; }
.trust-strip span { color: var(--ink-3); font-size: 0.92rem; }
@media (min-width: 900px) {
  .trust-strip ul { grid-template-columns: repeat(4, 1fr); }
  .trust-strip li, .trust-strip li:nth-child(even) { border-bottom: 0; padding: 1.1rem var(--space-3) 1.1rem 0; border-right: 1px solid var(--line); }
  .trust-strip li:not(:first-child) { padding-left: var(--space-3); }
  .trust-strip li:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-5) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h2 { color: var(--white); }
.section--tight { padding: var(--space-4) 0; }
.section-head { max-width: 40em; margin-bottom: var(--space-3); }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; }

/* ---------- Services list ---------- */
.services-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services-list li { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.services-list img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius); }
.services-list h3 { margin: 0 0 0.25rem; }
.services-list h3 a { color: var(--ink); text-decoration: none; }
.services-list h3 a:hover { text-decoration: underline; text-decoration-color: var(--maroon); text-decoration-thickness: 3px; }
.services-list p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .services-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-4); }
  .services-list li { grid-template-columns: 160px 1fr; padding: 1.5rem 0; }
  .services-list img { width: 160px; height: 120px; }
}

/* ---------- Three-up text columns ---------- */
.cols-3 { display: grid; gap: var(--space-3); }
.cols-3 h3 { margin-bottom: 0.4rem; }
.cols-3 p { margin: 0; color: var(--ink-2); }
@media (min-width: 720px) { .cols-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.rule-top > * { border-top: 3px solid var(--maroon); padding-top: 1rem; }

/* ---------- Photo grid ---------- */
.work-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.work-grid figcaption { font-size: 0.92rem; color: var(--ink-2); margin-top: 0.5rem; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* ---------- Split (text + image) ---------- */
.split { display: grid; gap: var(--space-3); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.split--tall img { aspect-ratio: 3 / 4; }
.split ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.split li { margin-bottom: 0.4rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .split--media-left > :first-child { order: 2; }
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1rem; height: 1rem; background: var(--ink); border-radius: 2px; }
.checklist li::after { content: ""; position: absolute; left: 0.32rem; top: 0.45em; width: 0.32rem; height: 0.55rem; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-cols { display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .check-cols { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
@media (min-width: 1000px) { .check-cols--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Signs list ---------- */
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.signs li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.signs strong { display: block; margin-bottom: 0.15rem; }
.signs span { color: var(--ink-2); }
@media (min-width: 900px) { .signs { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); } }

/* ---------- Reviews ---------- */
.quotes { display: grid; gap: var(--space-3); }
.quote { margin: 0; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -0.35rem; left: 1.1rem; font-size: 4rem; line-height: 1; color: #d6d6d6; font-weight: 800; }
.quote p { margin: 1.25rem 0 0.75rem; }
.quote footer { color: var(--ink-3); font-size: 0.92rem; }
.stars { color: var(--ink); letter-spacing: 0.08em; font-size: 0.95rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } .quotes--2 { grid-template-columns: 1fr 1fr; } }
.rating-badge { display: inline-flex; align-items: baseline; gap: 0.6rem; padding: 0.6rem 0.9rem; border: 2px solid var(--ink); border-radius: var(--radius); font-weight: 700; }
.rating-badge .big { font-size: 1.6rem; font-stretch: 110%; line-height: 1; }
.rating-badge .stars { color: var(--hivis-deep); }

/* ---------- Service area ---------- */
.area-grid { display: grid; gap: var(--space-3); }
.towns { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.towns li { break-inside: avoid; padding: 0.2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .towns { columns: 3; } }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1.2fr; gap: var(--space-5); } }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: var(--paper); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); padding: var(--space-4) 0; }
.cta-band .wrap { display: grid; gap: 1rem; align-items: center; }
.cta-band h2 { margin: 0; color: var(--white); }
.cta-band p { margin: 0.25rem 0 0; color: #cfcfcf; }
.cta-band .btn-outline { color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.cta-band .btn-row { margin: 0; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #9aa4ae; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--hivis); outline-offset: 1px; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { color: var(--ink-3); font-size: 0.875rem; margin: 0.3rem 0 0; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; }
.choices { display: grid; gap: 0.4rem; grid-template-columns: 1fr 1fr; }
.choices .check { font-size: 1rem; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { color: var(--ink-3); font-size: 0.875rem; margin-top: 0.75rem; }
.form-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* ---------- Contact blocks ---------- */
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-5); } }
.contact-facts { list-style: none; margin: 0; padding: 0; }
.contact-facts li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-facts strong { display: block; font-size: 0.9rem; color: var(--ink-3); font-weight: 600; margin-bottom: 0.15rem; }
.contact-facts a.big { font-size: 1.6rem; font-weight: 800; font-stretch: 108%; color: var(--ink); text-decoration: none; }
.contact-facts a.big:hover { text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 3px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 64ch; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 700; font-size: 1.05rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.5rem; line-height: 1; font-weight: 500; color: var(--ink-2); }
details.faq[open] summary::after { content: "\2013"; }
details.faq .faq-a { padding: 0 0 1.25rem; color: var(--ink-2); }
details.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Prose blocks ---------- */
.prose { max-width: 64ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c9c9; margin-top: var(--space-5); }
.footer-logo { height: 46px; width: auto; margin-bottom: 1rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: var(--space-3); padding: var(--space-4) 0 var(--space-3); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-weight: 800; font-stretch: 110%; font-size: 1.25rem; color: var(--white); margin-bottom: 0.75rem; }
.footer-heading { font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-hours, .footer-area, .footer-license { font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.875rem; }
.footer-bottom p { margin: 0; }

/* ---------- Page-specific ---------- */
.thanks { padding: var(--space-5) 0; }
.thanks .wrap { max-width: 44em; }
.status-error { background: #fff3f1; border: 1px solid var(--danger); padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.pull-phone { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.pull-phone:hover { text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 4px; }
.page-hero-simple { padding: var(--space-5) 0 var(--space-3); }
.page-hero-simple .lead { margin-bottom: 0; }

/* ---------- Credentials and brands ---------- */
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
.cred { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cred strong { font-size: 1rem; line-height: 1.25; }
.cred span { color: var(--ink-3); font-size: 0.875rem; margin-top: 0.15rem; }
.cred--logo { align-items: center; padding: 0.75rem; }
.cred--logo img { max-height: 72px; width: auto; max-width: 100%; }
@media (min-width: 720px) { .creds { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.brand-tile { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 64px; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-weight: 800; font-stretch: 110%; font-size: 1.15rem; letter-spacing: -0.01em; text-align: center; }
.brand-tile--symbol img { width: 28px; height: 28px; flex: none; }
.brand-tile--logo img { max-height: 44px; width: auto; max-width: 100%; }
@media (min-width: 720px) { .brands { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.creds-row { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .creds-row { grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: start; } }
.creds-row h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.creds-row p { color: var(--ink-2); margin-bottom: 1rem; }

/* ---------- Rebate callout ---------- */
.callout { border-left: 6px solid var(--hivis); background: var(--paper); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout h3 { margin-bottom: 0.4rem; }
.callout p:last-child { margin-bottom: 0; }
.callout .fig { font-size: 1.6rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; margin-right: 0.35rem; }

/* ---------- v2 (Sep 27): Google-style reviews, official marks, yellow CTAs ---------- */

/* Google rating summary (links to the Google listing) */
.g-summary { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.g-summary:hover { border-color: #c9c9c9; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.g-summary img { width: 24px; height: 24px; flex: none; }
.g-summary__score { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.g-summary__count { color: var(--ink-2); font-size: 0.95rem; white-space: nowrap; }
.reviews-hero-summary { margin-top: 1.25rem; }

/* Stars: grey base, Google yellow fill sized to the real rating */
.g-stars { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 0.06em; color: #dadce0; white-space: nowrap; }
.g-stars::before { content: "\2605\2605\2605\2605\2605"; }
.g-stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #fbbc04; }
.g-stars > span::before { content: "\2605\2605\2605\2605\2605"; }
.g-stars--lg { font-size: 1.2rem; }

/* Review cards */
.g-reviews { display: grid; gap: 1rem; }
@media (min-width: 720px) { .g-reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .g-reviews { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.g-review { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem 1.25rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.g-review__top { display: flex; align-items: center; gap: 0.75rem; }
.g-review__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.05rem; }
.g-review__who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.g-review__name { font-weight: 700; line-height: 1.2; }
.g-review__src { color: var(--ink-3); font-size: 0.82rem; }
.g-review__g { flex: none; width: 20px; height: 20px; }
.g-review__text { margin: 0; color: var(--ink); font-size: 0.98rem; line-height: 1.55; }
.g-reviews__more { margin: 1.25rem 0 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.g-reviews__more > span { display: none; }
.g-reviews__more a { color: var(--ink); text-decoration-color: var(--hivis); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.section--reviews { background: var(--paper); border-top: 1px solid var(--line); }

/* Credentials: official mark on top, label below, yellow edge */
.cred { justify-content: flex-start; gap: 0.6rem; border-top: 5px solid var(--hivis); }
.cred--logo { align-items: flex-start; padding: 0.9rem 1rem 1rem; }
.cred .cred__logo { display: flex; align-items: center; height: 48px; margin: 0; }
.cred .cred__logo img { height: 44px; width: auto; max-width: 150px; max-height: none; object-fit: contain; object-position: left center; }
.cred .cred__body { display: flex; flex-direction: column; margin: 0; color: var(--ink); font-size: inherit; }
.cred .cred__body strong { font-size: 0.98rem; line-height: 1.25; color: var(--ink); }
.cred .cred__body span { color: var(--ink-3); font-size: 0.85rem; margin-top: 0.2rem; }

/* Brand tiles with real logos */
.brand-tile--logo { min-height: 88px; padding: 0.9rem 0.8rem; }
.brand-tile--logo img { height: 46px; width: auto; max-width: 92%; object-fit: contain; }

/* CTA band: yellow buttons that pop on black */
.cta-band .btn-primary { box-shadow: 0 0 0 1px rgba(255, 213, 0, 0.35); }
.cta-band .btn-row { gap: 0.9rem; }

/* The Reliable HVAC sign beside the estimate/maintenance forms (tap to call) */
.side-sign { display: block; margin-top: 1.75rem; max-width: 420px; border-radius: 14px; transition: transform .15s ease; }
.side-sign img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.side-sign:hover { transform: translateY(-2px); }
@media (max-width: 899px) { .side-sign { max-width: 320px; margin: 1.25rem auto 0; } }

/* Form validation + consent (Sep 28) */
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); background: #fff7f6; }
.field label .muted { font-weight: 400; }
.form-consent { margin: 1rem 0 0; color: var(--ink-3); font-size: 0.82rem; line-height: 1.5; }
.form-consent a { color: inherit; }

/* ---------- Photo galleries (Sep 29): swipe, scroll, or use the arrows ---------- */
.gallery { position: relative; }
.gallery__track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline: 3px solid var(--hivis); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .gallery__track { scroll-behavior: auto; } }
.gallery__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.gallery__slide img { display: block; width: 100%; object-fit: cover; }
.gallery__btn { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--ink); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28); }
.gallery__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery__btn:hover { background: var(--hivis); }
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }
.gallery__count { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgba(17, 17, 17, 0.78); color: #fff; font-size: 0.82rem; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }

/* Hero: one photo at a time, filling the photo half of the hero. Absolutely positioned so the hero's height
   comes from the text panel, not from whichever photo in the set is tallest. */
.hero-media > .gallery { position: absolute; inset: 0; }
.hero-media .gallery__track { height: 100%; }
.gallery--hero .gallery__slide img { height: 100%; }
.gallery--hero figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 0.3rem 0.65rem; border-radius: var(--radius); background: rgba(17, 17, 17, 0.75); color: #fff; font-size: 0.85rem; line-height: 1.35; }

/* Strip: a scrolling row of captioned photos */
.gallery--strip .gallery__track { gap: 1rem; }
.gallery--strip .gallery__slide { flex-basis: 80%; }
.gallery--strip .gallery__slide img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.gallery--strip figcaption { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.92rem; }
.gallery--strip .gallery__btn { top: 38%; }
.gallery--strip .gallery__btn--prev { left: -8px; }
.gallery--strip .gallery__btn--next { right: -8px; }
.gallery--strip .gallery__count { display: none; }
@media (min-width: 720px) { .gallery--strip .gallery__slide { flex-basis: calc((100% - 2rem) / 2.4); } }
@media (min-width: 1000px) {
  .gallery--strip .gallery__track { gap: 1.25rem; }
  .gallery--strip .gallery__slide { flex-basis: calc((100% - 3 * 1.25rem) / 4); }
  .gallery--strip .gallery__btn--prev { left: -22px; }
  .gallery--strip .gallery__btn--next { right: -22px; }
}
.gallery-hint { margin: 0.9rem 0 0; color: var(--ink-3); font-size: 0.9rem; }

/* Long-form service blurbs with an inline "what's included" box (maintenance: condenser cleaning, tankless flush) */
.service-box { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--hivis); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.service-box h3 { margin-bottom: 0.6rem; }
.service-box .checklist { margin-bottom: 0; }
.section--paper .service-box { background: var(--white); }

/* Eight nav links + phone button: the full nav shows from 1100px (menu button below that),
   tightened up to 1240px so the header never wraps */
@media (min-width: 1100px) and (max-width: 1239px) {
  .site-nav { gap: 1rem; }
  .site-nav ul { gap: 0.8rem; }
  .site-nav li a { font-size: 0.9rem; }
  .nav-phone { padding: 0.6rem 0.8rem; font-size: 0.9rem; }
}

/* Where we work: statewide, no town list (Sep 29) */
.area-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.area-facts li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.area-facts strong { display: block; }
.area-facts span { color: var(--ink-2); }

/* Brand logo rows outside the two-column credentials layout */
.brands--wide { margin-top: 0.5rem; }
.brand-gallery { margin-top: var(--space-4); }
/* Mini splits: Mitsubishi Electric gets the full-width tile, the other brands sit below it */
.brands.brands--feature { grid-template-columns: 1fr 1fr; }
.brands--feature li:first-child { grid-column: 1 / -1; min-height: 116px; }
.brands--feature li:first-child img { height: 70px; }
.pull-phone { white-space: nowrap; }
/* Logos inside a text+photo split (mini splits page) must not pick up the photo crop rules */
.split .brands img { width: auto; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.brands--feature li:first-child img { max-height: 70px; }

/* Home trust strip (Sep 29): three items with the Mass Save logo and Google stars shown as marks */
.trust-strip ul { grid-template-columns: 1fr; }
.trust-strip li.trust, .trust-strip li.trust:nth-child(even) { display: flex; padding: 0.85rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
.trust-strip li.trust:last-child { border-bottom: 0; }
.trust, .trust__link { display: flex; align-items: center; gap: 0.9rem; }
.trust__link { color: inherit; text-decoration: none; }
.trust__link:hover .trust__text > span { text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.trust__mark { flex: none; display: grid; place-items: center; width: 64px; height: 48px; }
.trust__mark--logo img { width: 64px; height: auto; }
.trust__mark--google img { width: 32px; height: 32px; }
.trust__mark--clock { position: relative; }
.trust__mark--clock svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trust__mark--clock b { position: absolute; right: -2px; bottom: -4px; padding: 0 4px; border-radius: 3px; background: var(--hivis); color: var(--ink); font-size: 0.7rem; font-weight: 800; line-height: 1.35; }
.trust__text { display: flex; flex-direction: column; min-width: 0; }
.trust-strip .trust__text strong { font-size: 1.12rem; }
.trust__rating { display: flex; align-items: center; gap: 0.5rem; }
.trust-strip .trust__text > span { color: var(--ink-3); font-size: 0.92rem; }
@media (min-width: 760px) {
  .trust-strip ul { grid-template-columns: repeat(3, 1fr); }
  .trust-strip li.trust, .trust-strip li.trust:nth-child(even) { padding: 1.1rem var(--space-3) 1.1rem 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-strip li.trust:not(:first-child) { padding-left: var(--space-3); }
  .trust-strip li.trust:last-child { border-right: 0; }
}
.trust-strip .trust__text, .trust-strip .trust__mark { color: var(--ink); font-size: 1rem; }
.trust-strip .trust__rating { display: flex; }
.trust-strip .g-stars { color: #dadce0; font-size: 1.15rem; }
.trust-strip .g-stars > span { color: #fbbc04; font-size: inherit; }

/* Home hero (Sep 29): on desktop the retro sign sits on the photo like a decal, which keeps the text column short
   so the photo slot isn't a tall sliver. On phones it stays in the text panel under the photo. */
.hero-badge--overlay { display: none; }
@media (min-width: 900px) {
  .page-home .hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .page-home .hero-badge--panel { display: none; }
  .page-home .hero-badge--overlay { display: block; position: absolute; left: 24px; bottom: 24px; z-index: 3; width: clamp(200px, 17vw, 270px); height: auto; object-fit: contain; margin: 0; border-radius: 6px; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35); transform: rotate(-2deg); pointer-events: none; }
  .page-home .gallery--hero figcaption { left: auto; right: 12px; }
}

/* ---------- Brand lockup (Sep 29): vector icon + wordmark in a thin outline, with real breathing room ---------- */
.brand { display: inline-flex; flex: none; align-items: center; gap: 0.7rem; padding: 0.4rem 1.05rem 0.4rem 0.6rem; border: 1.5px solid rgba(255, 255, 255, 0.88); border-radius: 4px; color: var(--white); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--white); border-color: var(--white); }
.brand .brand__icon { display: block; width: auto; height: 36px; flex: none; }
.brand__word { font-weight: 800; font-stretch: 76%; font-size: 1.4rem; letter-spacing: 0.012em; white-space: nowrap; }
@media (min-width: 1100px) { .brand { gap: 0.75rem; padding: 0.45rem 1.15rem 0.45rem 0.65rem; } .brand .brand__icon { height: 40px; } .brand__word { font-size: 1.55rem; } }
.brand--footer { margin-bottom: 1.1rem; }

/* =====================================================================
   v3 (Sep 29): visual-first layout. Equipment guide cards, disclosures,
   footnoted sources, inline lead sections. Black/white/gray; yellow stays on CTAs.
   ===================================================================== */

/* Section heads: small eyebrow, headline, one line */
.eyebrow { display: inline-block; margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.section-head .lead-sm, .lead-sm { font-size: 1.08rem; color: var(--ink-2); margin: 0; max-width: 40em; }
.center { text-align: center; margin-inline: auto; }
.section-head.center { max-width: 44em; }

.site-footer { margin-top: var(--space-4); }

/* Card disclosure */
details.more > summary { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border: 1.5px solid currentColor; border-radius: 50%; font-size: 0.95rem; line-height: 1; font-weight: 600; }
details.more[open] > summary::after { content: "\2013"; }
details.more > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.checklist--sm li { font-size: 0.93rem; margin-bottom: 0.35rem; }

/* Generic "read more" disclosure */
details.more { margin-top: 0.75rem; }
details.more[open] > summary { margin-bottom: 0.75rem; }
details.more > .more__body > :last-child { margin-bottom: 0; }

/* ---------- Service cards (Home) ---------- */
.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.svc { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.svc:hover { color: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc__body { padding: 1rem 1.15rem 1.15rem; }
.svc__body h3 { margin: 0 0 0.3rem; font-size: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.svc__body h3::after { content: "\2192"; font-weight: 500; transition: transform .15s ease; }
.svc:hover .svc__body h3::after { transform: translateX(3px); }
.svc__body p { margin: 0; color: var(--ink-2); font-size: 0.97rem; line-height: 1.45; }

/* ---------- Proof row (hero): Google stars + credential marks ---------- */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.proof__g { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); text-decoration: none; font-weight: 700; }
.proof__g img { width: 20px; height: 20px; }
.proof__g .g-stars { font-size: 1rem; }
.proof__g small { font-weight: 500; color: var(--ink-3); font-size: 0.88rem; }
.proof__badges { display: inline-flex; align-items: center; gap: 0.9rem; }
.proof__badges img { height: 30px; width: auto; }
.proof__line { flex-basis: 100%; margin: 0; font-size: 0.9rem; color: var(--ink-3); }

/* ---------- Big-number callout (Mass Save) ---------- */
.figures { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin: 1.25rem 0 0.5rem; }
.figure { padding: 1.1rem 1.1rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.figure b { display: block; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; font-stretch: 105%; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.35rem; }
.figure span { color: var(--ink-2); font-size: 0.93rem; line-height: 1.35; display: block; }
.mark-row { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0; }
.mark-row img { height: 38px; width: auto; }
.mark-row p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Review quote chips (How we work) ---------- */
.proofs { display: grid; gap: 1rem; }
@media (min-width: 800px) { .proofs { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.proofcard { padding: 1.25rem 1.25rem 1.1rem; border-top: 3px solid var(--ink); background: var(--white); }
.section--paper .proofcard { background: var(--paper); }
.proofcard h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.proofcard p { margin: 0 0 0.7rem; color: var(--ink-2); font-size: 0.97rem; }
.proofcard blockquote { margin: 0; padding-left: 0.8rem; border-left: 2px solid #d9d9d9; color: var(--ink); font-size: 0.93rem; font-style: italic; }
.proofcard blockquote cite { display: block; margin-top: 0.3rem; font-style: normal; color: var(--ink-3); font-size: 0.82rem; }

/* ---------- Emergency strip ---------- */
.urgent { display: grid; gap: 1rem; align-items: center; padding: 1.4rem 1.5rem; border-radius: 12px; background: var(--ink); color: var(--white); }
.urgent h2 { margin: 0 0 0.25rem; color: var(--white); font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.urgent p { margin: 0; color: #cfcfcf; }
@media (min-width: 800px) { .urgent { grid-template-columns: 1fr auto; padding: 1.6rem 2rem; } }

/* Feature block (maintenance: condenser cleaning, tankless) */
.feature { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: var(--space-5); } .feature--flip > :first-child { order: 2; } }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.feature__media--illo { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(180deg, #f6f6f6, #ececec); color: #2a2a2a; }
.feature__media--illo svg { width: 70%; }
.feature h2 { margin-bottom: 0.5rem; }
.feature .lead-sm { margin-bottom: 1rem; }

/* Inline lead section */
.lead-section .contact-grid { align-items: start; }
.lead-section h2 { margin-bottom: 0.5rem; }
.lead-points { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.lead-points li { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.45rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.lead-points li::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink); transform: translateY(-0.1rem); }

/* Tighter default sections for the visual layout */
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-head { margin-bottom: 1.75rem; }
.quote-inline { margin: 1rem 0 0; padding-left: 0.9rem; border-left: 2px solid #d9d9d9; font-style: italic; color: var(--ink); }
.quote-inline cite { display: block; margin-top: 0.3rem; font-style: normal; color: var(--ink-3); font-size: 0.85rem; }
.lead-call { margin: 1.25rem 0 0; }
.svc--static:hover { box-shadow: none; transform: none; }
.svc--static .svc__body h3::after { content: none; }
.center-note { margin: 1.25rem 0 0; text-align: center; color: var(--ink-2); }
details.center-more { margin-top: 1.5rem; text-align: center; }
details.center-more[open] > .more__body { text-align: left; max-width: 46em; margin: 0 auto; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
.stats b { display: block; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; font-stretch: 105%; letter-spacing: -0.02em; line-height: 1.05; }
.stats span { color: var(--ink-2); font-size: 0.93rem; }
/* About: 4-up version of the trust strip */
.trust__mark--cal .ico { width: 36px; height: 36px; color: var(--ink); }
@media (min-width: 760px) { .trust-strip--4 ul { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) and (max-width: 1099px) { .trust-strip--4 ul { grid-template-columns: 1fr 1fr; } .trust-strip--4 li.trust:nth-child(2) { border-right: 0; } }
.trust__mark--logo img[src*="bbb"] { width: 64px; }
.site-footer { margin-top: 0; }

/* =====================================================================
   v5 (Sep 30): simpler, on-brand information blocks. Black, white, gray; hard edges; no icon sets.
   ===================================================================== */
.ico { width: 1em; height: 1em; flex: none; }

/* Equipment cards: photo, name, then two lines (replace / service). All cards fit one screen on desktop. */
.eq-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .eq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .eq-grid { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1rem; max-width: calc(var(--n, 3) * 250px); margin-inline: auto; } }
.eq { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section:not(.section--paper) .eq { background: var(--paper); border-color: var(--paper); }
.eq > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.eq__body { flex: 1; padding: 0.8rem 0.9rem 0.85rem; }
.eq__name { margin: 0 0 0.5rem; font-size: 1.05rem; line-height: 1.2; }

/* Replace / Service lines */
.spec { margin: 0; }
.spec > div { padding: 0.45rem 0; border-top: 1px solid var(--line); }
.spec dt { margin: 0 0 0.1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.spec dd { margin: 0; font-size: 0.95rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.spec--row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin-top: 1rem; padding: 0.3rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.spec--row > div { border-top: 0; padding: 0.7rem 0; }
@media (max-width: 559px) { .spec--row { grid-template-columns: 1fr; } .spec--row > div + div { border-top: 1px solid var(--line); } }

/* Mini splits: outdoor + indoor unit, side by side */
.ms-pair { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.ms-pair figure { margin: 0; }
.ms-pair img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.ms-pair figcaption { margin-top: 0.5rem; font-weight: 700; }

/* Signs it's time to call: a plain two-column list */
.signs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .signs-list--2 { grid-template-columns: 1fr 1fr; } }
.signs-cols { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .signs-cols { grid-template-columns: 1fr 1fr; } }
.signs-title { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.signs-list li { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.signs-list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--ink); transform: translateY(-0.12em); }
.signs-cta { margin: 1.25rem 0 0; color: var(--ink-2); }
.signs-cta a { color: var(--ink); font-weight: 800; }

/* Maintenance: spring and fall, in the same style as the How-we-work cards */
.seasons { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.season { padding: 1.1rem 1.25rem 1.15rem; border-top: 3px solid var(--ink); background: var(--white); }
.season b { display: block; margin-bottom: 0.2rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.season strong { display: block; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.15; margin-bottom: 0.35rem; }
.season span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 559px) { .seasons { grid-template-columns: 1fr; } }

/* Single-photo hero (Home): no carousel chrome */
.gallery--single .gallery__track { overflow: hidden; }
/* Six across: two-line names, so give every name the same height and the Replace/Service rows line up */
@media (min-width: 1000px) { .eq-grid[style*="--n:6"] .eq__name { min-height: 2.4em; } }
.ms-pair, .ms-pair + .spec--row { max-width: 900px; }
@media (max-width: 699px) { .eq__body { padding: 0.65rem 0.7rem 0.7rem; } .eq__name { font-size: 1rem; } .spec dd { font-size: 0.88rem; } }

/* Before / After pairs (maintenance: coil cleaning). Side by side, stacked on phones. */
.ba-pair { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.ba-pair + .ba-pair { margin-top: 1.25rem; }
.ba-pair figure { margin: 0; }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ba-pair figcaption { margin-top: 0.5rem; font-weight: 700; }
@media (max-width: 559px) { .ba-pair { grid-template-columns: 1fr; } }

/* Four-brand logo grids (Sep 30). Home and About (half-width column beside Credentials): 2x2.
   Air conditioning and Commercial (full width): one row of four, 2x2 on phones.
   Same tile everywhere. Each logo's width is set so all four cover about the same area,
   since the marks run from 3:1 (Trane) to 4.7:1 (Viessmann). Mini splits keeps .brands--feature. */
.brands.brands--grid, .brands.brands--wide { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 720px) {
  .brands.brands--grid { gap: 1rem; }
  .brands.brands--wide { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.brands--grid .brand-tile, .brands--wide .brand-tile { height: 96px; min-height: 0; padding: 1rem; }
.brands--grid .brand-tile--logo img, .brands--wide .brand-tile--logo img { width: var(--logo-w, 72%); height: auto; max-width: none; max-height: 100%; object-fit: contain; }
.brands--grid img[src$="/mitsubishi.svg"], .brands--wide img[src$="/mitsubishi.svg"] { --logo-w: 69%; }
.brands--grid img[src$="/bosch.svg"], .brands--wide img[src$="/bosch.svg"] { --logo-w: 78%; }
.brands--grid img[src$="/trane.svg"], .brands--wide img[src$="/trane.svg"] { --logo-w: 64%; }
.brands--grid img[src$="/viessmann.svg"], .brands--wide img[src$="/viessmann.svg"] { --logo-w: 80%; }


/* Oct 1, 2026: hero gallery captions sit in a strip under the photo, never on it, so they can't cover
   a logo, phone number, or label in any photo at any width. Phones keep the 4:3 photo and add the strip
   below it; on desktop the strip takes the bottom of the photo column.
   A photo with "fit": "contain" (galleries.json) is shown whole, centered on the light gray: the crane
   lift is portrait, and no landscape crop holds the crane, the roofline, and the van's lettering at once. */
.gallery--hero:not(.gallery--single) .gallery__slide { display: flex; flex-direction: column; background: var(--paper); }
.gallery--hero:not(.gallery--single) .gallery__slide img { flex: 1 1 0; min-height: 0; height: auto; }
.gallery--hero:not(.gallery--single) figcaption { position: static; flex: none; max-width: none; padding: 0.55rem 0.9rem 0.6rem; border-radius: 0; background: var(--paper); color: var(--ink-2); font-size: 0.88rem; line-height: 1.35; }
.gallery--hero .gallery__slide--contain img { object-fit: contain; object-position: center; }
@media (max-width: 899px) {
  .hero-media--gallery { aspect-ratio: auto; }
  .hero-media--gallery > .gallery { position: relative; inset: auto; }
  .hero-media--gallery .gallery__track { height: auto; }
  .hero-media--gallery .gallery--hero:not(.gallery--single) .gallery__slide img { flex: none; aspect-ratio: 4 / 3; }
  /* center the arrows on the 4:3 photo (full-width below 900px), not on photo + caption */
  .hero-media--gallery .gallery__btn { top: 37.5vw; }
}

/* Oct 1, 2026: license and insurance line, every page. Its own line above the copyright. */
.footer-bottom .footer-license-line { flex-basis: 100%; color: var(--white); font-weight: 600; }

/* Oct 1, 2026: a phone number never breaks across two lines. */
a[href^="tel:"] { white-space: nowrap; }
