/* ══════════════════════════════════════════════════════════════
   CMD ESTATES — Custom Luxury CSS
   Colors: Gold #C9A96E · Background #0D0D0D · Dark panel #0A0A0A
   Fonts: Playfair Display (serif) · Inter (sans)
══════════════════════════════════════════════════════════════ */

:root {
  --gold:       #C9A96E;
  --gold-light: #dfc08e;
  --gold-dark:  #a8834a;
  --bg:         #0D0D0D;
  --bg-dark:    #050505;
  --bg-card:    #0A0A0A;
  --bg-input:   #111111;
  --text:       #F5F0E8;
  --muted:      #999999;
  --border:     rgba(255,255,255,0.07);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: var(--text);
}

a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }

img { display: block; max-width: 100%; }

/* ── Utility ─────────────────────────────────────────────────── */
.text-gold   { color: var(--gold) !important; }
.bg-dark-900 { background-color: var(--bg-dark) !important; }
.bg-card     { background-color: var(--bg-card) !important; }
.text-muted-light { color: var(--muted) !important; }
.border-gold { border-color: var(--gold) !important; }
.fw-light    { font-weight: 300 !important; }
.font-serif  { font-family: 'Playfair Display', serif; }
.tracking-wide { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .18em; }

.section-label {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.cmd-navbar {
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: background .5s, padding .5s;
}
.cmd-navbar.nav-transparent {
  background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
  border-bottom-color: transparent;
  padding: 1.5rem 0;
}

.brand-primary {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
}
.brand-divider {
  color: rgba(255,255,255,.2);
  margin: 0 .5rem;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.nav-link-luxury {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,240,232,.75) !important;
  padding: .4rem 0 !important;
  transition: color .3s;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-link-luxury:hover,
.nav-link-luxury.nav-active,
.nav-link-luxury.open { color: var(--gold) !important; }

/* ── Nav Dropdowns ───────────────────────────────────────────── */
.nav-dropdown-item { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,240,232,.75);
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem 0;
  transition: color .3s;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.open { color: var(--gold); }

.nav-chevron {
  font-size: .65rem;
  transition: transform .3s;
  display: inline-block;
}
.nav-dropdown-trigger.open .nav-chevron { transform: rotate(180deg); color: var(--gold); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  min-width: 220px;
  z-index: 1050;
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  padding: .5rem 0;
  animation: dropIn .18s ease-out;
}
.nav-dropdown-menu.show { display: block; }
.nav-dropdown-wide { min-width: 540px; }

@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.97); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);   }
}

.nav-dropdown-header {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .5rem 1rem .75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .35rem;
}
.nav-dropdown-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: .25rem .35rem;
  max-height: 300px;
  overflow-y: auto;
}
.nav-dropdown-list {
  padding: .25rem .35rem;
}
.nav-dropdown-link {
  display: block;
  padding: .4rem .7rem;
  font-family: 'Playfair Display', serif;
  font-size: .75rem;
  font-weight: 400;
  color: rgba(245,240,232,.65);
  text-decoration: none;
  transition: color .2s, background .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .02em;
}
.nav-dropdown-link:hover {
  color: var(--gold);
  background: rgba(201,169,110,.06);
}
.nav-dropdown-footer {
  padding: .6rem 1rem .25rem;
  border-top: 1px solid var(--border);
  margin-top: .35rem;
}
.nav-dropdown-viewall {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: opacity .2s;
}
.nav-dropdown-viewall:hover { opacity: .75; color: var(--gold); }

