/* ============================================================
   GPG HOME VALUATION QUIZ
   - .val-*       = landing page sections (editorial, full-bleed)
   - .gpg-val-co-* = step pages (mirror cash-offer pattern — sans-only,
                     navy pills, centered 520px column). Rendered INSIDE
                     the normal WP theme chrome (header/footer/breadcrumbs
                     intact) — so NO body-scope overrides, NO viewport
                     breakout.
   Brand: navy #0A1F3C · steel #2E6DA4 · tint #F4F7FB · line #DCE7F2
============================================================ */

/* ---------- Shared tokens (legacy editorial selectors retained for
              landing page; step selectors use the new co-* tokens) ---------- */
.val-hero,
.val-promise,
.val-realtor,
.val-faq-section,
.val-close {
  --val-navy: #0A1F3C;
  --val-navy-deep: #061429;
  --val-steel: #2E6DA4;
  --val-steel-soft: #6993BB;
  --val-cream: #F5F2EC;
  --val-ink: #2C3E50;
  --val-muted: #6B7785;
  --val-hairline: #DCE7F2;
  --val-font-serif: 'Playfair Display', Georgia, serif;
  --val-font-sans: 'Onest', system-ui, -apple-system, sans-serif;
}

.gpg-val-co-step {
  --vco-navy: #0A1F3C;
  --vco-navy-soft: #142B4D;
  --vco-steel: #2E6DA4;
  --vco-steel-soft: #6993BB;
  --vco-white: #FFFFFF;
  --vco-tint: #F4F7FB;
  --vco-line: #DCE7F2;
  --vco-line-soft: #E8EEF5;
  --vco-charcoal: #2C3E50;
  --vco-muted: #6B7785;
  --vco-disabled: #C7CFD8;
  --vco-sans: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --vco-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   STEP SECTION (steps 1–6) — mirrors .co-step from cash-offer.
   IMPORTANT: lives inside theme content column. No body-scope, no
   100vw breakout. Just sits in normal page flow with a max-width
   centered inner column.
============================================================ */
.gpg-val-co-step {
  display: block;
  background: var(--vco-white);
  padding: 32px 24px 16px;
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--vco-sans);
  color: var(--vco-charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.gpg-val-co-step,
.gpg-val-co-step *,
.gpg-val-co-foot,
.gpg-val-co-foot * { box-sizing: border-box; }

.gpg-val-co-step__inner {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* ---------- Progress bar (top of inner) ---------- */
.gpg-val-co-progress {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 22px;
}
.gpg-val-co-progress__label {
  font-family: var(--vco-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vco-muted);
  text-align: center;
}
.gpg-val-co-progress__bar {
  height: 4px;
  background: var(--vco-line);
  border-radius: 999px;
  overflow: hidden;
}
.gpg-val-co-progress__fill {
  height: 100%;
  background: var(--vco-navy);
  border-radius: 999px;
  transition: width .35s var(--vco-ease);
}

/* ---------- Kicker / heading / sub ---------- */
.gpg-val-co-step__kicker {
  font-family: var(--vco-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vco-muted);
  margin: 0 0 8px;
}
.gpg-val-co-step__heading {
  font-family: var(--vco-sans);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.25rem, 3.2vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--vco-navy);
  margin: 0 0 14px;
  text-wrap: balance;
  text-transform: none;
  text-shadow: none;
}
.gpg-val-co-step__sub {
  font-family: var(--vco-sans);
  font-weight: 600;
  font-size: clamp(.95rem, 1.5vw, 1.0625rem);
  color: var(--vco-navy);
  margin: 0 0 16px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.gpg-val-co-step__sub:empty { display: none; }

/* ---------- Illustration ---------- */
.gpg-val-co-step__illustration {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 18px;
  color: var(--vco-navy);
}
.gpg-val-co-step__illustration svg { width: 100%; height: auto; display: block; }

/* ---------- Form wrapper ---------- */
.gpg-val-co-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  text-align: left;
}

/* ---------- Options list (pills) ---------- */
.gpg-val-co-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: left;
}
.gpg-val-co-options li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- Pill option button (defensive against theme link/button rules) ---------- */
.gpg-val-co-option,
button.gpg-val-co-option {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  background: var(--vco-white);
  background-image: none;
  border: 1.5px solid var(--vco-line);
  border-radius: 999px;
  padding: 13px 22px 13px 70px;
  margin: 0;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  letter-spacing: 0;
  font-family: var(--vco-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--vco-navy);
  line-height: 1.3;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  min-height: 0;
  height: auto;
  transition: border-color .18s var(--vco-ease),
              background .18s var(--vco-ease),
              color .18s var(--vco-ease);
}
.gpg-val-co-option:hover,
.gpg-val-co-option:focus,
.gpg-val-co-option:active {
  background: var(--vco-white);
  color: var(--vco-navy);
  text-decoration: none;
}
@media (hover: hover) {
  .gpg-val-co-option:hover {
    border-color: var(--vco-steel);
    background: rgba(46, 109, 164, .06);
  }
}
.gpg-val-co-option.is-selected {
  border-color: var(--vco-navy);
  background: rgba(46, 109, 164, .10);
  color: var(--vco-navy);
}
@media (hover: hover) {
  .gpg-val-co-option.is-selected:hover {
    background: rgba(46, 109, 164, .14);
  }
}
.gpg-val-co-option__radio {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--vco-line);
  background: var(--vco-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-shadow: none;
  transition: border-color .18s var(--vco-ease),
              background .18s var(--vco-ease);
}
.gpg-val-co-option__radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vco-white);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .18s var(--vco-ease),
              transform .2s var(--vco-ease);
}
.gpg-val-co-option.is-selected .gpg-val-co-option__radio {
  border-color: var(--vco-navy);
  background: var(--vco-navy);
}
.gpg-val-co-option.is-selected .gpg-val-co-option__radio::after {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Specs grid (step 2: beds / baths / sqft) ---------- */
.gpg-val-co-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 14px;
  text-align: left;
}
@media (max-width: 480px) {
  .gpg-val-co-specs { grid-template-columns: 1fr; }
}
.gpg-val-co-specs__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gpg-val-co-specs__field > span {
  font-family: var(--vco-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vco-muted);
  padding-left: 4px;
}
.gpg-val-co-specs__field > input,
.gpg-val-co-specs__field input[type="number"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: var(--vco-white);
  background-image: none;
  border: 1.5px solid var(--vco-line);
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--vco-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--vco-navy);
  line-height: 1.3;
  outline: none;
  box-shadow: none;
  text-align: center;
  transition: border-color .18s var(--vco-ease);
}
.gpg-val-co-specs__field > input:focus { border-color: var(--vco-navy); }
.gpg-val-co-specs__field input[type="number"]::-webkit-outer-spin-button,
.gpg-val-co-specs__field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.gpg-val-co-specs__field input[type="number"] { -moz-appearance: textfield; }

