/* ==========================================
   Dubai Luxury Homes — Glassmorphism Theme
   ========================================== */
:root {
  --bg: #050505;
  --ink: #f5f5f5;
  --soft: rgba(245, 245, 245, .66);
  --gold: #c69f57;          /* accent: logo gold */
  --gold-2: #eed498;        /* accent: light gold */
  --gold-deep: #996c26;     /* accent: deep gold */
  --gold-light: #f8e5b2;    /* accent: highlight */
  --gold-rgb: 198, 159, 87; /* accent as r,g,b for rgba() */
  --on-gold: #0a0a0a;       /* text on accent buttons */
  --bg-rgb: 5, 5, 5;
  --surface: #111111;       /* dropdowns, menus */
  --orb-1: #6b4a16; --orb-2: #3a2a10; --orb-3: #4d3712;
  /* Admin → Settings → Theme & Colors overrides these values */
  --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --stroke: rgba(255, 255, 255, .16);
  --stroke-hi: rgba(255, 255, 255, .32);
  --blur: blur(18px) saturate(160%);
  --radius: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .footer-title {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
}

/* ---------- Glass utility ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.18);
}

/* ---------- Background orbs ---------- */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbs span {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .38;
  animation: float 22s ease-in-out infinite;
}
.orbs span:nth-child(1) { width: 520px; height: 520px; background: var(--orb-1); top: -140px; left: -120px; }
.orbs span:nth-child(2) { width: 460px; height: 460px; background: var(--orb-2); top: 40%; right: -160px; animation-delay: -7s; }
.orbs span:nth-child(3) { width: 400px; height: 400px; background: var(--orb-3); bottom: -160px; left: 25%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.12); }
}

/* ---------- Text helpers ---------- */
.text-soft { color: var(--soft) !important; }
.text-gold { color: var(--gold); }
.link-gold { color: var(--gold); font-weight: 500; }
.link-gold:hover { color: var(--gold-2); }
.border-glass { border-color: var(--stroke) !important; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section { padding: 100px 0; }
.section-title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; padding: 12px 26px; font-weight: 500; transition: .3s; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--on-gold); border: 0;
  box-shadow: 0 10px 30px rgba(var(--gold-rgb),.35);
}
.btn-gold:hover { color: var(--on-gold); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(var(--gold-rgb),.5); }
.btn-glass {
  background: rgba(255,255,255,.07); color: var(--ink);
  border: 1px solid var(--stroke-hi);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.btn-glass:hover { background: rgba(255,255,255,.14); color: var(--ink); border-color: var(--stroke-hi); }

/* ---------- Navbar ---------- */
.navbar { padding-top: 16px; transition: padding .3s; }
.navbar.scrolled { padding-top: 8px; }
.nav-glass { border-radius: 999px; padding: 10px 14px 10px 24px; }
.navbar.scrolled .nav-glass { background: rgba(var(--bg-rgb),.7); }
.navbar .nav-link {
  color: var(--soft); border-radius: 999px;
  padding: 8px 16px !important; font-size: .92rem; transition: .25s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--ink); background: rgba(255,255,255,.1); }
.navbar-toggler { border: 0; color: var(--ink); font-size: 1.7rem; box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 150px 0 90px; position: relative; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img, none) center/cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),.35), rgba(var(--bg-rgb),.55) 60%, var(--bg));
}
.display-title { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
.display-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead-sm { font-size: 1.05rem; }
.stat { padding: 24px 28px; display: flex; align-items: center; gap: 20px; }
.stat b { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold-2); line-height: 1; min-width: 92px; }
.stat span { color: var(--soft); font-size: .92rem; }

/* ---------- Forms (glass inputs) ---------- */
.search-bar { padding: 8px; border-radius: 20px; }
.form-label { font-size: .78rem; color: var(--soft); letter-spacing: .06em; }
.form-control, .form-select {
  background-color: rgba(255,255,255,.06);
  border: 1px solid var(--stroke); border-radius: 14px;
  color: var(--ink); padding: 12px 16px;
}
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23bdbdbd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.form-select option { background: var(--surface); color: var(--ink); }
.form-control::placeholder { color: rgba(245,245,245,.4); }
.form-control:focus, .form-select:focus {
  background-color: rgba(255,255,255,.1); color: var(--ink);
  border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(var(--gold-rgb),.25);
}

