/* =========================================================
   Pinnacle – Location Pages
   Mirrors the heating-enhanced / cooling-enhanced pattern.
   Color via --hero-1 … --hero-4, --accent, --accent-dark
   set in each page's <style> or inline on .hero-band.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --hero-1: #343a40;
  --hero-2: #2d3338;
  --hero-3: #272c30;
  --hero-4: #212529;
  --accent: #495057;
  --accent-dark: #343a40;
  --footer-bg: #212529;
  --footer-ink: #e9ecef;
  --footer-ink-soft: #ced4da;

  --c-bg: #fff;
  --c-text: #212529;
  --c-text-weak: #495057;
  --c-surface: #ffffff;
  --c-line: rgba(33, 37, 41, 0.1);

  --r12: 12px;
  --r16: 16px;
  --r20: 20px;

  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-pop: 0 14px 32px rgba(0, 0, 0, 0.18);

  --scrollbar-track: #e9ecef;
  --scrollbar-thumb: #adb5bd;
  --scrollbar-thumb-hover: #6c757d;
  --scrollbar-thumb-active: #495057;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Scrollbar ---------- */
html,
body {
  -ms-overflow-style: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  overflow-x: clip;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--scrollbar-thumb), var(--scrollbar-thumb-active));
  border-radius: 999px;
  border: 3px solid var(--scrollbar-track);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--scrollbar-thumb-active));
}

/* ---------- Containers ---------- */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* =========================================================
   NAV  (desktop + dropdown)  — matches heating/cooling pages
   ========================================================= */

/* Transparent nav overlaid on dark hero — used by location & estimate pages */
.estimate-nav {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.estimate-nav .menu a {
  color: #212529;
}

.estimate-nav .menu a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #212529;
}

.estimate-nav .hamburger-btn span {
  background: #212529;
}

.estimate-nav .hamburger-btn {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.04);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100px;
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  padding: 10px clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 4vw, 52px);
}

.logo-box {
  width: 300px;
  height: 90px;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.menu-desktop {
  margin-left: auto;
}

.navigation nav ul.menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation nav li {
  position: relative;
}

.navigation nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
}

.navigation > nav > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu .active > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

/* Dropdown */
.navigation .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  color: var(--c-text);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.navigation .dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #fff;
  border-left: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
}

.navigation li:hover > .dropdown,
.navigation li:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navigation .dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--c-text-weak);
  font-weight: 600;
  border-radius: 8px;
}

.navigation .dropdown a:hover {
  background: #e9ecef;
  color: #212529;
}

@media (max-width: 820px) {
  .navigation .dropdown {
    left: auto;
    right: 0;
  }
}

/* Nav CTA button — white/glass, consistent across all pages */
.navigation .nav-cta .btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.9) 51%,
    rgba(255, 255, 255, 0.95) 100%
  );
  background-size: 200% auto;
  color: #212529;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:
    background-position 0.4s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

.navigation .nav-cta .btn-quote:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.navigation .nav-cta .btn-quote:active {
  transform: scale(0.97);
}

/* White-nav pages (estimate-nav) — same white/glass style */
.estimate-nav .nav-cta .btn-quote {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.9) 51%,
    rgba(255, 255, 255, 0.95) 100%
  );
  color: #212529;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.estimate-nav .nav-cta .btn-quote:hover {
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* =========================================================
   HERO BAND  — nav + hero content live inside this
   ========================================================= */
.hero-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--hero-1) 0%, var(--hero-2) 22%, var(--hero-3) 60%, var(--hero-4) 100%);
}

.hero-band .navigation {
  background: transparent;
}

.hero-band .menu a {
  color: #fff;
}

