/* ==========================================================================
   NovaMist Finishes HVAC Solutions — novamisthvac.xyz
   One stylesheet. No framework, no build step.

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

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

:root {
  /* Slate — structural dark, cool and soft rather than black */
  --slate-950: #0e171e;
  --slate-900: #16222b;
  --slate-800: #22323e;
  --slate-700: #35495a;
  --slate-600: #4d6475;
  --slate-500: #6b8293;
  --slate-400: #93a7b4;
  --slate-300: #c0cdd5;
  --slate-200: #dde5ea;
  --slate-100: #eaf0f3;

  /* Mist — the page */
  --mist:    #f4f7f8;
  --mist-2:  #fbfcfd;
  --white:   #ffffff;

  /* Teal — clean air, one accent */
  --teal-700: #0d7d70;
  --teal-600: #109385;
  --teal-500: #12a594;
  --teal-300: #7fd6cb;
  --teal-100: #d8f2ee;
  --teal-50:  #eefaf8;

  /* Type */
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.93rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.75vw, 3rem);
  --step-4:  clamp(2.25rem, 1.7rem + 2.7vw, 3.9rem);
  --step-5:  clamp(2.6rem, 1.85rem + 3.4vw, 4.6rem);

  /* Space */
  --sp-2: 0.8rem;
  --sp-3: 1.4rem;
  --sp-4: 2.2rem;
  --sp-5: 3.4rem;
  --section-y: clamp(3.75rem, 2rem + 6.5vw, 7.5rem);

  /* Shape — this site is round */
  --r-sm: 12px;
  --r:    20px;
  --r-lg: 30px;
  --r-pill: 999px;

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

  --shadow-sm: 0 2px 10px -4px rgba(14, 23, 30, 0.14);
  --shadow:    0 20px 45px -28px rgba(14, 23, 30, 0.35);
  --shadow-lg: 0 44px 90px -48px rgba(14, 23, 30, 0.45);
  --shadow-teal: 0 16px 34px -18px rgba(16, 147, 133, 0.55);

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

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

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

body {
  margin: 0;
  background: var(--mist);
  color: var(--slate-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(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate-900); }

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

.skip-link {
  position: absolute; left: 1rem; top: 0; z-index: 200;
  transform: translateY(-130%);
  background: var(--slate-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(--teal-100); color: var(--slate-900); }

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--slate-900);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 600; line-height: 1.06; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.28; letter-spacing: -0.015em; }
h4 { font-size: var(--step-0); letter-spacing: 0; font-weight: 600; }

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(--slate-600); }

em.mark { font-style: normal; color: var(--teal-600); }
strong, b { font-weight: 600; color: var(--slate-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.5rem, 1.5rem + 4vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--pale { background: var(--mist-2); }
.section--white { background: var(--white); }
.section--teal { background: var(--teal-50); }
.section--dark { background: var(--slate-900); color: var(--slate-300); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 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.5rem); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--text { grid-template-columns: 1.1fr 0.9fr; }
  .split--media { grid-template-columns: 0.9fr 1.1fr; }
}
.grid > *, .split > *, .hero__inner > *, .area-grid > *, .footer-grid > * { min-width: 0; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem; padding: 0.35rem 0.95rem 0.35rem 0.6rem;
  background: var(--teal-100); border-radius: var(--r-pill);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }
.section--dark .eyebrow { background: rgba(18, 165, 148, 0.18); color: var(--teal-300); }

.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(--slate-600); }
.section--dark .section-head p { color: var(--slate-400); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.92rem 1.65rem;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font: inherit; font-weight: 600; font-size: var(--step--1);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--teal { background: var(--teal-600); border-color: var(--teal-600); color: var(--white); box-shadow: var(--shadow-teal); }
.btn--teal:hover { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); transform: translateY(-2px); }
.btn--dark { background: var(--slate-900); border-color: var(--slate-900); color: var(--white); }
.btn--dark:hover { background: var(--slate-800); border-color: var(--slate-800); color: var(--white); }
.btn--soft { background: var(--white); border-color: var(--slate-200); color: var(--slate-900); box-shadow: var(--shadow-sm); }
.btn--soft:hover { border-color: var(--teal-500); color: var(--teal-700); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.32); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn--lg { padding: 1.1rem 2rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.golink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: var(--step--1); color: var(--teal-700); text-decoration: none;
}
.golink svg { width: 1.1em; height: 1.1em; padding: 0.15em; border-radius: 50%; background: var(--teal-100); transition: transform 0.2s ease; }
.golink:hover { color: var(--slate-900); }
.golink:hover svg { transform: translateX(3px); }
.section--dark .golink { color: var(--teal-300); }
.section--dark .golink svg { background: rgba(18,165,148,0.22); }

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