/* ---------- Tabs ---------- */
.nav-pills { border-radius: 999px; }
.nav-pills .nav-link { color: var(--soft); border-radius: 999px; padding: 10px 20px; font-size: .9rem; }
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--on-gold); font-weight: 600;
}

/* ---------- Property cards ---------- */
.prop-card { padding: 12px; transition: .4s; }
.prop-card:hover { transform: translateY(-6px); border-color: var(--stroke-hi); }
.prop-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: .7s; }
.prop-card:hover .prop-img img { transform: scale(1.07); }
.chip, .price {
  position: absolute; border: 1px solid var(--stroke-hi);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.chip {
  top: 12px; left: 12px; padding: 6px 14px; border-radius: 999px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,.35);
}
.price { bottom: 12px; right: 12px; padding: 8px 16px; border-radius: 12px; font-weight: 600; background: rgba(var(--gold-rgb),.22); }

/* ---------- Communities ---------- */
.comm {
  position: relative; display: block; height: 240px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke);
}
.comm-tall .comm { height: 100%; min-height: 240px; }
@media (min-width: 992px) { .comm-tall .comm { height: 504px; } }
.comm img { width: 100%; height: 100%; object-fit: cover; transition: .8s; }
.comm:hover img { transform: scale(1.06); }
.comm-tag {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 14px 18px; border-radius: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.arrow {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--on-gold);
}

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background: var(--cta-bg, none) center/cover;
}

/* ---------- Developers marquee ---------- */
.marquee {
  overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track { display: flex; align-items: center; gap: 70px; width: max-content; animation: scroll 40s linear infinite; }
.track img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .7; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Blog cards ---------- */
.blog-card { overflow: hidden; transition: .4s; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.date { font-size: .76rem; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.footer-title { font-size: 1.4rem; margin-bottom: 16px; }
.footer-links a { color: var(--soft); transition: .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

/* ---------- WhatsApp button ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; color: #fff;
  background: linear-gradient(145deg, #2fe06f, #25d366 45%, #128c4a);
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: wa-bounce 3.2s ease-in-out infinite;
}
.whatsapp::before, .whatsapp::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; z-index: -1;
  animation: wa-ring 2.4s ease-out infinite;
}
.whatsapp::after { animation-delay: 1.2s; }
.whatsapp i { animation: wa-wiggle 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
.whatsapp:hover { color: #fff; transform: scale(1.1); box-shadow: 0 14px 36px rgba(37,211,102,.6); animation-play-state: paused; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes wa-bounce { 0%, 70%, 100% { translate: 0 0; } 78% { translate: 0 -8px; } 86% { translate: 0 0; } 92% { translate: 0 -4px; } }
@keyframes wa-wiggle { 0%, 70%, 100% { rotate: 0deg; } 75% { rotate: -14deg; } 80% { rotate: 12deg; } 85% { rotate: -8deg; } 90% { rotate: 4deg; } }

/* ---------- Scroll reveal (toggled by script.js) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast-glass { color: var(--ink); background: rgba(var(--bg-rgb),.75); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .nav-glass { border-radius: 24px; }
  .navbar-collapse { padding: 12px 0 6px; }
  .navbar .btn-gold { width: 100%; margin-top: 8px; }
  .section { padding: 80px 0; }
}
@media (max-width: 575.98px) {
  .stat b { font-size: 2.1rem; min-width: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================
   Properties page
   ========================================== */
.page-hero {
  position: relative; isolation: isolate;
  padding: 170px 0 70px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--page-bg, linear-gradient(135deg,var(--surface),var(--bg))) center/cover;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),.45), var(--bg));
}
.page-hero-box { max-width: 760px; margin-inline: auto; padding: 48px 24px; }
.breadcrumb-item, .breadcrumb-item a { color: var(--soft); font-size: .92rem; }
.breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--soft); }