/* ---------- Optional notes textarea (step 3) ---------- */
.gpg-val-co-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 14px;
  text-align: left;
}
.gpg-val-co-notes > span {
  font-family: var(--vco-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vco-muted);
  padding-left: 4px;
}
.gpg-val-co-notes textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 70px;
  resize: vertical;
  background: var(--vco-white);
  background-image: none;
  border: 1.5px solid var(--vco-line);
  border-radius: 18px;
  padding: 12px 18px;
  font-family: var(--vco-sans);
  font-size: .95rem;
  color: var(--vco-navy);
  line-height: 1.5;
  outline: none;
  box-shadow: none;
  transition: border-color .18s var(--vco-ease);
}
.gpg-val-co-notes textarea:focus { border-color: var(--vco-navy); }

/* ---------- Contact form pills (step 6) ---------- */
.gpg-val-co-form__field {
  position: relative;
  background: var(--vco-white);
  border: 1.5px solid var(--vco-line);
  border-radius: 999px;
  transition: border-color .18s var(--vco-ease);
}
.gpg-val-co-form__field:focus-within { border-color: var(--vco-navy); }
.gpg-val-co-form__icon {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--vco-muted);
  pointer-events: none;
}
.gpg-val-co-form__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 14px 22px 14px 52px;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  font-family: var(--vco-sans);
  font-size: 1rem;
  color: var(--vco-navy);
  border-radius: 999px;
  box-shadow: none;
}
.gpg-val-co-form__input::placeholder { color: var(--vco-muted); }

.gpg-val-co-form__notes {
  background: var(--vco-white);
  border: 1.5px solid var(--vco-line);
  border-radius: 18px;
  padding: 12px 18px;
  margin-top: 2px;
  transition: border-color .18s var(--vco-ease);
}
.gpg-val-co-form__notes:focus-within { border-color: var(--vco-navy); }
.gpg-val-co-form__notes textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 64px;
  resize: vertical;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--vco-sans);
  font-size: .95rem;
  color: var(--vco-navy);
  line-height: 1.5;
  box-shadow: none;
  padding: 0;
}

