/* ===================================================================
   site.css — single hand-written stylesheet
   All colors and fonts are CSS custom properties.
   :root holds the neutral base defaults + a default accent (green)
   so the file works standalone. No hex literal appears outside :root.
   =================================================================== */

:root {
  /* --- Neutral base (never overridden by theme injection) --- */
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-alt: #f2f1ee;
  --border: #e2dfd8;
  --border-strong: #c9c5bc;
  --text: #1a1916;
  --text-muted: #6b6760;
  --text-faint: #9a958c;

  /* --- Default accent: green (sprinkler) ---
     Overridden by inline <style> in the header when a different
     vertical/market accent is active. */
  --accent: #2d8659;
  --accent-hover: #256f49;
  --accent-tint: #e8f5ee;
  --accent-contrast: #ffffff;

  /* --- Fonts (one global pairing) --- */
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* --- Spacing scale (8px base) --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 80px;

  /* --- Radii --- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.10);

  /* --- Layout --- */
  --container: 1120px;
  --container-narrow: 640px;
  --container-prose: 720px;

  /* --- Logo slot (fixed height — no layout shift on swap) --- */
  --logo-h: 40px;

  /* --- Star rating color (fixed, not accent-driven) --- */
  --star: #e8a300;

  /* --- Placeholder marker (editorial warning block) --- */
  --placeholder-bg: #fff3cd;
  --placeholder-text: #8a6d00;
  --placeholder-border: #d4a900;

  /* --- Transitions --- */
  --t-fast: 150ms ease;
  --t-med: 250ms ease;
}

/* ===================== Reset / base ===================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--accent-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: var(--sp-4);
}

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

strong { font-weight: 600; }

.small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===================== Layout helpers ===================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-prose {
  max-width: var(--container-prose);
}

.stack > * + * {
  margin-top: var(--sp-4);
}

.stack-sm > * + * {
  margin-top: var(--sp-2);
}

.stack-lg > * + * {
  margin-top: var(--sp-5);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
}

.text-center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================== Buttons ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-5);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-contrast);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding: 0 var(--sp-3);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 56px;
  font-size: 1.0625rem;
  padding: 0 var(--sp-6);
}

/* ===================== Focus states ===================== */

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

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.field-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.field-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--text-faint);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-tint);
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

::placeholder {
  color: var(--text-faint);
}

/* Floating-label ZIP field */
.zip-field {
  position: relative;
}

.zip-field input {
  padding-left: var(--sp-4);
  padding-right: 48px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 56px;
}

.zip-field input::placeholder {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-faint);
}

.zip-check {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  color: var(--accent);
  transition: transform var(--t-med);
  pointer-events: none;
}

.zip-field.is-valid .zip-check {
  transform: translateY(-50%) scale(1);
}

/* Geolocate button */
.geo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.geo-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.geo-btn svg {
  width: 22px;
  height: 22px;
}

/* Option cards (radio / checkbox) */
.option-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.option-card {
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.option-card label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 56px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.option-card label:hover {
  border-color: var(--border-strong);
}

.option-card input:checked + label {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.option-card input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.option-marker {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.option-card[data-type="radio"] .option-marker {
  border-radius: 50%;
}

.option-card[data-type="checkbox"] .option-marker {
  border-radius: 4px;
}

.option-card input:checked + label .option-marker {
  border-color: var(--accent);
  background: var(--accent);
}

.option-marker svg {
  opacity: 0;
  transition: opacity var(--t-fast);
  color: var(--accent-contrast);
}

.option-card input:checked + label .option-marker svg {
  opacity: 1;
}

.option-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* Textarea counter */
.textarea-field {
  position: relative;
}

.textarea-counter {
  text-align: right;
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-top: var(--sp-1);
}

.optional-label {
  color: var(--text-muted);
  font-weight: 400;
}

/* Consent checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent-row label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent-row label strong,
.consent-row label span {
  display: block;
}

.consent-row label strong {
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.callback-choice {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
}

/* ===================== Header / chrome ===================== */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
}

.header-inner--funnel {
  justify-content: center;
}

/* Logo slot — fixed height, no layout shift */
.logo-slot {
  display: flex;
  align-items: center;
  height: var(--logo-h);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-slot img {
  height: var(--logo-h);
  width: auto;
  object-fit: contain;
}

.logo-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 6.4vw, 1.875rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.logo-wordmark .accent-dot {
  color: var(--accent);
}

/* Content-header nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.header-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--text);
}

.public-header {
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.public-header .header-inner {
  min-height: 76px;
}

.header-nav .header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-5);
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
}

.header-nav .header-cta:hover {
  background: var(--accent-hover);
  color: var(--accent-contrast);
}

/* ===================== Conversion home hero ===================== */

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.16), transparent 27%),
    linear-gradient(120deg, var(--accent-hover), var(--accent) 55%, var(--text));
}

