/* =========================================================
   HOME VALUATION CALCULATOR — shared stylesheet
   Enqueued for the following templates:
     - templates/what-s-your-home-worth.php       (address entry)
     - templates/what-s-your-home-worth-detail.php (address confirmation)
     - templates/home-sale-calculator.php          (sale calculator)
   ========================================================= */


/* =========================================================
   1. What's your home worth?  (address entry page)
   ========================================================= */

/* ---------------------------------------------------------
   VALUATION HERO — full-bleed brand bg + custom address form
   --------------------------------------------------------- */
.valuation-hero {
  background: var(--brand);
  color: var(--bg);
  padding-top: clamp(60px, 6.5vw, 80px);
  padding-bottom: 0;
  position: relative;
}

.valuation-hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4.5vw, 80px);
  padding-bottom: clamp(40px, 3.5vw, 60px);
}

.valuation-hero-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1100px;
}

.valuation-hero h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.8125rem); /* 77px @ 1748 */
  font-weight: 600;
  line-height: 1.36;
  color: var(--bg);
  margin: 0;
  letter-spacing: -0.005em;
}

.valuation-hero-lede {
  color: var(--bg);
  margin: 0;
  max-width: 995px;
}

/* Form — labelled address field with house-icon prefix, then full-width green submit */
.valuation-form {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.valuation-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.valuation-form__label {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bg);
  letter-spacing: 0.01em;
}

.valuation-form__required {
  font-weight: 400;
  font-style: italic;
  color: var(--accent, #d35a3a);
  margin-left: 4px;
}

.valuation-form__field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 25px 10px;
  border-bottom: 1px solid rgba(var(--bg-rgb), 0.45);
  cursor: text;
}

.valuation-form__icon {
  font-size: 22px;
  color: var(--bg);
  flex-shrink: 0;
}

.valuation-form__field input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--bg);
}

.valuation-form__field input::placeholder {
  color: rgba(var(--bg-rgb), 0.65);
}

.valuation-form__field:focus-within {
  border-bottom-color: var(--bg);
}

.valuation-form__submit {
  width: 100%;
  padding: 30px;
  font-weight: 300;
  letter-spacing: 0.16em;
}

/* Decorative band at the bottom of the hero — big-divider.svg repeated
   horizontally, recolored as a soft cream-tinted overlay on the brand bg. */
.valuation-hero-band {
  display: block;
  width: 100%;
  height: 286px;
  background-color: rgba(var(--bg-rgb), 0.18);
  -webkit-mask: url('../img/big-divider-2.svg') center top / auto 135% repeat-x;
  mask: url('../img/big-divider-2.svg') center top / auto 135% repeat-x;
}

/* Screen-reader helper for the address label */
.valuation-hero .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------
   TESTIMONIALS — light (cream bg + burgundy text)
   --------------------------------------------------------- */
.page-what-s-your-home-worth .testimonials {
  background: var(--bg);
  color: var(--brand);
}

.page-what-s-your-home-worth .testimonials h2,
.page-what-s-your-home-worth .testimonial cite {
  color: var(--brand);
}

.page-what-s-your-home-worth .testimonial p {
  color: rgba(var(--brand-rgb), 1);
}

.page-what-s-your-home-worth .testimonials-ornament {
  background: var(--brand);
  -webkit-mask: url('../img/icons/confidence-icon.svg') center / contain no-repeat;
  mask: url('../img/icons/confidence-icon.svg') center / contain no-repeat;
}

.page-what-s-your-home-worth .testimonials .park27-pattern-band {
  --pattern-color: var(--brand);
}


/* =========================================================
   2. What's your home worth? — Detail  (address confirmation)
   ========================================================= */

/* ---------------------------------------------------------
   HERO — brand-red bg, back link, address (left) + map (right)
   --------------------------------------------------------- */
.confirm-hero {
  background: var(--brand);
  color: var(--bg);
  padding: clamp(60px, 5vw, 90px) 0;
}

