:root {
  --purple: #24146b;
  --purple-deep: #17104f;
  --purple-ink: #21185f;
  --gold: #f0c321;
  --gold-soft: #f5ead6;
  --cream: #f8f4ee;
  --white: #ffffff;
  --text: #19191d;
  --muted: #5a5a60;
  --line: #d9d5cf;
  --shadow: 0 16px 45px rgba(13, 10, 41, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 7, 18, 0.84) 0%, rgba(8, 7, 18, 0.72) 48%, rgba(13, 12, 24, 0.4) 100%),
    url("assets/hero-neighborhood.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 28%, rgba(241, 195, 33, 0.12), transparent 26%),
    linear-gradient(180deg, transparent 55%, rgba(4, 4, 8, 0.3));
  pointer-events: none;
}
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1440px, 94vw);
  margin: 0 auto;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.35fr 0.82fr;
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
  padding: 0 0 40px;
}
.hero-copy { align-self: stretch; display: flex; flex-direction: column; }
.hero-logo {
  width: 245px;
  height: 138px;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  margin-bottom: 25px;
}
.hero-text-block { max-width: 760px; padding-left: 20px; margin-top: 6px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: .01em;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 2px 15px rgba(0,0,0,.22);
}
.gold-rule {
  display: block;
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 24px 0 22px;
}
.gold-rule.small { width: 48px; height: 2px; margin: 20px 0 22px; }
.hero-lede {
  max-width: 700px;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.55;
  margin: 0;
  color: rgba(255,255,255,.94);
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.benefit { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.benefit-icon {
  width: 50px; height: 50px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
}
.benefit-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { display: block; font-size: 12px; margin-bottom: 4px; }
.benefit span { display: block; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.9); }

.valuation-card {
  background: rgba(255,255,255,.98);
  color: var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px 32px 27px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.valuation-heading { text-align: center; }
.valuation-heading h2 {
  margin: 0 0 12px;
  color: var(--purple-ink);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.15;
  font-weight: 700;
}
.valuation-heading p { margin: 0 auto 22px; max-width: 360px; color: #4f4f55; line-height: 1.45; font-size: 14px; }
.valuation-form { display: grid; gap: 11px; }
.field {
  position: relative;
  min-height: 54px;
  border: 1px solid #cfd0d5;
  border-radius: 5px;
  background: white;
  display: flex;
  align-items: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(36,20,107,.08); }
.field-icon { width: 50px; display: grid; place-items: center; color: var(--purple-ink); flex: 0 0 50px; }
.field-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.field input, .field select {
  width: 100%;
  height: 52px;
  border: 0;
  background: transparent;
  outline: 0;
  color: #35353b;
  padding: 0 16px 0 0;
  font-size: 14px;
}
.field input::placeholder { color: #6d6d73; opacity: 1; }
.field select { appearance: none; color: #55555c; cursor: pointer; }
.select-field::after {
  content: "⌄";
  position: absolute;
  right: 15px;
  top: 12px;
  color: var(--purple);
  font-size: 23px;
  pointer-events: none;
}
.primary-button {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(100deg, #2c1b77, #1d125a);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(32,18,92,.22); filter: brightness(1.06); }
.privacy-line { margin: 3px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #5e5e63; font-size: 12px; }
.privacy-line svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.advisor-section {
  display: grid;
  grid-template-columns: 31.5% 28% 40.5%;
  min-height: 380px;
  background: #fbf8f3;
  overflow: hidden;
}
.advisor-photo-wrap { min-height: 380px; overflow: hidden; background: #ddd; }
.advisor-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.advisor-copy { padding: 52px 28px 44px; align-self: center; }
.advisor-copy h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--purple-ink);
  font-size: clamp(29px, 2.5vw, 40px);
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
}
.advisor-copy p { max-width: 430px; margin: 0; color: #303036; font-size: 14px; line-height: 1.65; }
.signature { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 27px !important; margin-top: 23px !important; color: #16161b !important; }
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 36px 35px 32px 10px;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  padding: 10px 16px;
}
.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid #d6d1c8; }
.stat:nth-child(1), .stat:nth-child(3) { border-right: 1px solid #d6d1c8; }
.stat-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--purple); display: grid; place-items: center; margin-bottom: 8px; }
.stat-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat strong { color: var(--purple-ink); font-size: clamp(31px, 3vw, 46px); line-height: 1; margin: 0 0 7px; font-weight: 700; }
.stat span:not(.stat-icon):not(.stat-label) { font-size: 11px; line-height: 1.3; font-weight: 700; }
.stat-label { font-size: 11px; line-height: 1.3; margin-bottom: 3px; }
.source-note { position: absolute; bottom: 10px; left: 0; right: 35px; margin: 0; text-align: center; font-size: 9px; color: #666; }

.sales-section { padding: 22px 4.3vw 19px; background: white; }
.sales-section > h2 { color: var(--purple-ink); text-align: center; font-size: 22px; margin: 0 0 18px; font-weight: 700; }
.sales-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1440px; margin: 0 auto; }
.sale-card { border: 1px solid #d8d8dc; border-radius: 3px; overflow: hidden; background: white; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.sale-image-wrap { position: relative; height: 136px; overflow: hidden; background: #eee; }
.sale-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sale-card:nth-child(2) .sale-image-wrap img { object-position: center 52%; }
.sale-card:nth-child(3) .sale-image-wrap img, .sale-card:nth-child(4) .sale-image-wrap img { transform: scale(1.05); }
.sold-badge { position: absolute; top: 9px; left: 10px; background: var(--purple-deep); color: white; border-radius: 3px; padding: 5px 11px; font-size: 11px; font-weight: 700; }
.sale-copy { padding: 13px 14px 15px; }
.sale-copy h3 { color: var(--purple-ink); font-size: 15px; margin: 0 0 6px; }
.sale-copy p { font-size: 12px; margin: 0 0 8px; color: #34343a; }
.sale-copy strong { font-size: 15px; }
.sales-disclaimer { max-width: 1440px; margin: 10px auto 0; text-align: center; color: #73737a; font-size: 9px; }

.trust-section {
  display: grid;
  grid-template-columns: 1.1fr .95fr 1.05fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(100deg, #24146b, #16104e);
  color: white;
  padding: 28px 5.5vw;
}
.why-work h2 { color: var(--gold); margin: 0 0 14px; font-size: 19px; }
.why-work ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.why-work li { font-size: 12px; line-height: 1.4; position: relative; padding-left: 27px; }
.why-work li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; border: 1.5px solid var(--gold); color: var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.testimonial { margin: 0; border: 1px solid rgba(255,255,255,.27); border-radius: 4px; padding: 25px 28px 15px; min-height: 175px; position: relative; }
.quote-mark { color: var(--gold); font-family: Georgia, serif; font-size: 44px; line-height: .6; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); }
.testimonial blockquote { margin: 16px 0 8px; font-size: 11.5px; line-height: 1.48; color: rgba(255,255,255,.95); }
.testimonial figcaption { color: var(--gold); font-size: 12px; font-weight: 700; }
.stars { color: var(--gold); font-size: 22px; text-align: center; letter-spacing: 3px; line-height: 1; margin-top: 7px; }
.contact-block { display: grid; justify-items: center; gap: 10px; }
.contact-block img { width: 176px; height: 99px; object-fit: cover; object-position: center; border-radius: 8px; }
.phone-link { display: inline-flex; align-items: center; gap: 11px; font-size: clamp(22px, 2.2vw, 34px); text-decoration: none; white-space: nowrap; }
.phone-link svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-link:hover { color: var(--gold); }

.bottom-cta {
  min-height: 105px;
  display: grid;
  grid-template-columns: 150px 1fr 1.35fr;
  align-items: center;
  gap: 26px;
  padding: 12px 6vw 0;
  background: #fbf7f1;
  overflow: hidden;
}
.phone-mockup { width: 70px; height: 130px; border: 3px solid #2a2a2e; border-radius: 14px; background: white; justify-self: center; position: relative; padding-top: 19px; transform: translateY(25px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 28px; height: 5px; border-radius: 20px; background: #2a2a2e; }
.phone-mockup img { width: 100%; height: 72px; object-fit: cover; object-position: center; }
.bottom-copy { border-right: 1px solid #bfb9af; padding-right: 34px; }
.bottom-copy h2 { font-family: "Playfair Display", Georgia, serif; color: var(--purple-ink); font-size: clamp(21px, 2.3vw, 31px); line-height: 1.06; text-align: center; margin: 0 0 6px; }
.bottom-copy p { text-align: center; color: var(--purple-ink); margin: 0; font-size: 12px; }
.bottom-action { display: grid; gap: 6px; }
.bottom-button { min-height: 50px; font-size: 14px; }
.bottom-button span { font-size: 25px; line-height: .8; }
.privacy-line.dark { color: #57575e; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 28px; }
  .hero-benefits { grid-template-columns: 1fr; gap: 12px; max-width: 390px; }
  .benefit { grid-template-columns: 44px 1fr; }
  .benefit-icon { width: 42px; height: 42px; }
  .advisor-section { grid-template-columns: 31% 32% 37%; }
  .sales-grid { gap: 14px; }
  .trust-section { grid-template-columns: 1fr 1fr; }
  .contact-block { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: center; align-items: center; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; }
  .hero-inner { display: block; width: 100%; padding-bottom: 36px; }
  .hero-copy { display: block; }
  .hero-logo { width: 205px; height: 116px; margin-left: 18px; }
  .hero-text-block { padding: 0 22px; max-width: none; }
  .hero h1 { font-size: clamp(44px, 10vw, 66px); }
  .hero-benefits { grid-template-columns: 1fr; margin-bottom: 32px; }
  .valuation-card { max-width: calc(100% - 32px); margin: 0 auto; justify-self: auto; padding: 28px 22px 24px; }

  .advisor-section { grid-template-columns: 1fr; }
  .advisor-photo-wrap { min-height: 520px; }
  .advisor-photo { object-position: center 26%; }
  .advisor-copy { padding: 40px 26px; }
  .stats-grid { padding: 15px 20px 40px; }
  .source-note { right: 0; bottom: 13px; }

  .sales-grid { grid-template-columns: 1fr 1fr; }
  .sale-image-wrap { height: 160px; }
  .trust-section { grid-template-columns: 1fr; gap: 24px; padding: 32px 26px; }
  .contact-block { grid-column: auto; grid-template-columns: 1fr; }
  .bottom-cta { grid-template-columns: 90px 1fr; gap: 8px; padding: 14px 22px 0; }
  .bottom-copy { border-right: 0; padding-right: 0; }
  .bottom-action { grid-column: 1 / -1; padding-bottom: 18px; }
}

@media (max-width: 520px) {
  .hero-logo { width: 170px; height: 96px; }
  .eyebrow { font-size: 14px; }
  .hero h1 { font-size: 43px; }
  .hero-lede { font-size: 16px; }
  .benefit strong, .benefit span { font-size: 11px; }
  .valuation-heading h2 { font-size: 22px; }
  .advisor-photo-wrap { min-height: 430px; }
  .advisor-copy h2 { font-size: 34px; }
  .stats-grid { padding: 12px 12px 38px; }
  .stat { min-height: 132px; padding: 8px 5px; }
  .stat strong { font-size: 31px; }
  .stat span:not(.stat-icon):not(.stat-label), .stat-label { font-size: 9.5px; }
  .sales-section { padding-left: 18px; padding-right: 18px; }
  .sales-grid { grid-template-columns: 1fr; }
  .sale-image-wrap { height: 190px; }
  .trust-section { padding: 30px 22px; }
  .phone-link { font-size: 24px; }
  .bottom-cta { grid-template-columns: 1fr; padding-top: 24px; text-align: center; }
  .phone-mockup { display: none; }
  .bottom-copy { padding: 0; }
  .bottom-action { grid-column: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button { transition: none; }
}
