/* ==========================================================================
   CoreVault HVAC Finishes — corevaulthvac.xyz
   One stylesheet. No framework, no build step.

   Visual language: a technical explainer that stays friendly. Rounded modular
   cards, a deep forest ink, one electrification green, and data components —
   meters, comparison tables, capacity bars — doing the persuading.

   01  Design tokens          08  Hero & page headers     15  Footer & call bar
   02  Reset & base           09  Cards & tiles           16  Images & placeholders
   03  Typography             10  Data: meters & tables   17  Motion
   04  Layout primitives      11  Notes & bands           18  Utilities
   05  Eyebrows & heads       12  Service area & map      19  Responsive
   06  Buttons & links        13  FAQ
   07  Header & navigation    14  Forms
   ========================================================================== */

/* 01  Design tokens ======================================================= */

:root {
  --forest-950: #0c1713;
  --forest-900: #13211d;
  --forest-800: #1d3029;
  --forest-700: #2c463c;
  --forest-600: #416155;
  --forest-500: #5c7c70;
  --forest-400: #8aa396;
  --forest-300: #b6c7bd;
  --forest-200: #d9e3dc;
  --forest-100: #eaf0eb;

  --bone:   #f5f7f4;
  --bone-2: #edf1ec;
  --white:  #ffffff;

  --volt-700: #248a3d;
  --volt-600: #2ea04a;
  --volt-500: #3fb950;
  --volt-200: #a9e4b2;
  --volt-100: #d7f3db;
  --volt-50:  #ecfaee;

  --amber-600: #b27a15;
  --amber-100: #fbeed0;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.85rem, 0.82rem + 0.14vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.45vw, 1.48rem);
  --step-2:  clamp(1.48rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.48rem + 1.6vw, 2.9rem);
  --step-4:  clamp(2.2rem, 1.7rem + 2.5vw, 3.7rem);
  --step-5:  clamp(2.5rem, 1.85rem + 3.1vw, 4.35rem);

  --sp-2: 0.8rem;
  --sp-3: 1.3rem;
  --sp-4: 2.1rem;
  --sp-5: 3.2rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --line: 1px solid var(--forest-200);
  --line-dark: 1px solid rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 1px 3px rgba(12, 23, 19, 0.06);
  --shadow: 0 16px 34px -24px rgba(12, 23, 19, 0.38);
  --shadow-lg: 0 36px 70px -42px rgba(12, 23, 19, 0.5);

  --container: 1200px;
  --measure: 68ch;
}

/* 02  Reset & base ======================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--bone); color: var(--forest-600);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--volt-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest-900); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--volt-600); outline-offset: 3px; border-radius: 4px;
}

.skip-link { position: absolute; left: 1rem; top: 0; z-index: 200; transform: translateY(-130%); background: var(--forest-900); color: var(--white); padding: 0.85rem 1.5rem; border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--volt-100); color: var(--forest-900); }

/* 03  Typography ========================================================== */

h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--forest-900); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.06; font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
h4 { font-size: var(--step-0); letter-spacing: -0.01em; }

p { margin: 0 0 1.05em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--forest-600); }

em.mark { font-style: normal; color: var(--volt-700); }
strong, b { font-weight: 700; color: var(--forest-900); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }
blockquote { margin: 0; }

/* 04  Layout primitives =================================================== */

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 680px) { .container { width: min(100% - 4rem, var(--container)); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3.5vw, 4rem); }
.section--bone { background: var(--bone); }
.section--bone2 { background: var(--bone-2); }
.section--white { background: var(--white); }
.section--volt { background: var(--volt-50); }
.section--dark { background: var(--forest-900); color: var(--forest-300); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.split { display: grid; gap: clamp(2.25rem, 1rem + 4.5vw, 4.25rem); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--text { grid-template-columns: 1.12fr 0.88fr; }
  .split--media { grid-template-columns: 0.88fr 1.12fr; }
}
.grid > *, .split > *, .hero__inner > *, .area-grid > *, .footer-grid > * { min-width: 0; }

/* 05  Eyebrows & section heads =========================================== */

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1rem; padding: 0.35rem 0.9rem 0.35rem 0.65rem;
  background: var(--volt-100); border-radius: var(--r-pill);
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--volt-700);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--volt-600); }
.section--dark .eyebrow { background: rgba(63,185,80,0.16); color: var(--volt-200); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 1rem + 3.5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: var(--step-1); line-height: 1.55; color: var(--forest-600); }
.section--dark .section-head p { color: var(--forest-300); }