/* Toolbar */
.toolbar { padding: 14px; border-radius: 20px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); }
.input-icon .form-control { padding-left: 44px; }
.chip-btn, .view-btn {
  background: rgba(255,255,255,.06); color: var(--soft);
  border: 1px solid var(--stroke); border-radius: 999px;
  padding: 9px 18px; font-size: .88rem; transition: .25s;
}
.chip-btn:hover, .view-btn:hover { color: var(--ink); border-color: var(--stroke-hi); }
.chip-btn.active, .view-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--on-gold); border-color: transparent; font-weight: 600;
}
.view-btn { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }

/* Card extras */
.prop-card h3 a:hover { color: var(--gold-2); }
.price-call { background: rgba(var(--gold-rgb),.3); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.card-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; font-size: .86rem; font-weight: 600; white-space: nowrap; border-radius: 999px; }
.card-actions .btn-gold { box-shadow: 0 6px 18px rgba(var(--gold-rgb),.25); }
.card-actions .btn-gold:hover { box-shadow: 0 10px 26px rgba(var(--gold-rgb),.4); }
.card-actions .btn i { transition: transform .25s; }
.card-actions .btn-glass:hover i { transform: translateX(3px); }

/* List view */
#propGrid.list-view .prop-col { width: 100%; }
#propGrid.list-view .prop-card { display: flex; gap: 8px; align-items: stretch; }
#propGrid.list-view .prop-img { flex: 0 0 340px; aspect-ratio: auto; min-height: 220px; }
#propGrid.list-view .prop-info { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px !important; }
@media (max-width: 767.98px) {
  #propGrid.list-view .prop-card { flex-direction: column; }
  #propGrid.list-view .prop-img { flex-basis: auto; aspect-ratio: 4/3; min-height: 0; }
}

/* Pagination */
.glass-pagination { gap: 8px; }
.glass-pagination .page-link {
  min-width: 46px; height: 46px; padding: 0 14px;
  display: grid; place-items: center; grid-auto-flow: column; gap: 6px;
  border-radius: 14px !important; color: var(--ink);
  background: rgba(255,255,255,.07); border: 1px solid var(--stroke);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.glass-pagination .page-link:hover { background: rgba(255,255,255,.14); color: var(--ink); }
.glass-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--on-gold); border-color: transparent; font-weight: 600;
}
.glass-pagination .page-link:focus { box-shadow: 0 0 0 .2rem rgba(var(--gold-rgb),.3); }
@media (min-width: 992px) { #propSort { min-width: 210px; } }
#regionFilter .chip-btn { padding: 9px 15px; }
@media (min-width: 992px) { #regionFilter { flex-wrap: nowrap !important; } }
.glass-pagination .page-item.disabled .page-link {
  background: rgba(255,255,255,.03); color: rgba(245,245,245,.3); border-color: var(--stroke);
}

/* ==========================================
   Property detail page
   ========================================== */
.detail-hero {
  position: relative; isolation: isolate;
  padding: 150px 0 50px; min-height: 78vh;
  display: flex; align-items: flex-end;
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero) center/cover;
}
.detail-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),.25), rgba(var(--bg-rgb),.55) 55%, var(--bg));
}
.detail-hero .container { width: 100%; }
.detail-hero-box { max-width: 820px; padding: 36px 40px; }
.detail-hero .breadcrumb-item, .detail-hero .breadcrumb-item a { color: var(--ink); }
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: .78rem; letter-spacing: .04em;
  background: rgba(255,255,255,.08); border: 1px solid var(--stroke-hi);
}
.tag-gold { background: rgba(var(--gold-rgb),.18); border-color: rgba(var(--gold-rgb),.55); color: var(--gold-2); }
.text-gold-2 { color: var(--gold-2); }
.hero-price { padding-right: 18px; margin-right: 4px; border-right: 1px solid var(--stroke-hi); }
.hero-price b { font-family: var(--font-head); font-size: 2rem; color: var(--gold-2); line-height: 1; }
.doc-btns .btn { padding: 10px 18px; font-size: .9rem; }

/* Gallery */
.gallery-box { padding: 12px; }
#gallery { border-radius: 16px; overflow: hidden; }
#gallery .carousel-item img { aspect-ratio: 16/9; object-fit: cover; cursor: zoom-in; }
.g-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.2rem; color: var(--ink);
  background: rgba(0,0,0,.35); border: 1px solid var(--stroke-hi);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.carousel-control-prev, .carousel-control-next { width: 70px; opacity: 1; }
