/* Reference-led property hero; no shared page or header styles are changed. */
.property-detail-hero.property-reference-hero {
  display: flex;
  align-items: flex-end;
  height: 100vh;
  min-height: 0;
  padding: 190px 0 32px;
  background: #193329;
}

.property-reference-hero.property-detail-hero .page-hero-bg {
  filter: saturate(.92);
}

.property-reference-hero.property-detail-hero .page-hero-bg-image {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.property-reference-hero.property-detail-hero .page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 25, 22, .62), rgba(10, 25, 22, .18) 68%, rgba(10, 25, 22, .1)),
    linear-gradient(0deg, rgba(10, 25, 22, .78), transparent 75%);
}

.property-reference-hero.property-detail-hero > .property-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  min-height: 0;
  gap: 40px;
  padding: 0;
}

.property-reference-hero.property-detail-hero .page-hero-content {
  width: 100%;
  max-width: 780px;
  margin: 0;
  padding: 0;
}

.property-reference-hero.property-detail-hero .page-hero-content h1 {
  max-width: 15ch;
  margin: 0 0 20px;
  color: #F8F7F4;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.property-reference-hero.property-detail-hero.has-property-subtitle .page-hero-content h1 {
  margin-bottom: 8px;
}

.property-reference-hero.property-detail-hero .property-hero-subtitle {
  max-width: 54ch;
  margin: 0 0 26px;
  color: rgba(248, 247, 244, .9);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .01em;
  text-wrap: pretty;
}

.property-reference-hero.property-detail-hero .property-hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 0;
  color: #F8F7F4;
  font-size: 16px;
  line-height: 1.5;
}

.property-reference-hero .property-hero-location::after {
  content: "";
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  margin-left: 8px;
  background: rgba(248, 247, 244, .6);
}

.property-reference-hero .property-hero-location svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.property-reference-hero .property-hero-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.property-reference-hero.property-detail-hero .property-hero-actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  width: auto;
  max-width: none;
}

.property-reference-hero.property-detail-hero .property-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 26px;
  border: 1px solid rgba(248, 247, 244, .7);
  border-radius: 12px;
  box-shadow: none;
  color: #F8F7F4;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.property-reference-hero.property-detail-hero .property-hero-actions .btn-primary {
  border-color: #D3BD94;
  background: #154734;
}

.property-reference-hero.property-detail-hero .property-hero-brochure {
  order: initial;
  background: rgba(10, 25, 22, .18);
}

.property-reference-hero.property-detail-hero .property-hero-actions .btn:hover {
  border-color: #F8F7F4;
  background: #24644F;
  color: #fff;
}

.property-reference-hero .property-hero-actions svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.property-reference-hero.property-detail-hero .property-hero-price {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: auto;
  min-width: 0;
  max-width: 40vw;
  margin: 0;
  padding: 0 0 0 24px;
  border: 0;
  border-left: 1px solid rgba(248, 247, 244, .65);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  white-space: normal;
}

.property-reference-hero.property-detail-hero .property-hero-price-label {
  color: #F8F7F4;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
}

.property-reference-hero.property-detail-hero .property-hero-price strong {
  color: #F8F7F4;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.property-reference-hero a:focus-visible,
.property-reference-hero button:focus-visible {
  outline: 2px solid #F8F7F4;
  outline-offset: 5px;
}

@media (max-width: 1100px) {
  .property-reference-hero .property-hero-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .property-reference-hero.property-detail-hero .property-hero-price {
    max-width: 100%;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .property-detail-hero.property-reference-hero {
    padding: 160px 0 calc(110px + env(safe-area-inset-bottom));
  }

  .property-reference-hero.property-detail-hero > .property-hero-layout {
    gap: 28px;
  }

  .property-reference-hero.property-detail-hero .page-hero-content h1 {
    max-width: 18ch;
    font-size: clamp(34px, 7.5vw, 54px);
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .property-reference-hero.property-detail-hero.has-property-subtitle .page-hero-content h1 {
    margin-bottom: 7px;
  }

  .property-reference-hero.property-detail-hero .property-hero-subtitle {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.5;
  }

  .property-reference-hero.property-detail-hero .property-hero-location {
    gap: 10px;
    font-size: 14px;
  }

  .property-reference-hero.property-detail-hero .property-hero-actions {
    gap: 12px;
  }

  .property-reference-hero.property-detail-hero .property-hero-actions .btn {
    flex: 1 1 180px;
    min-height: 52px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .property-reference-hero.property-detail-hero .property-hero-price strong {
    font-size: clamp(28px, 6vw, 38px);
  }

}
