/* ==========================================================================
   Cary Heat Pump — caryheatpump.com
   Design system: light & airy, cool teal (efficiency) ↔ warm amber (comfort)
   Fonts: Poppins (headings) + Nunito Sans (body)
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #11303f;          /* deep blue-slate — headings */
  --body: #36505e;         /* body text */
  --muted: #5d7585;        /* secondary text */
  --teal-900: #0b4a57;
  --teal-700: #0e7490;     /* primary */
  --teal-600: #0d8ba6;
  --teal-100: #d9eef4;
  --teal-50: #eef7fa;
  --amber-600: #c96a1b;
  --amber-500: #e07f2a;    /* warm CTA */
  --amber-100: #fdeede;
  --cream: #fbf7f0;        /* warm alternate section bg */
  --mist: #f3f9fb;         /* cool alternate section bg */
  --white: #ffffff;
  --line: #dfe9ee;
  --star: #e8a13c;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 72rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(17, 48, 63, 0.08);
  --shadow-md: 0 6px 24px -8px rgba(17, 48, 63, 0.16);
  --shadow-lg: 0 16px 48px -12px rgba(17, 48, 63, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 280ms;

  /* z-scale */
  --z-nav: 50;
  --z-drawer: 60;
  --z-callbar: 40;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
a { color: var(--teal-700); text-decoration: none; transition: color var(--t-fast) ease; }
a:hover { color: var(--teal-900); }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.45em; }
strong { color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--teal-100); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Section intros */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.9rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber-500), var(--teal-600));
}
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.lede { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease,
              border-color var(--t-fast) ease, box-shadow var(--t-med) var(--ease);
}
.btn svg { flex: none; }
.btn--call {
  background: var(--amber-500);
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(201, 106, 27, 0.5);
}
.btn--call:hover { background: var(--amber-600); color: #fff; box-shadow: 0 8px 24px -6px rgba(201, 106, 27, 0.55); }
.btn--ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-700);
}
.btn--ghost:hover { background: var(--teal-50); color: var(--teal-900); }
.btn--light { background: #fff; color: var(--teal-900); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--teal-50); }
.btn--lg { min-height: 3.4rem; padding: 1rem 2.1rem; font-size: 1.08rem; }

/* ---------- Header / nav ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus { left: 0.5rem; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) ease, box-shadow var(--t-med) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--teal-900); }
.brand svg { width: 2.4rem; height: 2.4rem; flex: none; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.2rem;
}
.nav-list a, .nav-list .nav-toggle-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-list a:hover, .nav-list .nav-toggle-sub:hover { background: var(--teal-50); color: var(--teal-900); }
.nav-list a[aria-current="page"] { color: var(--teal-700); }
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease), visibility var(--t-fast);
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.sub-menu li { margin: 0; }
.sub-menu a { display: flex; width: 100%; padding: 0.6rem 0.8rem; }
.nav-cta { display: none; }

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 48, 63, 0.45);
  opacity: 0;
  transition: opacity var(--t-med) ease;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(21rem, 88vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.4rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close {
  margin-left: auto;
  display: flex;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}
.drawer nav ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.drawer nav li { margin: 0; border-bottom: 1px solid var(--mist); }
.drawer nav a {
  display: flex;
  padding: 0.9rem 0.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.drawer nav a:hover { color: var(--teal-700); }
.drawer .drawer__group {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 1.1rem;
}
.drawer .btn { width: 100%; margin-top: 1.4rem; }

@media (min-width: 64rem) {
  .nav-list { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

/* Mobile sticky call bar */
.callbar {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: var(--z-callbar);
  display: flex;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) ease;
}
.callbar .btn { width: 100%; box-shadow: var(--shadow-lg); }
/* When JS is active the bar stays tucked away until the hero call button scrolls off. */
.js .callbar { transform: translateY(calc(100% + 1.2rem)); opacity: 0; pointer-events: none; }
.js .callbar.is-shown { transform: none; opacity: 1; pointer-events: auto; }
@media (min-width: 64rem) { .callbar { display: none; } }
body { padding-bottom: 4.6rem; }
@media (min-width: 64rem) { body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46rem 30rem at 110% -10%, var(--teal-100) 0%, transparent 60%),
    radial-gradient(40rem 26rem at -15% 110%, var(--amber-100) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
@media (min-width: 56rem) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 .accent {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(92deg, var(--amber-600) 0%, var(--teal-700) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { font-size: clamp(1.08rem, 2vw, 1.22rem); max-width: 33rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.proof-item { display: flex; align-items: center; gap: 0.65rem; font-size: 0.93rem; font-weight: 700; color: var(--ink); }
.proof-item svg { width: 1.5rem; height: 1.5rem; color: var(--teal-700); flex: none; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(36rem 22rem at 105% 0%, var(--teal-100) 0%, transparent 58%),
    linear-gradient(180deg, #fff, var(--mist));
  padding-block: clamp(2.8rem, 6vw, 4.6rem) clamp(2.4rem, 5vw, 3.6rem);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  font-weight: 700;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 0.45rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--line); }
.page-hero .lede { max-width: 44rem; }
.page-hero .hero__cta { margin-top: 1.4rem; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 40rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 60rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-fast) ease;
}
a.card { display: block; color: inherit; cursor: pointer; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.card__icon {
  display: inline-flex;
  width: 3.1rem;
  height: 3.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
  color: var(--teal-700);
  margin-bottom: 1.1rem;
}
.card__icon--warm { background: linear-gradient(135deg, var(--amber-100), #fbe2c6); color: var(--amber-600); }
.card__icon svg { width: 1.6rem; height: 1.6rem; }
.card h3 a { color: inherit; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--teal-700);
}
.card:hover .more { color: var(--teal-900); }
.card .more svg { width: 1rem; height: 1rem; transition: transform var(--t-fast) var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.card p:last-of-type { margin-bottom: 0.8rem; }

/* Feature / checklist rows */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}
.check-list svg { width: 1.35rem; height: 1.35rem; color: var(--teal-700); flex: none; margin-top: 0.18rem; }

/* Numbered process steps */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.2rem; }
@media (min-width: 56rem) { .steps--row { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  margin: 0;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber-500);
  margin-bottom: 0.5rem;
}
.steps h3, .steps h4 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; font-size: 0.97rem; }

/* Stats band */
.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 56rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 1.2rem 0.6rem; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--teal-900);
}
.stat span { font-size: 0.92rem; font-weight: 700; color: var(--muted); }

/* ---------- Reviews ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}
.review__stars { display: inline-flex; gap: 0.18rem; color: var(--star); }
.review__stars svg { width: 1.1rem; height: 1.1rem; }
.review blockquote { margin: 0; font-size: 1rem; flex: 1; }
.review footer { display: flex; align-items: center; gap: 0.8rem; }
.review .avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--teal-900);
  background: linear-gradient(135deg, var(--teal-100), var(--amber-100));
  flex: none;
}
.review cite { font-style: normal; font-weight: 800; color: var(--ink); display: block; line-height: 1.3; }
.review cite small { display: block; font-weight: 600; color: var(--muted); font-size: 0.83rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 56rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.gallery figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery .ph {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}
.gallery .ph svg { width: 38%; height: auto; opacity: 0.9; }
.gallery .ph--1 { background: linear-gradient(145deg, var(--teal-50), var(--teal-100)); }
.gallery .ph--2 { background: linear-gradient(145deg, var(--amber-100), var(--cream)); color: var(--amber-600); }
.gallery .ph--3 { background: linear-gradient(145deg, var(--mist), var(--teal-100)); }
.gallery .ph--4 { background: linear-gradient(145deg, var(--cream), var(--amber-100)); color: var(--amber-600); }
.gallery figcaption { padding: 0.75rem 0.95rem; font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.gallery figcaption small { display: block; font-weight: 600; color: var(--muted); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 0.8rem; }
.accordion details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-med) ease;
}
.accordion details[open] { border-color: var(--teal-100); box-shadow: var(--shadow-md); }
.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--teal-700); }
.accordion summary .chev {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  transition: transform var(--t-med) var(--ease);
}
.accordion summary .chev svg { width: 1rem; height: 1rem; }
.accordion details[open] summary .chev { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 1.3rem 1.2rem; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Service areas ---------- */
.area-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--ink);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-med) ease;
}
.area-card:hover { border-color: var(--teal-100); box-shadow: var(--shadow-md); color: var(--teal-900); }
.area-card svg { width: 1.25rem; height: 1.25rem; color: var(--amber-500); flex: none; }
.area-card small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); }