.hero {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 4vh 0 10vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(16px, 3vw, 32px) 0 clamp(32px, 5vw, 56px);
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-copy h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-copy .lead {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  max-width: 58ch;
  margin: 0 0 18px;
  opacity: 0.94;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.6rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-position 0.35s ease;
}

.btn-hero:active {
  transform: scale(0.98);
}

.btn-hero-primary {
  color: #fff;
  background-image: linear-gradient(45deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent) 100%);
  background-size: 200% auto;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.btn-hero-primary:hover {
  background-position: right center;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  color: #fff;
}

/* Call buttons always use the brand red regardless of page accent */
.btn-hero-primary[href^="tel:"] {
  background-image: linear-gradient(45deg, #e92a3b 0%, #c62032 50%, #e92a3b 100%);
  box-shadow: 0 12px 26px rgba(233, 42, 59, 0.35);
}

.btn-hero-primary[href^="tel:"]:hover {
  box-shadow: 0 16px 32px rgba(233, 42, 59, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

/* Quick points (check marks in hero) */
.quick-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  opacity: 0.9;
  font-weight: 700;
  font-size: 0.88rem;
}

.quick-points li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* Hero side card */
.hero-side-card {
  padding: 1.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-side-card .mini-eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-side-card .check-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-side-card .check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-side-card .check-list li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   PAGE HERO  — location + service landing pages
   ========================================================= */
.page-hero {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--hero-1) 0%,
    var(--hero-2) 30%,
    var(--hero-3) 65%,
    var(--hero-4) 100%
  );
  color: #fff;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.page-hero-copy {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-lead {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  max-width: 54ch;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

/* Hero image */
.page-hero-img {
  display: block;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  justify-self: center;
}

/* Hero actions — buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.8rem;
  border: 0;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-position 0.4s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  color: #fff;
  border-radius: 12px;
  background-image: linear-gradient(
    45deg,
    var(--accent) 0%,
    var(--accent-dark) 51%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.btn-secondary {
  color: #fff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  color: #fff;
}

/* Use on light/white backgrounds where btn-secondary (white text) is invisible */
.btn-secondary--light {
  color: #212529;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid rgba(33, 37, 41, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-secondary--light:hover {
  background: #f1f3f5;
  border-color: rgba(33, 37, 41, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  color: #212529;
}

@media (max-width: 880px) {
  .page-hero {
    padding: calc(80px + 2vh) 0 clamp(2.5rem, 6vw, 4rem);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-hero-copy {
    justify-items: center;
    text-align: center;
  }

  .page-hero-img {
    max-width: 360px;
    order: -1;
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }
}

/* =========================================================
   BODY CONTENT  — sections below hero
   ========================================================= */
.page-body {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Sections */
.section {
  padding: clamp(3.6rem, 8vw, 5.8rem) 0;
}

.section--soft {
  background: linear-gradient(180deg, #f8f9fa, #e9ecef);
}

.section--dark {
  background: linear-gradient(180deg, #2b3035, #212529);
  color: #e9ecef;
}

.section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-text);
}

.section-head p {
  margin: 0;
  max-width: 66ch;
  color: var(--c-text-weak);
}

.section-head.narrow {
  max-width: 44rem;
}

.section-eyebrow {
  margin: 0 0 0.4rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

/* =========================================================
   CARDS
   ========================================================= */
.card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

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

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.service-card,
.info-card,
.city-card,
.step-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border-radius: var(--r20);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -26px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.service-card h3,
.info-card h3,
.city-card h3,
.step-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
}

.service-card p,
.info-card p,
.city-card p,
.step-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--c-text-weak);
}

.service-card a,
.city-card a,
.info-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-card a::after,
.city-card a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.service-card a:hover,
.city-card a:hover,
.info-card a:hover {
  color: var(--accent-dark);
}

.service-card a:hover::after,
.city-card a:hover::after {
  transform: translateX(3px);
}

/* Step cards */
.step-card {
  text-align: center;
  align-items: center;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  background: linear-gradient(180deg, #f8f9fa, #fff);
}

.faq-list {
  display: grid;
  gap: 1.1rem;
  max-width: 48rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r16);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: clip;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  padding-right: 2.8rem;
  font-weight: 800;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--accent, #495057);
  border-bottom: 2.5px solid var(--accent, #495057);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--c-text-weak);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-4));
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-cta:active {
  transform: scale(0.98);
}

.btn-cta-primary {
  background: #fff;
  color: #212529;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

/* More specific rule to ensure dark text wins over .cta-band color: #fff inheritance */
.cta-band .btn-cta-primary,
.cta-band .btn-cta-primary:visited {
  color: #212529;
}

.btn-cta-primary:hover,
.cta-band .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  color: #212529;
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================================
   TRUST CHIPS
   ========================================================= */
.trust-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
  margin-bottom: 1rem;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.2rem;
  opacity: 0.4;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   TRUST BAR  — clean strip below hero
   ========================================================= */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
}
.trust-bar-item:last-child {
  border-right: none;
}
.trust-bar-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid;
  place-items: center;
  color: #fff;
}
.trust-bar-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
}
.trust-bar-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.trust-bar-label {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--c-text);
  line-height: 1.2;
}
.trust-bar-desc {
  font-size: 0.76rem;
  color: var(--c-text-weak);
  line-height: 1.3;
}

@media (max-width: 880px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar-item {
    justify-content: center;
  }
  .trust-bar-item:nth-child(2) {
    border-right: none;
  }
  .trust-bar-item:nth-child(1),
  .trust-bar-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
}
@media (max-width: 480px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar-item {
    justify-content: flex-start;
    max-width: 260px;
    width: 100%;
    margin-inline: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
  .trust-bar-item:last-child {
    border-bottom: none;
  }
}

/* =========================================================
   CITY HERO IMAGE
   ========================================================= */
.city-card img {
  height: 260px !important;
  object-position: center 35%;
}

.city-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   FOOTER  — matches index / heating / cooling
   ========================================================= */
.site-footer {
  background: #212529;
  color: #e9ecef;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 36px;
}
.footer-brand .brand-logo {
  margin-bottom: 12px;
}
.footer-brand .brand-blurb {
  margin: 8px 0 16px;
  color: #ced4da;
  line-height: 1.6;
}
.contact-list {
  display: grid;
  gap: 8px;
  padding-inline-start: 0;
  list-style: none;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e9ecef;
  opacity: 0.92;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.footer-col {
  position: relative;
}
.footer-col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col a {
  color: #e9ecef;
  text-decoration: none;
  font-weight: 600;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col .hearth-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-col .hearth-link-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.76;
}
.footer-col .hearth-link img {
  display: block;
  width: auto;
  height: 0.95rem;
}
.footer-col:not(:first-of-type)::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 14px;
  color: #ced4da;
  font-size: 14px;
}
.footer-bottom .madeby {
  opacity: 0.9;
}
.footer-bottom .madeby a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer-bottom .madeby a:hover,
.footer-bottom .madeby a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}
.footer-bottom .madeby a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 4px;
}
.tel-link,
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
.tel-link:hover,
.tel-link:focus {
  text-decoration: underline;
}
.tel-link:visited {
  color: inherit;
}
.social-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.social-link:hover {
  text-decoration: underline;
}

/* =========================================================
   MOBILE NAV (hamburger + drawer)
   ========================================================= */
#menu_checkbox {
  display: none;
}

.hamburger-btn {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: none;
  z-index: 1100;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(33, 37, 41, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) inset;
  padding: 12px;
  box-sizing: border-box;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.hamburger-btn span + span {
  margin-top: 6px;
}

#menu_checkbox:checked + .hamburger-btn span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#menu_checkbox:checked + .hamburger-btn span:nth-child(2) {
  opacity: 0;
}

#menu_checkbox:checked + .hamburger-btn span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.menu-mobile {
  --drawer-w: min(82vw, 420px);
  --t: 0.42s;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--drawer-w);
  padding: clamp(12px, 3vw, 20px);
  padding-top: calc(72px + 16px);
  color: #fff;
  background: linear-gradient(180deg, rgba(33, 37, 41, 0.96), rgba(52, 58, 64, 0.92));
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.28);
  transform: translateX(-105%);
  transition: transform var(--t) cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1050;
  overflow-y: auto;
}