/* ── Mobile Accordion ────────────────────────────────────────── */
.mobile-acc-item { border-bottom: 1px solid var(--border); }
.mobile-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .3s;
  text-align: left;
}
.mobile-acc-trigger:hover { color: var(--gold); }
.mobile-acc-chevron {
  font-size: .85rem;
  transition: transform .3s;
}
.mobile-acc-trigger[aria-expanded="true"] .mobile-acc-chevron,
.mobile-acc-trigger:not(.collapsed) .mobile-acc-chevron { transform: rotate(180deg); color: var(--gold); }
.mobile-acc-body {
  padding: .25rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .1rem;
}
.mobile-acc-link {
  display: block;
  padding: .45rem .25rem;
  font-size: .8rem;
  font-weight: 300;
  color: rgba(245,240,232,.6);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-acc-link:hover { color: var(--gold); }
.mobile-acc-viewall {
  grid-column: 1 / -1;
  display: block;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
/* Single-column lists in mobile accordion */
.mobile-acc-body.col-1 { grid-template-columns: 1fr; }

.btn-outline-gold {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,.5);
  background: rgba(201,169,110,.05);
  padding: .5rem 1.4rem;
  transition: all .4s;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: none;
  padding: .85rem 2rem;
  transition: background .3s, color .3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-gold:hover { background: var(--gold-light); color: var(--bg); }

.btn-ghost-gold {
  background: transparent;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: .85rem 2rem;
  transition: all .4s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-ghost-gold:hover { background: var(--gold); color: var(--bg); }

.btn-ghost-white {
  background: transparent;
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  padding: .85rem 2rem;
  transition: all .4s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-ghost-white:hover { border-color: var(--gold); color: var(--gold); }

/* Mobile nav links */
.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text);
  display: block;
  transition: color .3s;
}
.mobile-nav-link:hover { color: var(--gold); }

/* ── Hero ────────────────────────────────────────────────────── */
.cmd-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cmd-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cmd-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,.60);
}
.cmd-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0D0D0D 0%, transparent 50%, rgba(13,13,13,.4) 100%);
}
.cmd-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.06;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(245,240,232,.7);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Search Bar ─────────────────────────────────────────────── */
.search-bar {
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  max-width: 900px;
  margin-top: 2.5rem;
}
.search-field {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  padding: 1rem 1.25rem;
  transition: border-color .3s;
}
.search-field:focus-within { border-color: rgba(201,169,110,.45); }
.search-field i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.search-field input,
.search-field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: .92rem;
  width: 100%;
  letter-spacing: .03em;
}
.search-field input::placeholder { color: var(--muted); }
.search-field select option { background: #111; color: var(--text); }

/* ── Stats Strip ─────────────────────────────────────────────── */
.stats-strip {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-divider { border-left: 1px solid var(--border); }

/* ── Property Cards ──────────────────────────────────────────── */
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color .5s, transform .5s;
  overflow: hidden;
  cursor: pointer;
}
.property-card:hover { border-color: rgba(201,169,110,.3); transform: translateY(-4px); }

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s ease;
}
.property-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--bg);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .3rem .75rem;
}
.card-featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(13,13,13,.8);
  color: var(--gold);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border: 1px solid rgba(201,169,110,.3);
}

.card-body-luxury { padding: 1.75rem; }

.card-location {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .65rem;
}
.card-title-luxury {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.card-price span { font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 300; color: var(--muted); }

.card-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted);
  font-weight: 400;
}
.card-stat { display: flex; align-items: center; gap: .4rem; }
.card-stat i { color: var(--gold); font-size: .85rem; }

/* ── Page Headers ────────────────────────────────────────────── */
.page-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 7rem 0 3.5rem;
}
.page-header-title { font-size: clamp(2.2rem, 5vw, 4rem); }

/* ── Filter Sidebar ──────────────────────────────────────────── */
.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: 90px;
}
.filter-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .65rem;
}
.filter-input {
  width: 100%;
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  padding: .7rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
}
.filter-input:focus { border-color: rgba(201,169,110,.45); }
.filter-input option { background: #111; }

.filter-toggle {
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  padding: .55rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .3s;
  cursor: pointer;
  text-align: center;
}
.filter-toggle:hover,
.filter-toggle.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.filter-check-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  color: rgba(245,240,232,.8);
  font-weight: 300;
  font-size: .92rem;
}
.filter-check-label input[type=checkbox] { display: none; }
.custom-checkbox {
  width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.filter-check-label input:checked ~ .custom-checkbox,
.filter-check-label.checked .custom-checkbox {
  background: var(--gold);
  border-color: var(--gold);
}
.filter-check-label.checked .custom-checkbox::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--bg);
  display: block;
}