/* 06  Buttons & links ==================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.88rem 1.55rem; border: 1.5px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-weight: 700; font-size: var(--step--1);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--volt { background: var(--volt-700); border-color: var(--volt-700); color: var(--white); }
.btn--volt:hover { background: var(--forest-900); border-color: var(--forest-900); color: var(--white); transform: translateY(-1px); }
.btn--dark { background: var(--forest-900); border-color: var(--forest-900); color: var(--white); }
.btn--dark:hover { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }
.btn--outline { background: transparent; border-color: var(--forest-300); color: var(--forest-900); }
.btn--outline:hover { border-color: var(--forest-900); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.32); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--white); color: var(--white); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.golink { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: var(--step--1); color: var(--volt-700); text-decoration: none; }
.golink svg { width: 1.05em; height: 1.05em; transition: transform 0.18s ease; }
.golink:hover { color: var(--forest-900); }
.golink:hover svg { transform: translateX(3px); }
.section--dark .golink { color: var(--volt-200); }

/* 07  Header & navigation ================================================ */

.topbar { background: var(--forest-950); color: var(--forest-400); font-size: 0.79rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3rem 1.5rem; min-height: 40px; padding-block: 0.4rem; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 0.45rem; margin: 0; }
.topbar__list svg { color: var(--volt-500); flex: none; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar p { margin: 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245,247,244,0.93); backdrop-filter: blur(12px); border-bottom: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.035em; color: var(--forest-900); }
.logo__name b { font-weight: 800; color: var(--volt-700); }
.logo__sub { margin-top: 2px; font-size: 0.59rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest-500); }

.nav { display: none; align-items: center; gap: 0.15rem; }
.nav__link { padding: 0.55rem 0.9rem; border-radius: var(--r-sm); font-size: var(--step--1); font-weight: 600; color: var(--forest-600); text-decoration: none; }
.nav__link:hover { color: var(--forest-900); background: var(--forest-100); }
.nav__link[aria-current="page"] { color: var(--forest-900); background: var(--volt-100); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.header-phone { display: none; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--forest-900); }
.header-phone svg { width: 19px; height: 19px; color: var(--volt-700); }
.header-phone span span { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-500); }
.header-phone strong { font-size: 1.02rem; font-weight: 700; white-space: nowrap; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: var(--white); border: var(--line); border-radius: var(--r-sm); color: var(--forest-900); cursor: pointer; }
.nav-toggle svg { width: 21px; height: 21px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (min-width: 1040px) {
  .nav { display: flex; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav .btn { display: none; }
}
@media (max-width: 1039px) {
  .nav {
    position: fixed; inset: 116px 0.75rem auto 0.75rem;
    display: none; flex-direction: column; align-items: stretch; gap: 0.15rem;
    padding: 0.75rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 128px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 1rem; font-size: var(--step-0); }
  .nav .btn { margin-top: 0.75rem; }
}

/* 08  Hero & page headers ================================================ */

.hero { background: var(--bone); border-bottom: var(--line); }
.hero__inner { display: grid; gap: clamp(2.25rem, 1rem + 4.5vw, 3.75rem); padding-block: clamp(2.75rem, 1.5rem + 5.5vw, 5.5rem); align-items: center; }
@media (min-width: 940px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }

.hero h1 { font-size: var(--step-5); }
.hero__lead { font-size: var(--step-1); line-height: 1.55; max-width: 46ch; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 2.25rem 0 0; padding: 1.5rem 0 0; border-top: var(--line); list-style: none; }
.hero__proof li { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--forest-700); }
.hero__proof svg { width: 17px; height: 17px; color: var(--volt-700); flex: none; }

.hero__media { position: relative; }
.hero__media > img, .hero__media > .img-placeholder { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero__tag {
  position: absolute; left: -0.75rem; bottom: -1.25rem;
  padding: 0.9rem 1.2rem; max-width: 260px;
  background: var(--forest-900); color: var(--forest-300); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.hero__tag strong { display: block; color: var(--white); font-size: 0.98rem; margin-bottom: 0.2rem; }
.hero__tag span { font-size: 0.82rem; line-height: 1.45; }

.page-head { background: var(--forest-900); color: var(--forest-300); padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); }
.page-head h1 { color: var(--white); max-width: 20ch; }
.page-head p { font-size: var(--step-1); line-height: 1.55; max-width: 58ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest-500); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--forest-600); }
.crumbs a { color: var(--forest-300); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* 09  Cards & tiles ====================================================== */

.card {
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  background: var(--white); border: var(--line); border-radius: var(--r);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--forest-300); }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: var(--step--1); line-height: 1.62; color: var(--forest-600); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 1.1rem; background: var(--volt-100); color: var(--volt-700); border-radius: var(--r-sm); }
.card__icon svg { width: 24px; height: 24px; }
.card__foot { margin-top: auto; padding-top: 1.25rem; }
.card--plain { background: transparent; }
.card--dark { background: var(--forest-800); border-color: rgba(255,255,255,0.12); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--forest-300); }
.card--dark .card__icon { background: rgba(63,185,80,0.18); color: var(--volt-200); }

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.checks li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.7rem; margin: 0; font-size: var(--step--1); line-height: 1.58; }
.checks svg { width: 1.3rem; height: 1.3rem; color: var(--volt-700); margin-top: 0.12rem; }
.section--dark .checks svg { color: var(--volt-200); }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chips span, .chips a { display: inline-block; padding: 0.4rem 0.9rem; background: var(--white); border: var(--line); border-radius: var(--r-pill); font-size: 0.86rem; color: var(--forest-700); text-decoration: none; }
.chips a:hover { border-color: var(--volt-600); color: var(--volt-700); }
.section--dark .chips span { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: var(--forest-300); }