/* ---------- Inline error ---------- */
.gpg-val-co-error {
  font-family: var(--vco-sans);
  font-size: .85rem;
  color: #B23434;
  text-align: left;
  margin: 6px 4px 0;
}
.gpg-val-co-error[hidden] { display: none; }

/* ============================================================
   STEP FOOTER (CTA + Back)
============================================================ */
.gpg-val-co-foot {
  display: block;
  background: var(--vco-white);
  padding: 0 24px 28px;
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--vco-sans);
}
.gpg-val-co-foot__inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gpg-val-co-btn-next,
button.gpg-val-co-btn-next {
  -webkit-appearance: none;
  appearance: none;
  background: var(--vco-disabled);
  background-image: none;
  color: var(--vco-white);
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  margin: 0;
  width: 100%;
  display: block;
  font-family: var(--vco-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  cursor: not-allowed;
  box-shadow: none;
  text-shadow: none;
  min-height: 0;
  height: auto;
  transition: background .18s var(--vco-ease),
              opacity .18s var(--vco-ease);
}
.gpg-val-co-btn-next:not([disabled]),
.gpg-val-co-btn-next.is-enabled {
  background: var(--vco-navy);
  cursor: pointer;
}
.gpg-val-co-btn-next.is-submitting {
  opacity: .6;
  cursor: wait;
}
@media (hover: hover) {
  .gpg-val-co-btn-next:not([disabled]):not(.is-submitting):hover,
  .gpg-val-co-btn-next.is-enabled:not(.is-submitting):hover {
    background: var(--vco-navy-soft);
  }
}

/* Auto-advance steps hide the Continue button (JS submits on option click) */
.gpg-val-co-foot--auto .gpg-val-co-btn-next { display: none; }

.gpg-val-co-foot__back {
  text-align: center;
  color: var(--vco-muted);
  font-size: .8rem;
  font-weight: 500;
  padding: 4px;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
@media (hover: hover) {
  .gpg-val-co-foot__back:hover { color: var(--vco-navy); }
}

/* ============================================================
   SUBMITTED PAGE (kept simple — same co-* visual language)
============================================================ */
.gpg-val-co-submitted {
  display: block;
  background: var(--vco-white);
  padding: 32px 24px;
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--vco-sans);
  color: var(--vco-charcoal);
  text-align: center;
}
.gpg-val-co-submitted__kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vco-navy);
  margin: 0 0 12px;
}
.gpg-val-co-submitted__heading {
  font-family: var(--vco-sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.2;
  color: var(--vco-navy);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.gpg-val-co-submitted__summary {
  max-width: 520px;
  margin: 18px auto 24px;
  border-top: 1px solid var(--vco-line);
  border-bottom: 1px solid var(--vco-line);
  padding: 18px 0;
  text-align: left;
}
.gpg-val-co-submitted__summary dl {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px 22px;
  margin: 0;
}
.gpg-val-co-submitted__summary dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vco-muted);
}
.gpg-val-co-submitted__summary dd {
  font-size: .95rem;
  color: var(--vco-navy);
  margin: 0;
}

/* ============================================================
   RESPONSIVE — step pages mobile compaction
============================================================ */
@media (max-width: 640px) {
  .gpg-val-co-step { padding: 22px 16px 12px; }
  .gpg-val-co-step__illustration { max-width: 130px; margin-bottom: 14px; }
  .gpg-val-co-step__heading { font-size: 1.1875rem; margin-bottom: 12px; }
  .gpg-val-co-step__kicker { font-size: .66rem; margin-bottom: 6px; }
  .gpg-val-co-options { gap: 6px; margin-bottom: 10px; }
  .gpg-val-co-option { padding: 11px 18px 11px 56px; font-size: .95rem; }
  .gpg-val-co-option__radio { left: 18px; width: 18px; height: 18px; }
  .gpg-val-co-option__radio::after { width: 8px; height: 8px; }
  .gpg-val-co-foot { padding: 0 16px 22px; }
  .gpg-val-co-btn-next { padding: 13px 24px; font-size: .95rem; }
}
@media (max-width: 480px) {
  .gpg-val-co-specs { grid-template-columns: 1fr; }
}

/* ============================================================
   LANDING PAGE — full editorial redesign (.val-*)
============================================================ */