.home-hero-media,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.home-hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 17, 30, 0.78) 0%, rgba(5, 17, 30, 0.54) 50%, rgba(5, 17, 30, 0.10) 100%);
}

.home-hero--panel-offset-right .home-hero-shade,
.home-hero--panel-right .home-hero-shade {
  background: linear-gradient(270deg, rgba(5, 17, 30, 0.78) 0%, rgba(5, 17, 30, 0.54) 50%, rgba(5, 17, 30, 0.10) 100%);
}

.home-hero:not(.home-hero--image) .home-hero-shade {
  background: linear-gradient(90deg, rgba(5, 17, 30, 0.42), rgba(5, 17, 30, 0.08));
}

.home-hero--panel-offset-right:not(.home-hero--image) .home-hero-shade,
.home-hero--panel-right:not(.home-hero--image) .home-hero-shade {
  background: linear-gradient(270deg, rgba(5, 17, 30, 0.42), rgba(5, 17, 30, 0.08));
}

.home-hero-inner {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.home-hero--panel-offset-right .home-hero-inner,
.home-hero--panel-right .home-hero-inner {
  justify-content: flex-end;
}

.home-hero--panel-left .home-hero-inner,
.home-hero--panel-right .home-hero-inner {
  max-width: none;
  padding-left: clamp(24px, 4vw, 72px);
  padding-right: clamp(24px, 4vw, 72px);
}

.home-hero-panel {
  width: min(860px, 100%);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-lg);
  background: rgba(7, 22, 38, 0.82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(5px);
}

.home-hero-eyebrow {
  margin: 0 0 var(--sp-3);
  color: var(--accent-contrast);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.84;
}

.home-hero-panel h1 {
  max-width: 18ch;
  margin: 0 0 var(--sp-3);
  color: var(--accent-contrast);
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.home-hero-subhead {
  max-width: 62ch;
  margin: 0 0 var(--sp-5);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(170px, 0.75fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 3px solid var(--surface);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.home-search-segment {
  min-width: 0;
  min-height: 68px;
  padding: 10px var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
  background: var(--surface);
}

.home-service-segment {
  border-right: 1px solid var(--border);
}

.home-search-label {
  display: block;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-search-segment strong {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-zip-control {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.home-zip-control svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--accent);
}

.home-zip-segment input[type="text"] {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.home-zip-segment input[type="text"]:focus {
  border: 0;
  box-shadow: none;
}

.home-search-button {
  min-width: 150px;
  margin: 4px;
  padding: 0 var(--sp-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border: 0;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--t-fast), transform var(--t-fast);
}

.home-search-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.home-hero-note {
  margin: var(--sp-4) 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8125rem;
}

.home-hero-note span {
  margin: 0 var(--sp-2);
}

.home-assurance {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.home-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-assurance-grid > div {
  padding: var(--sp-5);
  border-right: 1px solid var(--border);
}

.home-assurance-grid > div:last-child {
  border-right: 0;
}

.home-assurance strong,
.home-assurance span {
  display: block;
}

.home-assurance strong {
  margin-bottom: var(--sp-1);
  color: var(--text);
}

.home-assurance span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.home-main + .site-footer {
  margin-top: 0;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Progress bar */
.progress-bar {
  height: 4px;
  background: var(--surface-alt);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 400ms ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

/* ===================== Footer ===================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: var(--sp-6) 0;
  margin-top: var(--sp-8);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-top: var(--sp-4);
}

/* Content footer (richer) */
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
}

.footer-col h2,
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-brand .logo-wordmark {
  margin-bottom: var(--sp-3);
}

.footer-phone {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

/* ===================== Funnel layout ===================== */

.funnel-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.funnel-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-7) var(--sp-4);
}

.funnel-card {
  width: 100%;
  max-width: 540px;
}

.funnel-card-entry {
  max-width: 960px;
}

.funnel-card-entry .funnel-headline,
.funnel-card-entry .funnel-subhead {
  text-align: left;
}

.funnel-card-entry .funnel-headline {
  font-size: 2rem;
}

.funnel-card-wide {
  max-width: 640px;
}

.funnel-headline {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: var(--sp-3);
}

.funnel-subhead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}

.funnel-form,
.funnel-action {
  width: 100%;
}

.funnel-card-entry .funnel-form {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.quote-entry-card .funnel-headline,
.quote-entry-card .funnel-subhead {
  text-align: center;
}

.quote-entry-card .funnel-form {
  max-width: 720px;
}

.quote-entry-note {
  margin-top: var(--sp-4);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.funnel-card-entry .zip-field input {
  padding-left: 52px;
  padding-right: 52px;
  text-align: center;
}

.funnel-action {
  margin-top: var(--sp-5);
}

.location-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: var(--sp-3);
}

.location-line svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Step page */
.step-header {
  padding: var(--sp-4) var(--sp-4) 0;
}

.step-header .header-inner {
  padding: 0 0 var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.step-progress {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  max-width: 640px;
  margin: 0 auto;
}

.step-main {
  flex: 1;                 /* push the sticky bar to the bottom on short steps */
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-4) var(--sp-6);
}

.funnel-step-image {
  margin: 0 0 var(--sp-5);
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.funnel-step-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.step-question {
  font-size: 1.375rem;
  margin-bottom: var(--sp-2);
}

.step-subhead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

/* Sticky bottom bar (not fixed — iOS keyboard safe) */
.step-bar {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-3) var(--sp-4);
  z-index: 10;
}

.step-bar-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.step-bar-inner > .step-nav:only-child {
  margin-top: 0;
}

.free-text-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-3);
}

.free-text-bar svg {
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  flex-shrink: 0;
}

.free-text-bar input {
  border: none;
  background: none;
  min-height: 40px;
  padding: 0;
  box-shadow: none;
}

.free-text-bar input:focus {
  box-shadow: none;
  outline: none;
}

.step-nav {
  display: flex;
  gap: var(--sp-3);
}

.step-nav .btn {
  flex: 1;
}

/* ===================== Cards ===================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}

.card-elevated {
  box-shadow: var(--shadow-md);
}

/* Value-prop row */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.value-prop {
  text-align: center;
}

.value-prop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint);
  margin-bottom: var(--sp-3);
}

.value-prop-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.value-prop h2,
.value-prop h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-2);
}

.value-prop p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pro card */
.pro-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}

