/* Zenith Luxury Homes — Premium Properties Page */
:root {
  --zl-ink: #171714;
  --zl-ink-soft: #252521;
  --zl-ivory: #f7f5ef;
  --zl-paper: #fbfaf7;
  --zl-white: #fff;
  --zl-gold: #b89a5a;
  --zl-gold-light: #d5bf8b;
  --zl-muted: #77736a;
  --zl-border: #e7e2d8;
  --zl-shadow: 0 22px 60px rgba(20, 19, 15, 0.1);
  --zl-container: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--zl-ink);
  background: var(--zl-paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
}
::selection {
  color: #fff;
  background: var(--zl-ink);
}
.zl-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.zl-header.is-scrolled {
  color: var(--zl-ink);
  background: rgba(251, 250, 247, 0.96);
  border-bottom-color: rgba(23, 23, 20, 0.08);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.zl-header-inner {
  width: min(calc(100% - 64px), var(--zl-container));
  min-height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.zl-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.zl-logo-image {
  display: block;
  width: 185px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.zl-logo:hover .zl-logo-image {
  transform: translateY(-1px);
}

/* Kept for the footer / legacy markup */
.zl-logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--zl-gold-light);
  background: var(--zl-ink);
  border: 1px solid rgba(213, 191, 139, 0.35);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

.zl-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.zl-logo-text strong {
  color: currentColor;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.zl-logo-text small {
  margin-top: 6px;
  color: var(--zl-gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.zl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-left: auto;
}

.zl-nav a {
  position: relative;
  padding: 12px 0;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.82;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}

.zl-nav a:hover,
.zl-nav a.active {
  opacity: 1;
}

.zl-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--zl-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.zl-nav a:hover::after,
.zl-nav a.active::after {
  transform: scaleX(1);
}

.zl-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45px;
  padding: 0 20px;
  color: #fff !important;
  background: var(--zl-ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.zl-header.is-scrolled .zl-header-button {
  border-color: rgba(23, 23, 20, 0.1);
}

.zl-header-button:hover {
  color: #fff !important;
  background: var(--zl-gold);
  border-color: var(--zl-gold);
  transform: translateY(-2px);
}

.zl-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.zl-menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.zl-menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.zl-menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* =========================================================
   CINEMATIC PROPERTIES HERO
========================================================= */

.properties-hero {
  position: relative;
  min-height: min(880px, 100vh);
  height: 100vh;
  max-height: 980px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #171613;
  background-image:
    /* url("../assets/images/properties-hero.jpg"), */
    url("../assets/images/hero-1.jpg");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
}

.properties-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 7, 6, 0.84) 0%,
      rgba(7, 7, 6, 0.58) 43%,
      rgba(7, 7, 6, 0.18) 100%
    ),
    linear-gradient(0deg, rgba(7, 7, 6, 0.64) 0%, transparent 48%);
}

.properties-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle at 78% 28%,
    rgba(255, 255, 255, 0.09),
    transparent 28%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.16) 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

.properties-hero-content {
  position: relative;
  width: min(calc(100% - 64px), var(--zl-container));
  margin: 0 auto;
  padding: 115px 0 125px;
  color: #fff;
  animation: propertiesHeroContentIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes propertiesHeroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--zl-gold-light);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 39px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
}

.properties-hero h1 {
  max-width: 850px;
  margin: 31px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.5rem, 7vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.84;
}

.properties-hero h1 em {
  display: block;
  margin-top: 3px;
  color: var(--zl-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.properties-hero p {
  max-width: 620px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.85;
}

.properties-hero-content::after {
  content: "EXPLORE THE COLLECTION  ↓";
  display: block;
  margin-top: 72px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Hero breathing effect — subtle enough for a luxury presentation */
@media (prefers-reduced-motion: no-preference) {
  .properties-hero {
    background-position:
      center center,
      center center;
  }

  .properties-hero::after {
    animation: heroAtmosphere 10s ease-in-out infinite alternate;
  }
}

@keyframes heroAtmosphere {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.search-section {
  position: relative;
  z-index: 10;
  margin-top: -74px;
}
.search-container {
  width: min(calc(100% - 64px), 1160px);
  margin: auto;
  padding: 34px 38px 38px;
  background: #fff;
  border: 1px solid rgba(23, 23, 20, 0.08);
  box-shadow: var(--zl-shadow);
}
.search-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}
.search-heading > span {
  color: var(--zl-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.search-heading h2 {
  margin: 5px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 500;
}
.property-search {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.78fr auto;
  align-items: end;
  border: 1px solid var(--zl-border);
}
.search-field {
  min-width: 0;
  padding: 15px 18px;
  border-right: 1px solid var(--zl-border);
}
.search-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--zl-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.search-field input,
.search-field select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--zl-ink);
  background: transparent;
  font-size: 13px;
}
.search-field input::placeholder {
  color: #aaa69d;
}
.search-field select {
  cursor: pointer;
}
.search-button {
  min-height: 71px;
  min-width: 145px;
  border: 0;
  color: #fff;
  background: var(--zl-ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: 0.25s;
}
.search-button:hover {
  background: var(--zl-gold);
}
.search-arrow {
  margin-left: 12px;
  font-size: 15px;
}
.section-container {
  width: min(calc(100% - 64px), var(--zl-container));
  margin: auto;
}
.featured-section {
  padding: 125px 0 110px;
  background: var(--zl-paper);
}
.section-heading-row,
.listings-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}
.eyebrow.dark {
  color: var(--zl-gold);
}
.section-heading-row h2,
.listings-heading h2 {
  margin: 12px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.featured-intro {
  max-width: 360px;
  color: var(--zl-muted);
  font-size: 13px;
  line-height: 1.8;
}
.featured-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.featured-card {
  min-width: 0;
}
.featured-card:first-child {
  grid-column: span 2;
}
.featured-image {
  position: relative;
  display: block;
  height: 500px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #20201d;
}
.featured-card:not(:first-child) .featured-image {
  height: 500px;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.featured-image:hover img {
  transform: scale(1.045);
}
.image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #2a2925, #11110f);
  font-family: "Playfair Display", serif;
  font-size: 20px;
}
.image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.72)
  );
}
.featured-tags {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.featured-tags span,
.card-labels span {
  padding: 7px 10px;
  color: #fff;
  background: rgba(20, 20, 17, 0.8);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.featured-tags .hot,
.card-labels .label-hot {
  color: var(--zl-ink);
  background: var(--zl-gold-light);
}
.featured-bottom {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.featured-bottom small {
  display: block;
  margin-bottom: 7px;
  color: var(--zl-gold-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.featured-bottom h3 {
  max-width: 620px;
  margin: 0 0 7px;
  font-family: "Playfair Display", serif;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}
.featured-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}
.featured-bottom > strong {
  flex-shrink: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 500;
}
.listings-section {
  padding: 105px 0 125px;
  background: #fff;
}
.property-count {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--zl-muted);
}
.property-count strong {
  color: var(--zl-ink);
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 500;
}
.property-count span {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
}
.property-image {
  position: relative;
  display: block;
  aspect-ratio: 1.32/1;
  overflow: hidden;
  color: #fff;
  background: #20201d;
}
.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.property-card:hover .property-image img {
  transform: scale(1.045);
}
.property-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22),
    transparent 45%,
    rgba(0, 0, 0, 0.48)
  );
  pointer-events: none;
}
.card-labels {
  position: absolute;
  top: 17px;
  left: 17px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.view-property {
  position: absolute;
  right: 18px;
  bottom: 17px;
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 20, 17, 0.42);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(7px);
  transition: 0.3s;
}
.property-card:hover .view-property {
  opacity: 1;
  transform: translateY(0);
}
.property-content {
  padding-top: 19px;
}
.property-type {
  margin-bottom: 7px;
  color: var(--zl-gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.property-content h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.property-content h3 a {
  text-decoration: none;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: var(--zl-muted);
  font-size: 11px;
}
.property-location span {
  color: var(--zl-gold);
  font-size: 8px;
}
.property-meta {
  display: flex;
  gap: 0;
  margin-top: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--zl-border);
  border-bottom: 1px solid var(--zl-border);
}
.property-meta span {
  min-width: 82px;
  padding: 0 13px;
  border-right: 1px solid var(--zl-border);
  color: var(--zl-muted);
  font-size: 9px;
}
.property-meta span:first-child {
  padding-left: 0;
}
.property-meta span:last-child {
  border-right: 0;
}
.property-meta strong {
  margin-right: 3px;
  color: var(--zl-ink);
  font-size: 12px;
  font-weight: 600;
}
.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
}
.property-price {
  font-family: "Playfair Display", serif;
  font-size: 23px;
  font-weight: 500;
}
.property-arrow {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--zl-ink);
  border: 1px solid var(--zl-border);
  text-decoration: none;
  transition: 0.25s;
}
.property-card:hover .property-arrow {
  color: #fff;
  border-color: var(--zl-ink);
  background: var(--zl-ink);
}
.no-properties {
  max-width: 650px;
  margin: 30px auto 0;
  padding: 80px 30px;
  text-align: center;
  border: 1px solid var(--zl-border);
  background: var(--zl-paper);
}
.no-properties-icon {
  color: var(--zl-gold);
  font-family: "Playfair Display", serif;
  font-size: 45px;
}
.no-properties h3 {
  margin: 15px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 500;
}
.no-properties p {
  max-width: 430px;
  margin: 0 auto 24px;
  color: var(--zl-muted);
  font-size: 13px;
  line-height: 1.7;
}
.clear-search {
  display: inline-flex;
  padding: 13px 20px;
  color: #fff;
  background: var(--zl-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}
.property-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 15, 13, 0.96), rgba(15, 15, 13, 0.78)),
    url("../images/luxury-cta.jpg") center/cover no-repeat;
}
.cta-inner {
  width: min(calc(100% - 64px), var(--zl-container));
  min-height: 560px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.cta-copy {
  max-width: 700px;
  padding: 90px 0;
}
.cta-copy h2 {
  margin: 20px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.cta-copy p {
  max-width: 550px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 15px 20px;
  color: var(--zl-ink);
  background: var(--zl-gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s;
}
.cta-button:hover {
  background: #fff;
  transform: translateY(-2px);
}
.cta-button span {
  font-size: 16px;
}
.cta-number {
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(213, 191, 139, 0.35);
}
.cta-number span {
  color: rgba(213, 191, 139, 0.8);
  font-family: "Playfair Display", serif;
  font-size: 120px;
}
.zl-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--zl-ink);
}
.footer-inner {
  width: min(calc(100% - 64px), var(--zl-container));
  margin: auto;
  padding: 72px 0 55px;
  display: flex;
  justify-content: space-between;
  gap: 70px;
}
.footer-brand p {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 90px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links h4 {
  margin: 0 0 7px;
  color: var(--zl-gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  text-decoration: none;
  transition: 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  width: min(calc(100% - 64px), var(--zl-container));
  margin: auto;
  padding: 18px 0 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
}
@media (max-width: 1050px) {
  .zl-nav {
    gap: 22px;
  }
  .property-search {
    grid-template-columns: 1fr 1fr;
  }
  .search-field:nth-child(2) {
    border-right: 0;
  }
  .search-field:nth-child(-n + 2) {
    border-bottom: 1px solid var(--zl-border);
  }
  .search-button {
    grid-column: 1/-1;
  }
  .featured-carousel {
    grid-template-columns: 1fr 1fr;
  }
  .featured-card:first-child {
    grid-column: span 2;
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .zl-header-inner,
  .properties-hero-content,
  .section-container,
  .cta-inner,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 38px), var(--zl-container));
  }
  .zl-header-inner {
    min-height: 76px;
    gap: 15px;
  }
  .zl-nav {
    display: none;
  }
  .zl-header-button {
    padding: 11px 14px;
    font-size: 9px;
  }
  .properties-hero {
    min-height: 600px;
  }
  .properties-hero-content {
    padding: 80px 0 120px;
  }
  .properties-hero h1 {
    font-size: clamp(46px, 13vw, 68px);
  }
  .properties-hero p {
    font-size: 14px;
  }
  .search-section {
    margin-top: -45px;
  }
  .search-container {
    width: min(calc(100% - 30px), 1160px);
    padding: 25px 18px;
  }
  .search-heading {
    display: block;
  }
  .property-search {
    display: block;
  }
  .search-field,
  .search-field:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--zl-border);
  }
  .search-button {
    width: 100%;
    min-height: 58px;
  }
  .featured-section,
  .listings-section {
    padding: 80px 0;
  }
  .section-heading-row,
  .listings-heading {
    display: block;
    margin-bottom: 30px;
  }
  .featured-intro {
    margin-top: 18px;
  }
  .featured-carousel {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .featured-card,
  .featured-card:first-child {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .featured-image,
  .featured-card:not(:first-child) .featured-image {
    height: 430px;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .property-count {
    margin-top: 20px;
  }
  .property-content h3 {
    font-size: 23px;
  }
  .cta-inner {
    min-height: auto;
    display: block;
  }
  .cta-copy {
    padding: 80px 0;
  }
  .cta-number {
    display: none;
  }
  .footer-inner {
    display: block;
    padding: 55px 0 40px;
  }
  .footer-links {
    margin-top: 40px;
    gap: 60px;
  }
  .footer-bottom {
    display: block;
    padding-bottom: 22px;
  }
  .footer-bottom span {
    display: block;
  }
  .footer-bottom span + span {
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   SHARED HEADER / HERO RESPONSIVE OVERRIDES
========================================================= */

@media (max-width: 1050px) {
  .zl-header-inner {
    gap: 25px;
  }

  .zl-nav {
    gap: 25px;
  }

  .zl-logo-image {
    width: 165px;
  }

  .zl-header-button {
    padding: 0 17px;
  }
}

@media (max-width: 760px) {
  .zl-header-inner,
  .properties-hero-content {
    width: min(calc(100% - 38px), var(--zl-container));
  }

  .zl-header-inner {
    min-height: 78px;
    gap: 15px;
  }

  .zl-logo-image {
    width: 155px;
    max-height: 48px;
  }

  .zl-logo-text {
    display: none;
  }

  .zl-header-button {
    display: none;
  }

  .zl-menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .zl-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 100px 30px 40px;
    margin: 0;
    background: var(--zl-ink);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .zl-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .zl-nav a {
    width: 100%;
    padding: 14px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.65;
  }

  .zl-nav a.active {
    color: var(--zl-gold-light);
    opacity: 1;
  }

  .zl-nav a::after {
    display: none;
  }

  body.zl-nav-open {
    overflow: hidden;
  }

  .properties-hero {
    min-height: 690px;
    height: 88vh;
    background-position:
      62% center,
      62% center;
  }

  .properties-hero-content {
    padding: 82px 0 120px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .eyebrow::before {
    width: 28px;
  }

  .properties-hero h1 {
    max-width: 100%;
    margin-top: 27px;
    font-size: clamp(3.5rem, 13vw, 5.2rem);
    line-height: 0.87;
  }

  .properties-hero p {
    max-width: 450px;
    margin-top: 27px;
    font-size: 13px;
    line-height: 1.8;
  }

  .properties-hero-content::after {
    margin-top: 58px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .zl-header-inner,
  .properties-hero-content {
    width: calc(100% - 30px);
  }

  .zl-logo-image {
    width: 140px;
  }

  .properties-hero {
    min-height: 650px;
    background-position:
      64% center,
      64% center;
  }

  .properties-hero-content {
    padding-top: 75px;
  }

  .properties-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.4rem);
  }

  .properties-hero p {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .properties-hero-content {
    animation: none;
  }

  .properties-hero::after {
    animation: none;
  }

  .zl-header,
  .zl-nav,
  .zl-menu-toggle span {
    transition-duration: 0.01ms;
  }
}
