/* ============================================================
   Sensible Heating and Cooling — Saluda, NC
   "Making Sense of Comfort"
   Palette: Escarpment blues + ember orange on cool neutrals
   Type: Bricolage Grotesque (display) / Figtree (body)
   ============================================================ */

:root {
  /* Color tokens */
  --granite: #232a31;      /* ink */
  --slate: #4c5860;        /* secondary text */
  --ridge: #17435e;        /* primary deep blue */
  --ridge-deep: #0d2c40;   /* hero / footer base */
  --ridge-mid: #1f5878;    /* mid ridge layer */
  --creek: #2b7a9e;        /* cooling accent */
  --creek-soft: #e3eef4;   /* cooling tint */
  --ember: #e5732a;        /* CTA orange */
  --ember-deep: #c85e1d;   /* CTA hover */
  --ember-soft: #fbeadd;   /* heating tint */
  --mist: #f3f5f6;         /* page background */
  --cloud: #ffffff;
  --hairline: #dce2e7;
  --placeholder: #b48a00;  /* marked-placeholder amber */
  --placeholder-bg: #fdf6e0;

  /* Type */
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;

  --wrap: 1120px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(13, 44, 64, 0.06), 0 8px 24px rgba(13, 44, 64, 0.08);
  --shadow-lift: 0 2px 4px rgba(13, 44, 64, 0.08), 0 14px 34px rgba(13, 44, 64, 0.14);
}

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

/* Kill sideways elastic bounce on quick trackpad flicks, and paint the
   overscroll backdrop the site's own color so it can never flash white. */
html {
  background: var(--mist);
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--granite);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--granite);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ridge); }
a:hover { color: var(--creek); }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.section-alt { background: var(--cloud); }
.section-dark { background: var(--ridge-deep); color: #dbe6ee; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Eyebrow + elevation badge — recurring signature device */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--creek);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ember);
  display: inline-block;
}
.section-dark .eyebrow { color: #8fc3dd; }

.elev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8c6d8;
  border: 1px solid rgba(168, 198, 216, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}
.elev-badge svg { width: 14px; height: 14px; flex: none; }

.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--slate); max-width: 62ch; }
.section-dark .lead { color: #b9cdda; }

/* Credential rows — concrete proof, stated plainly where decisions happen */
.cred-row {
  margin: 1.6rem 0 0;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #a8c6d8;
}
.cred-line {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  margin: 0.4rem 0 0;
}

/* Practice list (About) — ruled spec-sheet rows, deliberately not icon cards */
.practice-list { margin-top: 2.2rem; border-top: 1px solid var(--hairline); }
.practice {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.6rem;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--hairline);
}
.practice h3 { font-size: 1.15rem; margin: 0; }
.practice h3::before { content: "\2014\00a0"; color: var(--ember); }
.practice p { color: var(--slate); margin: 0; max-width: 62ch; }
@media (max-width: 720px) {
  .practice { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-deep); color: #fff; }

.btn-secondary { background: transparent; color: var(--ridge); border-color: var(--ridge); }
.btn-secondary:hover { background: var(--ridge); color: #fff; }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-call { background: var(--ridge); color: #fff; white-space: nowrap; }
.btn-call:hover { background: var(--ridge-mid); color: #fff; }
.btn-call svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--granite);
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--creek);
}

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--granite);
  text-decoration: none;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ridge); }
.site-nav a[aria-current="page"] {
  color: var(--ridge);
  border-bottom-color: var(--ember);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--granite); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; order: 3; }
  .header-inner { gap: 0.8rem; }
  .header-inner .btn-call { padding: 0.75rem 1rem; font-size: 0.92rem; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow);
    padding: 0.4rem 0 0.8rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 0.85rem clamp(1.1rem, 4vw, 2rem);
    border-bottom: 1px solid var(--mist);
    font-size: 1.05rem;
  }
  .site-nav a[aria-current="page"] {
    border-left: 3px solid var(--ember);
    border-bottom-color: var(--mist);
    background: var(--creek-soft);
  }
}

@media (max-width: 560px) {
  .brand-name { font-size: 1.05rem; }
  .header-inner .btn-call span.call-label { display: none; }
}

