/* ═══════════════════════════════════════════════════════
   funnel.css — conversion components shared across pages.
   Mobile-first. Depends on design tokens in styles.css.
═══════════════════════════════════════════════════════ */

/* ── header click-to-call ── */
.site-header {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.site-header__call { white-space: nowrap; }
/* header is designed to sit over the hero; hide it once scrolled past
   so it doesn't collide with section content (sticky bar takes over) */
.site-header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.site-header__call {
  pointer-events: auto;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.site-header__call:hover { border-color: var(--color-gold); }

/* ── hero value-prop headline (sentence, not a name) ── */
.hero__name--prop {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  max-width: 18ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65), 0 0 48px rgba(0,0,0,0.35);
}
.hero__eyebrow {
  text-shadow: 0 1px 10px rgba(0,0,0,0.75);
}
.hero__tagline {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 14px rgba(0,0,0,0.75), 0 0 40px rgba(0,0,0,0.4);
}

/* ── "more properties" text links under listing cards ── */
.listings-preview__more {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(245,242,238,0.55);
  text-align: center;
}
.listings-preview__more a {
  color: var(--color-gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.listings-preview__more a:hover { border-color: var(--color-gold); }

/* ── Sotheby's/personal bullets recolored for navy trust section ── */
.features__grid--trust { margin: 2.75rem 0 3rem; gap: 2.25rem 3rem; }
.features__grid--trust .features__heading { color: var(--color-off-white); }
.features__grid--trust .features__list li { color: rgba(245,242,238,0.72); }
@media (max-width: 700px) {
  .features__grid--trust { grid-template-columns: 1fr; }
}

/* ── segmented CTA buttons inside content-page cp-cta blocks ── */
.cp-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .cp-cta__actions { flex-direction: row; justify-content: center; }
}

/* ── generic form success / error states ── */
.fnl-success,
.fnl-error {
  display: none;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.fnl-success.is-visible,
.fnl-error.is-visible { display: block; }
.fnl-success {
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  background: rgba(201,169,97,0.08);
}
.fnl-error {
  border: 1px solid rgba(220,90,90,0.5);
  color: #e8a0a0;
  background: rgba(220,90,90,0.08);
}

/* ── sticky bottom CTA bar ── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
  background: var(--color-navy-deep, #071B36);
  border-top: 1px solid var(--color-rule);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 92%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0.65rem 0;
}
.sticky-cta__text {
  display: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-off-white);
  white-space: nowrap;
}
.sticky-cta__btn {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.sticky-cta__call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: none;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  transition: background 0.25s, color 0.25s;
}
.sticky-cta__call:hover { background: var(--color-gold); color: var(--color-black); }
.sticky-cta__close {
  flex: none;
  background: none;
  border: none;
  color: var(--color-mid);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}
@media (min-width: 640px) {
  .sticky-cta__text { display: block; }
  .sticky-cta__btn { flex: none; padding: 0.7rem 1.75rem; }
  .sticky-cta__inner { justify-content: flex-end; }
  .sticky-cta__text { margin-right: auto; }
}

/* ── exit / scroll capture modal ── */
.exit-capture {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(4,12,24,0.72);
  animation: exit-fade 0.3s var(--ease-out);
}
@keyframes exit-fade { from { opacity: 0; } to { opacity: 1; } }
.exit-capture__box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--color-black);
  border: 1px solid var(--color-rule);
  padding: 2.25rem 1.75rem 2rem;
}
@media (min-width: 640px) {
  .exit-capture { align-items: center; }
}
.exit-capture__close {
  position: absolute;
  top: 0.6rem; right: 0.85rem;
  background: none;
  border: none;
  color: var(--color-mid);
  font-size: 1.6rem;
  cursor: pointer;
}
.exit-capture__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}
.exit-capture__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.exit-capture__body {
  font-size: 0.9rem;
  color: rgba(245,242,238,0.75);
  margin-bottom: 1.25rem;
}
.exit-capture__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.exit-capture__form input[type="email"] {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-rule);
  color: var(--color-off-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
}
.exit-capture__form input:focus { outline: 1px solid var(--color-gold); }
@media (min-width: 640px) {
  .exit-capture__form { flex-direction: row; }
  .exit-capture__form input[type="email"] { flex: 1; }
}

/* ── social proof band ── */
.proof {
  background: var(--color-navy-deep, #071B36);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  padding: 2rem 0;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
  text-align: center;
}
.proof__stat { display: block; }
a.proof__stat:hover .proof__value { color: var(--color-gold-light); }
.proof__value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1.1;
  transition: color 0.25s;
}
.proof__value .proof__star { font-size: 1.3rem; vertical-align: 0.15em; }
.proof__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.6);
  margin-top: 0.35rem;
}
@media (min-width: 800px) {
  .proof__grid { grid-template-columns: repeat(4, 1fr); }
  .proof { padding: 2.5rem 0; }
  .proof__value { font-size: 2.3rem; }
}