.g-count, .g-expand {
  position: absolute; z-index: 3; bottom: 14px; padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; color: var(--ink);
  background: rgba(0,0,0,.4); border: 1px solid var(--stroke-hi);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.g-count { left: 14px; }
.g-expand { right: 14px; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb {
  flex: 0 0 120px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden;
  border: 2px solid transparent; background: none; opacity: .55; transition: .25s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb.active { opacity: 1; border-color: var(--gold); }

/* Payment plan */
.plan-step {
  height: 100%; padding: 22px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--stroke);
}
.plan-step b { display: block; font-family: var(--font-head); font-size: 2.8rem; line-height: 1; color: var(--gold-2); }
.plan-step span { color: var(--soft); font-size: .92rem; }
.plan-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 3px; }
.plan-bar span:nth-child(1) { background: var(--gold-2); }
.plan-bar span:nth-child(2) { background: var(--gold); }
.plan-bar span:nth-child(3) { background: var(--gold-deep); }

/* Content */
.prose p { color: var(--soft); line-height: 1.8; }
.amenity {
  height: 100%; padding: 18px 12px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--stroke);
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .86rem;
}
.amenity i { font-size: 1.6rem; color: var(--gold); }
.map-box { border-radius: 16px; overflow: hidden; border: 1px solid var(--stroke); aspect-ratio: 16/9; }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.masterplan {
  position: relative; display: block; width: 100%; padding: 0; margin-top: 8px;
  border: 1px solid var(--stroke); border-radius: 16px; overflow: hidden; background: none; cursor: zoom-in;
}
.masterplan img { width: 100%; transition: .6s; }
.masterplan:hover img { transform: scale(1.03); }

/* Sidebar */
@media (min-width: 992px) { .sidebar-sticky { position: sticky; top: 110px; } }
.feat-item { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; transition: .25s; }
.feat-item:hover { background: rgba(255,255,255,.06); }
.feat-item img { width: 84px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.feat-item strong { display: block; font-weight: 500; font-size: .92rem; line-height: 1.3; margin-bottom: 4px; }
.help-phone { display: inline-flex; gap: 10px; align-items: center; font-size: 1.25rem; color: var(--gold-2); font-weight: 600; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 1040;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 999px;
}
@media (max-width: 991.98px) { .detail-page footer { padding-bottom: 90px !important; } }

/* Modals */
.glass-modal { color: var(--ink); background: rgba(var(--bg-rgb),.86); }
.modal-backdrop.show { opacity: .7; }
.lightbox-content { background: transparent; border: 0; }
.lightbox-content img { max-height: 85vh; object-fit: contain; border-radius: 12px; }
.lightbox-close { position: absolute; top: -40px; right: 0; z-index: 5; }

/* ==========================================
   intl-tel-input — dark glass theme
   ========================================== */
.iti { width: 100%; display: block; }
.iti__selected-flag { border-radius: 14px 0 0 14px; padding: 0 10px 0 14px; }
.iti--show-selected-dial-code .iti__selected-flag,
.iti__selected-flag:hover, .iti__selected-flag:focus { background: rgba(255,255,255,.06) !important; }
.iti__selected-dial-code { color: var(--ink); margin-left: 6px; }
.iti__arrow { border-top-color: var(--gold); }
.iti__arrow--up { border-bottom-color: var(--gold); }
.iti__country-list, .iti__dropdown-content {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--stroke-hi); border-radius: 14px;
  box-shadow: var(--shadow);
}
.iti__country-list { max-height: 240px; }
.iti__country.iti__highlight { background: rgba(255,255,255,.18); }
.iti__dial-code { color: var(--soft); }
.iti__divider { border-bottom-color: var(--stroke); }
.iti__search-input {
  background: rgba(255,255,255,.06); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--stroke); padding: 10px 14px;
}
.iti__search-input::placeholder { color: rgba(245,245,245,.4); }
.was-validated .iti input:invalid { border-color: #dc3545; }
.was-validated .iti + .invalid-feedback,
.was-validated .iti:has(input:invalid) ~ .invalid-feedback { display: block; }
@media (max-width: 991.98px) { .detail-page .toast-container { bottom: 76px !important; } }
.action-bar .btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.detail-tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tabs .nav-link { white-space: nowrap; }
@media (max-width: 575.98px) {
  .detail-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; border-radius: 20px; }
  .detail-tabs .nav-link { width: 100%; padding: 9px 10px; font-size: .88rem; border-radius: 14px; }
}