/* ── Filter Bar (top) ────────────────────────────────────────── */
.filter-bar-top {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,.45);
  padding: .9rem 0;
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}
.filter-bar-search {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 260px;
}
.filter-bar-search-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .8rem;
  pointer-events: none;
}
.filter-bar-input {
  width: 100%;
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  padding: .55rem .9rem .55rem 2.1rem;
  font-family: 'Inter', sans-serif;
  font-size: .83rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
}
.filter-bar-input:focus { border-color: rgba(201,169,110,.45); }
.filter-bar-group {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.filter-bar-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.filter-pill {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(245,240,232,.7);
  padding: .48rem .85rem;
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: rgba(255,255,255,.4);
  color: var(--text);
}
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.filter-pill-sm {
  padding: .42rem .55rem;
  min-width: 2.4rem;
  text-align: center;
}
.filter-bar-price-wrap {
  position: relative;
}
.price-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 220px;
  background: #111;
  border: 1px solid var(--border);
  padding: 1.1rem;
  z-index: 999;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
}
.price-dropdown.show { display: block; }
.filter-bar-price-input {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  padding: .5rem .7rem;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 300;
  text-align: center;
  outline: none;
  transition: border-color .3s;
}
.filter-bar-price-input:focus { border-color: rgba(201,169,110,.45); }
.filter-clear-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .48rem .8rem;
  border: 1px solid transparent;
  transition: all .25s;
  white-space: nowrap;
}
.filter-clear-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.1);
}

/* ── Property Detail ─────────────────────────────────────────── */
.detail-hero {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
  height: 75vh;
  min-height: 560px;
  padding-top: 88px;
  background: var(--bg-dark);
}
.detail-hero > div { overflow: hidden; position: relative; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s; }
.detail-hero > div:hover img { transform: scale(1.04); }

.detail-col { display: flex; flex-direction: column; gap: 3px; }
.detail-col > div { flex: 1; overflow: hidden; position: relative; }

.stat-box {
  background: rgba(5,5,5,.35);
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border);
}
.stat-box:last-child { border-right: none; }
.stat-box-icon { color: rgba(201,169,110,.65); font-size: 1.5rem; margin-bottom: .75rem; }
.stat-box-value { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--text); }
.stat-box-label { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.price-sidebar {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.1);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.price-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.price-value {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .25rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(245,240,232,.8);
  font-weight: 300;
  font-size: .95rem;
  padding: .4rem 0;
}
.amenity-item i { color: var(--gold); font-size: .9rem; flex-shrink: 0; }

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  padding: .5rem 0;
}
.highlight-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ── Section Dividers ────────────────────────────────────────── */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── About Page ──────────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(13,13,13,.7); }
.page-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, #0D0D0D 0%, rgba(13,13,13,.4) 40%, transparent 100%); }
.page-hero-content { position: relative; z-index: 2; padding-bottom: 4rem; }
.page-hero-title { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.06; }

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  height: 100%;
  transition: border-color .5s;
}
.value-card:hover { border-color: rgba(201,169,110,.3); }
.value-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 1.5rem; }
.value-title { font-size: 1.25rem; margin-bottom: .75rem; }

.team-card { }
.team-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1.25rem;
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s;
}
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.75) 0%, transparent 50%);
}
.team-name { font-size: 1.4rem; margin-bottom: .15rem; }
.team-title { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.team-bio { color: var(--muted); font-weight: 300; font-size: .9rem; line-height: 1.7; }

.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,110,.2);
  flex-shrink: 0;
}
.timeline-year { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold); }
.timeline-event { color: rgba(245,240,232,.8); font-weight: 300; font-size: 1rem; line-height: 1.7; }

/* ── Contact Page ────────────────────────────────────────────── */
.form-input-luxury {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  padding: 1rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
  appearance: none;
}
.form-input-luxury:focus { border-color: rgba(201,169,110,.5); }
.form-input-luxury::placeholder { color: rgba(153,153,153,.5); }
.form-input-luxury option { background: #111; color: var(--text); }
.form-label-luxury {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: border-color .5s;
}
.office-card:hover { border-color: rgba(201,169,110,.25); }
.office-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }

/* Stats gold strip */
.gold-strip { background: var(--gold); }
.gold-strip-value { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--bg); }
.gold-strip-label { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(13,13,13,.65); }

/* ── Footer ──────────────────────────────────────────────────── */
.cmd-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.footer-list { margin: 0; padding: 0; }
.footer-list li { margin-bottom: .8rem; }
.footer-list a { color: var(--muted); font-size: .88rem; font-weight: 300; transition: color .3s; }
.footer-list a:hover { color: var(--gold); }
.footer-link { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .3s; }
.footer-link:hover { color: var(--gold); }

/* ── Hero CSS animation (no JS required) ─────────────────────── */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-item {
  opacity: 0;
  animation: heroFadeIn .9s ease forwards;
}
.hero-item-1 { animation-delay: .15s; }
.hero-item-2 { animation-delay: .4s;  }
.hero-item-3 { animation-delay: .65s; }
.hero-item-4 { animation-delay: .9s;  }