.topbar { background: var(--slate-900); color: var(--slate-400); font-size: 0.8rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1.5rem; min-height: 40px; padding-block: 0.4rem; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 0.35rem 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(--teal-300); flex: none; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar p { margin: 0; }

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

.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.035em; color: var(--slate-900); }
.logo__name b { font-weight: 600; color: var(--teal-600); }
.logo__sub { margin-top: 2px; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-500); }

/* Pill nav — a single rounded container around the links */
.nav { display: none; align-items: center; gap: 0.15rem; padding: 0.3rem; background: var(--white); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.nav__link { padding: 0.55rem 1rem; border-radius: var(--r-pill); font-size: var(--step--1); font-weight: 500; color: var(--slate-600); text-decoration: none; }
.nav__link:hover { color: var(--slate-900); background: var(--slate-100); }
.nav__link[aria-current="page"] { color: var(--white); background: var(--slate-900); font-weight: 600; }

.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(--slate-900); }
.header-phone svg { width: 19px; height: 19px; color: var(--teal-600); }
.header-phone span span { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-500); }
.header-phone strong { font-size: 1.02rem; font-weight: 600; white-space: nowrap; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-pill); color: var(--slate-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: 1020px) {
  .nav { display: flex; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav .btn { display: none; }
}
@media (max-width: 1019px) {
  .nav {
    position: fixed; inset: 118px 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 - 130px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 1rem; border-radius: var(--r-sm); font-size: var(--step-0); }
  .nav .btn { margin-top: 0.75rem; }
}

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

.hero { position: relative; background: var(--mist); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 46rem; height: 46rem; right: -14rem; top: -20rem;
  background: radial-gradient(circle, rgba(18,165,148,0.16), rgba(18,165,148,0) 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4rem); padding-block: clamp(3rem, 1.5rem + 6vw, 6rem); 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: 45ch; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; 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: 500; color: var(--slate-700); }
.hero__proof svg { width: 17px; height: 17px; color: var(--teal-600); flex: none; }

.hero__media { position: relative; }
.hero__media > img, .hero__media > .img-placeholder { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero__chip {
  position: absolute; left: -1rem; bottom: -1.25rem;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.35rem 1rem 1rem;
  background: var(--white); border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
}
.hero__chip .dot { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); }
.hero__chip .dot svg { width: 20px; height: 20px; }
.hero__chip strong { display: block; font-size: 0.98rem; color: var(--slate-900); line-height: 1.2; }
.hero__chip span { font-size: 0.8rem; color: var(--slate-500); }

.page-head { background: var(--slate-900); color: var(--slate-400); padding-block: clamp(2.75rem, 1.5rem + 4.5vw, 5rem); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.page-head h1 { color: var(--white); max-width: 19ch; }
.page-head p { font-size: var(--step-1); line-height: 1.55; max-width: 56ch; }

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

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

.card {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.3vw, 2.2rem);
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: var(--step--1); line-height: 1.62; color: var(--slate-600); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 1.2rem; background: var(--teal-100); color: var(--teal-700); border-radius: 50%; }
.card__icon svg { width: 25px; height: 25px; }
.card__foot { margin-top: auto; padding-top: 1.3rem; }
.card--plain { background: transparent; box-shadow: none; border: var(--line); }
.card--dark { background: var(--slate-800); box-shadow: none; }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--slate-400); }
.card--dark .card__icon { background: rgba(18,165,148,0.2); color: var(--teal-300); }

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.checks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.7rem; margin: 0; font-size: var(--step--1); line-height: 1.55; }
.checks svg { width: 1.4rem; height: 1.4rem; color: var(--teal-600); margin-top: 0.1rem; }
.section--dark .checks svg { color: var(--teal-300); }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chips span, .chips a { display: inline-block; padding: 0.42rem 0.95rem; background: var(--white); border-radius: var(--r-pill); font-size: 0.86rem; color: var(--slate-700); text-decoration: none; box-shadow: var(--shadow-sm); }
.chips a:hover { color: var(--teal-700); }
.section--dark .chips span { background: rgba(255,255,255,0.07); color: var(--slate-300); box-shadow: none; }

/* 10  Meters, stats & steps ============================================== */

/* Meter — a labelled bar, used on the air-quality page */
.meters { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.meter { margin: 0; }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.meter__label { font-weight: 600; color: var(--slate-900); font-size: var(--step--1); }
.meter__value { font-size: 0.8rem; color: var(--slate-500); }
.meter__track { height: 10px; border-radius: var(--r-pill); background: var(--slate-200); overflow: hidden; }
.meter__fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--teal-300), var(--teal-600)); }
.meter p { margin: 0.5rem 0 0; font-size: 0.86rem; color: var(--slate-500); }
.section--dark .meter__label { color: var(--white); }
.section--dark .meter__track { background: rgba(255,255,255,0.14); }

