/* Main navigation and homepage hero. */
.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  color: #080808;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1680px;
  min-height: 132px;
  margin: 0 auto;
  padding: 24px 40px;
}

.site-header__brand {
  flex-shrink: 0;
  width: 270px;
  margin-right: auto;
}

.site-header__brand img,
.mobile-menu__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header__links,
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.site-header__links {
  font-size: 16px;
  font-weight: 500;
}

.site-header__links a {
  transition: color 160ms ease;
}

.site-header__links a[aria-current="page"] {
  font-weight: 800;
}

.site-header__links a:hover,
.site-header__phone:hover {
  color: #8d8e29;
}

.site-header__reviews {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-stars {
  color: #ffb400;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.site-header__reviews .rating-stars {
  font-size: 18px;
}

.site-header__actions {
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 18px;
  margin-right: 6px;
  border-left: 2px solid #dedede;
}

.site-header__phone svg {
  width: 22px;
  height: 22px;
  color: #9caa2e;
  fill: currentColor;
  stroke-width: 0;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 18px;
  border: 2px solid #080808;
  border-radius: 20px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.header-button--outline {
  background: #fff;
  color: #080808;
}

.header-button--dark {
  background: #080808;
  color: #fff;
}

.header-button:hover {
  background: #bab86c;
  border-color: #bab86c;
  color: #080808;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #080808;
}

.site-header__toggle svg {
  width: 32px;
  height: 32px;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.mobile-menu a:focus-visible,
.mobile-menu button:focus-visible,
.home-hero a:focus-visible,
.property-search :focus-visible {
  outline: 3px solid #a3a536;
  outline-offset: 4px;
}

/* The drawer stays outside document flow and scrolls independently. */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgb(0 0 0 / 28%);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 120;
  width: min(80vw, 480px);
  height: 100%;
  height: 100dvh;
  padding: 28px 16px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #080808;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 240ms ease, visibility 240ms;
}

.mobile-menu[aria-hidden="false"] {
  visibility: visible;
  transform: translateX(0);
}

body.menu-is-open {
  overflow: hidden;
}

.mobile-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
  padding: 0 10px;
}

.mobile-menu__brand {
  width: calc(100% - 44px);
  max-width: 310px;
  padding-top: 4px;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.mobile-menu__close svg {
  width: 32px;
  height: 32px;
}

.mobile-menu__links li {
  padding: 0 14px;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 12px 6px;
  border-bottom: 1px solid #dedee0;
  font-size: clamp(17px, 4.7vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}

.mobile-menu__links a[aria-current="page"],
.mobile-menu__actions .header-button[aria-current="page"] {
  border: 1px solid #b5b563;
  border-radius: 16px;
  background: #f9f7ed;
  color: #080808;
  font-weight: 800;
}

.mobile-menu__links a[aria-current="page"] {
  margin: 0 -14px;
  padding: 12px 20px;
}

.mobile-menu__links a[aria-current="page"] svg,
.mobile-menu__actions .header-button[aria-current="page"] svg {
  color: #979925;
}

.mobile-menu__links svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: #aaa960;
}

.mobile-menu__reviews a {
  gap: 16px;
}

.mobile-menu__reviews .rating-stars {
  margin-left: auto;
  font-size: clamp(14px, 4vw, 22px);
}

.mobile-menu__phone {
  display: block;
  margin: 0 14px;
  padding: 12px 0;
  border-bottom: 1px solid #dedee0;
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.5;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 50px;
}

.mobile-menu__actions .header-button {
  gap: 12px;
  min-height: 54px;
  padding: 12px 8px;
  border-radius: 15px;
  font-size: clamp(15px, 4.5vw, 23px);
}

.mobile-menu__actions svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(720px, 56.5vw, 940px);
  background: #191919;
  color: #fff;
}

.home-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgb(0 0 0 / 13%);
}

.home-hero__content {
  padding: clamp(100px, 10.6vw, 180px) 24px 60px;
  text-align: center;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(56px, 5.2vw, 88px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.025em;
}

.home-hero h1 span {
  color: #b6c23c;
}

.home-hero__subtitle {
  margin-top: 10px;
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.4;
  font-weight: 400;
}

.home-hero__reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 14px;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.4;
}

.home-hero__reviews .rating-stars {
  font-size: 28px;
}

.home-hero__reviews strong {
  font-weight: 800;
}

.home-hero__reviews a {
  color: #d3d53c;
  font-size: .9em;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-hero__reviews a:hover {
  color: #fff;
}

.home-hero__bottom {
  padding: 0 0 20px;
}

.home-hero__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 0 30px 24px;
}

.home-hero__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
}

.home-hero__socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.property-search {
  position: relative;
  z-index: 2;
  width: calc(100% - 64px);
  max-width: 1312px;
  margin: 0 auto;
  color: #101015;
}

