/* Home Valuation page (/home-valuation.html) — one job: a home value request.
   Loads buyers.css for the shared landing components (sections, headings,
   three columns, chips, errors, final call to action) and adds the hero and
   the two-step request form here. Scoped with the hv- prefix. */

/* ---------- hero ---------- */
.hv-hero { background: var(--ink); color: var(--paper); padding: clamp(2.6rem, 6vw, 5.5rem) var(--pad) clamp(3rem, 7vw, 6rem); }
.hv-hero-inner { max-width: 860px; margin: 0 auto; }
.hv-hero .eyebrow { color: var(--volt); }
.hv-hero h1 { margin-top: 1.2rem; font-family: var(--sans); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; line-height: .98; font-size: clamp(2rem, 5.2vw, 4rem); text-wrap: balance; }
.hv-hero h1 i { font-style: normal; color: var(--volt); }
.hv-sub { margin-top: 1.4rem; max-width: 56ch; color: var(--muted-light); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.65; }

/* ---------- request form: address bar first, then two steps ---------- */
.hv-form-wrap [hidden] { display: none !important; }
.hv-form-wrap { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); scroll-margin-top: 96px; }
.hv-form fieldset { border: 0; padding: 0; margin: 1.3rem 0 0; min-width: 0; }
.hv-form legend, .hv-label { display: block; padding: 0; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.hv-addr { display: flex; gap: .7rem; align-items: stretch; }
.hv-addr input { flex: 1 1 auto; min-width: 0; min-height: 64px; padding: 0 1.2rem; font-family: var(--sans); font-size: 1.12rem; color: var(--ink); background: var(--paper); border: 2px solid var(--paper); border-radius: 0; }
.hv-addr input::placeholder { color: var(--concrete-3); }
.hv-addr input:focus { outline: 3px solid var(--volt); outline-offset: 2px; }
.hv-addr .btn { flex: 0 0 auto; min-height: 64px; padding-inline: 1.6rem; white-space: nowrap; }
.hv-form.is-start .hv-label-addr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hv-form.is-start .by-err { color: #ff8f8a; }
.hv-form.is-start .hv-addr.has-error input { border-color: #ff8f8a; }
.hv-assure { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.hv-assure b { color: var(--paper); font-weight: 700; }

/* once the address is in, the form becomes a paper panel with the two steps */
.hv-form:not(.is-start) { background: var(--paper); color: var(--ink); padding: clamp(1.4rem, 3vw, 2.4rem); }
.hv-form:not(.is-start) .hv-addr { display: block; }
.hv-form:not(.is-start) .hv-addr input { width: 100%; min-height: 54px; font-size: 1.02rem; border: 1px solid var(--line-strong); }
.hv-form:not(.is-start) .hv-addr input:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; border-color: var(--ink); }
.hv-form:not(.is-start) .hv-addr.has-error input, .hv-form .has-error input { border-color: #b3261e; }
.hv-form:not(.is-start) #hvStart { display: none; }
.hv-progress { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hv-bars { display: flex; gap: 4px; flex: 0 0 96px; }
.hv-bars i { display: block; height: 4px; flex: 1; background: var(--concrete-1); }
.hv-bars i.on { background: var(--volt); }
.hv-step-title { font-family: var(--sans); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 1.1rem; }
.hv-step-title:focus { outline: none; }
.hv-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.hv-chips .by-chip { min-height: 52px; }
.hv-opt { font-weight: 400; letter-spacing: .08em; color: var(--muted); margin-left: .4rem; }
.hv-form .form-grid { gap: .9rem; }
.hv-form .field input { min-height: 52px; font-size: 1rem; }
.hv-note { margin-top: 1.1rem; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.hv-consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .86rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.hv-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--ink); }
.hv-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.hv-actions .btn { min-height: 56px; }
.hv-actions .btn[disabled] { opacity: .65; cursor: progress; }
.hv-back { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding: .4rem 0 2px; min-height: 44px; }
.hv-back:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.hv-form .form-disc { max-width: none; }
.hv-success { background: var(--paper); color: var(--ink); padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.hv-success:focus { outline: none; }
.hv-success .eyebrow { color: var(--volt-deep); }
.hv-success h2 { margin-top: .8rem; font-family: var(--sans); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.hv-success p { margin-top: 1rem; color: var(--muted); line-height: 1.65; max-width: 60ch; }
.hv-success a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- section 3: local credibility ---------- */
.hv-cred { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hv-cred img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.hv-cred figcaption { margin-top: .8rem; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hv-cred .by-stats { margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.hv-cred .by-stat .v { font-size: clamp(1.8rem, 3.6vw, 3rem); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hv-hero { padding-top: 2rem; }
  .hv-addr { flex-direction: column; }
  .hv-addr .btn { width: 100%; justify-content: center; }
  .hv-chips { grid-template-columns: 1fr 1fr; }
  .hv-cred { grid-template-columns: 1fr; }
  .hv-cred figure { max-width: 220px; }
  .hv-actions .btn { width: 100%; justify-content: center; }
  .hv-form .form-grid { grid-template-columns: 1fr; }
}