/* ── Fade-in animations (scroll-triggered via JS) ────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile nav link ─────────────────────────────────────────── */
.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  transition: color .3s;
}
.mobile-nav-link:hover { color: var(--gold); }

/* ── Map section ─────────────────────────────────────────────── */
.map-section {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.map-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}
.map-pin {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(201,169,110,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(201,169,110,.2); }
  50% { box-shadow: 0 0 0 16px rgba(201,169,110,.08); }
}

/* ── No results ──────────────────────────────────────────────── */
.no-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  transition: border-color .4s;
}
.testimonial-card:hover { border-color: rgba(201,169,110,.3); }
.testimonial-stars {
  display: flex;
  gap: .25rem;
}
.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}
.testimonial-quote {
  color: rgba(245,240,232,.8);
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  font-size: .97rem;
  flex: 1;
  margin: 0;
}
.testimonial-author {
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.testimonial-name {
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  margin: 0 0 .3rem;
  color: var(--text);
}
.testimonial-detail {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* ── Success box ─────────────────────────────────────────────── */
.success-box {
  background: var(--bg-card);
  border: 1px solid rgba(201,169,110,.3);
  padding: 4rem;
  text-align: center;
}

/* ── Property Specifications grid ───────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
@media (max-width: 576px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.spec-item:nth-child(even) { border-right: none; }
.spec-item:nth-last-child(-n+2) { border-bottom: none; }
.spec-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-value {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text);
}

/* ── Location & Connectivity ─────────────────────────────────── */
.nearby-list { background: var(--bg-card); border: 1px solid var(--border); }
.nearby-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nearby-item:last-child { border-bottom: none; }
.nearby-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,.08);
  border: 1px solid rgba(201,169,110,.15);
  color: var(--gold);
  font-size: .85rem;
  flex-shrink: 0;
}
.nearby-name { flex: 1; font-size: .9rem; font-weight: 400; color: var(--text); }
.nearby-dist {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  white-space: nowrap;
}

/* ── Similar Properties strip ────────────────────────────────── */
.similar-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 5rem;
}

/* ── Investment Snapshot ─────────────────────────────────────── */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 576px) { .invest-grid { grid-template-columns: 1fr; } }
.invest-item {
  background: var(--bg-card);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.invest-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.invest-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.invest-note { font-size: .78rem; color: rgba(245,240,232,.45); margin-top: .15rem; }

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 768px) {
  .detail-hero { grid-template-columns: 1fr; }
  .detail-col { display: none; }
  .search-bar { flex-direction: column; }
  .search-field { min-width: 100%; }
  .stat-divider { border-left: none; border-top: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════════════════════
   HTML Version Additions — CMD Developers
   Supplements the base style.css for JS-rendered components
══════════════════════════════════════════════════════════════ */

/* ── cmd-navbar Bootstrap coexistence ───────────────────────── */
.cmd-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: .9rem 0;
}
.cmd-navbar .container-xl { position: relative; }
#mainNav { transition: background .4s, padding .4s, border-color .4s; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .8rem; }
.footer-links a {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 300;
  transition: color .3s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}
.footer-icon-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  transition: all .3s;
  text-decoration: none;
}
.footer-icon-link:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }

/* ── Floating contact buttons ────────────────────────────────── */
.floating-contact {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  z-index: 1000;
}
.fab-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(0,0,0,.55);
}
.fab-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.7); }
.fab-whatsapp { background: #25D366; color: #fff; }
.fab-phone    { background: var(--gold); color: var(--bg); }

/* ── Mobile menu overlay + panel ────────────────────────────── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1039;
  backdrop-filter: blur(4px);
}
.mobile-menu-overlay.show { display: block; }
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(400px, 90vw);
  background: var(--bg-dark);
  z-index: 1040;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s ease;
  border-left: 1px solid var(--border);
}
.mobile-menu.open { transform: translateX(0); }

/* ── Property Breadcrumb ─────────────────────────────────────── */
.prop-breadcrumb {
  padding: 1rem 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  margin-top: 72px;
}
.prop-breadcrumb .breadcrumb { margin: 0; }
.prop-breadcrumb .breadcrumb-item a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.prop-breadcrumb .breadcrumb-item a:hover { color: var(--gold); }
.prop-breadcrumb .breadcrumb-item.active { color: var(--gold); font-size: .8rem; }
.prop-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.2); }