.pro-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  object-fit: contain;
}

.pro-body h2,
.pro-body h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-1);
}

.pro-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--star);
}

.stars svg {
  width: 16px;
  height: 16px;
}

.pro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px var(--sp-2);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.pro-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pro-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: stretch;
  min-width: 140px;
}

/* Listing card */
.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}

.listing-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.listing-card-img {
  width: 100%;
  height: 180px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card-img svg {
  width: 40px;
  height: 40px;
  color: var(--text-faint);
}

.listing-card-body {
  padding: var(--sp-4);
}

.listing-card--text .listing-card-body {
  padding: var(--sp-5);
}

.listing-card-cat,
.listing-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: var(--sp-1);
}

.listing-card-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text);
}

.listing-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================== Content sections ===================== */

.content-section {
  padding: var(--sp-7) 0;
}

.content-section-alt {
  background: var(--surface-alt);
}

/* Shared editorial structure used by core, blog, and location modules. */
.breadcrumb {
  margin-bottom: var(--sp-5);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-faint);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-muted);
}

.hero .breadcrumb {
  max-width: var(--container-prose);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.article-body > h1 {
  margin-bottom: var(--sp-4);
}

.article-body > section,
.article-body > .faq-section,
.article-body > .related-guides {
  margin-top: var(--sp-7);
}

.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-head {
  margin-bottom: var(--sp-6);
}

.section-head h1,
.section-head h2 {
  font-size: 1.75rem;
  margin-bottom: var(--sp-2);
}

.section-head p {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  padding: var(--sp-8) 0 var(--sp-7);
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: var(--sp-4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  line-height: 1.6;
}

.hero-capture {
  max-width: 480px;
  margin: 0 auto;
}

/* Inline ZIP row */
.zip-row {
  display: flex;
  gap: var(--sp-3);
  align-items: stretch;
}

.zip-row .zip-field {
  flex: 1;
}

/* City link grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-2);
}

.city-grid a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.city-grid a:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--text);
}

.city-grid a svg {
  width: 16px;
  height: 16px;
  color: var(--text-faint);
  flex-shrink: 0;
}

/* Costs table */
.costs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.costs-table th {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 2px solid var(--border-strong);
  font-weight: 600;
  color: var(--text);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.costs-table td {
  padding: var(--sp-4);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.costs-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.costs-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

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

.faq-q {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  min-height: 0;
  padding: 18px var(--sp-5);
  background: var(--surface);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.faq-q:hover {
  background: var(--surface-alt);
}

.faq-q:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.faq-q-text {
  min-width: 0;
}

.faq-q-chevron {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--accent-tint);
  transition: transform var(--t-med);
  color: var(--accent);
}

.faq-q-chevron svg {
  display: block;
  width: 18px;
  height: 18px;
}

.faq-item[data-open="true"] .faq-q-chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height var(--t-med), visibility var(--t-med);
}

.faq-item[data-open="true"] .faq-a {
  max-height: 800px;
  visibility: visible;
}

.faq-a-inner {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
  margin: var(--sp-7) 0;
}

.cta-band h2 {
  color: var(--accent-contrast);
  font-size: 1.75rem;
  margin-bottom: var(--sp-3);
}

.cta-band p {
  color: var(--accent-contrast);
  opacity: 0.9;
  margin-bottom: var(--sp-5);
  font-size: 1.0625rem;
}

.cta-band .btn-primary {
  background: var(--accent-contrast);
  color: var(--accent);
  border-color: var(--accent-contrast);
}

.cta-band .btn-primary:hover {
  background: var(--surface);
  border-color: var(--surface);
}

/* Project summary */
.summary-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .label {
  color: var(--text-muted);
}

.summary-row .value {
  color: var(--text);
  font-weight: 500;
}

/* Placeholder marker */
.placeholder-marker {
  display: inline-block;
  background: var(--placeholder-bg);
  color: var(--placeholder-text);
  padding: 2px var(--sp-2);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border: 1px dashed var(--placeholder-border);
}

/* Message page */
.message-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.message-box {
  text-align: center;
  max-width: 420px;
}

.message-box h1 {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
}

.message-box p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

/* Article */
.location-hero-image,
.content-hero-image {
  margin: var(--sp-5) 0 var(--sp-6);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.location-hero-image img,
.content-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.content-hero-image figcaption {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--surface);
}

.article-body h2 {
  font-size: 1.5rem;
  margin: var(--sp-6) 0 var(--sp-3);
}

.article-body h3 {
  font-size: 1.25rem;
  margin: var(--sp-5) 0 var(--sp-2);
}

.article-body p {
  margin-bottom: var(--sp-4);
  line-height: 1.7;
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--sp-4) var(--sp-5);
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: var(--sp-3) var(--sp-5);
  margin: var(--sp-5) 0;
  background: var(--surface-alt);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body .btn,
.article-body .city-grid a {
  text-decoration: none;
}

.takeaways,
.related-guides,
.service-contact {
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-alt);
}

.takeaways h2,
.related-guides h2 {
  margin-top: 0;
}

.takeaways ul,
.related-guides ul {
  margin-bottom: 0;
}

.proof-section .value-props {
  margin-top: var(--sp-5);
}

.proof-section .value-prop {
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
}

.service-contact {
  margin: var(--sp-4) 0 var(--sp-5);
  font-style: normal;
}

.content-map {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface-alt);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.article-meta .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--text-muted);
  background: var(--surface);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

/* Listing grid */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* Gallery (preview scaffolding) */
.gallery-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-4);
}