/* Navbar — always dark glass so the white logo/links stay readable over light photos */
.navbar .nav-glass {
  background: linear-gradient(135deg, rgba(var(--bg-rgb),.85), rgba(var(--bg-rgb),.75));
  border-color: rgba(255,255,255,.12);
}
.navbar.scrolled .nav-glass { background: rgba(var(--bg-rgb),.9); }
.navbar .nav-link { color: rgba(245,245,245,.82); }
/* Breadcrumb over the photo — dark pill so it stays readable on light images */
.detail-hero .breadcrumb {
  display: inline-flex; padding: 7px 16px; border-radius: 999px;
  background: rgba(var(--bg-rgb),.6); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
/* Price / chip pills: dark glass so they read on light photos */
.price { background: rgba(0,0,0,.55); }
.chip { background: rgba(0,0,0,.45); }

/* Typography — Jost headings, Montserrat body, Inter for UI (buttons, nav, labels) */
h1, h2, h3, h4, .footer-title { font-weight: 500; letter-spacing: .01em; }
.display-title { font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.08; }
.section-title { font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.footer-title { text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; }
.eyebrow { font-family: var(--font-ui); font-weight: 500; letter-spacing: .28em; font-size: .72rem; }
.btn, .chip-btn, .tag-pill, .breadcrumb-item, .page-link, .form-control, .form-select { font-family: var(--font-ui); }
.btn { font-weight: 600; letter-spacing: .02em; }
.navbar .nav-link { font-family: var(--font-ui); font-weight: 500; letter-spacing: .02em; }
.stat b, .plan-step b, .hero-price b { font-weight: 600; }

/* ==========================================
   Communities, blogs, article, contact, about
   ========================================== */
/* Community cards */
.comm-card { overflow: hidden; transition: .4s; }
.comm-card:hover { transform: translateY(-6px); border-color: var(--stroke-hi); }
.comm-card-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.comm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .7s; }
.comm-card:hover .comm-card-img img { transform: scale(1.06); }
.comm-num {
  position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
  background: rgba(0,0,0,.5); border: 1px solid var(--stroke-hi);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.comm-card h2 a:hover, .blog-card h3 a:hover, .blog-feature h2 a:hover { color: var(--soft); }


/* Blogs */
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .78rem; color: var(--soft); letter-spacing: .04em; }
.blog-meta i { margin-right: 4px; }
.blog-feature { overflow: hidden; }
.blog-feature-img { display: block; height: 100%; min-height: 280px; }
.blog-feature-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) { .blog-feature-img { border-radius: var(--radius) 0 0 var(--radius); overflow: hidden; } }

/* Article */
.article-hero { min-height: 62vh; }
.article-title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.article-img { width: 100%; border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; }
.article-body p { font-size: 1.02rem; }
.article-body h2 { display: flex; gap: 14px; align-items: baseline; }
.article-body .num {
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--stroke-hi); color: var(--soft);
}
.share-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--stroke); }
.share-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--stroke); color: var(--ink); transition: .25s;
}
.share-btn:hover { background: var(--ink); color: var(--on-gold); }

/* Contact */
.info-card { display: block; padding: 28px; text-align: center; transition: .3s; }
.info-card i { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 1.4rem; margin-bottom: 14px; background: rgba(255,255,255,.08); border: 1px solid var(--stroke-hi); }
a.info-card:hover { transform: translateY(-4px); border-color: var(--stroke-hi); }
.map-tall { aspect-ratio: auto; min-height: 380px; }

