.home-buy-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(390px, 67svh, 660px);
  padding: clamp(32px, 7vw, 96px) 20px;
  background: #30251e;
  color: #fffaf1;
}
.home-buy-video, .home-buy-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-buy-video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}
.home-buy-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgb(30 21 16 / 80%), rgb(30 21 16 / 44%));
}
.home-buy-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
}
.home-buy-inner .home-buy-brand {
  margin: 0 0 12px;
  color: #ffe2bc;
  font-weight: 700;
}
.elementor .home-buy-inner h1 {
  max-width: 18ch;
  margin: 0 0 22px;
  color: #fffaf1;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
  text-wrap: balance;
}
.home-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home-buy-actions a, .home-property-featured .home-property-financing, .home-property-featured .home-property-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.home-buy-actions .home-buy-primary {
  background: #a65a16;
  color: #fff;
}
.home-buy-actions .home-buy-primary:hover { background: #88440f; color: #fff; }
.home-buy-actions .home-buy-secondary { color: #fffaf1; border-color: currentColor; }
.home-buy-actions .home-buy-secondary:hover { background: #fff2df; color: #63330e; }
.home-buy-actions a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ssj-home .home-property-featured .home-property-specs {
  margin-bottom: 9px;
  color: #574a3f;
  font-weight: 600;
}
.home-property-featured .home-property-actions { gap: 8px; }
.home-property-featured .home-property-financing {
  border-color: #a65a16;
  color: #88440f;
  background: #fff8ed;
  font-size: .875rem;
}
.home-property-featured .home-property-landing { padding-inline: 0; text-decoration: underline; }
@media (max-width: 440px) {
  .home-buy-actions { display: grid; justify-items: start; }
  .home-buy-hero { min-height: clamp(370px, 57svh, 480px); }
}

.home-buy-guide {
  margin-block: clamp(24px, 4vw, 48px);
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid #eadbc7;
  border-radius: 14px;
  background: #f8ecd9;
}
.home-properties .home-buy-guide h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.home-buy-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: home-buy-step;
}
.home-buy-steps li {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border: 1px solid #eadbc7;
  border-radius: 9px;
  background: #fffdf8;
  counter-increment: home-buy-step;
}
.home-buy-steps li::before {
  content: counter(home-buy-step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f8ecd9;
  color: #88440f;
  font-weight: 700;
}
.home-properties .home-buy-steps h3 { margin: 0 0 5px; font-size: 1.15rem; }
.home-buy-steps p { margin: 0 0 6px; color: #574a3f; }
.home-buy-step-links { margin-top: auto; display: grid; justify-items: start; }
.home-buy-step-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #88440f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .home-buy-steps { grid-template-columns: minmax(0, 1fr); }
}