/* ---------- 1 · HERO (full-bleed dark navy) ---------- */
.val-hero {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  background: var(--val-navy-deep);
  color: #FFFFFF;
  padding: clamp(96px, 14vh, 168px) 24px clamp(72px, 9vh, 112px);
  overflow: hidden;
  isolation: isolate;
}
.val-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(46,109,164,.28) 0%, transparent 58%),
    radial-gradient(ellipse at 10% 90%, rgba(46,109,164,.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--val-navy) 0%, var(--val-navy-deep) 100%);
  pointer-events: none;
}
.val-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.val-hero__numeral {
  position: absolute;
  top: 50%; right: -3%;
  transform: translateY(-50%);
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22rem, 44vw, 44rem);
  line-height: .82;
  letter-spacing: -.04em;
  color: var(--val-steel-soft);
  opacity: .07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.val-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}
.val-hero__eyebrow {
  font-family: var(--val-font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--val-steel-soft);
  margin: 0 0 26px;
}
.val-hero__headline {
  font-family: var(--val-font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.024em;
  color: #FFFFFF;
  margin: 0 0 32px;
  max-width: 22ch;
  text-wrap: balance;
}
.val-hero__headline em {
  font-style: italic;
  color: var(--val-steel-soft);
}
.val-hero__rule {
  width: 48px;
  height: 2px;
  background: var(--val-steel);
  border: none;
  margin: 0 0 32px;
}
.val-hero__lede {
  font-family: var(--val-font-sans);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  margin: 0 0 36px;
  max-width: 56ch;
}
.val-hero__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  max-width: 640px;
}
.val-hero__input {
  flex: 1 1 320px;
  min-width: 240px;
  padding: 18px 22px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 6px;
  font-family: var(--val-font-sans);
  font-size: 1rem;
  color: #FFFFFF;
  transition: border-color .22s ease, background .22s ease;
}
.val-hero__input::placeholder { color: rgba(255,255,255,.5); }
.val-hero__input:focus {
  outline: none;
  border-color: var(--val-steel-soft);
  background: rgba(255,255,255,.10);
}
.val-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  background: #FFFFFF;
  color: var(--val-navy);
  border: none;
  border-radius: 6px;
  font-family: var(--val-font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  cursor: pointer;
  transition: background .22s ease, transform .22s ease;
}
@media (hover: hover) {
  .val-hero__cta:hover { background: var(--val-cream); transform: translateY(-1px); }
}
.val-hero__error {
  margin: 0 0 18px;
  font-family: var(--val-font-sans);
  font-size: .9rem;
  color: #FCA5A5;
}
.val-hero__error[hidden] { display: none; }
.val-hero__creds {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--val-font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.val-hero__cred {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.val-hero__cred:not(:first-child)::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--val-steel);
  border-radius: 50%;
  opacity: .8;
}

/* ---------- 2 · PROMISE (what you get — three cards) ---------- */
.val-promise {
  position: relative;
  background: #FFFFFF;
  padding: clamp(80px, 10vh, 128px) 24px;
  overflow: hidden;
  isolation: isolate;
}
.val-promise__numeral {
  position: absolute;
  top: -6%; left: -3%;
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20rem, 38vw, 40rem);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--val-navy);
  opacity: .025;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.val-promise__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}
.val-promise__head {
  max-width: 720px;
  margin: 0 0 56px;
}
.val-promise__eyebrow {
  font-family: var(--val-font-sans);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--val-steel);
  margin: 0 0 18px;
}
.val-promise__h {
  font-family: var(--val-font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.8vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--val-navy);
  margin: 0 0 22px;
  max-width: 24ch;
  text-wrap: balance;
}
.val-promise__h em { font-style: italic; color: var(--val-steel); }
.val-promise__rule {
  width: 48px; height: 2px;
  background: var(--val-steel); border: none; margin: 0;
}
.val-promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--val-hairline);
  border-bottom: 1px solid var(--val-hairline);
}
@media (max-width: 820px) {
  .val-promise__grid { grid-template-columns: 1fr; }
}
.val-promise-card {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--val-hairline);
}
.val-promise-card:last-child { border-right: none; }
@media (max-width: 820px) {
  .val-promise-card { border-right: none; border-bottom: 1px solid var(--val-hairline); padding: 32px 4px; }
  .val-promise-card:last-child { border-bottom: none; }
}
.val-promise-card__ord {
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--val-steel);
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.val-promise-card__h {
  font-family: var(--val-font-serif);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -.012em;
  color: var(--val-navy);
  margin: 0 0 14px;
}
.val-promise-card__p {
  font-family: var(--val-font-sans);
  font-size: .96rem;
  line-height: 1.68;
  color: var(--val-ink);
  margin: 0;
}