/* 10  Data: meters & tables ============================================== */

/* Capacity bar — a stacked bar showing how an electrical panel fills up */
.capacity { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.5rem; }
.capacity li { margin: 0; }
.capacity__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.capacity__label { font-weight: 700; color: var(--forest-900); font-size: var(--step--1); }
.capacity__value { font-size: 0.82rem; font-weight: 600; color: var(--forest-500); }
.capacity__track { height: 12px; border-radius: var(--r-pill); background: var(--forest-200); overflow: hidden; display: flex; }
.capacity__fill { height: 100%; background: var(--volt-600); }
.capacity__fill--amber { background: var(--amber-600); }
.capacity p { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--forest-500); }
.section--dark .capacity__label { color: var(--white); }
.section--dark .capacity__track { background: rgba(255,255,255,0.14); }
.section--dark .capacity p, .section--dark .capacity__value { color: var(--forest-400); }

.tablewrap { overflow-x: auto; background: var(--white); border: var(--line); border-radius: var(--r); }
table.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--step--1); }
table.compare caption { padding: 1.05rem 1.35rem; text-align: left; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest-500); border-bottom: var(--line); }
table.compare th, table.compare td { padding: 0.9rem 1.35rem; text-align: left; border-bottom: var(--line); vertical-align: top; }
table.compare thead th { background: var(--bone-2); color: var(--forest-900); font-weight: 700; }
table.compare tbody th { font-weight: 700; color: var(--forest-900); }
table.compare td { color: var(--forest-600); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--volt-700); font-weight: 700; }
table.compare .warn { color: var(--amber-600); font-weight: 700; }

.steps { counter-reset: st; display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: st; margin: 0; padding: 1.5rem; background: var(--white); border: var(--line); border-radius: var(--r); }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 0.9rem; border-radius: var(--r-sm); background: var(--forest-900); color: var(--white); font-size: 0.9rem; font-weight: 700; }
.steps h3 { font-size: var(--step-0); margin-bottom: 0.35em; }
.steps p { font-size: var(--step--1); color: var(--forest-600); }
.section--dark .steps li { background: var(--forest-800); border-color: rgba(255,255,255,0.12); }
.section--dark .steps li::before { background: var(--volt-600); color: var(--forest-950); }
.section--dark .steps p { color: var(--forest-300); }

.deflist { margin: 0; padding: 0; }
.deflist > div { display: grid; gap: 0.3rem 1.75rem; padding: 1.3rem 0; border-bottom: var(--line); }
.deflist > div:first-child { border-top: var(--line); }
@media (min-width: 720px) { .deflist > div { grid-template-columns: 14rem 1fr; } }
.deflist dt { font-weight: 700; color: var(--forest-900); font-size: var(--step-0); }
.deflist dd { margin: 0; font-size: var(--step--1); line-height: 1.62; color: var(--forest-600); }
.section--dark .deflist > div { border-color: rgba(255,255,255,0.14); }
.section--dark .deflist dt { color: var(--white); }
.section--dark .deflist dd { color: var(--forest-300); }

/* 11  Notes & bands ====================================================== */

.note { padding: clamp(1.25rem, 1rem + 1.2vw, 1.85rem); border: var(--line); border-left: 4px solid var(--amber-600); background: var(--amber-100); border-radius: var(--r-sm); }
.note h3 { font-size: var(--step-0); margin-bottom: 0.4em; }
.note p { font-size: var(--step--1); color: var(--forest-700); }
.section--dark .note { background: rgba(178,122,21,0.16); border-color: rgba(251,238,208,0.25); }
.section--dark .note p { color: var(--forest-300); }

