/* Guided estimator. Uses the tokens in styles.css only. ONE SCREEN. ONE PRIORITY. ONE TAP. */
.est-main { background: var(--cream); min-height: calc(100vh - 68px); }
.est-wrap { max-width: 640px; padding: var(--s4) 0 var(--s7); }
body:has(.est-main) .action-bar { display: none; }
body:has(.est-main) { padding-bottom: 0; }
body:has(.est-main) .footer { display: none; }
.estimator { outline: none; }
.estimator > * { animation: est-in 180ms ease both; }
@keyframes est-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.est-top { display: flex; justify-content: space-between; align-items: center; min-height: var(--tap); }
.est-back { background: none; border: 0; padding: 10px 0; font: 600 var(--fs-sm) var(--font); color: var(--forest); cursor: pointer; text-decoration: none; }
.est-count { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.est-bar { height: 6px; background: var(--sage-2); border-radius: var(--r-pill); margin: var(--s1) 0 var(--s5); overflow: hidden; }
.est-bar span { display: block; height: 100%; background: var(--leaf); border-radius: var(--r-pill); transition: width 240ms ease; }
.est-q { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.375rem); line-height: 1.12; margin: 0 0 var(--s3); outline: none; }
.est-help { color: var(--muted); margin: 0 0 var(--s5); font-size: var(--fs-md); }

/* Answer cards: large, one tap, instant feedback */
.est-options { display: grid; gap: var(--s3); margin: 0 0 var(--s5); }
.est-card { position: relative; display: flex; align-items: center; gap: var(--s4); width: 100%; min-height: 64px; padding: 16px 52px 16px 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); font: 600 var(--fs-md)/1.35 var(--font); color: var(--ink); text-align: left; cursor: pointer; transition: border-color var(--ease), background var(--ease), box-shadow var(--ease), transform var(--ease); }
.est-card:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.est-card:active { transform: scale(.99); }
.est-card[role="radio"]::after { content: ''; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); transition: inherit; }
.est-card.on { border-color: var(--forest); background: var(--sage); box-shadow: inset 0 0 0 1px var(--forest); }
.est-card.on[role="radio"]::after { border-color: var(--forest); background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.est-ico { font-size: 22px; width: 28px; text-align: center; }
.est-tick { width: 24px; height: 24px; border: 2px solid var(--line-strong); border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--surface); transition: inherit; }
.est-card.on .est-tick { background: var(--forest); border-color: var(--forest); }
.est-card.on .est-tick::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) translate(-1px, -1px); }
.est-add { padding-right: 20px; font-size: var(--fs-sm); }
.est-add-label { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.est-add-price { flex: 0 1 auto; max-width: 42%; font-size: var(--fs-xs); font-weight: 700; color: var(--leaf-strong); text-align: right; }

.est-next, .est-cta { width: 100%; min-height: 58px; font-size: var(--fs-lg); }
.est-package + .est-cta { margin: var(--s2) 0 0; }
.est-restart { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); margin: var(--s1) auto var(--s5); padding: 0 var(--s3); background: none; border: 0; font: 600 var(--fs-sm) var(--font); color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color var(--ease), text-decoration-color var(--ease); }
.est-restart:hover, .est-restart:focus-visible { color: var(--forest); text-decoration-color: currentColor; }
.est-restart svg { width: 16px; height: 16px; flex: none; }
.est-small { font-size: var(--fs-xs); color: var(--muted); margin: var(--s3) 0 0; text-align: center; }

