/* ============================================================
   Sandy's Heating & Air — Design System
   Direction: Neighborhood Trust — warm, photo-led, human
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color: galvanized-steel greyscale + heating/cooling duality accents */
  --ink: #191B1E;
  --ink-70: #191B1Eb3;
  --paper: #B6BABD;
  --paper-dim: #A5A9AC;
  --card: #F2F3F3;
  --ember: #0249A8;
  --ember-dark: #023B82;
  --frost: #3B54D9;
  --frost-dark: #2A3EA3;
  --charcoal: #202124;
  --line: #94989B;
  --white: #FFFFFF;

  /* Brushed steel background, built from the sampled reference texture */
  --metal-bg:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.055) 0px, rgba(255,255,255,0.055) 1px,
      transparent 1px, transparent 2px,
      rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 3px,
      transparent 3px, transparent 5px
    ),
    linear-gradient(180deg, #C7CBCE 0%, #A7ABAF 28%, #888D93 55%, #6C767C 82%, #5C666C 100%);

  /* Type */
  --font-display: 'Archivo', -apple-system, sans-serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.2vw, 3.8rem);
  --step-5: clamp(3rem, 2.2rem + 3.6vw, 5.2rem);

  --radius-tag: 4px;
  --container: min(92vw, 1600px);
  --edge: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--metal-bg);
  background-size: 100% 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-5); font-weight: 800; line-height: 1.12; max-width: 13ch; }
h2 { font-size: var(--step-4); font-weight: 800; }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: var(--step-1); color: var(--ink-70); max-width: 46ch; }

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

section { padding: clamp(2.25rem, 5vw, 4.5rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: var(--white); position: relative; animation: btn-pulse 2.6s ease-in-out infinite; }
.btn-primary:hover { background: var(--ember-dark); animation-play-state: paused; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2,73,168,0.55), 0 4px 14px rgba(2,73,168,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(2,73,168,0), 0 4px 14px rgba(2,73,168,0.25); }
}
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-call { border-color: var(--ember); color: var(--ember); animation: btn-call-pulse 2.6s ease-in-out infinite; }
.btn-call:hover { background: var(--ember); color: var(--white); animation-play-state: paused; }
.btn-accent { border-width: 2px; border-color: var(--ember); color: var(--ember); font-weight: 700; }
.btn-accent:hover { background: var(--ember); color: var(--white); }
@keyframes btn-call-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2,73,168,0.4); }
  50% { box-shadow: 0 0 0 9px rgba(2,73,168,0); }
}
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }

/* ---------- Signature device: the service tag ---------- */
.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  padding: 0.55em 0.9em 0.55em 1.4em;
  border-radius: var(--radius-tag);
  box-shadow: 0 6px 18px rgba(16,35,59,0.12);
  transform: rotate(-2deg);
}
.tag::before {
  content: '';
  position: absolute;
  left: 8px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink-70);
  transform: translateY(-50%);
}
.tag--ember { border-left: 3px solid var(--ember); }
.tag--frost { border-left: 3px solid var(--frost); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(182,186,189,0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--edge);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-brand-mark {
  width: 46px; height: 46px;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-brand-word { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.nav-links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: var(--step--1); font-weight: 500;
  color: var(--ink-70); position: relative; padding: 0.2em 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--ember); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-phone.btn { font-weight: 700; font-size: 0.85rem; padding: 0.65em 1.2em; white-space: nowrap; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 10px 7px; flex-direction: column; justify-content: space-between;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1.5rem var(--edge) 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-links { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-menu-links li { border-bottom: 1px solid rgba(0,0,0,0.08); }
.mobile-menu-links a {
  display: block; padding: 0.9rem 0; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.mobile-menu-links a[aria-current="page"] { color: var(--ember); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 0.8rem; }
.mobile-menu-cta .btn { justify-content: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
  .nav-phone { display: none; }
  .nav-cta .btn-primary { font-size: 0.8rem; padding: 0.7em 1.1em; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal); color: #EFE9DD;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.site-footer a { text-decoration: none; color: #EFE9DD; }
.site-footer .lede { color: #c9c2b4; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-grid h4 {
  font-family: var(--font-body); font-size: var(--step--1);
  text-transform: none; color: var(--ember); margin-bottom: 1em; font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6em; font-size: var(--step--1); color: #d8d2c4; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #3a352f;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: #8f887c;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utility ---------- */
.eyebrow { color: var(--frost-dark); font-weight: 600; font-size: var(--step--1); }
.section-tag { margin-bottom: 1.4rem; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ============================================================
   Page sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 4.5vw, 3.5rem); padding-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.hero-top {
  display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 0; }
.hero-bottom { margin-top: clamp(1.5rem, 3.5vw, 2.4rem); }
.hero-lede.lede { max-width: 76ch; font-size: var(--step-1); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.8rem 0 1.6rem; }
.hero-trust { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--card); border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px; padding: 0.5em 1em 0.5em 0.75em;
  font-size: var(--step--1); font-weight: 700; color: var(--ink);
  box-shadow: 0 2px 6px rgba(16,35,59,0.08);
}
.trust-badge svg { width: 15px; height: 15px; color: var(--ember); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 6px; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(16,35,59,0.35);
}

/* ---------- Why ---------- */
.why {
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.08); border-bottom: 1px solid rgba(0,0,0,0.08);
}
.why-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(360px, 40vw, 620px); height: auto;
  opacity: 0.16; pointer-events: none; user-select: none; z-index: 0;
}
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-head h2 { max-width: 11ch; }
.why-list { display: flex; flex-direction: column; gap: 1.8rem; }
.why-item { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.why-num {
  display: block; font-family: var(--font-display); font-size: var(--step-1);
  font-weight: 600; margin-bottom: 0.3em;
}
.why-item p { margin: 0; color: var(--ink-70); }

/* ---------- Services ---------- */
.section-head { max-width: 46ch; margin-bottom: clamp(1.5rem, 4vw, 2.4rem); }
.section-head h2 { margin-bottom: 0; }
.section-head--media {
  max-width: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.section-head-copy { max-width: 46ch; }
.section-head-media-img img {
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(16,35,59,0.3);
}
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  align-items: start;
}
.service-card {
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(16,35,59,0.25); }
.service-card img { width: 100%; aspect-ratio: 4/3; max-height: 230px; object-fit: cover; }
.service-card-body { padding: 1.4rem 1.5rem 1.6rem; position: relative; }
.service-card--wide { grid-column: span 2; display: flex; flex-direction: row; align-self: start; height: clamp(280px, 24vw, 340px); overflow: hidden; }
.service-card--wide img { width: 46%; flex: 0 0 46%; height: 100%; object-fit: cover; display: block; }
.service-card--wide .service-card-body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; height: 100%; overflow: hidden; box-sizing: border-box; }
.service-card h3 { font-size: var(--step-1); margin: 0 0 0.35em; }
.service-card p { color: var(--ink-70); font-size: var(--step--1); margin: 0; }

/* ---------- Team wall ---------- */
.team-strip { border-top: 1px solid rgba(0,0,0,0.08); }
.team-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem;
  margin-bottom: 2.2rem;
}
.team-wall figure { margin: 0; }
.team-wall figure:nth-child(2n) { transform: translateY(1.6rem); }
.team-wall img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px;
  box-shadow: 0 14px 30px -14px rgba(16,35,59,0.3);
}
.team-wall figcaption {
  margin-top: 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step--1);
}
.team-wall figcaption span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-70); font-size: 0.8rem; }