/* About */
.about-collage { position: relative; padding: 0 0 70px 0; }
.glass-img { border-radius: var(--radius); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.about-collage .a1 { width: 82%; }
.about-collage .a2 { position: absolute; right: 0; bottom: 0; width: 58%; }
.about-badge { position: absolute; left: 6%; bottom: 18px; padding: 18px 22px; display: flex; gap: 14px; align-items: center; max-width: 260px; }
.about-badge b { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.about-badge span { font-size: .82rem; color: var(--soft); }
.vm-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; background: rgba(255,255,255,.08); border: 1px solid var(--stroke-hi); }
.checklist li { display: flex; gap: 10px; align-items: center; font-size: .94rem; }
.checklist i { font-size: 1.1rem; }
.call-card { display: inline-flex; gap: 14px; align-items: center; padding: 12px 22px 12px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke-hi); transition: .25s; }
.call-card:hover { background: rgba(255,255,255,.12); }
.call-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-gold); font-size: 1.1rem; }
.service-card { overflow: hidden; transition: .4s; }
.service-card:hover { transform: translateY(-6px); }
.service-card > img { width: 100%; aspect-ratio: 416/334; object-fit: cover; }
@media (max-width: 575.98px) { .about-badge { position: static; margin-top: 16px; max-width: none; } .about-collage { padding-bottom: 0; } .about-collage .a2 { position: static; width: 70%; margin: -40px 0 0 auto; display: block; } }