/* Estimate screen */
.est-draft { background: #FFF6DE; border: 1px dashed var(--gold); color: #6B4E00; border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 700; padding: 8px 12px; margin: 0 0 var(--s4); }
.est-summary { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); }
.est-summary span { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 6px 6px 14px; font-size: var(--fs-xs); display: inline-flex; gap: var(--s2); align-items: center; color: var(--ink); }
.est-edit { background: var(--sage); border: 0; border-radius: var(--r-pill); padding: 6px 12px; min-height: 32px; font: 700 var(--fs-xs) var(--font); color: var(--forest); cursor: pointer; }
.est-edit:hover { background: var(--sage-2); }
.est-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--s5); margin: 0 0 var(--s4); }
.est-block h2 { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3); font-weight: 700; }
.est-block h2 .opt { text-transform: none; letter-spacing: 0; }
.est-package { box-shadow: var(--shadow); }
.est-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.est-price { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem); font-weight: 800; letter-spacing: var(--track-tight); color: var(--ink); line-height: 1.1; margin: 0 0 var(--s3); }
.est-price small { font-size: var(--fs-sm); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.est-monthly { border-top: 1px solid var(--line); padding-top: var(--s3); margin: var(--s2) 0 var(--s4); }
.est-mline { display: flex; justify-content: space-between; gap: var(--s3); margin: 4px 0; font-size: var(--fs-sm); }
.est-mline b { font-weight: 600; color: var(--leaf-strong); white-space: nowrap; }
.est-pending { background: var(--sage); border-radius: var(--r); padding: var(--s4); margin: 0 0 var(--s4); font-size: var(--fs-sm); line-height: 1.6; color: var(--text); }
.est-pending b { color: var(--ink); }
.est-review { background: #FFF6DE; border-radius: var(--r-sm); padding: 10px 12px; font-size: var(--fs-xs); margin: 0 0 var(--s4); }
.est-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.est-incl li { position: relative; padding-left: 30px; font-size: var(--fs-sm); line-height: 1.5; color: var(--text); }
.est-incl li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 2.8 6-6.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.est-note { font-size: var(--fs-xs); color: var(--muted); margin: var(--s3) 0 0; }
.est-more { margin: var(--s4) 0 0; font-size: var(--fs-sm); border-top: 1px solid var(--line); padding-top: var(--s2); }
.est-more summary { cursor: pointer; font-weight: 700; color: var(--forest); min-height: var(--tap); display: flex; align-items: center; }
.est-more h3 { font-size: var(--fs-sm); margin: var(--s4) 0 var(--s1); }
.est-plain { margin: 0 0 var(--s2); padding-left: 1.2em; color: var(--text); line-height: 1.55; }
.est-plain li { margin-bottom: 4px; }
.est-sub { font-size: var(--fs-sm); margin: var(--s3) 0 var(--s1); }
.est-recap { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) var(--s4); margin: 0 0 var(--s4); font-size: var(--fs-sm); color: var(--muted); }
.est-recap b { color: var(--ink); font-size: var(--fs-md); white-space: nowrap; }
.est-answers li { align-items: center; }
.est-options + .est-next { margin-top: var(--s1); }
body:has(.est-main) .nav-actions .btn-cta { display: none; }   /* the estimator has its own single primary action */
.est-lines { list-style: none; margin: 0; padding: 0; }
.est-lines li { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px 0; border-top: 1px solid var(--line); }
.est-lines li:first-child { border-top: 0; }
.est-lines li div { display: grid; gap: 2px; }
.est-lines li span { font-size: var(--fs-xs); color: var(--muted); }
.est-h2 { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3); font-weight: 700; }
.est-seg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.est-seg button { min-height: 56px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); font: 600 var(--fs-sm) var(--font); color: var(--ink); cursor: pointer; display: grid; gap: 2px; place-content: center; padding: 8px; transition: border-color var(--ease), background var(--ease); }
.est-seg button:hover { border-color: var(--leaf); }
.est-seg button small { font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.est-seg button.on { border-color: var(--forest); background: var(--sage); box-shadow: inset 0 0 0 1px var(--forest); }
.est-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: var(--s3); align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgba(11, 42, 24, .25); }
.est-sticky div { display: grid; line-height: 1.2; min-width: 0; }
.est-sticky b { font-size: var(--fs-md); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.est-sticky small { font-size: 11px; color: var(--muted); }
.est-sticky .button { min-height: 48px; padding: 10px 16px; white-space: nowrap; flex: none; font-size: var(--fs-sm); }
body.est-has-sticky .est-wrap { padding-bottom: 120px; }

/* Details form */
.est-form { display: grid; gap: var(--s4); }
.est-form label { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.est-form input, .est-form textarea, .est-form select { width: 100%; min-height: 52px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); padding: 12px 14px; font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color var(--ease), box-shadow var(--ease); }
.est-form input:focus, .est-form textarea:focus, .est-form select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(90, 154, 31, .18); }
.est-form input[type=file] { min-height: auto; padding: 10px; font-size: var(--fs-sm); }
.est-optional summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 700; color: var(--forest); min-height: var(--tap); display: flex; align-items: center; }
.est-optional[open] { display: grid; gap: var(--s4); }
.est-photos { display: flex; flex-wrap: wrap; gap: var(--s2); }
.est-photos:empty { display: none; }
.est-photos figure { position: relative; margin: 0; width: 76px; height: 76px; }
.est-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.est-photos button { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface); background: var(--ink); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.est-error { color: var(--danger); font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.est-error:empty { display: none; }

/* Done */
.est-done { text-align: center; padding: var(--s5) 0; }
.est-check { width: 72px; height: 72px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 0 auto var(--s5); }
.est-next-steps { text-align: left; margin: var(--s5) auto; padding: var(--s5) var(--s5) var(--s5) 44px; line-height: 1.7; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); max-width: 520px; }
.est-next-steps li { margin-bottom: var(--s2); }