/* ---------- Offers: the one place we go loud ---------- */
.offers { background: var(--charcoal); }
.offers-eyebrow.section-tag { margin-bottom: 1.6rem; }
.offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.offer {
  position: relative;
  border-radius: 10px;
  padding: clamp(2.2rem, 4vw, 3rem) clamp(1.8rem, 4vw, 2.6rem) clamp(2rem, 4vw, 2.6rem);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.offer--ember { background: linear-gradient(135deg, #2E6FD9, var(--ember-dark)); }
.offer--frost { background: linear-gradient(135deg, #5C74E8, var(--frost-dark)); }
.offer-flag {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.offer-figure {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 4.6rem);
  line-height: 0.9;
  margin-bottom: 0.15em;
  letter-spacing: -0.03em;
}
.offer h3 {
  color: var(--white);
  font-size: var(--step-1);
  margin: 0 0 0.4em;
  max-width: 16ch;
}
.offer p { color: rgba(255,255,255,0.85); margin-bottom: 1.6rem; }
.offer .btn { border-color: rgba(255,255,255,0.6); }
.offer .btn:hover { background: var(--white); color: var(--ink); }

/* ---------- CTA ---------- */
/* ---------- Reviews ---------- */
.reviews { border-top: 1px solid rgba(0,0,0,0.08); }
.reviews-widget-slot { min-height: 120px; }

.reviews-summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.reviews-summary-stars { display: flex; gap: 2px; }
.reviews-summary-stars svg, .review-stars svg { width: 18px; height: 18px; }
.reviews-summary-score { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); }
.reviews-summary-count { color: var(--ink-70); font-size: var(--step--1); }
.reviews-summary-cta { margin-left: auto; }

.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.review-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 1.5rem;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 0.8rem; }
.review-text { color: var(--ink); font-size: var(--step--1); margin: 0 0 1rem; line-height: 1.5; }
.review-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.review-author { font-weight: 700; font-size: var(--step--1); }
.review-date { color: var(--ink-70); font-size: 0.78rem; white-space: nowrap; }

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr 1fr; }
  .reviews-summary-cta { margin-left: 0; width: 100%; justify-content: center; }
}
@media (max-width: 620px) {
  .review-grid { grid-template-columns: 1fr; }
}

.cta { border-top: 1px solid rgba(0,0,0,0.08); }
.cta-inner { text-align: center; }
.cta h2 { max-width: 22ch; margin: 0 auto 0.3em; }

/* ---------- Reveal-on-scroll (single, restrained) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; }
  .section-head--media { grid-template-columns: 1fr; }
  .section-head-media-img { order: -1; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; flex-direction: column; height: auto; }
  .service-card--wide img { width: 100%; flex: none; height: auto; aspect-ratio: 4/3; }
  .service-card--wide .service-card-body { height: auto; }
  .team-wall { grid-template-columns: repeat(3, 1fr); }
  .team-wall figure.offset { transform: none; }
  .promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .team-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Services detail page ---------- */
.service-detail { border-top: 1px solid rgba(0,0,0,0.08); }
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.service-detail--reverse .service-detail-grid { direction: rtl; }
.service-detail--reverse .service-detail-grid > * { direction: ltr; }
.service-detail-media img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 8px; box-shadow: 0 24px 50px -18px rgba(16,35,59,0.3);
}
.service-detail-copy { max-width: 46ch; }
.service-detail-copy .lede { font-weight: 600; color: var(--ink); }
.service-detail-copy .btn { margin-top: 1.4rem; }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail--reverse .service-detail-grid { direction: ltr; }
  .service-detail-copy { max-width: none; }
}

/* ---------- Service Areas page ---------- */
.areas { border-top: 1px solid rgba(0,0,0,0.08); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.area-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(1.8rem, 4vw, 2.4rem);
}
.area-card h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.area-card p { color: var(--ink-70); font-size: var(--step--1); margin: 0; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- Our Story: full team grid ---------- */
.team-page { border-top: 1px solid rgba(0,0,0,0.08); }
.team-page-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1.4rem;
}
.team-page-grid figure { margin: 0; }
.team-page-grid img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px;
  box-shadow: 0 14px 30px -14px rgba(16,35,59,0.3); margin-bottom: 0.8rem;
}
.team-page-grid figcaption { font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); }
.team-page-grid figcaption span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-70); font-size: 0.85rem; margin-top: 0.15em; }
.team-bio { margin: 0.6rem 0 0; font-size: var(--step--1); color: var(--ink-70); }
@media (max-width: 900px) { .team-page-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team-page-grid { grid-template-columns: 1fr; } }