/* ---------- 3 · REALTOR (Adam dossier) ---------- */
.val-realtor {
  position: relative;
  background: var(--val-cream);
  padding: clamp(80px, 10vh, 128px) 24px;
  overflow: hidden;
  isolation: isolate;
}
.val-realtor__numeral {
  position: absolute;
  bottom: -8%; right: -3%;
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20rem, 36vw, 38rem);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--val-navy);
  opacity: .025;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.val-realtor__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 820px) {
  .val-realtor__inner { grid-template-columns: 1fr; gap: 32px; }
}
.val-realtor__left { position: relative; }
.val-realtor__ord {
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: .9;
  color: var(--val-steel);
  margin: 0 0 18px;
  letter-spacing: -.03em;
}
.val-realtor__eyebrow {
  font-family: var(--val-font-sans);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--val-steel);
  margin: 0 0 18px;
}
.val-realtor__h {
  font-family: var(--val-font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--val-navy);
  margin: 0 0 22px;
  text-wrap: balance;
}
.val-realtor__h em { font-style: italic; color: var(--val-steel); }
.val-realtor__rule {
  width: 48px; height: 2px;
  background: var(--val-steel); border: none; margin: 0;
}
.val-realtor__body {
  font-family: var(--val-font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--val-ink);
  max-width: 60ch;
}
.val-realtor__body p { margin: 0 0 18px; }
.val-realtor__body p:last-child { margin-bottom: 0; }
.val-realtor__body strong { font-weight: 600; color: var(--val-navy); }
.val-realtor__creds {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--val-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--val-font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--val-muted);
}
.val-realtor__creds span:not(:first-child)::before {
  content: '·';
  margin-right: 24px;
  color: var(--val-steel);
}

/* ---------- 4 · FAQ ---------- */
.val-faq-section {
  position: relative;
  background: #FFFFFF;
  padding: clamp(80px, 10vh, 128px) 24px;
  overflow: hidden;
  isolation: isolate;
}
.val-faq-section__numeral {
  position: absolute;
  top: 50%; right: -2%;
  transform: translateY(-50%);
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20rem, 36vw, 36rem);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--val-navy);
  opacity: .025;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.val-faq-section__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}
.val-faq-section__head {
  margin: 0 0 40px;
}
.val-faq-section__eyebrow {
  font-family: var(--val-font-sans);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--val-steel);
  margin: 0 0 18px;
}
.val-faq-section__h {
  font-family: var(--val-font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.8vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--val-navy);
  margin: 0 0 22px;
  text-wrap: balance;
}
.val-faq-section__h em { font-style: italic; color: var(--val-steel); }
.val-faq-section__rule {
  width: 48px; height: 2px;
  background: var(--val-steel); border: none; margin: 0;
}
.val-faq__list { border-top: 1px solid var(--val-hairline); }
.val-faq { border-bottom: 1px solid var(--val-hairline); }
.val-faq__summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 56px 26px 0;
  position: relative;
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.32;
  letter-spacing: -.008em;
  color: var(--val-navy);
  transition: color .22s ease;
}
.val-faq__summary::-webkit-details-marker { display: none; }
.val-faq__summary::marker { content: ''; }
.val-faq__summary::after {
  content: '';
  position: absolute;
  right: 8px; top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--val-steel);
  border-bottom: 2px solid var(--val-steel);
  transform: translateY(-70%) rotate(45deg);
  transform-origin: center;
  transition: transform .28s ease;
}
.val-faq[open] > .val-faq__summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
@media (hover: hover) {
  .val-faq__summary:hover { color: var(--val-steel); }
}
.val-faq__answer {
  padding: 0 0 30px;
  margin: 0;
  font-family: var(--val-font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--val-ink);
  max-width: 64ch;
}

/* ---------- 5 · CLOSE (dark closing CTA) ---------- */
.val-close {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  background: var(--val-navy-deep);
  color: #FFFFFF;
  padding: clamp(96px, 13vh, 152px) 24px clamp(72px, 9vh, 112px);
  overflow: hidden;
  isolation: isolate;
}
.val-close::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(46,109,164,.24) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 80%, rgba(46,109,164,.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--val-navy) 0%, var(--val-navy-deep) 100%);
  pointer-events: none;
}
.val-close__numeral {
  position: absolute;
  bottom: -10%; right: -3%;
  font-family: var(--val-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22rem, 42vw, 42rem);
  line-height: .82;
  letter-spacing: -.04em;
  color: var(--val-steel-soft);
  opacity: .07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.val-close__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}