@media (min-width: 760px) {
  .est-wrap { padding: var(--s7) 0 var(--s8); }
  .est-sticky { display: none; }
  body.est-has-sticky .est-wrap { padding-bottom: var(--s8); }
  .est-seg { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .estimator > * { animation: none; } .est-bar span { transition: none; } }

/* Anchor landing. In-page links put the section heading just below the sticky header, with 20px of
   breathing room. Header: 68px nav + 1px border, 76px + 1px from 1080px. CSS only, no scroll scripts. */
:root { --header-h: 69px; --anchor-gap: 20px; }
@media (min-width: 1080px) { :root { --header-h: 77px; } }
html { scroll-padding-top: calc(var(--header-h) + var(--anchor-gap)); }
/* Below 960px the quick-action bar is fixed to the bottom; keep focused and scrolled-to content clear of it. */
@media (max-width: 959.98px) { html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }
/* Bands open with top padding. Skip it, so the heading lands under the header, not the band's edge.
   The legacy .anchor markers sit just before a band; their old fixed -84px offset is replaced by the same rule. */
.anchor { top: 0; }
.section[id], .faq[id], .closing[id], .anchor { scroll-margin-top: calc(-1 * var(--s8)); }
@media (min-width: 960px) {
  .section[id], .faq[id], .anchor:has(+ .section, + .faq, + .anchor + .section) { scroll-margin-top: calc(-1 * var(--s9)); }
}
.steps[id], .anchor:has(+ .steps) { scroll-margin-top: calc(-1 * var(--s5)); }
/* "Back to top" goes all the way to the top. */
#top { scroll-margin-top: var(--header-h); }
@media (min-width: 1080px) { .steps[id], .anchor:has(+ .steps) { scroll-margin-top: calc(-1 * var(--s6)); } }

/* How Handled Works: four connected steps. Mobile: vertical timeline. Desktop: four columns on one line. */
.how { background: var(--surface); border-block: 1px solid var(--line); padding: var(--s5) 0 var(--s7); }
.how-head { max-width: 40rem; margin-bottom: var(--s6); }
.how-head h2 { margin: 0 0 var(--s2); }
.how-lead { margin: 0; font-size: var(--fs-lg); color: var(--muted); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); counter-reset: how; }
.how-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: var(--s4); align-items: start; }
.how-step:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 60px; bottom: calc(-1 * var(--s5) + 8px); width: 2px; border-radius: 2px; background: linear-gradient(var(--sage), var(--line)); }
.how-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--surface); }
.how-ico svg { width: 26px; height: 26px; }
.how-num { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2px 0 var(--s1); }
.how-body h3 { font-size: var(--fs-h3); margin: 0 0 var(--s2); }
.how-body p { margin: 0; color: var(--text); max-width: 34rem; }
.how-cta { margin-top: var(--s4); }
.how-note { margin-top: var(--s2) !important; font-size: var(--fs-sm); color: var(--muted) !important; }
.how-final .how-ico { background: var(--forest); color: #fff; }
.how-final .how-num { color: var(--forest); }
.how-final .how-body { background: var(--sage); border-radius: var(--r-lg); padding: var(--s3) var(--s4) var(--s4); margin: calc(-1 * var(--s3)) 0 0 calc(-1 * var(--s2)); }
.how-final .how-body h3 { color: var(--forest); }
.js-how .how-step { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.js-how .how-step.is-in { opacity: 1; transform: none; }
@media (min-width: 1080px) {
  .how { padding: var(--s6) 0 var(--s8); }
  .how-steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .how-step { grid-template-columns: 1fr; gap: var(--s4); align-content: start; }
  .how-step:not(:last-child)::after { left: 68px; right: calc(-1 * var(--s5) + 8px); top: 27px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--sage), var(--line)); }
  .how-ico { width: 56px; height: 56px; }
  .how-final .how-body { margin: calc(-1 * var(--s4)) 0 0 calc(-1 * var(--s4)); padding: var(--s4); }
}
@media (prefers-reduced-motion: reduce) { .js-how .how-step { opacity: 1; transform: none; transition: none; } }