/* ---------- Blog page ---------- */
.blog { border-top: 1px solid rgba(0,0,0,0.08); }
.blog-list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 4.5rem); }
.blog-post { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.blog-post img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 8px; box-shadow: 0 20px 40px -18px rgba(16,35,59,0.3);
}
.blog-post-date { color: var(--frost-dark); font-weight: 700; font-size: var(--step--1); }
.blog-post-body h2 { margin: 0.4em 0 0.8em; font-size: var(--step-2); }
.blog-post-body p { color: var(--ink-70); font-size: var(--step--1); margin-bottom: 0.9em; }
.blog-post-body strong { color: var(--ink); }
@media (max-width: 900px) { .blog-post { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-section { border-top: 1px solid rgba(0,0,0,0.08); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 4rem); align-items: start; }
.contact-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; }
.contact-list li { border-top: 1px solid rgba(0,0,0,0.08); padding: 1rem 0; }
.contact-list li:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.contact-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--ink-70); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.2em; }
.contact-list a { font-weight: 700; font-size: var(--step-1); text-decoration: none; color: var(--ink); }

.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.contact-form h2 { margin-bottom: 1.2rem; }
.contact-form label {
  display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 1.1rem;
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 0.4em;
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.7em 0.9em; border: 1.5px solid var(--line); border-radius: 6px;
  background: var(--white); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; }
.contact-form button { width: 100%; justify-content: center; margin-top: 0.4rem; }

.map-section { border-top: 1px solid rgba(0,0,0,0.08); }
.map-embed { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(16,35,59,0.3); }
.map-embed iframe { display: block; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ sections ---------- */
.faq-section { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 68ch; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); padding: 1.6rem 0; }
.faq-item h3 { font-size: var(--step-1); margin: 0 0 0.6em; }
.faq-item p { color: var(--ink-70); font-size: var(--step--1); margin: 0; }

/* ---------- Financing page additions ---------- */
.offers-grid .offer[style*="text-align:center"] { max-width: 560px; margin: 0 auto; }
.equipment { border-top: 1px solid rgba(0,0,0,0.08); }
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.equipment-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(1.8rem, 4vw, 2.2rem);
}
.equipment-card h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); margin-bottom: 0.6em; }
.equipment-card p { color: var(--ink-70); font-size: var(--step--1); margin: 0; }
@media (max-width: 900px) { .equipment-grid { grid-template-columns: 1fr; } }
.site-credit {
  margin-top: 0.8rem; font-size: 0.75rem; color: #6b655a;
}
.site-credit a { color: inherit; text-decoration: underline; }
.site-credit a:hover { color: #EFE9DD; }

/* ---------- Trust graphic (hero) ---------- */
.hero-trust { flex-wrap: nowrap; justify-content: space-between; gap: 1rem 2rem; }
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.trust-graphic { height: clamp(104px, 10vw, 150px); width: auto; flex-shrink: 0; }
@media (max-width: 620px) { .hero-trust { flex-wrap: wrap; } }

/* ---------- Service-area band (home) ---------- */
.area-band { border-top: 1px solid rgba(0,0,0,0.08); }
.area-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.area-band .section-head { margin-bottom: 0; }
.area-band-copy .lede { max-width: 52ch; }
.area-band-callout { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--ink); max-width: 36ch; }
@media (max-width: 900px) { .area-band-grid { grid-template-columns: 1fr; } }

/* ---------- Town groups (service areas page) ---------- */
.town-groups { margin-top: clamp(2.5rem, 6vw, 4rem); }
.town-groups h3 { font-size: var(--step-2); max-width: 34ch; margin-bottom: 1.2em; }
.town-group-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; border-top: 1px solid rgba(0,0,0,0.14); padding-top: 1.4rem; }
.town-group h4 { font-size: var(--step-0); margin: 0 0 0.5em; }
.town-list { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); font-weight: 500; color: var(--ink); line-height: 1.9; }
@media (max-width: 900px) { .town-group-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .town-group-grid { grid-template-columns: 1fr 1fr; } }

/* Balanced headline wrapping: no lone word on the last line */
h1, h2, h3 { text-wrap: balance; }

/* Financing: one-line pointer to the equipment section on Services */
.equipment-note .lede { max-width: 60ch; margin: 0; }

/* Nav: keep labels on one line on laptop widths */
.nav-links a, .nav-cta .btn { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 901px) {
  .nav-links { gap: 1.1rem; }
  .nav-phone { display: none; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
  .nav-phone { display: none; }
}