/* ------------------------------------------------------------
   Hero with layered ridgeline (signature)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0b2536 0%, var(--ridge-deep) 45%, #123850 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(9rem, 18vw, 13rem);
  max-width: 680px;
}
.hero h1 { color: #fff; margin-top: 1.1rem; }
.hero .tagline {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: #f0b98d;
  margin: 0.4rem 0 1.1rem;
}
.hero .lead { color: #c3d5e1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }

.hero-ridges {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  pointer-events: none;
}
.hero-ridges svg { width: 100%; height: auto; display: block; }

/* Small ridge divider between light sections */
.ridge-divider { line-height: 0; background: var(--mist); }
.ridge-divider svg { width: 100%; height: auto; }
.ridge-divider.to-white { background: var(--cloud); }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(180deg, #0b2536 0%, var(--ridge-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-inner { padding-block: clamp(3rem, 7vw, 4.5rem) clamp(5.5rem, 11vw, 8rem); }
.page-hero h1 { color: #fff; margin-top: 1rem; }
.page-hero .lead { color: #c3d5e1; }

/* ------------------------------------------------------------
   Stat strip (animated counters)
   ------------------------------------------------------------ */
.stat-strip {
  background: var(--ridge);
  color: #fff;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: clamp(1.8rem, 4vw, 2.6rem);
}
.stat {
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-inline: 0.8rem;
}
.stat:first-child { border-left: 0; }
.stat-value {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}
.stat-value .suffix { color: var(--ember); }
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a8c6d8;
  margin-top: 0.35rem;
}
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ------------------------------------------------------------
   Cards & grids
   ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 26px; height: 26px; }
.card-icon.cool { background: var(--creek-soft); color: var(--creek); }
.card-icon.warm { background: var(--ember-soft); color: var(--ember-deep); }
.card-icon.neutral { background: #e9edf0; color: var(--ridge); }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .card-link {
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ridge);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card .card-link::after { content: "→"; transition: transform 160ms ease; }
.card:hover .card-link::after { transform: translateX(4px); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ridge);
  background: var(--creek-soft);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
}
.chip.warm { background: var(--ember-soft); color: var(--ember-deep); }

/* ------------------------------------------------------------
   Services tab navigator
   ------------------------------------------------------------ */
.tabs { margin-top: 2rem; }
.tab-list {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--hairline);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--slate);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease, border-color 150ms ease;
}
.tab-btn:hover { color: var(--ridge); }
.tab-btn[aria-selected="true"] { color: var(--ridge); border-bottom-color: var(--ember); }

.tab-panel { padding-top: 2rem; }
.tab-panel[hidden] { display: none; }

.tab-panel-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) { .tab-panel-inner { grid-template-columns: 1fr; gap: 1.6rem; } }

.tab-faq { margin-top: 2.4rem; }
.tab-faq h3 { margin-bottom: 0.2rem; }

.tab-aside {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.tab-aside h4 { margin-bottom: 0.8rem; }
.tab-aside ul { margin: 0; padding-left: 1.2rem; color: var(--slate); }
.tab-aside li { margin-bottom: 0.45rem; }

/* ------------------------------------------------------------
   Service sections (category pages)
   ------------------------------------------------------------ */
.svc-section {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.3rem;
  padding-block: clamp(1.8rem, 4vw, 2.6rem);
  border-top: 1px solid var(--hairline);
}
.svc-section:first-of-type { border-top: 0; }
.svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.svc-icon svg { width: 30px; height: 30px; }
.svc-icon.cool { background: var(--creek-soft); color: var(--creek); }
.svc-icon.warm { background: var(--ember-soft); color: var(--ember-deep); }
.svc-icon.neutral { background: #e9edf0; color: var(--ridge); }
.svc-body p { color: var(--slate); max-width: 68ch; }
.svc-body h3 { margin-bottom: 0.6rem; }
.svc-flag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 0.2rem 0.6rem;
  margin-left: 0.6rem;
  vertical-align: 2px;
}
.svc-flag.cool { background: var(--creek-soft); color: var(--creek); }
.svc-flag.warm { background: var(--ember-soft); color: var(--ember-deep); }
@media (max-width: 640px) {
  .svc-section { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* Local-note callout (escarpment content) */
.local-note {
  background: var(--creek-soft);
  border-left: 4px solid var(--creek);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  margin: 1.2rem 0 0;
  max-width: 68ch;
}
.local-note strong { color: var(--ridge); }
.local-note p { color: var(--granite); font-size: 0.97rem; }
.local-note .ln-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--creek);
  margin-bottom: 0.4rem;
}
.local-note .ln-label svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.faq-list { margin-top: 1.8rem; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1.1rem 0.2rem;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--granite);
}
.faq-q:hover { color: var(--ridge); }
.faq-q .faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--creek-soft);
  color: var(--ridge);
  display: grid;
  place-items: center;
  transition: transform 200ms ease, background-color 200ms ease;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--ember-soft); color: var(--ember-deep); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms ease;
}
.faq-a-inner { padding: 0 0.2rem 1.2rem; color: var(--slate); max-width: 70ch; }