.confirm-hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
}

.confirm-hero-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.confirm-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--bg);
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.confirm-hero-back:hover { opacity: 0.75; }

.confirm-hero-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.confirm-hero-title {
  font-family: var(--sans);
  font-size: clamp(48px, 5.2vw, 90px);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.005em;
  color: var(--bg);
  margin: 0;
}

.confirm-hero-map {
  position: relative;
  width: 100%;
  aspect-ratio: 577 / 285;
  /* border-radius: 18px; */
  overflow: hidden;
  background: rgba(var(--bg-rgb), 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.confirm-hero-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------------------------------------------------------
   CONFIRM FORM — reuses .contact-form + .contact-page-header
   from shared.css / interior.css, with page-scoped overrides
   --------------------------------------------------------- */

/* Cream bg, no sticky pinning, normal flow */
.page-what-s-your-home-worth-detail .contact-form {
  background: var(--bg);
  position: static;
}

.page-what-s-your-home-worth-detail .contact-form-inner {
  gap: clamp(60px, 7vw, 80px);
}

/* Heading at the top */
.confirm-form-heading {
  color: var(--brand);
  font-family: var(--sans);
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Plain HTML form (not GF) — line-style inputs on cream, green text */
.confirm-form-form {
  display: flex;
  flex-direction: column;
  gap: clamp(50px, 5.5vw, 93px);
}

.confirm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(40px, 4vw, 80px);
}

.confirm-field {
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--green);
  padding: 6px 0;
  cursor: text;
  transition: border-bottom-width 0.2s;
}

.confirm-field:focus-within {
  border-bottom-width: 2px;
}

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

.confirm-field input,
.confirm-field select {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--green-dark);
  appearance: none;
  -webkit-appearance: none;
}

.confirm-field input::placeholder {
  color: var(--green);
  opacity: 0.6;
}

.confirm-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M0 0 L6 8 L12 0 Z' fill='%23104225'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 8px;
  padding-right: 24px;
  cursor: pointer;
}

.confirm-field select:invalid {
  color: var(--green);
  opacity: 0.6;
}

/* Contact strip — remove icons + center text on this page only */
.page-what-s-your-home-worth-detail .contact-page-address {
  text-align: center;
  justify-self: flex-start;
}

.page-what-s-your-home-worth-detail .contact-page-info {
  align-items: center;
  text-align: center;
  justify-self: flex-end;
}

.page-what-s-your-home-worth-detail .contact-page-info__icon {
  display: none;
}

/* Submit — 20px / 30px padding per Figma bundle, dark-green bg */
.confirm-form-submit {
  width: 100%;
  padding: 20px 30px;
  background: var(--green-dark);
  color: var(--bg);
  border: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.confirm-form-submit:hover {
  background: var(--green);
}

/* ---------------------------------------------------------
   ABOUT + TESTIMONIALS — sticky-stack so testimonials layers
   over the sticky .about without overlapping mid-scroll
   --------------------------------------------------------- */
.page-what-s-your-home-worth-detail .sticky-stack--about {
  position: relative;
}

.page-what-s-your-home-worth-detail .about {
  background: var(--bg-blue);
}

.page-what-s-your-home-worth-detail .about > .park27-pattern-band {
  --pattern-color: var(--green-dark);
}

.page-what-s-your-home-worth-detail .testimonials {
  position: relative;
  z-index: 2;
}


/* =========================================================
   3. Home Sale Calculator
   ========================================================= */

.page-home-sale-calculator { background: var(--bg); }

/* ---------- Intro: text left + photo right (beige) ---------- */
.sale-intro {
  background: var(--bg);
  padding: 90px 0;
}

.sale-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
}

.sale-intro-text {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.sale-intro-text h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 2.8vw, 50px);
  font-weight: 400;
  /* line-height: 1.15; */
  color: var(--green);
  margin: 0;
}