/* ---------- Brand strip (homepage systems teaser) ---------- */
.brand-strip {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
  max-width: 52rem;
}
.brand-strip--left { justify-content: flex-start; margin: 1.5rem 0 0; max-width: none; }
.brand-strip li {
  margin: 0;
  padding: 0.6rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- Trust badge band ---------- */
.trust-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
}
.trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem 1rem;
}
@media (min-width: 56rem) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  padding-left: 0.4rem;
}
@media (min-width: 56rem) {
  .trust-item { justify-content: center; padding-left: 0; }
  .trust-item + .trust-item { border-left: 1px solid var(--line); }
}
.trust-ico {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}
.trust-ico svg { width: 2.4rem; height: 2.4rem; }
.trust-ico--warm { color: var(--amber-600); }
.trust-ico--star { color: var(--star); }
.trust-ico--eco { color: #2f8f63; }
.trust-txt { display: flex; flex-direction: column; line-height: 1.18; }
.trust-txt strong { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.trust-txt span { font-size: 0.82rem; font-weight: 700; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, var(--teal-900) 0%, var(--teal-700) 55%, #1390ad 100%);
  border-radius: var(--radius-lg);
  color: #eaf6f9;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 56rem) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -8rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 127, 42, 0.35), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: #c9e6ee; }
.cta-band .btn--call { box-shadow: 0 8px 28px -6px rgba(0, 0, 0, 0.4); }
.cta-band .phone-note { display: block; margin-top: 0.6rem; font-size: 0.88rem; color: #a9d8e3; text-align: center; }

/* ---------- Two-column content split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  .split > .order-first { order: -1; }
}
.split__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.split__art svg, .split__art img { width: 100%; height: auto; display: block; }
.split__art.map-embed { line-height: 0; }
.split__art.map-embed iframe {
  width: 100%;
  aspect-ratio: 13 / 9;
  display: block;
  border: 0;
}
.team-caption {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  min-width: 34rem;
}
table.data th, table.data td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--mist); }
table.data th {
  background: var(--teal-50);
  color: var(--teal-900);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { white-space: nowrap; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.post-card__media svg { width: 100%; height: 100%; }
.post-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 0.83rem; font-weight: 700; color: var(--muted); margin-bottom: 0.55rem; }
.post-card .meta .tag { color: var(--amber-600); }
.post-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.post-card p { flex: 1; font-size: 0.98rem; }

/* Article (blog post) typography */
.prose { max-width: 46rem; }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.8em; }
.prose figure { margin: 2.2rem 0; }
.prose figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }
.prose .table-wrap { margin: 1.8rem 0; }
.pullquote {
  margin: 2.2rem 0;
  padding: 1.6rem 1.8rem;
  border-left: 4px solid var(--amber-500);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
}
.note-box {
  margin: 1.8rem 0;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--teal-100);
  background: var(--teal-50);
  border-radius: var(--radius);
  font-size: 0.98rem;
}
.note-box strong:first-child { color: var(--teal-900); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.article-hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 2rem 0 0;
}
.article-hero-art svg { width: 100%; height: auto; display: block; }

/* In-article SVG diagrams */
.diagram {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9cdd7;
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: 0.95rem;
}
.footer-cta-wrap { transform: translateY(-3.4rem); margin-bottom: -1.2rem; }
.site-footer .footer-grid {
  display: grid;
  gap: 2.4rem;
  padding-block: 3.4rem 2.4rem;
}
@media (min-width: 56rem) { .site-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #b9cdd7; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 0.9rem; }
.site-footer .brand small { color: #7fc4d4; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .foot-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.4rem;
}
.site-footer .foot-phone:hover { color: var(--amber-500); }
.site-footer .hours td { padding: 0.15rem 0; }
.site-footer .hours td:first-child { padding-right: 1.2rem; color: #8aa6b3; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #8aa6b3;
}

/* ---------- Scroll-reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.d-1 { --d: 90ms; } .d-2 { --d: 180ms; } .d-3 { --d: 270ms; } .d-4 { --d: 360ms; }

/* Gentle float for hero art accents (transform-only) */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floaty { animation: floaty 7s ease-in-out infinite; }
.floaty--slow { animation-duration: 10s; }

/* Soft pulse halo on call buttons (opacity-only) */
@keyframes halo {
  0% { box-shadow: 0 0 0 0 rgba(224, 127, 42, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(224, 127, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 127, 42, 0); }
}
.btn--pulse { animation: halo 2.6s ease-out infinite; }

/* Hero day/night cycle: sun + moon ride the same arc, sky cross-fades */
.sky-sun, .sky-moon {
  offset-path: path('M 35 235 Q 280 -85 525 235');
  offset-rotate: 0deg;
  opacity: 0;
}
.sky-sun { animation: sunArc 22s linear infinite; }
.sky-moon { animation: moonArc 22s linear infinite; }
.sky-night, .sky-stars { animation: skyNight 22s linear infinite; opacity: 0; }

@keyframes sunArc {
  0%   { offset-distance: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  40%  { opacity: 1; }
  45%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes moonArc {
  0%   { offset-distance: 0%;   opacity: 0; }
  50%  { offset-distance: 0%;   opacity: 0; }
  54%  { opacity: 1; }
  90%  { opacity: 1; }
  95%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes skyNight {
  0%   { opacity: 0; }
  40%  { opacity: 0; }
  50%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* Freeze the hero on a static daytime frame */
  .sky-sun { animation: none !important; offset-distance: 60%; opacity: 1; }
  .sky-moon, .sky-night, .sky-stars { animation: none !important; opacity: 0 !important; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