/* ------------------------------------------------------------
   Service-area checker
   ------------------------------------------------------------ */
.area-check {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.3rem);
  max-width: 640px;
}
.area-check-form { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.area-check-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 2px solid var(--hairline);
  border-radius: var(--radius);
}
.area-check-form input:focus { border-color: var(--creek); outline: none; }
@media (max-width: 520px) {
  .area-check-form { flex-direction: column; }
}
.area-result { margin-top: 1.1rem; display: none; }
.area-result.show { display: block; }
.area-result .msg {
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 500;
}
.area-result .msg.ok { background: #e5f3e8; border: 1px solid #b7dcc0; color: #1d5c2f; }
.area-result .msg.no { background: var(--ember-soft); border: 1px solid #f0c9a8; color: #8a4413; }
.area-result .after-ok { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ------------------------------------------------------------
   Testimonial carousel
   ------------------------------------------------------------ */
.carousel { position: relative; margin-top: 2.2rem; }
.carousel-track-wrap { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform 380ms ease;
}
.carousel-slide {
  flex: 0 0 100%;
  padding: 0.2rem;
}
.testimonial {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  min-height: 200px;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--granite);
}
.testimonial cite { font-style: normal; font-weight: 600; color: var(--slate); font-size: 0.95rem; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ridge);
  background: none;
  color: var(--ridge);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.carousel-btn:hover { background: var(--ridge); color: #fff; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--hairline);
  cursor: pointer;
  padding: 0;
}
.carousel-dot[aria-current="true"] { background: var(--ember); }

/* Marked placeholder styling — intentionally visible */
.placeholder-note {
  background: var(--placeholder-bg);
  border: 1.5px dashed var(--placeholder);
  border-radius: var(--radius);
  color: #6e5500;
  font-size: 0.9rem;
  padding: 0.8rem 1.1rem;
  margin-top: 1.2rem;
}
.placeholder-note strong { color: #5a4600; }

/* ------------------------------------------------------------
   Forms (contact)
   ------------------------------------------------------------ */
.form-card {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field.full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.form-field label .req { color: var(--ember-deep); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--granite);
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--creek); outline: none; }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.85rem; color: var(--slate); margin-top: 0.3rem; }
.form-status { margin-top: 1.2rem; display: none; border-radius: var(--radius); padding: 1rem 1.2rem; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #e5f3e8; border: 1px solid #b7dcc0; color: #1d5c2f; }
.form-status.err { background: #fdecec; border: 1px solid #f2c2c2; color: #8f2020; }

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------
   County grid (service area)
   ------------------------------------------------------------ */
.county-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
@media (max-width: 760px) { .county-grid { grid-template-columns: 1fr; } }
.county-card {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.county-card h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.county-card .county-tag {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--creek);
}
.county-card p { color: var(--slate); font-size: 0.97rem; }
.town-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.town-list li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ridge);
  background: var(--mist);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
}

/* ------------------------------------------------------------
   Process steps / how-it-works
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
  counter-reset: step;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ridge);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 1rem;
}
.step p { color: var(--slate); font-size: 0.97rem; }

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--ridge-deep) 0%, var(--ridge) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: #b9cdda; margin: 0; max-width: 48ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.cta-band .band-ridge {
  position: absolute;
  right: -30px;
  bottom: -12px;
  width: 300px;
  opacity: 0.15;
  pointer-events: none;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--ridge-deep);
  color: #b9cdda;
  padding-top: 0;
}
.footer-ridge { line-height: 0; background: var(--mist); }
.footer-ridge.from-white { background: var(--cloud); }
.footer-ridge svg { width: 100%; height: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #b9cdda; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #8fc3dd; }
.footer-brand p { font-size: 0.95rem; margin-top: 0.9rem; max-width: 34ch; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: baseline; }
.footer-contact svg { width: 15px; height: 15px; flex: none; transform: translateY(2px); color: var(--ember); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #7d99ac;
}

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */
/* Scroll reveals removed: the per-element transform/opacity animations created
   GPU layer churn during fast scrolls, which produced stale-frame ghosting on
   some machines. Content is now always visible. */
.reveal, .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .faq-a { transition: none; }
  .card, .card:hover { transition: none; transform: none; }
}

/* ------------------------------------------------------------
   Utility
   ------------------------------------------------------------ */
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.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;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ember);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }
