.estate-hero {
  min-height: 720px;
  grid-template-columns: minmax(0, .94fr) minmax(340px, .46fr);
  gap: clamp(36px, 6vw, 90px);
  color: #f7f1e7;
  background:
    linear-gradient(90deg, rgba(5, 13, 10, .97) 0%, rgba(5, 13, 10, .88) 34%, rgba(5, 13, 10, .36) 68%, rgba(5, 13, 10, .22) 100%),
    url("assets/properties/estate-decision-board-v1.png") center / cover no-repeat;
}

.estate-hero::before {
  inset: 22px;
  width: auto;
  height: auto;
  border: 1px solid rgba(205, 170, 106, .28);
  border-radius: 0;
  pointer-events: none;
}

.estate-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.estate-hero h1 {
  max-width: 650px;
  margin: 18px 0 24px;
  color: #f7f1e7;
  font: 500 clamp(40px, 4vw, 60px)/1.18 "Noto Serif SC", serif;
  letter-spacing: -.045em;
}

.estate-hero h1 > span,
.estate-hero h1 > em {
  display: block;
}

.estate-hero h1 em {
  margin-top: 7px;
  color: #d0aa68;
  font-style: normal;
}

.hero-punct {
  display: inline-block;
  margin-left: .04em;
  font-size: .43em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: .12em;
  opacity: .82;
}

.estate-hero > .estate-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(247, 241, 231, .76);
  font-size: 15px;
  line-height: 2;
}

.decision-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 27px 0 6px;
}

.decision-points span {
  padding: 8px 11px;
  border: 1px solid rgba(208, 170, 104, .32);
  background: rgba(8, 20, 15, .56);
  color: #ddd2c0;
  font-size: 10px;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
}

.cost-tool-link {
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  gap: 12px;
  width: min(100%, 338px);
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(213, 178, 111, .48);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(21, 39, 31, .82), rgba(8, 20, 15, .66));
  color: #f8f1e4;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 238, 201, .1);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cost-tool-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(224, 192, 130, .56);
  border-radius: 10px;
  background: rgba(202, 164, 97, .14);
  color: #d8b779;
  font: 500 20px "Cormorant Garamond", serif;
}

.cost-tool-link > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.cost-tool-link small {
  color: #ad9e87;
  font: 600 7px "DM Sans", sans-serif;
  letter-spacing: .16em;
}

.cost-tool-link b {
  color: #f8f1e4;
  font-size: 13px;
  font-weight: 500;
}

.cost-tool-link i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c7a363;
  color: #122019;
  font-style: normal;
  transition: transform .2s ease;
}

.cost-tool-link:hover {
  border-color: #d9b672;
  background: linear-gradient(135deg, rgba(29, 52, 42, .94), rgba(11, 27, 20, .84));
  box-shadow: 0 13px 30px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 238, 201, .16);
  transform: translateY(-3px);
}

.cost-tool-link:hover i { transform: translateX(3px); }

.estate-hero aside {
  z-index: 3;
  border: 1px solid rgba(225, 205, 170, .32);
  border-top: 2px solid #c9a465;
  background: rgba(244, 238, 226, .9);
  color: #171714;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .4);
  backdrop-filter: blur(18px);
}

.estate-hero aside > small {
  color: #92713f;
  font-size: 8px;
  letter-spacing: .2em;
}

.estate-hero aside > p {
  margin-top: 8px;
  font-size: 24px;
}

.estate-hero .search-button {
  position: relative;
  min-height: 60px;
  overflow: hidden;
  border: 1px solid #d7b574;
  border-radius: 13px;
  background: linear-gradient(145deg, #29483b 0%, #183027 52%, #0c1914 100%);
  color: #fff8eb;
  font-family: "Noto Sans SC", "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .025em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
  box-shadow:
    0 7px 0 #07100c,
    0 14px 24px rgba(4, 17, 11, .34),
    inset 0 1px rgba(255, 228, 166, .44),
    inset 0 -1px rgba(0, 0, 0, .62);
  transform: translateY(-4px);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.estate-hero .search-button::before {
  content: "⌕";
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 12px;
  border: 1px solid rgba(246, 215, 153, .7);
  border-radius: 8px;
  background: linear-gradient(145deg, #cfae70, #8d6938);
  color: #20180e;
  font-size: 19px;
  line-height: 1;
  text-shadow: 0 1px rgba(255, 244, 214, .55);
  box-shadow: inset 0 1px #fff0c4, 0 3px 6px rgba(0, 0, 0, .38);
  vertical-align: middle;
}

.estate-hero .search-button:hover {
  filter: brightness(1.13);
  transform: translateY(-8px);
  box-shadow:
    0 11px 0 #07100c,
    0 20px 28px rgba(4, 17, 11, .42),
    inset 0 1px rgba(255, 228, 166, .62);
}

.estate-hero .search-button:active {
  filter: brightness(.98);
  transform: translateY(1px);
  box-shadow: 0 2px 0 #07100c, 0 5px 9px rgba(4, 17, 11, .3), inset 0 2px 5px rgba(0, 0, 0, .48);
}

.estate-hero .search-button:focus-visible {
  outline: 2px solid #efd08f;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .estate-hero {
    grid-template-columns: 1fr;
    background-position: 60% center;
  }
  .estate-hero aside { max-width: 590px; }
}

@media (max-width: 650px) {
  .estate-hero {
    min-height: auto;
    padding: 68px 20px 42px;
    background:
      linear-gradient(180deg, rgba(5, 13, 10, .96) 0%, rgba(5, 13, 10, .82) 48%, rgba(5, 13, 10, .52) 100%),
      url("assets/properties/estate-decision-board-v1.png") 64% center / cover no-repeat;
  }
  .estate-hero::before { inset: 10px; }
  .estate-hero h1 {
    max-width: 520px;
    font-size: clamp(35px, 9.5vw, 44px);
    line-height: 1.22;
    letter-spacing: -.04em;
  }
  .estate-hero > .estate-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.85;
  }
  .decision-points span { background: rgba(5, 13, 10, .72); }
  .estate-hero aside { padding: 25px 20px; }
}