.band { background: var(--forest-900); color: var(--forest-300); padding-block: clamp(2.25rem, 1.2rem + 3vw, 3.25rem); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band h2 { color: var(--white); font-size: var(--step-2); margin: 0; }
.band p { margin: 0.35rem 0 0; color: var(--forest-400); }

/* 12  Service area & map ================================================= */

.map-frame { width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border: var(--line); border-radius: var(--r); }
.area-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* 13  FAQ ================================================================ */

.faq details { background: var(--white); border: var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 1.4rem; font-weight: 700; font-size: var(--step-0); color: var(--forest-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--volt-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23248a3d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.24s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 1.4rem 1.4rem; }
.faq details p { font-size: var(--step--1); color: var(--forest-600); }

/* 14  Forms ============================================================== */

.form-card { padding: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); background: var(--white); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.05rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.38rem; }
.field label { font-size: var(--step--1); font-weight: 700; color: var(--forest-900); }
.field .req { color: var(--volt-700); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; font-size: var(--step--1); color: var(--forest-900);
  background: var(--bone); border: 1.5px solid transparent; border-radius: var(--r-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c7c70' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--volt-600); box-shadow: 0 0 0 3px var(--volt-50); }
input::placeholder, textarea::placeholder { color: var(--forest-400); }

.field__error { min-height: 1.05rem; font-size: 0.79rem; font-weight: 700; color: #b3261e; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.81rem; color: var(--forest-500); }
.form-status { margin-top: 1rem; font-size: var(--step--1); font-weight: 700; min-height: 1.2rem; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: var(--volt-700); }

.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; margin: 0; padding: 1.15rem; background: var(--white); border: var(--line); border-radius: var(--r); }
.contact-list__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--volt-100); color: var(--volt-700); border-radius: var(--r-sm); }
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest-500); margin-bottom: 0.3em; }
.contact-list p { margin: 0; font-size: var(--step-1); font-weight: 700; color: var(--forest-900); letter-spacing: -0.02em; }
.contact-list small { display: block; margin-top: 0.3rem; font-size: 0.83rem; color: var(--forest-500); }

.hours { margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; margin: 0; border-bottom: var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--forest-500); }

/* 15  Footer & mobile call bar =========================================== */

.site-footer { background: var(--forest-950); color: var(--forest-400); padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem) 1.75rem; font-size: var(--step--1); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem; } }
.site-footer h3 { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-500); margin-bottom: 1rem; }
.site-footer .logo__name { color: var(--white); }
.site-footer .logo__sub { color: var(--forest-500); }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.footer-links li { margin: 0; }
.site-footer a { color: var(--forest-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.4rem; border-top: var(--line-dark); font-size: 0.79rem; color: var(--forest-500); }
.footer-bottom p { margin: 0; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--forest-700); border-top: 1px solid var(--forest-700); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 0.5rem; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.callbar svg { width: 17px; height: 17px; }
.callbar a:first-child { background: var(--forest-950); color: var(--white); }
.callbar a:last-child { background: var(--volt-700); color: var(--white); }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 56px; } }

/* 16  Images & placeholders ============================================== */

figure { margin: 0; }
figure img, figure .img-placeholder { border-radius: var(--r); }
figcaption { margin-top: 0.7rem; font-size: 0.82rem; color: var(--forest-500); }

.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 1rem; width: 100%;
  background: linear-gradient(145deg, var(--volt-50), var(--forest-100));
  border: 1.5px dashed var(--forest-300); border-radius: var(--r);
  text-align: center; color: var(--forest-500);
  font-size: 0.72rem; letter-spacing: 0.04em; line-height: 1.5;
}
.img-placeholder b { display: block; color: var(--forest-900); font-size: 0.85rem; font-weight: 700; word-break: break-all; }

/* 17  Motion ============================================================= */

[data-reveal] { opacity: 0; transform: translateY(14px); }
.is-revealed[data-reveal] { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
:target { scroll-margin-top: 110px; }

/* 18  Utilities ========================================================== */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.narrow { max-width: 56ch; }
.narrow-center { max-width: 60ch; margin-inline: auto; }

/* 19  Responsive ========================================================= */

@media (max-width: 599px) {
  .hero__tag { position: static; max-width: none; margin-top: 1.1rem; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .header-cta .btn { width: auto; padding: 0.68rem 0.95rem; font-size: 0.81rem; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__name { font-size: 1.1rem; }
  .site-header__inner { min-height: 64px; gap: 0.5rem; }
  .nav { inset-block-start: 104px; max-height: calc(100dvh - 116px); }
}
@media (max-width: 430px) {
  .logo__sub { display: none; }
  .topbar__list li:nth-child(2) { display: none; }
}