/* CMS: anti-spam honeypot + error toast */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.toast-error .bi-check-circle-fill::before { content: "\F33A"; } /* bi-exclamation-circle-fill */
.toast-error { border-color: rgba(255,120,120,.55) !important; }
/* Rich text from the CMS */
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.6rem 0 .8rem; }
.prose ul { color: var(--soft); padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; border-radius: 14px; margin: 1rem 0; }
.prose strong, .prose b { color: var(--ink); }
/* Property overview facts */
.fact { height: 100%; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); }
.fact small { display: block; color: var(--soft); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.fact b { font-weight: 600; }
.floor-img { width: 100%; border-radius: 14px; background: #fff; cursor: zoom-in; }

/* Developers */
.dev-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; text-align: center; transition: .3s; }
.dev-card:hover { transform: translateY(-4px); border-color: var(--stroke-hi); }
.dev-logo { height: 70px; width: 100%; display: grid; place-items: center; margin-bottom: 8px; }
.dev-logo img { max-height: 56px; max-width: 80%; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.dev-initials { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.7rem; background: rgba(255,255,255,.08); border: 1px solid var(--stroke-hi); }
.dev-hero-logo { display: block; margin: 0 auto 16px; max-height: 64px; max-width: 220px; filter: brightness(0) invert(1); }
.dev-stat b { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.dev-stat span { color: var(--soft); font-size: .9rem; }
.track a { display: inline-flex; align-items: center; }
.track a img { transition: opacity .2s; }
.track a:hover img { opacity: 1; }

/* UAE Dirham sign (inline SVG mask — follows the text colour and size) */
.dirham {
  display: inline-block; width: .78em; height: .78em; margin-right: .16em; vertical-align: -.06em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M26 12h20c26 0 41 15 41 38S72 88 46 88H26z' fill='none' stroke='%23000' stroke-width='10'/%3E%3Cpath d='M8 40h86M8 60h86' stroke='%23000' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M26 12h20c26 0 41 15 41 38S72 88 46 88H26z' fill='none' stroke='%23000' stroke-width='10'/%3E%3Cpath d='M8 40h86M8 60h86' stroke='%23000' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Navbar with 7 items: tighten spacing on small desktops so nothing wraps */
.navbar .btn-gold { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-glass { padding-left: 16px; }
  .navbar-brand img { height: 36px; }
  .navbar .nav-link { padding: 8px 9px !important; font-size: .84rem; }
  .navbar .btn-gold { padding: 9px 14px; font-size: .84rem; }
}

/* Search suggestions */
.suggest-wrap { position: relative; }
.suggest-box {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60;
  max-height: 380px; overflow-y: auto; padding: 8px;
  background: rgba(var(--bg-rgb),.94); border: 1px solid var(--stroke-hi); border-radius: 16px;
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow);
}
.suggest-group { padding: 8px 10px 4px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.suggest-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); text-align: left; font-size: .92rem;
}
.suggest-item i { color: var(--soft); flex: none; }
.suggest-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item small { color: var(--soft); flex: none; font-size: .76rem; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item:hover, .suggest-item.active { background: rgba(255,255,255,.1); }
.suggest-item mark { background: none; color: var(--ink); font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.suggest-empty { padding: 12px; color: var(--soft); font-size: .88rem; }
.toolbar { position: relative; z-index: 5; }

/* Brand logo */
.brand-logo { height: 54px; width: auto; display: block; }
.navbar.scrolled .brand-logo { height: 48px; transition: height .3s; }
.footer-logo { height: 96px; width: auto; max-width: 100%; }
@media (max-width: 991.98px) { .brand-logo { height: 46px; } }
@media (max-width: 575.98px) { .brand-logo { height: 42px; } .footer-logo { height: 80px; } }

/* ---------- Logo gold accents ---------- */
.navbar .nav-link.active { color: var(--gold-2); background: rgba(var(--gold-rgb),.12); }
.share-btn:hover, .call-icon { background: var(--gold); }
.suggest-item mark { background: none; color: var(--gold-2); }
::selection { background: rgba(var(--gold-rgb),.45); color: #fff; }
#propGrid.list-view .card-actions { max-width: 380px; margin-top: 0; }

/* ---------- Breadcrumb (all pages) ---------- */
.breadcrumb, .detail-hero .breadcrumb {
  display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px;
  max-width: 100%; margin: 0; padding: 6px 8px 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(var(--bg-rgb),.72), rgba(var(--bg-rgb),.6));
  border: 1px solid rgba(var(--gold-rgb),.35);
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.breadcrumb-item, .breadcrumb-item a,
.detail-hero .breadcrumb-item, .detail-hero .breadcrumb-item a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(245,245,245,.75); font-size: .8rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; transition: color .25s;
}
.breadcrumb-item a:hover { color: var(--gold-2); }
.breadcrumb-item:first-child a::before {
  content: ""; width: 14px; height: 14px; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M8.7 1.3a1 1 0 0 0-1.4 0l-6.5 6.5a.5.5 0 0 0 .7.7L2 7.9V14.5A1.5 1.5 0 0 0 3.5 16h3a.5.5 0 0 0 .5-.5V12h2v3.5a.5.5 0 0 0 .5.5h3a1.5 1.5 0 0 0 1.5-1.5V7.9l.5.6a.5.5 0 0 0 .7-.7z'/%3e%3c/svg%3e") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M8.7 1.3a1 1 0 0 0-1.4 0l-6.5 6.5a.5.5 0 0 0 .7.7L2 7.9V14.5A1.5 1.5 0 0 0 3.5 16h3a.5.5 0 0 0 .5-.5V12h2v3.5a.5.5 0 0 0 .5.5h3a1.5 1.5 0 0 0 1.5-1.5V7.9l.5.6a.5.5 0 0 0 .7-.7z'/%3e%3c/svg%3e") center / contain no-repeat;
}
.breadcrumb-item + .breadcrumb-item { padding-left: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: none; display: none; }
.breadcrumb-item:not(:last-child) { flex: none; white-space: nowrap; }
.breadcrumb-item:not(:last-child)::after {
  content: ""; display: inline-block; margin: 0 8px 0 4px;
  width: 6px; height: 6px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold);
  transform: rotate(45deg); opacity: .85;
}
.breadcrumb-item.active, .detail-hero .breadcrumb-item.active {
  color: var(--on-gold); font-weight: 600; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  max-width: 340px; min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
}
@media (max-width: 575.98px) {
  .breadcrumb-item, .breadcrumb-item a { font-size: .72rem; letter-spacing: .05em; }
}

/* ---------- Animated hero (Settings → Home Page → Hero background) ---------- */
.hero-animated::before { background: radial-gradient(120% 80% at 70% 100%, rgba(var(--gold-rgb), .16), transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--surface) 70%, var(--bg) 100%); }
.hero-animated::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .1), transparent 40%, rgba(var(--bg-rgb), .2) 75%, var(--bg)); }
.hero-both::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .55), rgba(var(--bg-rgb), .7) 60%, var(--bg)); }
.hero-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-animated .hero-scene, .hero-both .hero-scene { z-index: 0; }
.hero-animated > .container, .hero-both > .container { position: relative; z-index: 1; }

.hs-aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; animation: hs-drift 26s ease-in-out infinite alternate; }
.hs-aurora i:nth-child(1) { width: 60vw; height: 38vh; left: -10vw; top: 6vh; background: rgba(var(--gold-rgb), .35); }
.hs-aurora i:nth-child(2) { width: 46vw; height: 30vh; right: -8vw; top: 18vh; background: rgba(var(--gold-rgb), .22); animation-duration: 32s; animation-delay: -10s; }
.hs-aurora i:nth-child(3) { width: 40vw; height: 26vh; left: 30vw; top: -6vh; background: var(--orb-1); animation-duration: 38s; animation-delay: -20s; }
@keyframes hs-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.15); } 100% { transform: translate(-4vw, -2vh) scale(.95); } }

.hs-beams i { position: absolute; bottom: 0; width: 3px; height: 120vh; transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(var(--gold-rgb), .35), transparent 75%); filter: blur(2px); opacity: .55; }
.hs-beams i:nth-child(1) { left: 74%; animation: hs-sweep 14s ease-in-out infinite alternate; }
.hs-beams i:nth-child(2) { left: 22%; animation: hs-sweep 18s ease-in-out infinite alternate-reverse; }
@keyframes hs-sweep { from { transform: rotate(-28deg); } to { transform: rotate(24deg); } }

.hero-animated, .hero-both { padding-bottom: calc(clamp(170px, 26.25vw, 62vh) * .5); }
.hs-dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hs-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(170px, 26.25vw, 62vh); }
.hs-far rect { fill: rgba(var(--gold-rgb), .07); }
.hs-near rect { fill: var(--bg); stroke: rgba(var(--gold-rgb), .22); stroke-width: 1; }
.hs-land path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), .7));
  animation: hs-draw 3.2s cubic-bezier(.6, .1, .2, 1) forwards, hs-glow 5s ease-in-out 3.2s infinite; }
.hs-land path:nth-child(odd) { fill: rgba(var(--bg-rgb), .85); }
.hs-land path:nth-child(2) { animation-delay: .3s, 3.5s; } .hs-land path:nth-child(3) { animation-delay: .5s, 3.7s; }
.hs-land path:nth-child(4) { animation-delay: .7s, 3.9s; } .hs-land path:nth-child(5) { animation-delay: .9s, 4.1s; }
.hs-land path:nth-child(6) { animation-delay: .2s, 3.4s; } .hs-land path:nth-child(7) { animation-delay: 1s, 4.2s; }
.hs-land path:nth-child(8) { animation-delay: 1.1s, 4.3s; }
@keyframes hs-draw { to { stroke-dashoffset: 0; } }
@keyframes hs-glow { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .55; } }
.hs-wins rect { fill: var(--gold-light); opacity: 0; animation: hs-twinkle 5s ease-in-out infinite; }
@keyframes hs-twinkle { 0%, 100% { opacity: .1; } 40% { opacity: .95; } 60% { opacity: .6; } }
.hs-tip { fill: #ff5a5a; filter: drop-shadow(0 0 6px #ff5a5a); animation: hs-blink 1.6s steps(1) infinite; }
@keyframes hs-blink { 50% { opacity: 0; } }
.hs-horizon { stroke: rgba(var(--gold-rgb), .5); stroke-width: 1.2; filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), .9)); }

@media (max-width: 991.98px) {
  .hs-beams { display: none; }
  .hero-animated, .hero-both { padding-bottom: 150px; }
  .hs-land path { stroke-width: 3.4; }
  .hs-near rect { stroke-width: 2; stroke: rgba(var(--gold-rgb), .32); }
  .hs-far rect { fill: rgba(var(--gold-rgb), .12); }
  .hs-wins rect { transform-box: fill-box; transform-origin: center; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  .hs-land path { stroke-dashoffset: 0; }
  .hs-wins rect { opacity: .6; }
}