/* Estimate: what Handled takes off your hands, then (separately) what this estimate includes. */
.est-value { padding: var(--s6) var(--s5); }
.est-block .est-value-title { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); line-height: 1.2; letter-spacing: var(--track-tight); color: var(--ink); margin: 0 0 var(--s3); text-transform: none; font-weight: 800; }
.est-value-title span { display: block; color: var(--leaf-strong); }
.est-value-lead { color: var(--text); font-size: var(--fs-md); line-height: 1.6; margin: 0 0 var(--s5); }
.est-benefits { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: var(--s4); }
.est-benefits li { display: grid; align-content: start; gap: 2px; padding-left: var(--s4); border-left: 3px solid var(--sage-2); }
.est-benefits b { font-size: var(--fs-md); color: var(--ink); }
.est-benefits span { font-size: var(--fs-sm); line-height: 1.5; color: var(--text); }
.est-covers { border-top: 1px solid var(--line); padding-top: var(--s4); }
.est-covers .est-sub { margin-top: 0; margin-bottom: var(--s3); }
@media (min-width: 760px) { .est-benefits { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s5); } .est-benefits li:last-child { grid-column: 1 / -1; } }

/* The hero photo moves here on phones: under step 4, "It's Handled." Hidden where the hero shows it. */
.how-photo { display: none; }
@media (max-width: 719px) {
  .how-photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); margin: var(--s5) 0 0; }
  .about-grid > img { display: none; }   /* same photo as above: avoid showing it twice on a phone */
}