.val-close__eyebrow {
  font-family: var(--val-font-sans);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--val-steel-soft);
  margin: 0 0 24px;
}
.val-close__h {
  font-family: var(--val-font-serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.022em;
  color: #FFFFFF;
  margin: 0 0 28px;
  max-width: 22ch;
  text-wrap: balance;
}
.val-close__h em { font-style: italic; color: var(--val-steel-soft); }
.val-close__rule {
  width: 48px; height: 2px;
  background: var(--val-steel); border: none; margin: 0 0 26px;
}
.val-close__p {
  font-family: var(--val-font-sans);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  margin: 0 0 32px;
  max-width: 50ch;
}
.val-close__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  background: #FFFFFF;
  color: var(--val-navy);
  border-radius: 6px;
  font-family: var(--val-font-sans);
  font-weight: 600;
  font-size: 1.04rem;
  text-decoration: none;
  transition: background .22s ease, transform .22s ease;
}
@media (hover: hover) {
  .val-close__cta:hover { background: var(--val-cream); transform: translateY(-1px); }
}

/* ---------- Mobile tightenings (landing only) ---------- */
@media (max-width: 640px) {
  .val-hero { padding: 72px 22px 56px; }
  .val-promise, .val-realtor, .val-faq-section { padding: 64px 22px; }
  .val-close { padding: 72px 22px 56px; }
}

/* ============================================================
   SPECS STEP — Slider controls (replaces typed number inputs)
============================================================ */
.gpg-val-co-sliders {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 0 18px;
  text-align: left;
}
.gpg-val-co-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gpg-val-co-slider__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.gpg-val-co-slider__label {
  font-family: var(--vco-sans);
  font-size: .92rem;
  font-weight: 600;
  color: var(--vco-charcoal);
  letter-spacing: -.005em;
}
.gpg-val-co-slider__value {
  font-family: var(--vco-sans);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--vco-navy);
  letter-spacing: -.012em;
  font-variant-numeric: tabular-nums;
}
.gpg-val-co-slider__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--vco-line);
  background-image: linear-gradient(var(--vco-navy), var(--vco-navy));
  background-repeat: no-repeat;
  background-size: 50% 100%;
  outline: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: background-size .12s ease;
}
.gpg-val-co-slider__input:focus { outline: none; }
.gpg-val-co-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vco-navy);
  border: 3px solid var(--vco-white);
  box-shadow: 0 1px 3px rgba(10,31,60,.22);
  cursor: grab;
  transition: transform .12s ease, box-shadow .12s ease;
}
.gpg-val-co-slider__input::-webkit-slider-thumb:hover {
  transform: scale(1.08);
}
.gpg-val-co-slider__input::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(10,31,60,.32);
}
.gpg-val-co-slider__input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vco-navy);
  border: 3px solid var(--vco-white);
  box-shadow: 0 1px 3px rgba(10,31,60,.22);
  cursor: grab;
}
.gpg-val-co-slider__input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--vco-line);
}
.gpg-val-co-slider__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--vco-sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--vco-muted);
  padding: 0 2px;
}

/* DEFENSIVE — guarantee the step footer + continue button always render,
   no matter what theme/Elementor wraps the wp:html block in. */
.gpg-val-co-foot,
.gpg-val-co-foot__inner,
.gpg-val-co-btn-next {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.gpg-val-co-foot--auto .gpg-val-co-btn-next { display: none !important; }
.gpg-val-co-foot__inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}


/* Hide the sitewide sticky CTA bar on funnel pages — it covers the Continue button.
   The funnel has its own foot CTA, so the sticky bar is redundant here. */
body.gpg-valuation-funnel .gpg-sticky-bar,
body.gpg-valuation-funnel #gpgStickyBar {
  display: none !important;
}
body.gpg-valuation-funnel.has-gpg-sticky-bar {
  padding-bottom: 0 !important;
}


/* ============================================================
   DEFENSIVE OVERRIDES — mirror cash-offer body-scoped specificity
   to defeat hello-elementor child-theme button styles.
============================================================ */
body.gpg-valuation-funnel .gpg-val-co-option,
body.gpg-valuation-funnel button.gpg-val-co-option {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1.5px solid #DCE7F2 !important;
  border-radius: 999px !important;
  padding: 14px 24px 14px 64px !important;
  margin: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  font-family: 'Onest', system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #0A1F3C !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: 0 !important;
  height: auto !important;
  transition: border-color .18s ease, background .18s ease, color .18s ease !important;
}
body.gpg-valuation-funnel .gpg-val-co-option:hover,
body.gpg-valuation-funnel .gpg-val-co-option:focus,
body.gpg-valuation-funnel .gpg-val-co-option:active {
  background: #FFFFFF !important;
  color: #0A1F3C !important;
  text-decoration: none !important;
}
@media (hover: hover) {
  body.gpg-valuation-funnel .gpg-val-co-option:hover {
    border-color: #2E6DA4 !important;
    background: rgba(46,109,164,.06) !important;
  }
}
body.gpg-valuation-funnel .gpg-val-co-option.is-selected {
  border-color: #0A1F3C !important;
  background: rgba(46,109,164,.10) !important;
  color: #0A1F3C !important;
}
@media (hover: hover) {
  body.gpg-valuation-funnel .gpg-val-co-option.is-selected:hover {
    background: rgba(46,109,164,.14) !important;
  }
}