/* ── Property Gallery ────────────────────────────────────────── */
.prop-gallery-section { background: var(--bg-dark); padding: 1.75rem 0 0; }
.prop-gallery { display: flex; flex-direction: column; gap: .4rem; }
.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 520px;
  background: #050505;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 2s;
}
.gallery-badges {
  position: absolute;
  top: 1rem; left: 1rem;
  display: flex; gap: .5rem;
  z-index: 2;
}
.gallery-thumbs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  padding-bottom: .2rem;
}
.gallery-thumbs::-webkit-scrollbar { height: 3px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--gold); }
.gallery-thumb {
  flex: 0 0 110px; height: 72px;
  overflow: hidden;
  opacity: .5;
  cursor: pointer;
  transition: opacity .3s;
  border: 2px solid transparent;
}
.gallery-thumb.active { opacity: 1; border-color: var(--gold); }
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Property Body Sections ──────────────────────────────────── */
.prop-body-section { padding: 3.5rem 0 5rem; }

.prop-detail-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: .65rem;
}
.prop-location-line {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .04em;
  margin-bottom: 1.75rem;
}
.prop-key-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.key-stat {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  color: rgba(245,240,232,.8);
  font-weight: 300;
}
.key-stat i { color: var(--gold); font-size: .95rem; }

.prop-detail-section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}
.prop-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* ── Amenity chip ────────────────────────────────────────────── */
.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: .45rem .9rem;
  font-size: .82rem;
  color: rgba(245,240,232,.8);
  font-weight: 300;
  transition: border-color .3s;
}
.amenity-chip:hover { border-color: rgba(201,169,110,.3); }

/* ── Property highlights ─────────────────────────────────────── */
.prop-highlights-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.prop-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(245,240,232,.8);
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.65;
}

/* ── Spec grid — icon style (override) ──────────────────────── */
.prop-detail-section .spec-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.prop-detail-section .spec-item {
  flex-direction: row;
  align-items: flex-start;
  gap: .85rem;
}
.prop-detail-section .spec-item i {
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ── Section title ───────────────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
}

/* ── Filter pill select ─────────────────────────────────────── */
.filter-pill select, select.filter-pill {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23999' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .65rem center;
  padding-right: 1.8rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.filter-pill option { background: #111; color: var(--text); }

/* ── Page top offset for fixed nav ──────────────────────────── */
.page-header { padding-top: 7rem; }

/* ── Properties page hero ────────────────────────────────────── */
.props-hero {
  background: var(--bg-dark);
  padding: 8rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Hero Stats responsive ────────────────────────────────────── */
@media (max-width:576px) {
  .prop-key-stats { gap: .9rem 1.25rem; }
  .gallery-thumb { flex: 0 0 80px; height: 54px; }
}

/* ── Testimonials (shared) ───────────────────────────────────── */
.star-gold { color: var(--gold); font-size: .85rem; }

/* ── Developer ticker ────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
}
#dev-ticker {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
#dev-ticker span {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-wrap:hover #dev-ticker { animation-play-state: paused; }

/* ── Bootstrap select override for filter pills ─────────────── */
select.filter-pill:focus { outline: none; box-shadow: none; border-color: rgba(201,169,110,.5); }


@media (max-width:767px){

.featuredSwiper{
    overflow:hidden;
    padding-bottom:40px;
}

.featuredSwiper .swiper-slide{
    width:100%;
}

.featuredSwiper .property-card{
    margin:0 auto;
}

.featuredSwiper .swiper-pagination-bullet{
    background:#b89b6c;
    opacity:.4;
}

.featuredSwiper .swiper-pagination-bullet-active{
    opacity:1;
}

}





@media (max-width:767px){

.featuredSwiper{
    overflow:hidden;
    padding-bottom:40px;
    position:relative;
}

.featuredSwiper .swiper-button-next,
.featuredSwiper .swiper-button-prev{

    width:40px;
    height:40px;
    background:rgba(0,0,0,.6);
    border-radius:50%;
    color:#fff;

}

.featuredSwiper .swiper-button-next:after,
.featuredSwiper .swiper-button-prev:after{

    font-size:16px;
    font-weight:bold;

}

.featuredSwiper .swiper-button-prev{
    left:10px;
}

.featuredSwiper .swiper-button-next{
    right:10px;
}

.featuredSwiper .swiper-pagination{
    bottom:0;
}

.featuredSwiper .swiper-pagination-bullet{
    background:#292826;
}

}