.sale-intro-text p {
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 30px;
  color: var(--ink-soft);
  margin: 0;
  /* max-width: 60ch; */
}

.sale-intro-media {
  margin: 0;
  position: relative;
}

.sale-intro-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 729 / 402;
  object-fit: cover;
}

.sale-intro-media .hero-corner {
  position: absolute;
  width: clamp(80px, 9vw, 150px);
  aspect-ratio: 202 / 179;
  background: url('../img/half-circle.svg') center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
.sale-intro-media .hero-corner.tl { top: 0; left: 0; transform: scaleX(-1); }
.sale-intro-media .hero-corner.tr { top: 0; right: 0; }
.sale-intro-media .hero-corner.bl { bottom: 0; left: 0; transform: rotate(180deg); }
.sale-intro-media .hero-corner.br { bottom: 0; right: 0; transform: scaleY(-1); }

/* ---------- Calculator section: container + cream bg + no sticky ---------- */
.page-home-sale-calculator .contact-form.sale-calc {
  background: var(--bg);
  position: static;
  padding: 0 0 100px;
  top: auto;
}

.page-home-sale-calculator .contact-form.sale-calc .contact-form-inner {
  gap: clamp(40px, 4.5vw, 80px);
}

/* Contact strip — center brand on this template, full-width row */
.page-home-sale-calculator .contact-page-header {
  padding-top: 20px;
}

.page-home-sale-calculator .contact-page-address {
  text-align: center;
  justify-self: flex-start;
}

.page-home-sale-calculator .contact-page-info {
  align-items: flex-end;
  justify-self: flex-end;
  align-items: center;
}

.page-home-sale-calculator .contact-page-info__icon { display: none; }

/* The "Continue Your Process" row sits beneath the calculator body */
.page-home-sale-calculator .p27h-calc {
  padding-top: 0;
}

.page-home-sale-calculator .contact-page-continue {
  /* border-top: 1px solid rgba(var(--green-rgb), 0.18); */
  padding-top: 30px;
  margin: 10px clamp(20px, 4vw, 50px) 0;
}

/* ---------- Body grid: form left + result panel right ---------- */
.sale-calc-body {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: clamp(40px, 4vw, 80px);
  align-items: start;
}

.sale-calc-form { display: block; }

.sale-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px clamp(30px, 3.5vw, 60px);
}

.sale-calc-field--full { grid-column: 1 / -1; }

.sale-calc-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 0;
  padding: 0;
  cursor: text;
}

.sale-calc-field__label {
  font-family: var(--sans);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green);
}

.sale-calc-field > input,
.sale-calc-field__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid var(--green);
  padding-bottom: 10px;
  min-height: 28px;
}

.sale-calc-field > input {
  width: 100%;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  outline: none;
  padding: 0 0 10px;
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-dark);
  appearance: none;
  -webkit-appearance: none;
}

.sale-calc-field__row input {
  flex: 1 1 auto;
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-dark);
  appearance: none;
  -webkit-appearance: none;
}

.sale-calc-field__row input::placeholder {
  color: var(--green);
  opacity: 0.85;
}

.sale-calc-field__prefix {
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  color: var(--green);
  flex: 0 0 auto;
}

.sale-calc-readout {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid var(--green);
  padding-bottom: 10px;
  align-self: end;
  min-height: 28px;
}

.sale-calc-readout__prefix {
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  color: var(--green);
}

.sale-calc-readout__value {
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  color: var(--green-dark);
}

/* ---------- Result panel: periwinkle bg ---------- */
.sale-calc-result {
  background: var(--bg-blue);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}

.sale-calc-result__label {
  font-family: var(--sans);
  font-size: clamp(14px, 1.15vw, 20px);
  font-weight: 300;
  color: var(--green-dark);
  margin: 0;
}

.sale-calc-result__amount {
  font-family: var(--sans);
  font-size: clamp(36px, 4.2vw, 50px);
  font-weight: 500;
  color: var(--green-dark);
  margin: 0;
  /* letter-spacing: -0.01em; */
}