/* Estimate: optional services to discuss at the visit (no prices, estimate unchanged) */
.est-discuss { margin: var(--s5) 0 var(--s4); }
.est-discuss h2 { font-size: var(--fs-lg); margin: 0 0 var(--s2); }
.est-discuss-lead { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s3); }
.est-discuss-opts { display: grid; gap: var(--s2); }
.est-chip { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 48px; padding: 10px var(--s4); text-align: left; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background-color .15s; }
.est-chip:hover { border-color: var(--line-strong); }
.est-chip:focus-visible { outline: 3px solid var(--focus, var(--forest)); outline-offset: 2px; }
.est-chip.on { border-color: var(--forest); background: var(--sage); }
.est-chip .est-tick { width: 20px; height: 20px; border-radius: 6px; }
.est-chip.on .est-tick { background: var(--forest); border-color: var(--forest); }
.est-chip.on .est-tick::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.est-discuss .est-note { margin: var(--s3) 0 0; }
.est-also { margin: calc(-1 * var(--s2)) 0 var(--s4); }
@media (min-width: 720px) { .est-discuss-opts { grid-template-columns: 1fr 1fr; } }

/* Quick price: bedrooms slider for a typical home, then drill into the exact estimate or skip to a message. */
.est-quick { text-align: center; padding: var(--s5) var(--s5) var(--s4); }
.est-quick .est-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 6px; margin-bottom: var(--s4); }
@media (max-width: 519.98px) { .est-quick .est-price { min-height: 2.4em; } }   /* the range can wrap on phones: no jump while sliding */
.est-quick-tbc { font-size: var(--fs-lg); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.est-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.est-slider::-webkit-slider-runnable-track { height: 8px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--leaf) var(--pct, 0%), var(--sage-2) var(--pct, 0%)); }
.est-slider::-moz-range-track { height: 8px; border-radius: var(--r-pill); background: var(--sage-2); }
.est-slider::-moz-range-progress { height: 8px; border-radius: var(--r-pill); background: var(--leaf); }
.est-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border-radius: 50%; background: var(--forest); border: 4px solid var(--surface); box-shadow: 0 1px 4px rgba(11, 42, 24, .35); }
.est-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--forest); border: 4px solid var(--surface); box-shadow: 0 1px 4px rgba(11, 42, 24, .35); }
.est-slider:focus-visible { outline: 3px solid rgba(90, 154, 31, .35); outline-offset: 4px; border-radius: var(--r-sm); }
.est-ticks { display: flex; justify-content: space-between; margin: 0 2px; }
.est-ticks button { background: none; border: 0; min-width: 32px; min-height: 32px; font: 600 var(--fs-md) var(--font); color: var(--muted); cursor: pointer; padding: 0; }
.est-ticks button.on { color: var(--forest); font-weight: 800; }
.est-ticks-cap { margin: 0 0 var(--s4); }
.est-quick .est-note { margin-top: 0; }
.est-quick + .est-cta { margin: var(--s2) 0 0; }
.est-quick + .est-cta + .est-small { margin-top: var(--s2); }
.est-skip { text-align: center; margin: var(--s5) 0 0; font-size: var(--fs-sm); color: var(--muted); }
.est-skip a { color: var(--forest); font-weight: 600; }


/* Contact page: the form is the one priority. Form first on phones; no competing sticky estimate bar. */
.contact-page { padding-top: var(--s7); }
.contact-page .closing-intro h1 { margin: 0 0 var(--s3); }
@media (max-width: 959.98px) { .contact-page .contact-form { order: -1; } }
body:has(.contact-page) .action-bar { display: none; }
body:has(.contact-page) { padding-bottom: 0; }

.est-contact-link { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); margin: var(--s4) 0 0; padding: 12px var(--s4); border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font: 600 var(--fs-md) var(--font); color: var(--forest); text-decoration: none; transition: border-color var(--ease), background var(--ease); }
.est-contact-link:hover, .est-contact-link:focus-visible { border-color: var(--forest); background: var(--sage); }
.est-contact-link + .est-skip { margin-top: var(--s2); }
/* Contact page: the typical price the customer came from, sent with the message. */
.contact-recap { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; background: var(--sage); border-radius: var(--r); padding: var(--s3) var(--s4); font-size: var(--fs-sm); color: var(--text); }
.contact-recap b { color: var(--ink); font-size: var(--fs-md); white-space: nowrap; }
.contact-recap small { flex-basis: 100%; color: var(--muted); }