.menu-mobile::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--drawer-w);
  background: rgba(33, 37, 41, 0.4);
  opacity: 0;
  transition: opacity var(--t) ease;
  pointer-events: none;
  z-index: -1;
}

#menu_checkbox:checked ~ .menu-mobile {
  transform: translateX(0);
  --t: 0.68s;
}

#menu_checkbox:checked ~ .menu-mobile::before {
  opacity: 1;
}

.mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-mobile a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.mobile-group details {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.mobile-group summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  color: #fff;
  list-style: none;
  position: relative;
}

.mobile-group summary::-webkit-details-marker {
  display: none;
}

.mobile-group summary::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 20px;
  line-height: 1;
  opacity: 0.85;
}

.mobile-group details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.mobile-group details ul {
  list-style: none;
  margin: 0;
  padding: 6px 8px 12px 10px;
}

.mobile-group details ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  color: #e9ecef;
}

.mobile-group details ul a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-mobile > .mobile-list > li > a {
  display: block;
  padding: 12px 2px;
  font-size: 18px;
}

.menu-mobile > .mobile-list > li:last-child {
  margin-top: 6px;
}

.menu-mobile .btn-quote.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.9) 51%,
    rgba(255, 255, 255, 0.95) 100%
  );
  background-size: 200% auto;
  color: #212529;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    background-position 0.4s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

.menu-mobile .btn-quote.mobile-cta:hover {
  background-position: right center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.menu-mobile .btn-quote.mobile-cta:active {
  transform: scale(0.97);
}

/* =========================================================
   FOCUS
   ========================================================= */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 881px) {
  .hamburger-btn,
  .menu-mobile {
    display: none !important;
  }
  .menu-desktop {
    display: block;
  }
}