.property-search--standalone {
  margin-top: -80px;
  margin-bottom: 48px;
}

.property-search__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, .78fr);
  align-items: end;
  gap: 30px;
  padding: 34px 40px 40px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 6px 24px rgb(0 0 0 / 8%);
}

.property-search__field {
  min-width: 0;
}

.property-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}

.property-search .property-search__select {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 12px 42px 12px 20px;
  border: 1px solid #d5d5db;
  border-radius: 10px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23101015' stroke-width='1.8'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 3%);
  color: #101015;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.5;
  cursor: pointer;
}

.property-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 68px;
  padding: 15px 20px;
  border-radius: 12px;
  background: #080808;
  color: #fff;
  font-size: 21px;
  line-height: 1.4;
  transition: background-color 160ms ease;
}

.property-search__submit:hover {
  background: #333;
}

.home-intro {
  padding: 32px 24px 0;
}

@media (min-width: 1280px) and (max-width: 1499px) {
  .site-header__inner {
    min-height: 112px;
    gap: 20px;
    padding: 24px;
  }
  .site-header__brand { width: 220px; }
  .site-header__links { gap: 20px; font-size: 15px; }
  .site-header__actions { gap: 10px; font-size: 14px; }
  .site-header__phone { gap: 8px; padding-left: 14px; margin-right: 0; }
  .site-header .header-button { padding: 9px 14px; }
}

@media (max-width: 1279px) {
  .site-header__inner { min-height: 100px; padding: 18px 28px; gap: 20px; }
  .site-header__brand { width: 230px; }
  .site-header__links,
  .site-header__phone { display: none; }
  .site-header__toggle { display: flex; }
  .home-hero { min-height: 760px; }
  .property-search__form { gap: 20px; padding: 28px; }
  .property-search label { font-size: 16px; }
  .property-search .property-search__select { font-size: 16px; padding-left: 14px; }
  .property-search__submit { font-size: 18px; gap: 14px; min-height: 58px; }
}

@media (max-width: 967px) {
  .site-header__inner { min-height: 88px; padding: 14px 24px; }
  .site-header__brand { width: 210px; }
  .site-header__actions { display: none; }
  .home-hero { min-height: 800px; }
  .home-hero__content { padding: 80px 24px 50px; }
  .home-hero h1 { font-size: clamp(44px, 7vw, 64px); }
  .home-hero__subtitle { max-width: 620px; margin: 20px auto 0; font-size: 21px; }
  .home-hero__reviews { gap: 10px 14px; font-size: 18px; }
  .home-hero__reviews .rating-stars { font-size: 25px; }
  .home-hero__review-divider { display: none; }
  .property-search__form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .property-search--standalone { margin-top: -40px; }
}

@media (max-width: 619px) {
  .site-header__inner { min-height: 84px; padding: 12px 18px; }
  .site-header__brand { width: 200px; }
  .home-hero { min-height: 0; }
  .home-hero__photo { object-position: 58% center; }
  .home-hero__content { padding: 64px 18px 40px; }
  .home-hero h1 { font-size: clamp(38px, 10vw, 56px); line-height: 1.04; }
  .home-hero__subtitle { margin-top: 20px; font-size: 17px; line-height: 1.5; }
  .home-hero__reviews { gap: 8px; max-width: 350px; margin: 20px auto 0; font-size: 16px; }
  .home-hero__reviews .rating-stars { font-size: 22px; }
  .home-hero__reviews a { flex-basis: 100%; font-size: 16px; }
  .home-hero__socials { gap: 18px; padding: 0 22px 18px; }
  .home-hero__socials a { min-width: 36px; min-height: 36px; }
  .home-hero__socials img { width: 24px; height: 24px; }
  .property-search { width: calc(100% - 32px); }
  .property-search__form { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px; border-radius: 24px; }
  .property-search label { margin-bottom: 7px; font-size: 16px; }
  .property-search .property-search__select { min-height: 52px; font-size: 16px; }
  .property-search__submit { min-height: 56px; margin-top: 2px; font-size: 18px; }
  .property-search--standalone { margin-top: -28px; margin-bottom: 32px; }
  .home-intro { padding: 30px 20px 0; }
}

@media (max-width: 359px) {
  .mobile-menu { padding-right: 12px; padding-left: 12px; }
  .mobile-menu__links a { gap: 12px; }
  .mobile-menu__reviews a { gap: 9px; }
  .mobile-menu__links svg { width: 26px; height: 26px; }
  .mobile-menu__reviews .rating-stars { font-size: 13px; }
  .mobile-menu__actions .header-button { gap: 8px; font-size: 14px; }
  .mobile-menu__actions svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}