.gallery-page h1 {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
}

.gallery-page > p {
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.gallery-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  text-decoration: none;
  transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gallery-card h2,
.gallery-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-1);
  color: var(--text);
}

.gallery-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.gallery-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px var(--sp-2);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}

.gallery-card .tag-funnel {
  background: var(--accent-tint);
  color: var(--accent);
}

.gallery-card .tag-content {
  background: var(--surface-alt);
  color: var(--text-muted);
}

/* Two-column grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

/* Pro results list */
.results-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 760px;
  margin: 0 auto;
}

/* Form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.contact-form,
.contact-fields,
.consent-panel {
  display: grid;
  gap: var(--sp-5);
}

.contact-form {
  padding-bottom: var(--sp-6);
}

.consent-panel {
  gap: var(--sp-4);
  margin: 0;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}

.consent-panel-title {
  margin: 0;
  padding: 0 0 var(--sp-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.legal-fine {
  max-width: 62ch;
  margin: calc(-1 * var(--sp-2)) auto 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

/* Guard: .stack margins misalign grid children (they apply inside the
   cell, not between rows). Grid containers use gap instead. */
.form-grid-2.stack > * + *,
.listing-grid.stack > * + *,
.gallery-grid.stack > * + * {
  margin-top: 0;
}


/* ===================== Confirmation (results-confirm) ===================== */