@media (max-width: 880px) {
  .hamburger-btn {
    display: block;
  }
  .menu-desktop {
    display: none;
  }
  .navigation {
    height: 72px;
    padding: 8px clamp(14px, 4vw, 20px);
  }
  .logo-box {
    width: 180px;
    height: 54px;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-inline: clamp(12px, 4vw, 24px);
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1 {
    text-align: center;
    margin: 0 auto 12px;
  }
  .hero-copy .lead {
    margin-inline: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .quick-points {
    justify-content: center;
  }
  .hero-side-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-band-actions {
    justify-content: center;
    width: 100%;
  }
  .cta-band-actions .btn-cta {
    flex: 1;
    min-width: 140px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 24px;
  }
  .footer-col:not(:first-of-type)::before {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }
  .btn-hero {
    width: 100%;
  }

  .trust-chip-row {
    justify-content: center;
  }
}

/* Mobile CTA bar styles live in mobile-cta.css */

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero entrance */
.page-hero-copy {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.page-hero-img {
  animation: scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-eyebrow {
  animation: slideRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.trust-chip {
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trust-chip:nth-child(1) { animation-delay: 0.35s; }
.trust-chip:nth-child(2) { animation-delay: 0.45s; }
.trust-chip:nth-child(3) { animation-delay: 0.55s; }

/* Cards stagger on scroll — using CSS-only approach */
.service-card,
.city-card,
.info-card,
.step-card {
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card-grid > :nth-child(1) { animation-delay: 0.1s; }
.card-grid > :nth-child(2) { animation-delay: 0.2s; }
.card-grid > :nth-child(3) { animation-delay: 0.3s; }
.card-grid > :nth-child(4) { animation-delay: 0.4s; }

/* FAQ items */
.faq-item {
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.faq-list > :nth-child(1) { animation-delay: 0.1s; }
.faq-list > :nth-child(2) { animation-delay: 0.18s; }
.faq-list > :nth-child(3) { animation-delay: 0.26s; }
.faq-list > :nth-child(4) { animation-delay: 0.34s; }

/* CTA band */
.cta-band {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* Section headings */
.section-head {
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero image subtle float */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.page-hero-img {
  animation:
    scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both,
    gentleFloat 4s ease-in-out 1.2s infinite;
}

/* =========================================================
   MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   CONTENT LINK COLORS — scoped to main body, not nav/footer
   Heating → red  |  Cooling → blue  |  Services → slate
   ========================================================= */
main a[href*="/pages/heating"],
main a[href*="/pages/heating/"]:visited {
  color: #b83232;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(184, 50, 50, 0.35);
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
main a[href*="/pages/heating"]:hover {
  opacity: 0.75;
}

main a[href*="/pages/cooling"],
main a[href*="/pages/cooling/"]:visited {
  color: #1f6aa6;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(31, 106, 166, 0.35);
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
main a[href*="/pages/cooling"]:hover {
  opacity: 0.75;
}

main a[href*="/pages/services"],
main a[href*="/pages/services/"]:visited {
  color: #4a5568;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(74, 85, 104, 0.35);
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
main a[href*="/pages/services"]:hover {
  opacity: 0.75;
}

/* =========================================================
   CARD LINK COLORS — higher specificity override for
   .service-card / .city-card links pointing to service pages
   Ensures card links respect heating/cooling/services palette
   ========================================================= */
main .service-card a[href*="/pages/heating"],
main .city-card a[href*="/pages/heating"] {
  color: #b83232;
  text-decoration-color: rgba(184, 50, 50, 0.35);
}

main .service-card a[href*="/pages/heating"]:hover,
main .city-card a[href*="/pages/heating"]:hover {
  color: #8c1f1f;
}

main .service-card a[href*="/pages/cooling"],
main .city-card a[href*="/pages/cooling"] {
  color: #1f6aa6;
  text-decoration-color: rgba(31, 106, 166, 0.35);
}

main .service-card a[href*="/pages/cooling"]:hover,
main .city-card a[href*="/pages/cooling"]:hover {
  color: #165a8a;
}

main .service-card a[href*="/pages/services"],
main .city-card a[href*="/pages/services"] {
  color: #4a5568;
  text-decoration-color: rgba(74, 85, 104, 0.35);
}

main .service-card a[href*="/pages/services"]:hover,
main .city-card a[href*="/pages/services"]:hover {
  color: #2d3748;
}