.sale-calc-result__breakdown {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 12px clamp(20px, 2vw, 40px);
  margin: 0;
  padding-bottom: 10px;
  justify-content: space-between;
  padding-top: 10px;
  /* border-top: 1px solid rgba(var(--green-dark-rgb), 0.15); */
}

.sale-calc-result__breakdown > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sale-calc-result__breakdown dt {
  font-family: var(--sans);
  font-size: clamp(13px, 1vw, 20px);
  font-weight: 300;
  color: var(--green);
  /* opacity: 0.75; */
}

.sale-calc-result__breakdown dd {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 500;
  color: var(--green-dark);
  margin: 0;
}

.sale-calc-result__submit {
  margin-top: 6px;
  padding: 20px 24px;
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: 100%;
}

.sale-calc-result__disclaimer {
  font-family: var(--sans);
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

/* ------------------------------------------------------------------ */
/* Home Valuation flow — autocomplete dropdown, status, success card  */
/* ------------------------------------------------------------------ */

/* Google Places Autocomplete dropdown — restyle to match theme. The .pac-*
   classes are rendered by Google's script outside our container, so the
   selectors must live at the root. */
.pac-container {
  border: 1px solid var(--line, #e5e1d8);
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: var(--sans);
  margin-top: 2px;
  padding: 4px 0;
  background: #fff;
  z-index: 10000;
}
.pac-item {
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink, #1a1a1a);
  cursor: pointer;
  border-top: 1px solid var(--line, #f0ede5);
}
.pac-item:first-child { border-top: none; }
.pac-item:hover,
.pac-item-selected {
  background: var(--accent-soft, #f3f6ef);
}
.pac-icon { display: none; }
.pac-item-query {
  font-size: 15px;
  color: var(--ink, #1a1a1a);
  font-weight: 500;
  padding-right: 4px;
}
.pac-matched { font-weight: 700; }
.pac-logo:after { padding: 6px 8px; opacity: 0.6; }

/* Inline status text under the confirm form — used for validation + network
   errors. Hidden by default; JS removes the `hidden` attribute to show. */
.confirm-form-status {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  background: #fdecea;
  color: #8a1f11;
  border: 1px solid #f5c6c0;
}
.confirm-form-status[hidden] { display: none; }
.confirm-form-status:empty { display: none; }

/* Loading state for the submit button while the AJAX request is in flight. */
.confirm-form-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Success card swapped in after a successful submission. The JS replaces the
   <form> element with a <div class="valuation-success">. */
.valuation-success {
  margin: 24px auto 0;
  padding: 40px 32px;
  max-width: 640px;
  text-align: center;
  background: var(--accent-soft, #f3f6ef);
  border: 1px solid var(--line, #e5e1d8);
  border-radius: 8px;
}
.valuation-success h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink, #1a1a1a);
}
.valuation-success p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft, #555);
  margin: 0;
}

/* Responsive overrides for Home Sale Calculator */
@media (max-width: 1399px) {
  .sale-calc-body { gap: 40px; }
  .sale-calc-result { padding: 36px; }
}

@media (max-width: 991px) {
  .sale-intro { padding: 60px 0; }
  .sale-intro-inner { grid-template-columns: 1fr; gap: 32px; }
  .sale-intro-text h2 { max-width: none; }

  .page-home-sale-calculator .contact-form.sale-calc { padding-bottom: 70px; }

  .sale-calc-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sale-calc-result { padding: 32px; }

  /* Contact strip — match worth-detail responsive (brand full-width row) */
  .page-home-sale-calculator .contact-page-header {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .page-home-sale-calculator .contact-page-brand {
    order: 1;
    grid-column: 1 / -1;
  }
  .page-home-sale-calculator .contact-page-address { order: 2; }
  .page-home-sale-calculator .contact-page-info    { order: 3; }
}

@media (max-width: 767px) {
  .sale-calc-grid { grid-template-columns: 1fr; gap: 24px; }
  .sale-calc-result__breakdown { flex-direction: column; gap: 14px; }
  .sale-calc-result__amount { font-size: 36px; }
  .sale-calc-suffix { margin-left: 0; }
}

@media (max-width: 575px) {
  .sale-intro { padding: 48px 0; }
  .page-home-sale-calculator .contact-form.sale-calc { padding-bottom: 56px; }
  .sale-calc-result { padding: 26px 22px; }
  .sale-calc-result__submit { padding: 18px 20px; letter-spacing: 0.12em; }

  /* Contact strip — full single column on phone */
  .page-home-sale-calculator .contact-page-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .page-home-sale-calculator .contact-page-brand { grid-column: auto; }
  .page-home-sale-calculator .contact-page-address,
  .page-home-sale-calculator .contact-page-info {
    justify-self: center;
    align-items: center;
    text-align: center;
  }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
  .valuation-hero-band { height: 220px; }
  .confirm-hero-title { font-size: clamp(44px, 5vw, 76px); }
}

@media (max-width: 991px) {
  /* What's your home worth? */
  .valuation-hero { padding-top: 60px; }
  .valuation-hero-inner { gap: 40px; padding-bottom: 40px; }
  .valuation-hero h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1.1; }
  .valuation-form { gap: 32px; }
  .valuation-form__field { padding: 20px 6px; }
  .valuation-form__submit { padding: 22px; }
  .valuation-hero-band { height: 170px; }

  /* Detail — hero */
  .confirm-hero { padding: 60px 0; }
  .confirm-hero-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .confirm-hero-title { font-size: clamp(36px, 6vw, 56px); }
  .confirm-hero-map { aspect-ratio: 16 / 10; }

  /* Detail — form */
  .page-what-s-your-home-worth-detail .contact-form-inner { gap: 50px; }
  .confirm-form-form { gap: 40px; }

  /* Detail — sticky-stack: reset sticky pinning on tablet+mobile */
  .page-what-s-your-home-worth-detail .about,
  .page-what-s-your-home-worth-detail .testimonials {
    position: relative;
    top: auto;
  }

  /* Detail — contact strip: brand full-width, address + info side-by-side */
  .page-what-s-your-home-worth-detail .contact-page-header {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .page-what-s-your-home-worth-detail .contact-page-brand {
    order: 1;
    grid-column: 1 / -1;
  }
  .page-what-s-your-home-worth-detail .contact-page-address { order: 2; }
  .page-what-s-your-home-worth-detail .contact-page-info    { order: 3; }
}

@media (max-width: 767px) {
  /* What's your home worth? */
  .valuation-hero h1 { font-size: 2rem; }
  .valuation-hero-lede { font-size: 16px; }
  .valuation-form__field input { font-size: 16px; }
  .valuation-hero-band { height: 120px; }

  /* Detail */
  .confirm-hero-back { font-size: 16px; }
  .confirm-hero-title { font-size: 32px; line-height: 1.15; }
  .confirm-form-heading { font-size: 24px; }
  .confirm-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .confirm-field input,
  .confirm-field select { font-size: 16px; }
  .confirm-form-submit { padding: 18px 24px; font-size: 16px; }
}

@media (max-width: 575px) {
  /* What's your home worth? */
  .valuation-hero { padding-top: 48px; }
  .valuation-form__submit { padding: 18px; letter-spacing: 0.12em; }

  /* Detail — contact strip stacks single column, all centered */
  .page-what-s-your-home-worth-detail .contact-page-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .page-what-s-your-home-worth-detail .contact-page-brand {
    grid-column: auto;
  }
  .page-what-s-your-home-worth-detail .contact-page-address,
  .page-what-s-your-home-worth-detail .contact-page-info {
    justify-self: center;
    align-items: center;
  }

  .confirm-form-submit { padding: 16px 20px; letter-spacing: 0.12em; }
}