.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.6rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.steps li::before {
  content: counter(st);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--slate-900); color: var(--white);
  font-size: 0.92rem; font-weight: 600;
}
.steps h3 { font-size: var(--step-0); margin-bottom: 0.35em; }
.steps p { font-size: var(--step--1); color: var(--slate-600); }
.section--dark .steps li { background: var(--slate-800); box-shadow: none; }
.section--dark .steps li::before { background: var(--teal-500); color: var(--slate-950); }
.section--dark .steps h3 { color: var(--white); }
.section--dark .steps p { color: var(--slate-400); }

.deflist { margin: 0; padding: 0; }
.deflist > div { display: grid; gap: 0.3rem 1.75rem; padding: 1.35rem 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: 600; color: var(--slate-900); font-size: var(--step-0); }
.deflist dd { margin: 0; font-size: var(--step--1); line-height: 1.62; color: var(--slate-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(--slate-400); }

/* Comparison table — used on the air-quality page */
.tablewrap { overflow-x: auto; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); }
table.grades { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--step--1); }
table.grades caption { padding: 1.1rem 1.4rem; text-align: left; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
table.grades th, table.grades td { padding: 0.95rem 1.4rem; text-align: left; border-top: var(--line); vertical-align: top; }
table.grades thead th { background: var(--mist); color: var(--slate-900); font-weight: 600; }
table.grades tbody th { font-weight: 600; color: var(--slate-900); white-space: nowrap; }
table.grades td { color: var(--slate-600); }
table.grades .good { color: var(--teal-700); font-weight: 600; }
table.grades .none { color: var(--slate-400); }
table.grades tbody tr.is-pick { background: var(--teal-50); }

/* 11  Panels & bands ===================================================== */

.panel { padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem); background: var(--slate-900); color: var(--slate-300); border-radius: var(--r-lg); }
.panel h2, .panel h3 { color: var(--white); }

.band { background: var(--teal-600); color: var(--white); 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: rgba(255,255,255,0.88); }

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

.map-frame { width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.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-radius: var(--r); margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 1.6rem; font-weight: 600; font-size: var(--step-1); line-height: 1.32;
  color: var(--slate-900); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; margin-top: 0.1rem;
  border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d7d70' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 1.6rem 1.6rem; }
.faq details p { font-size: var(--step--1); color: var(--slate-600); }

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

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.1rem; }
@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.4rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--slate-900); }
.field .req { color: var(--teal-600); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 0.85rem 1.05rem;
  font: inherit; font-size: var(--step--1); color: var(--slate-900);
  background: var(--mist); 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: 145px; 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='%236b8293' 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.95rem center; background-size: 16px; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); }
input::placeholder, textarea::placeholder { color: var(--slate-400); }

.field__error { min-height: 1.1rem; font-size: 0.8rem; font-weight: 600; color: #c0392b; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.82rem; color: var(--slate-500); }
.form-status { margin-top: 1rem; font-size: var(--step--1); font-weight: 600; min-height: 1.2rem; }
.form-status.is-error { color: #c0392b; }
.form-status.is-ok { color: var(--teal-700); }

.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; align-items: start; margin: 0; padding: 1.3rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.contact-list__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--teal-100); color: var(--teal-700); border-radius: 50%; }
.contact-list__icon svg { width: 23px; height: 23px; }
.contact-list h3 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 0.35em; }
.contact-list p { margin: 0; font-size: var(--step-1); font-weight: 600; color: var(--slate-900); letter-spacing: -0.02em; }
.contact-list small { display: block; margin-top: 0.35rem; font-size: 0.84rem; color: var(--slate-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.65rem 0; margin: 0; border-bottom: var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--slate-500); }

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

.site-footer { background: var(--slate-900); color: var(--slate-400); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; font-size: var(--step--1); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.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: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 1.1rem; }
.site-footer .logo__name { color: var(--white); }
.site-footer .logo__sub { color: var(--slate-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(--slate-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: 3rem; padding-top: 1.5rem; border-top: var(--line-dark); font-size: 0.8rem; color: var(--slate-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(--slate-700); border-top: 1px solid var(--slate-700); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 0.5rem; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.callbar svg { width: 18px; height: 18px; }
.callbar a:first-child { background: var(--slate-900); color: var(--white); }
.callbar a:last-child { background: var(--teal-600); color: var(--white); }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 58px; } }

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

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

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

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

[data-reveal] { opacity: 0; transform: translateY(16px); }
.is-revealed[data-reveal] { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s 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: 120px; }

/* 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: 58ch; margin-inline: auto; }

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

@media (max-width: 599px) {
  .hero__chip { position: static; max-width: none; margin-top: 1.25rem; border-radius: var(--r); }
  .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.7rem 1rem; font-size: 0.82rem; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__name { font-size: 1.14rem; }
  .site-header__inner { min-height: 66px; gap: 0.5rem; }
  .nav { inset-block-start: 108px; max-height: calc(100dvh - 120px); }
}
@media (max-width: 430px) {
  .logo__sub { display: none; }
  .topbar__list li:nth-child(2) { display: none; }
}