.confirm-section {
  padding: var(--sp-8) var(--sp-4) var(--sp-9);
}

.confirm-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.confirm-mark svg {
  width: 28px;
  height: 28px;
}

.confirm-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
  color: var(--text);
}

.confirm-lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 var(--sp-6);
  max-width: 54ch;
}

.confirm-summary {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-7);
}

.confirm-next-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  color: var(--text);
}

.confirm-steps {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
}

.confirm-steps li {
  display: flex;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  position: relative;
}

.confirm-steps li:last-child {
  padding-bottom: 0;
}

/* connector line between step numbers */
.confirm-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
}

.confirm-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.confirm-steps strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  padding-top: 5px;
}

.confirm-steps p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.confirm-aside {
  background: var(--surface-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
}

.confirm-aside p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.confirm-aside a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.confirm-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .confirm-title { font-size: 1.625rem; }
  .confirm-section { padding-top: var(--sp-6); }
}

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

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  .hero h1 { font-size: 1.875rem; }
  .hero p { font-size: 1rem; }

  .value-props {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .header-nav { display: none; }
  .nav-toggle { display: flex; }

  .public-header .header-inner {
    min-height: 64px;
    justify-content: center;
  }

  .home-hero,
  .home-hero-inner {
    min-height: 0;
  }

  .home-hero-inner {
    max-width: var(--container);
    justify-content: center;
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }

  .home-hero-panel {
    padding: var(--sp-5);
    backdrop-filter: none;
  }

  .home-hero-panel h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .home-search {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: var(--r-md);
  }

  .home-search-segment {
    min-height: 62px;
  }

  .home-service-segment {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .home-search-button {
    min-height: 54px;
    margin: 4px;
    border-radius: var(--r-sm);
  }

  .home-assurance-grid {
    grid-template-columns: 1fr;
  }

  .home-assurance-grid > div {
    padding: var(--sp-4);
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .home-assurance-grid > div:last-child {
    border-bottom: 0;
  }

  .pro-card {
    grid-template-columns: 1fr;
  }

  .pro-logo {
    width: 56px;
    height: 56px;
  }

  .pro-actions {
    flex-direction: row;
    min-width: 0;
  }

  .pro-actions .btn {
    flex: 1;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .funnel-headline { font-size: 1.5rem; }

  .funnel-card-entry .funnel-headline { font-size: 1.75rem; }

  .step-question { font-size: 1.25rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: 1fr 1fr;
  }

  .zip-row {
    flex-direction: column;
  }

  .geo-btn {
    width: 100%;
    height: 48px;
  }

  .step-nav {
    flex-direction: column-reverse;
  }

  .step-nav .btn {
    width: 100%;
  }

  .cta-band {
    padding: var(--sp-5) var(--sp-4);
  }

  .cta-band h2 { font-size: 1.5rem; }
}

/* ===================== Reduced motion ===================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .progress-fill { transition: none; }
  .faq-a { transition: none; }
  .step-bar { transition: none; }
  .zip-check { transition: none; }
}