/* ── segmented paths ── */
.paths { padding: 4.5rem 0; }
.paths__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.path-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-rule);
  padding: 2.25rem 1.75rem 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.path-card:hover { border-color: var(--color-gold); transform: translateY(-4px); }
.path-card__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.path-card__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.path-card__body {
  font-size: 0.92rem;
  color: rgba(245,242,238,0.72);
  margin-bottom: 1.5rem;
}
.path-card .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 800px) {
  .paths { padding: 6rem 0; }
  .paths__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ── magazine band ── */
.mag-band {
  background: var(--color-navy-deep, #071B36);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  padding: 3.5rem 0;
}
.mag-band__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mag-band__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
}
.mag-band__body {
  font-size: 0.92rem;
  color: rgba(245,242,238,0.72);
  max-width: 46ch;
  margin-top: 0.5rem;
}
.mag-band__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mag-band__form input[type="email"] {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-rule);
  color: var(--color-off-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
}
.mag-band__form input:focus { outline: 1px solid var(--color-gold); }
@media (min-width: 800px) {
  .mag-band { padding: 4.5rem 0; }
  .mag-band__layout { flex-direction: row; align-items: center; justify-content: space-between; }
  .mag-band__form { flex-direction: row; width: 46%; }
  .mag-band__form input[type="email"] { flex: 1; }
}

/* ── closing CTA ── */
.close-cta {
  padding: 5rem 0;
  text-align: center;
}
.close-cta__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.close-cta__body {
  font-size: 0.95rem;
  color: rgba(245,242,238,0.72);
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.close-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.close-cta__contact {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.close-cta__contact a {
  color: var(--color-gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
  padding-bottom: 2px;
}
.close-cta__contact a:hover { border-color: var(--color-gold); }
@media (min-width: 640px) {
  .close-cta { padding: 7rem 0; }
  .close-cta__actions { flex-direction: row; justify-content: center; }
}

/* ── multi-step form (valuation / alerts) ── */
.msf-wrap {
  max-width: 560px;
  margin-inline: auto;
}
.msf {
  max-width: 560px;
  margin-inline: auto;
}
.msf fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-inline-size: auto;
}
.msf legend {
  display: block;
  padding: 0;
}
.msf__progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.msf__progress-seg {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.12);
  transition: background 0.3s;
}
.msf__progress-seg.is-active { background: var(--color-gold); }
.msf__step { display: none; }
.msf__step.is-active { display: block; animation: msf-in 0.35s var(--ease-out); }
@keyframes msf-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.msf__step-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.msf__step-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.msf__fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.msf input[type="text"],
.msf input[type="email"],
.msf input[type="tel"],
.msf select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-rule);
  color: var(--color-off-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0;
  -webkit-appearance: none;
}
.msf select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C9A961' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.msf select option { color: #0B2545; background: #fff; }
.msf input:focus, .msf select:focus { outline: 1px solid var(--color-gold); }
.msf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.msf__field-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(245,242,238,0.65);
  margin-bottom: 0.4rem;
}
.msf__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.msf__back {
  background: none;
  border: none;
  color: var(--color-mid);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0.5rem 0;
}
.msf__back:hover { color: var(--color-off-white); }
.msf__nav .btn { flex: 1; }
.msf__reassure {
  font-size: 0.75rem;
  color: rgba(245,242,238,0.45);
  margin-top: 1rem;
  text-align: center;
}

/* ── option chips (areas of interest etc.) ── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  border: 1px solid var(--color-rule);
  color: rgba(245,242,238,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem;
  transition: all 0.2s;
}
.chips input:checked + span {
  border-color: var(--color-gold);
  background: rgba(201,169,97,0.14);
  color: var(--color-gold-light);
}
.chips input:focus-visible + span { outline: 1px solid var(--color-gold); }

/* ── funnel page hero (shorter than homepage hero) ── */
.fnl-hero {
  padding: 7.5rem 0 3rem;
  text-align: center;
}
.fnl-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.9rem;
}
.fnl-hero__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.fnl-hero__sub {
  font-size: 0.95rem;
  color: rgba(245,242,238,0.72);
  max-width: 54ch;
  margin-inline: auto;
}
.fnl-page-body { padding-bottom: 5.5rem; }

/* ── confirmation panel (post-submit next step) ── */
.fnl-confirm {
  text-align: center;
  padding: 2rem 0 0;
}
.fnl-confirm__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}
.fnl-confirm__body {
  font-size: 0.92rem;
  color: rgba(245,242,238,0.72);
  max-width: 46ch;
  margin: 0 auto 1.5rem;
}
