:root {
  --ink: #063545;
  --ink-deep: #003546;
  --teal: #174f61;
  --footer: #003546;
  --muted: #6d7b80;
  --line: #9ba9ad;
  --gold: #d3a23b;
  --cloud: #eef1f2;
  --white: #ffffff;
  --black: #0b0f12;
  --shadow: 0 24px 54px rgba(0, 31, 43, 0.22);
  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-body: OptimaLocal, "Inter", Arial, Helvetica, sans-serif;
  --font-serif: OptimaLocal, "Cormorant Garamond", Georgia, serif;
}

@font-face {
  font-family: OptimaLocal;
  src: url("Fonts/OPTIMA.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: OptimaLocal;
  src: url("Fonts/OPTIMA_B.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--black);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.45;
  overflow-x: hidden;
}

body > main {
  flex: 1 0 auto;
}

body > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1396px, calc(100% - 64px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  padding-top: 62px;
  pointer-events: none;
  transition: padding-top 240ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  z-index: 1000;
  padding-top: 0;
}

.nav-shell {
  width: min(1564px, calc(100% - 176px));
  height: 72px;
  margin-inline: auto;
  padding: 0 42px 0 76px;
  display: grid;
  grid-template-columns: 260px 1fr 72px;
  align-items: center;
  border-radius: 999px;
  background: rgba(4, 51, 65, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 26, 35, 0.28);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  opacity: 60%;
}

.brand img {
  width: 140px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: right;
  justify-content: right;
  gap: 54px;
  margin: 0;
  padding: 0 40px;
  list-style: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 100;
}

.desktop-nav a {
  position: relative;
  padding: 26px 0;
  transition: color 0.32s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--gold);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Leasing nav dropdown (desktop): CSS-only, opens on hover or keyboard focus. */
.nav-has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 190px;
  margin: 8px 0 0;
  padding: 10px;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(12, 51, 64, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 31, 43, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown a {
  display: block;
  padding: 7.5px 14px;
  border-radius: 9px;
  color: #17323b;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown a::after {
  content: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: #edf3f4;
  color: var(--teal);
}

/* Down-facing chevron beside the "Leasing" trigger. Matches the search bar's
   .rent-search-bar .chevron look exactly, but usable anywhere (that rule is
   scoped to the rent search bar only). */
.chevron {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 180ms ease;
}

.chevron::before,
.chevron::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.chevron::before {
  left: 0;
  transform: rotate(45deg);
}

.chevron::after {
  right: 0;
  transform: rotate(-45deg);
}

/* IMPORTANT: the trigger <a> must stay `display: inline` (its default) so it
   keeps the exact same box/baseline as its plain-text siblings (Buy, Rent,
   Services) inside the shared flex nav — switching it to inline-flex here
   previously broke vertical alignment, pushing "Leasing" down inside the
   pill. Only the chevron itself is sized as inline-block. */
.nav-has-dropdown > a .chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

.nav-has-dropdown:hover > a .chevron,
.nav-has-dropdown:focus-within > a .chevron {
  transform: rotate(180deg);
}

.whatsapp {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  transition: color 0.32s ease, transform 0.32s ease;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  color: var(--gold);
  transform: translateY(-1px);
}

.whatsapp svg {
  width: 43px;
  height: 43px;
  fill: currentColor;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.premium-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
}

.premium-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(4, 51, 65, 0.52), rgba(4, 51, 65, 0.52)), url("assets/images/premium-page-hero-bedroom.jpg");
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.01);
}

.rent-hero-content {
  position: relative;
  z-index: 2;
  min-height: 700px;
  padding-top: 100px;
  padding-bottom: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.rent-hero-copy {
  width: min(1160px, 92%);
  margin: 0 auto clamp(40px, 5vh, 66px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 20, 27, 0.48);
}

.rent-filter-bar {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  overflow: visible;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(0, 26, 35, 0.24);
  backdrop-filter: blur(12px);
  padding-top: 84px;
}

.rent-filter {
  position: relative;
  min-width: 0;
}

.rent-filter + .rent-filter::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: rgba(10, 48, 60, 0.16);
}

.rent-filter-trigger {
  width: 100%;
  height: 100%;
  min-height: 78px;
  padding: 0 clamp(16px, 1.4vw, 26px);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 11px;
  border: 0;
  color: #17323b;
  background: transparent;
  font: 600 clamp(12px, 0.78vw, 15px)/1.2 var(--font-sans);
  text-align: left;
}

.rent-filter-icon {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1;
  text-align: center;
}

.rent-filter-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s ease;
}

.rent-filter.is-open .rent-filter-chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.rent-filter-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 12px;
  z-index: 100;
  min-width: 220px;
  padding: 14px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(12, 51, 64, 0.1);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 45px rgba(0, 31, 43, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.rent-price-filter .rent-filter-menu {
  right: 10px;
  left: auto;
}

.rent-filter.is-open .rent-filter-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.rent-filter-menu:not(.rent-price-menu) > label {
  min-height: 42px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  color: #17323b;
  font-size: 14px;
  cursor: pointer;
}

.rent-filter-menu > label:hover,
.rent-filter-menu > label:focus-within {
  background: #edf3f4;
}

.rent-filter-menu input {
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
}

.rent-filter-numbers {
  grid-template-columns: repeat(3, 48px);
  min-width: auto;
}

.rent-filter-numbers label {
  justify-content: center;
  padding: 0 !important;
}

.rent-filter-numbers input {
  position: absolute;
  opacity: 0;
}

.rent-filter-numbers input:checked + span {
  color: var(--white);
  background: var(--teal);
}

.rent-filter-numbers span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.rent-price-menu {
  width: min(440px, calc(100vw - 40px));
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: end;
  gap: 12px;
  padding: 20px;
}

.rent-price-menu label {
  display: grid;
  gap: 8px;
  color: #496069;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rent-price-menu select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(18, 56, 68, 0.24);
  border-radius: 9px;
  color: #17323b;
  background: var(--white);
  font: 500 14px var(--font-sans);
}

.rent-clear-filter {
  min-width: 154px;
  margin: 9px;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  color: var(--white);
  background: var(--teal);
  font: 700 13px var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.rent-clear-filter:hover,
.rent-clear-filter:focus-visible {
  background: var(--gold);
  transform: translateY(-1px);
}

.rent-filter-trigger:focus-visible,
.rent-price-menu select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

.rent-empty-state {
  margin: 20px 0 80px;
  padding: 54px 24px;
  border-radius: 24px;
  color: #17323b;
  background: var(--cloud);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 32px);
  text-align: center;
}

.exclusive-hero .premium-hero-image {
  background-image: linear-gradient(rgba(4, 51, 65, 0.5), rgba(4, 51, 65, 0.5)), url("assets/images/Fax2.jpg");
  background-position: center;
}

.buy-commercial-hero .premium-hero-image {
  background-image: linear-gradient(rgba(4, 51, 65, 0.5), rgba(4, 51, 65, 0.5)), url("assets/images/buy/commercial.jpg");
  background-position: center;
}

.buy-land-hero .premium-hero-image {
  background-image: linear-gradient(rgba(4, 51, 65, 0.5), rgba(4, 51, 65, 0.5)), url("assets/images/buy/land.jpg");
  background-position: center;
}

.buy-residential-hero .premium-hero-image {
  background-image: linear-gradient(rgba(4, 51, 65, 0.5), rgba(4, 51, 65, 0.5)), url("assets/images/buy/residential.jpg");
  background-position: center;
}

.properties-intro {
  position: relative;
  z-index: 10;
  padding: 82px 0 40px;
}

.intro-copy {
  width: min(1584px, 100%);
  margin: 0;
  color: #151b1f;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.45;
  font-weight: 400;
}

.properties-list {
  position: relative;
  z-index: 1;
  padding: 40px 0 108px;
}

.property-rows {
  display: grid;
  gap: 0;
}

.listing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(44px, 5vw, 72px);
  padding: 0 8px 88px;
}

.listing-row + .listing-row {
  border-top: 1px solid rgba(112, 135, 143, 0.62);
  padding-top: 88px;
}

.property-card {
  display: grid;
  grid-template-columns: clamp(220px, 16vw, 284px) minmax(210px, 1fr);
  align-items: start;
  gap: clamp(24px, 2vw, 34px);
}

.property-image {
  position: relative;
  display: block;
  aspect-ratio: 0.75;
  overflow: hidden;
  border-radius: 0;
  background: var(--cloud);
  box-shadow: 0 16px 32px rgba(0, 25, 33, 0.08);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.22, 1);
}

.property-card:hover .property-image img,
.property-image:focus-visible img {
  transform: scale(1.07);
}

.property-info {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.property-info h2 {
  margin: 0 0 8px;
  color: #121212;
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.26vw, 28px);
  line-height: 1.08;
  font-weight: 700;
}

.location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 36px;
  color: #1d3138;
  font-size: 18px;
  font-weight: 700;
}

.location svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
  flex: 0 0 auto;
}

.summary {
  max-width: 430px;
  margin: 0 0 34px;
  color: #111;
  font-size: clamp(15px, 0.8vw, 19px);
  line-height: 1.45;
  font-weight: 400;
}

/* Bedroom-count line: lists every count the property comes in (e.g. "1, 2 &
   3 Bedrooms" for a multi-unit development). Bathrooms are a detail-page
   -only field, not shown here. */
.beds-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ink-deep);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
}

.beds-line svg {
  width: 22px;
  height: 22px;
  fill: var(--ink-deep);
  flex: 0 0 auto;
}

.price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: var(--ink-deep);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
}

.price svg {
  width: 20px;
  height: 20px;
  fill: var(--ink-deep);
  flex: 0 0 auto;
}

/* Minimalist card buttons: plain text links with a thin divider between
   them, no pill background. */
.card-actions {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.card-actions a {
  padding: 0;
  min-width: 0;
  height: auto;
  display: inline-block;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 21px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.card-actions a:hover,
.card-actions a:focus-visible {
  color: var(--teal);
  background: transparent;
  transform: none;
}

.card-actions a + a {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(16, 16, 16, 0.25);
}

.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 41px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr 0.72fr 0.85fr;
  gap: clamp(48px, 6vw, 120px);
}

.site-footer h2,
.footer-subscribe h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

.footer-contact address {
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
  text-transform: uppercase;
}

.footer-contact a {
  font-size: 22px;
  font-weight: 800;
}

.footer-subscribe form {
  width: min(560px, 100%);
  margin: 26px 0 26px;
  display: grid;
  grid-template-columns: minmax(260px, 410px) max-content;
  align-items: center;
  gap: 40px;
}

.footer-subscribe input,
.footer-subscribe button {
  height: 46px;
  border: 0;
}

.footer-subscribe input {
  min-width: 0;
  padding: 0 28px;
  color: var(--ink);
  background: #d9d9d9;
  font-size: 16px;
  font-style: italic;
}

.footer-subscribe button {
  padding: 0;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.footer-subscribe h3 {
  margin-bottom: 15px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border-radius: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.socials svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.footer-links ul {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #dcebf0;
}

.reveal {
  --motion-translate-x: 0px;
  --motion-translate-y: 38px;
  --motion-duration: 1.1s;
  --motion-delay: 0.001s;
  --motion-fade-ease: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  --motion-glide-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 0;
  transform: none;
  backface-visibility: hidden;
}

.reveal.reveal-from-left {
  --motion-translate-x: -150px;
  --motion-translate-y: 0px;
}

.reveal.reveal-from-right {
  --motion-translate-x: 150px;
  --motion-translate-y: 0px;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: motion-floatIn var(--motion-duration) var(--motion-fade-ease) var(--motion-delay) backwards;
}

.reveal.reveal-from-left.is-visible,
.reveal.reveal-from-right.is-visible {
  animation-name: motion-glideIn;
  animation-timing-function: var(--motion-glide-ease);
}

.listing-row > .reveal:nth-child(2) {
  --motion-delay: 0.09s;
}

.footer-grid.reveal {
  opacity: 1;
  animation: none;
}

.footer-grid.reveal > * {
  --motion-translate-x: -90px;
  --motion-translate-y: 0px;
  opacity: 0;
}

.footer-grid.reveal > :nth-child(even) {
  --motion-translate-x: 90px;
}

.footer-grid.reveal > :nth-child(2) { --motion-delay: 0.07s; }
.footer-grid.reveal > :nth-child(3) { --motion-delay: 0.14s; }
.footer-grid.reveal > :nth-child(4) { --motion-delay: 0.21s; }

.footer-grid.reveal.is-visible > * {
  opacity: 1;
  animation: motion-glideIn var(--motion-duration) var(--motion-glide-ease) var(--motion-delay) backwards;
}

@keyframes motion-floatIn {
  0% {
    opacity: 0;
    animation-timing-function: step-end;
  }

  0.0001% {
    opacity: 0;
    transform: translate3d(var(--motion-translate-x), var(--motion-translate-y), 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes motion-glideIn {
  0% {
    opacity: 0;
    animation-timing-function: step-end;
  }

  0.0001% {
    opacity: 1;
    transform: translate3d(var(--motion-translate-x), var(--motion-translate-y), 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html:not(.motion-ready) .reveal,
html:not(.motion-ready) .footer-grid.reveal > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (max-width: 1280px) {
  .page-shell {
    width: min(1110px, calc(100% - 44px));
  }

  .site-header {
    padding-top: 28px;
  }

  .nav-shell {
    width: calc(100% - 44px);
    padding-inline: 42px;
    grid-template-columns: 210px 1fr 58px;
  }

  .desktop-nav {
    gap: 24px;
    padding-inline: 24px;
  }

  .listing-row {
    column-gap: 38px;
  }

  .property-card {
    grid-template-columns: minmax(190px, 0.7fr) minmax(205px, 1fr);
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding-top: 22px;
  }

  .nav-shell {
    height: 68px;
    grid-template-columns: 1fr 50px;
    padding: 0 26px 0 34px;
  }

  .brand img {
    width: 110px;
  }

  .desktop-nav,
  .desktop-whatsapp {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 20px;
    display: grid;
    place-items: center;
    gap: 1px;
    border: 0;
    border-radius: 0;
    color: var(--white);
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    background: rgba(0, 22, 30, 0.48);
    opacity: 100;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
    pointer-events: auto;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 100%);
    height: auto;
    max-height: none;
    padding: 24px 30px 22px;
    color: var(--white);
    background: rgba(0, 47, 63, 0.8);
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(0.19, 1, 0.22, 1);
  }

  .mobile-menu.is-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-brand img {
    width: 116px;
  }

  .menu-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--white);
    background: transparent;
  }

  .menu-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .mobile-nav-list {
    display: grid;
    gap: 0;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-sans);
  }

  .mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
    font-weight: 100;
    transition: color 0.32s ease;
  }

  .mobile-nav-list a:hover,
  .mobile-nav-list a:focus-visible {
    color: var(--gold);
  }

  .mobile-nav-list a.mobile-whatsapp {
    justify-content: flex-start;
    gap: 5px;
  }

  .mobile-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }

  /* Leasing sub-links: always visible, indented, under the "Leasing" row. */
  .mobile-nav-has-sublist > a {
    border-bottom: 0;
    padding-bottom: 8px;
  }

  .mobile-nav-sublist {
    display: grid;
    gap: 0;
    margin: 0 0 4px;
    padding: 0 0 12px 18px;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-nav-sublist a {
    display: block;
    padding: 10px 0;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 400;
    transition: color 0.32s ease;
  }

  .mobile-nav-sublist a:hover,
  .mobile-nav-sublist a:focus-visible {
    color: var(--gold);
  }

  .premium-hero {
    min-height: 700px;
  }

  .premium-hero-image {
    background-position: center;
  }

  .rent-hero-content {
    min-height: 700px;
    padding: 150px 0 54px;
  }

  .rent-hero-copy {
    width: min(760px, 92%);
    margin-bottom: 38px;
  }

  .rent-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 150px;
  }

  .rent-filter:nth-child(3)::before {
    display: none;
  }

  .rent-clear-filter {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .properties-intro {
    padding-top: 58px;
  }

  .listing-row,
  .listing-row + .listing-row {
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 58px 0;
  }

  .listing-row:first-child {
    padding-top: 0;
  }

  .listing-row + .listing-row {
    border-top: 1px solid rgba(112, 135, 143, 0.62);
  }

  .property-card {
    width: min(690px, 100%);
    grid-template-columns: minmax(220px, 0.78fr) minmax(250px, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 16px;
  }

  .nav-shell {
    width: calc(100% - 28px);
    height: 62px;
    padding: 0 18px 0 24px;
  }

  .brand img {
    width: 100px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 44px, 560px);
  }

  .site-header {
    padding-top: 16px;
  }

  .nav-shell {
    width: calc(100% - 28px);
    height: 62px;
    padding: 0 18px 0 24px;
  }

  .brand img {
    width: 100px;
  }

  .premium-hero {
    min-height: 840px;
  }

  .premium-hero-image {
    background-size: cover;
    background-position: 48% center;
  }

  .rent-hero-content {
    min-height: 840px;
    padding: 130px 0 34px;
  }

  .rent-hero-copy {
    width: 100%;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.55;
  }

  .rent-filter-bar {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .rent-filter + .rent-filter::before {
    top: 0;
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 1px;
  }

  .rent-filter-trigger {
    min-height: 58px;
    padding: 0 18px;
  }

  .rent-filter-menu,
  .rent-price-filter .rent-filter-menu {
    position: static;
    width: auto;
    min-width: 0;
    max-height: 0;
    margin: 0 12px;
    padding: 0 12px;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .rent-filter.is-open .rent-filter-menu {
    max-height: 320px;
    margin-bottom: 12px;
    padding: 10px 12px;
  }

  .rent-filter-numbers {
    grid-template-columns: repeat(6, minmax(36px, 1fr));
  }

  .rent-price-menu,
  .rent-filter.is-open .rent-price-menu {
    grid-template-columns: 1fr auto 1fr;
    padding: 14px 4px;
  }

  .rent-price-menu select {
    height: 42px;
    padding: 0 7px;
    font-size: 12px;
  }

  .rent-clear-filter {
    grid-column: auto;
    grid-row: auto;
    min-height: 52px;
    margin: 8px;
  }

  .properties-list {
    padding-top: 24px;
    padding-bottom: 62px;
  }

  .properties-intro {
    padding: 44px 0 24px;
  }

  .listing-row,
  .listing-row + .listing-row {
    gap: 44px;
    padding: 44px 0;
  }

  .property-card {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .property-image {
    width: 100%;
    aspect-ratio: 0.82;
    border-radius: 0;
  }

  .property-info h2 {
    font-size: 27px;
  }

  .location {
    margin-bottom: 22px;
  }

  .summary {
    max-width: none;
    margin-bottom: 24px;
  }

  .card-actions {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .site-footer {
    padding: 58px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .site-footer h2,
  .footer-subscribe h3 {
    font-size: 18px;
  }

  .footer-contact address,
  .footer-subscribe form {
    margin: 28px 0 34px;
  }

  .footer-contact address {
    font-size: 13px;
  }

  .footer-contact a {
    font-size: 18px;
  }

  .footer-subscribe form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-subscribe button {
    width: auto;
    height: 42px;
    justify-self: start;
  }

  .footer-subscribe h3 {
    margin-bottom: 20px;
  }

  .socials {
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-links ul {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Rent search bar: intentionally mirrors the homepage search bar. */
.premium-hero {
  z-index: 2;
  overflow: visible;
}

.rent-search-bar.search-bar {
  position: relative;
  top: 100px;
  z-index: 80;
  width: 100%;
  min-height: 53px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(150px, 0.82fr);
  align-items: stretch;
  gap: 0;
  padding: 7px;
  border-radius: 999px;
  background: #dedede;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: visible;
  color: var(--black);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.rent-search-bar .search-filter {
  position: relative;
  min-width: 0;
}

.rent-search-bar .search-filter.is-open {
  z-index: 200;
}

.rent-search-bar .search-filter:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 62%;
  background: rgba(3, 48, 64, 0.34);
  transform: translateY(-50%);
}

.rent-search-bar .filter-trigger {
  width: 100%;
  min-height: 39px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(10px, 1.05vw, 20px);
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-family: var(--font-sans);
  font-size: clamp(9px, 0.64vw, 12px);
  font-weight: 600;
}

.rent-search-bar .filter-trigger svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.rent-search-bar .filter-trigger span:nth-child(2) {
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.15;
}

.rent-search-bar .chevron {
  position: relative;
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.rent-search-bar .chevron::before,
.rent-search-bar .chevron::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.rent-search-bar .chevron::before {
  left: 0;
  transform: rotate(45deg);
}

.rent-search-bar .chevron::after {
  right: 0;
  transform: rotate(-45deg);
}

.rent-search-bar .filter-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.rent-search-bar .filter-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 12px;
  z-index: 400;
  min-width: min(390px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 12px;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(0, 32, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.rent-search-bar .search-filter.is-open .filter-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.rent-search-bar .checklist-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
}

.rent-search-bar .filter-option {
  position: relative;
  min-height: 32px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 140ms ease;
}

.rent-search-bar .filter-option:hover,
.rent-search-bar .filter-option:focus-within {
  background: rgba(6, 53, 69, 0.08);
}

.rent-search-bar .filter-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.rent-search-bar .checkmark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(6, 53, 69, 0.72);
  border-radius: 5px;
  background: var(--white);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.rent-search-bar .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.75);
  transition: opacity 120ms ease, transform 120ms ease;
}

.rent-search-bar .filter-option input:checked + .checkmark {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 4px 12px rgba(6, 53, 69, 0.22);
}

.rent-search-bar .filter-option input:checked + .checkmark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.rent-search-bar .filter-option input:focus-visible + .checkmark {
  outline: 2px solid rgba(6, 53, 69, 0.32);
  outline-offset: 2px;
}

.rent-search-bar .price-range-menu {
  right: 0;
  left: auto;
  width: min(440px, calc(100vw - 32px));
  padding: 18px;
}

.rent-search-bar .price-range-fields {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: end;
  gap: 12px;
}

.rent-search-bar .price-field {
  display: grid;
  gap: 6px;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.2;
}

.rent-search-bar .price-field span {
  white-space: nowrap;
}

.rent-search-bar .price-field select {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(6, 53, 69, 0.16);
  border-radius: 8px;
  color: var(--black);
  background: var(--white);
  font: inherit;
}

.rent-search-bar .price-field select:focus-visible {
  outline: 2px solid rgba(6, 53, 69, 0.28);
  outline-offset: 2px;
}

.rent-search-bar .price-range-separator {
  padding-bottom: 11px;
  color: rgba(11, 15, 18, 0.62);
  font-size: 14px;
}

.rent-search-bar .search-submit {
  min-height: 39px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: #002f3f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.rent-search-bar .search-submit:hover,
.rent-search-bar .search-submit:focus-visible {
  background: #0b4052;
  box-shadow: 0 14px 28px rgba(0, 48, 64, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .rent-search-bar.search-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 150px;
  }

  .rent-search-bar .search-submit {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 720px) {
  .rent-search-bar.search-bar {
    grid-template-columns: 1fr;
    border-radius: 28px;
    padding: 7px;
    gap: 4px;
  }

  .rent-search-bar .search-submit {
    grid-column: 1;
    grid-row: auto;
    min-height: 39px;
    margin-top: 4px;
  }

  .rent-search-bar .filter-trigger {
    min-height: 39px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .rent-search-bar .filter-trigger svg {
    width: 21px;
    height: 21px;
  }

  .rent-search-bar .filter-menu,
  .rent-search-bar .price-range-menu {
    position: absolute;
    top: 100%;
    right: auto;
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .rent-search-bar .checklist-menu {
    grid-template-columns: 1fr;
  }

  .rent-search-bar .price-range-fields {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }

  .rent-search-bar .price-field {
    font-size: 12px;
  }
}

/* Site-wide compact typography, benchmarked against HassConsult. */
body p {
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 300 !important;
}

/* Unified navbar typography and current-page state. Scoped to `> li > a`
   (top-level Buy/Rent/Leasing/Services triggers only) — NOT the plain
   descendant `a`, which would also reach into .nav-dropdown/.mobile-nav-sublist
   and blow the submenu items up to this same bold 16px, stomping their own
   (intentionally smaller/lighter) .nav-dropdown a / .mobile-nav-sublist a
   rules via !important. That collision is what made the Buy/Leasing dropdown
   panels render inconsistently bold/oversized depending on page. */
.site-header .desktop-nav,
.site-header .desktop-nav > li > a,
.site-header .mobile-nav-list,
.site-header .mobile-nav-list > li > a {
  font-family: "Optima Local", OptimaLocal, Optima, Candara, "Segoe UI", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.site-header .desktop-nav > li > a[aria-current="page"],
.site-header .mobile-nav-list > li > a[aria-current="page"] {
  color: #d3a23b !important;
}

body main h1:not(.hero *):not(.site-header *) {
  font-size: clamp(30px, 3vw, 38px) !important;
  line-height: 1.12 !important;
}

body main h2:not(.hero *):not(.site-header *):not(.property-info *) {
  font-size: clamp(24px, 2.2vw, 34px) !important;
  line-height: 1.15 !important;
}

body main h3:not(.hero *):not(.site-header *) {
  font-size: clamp(18px, 1.5vw, 24px) !important;
  line-height: 1.2 !important;
}

.site-footer h2,
.site-footer h3,
.site-footer .footer-subscribe h3 {
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

.site-footer address,
.site-footer p,
.site-footer a,
.site-footer input,
.site-footer button,
.site-footer .footer-links,
.site-footer .footer-links a,
.site-footer .footer-contact a {
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}