body.gpg-valuation-funnel .gpg-val-co-option__radio {
  position: absolute !important;
  top: 50% !important;
  left: 22px !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 1.5px solid #DCE7F2 !important;
  background: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  transition: border-color .18s ease, background .18s ease !important;
}
body.gpg-valuation-funnel .gpg-val-co-option__radio::after {
  content: '' !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .18s ease, transform .2s ease;
}
body.gpg-valuation-funnel .gpg-val-co-option.is-selected .gpg-val-co-option__radio {
  border-color: #0A1F3C !important;
  background: #0A1F3C !important;
}
body.gpg-valuation-funnel .gpg-val-co-option.is-selected .gpg-val-co-option__radio::after {
  opacity: 1;
  transform: scale(1);
}

/* Continue button + back link — same defensive pattern */
body.gpg-valuation-funnel .gpg-val-co-btn-next,
body.gpg-valuation-funnel button.gpg-val-co-btn-next {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #C7CFD8 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 16px 28px !important;
  margin: 0 !important;
  width: 100% !important;
  display: block !important;
  font-family: 'Onest', system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  line-height: 1.2 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  transition: background .18s ease, opacity .18s ease !important;
}
body.gpg-valuation-funnel .gpg-val-co-btn-next:not([disabled]),
body.gpg-valuation-funnel .gpg-val-co-btn-next.is-enabled {
  background: #0A1F3C !important;
  cursor: pointer !important;
}
body.gpg-valuation-funnel .gpg-val-co-btn-next.is-submitting {
  opacity: .6 !important;
  cursor: wait !important;
}
@media (hover: hover) {
  body.gpg-valuation-funnel .gpg-val-co-btn-next:not([disabled]):not(.is-submitting):hover,
  body.gpg-valuation-funnel .gpg-val-co-btn-next.is-enabled:not(.is-submitting):hover {
    background: #142B4D !important;
  }
}
body.gpg-valuation-funnel .gpg-val-co-foot__back {
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #6B7785 !important;
  text-shadow: none !important;
}

