:root {
  --black: #33373a;
  --ink: #202326;
  --graphite: #3f4549;
  --steel: #697075;
  --line: #d5d8d6;
  --soft-line: #e8ebe9;
  --mist: #f1f2f0;
  --paper: #ffffff;
  --field: #f3f4f2;
  --reverse: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(158px, 19.8vw, 231px);
  height: 57px;
  object-fit: contain;
  object-position: left center;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--reverse);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--reverse);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(51, 55, 58, 0.92), rgba(51, 55, 58, 0.74)),
    url("./images/sacramento-home-selling.jpg") center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(324px, 0.83fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: #cfcfcf;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(52px, 6.6vw, 84px);
  text-transform: uppercase;
}

.lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: #e7e7e7;
  font-size: clamp(21px, 2.42vw, 26px);
  font-weight: 650;
}

.hero-note {
  max-width: 520px;
  margin: 14px 0 0;
  color: #d0d3d2;
  font-size: 19px;
}

.hero-areas {
  display: grid;
  gap: 12px;
  max-width: 650px;
  margin-top: 28px;
}

.hero-areas span {
  color: #d7dad9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-areas li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f3f2;
  font-size: 14px;
  font-weight: 800;
}

.hero-form-wrap {
  width: 100%;
}

.form-card {
  background: #fbfbfa;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.form-head {
  padding: 28px 30px 0;
}

.form-head h2 {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  text-transform: uppercase;
}

.form-head p {
  margin: 10px 0 0;
  color: var(--steel);
  font-weight: 650;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 30px;
}

.field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--graphite);
}

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

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  padding: 14px 13px;
  font: inherit;
  font-size: 16px;
}

input:focus {
  outline: 3px solid #cfcfcf;
  border-color: var(--black);
}

.submit-row {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.button {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--reverse);
  padding: 16px 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: #4a4f52;
}

.fineprint {
  margin: 0;
  color: var(--steel);
  font-size: 12px;
}

.error {
  display: none;
  margin: 0;
  border: 1px solid #b00020;
  color: #b00020;
  background: #fff5f6;
  padding: 10px 12px;
  font-size: 14px;
}

.error.is-visible {
  display: block;
}

.section {
  padding: 82px 0;
}

.proof-band {
  padding: 34px 0;
  background: var(--paper);
}

.section.alt {
  background: var(--mist);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  color: var(--black);
  font-size: clamp(38px, 5.2vw, 66px);
  text-transform: uppercase;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--steel);
  font-size: 18px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split-feature .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.split-feature .section-head {
  margin-bottom: 0;
}

.feature-panel {
  background: var(--black);
  color: var(--reverse);
  padding: 36px;
}

.feature-topline {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: #eceeed;
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--reverse);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--black);
}

.proof-item {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--black);
  background: var(--paper);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 750;
}

.steps,
.situations {
  display: grid;
  gap: 22px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step,
.situation {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: var(--black);
  color: var(--reverse);
  font-weight: 900;
}

.step h3,
.situation h3 {
  color: var(--black);
  font-size: 28px;
  text-transform: uppercase;
}

.step p,
.situation p {
  margin: 12px 0 0;
  color: var(--steel);
}

.benefits-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 34px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.benefits-summary p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.35;
}

.benefits-summary ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits-summary li {
  position: relative;
  padding-left: 22px;
  color: var(--steel);
  font-weight: 400;
}

.benefits-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--black);
}

.situation-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 8px;
  background: var(--black);
  color: var(--reverse);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.situations {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--black);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--steel);
}

.bottom-cta {
  background: var(--black);
  color: var(--reverse);
  text-align: center;
}

.bottom-cta h2 {
  font-size: clamp(40px, 6vw, 76px);
  text-transform: uppercase;
}

.bottom-cta p {
  max-width: 660px;
  margin: 16px auto 28px;
  color: #dcdcdc;
  font-size: 18px;
}

.bottom-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button.light {
  background: var(--reverse);
  color: var(--black);
  border-color: var(--reverse);
}

.button.outline {
  background: transparent;
  color: var(--reverse);
  border-color: rgba(255, 255, 255, 0.56);
}

.button.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer {
  padding: 40px 0;
  background: #f6f7f5;
  color: var(--graphite);
  border-top: 1px solid var(--soft-line);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer .brand {
  color: var(--ink);
}

.footer .brand-logo {
  width: min(242px, 100%);
  height: 79px;
}

.footer p {
  margin: 16px 0 0;
  color: var(--steel);
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-links a {
  color: var(--graphite);
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero-grid,
  .split-feature .wrap,
  .proof-row,
  .steps,
  .benefits-summary,
  .situations,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 32px;
    padding: 46px 0 62px;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--black);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .topbar-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 141px;
    height: 48px;
  }

  .topbar .phone-link {
    padding: 9px 10px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero {
    background: #080808;
  }

  .hero-grid {
    padding: 34px 0 38px;
  }

  .lede {
    margin-top: 18px;
    font-size: 20px;
  }

  .hero-areas {
    margin-top: 22px;
  }

  .hero-areas li {
    font-size: 13px;
  }

  .form-card {
    margin-top: 8px;
  }

  .lead-form {
    padding: 18px;
  }

  .form-head {
    padding: 20px 18px 0;
  }

  .form-head h2 {
    font-size: 30px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .proof-item {
    min-height: 110px;
  }

  .bottom-actions {
    display: grid;
  }
}