/* ============================================================
   STEP HEADING/KICKER — force sans + lighter weight (defend
   against theme Playfair H1 / entry-title styles).
============================================================ */
body.gpg-valuation-funnel .gpg-val-co-step__kicker,
body.gpg-valuation-funnel .gpg-val-co-step__heading,
body.gpg-valuation-funnel h1.gpg-val-co-step__heading,
body.gpg-valuation-funnel .gpg-val-co-step__sub,
body.gpg-valuation-funnel .gpg-val-co-progress__label {
  font-family: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  text-shadow: none !important;
  text-transform: none !important;
  text-wrap: balance !important;
}
body.gpg-valuation-funnel .gpg-val-co-step__heading,
body.gpg-valuation-funnel h1.gpg-val-co-step__heading {
  font-weight: 600 !important;
  font-size: clamp(1.5rem, 3.5vw, 2.125rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -.012em !important;
  color: #0A1F3C !important;
  margin: 0 0 18px !important;
  max-width: 22ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.gpg-valuation-funnel .gpg-val-co-step__kicker {
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: #6B7785 !important;
  margin: 0 0 8px !important;
}
body.gpg-valuation-funnel .gpg-val-co-step__sub {
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: #0A1F3C !important;
  margin: -8px 0 16px !important;
}
/* Defeat theme entry-title that the breadcrumbs plugin already hides on
   gpg-pages — belt-and-suspenders for the funnel. */
body.gpg-valuation-funnel .entry-title,
body.gpg-valuation-funnel .page-title,
body.gpg-valuation-funnel header.entry-header { display: none !important; }

/* ============================================================
   LANDING HERO — cash-offer-style centered quiz start
   (.val-co-hero* mirrors .co-hero* from the cash-offer plugin)
============================================================ */
.val-co-hero {
  background: #FFFFFF;
  padding: clamp(48px, 7vh, 96px) 24px clamp(36px, 5vh, 56px);
  text-align: center;
  border-bottom: 1px solid #E8EEF5;
}
.val-co-hero__inner {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.val-co-hero__illustration {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 24px;
  color: #0A1F3C;
}
.val-co-hero__illustration svg { width: 100%; height: auto; display: block; }

body.gpg-valuation-funnel .val-co-hero__heading,
body.gpg-valuation-funnel h1.val-co-hero__heading {
  font-family: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: clamp(1.625rem, 4.4vw, 2.625rem) !important;
  line-height: 1.12 !important;
  color: #0A1F3C !important;
  margin: 0 0 14px !important;
  letter-spacing: -.018em !important;
  text-wrap: balance !important;
  text-shadow: none !important;
  text-transform: none !important;
  max-width: 16ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  -webkit-font-smoothing: antialiased;
}
body.gpg-valuation-funnel .val-co-hero__heading em {
  font-style: normal !important;
  color: #2E6DA4 !important;
  font-weight: 700 !important;
}
.val-co-hero__sub {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: clamp(.98rem, 1.4vw, 1.0625rem);
  line-height: 1.5;
  color: #6B7785;
  margin: 0 auto 28px;
  max-width: 44ch;
}

.val-co-address-form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.gpg-valuation-funnel .val-co-address-input,
body.gpg-valuation-funnel input.val-co-address-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #0A1F3C !important;
  border: none !important;
  border-bottom: 1.5px solid #0A1F3C !important;
  border-radius: 0 !important;
  padding: 14px 4px !important;
  font-family: 'Onest', system-ui, sans-serif !important;
  font-size: 1.0625rem !important;
  text-align: center !important;
  box-shadow: none !important;
  width: 100% !important;
  outline: none !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
}
body.gpg-valuation-funnel .val-co-address-input::placeholder { color: #6B7785 !important; }
body.gpg-valuation-funnel .val-co-address-input:focus {
  border-bottom-color: #2E6DA4 !important;
  border-bottom-width: 2px !important;
}
body.gpg-valuation-funnel .val-co-address-cta,
body.gpg-valuation-funnel button.val-co-address-cta {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #0A1F3C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 17px 30px !important;
  font-family: 'Onest', system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  width: 100% !important;
  transition: background .18s ease !important;
}
@media (hover: hover) {
  body.gpg-valuation-funnel .val-co-address-cta:hover { background: #142B4D !important; }
}
.val-co-address-cta:disabled { opacity: .55; cursor: not-allowed; }

.val-co-hero__error {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: .88rem;
  color: #B33232;
  margin: 12px auto 0;
  max-width: 440px;
}
.val-co-hero__error[hidden] { display: none; }

.val-co-hero__trust {
  margin-top: 24px;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6B7785;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.val-co-hero__trust span:not(:last-child)::after {
  content: '·';
  margin-left: 14px;
  color: #C7CFD8;
}

@media (max-width: 640px) {
  .val-co-hero { padding: 36px 18px 32px; }
  .val-co-hero__illustration { max-width: 200px; margin-bottom: 18px; }
  .val-co-hero__sub { margin-bottom: 22px; }
  .val-co-address-form { gap: 14px; max-width: 380px; }
  .val-co-hero__trust { margin-top: 18px; font-size: .68rem; gap: 10px; }
  .val-co-hero__trust span:not(:last-child)::after { margin-left: 10px; }
}

/* ============================================================
   LANDING CLOSE CTA — dark-bg headline legibility fix
   (same treatment as the flex-commissions hero/close fixes)
============================================================ */
body.gpg-valuation-funnel .val-close__h,
body.gpg-valuation-funnel h2.val-close__h {
  font-weight: 800 !important;
  letter-spacing: -.012em !important;
  line-height: 1.06 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}
body.gpg-valuation-funnel .val-close__h em {
  font-style: italic !important;
  font-weight: 700 !important;
  color: #A8C5E4 !important;
}
body.gpg-valuation-funnel .val-close__p {
  color: rgba(255,255,255,.82) !important;
  -webkit-font-smoothing: antialiased !important;
}
/* The white CTA button on the dark close section */
body.gpg-valuation-funnel .val-close__cta,
body.gpg-valuation-funnel a.val-close__cta {
  background: #FFFFFF !important;
  color: #0A1F3C !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 17px 30px !important;
  font-family: 'Onest', system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  display: inline-block !important;
  transition: background .2s ease, transform .2s ease !important;
}
@media (hover: hover) {
  body.gpg-valuation-funnel .val-close__cta:hover {
    background: #F5F2EC !important;
    transform: translateY(-1px) !important;
  }
}