/* TerraLux World custom styles */
:root {
  color-scheme: dark;
  --bg: #041b12;
  --surface: rgba(8, 22, 13, 0.82);
  --surface-strong: rgba(9, 24, 16, 0.95);
  --gold: rgb(255, 197, 75);
  --soft: #f6f0e6;
  --muted: rgba(229, 173, 68, 1);
  --brandbg: #022c1e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

b,
strong {
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: "Montserrat", sans-serif;
}

body {
  background:
    radial-gradient(circle at top, rgba(118, 107, 79, 0.12), transparent 30%),
    linear-gradient(180deg, #051f11 0%, #081f14 100%);
  color: var(--soft);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  overflow-x: hidden;
}

a {
  color: var(--gold);
}
.whitetext {
  color: #fff;
}
.goldtext {
  /* color: #ecd170; */
  color: var(--gold);
}
.darkgold {
  color: #b8732e;
}

a:hover {
  color: #f2e9d1;
}
.innerpage main {
  min-height: 500px;
}

.container-fluid {
  max-width: 2600px;
}

.form-select[multiple],
.form-select[size]:not([size="1"]) {
  background-color: #132b1e;
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 31, 17, 0.94);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.site-header.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navbar-brand {
  letter-spacing: 0.03em;
  font-weight: 700;
}

.brand-icon {
  display: inline-block;
  font-size: 1.3rem;
  margin-right: 0.55rem;
}

.brand-text {
  display: inline-block;
  line-height: 1;
}

.brand-text small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero-section {
  /* min-height: 80vh;
  min-height: calc(100vh - 88px);
  background:
    linear-gradient(
      180deg,
      rgba(4, 27, 15, 0.95) 0%,
      rgba(4, 27, 15, 0.9) 100%
    ),
    radial-gradient(circle at top, rgba(214, 180, 107, 0.15), transparent 25%),
    radial-gradient(
      circle at bottom right,
      rgba(214, 180, 107, 0.08),
      transparent 16%
    ); */
}

.hero-section .eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c8b88a;
}

.hero-section .display-5 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 4rem;
}

.hero-section .subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #d6c7a0;
}
/* ---------------------- */

.hero-typed-line {
  min-height: 2.2em;
  display: block;
  text-align: center;
}

.hero-typed-part {
  color: #d6c7a0;
}

.hero-typed-part.goldtext {
  color: var(--gold) !important;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
}

.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--gold);
  animation: typed-cursor-blink 0.8s step-end infinite;
}

.hero-cta-reveal {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes typed-cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
/* ---------------------------------- */
.btn-gold,
.btn-outline-gold {
  border-radius: 999px;
  padding: 10px 2rem;
  max-height: 52px;
  margin: 0px;
}

#properties-grid .btn-gold,
#properties-grid .btn-outline-gold {
  padding: 10px 2rem !important;
  max-height: 52px !important;
  margin: 0px !important;
}

.btn-gold {
  background: #ffd37e;
  background: linear-gradient(
    173deg,
    rgba(255, 211, 126, 1) 0%,
    rgba(255, 211, 126, 1) 25%,
    rgba(229, 173, 68, 1) 100%
  );
  color: #000;
  border: none;

  background-image: linear-gradient(180deg, #f6e27a 20%, #cb9b51 80%);
  font-weight: bold;
  padding: 12px 20px;

  margin: 5px;
  border-width: 0;
  display: inline-flex;
  align-items: center;

  transition: all 0.5s ease;

  justify-content: center;
  text-align: center;
  text-decoration: none;

  position: relative;
  overflow: hidden;
  /* max-width: 240px; */
  /* flex: 1; */
}

.btn-gold:hover {
  color: #7d5923;
}

.btn-outline-gold {
  border: 1px solid rgba(214, 180, 107, 0.85);
  color: var(--gold);
  background: transparent;
}
.btn-outline-gold:hover {
  border: 1px solid rgba(214, 180, 107, 1) !important;
  color: var(--gold) !important;
  background: rgba(255, 211, 126, 0.12);
}
.section {
  position: relative;
}

.scroll-arrow-cue {
  left: 50%;
  z-index: 10;
  pointer-events: none;
}
.arrow-down {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-left: 4px solid #d6b46b;
  border-bottom: 4px solid #d6b46b;
  transform: rotate(-45deg);
  margin-top: 8px;
  animation: arrow-bounce 1.2s infinite;
}
@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(12px) rotate(-45deg);
  }
}

.scroll-hint {
  opacity: 0.8;
}

.scroll-hint:hover {
  opacity: 1;
}

.section-cards,
.section-map {
  background: #fdf9d8;
  color: #0d1b15;
}

.section-white {
  /* background: #011f15;
  background: radial-gradient(
    circle,
    rgba(1, 31, 21, 1) 0%,
    rgba(8, 71, 50, 1) 78%,
    rgba(2, 43, 29, 1) 100%
  ); */
  background:
    radial-gradient(circle at top, rgba(214, 180, 107, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 25, 16, 0.98), rgba(3, 12, 8, 0.98));
  color: #ffc54b;
}

.section-white .text-muted {
  color: #ffc54b !important;
  opacity: 0.8;
}

.section-white .eyebrow,
.section-white h2,
.section-white h3,
.section-white .display-6 {
  color: var(--gold);
}

.section-white .card-highlight,
.section-white .partner-panel,
.section-white .feature-box,
.section-white .location-card,
.section-white .property-card {
  background: linear-gradient(
    308deg,
    #021a12 4%,
    rgb(2 46 31) 43%,
    rgb(1 30 21) 100%,
    rgba(229, 173, 68, 1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark {
  background: rgba(4, 27, 15, 0.98);
}

.section-featured {
  background: linear-gradient(
    180deg,
    rgba(15, 35, 24, 0.98),
    rgba(9, 21, 14, 1)
  );
}

.section-cta {
  background:
    radial-gradient(circle at top, rgba(214, 180, 107, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 25, 16, 0.98), rgba(5, 21, 14, 0.98));
}
/* SECTION */
section {
  padding: 80px 0;
}

.card {
  background: #111;
  border: 1px solid #222;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(135, 118, 5, 0.5);
}

.card-highlight {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 180, 107, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.card-highlight .card-link {
  color: #392e16;
  font-weight: 600;
  margin: 10px 0;
  display: inline-block;
  text-decoration: none;
}

.card-highlight .badge {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  /* background-color: #d6b46b !important; */
  background: #ffd37e;
  background: linear-gradient(
    173deg,
    rgba(255, 211, 126, 1) 0%,
    rgba(255, 211, 126, 1) 25%,
    rgba(229, 173, 68, 1) 100%
  );
  color: #012519;
}

.property-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  min-height: 240px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.property-card .badge {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.partner-panel,
.location-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#insights .feature-box {
  background: #000000b5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

#insights .feature-box:hover {
  transform: scale(1.06);
  background: #00000070;
  border-color: rgba(214, 175, 55, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.partner-panel h3,
.location-card h3 {
  color: var(--soft);
}

.feature-box {
  border-color: rgba(214, 180, 107, 0.2);
}
.project-card {
  position: relative;
}

.project-card-media {
  position: relative;
}

.wishlist-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: auto;
  top: auto;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 211, 126, 0.95);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  z-index: 6;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.wishlist-toggle i {
  pointer-events: none;
  font-size: 0.9rem;
  line-height: 1;
}

.wishlist-toggle:hover {
  transform: translateY(-2px);
  background: #fff4d6;
  color: #111;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

.wishlist-toggle.is-active {
  background: linear-gradient(
    173deg,
    rgba(255, 211, 126, 1) 0%,
    rgba(229, 173, 68, 1) 100%
  );
  color: #052915;
}

.wishlist-toggle:focus-visible {
  outline: 2px solid rgba(255, 211, 126, 0.85);
  outline-offset: 2px;
}

/* ── Wishlist tooltip ── */
.wishlist-toggle[data-tooltip] {
  overflow: visible;
}

.wishlist-toggle[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: rgba(5, 20, 10, 0.93);
  color: #d6b46b;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(214, 180, 107, 0.3);
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 20;
}

.wishlist-toggle[data-tooltip]:hover::after,
.wishlist-toggle[data-tooltip]:focus-visible::after,
.wishlist-toggle[data-tooltip].tooltip-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ── Premium per-field form error messages ───────────────────────────────── */
.field-error-msg {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: rgb(229 173 68 / 72%);
  line-height: 1.45;
  padding-left: 2px;
}

.field-error-msg svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.form-group.has-error .form-control {
  border-color: rgba(214, 180, 107, 0.3) !important;
  box-shadow: 0 0 0 2px rgba(225, 90, 80, 0.1) !important;
}

.form-group.has-error .custom-select-trigger {
  border-color: rgba(214, 180, 107, 0.3) !important;
  box-shadow: 0 0 0 2px rgba(225, 90, 80, 0.1) !important;
}

.form-group.has-error .geo-multiselect {
  border-color: rgba(214, 180, 107, 0.3) !important;
  box-shadow: 0 0 0 2px rgba(225, 90, 80, 0.1) !important;
}

/* General (non-field) apply error — e.g. duplicate email, rate limit */
.apply-general-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(200, 55, 45, 0.1);
  border: 1px solid rgba(214, 180, 107, 0.35);
  color: rgba(229, 173, 68, 1);
  font-size: 0.9rem;
  line-height: 1.55;
}

.apply-general-error svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(229, 173, 68, 1);
}

.project-card .prompt,
.project-card-media .prompt {
  position: absolute;
  top: 22px;
  right: 24px;
  background: #d6b46b !important;
}
#featured .text-muted {
  color: #d6b46b !important;
}
.feature-box h3 {
  color: var(--gold);
}

.footer {
  background: linear-gradient(175deg, #010f0a 0%, #022016 40%, #010f0a 100%);
  color: rgba(255, 255, 255, 0.55);
  position: relative;
}

/* thin gold rule at very top */
.footer-top-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c9a84c 40%,
    #c9a84c 60%,
    transparent 100%
  );
  opacity: 0.45;
}

/* Brand column */
.footer-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 0;
}

/* Vertical divider on non-brand columns (desktop only) */
@media (min-width: 992px) {
  .footer-divider-col {
    border-left: 1px solid rgba(201, 168, 76, 0.1);
    /* padding-left: calc(var(--bs-gutter-x) * 0.5 + 1.5rem); */
  }
}

/* Section headings */
.footer-heading {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  position: relative;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  /* right: 0;
  margin: auto; */
  width: 28px;
  height: 1px;
  background: #c9a84c;
  opacity: 0.5;
}

/* Nav links */
.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.83rem;
}
.footer-links li a {
  padding: 5px 0;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}
.footer-links li a:hover {
  color: #c9a84c;
  padding-left: 4px;
}

/* Contact list */
.footer-contact-list {
  margin: 0;
  padding: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.52);
}
.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.25s ease;
  word-break: break-word;
}
.footer-contact-list li a:hover {
  color: #c9a84c;
}
.contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #c9a84c;
  opacity: 0.75;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.footer-copy {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.38) !important;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-legal a:hover {
  color: #c9a84c !important;
}
.footer-sep {
  color: rgba(201, 168, 76, 0.3);
  font-size: 0.6rem;
}

/* ── Footer Favicon Brand Mark ── */
.footer-brand-mark {
  position: relative;
  display: inline-block;
  cursor: default;
}

.footer-fav-img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 5px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.footer-brand-mark:hover .footer-fav-img {
  border-color: #c9a84c;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
  transform: scale(1.06);
}

.footer-fav-hover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  white-space: nowrap;
}
.footer-fav-hover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(201, 168, 76, 0.45);
}
.footer-brand-mark:hover .footer-fav-hover {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.footer-fav-name {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #c9a84c;
  text-transform: uppercase;
  line-height: 1.2;
}
.footer-fav-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(201, 168, 76, 0.6);
  text-transform: uppercase;
}

.max-720 {
  max-width: 720px;
}

@media (max-width: 991px) {
  .hero-section {
    min-height: 60vh;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1rem;
  }
  .hero-section .display-5 {
    font-size: 2.4rem;
  }
}
/* ---------- */
/* Hamburger icon color fix */
/* Navbar links */
.navbar .nav-link {
  color: #d4af37;
  font-size: 14px;
  text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffd37e;
}
.navbar .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #d6b46b;
  transition: width 0.3s ease;
  margin: 6px auto 0;
}
.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #d6b46b;
  transition: width 0.3s ease;
}

/* Logged-in member pill button in desktop nav */
.navbar .nav-member-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border: 1px solid rgba(214, 180, 107, 0.6);
  border-radius: 999px;
  background: rgba(214, 180, 107, 0.08);
  color: #ffd37e !important;
  letter-spacing: 0.03em;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.navbar .nav-member-pill:hover,
.navbar .nav-member-pill.active {
  background: rgba(214, 180, 107, 0.18) !important;
  border-color: #d6b46b !important;
  box-shadow: 0 0 10px rgba(214, 180, 107, 0.25);
  color: #ffd37e !important;
}

.navbar .nav-member-pill::after {
  display: none !important;
}

/* Member pill subnav: open from right edge so it doesn't clip off screen */
@media (min-width: 992px) {
  .navbar .d-lg-flex .has-subnav:has(.nav-member-pill) > .subnav-list {
    left: auto;
    right: 0;
  }
}

/* Hamburger icon white */
.navbar {
  backdrop-filter: blur(10px);
  /* background: rgba(0, 0, 0, 0.4); */
  background: #022b1d91;
  border-top: 6px solid #fccb6f;
}
.navbar-toggler {
  filter: invert(1);
}

/* Offcanvas styling */
.offcanvas {
  background: #041b12;
  transition: transform 0.4s ease-in-out;
  color: #fff;
}
.offcanvas a {
  color: #fff;
}
/* Menu links (mobile) */
.offcanvas .nav-link {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Width */
.offcanvas-end {
  width: 280px;
}

.navbar .has-subnav {
  position: relative;
}

.navbar .subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar .subnav-link::after {
  display: none !important;
}

@media (min-width: 992px) {
  .navbar .d-lg-flex .has-subnav {
    padding-bottom: 14px;
    margin-bottom: -14px;
  }

  .navbar .d-lg-flex .has-subnav::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 16px;
  }

  .navbar .d-lg-flex .has-subnav > .subnav-list {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: auto;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0;
    background: rgba(4, 27, 18, 0.98);
    border: 1px solid rgba(255, 211, 126, 0.18);
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 1200;
  }

  .navbar .d-lg-flex .has-subnav:hover > .subnav-list,
  .navbar .d-lg-flex .has-subnav:focus-within > .subnav-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar .d-lg-flex .subnav-link {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 13px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

.offcanvas .subnav-list {
  margin-top: 0.35rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 211, 126, 0.22);
}

.offcanvas .subnav-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* --------- */

.navbar-brand img {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  margin: 0 auto;
  top: 0;
  left: 0;
  right: 0;
  max-width: 192px;
  transition: max-width 0.3s ease;
}
.sticky .navbar-brand img {
  max-width: 100px;
}

#properties h3 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin-top: 20px;
  color: var(--gold);
}
#properties p {
  color: #ffffffcf;
}
#properties .user {
  margin: 30px 0;
}
#properties .card-highlight .badge {
  float: right;
}

#properties .premiumcard {
  background: linear-gradient(219deg, #2e2307 0%, #d4af37 50%, #2e2307 100%);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#properties .premiumcard .card-body {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#properties .premiumcard h3 {
  color: #053111;
  /* font-size: 3.2rem; */
  font-size: clamp(1.8rem, 2.6vw, 3.2rem);
  margin-top: 45px;
  text-shadow: 1px 1px 5px #ffd37e;
}
.premiumexplore {
  background: #053111;
  color: #ffd37e;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 999px;
  transition: all 0.3s ease;
  color: #f3ce56 !important;
}
.secheading h2 {
  color: var(--gold);
}
.secheading p.sub1 {
  color: var(--gold);
  font-weight: normal;
  letter-spacing: 0.5em;
}
.secheading h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}
#insights .secheading h2:after {
  margin-left: 0;
}
#insights .text-muted {
  color: #d5d5d5 !important;
}
#builders .partner-panel {
  min-height: 170px;
}
#builders .partner-panel h3 {
  font-size: 1.3rem;
  color: #ffc54b;
  margin: 35px 0;
}
#builders .projectlocation {
  color: #d6b46b;
  font-weight: 500;
}
#builders .project {
  color: #d6b46b;
  font-weight: 500;
}

#map .row {
  align-items: stretch;
}

#map .row > [class*="col-"] {
  display: flex;
}

#map .location-card {
  background: linear-gradient(
    308deg,
    #021a12 4%,
    rgb(2 46 31) 43%,
    rgb(1 30 21) 100%,
    rgba(229, 173, 68, 1) 100%
  );
  position: relative;
  transition: transform 0.3s ease;
  min-height: 100%;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px !important;
}

#map .location-card:hover {
  transform: scale(1.05);
}

#map .location-card h3 {
  font-size: clamp(1.8rem, 2.3vw, 2.2rem);
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 30px;
}
#map .location-card .subline {
  color: #ffffffcf;
}
#map .location-card p {
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.55;
}
.partner-panel {
  position: relative;
}
#map .location-card .badge,
#builders .project {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #ffc1078c;
  background: #01160f;
  color: rgba(229, 173, 68, 1);
  border-radius: 4px 10px 4px 4px;
  margin-bottom: 0.9rem;
  position: absolute;
  top: 0;
  right: 0;
}
#map .location-card .fw-semibold {
  color: var(--gold);
  font-weight: 100 !important;
  opacity: 0.7;
}

#map .location-card .btn-gold {
  padding: 6px 20px;
  margin-top: auto;
  margin-left: auto;
  align-self: flex-end;
}

@media (max-width: 1199px) {
  #map .location-card h3 {
    /* font-size: 1.95rem; */
    margin-bottom: 20px;
  }

  #map .location-card p {
    font-size: 0.98rem;
  }
}

@media (max-width: 991px) {
  #map .location-card {
    padding: 1.25rem !important;
  }

  #map .location-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  #map .location-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 767px) {
  #map .location-card {
    border-radius: 20px;
  }

  #map .location-card:hover {
    transform: none;
  }

  #map .location-card h3 {
    font-size: 1.55rem;
  }

  #map .location-card p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  #map .location-card .btn-gold {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  #map .location-card h3 {
    font-size: 1.4rem;
  }

  #map .location-card p {
    font-size: 0.9rem;
  }
}

.flinks {
  /* text-align: center; */
}
.fcontact {
  color: var(--soft);
}

.fcontact p {
  margin-bottom: 1rem;
}

.fcontact .contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fcontact .contact-icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
}

.fcontact .contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fcontact a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.fcontact a:hover {
  color: #fff;
}

.fcontact .contact-line a {
  line-height: 1.35;
}

/* -------------------------- */

body {
  font-family: "Inter", sans-serif;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

/* NAVBAR */
.navbar {
  position: absolute;
  width: 100%;
  z-index: 10;
  transform: translateY(-100%);
  transition: transform 0.8s ease;
}

.navbar.loaded {
  transform: translateY(0);
}

.navbar-nav {
  /* opacity: 0; */
  transition: opacity 0.5s ease 0.5s;
}

.navbar.loaded .navbar-nav {
  opacity: 1;
}

.navbar.sticky {
  position: fixed !important;
  top: 0;
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  transform: translateY(0) !important;
  transition: background 0.3s ease;
}

body {
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.loaded {
  opacity: 1;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-center {
  font-size: 22px;
  font-weight: bold;
  color: #fff !important;
}

@media (max-width: 767px) {
}

/* HERO VIDEO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #042d1f;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero .hero-content {
  margin-top: 10%;
}

.esttext {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #d6c7a0;
}
.hero .hero-content h1 {
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    #7c5c1e 0%,
    #c9a84c 18%,
    #f5e08a 35%,
    #e8c96e 50%,
    #fff4b8 62%,
    #c9a84c 75%,
    #a07828 88%,
    #e8c96e 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .hero-content .subtitle {
  font-family: "Birthstone", cursive;

  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
}
.hero .hero-content #heroTypedText .goldtext {
  color: var(--gold) !important;
}

.section-featured {
  background: linear-gradient(180deg, rgb(2 43 29) 0%, rgb(1, 34, 23) 100%);
}
#insights {
  overflow: hidden;
  position: relative;
  background-image: url(../img/whyterra.jpg);
  background-size: cover;
  background-position: center;
  background-color: #000;
  background-attachment: fixed;
}
#insights::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #0000007d;
}

#insights .container,
#insights .row {
  position: relative;
  z-index: 1;
}

.featured-grid {
  gap: 24px;
}

.featured-large,
.featured-small {
  min-height: 280px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.featured-small {
  transform: translateY(0);
  transition: transform 0.5s ease;
  will-change: transform;
}

.featured-small:nth-of-type(2) {
  transform: translateY(18px);
}

.featured-small:nth-of-type(3) {
  transform: translateY(36px);
}

.featured-large img,
.featured-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.featured-large:hover img,
.featured-small:hover img {
  transform: scale(1.05);
}

.featured-small::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.featured-small::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -32px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(214, 175, 55, 0.35);
  transform: rotate(22deg);
  pointer-events: none;
}

.property-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.8rem 1.6rem 1.6rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.75) 55%,
    rgba(0, 0, 0, 0.92) 100%
  );
  color: #f4f1e8;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.property-overlay h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.property-overlay p {
  margin-bottom: 0;
  color: #d0c7b7;
}

.property-overlay .badge {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.featured-meta {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-meta span {
  color: #b8b2a2;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.loop {
  margin: 2rem auto;
}

.loop .item {
  border-radius: 32px;
  overflow: hidden;
  background: rgb(2 24 17);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.4rem 1.5rem 1.6rem;
}

.loop .item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.loop .item h3 {
  font-size: 2rem;
  margin-bottom: 0.55rem;
  color: #ffd37e;
}

.loop .item p {
  color: #d0c7b7;
  margin-bottom: 0.85rem;
  line-height: 1.6;
}

.loop .item .badge {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.loop .item-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: #d6b46b;

  font-size: 0.95rem;
}

.loop .item-meta span {
  display: inline-block;
}

#featured .owl-carousel .owl-item {
  opacity: 0.3;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  transform: scale(0.92);
}

#featured .owl-carousel .owl-item.center {
  opacity: 1;
  transform: scale(1);
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-carousel .owl-nav button {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  pointer-events: all;
  top: 0;
  margin-top: 0;
}

.owl-carousel .owl-nav button:hover {
  background-color: transparent !important;
}

.owl-carousel .owl-nav button.owl-prev {
  left: 0rem;
}

.owl-carousel .owl-nav button.owl-next {
  right: 0rem;
}
#featured-properties {
  .owl-carousel .owl-nav button.owl-prev {
    left: -4rem;
  }

  .owl-carousel .owl-nav button.owl-next {
    right: -4rem;
  }
}
.owl-carousel .owl-nav button span {
  font-size: 0;
}

.owl-carousel .owl-nav button::before {
  content: "";
  width: 18px;
  height: 18px;
  background-size: 18px 18px;
  display: block;
}

.owl-carousel .owl-nav button.owl-prev::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 16 16%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M10.5 13.5 5 8l5.5-5.5%22 stroke=%22white%22 stroke-width=%221.8%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

.owl-carousel .owl-nav button.owl-next::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 16 16%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M5.5 2.5 11 8l-5.5 5.5%22 stroke=%22white%22 stroke-width=%221.8%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 1.6rem;
  padding-bottom: 1rem;
}

.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 0.375rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  border: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.owl-carousel .owl-dots .owl-dot.active {
  background: rgba(214, 175, 55, 0.9);
  transform: scale(1.2);
}

#featured-properties .owl-carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s ease,
    filter 0.9s ease;
  transform-origin: center center;
}

#featured-properties .owl-carousel .owl-item.active .item img {
  transform: scale(1.05);
}

#featured-properties .owl-carousel .item:hover img {
  transform: scale(1.12);
  filter: saturate(1.05);
}

#featured-properties .owl-carousel .item img {
  backface-visibility: hidden;
}

@keyframes panZoomVertical {
  0% {
    transform: scale(1.08) translateY(-6%);
  }
  100% {
    transform: scale(1.14) translateY(6%);
  }
}

/* BUTTON */
.go-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: rgba(2, 43, 29, 0.85);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.go-to-top-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.go-to-top-label {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #c9a84c;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.go-to-top-label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(201, 168, 76, 0.5);
}

.go-to-top-btn:hover {
  border-color: #c9a84c;
  box-shadow:
    0 0 20px rgba(201, 168, 76, 0.28),
    0 6px 18px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.go-to-top-btn:hover .go-to-top-icon {
  transform: translateY(-2px);
}

.go-to-top-btn:hover .go-to-top-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.go-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* ========== CROWN JEWELS SECTION ========== */

/* Hero Section */
.crown-jewels-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #011f15;
  /* background: radial-gradient(
    circle,
    rgba(1, 31, 21, 1) 0%,
    rgba(8, 71, 50, 1) 78%,
    rgba(2, 43, 29, 1) 100%
  ); */

  padding: 40px 0;
}

.crown-jewels-hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.crown-jewels-hero .hero-overlay {
  /* position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1; */
}

.crown-jewels-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.crown-jewels-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffd37e;
  margin: 0px 0 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 0.8s ease-out;
}

.heropara {
  font-size: 1rem;
  color: #ffd37e;
  letter-spacing: 0.08em;

  max-width: 900px;
  margin: 0 auto 40px;
}

.crown-jewels-hero .hero-subtitle {
  font-size: 1.5rem;
  color: #d6c7a0;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.crown-jewels-hero .hero-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* -------------------- */

.innerpage .navbar-brand img {
  max-width: 106px;
}
.innerpage main {
  padding-top: 67px;
}
/* --------------- */

/* ========== PROPERTY DETAIL PAGE ========== */
.property-detail-page {
  background:
    radial-gradient(circle at top, rgba(214, 180, 107, 0.1), transparent 24%),
    linear-gradient(180deg, #051f14 0%, #07150f 100%);
}

.property-breadcrumb {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  color: rgba(255, 213, 123, 0.75);
  font-size: 0.92rem;
}

.property-breadcrumb a {
  text-decoration: none;
}

.property-title-main {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  color: #fff3d2;
}

.property-subline {
  color: rgba(255, 234, 198, 0.78);
  line-height: 1.7;
}

.property-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 211, 126, 0.12);
  border: 1px solid rgba(255, 211, 126, 0.32);
  color: #ffd37e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.property-gallery-shell,
.detail-side-card,
.detail-panel,
.similar-card {
  background: linear-gradient(
    180deg,
    rgba(4, 21, 14, 0.95),
    rgba(8, 33, 22, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.property-gallery-shell {
  padding: 1rem;
}

.gallery-shell-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.gallery-hint {
  color: rgba(255, 236, 201, 0.72);
  font-size: 0.92rem;
}

.gallery-launch {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-bottom: 0.9rem;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-launch:hover {
  transform: translateY(-2px);
  background: rgba(255, 211, 126, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.property-gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 480px;
  background: #02140d;
  cursor: zoom-in;
}

.property-gallery-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32),
      transparent 24%,
      transparent 76%,
      rgba(0, 0, 0, 0.42)
    ),
    radial-gradient(circle at center, transparent 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.property-gallery-stage::after {
  content: "Click to open fullscreen";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff7e0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.property-gallery-stage img,
.lightbox-stage img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  transition:
    opacity 0.6s ease,
    transform 0.9s ease;
}

#mainPropertyImage {
  will-change: transform, opacity;
  transform-origin: center center;
}

#mainPropertyImage.fade-in {
  animation: property-image-fade-in 0.65s ease;
}

@keyframes property-image-fade-in {
  0% {
    opacity: 0.08;
  }
  100% {
    opacity: 1;
  }
}

#mainPropertyImage.motion-a {
  animation: cinematic-pan-a 18s ease-in-out infinite alternate;
}

#mainPropertyImage.motion-b {
  animation: cinematic-pan-b 18s ease-in-out infinite alternate;
}

#mainPropertyImage.motion-c {
  animation: cinematic-pan-c 18s ease-in-out infinite alternate;
}

@keyframes cinematic-pan-a {
  0% {
    transform: scale(1.08) translate3d(-1.4%, -0.8%, 0);
  }
  100% {
    transform: scale(1.14) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes cinematic-pan-b {
  0% {
    transform: scale(1.07) translate3d(1.5%, -0.6%, 0);
  }
  100% {
    transform: scale(1.13) translate3d(-1.1%, 1%, 0);
  }
}

@keyframes cinematic-pan-c {
  0% {
    transform: scale(1.09) translate3d(0, -1.2%, 0);
  }
  100% {
    transform: scale(1.15) translate3d(0.8%, 1.1%, 0);
  }
}

.property-gallery-stage img.is-changing,
.lightbox-stage img.is-changing {
  opacity: 0.05;
}

.gallery-counter {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.86rem;
  z-index: 2;
}

.gallery-nav,
.lightbox-nav,
.lightbox-close {
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 86px;
  border-radius: 0%;
  background: rgba(229, 173, 68, 1);
  color: #fff;
  font-size: 1.8rem;
  z-index: 2;
}

.gallery-nav.prev {
  left: 1rem;
}

.gallery-nav.next {
  right: 1rem;
}

.property-gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  scroll-behavior: smooth;
}

.property-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.property-gallery-thumbs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.property-gallery-thumbs.is-dragging .gallery-thumb {
  pointer-events: none;
}

.gallery-thumb {
  padding: 0;
  flex: 0 0 86px;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.72;
  transition: 0.25s ease;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: #ffd37e;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.gallery-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  display: block;
}

.detail-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.detail-sidebar-stack {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-side-card {
  padding: 1.3rem;
  position: relative;
}

.listing-agent-box {
  background: linear-gradient(
    180deg,
    rgba(4, 21, 14, 0.97),
    rgba(8, 33, 22, 0.99)
  );
  border: 1px solid rgba(255, 211, 126, 0.18);
  border-radius: 32px;
  padding: 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.listing-agent-box h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  color: #ffd37e;
  text-align: center;
  margin: 0 0 1rem;
}

.listing-agent-layout {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.listing-agent-photo {
  width: 150px;
  height: 170px;
  border-radius: 36px;
  flex: 0 0 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(255, 211, 126, 0.18) 0%,
    rgba(59, 52, 26, 0.88) 100%
  );
  border: 1px solid rgba(255, 211, 126, 0.22);
  color: #f6e8c4;
  overflow: hidden;
}

.listing-agent-photo i {
  font-size: 4.4rem;
  opacity: 0.88;
}

.listing-agent-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.listing-agent-copy h4 {
  margin: 0;
  color: #f6f0e6;
  font-size: 1.35rem;
  line-height: 1.2;
  text-transform: capitalize;
}

.listing-agent-phone {
  color: #ffd37e;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.listing-agent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  margin-top: 0.35rem;
}

.listing-agent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 126, 0.35);
  color: #f8f0df;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}

.listing-agent-btn:hover {
  background: rgba(255, 211, 126, 0.12);
  color: #ffd37e;
}

.price-line {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffd37e;
}

.detail-side-meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.detail-side-meta span,
.map-chip {
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  color: #f4e8cb;
  font-size: 0.86rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.stat-grid div {
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.stat-grid small {
  display: block;
  color: rgba(255, 227, 180, 0.72);
  margin-bottom: 0.35rem;
}

.stat-grid strong {
  color: #fff;
  font-size: 0.98rem;
}

.agent-mini-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.agent-mini-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  color: #fff3d2;
}

.agent-mini-card p {
  margin: 0;
  color: rgba(255, 240, 216, 0.74);
}

.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  font-weight: 700;
  color: #052514;
  background: linear-gradient(180deg, #f6e27a, #cb9b51);
}

.side-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.property-detail-content {
  background: transparent;
}

.detail-panel {
  padding: 1.4rem;
}

.detail-panel h2 {
  color: #ffd37e;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.detail-panel p,
.detail-panel li {
  color: rgba(255, 240, 216, 0.8);
  line-height: 1.8;
}

.highlight-list {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.highlight-list span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 211, 126, 0.1);
  border: 1px solid rgba(255, 211, 126, 0.16);
  color: #ffe6b0;
}

.detail-facts,
.insight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-facts li,
.insight-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-panel .map-placeholder {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #edf1dd 0%, #d8ebce 100%);
  background-size:
    48px 48px,
    48px 48px,
    cover;
}
.map-placeholder iframe {
  width: 100%;
  min-height: 300px;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent 46%,
      rgba(109, 127, 104, 0.22) 47%,
      rgba(109, 127, 104, 0.22) 53%,
      transparent 54%
    ),
    linear-gradient(
      90deg,
      transparent 25%,
      rgba(104, 117, 102, 0.2) 26%,
      rgba(104, 117, 102, 0.2) 31%,
      transparent 32%
    );
}

.map-marker {
  position: absolute;
  top: 43%;
  left: 58%;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  background: #0f4c81;
  transform: rotate(-45deg);
  z-index: 2;
}

.map-marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

.map-copy {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(1, 29, 20, 0.85);
  color: #fff;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  z-index: 2;
}

.similar-listings-carousel {
  position: relative;
}

.similar-listings-carousel .item {
  padding: 0.35rem;
}

.similar-listings-carousel .owl-stage {
  display: flex;
}

.similar-listings-carousel .owl-item {
  display: flex;
}

.similar-listings-carousel .similar-card {
  width: 100%;
}

.similar-listings-wrap .owl-nav button.owl-prev {
  left: -16px;
}

.similar-listings-wrap .owl-nav button.owl-next {
  right: -16px;
}

.similar-card {
  overflow: hidden;
}

.similar-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.similar-card-body {
  padding: 1.15rem;
}

.similar-card-body h3 {
  color: #fff3d2;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.similar-card-body p {
  color: rgba(255, 240, 216, 0.74);
}

.lg-backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lg-outer .lg-thumb-outer {
  background: rgba(11, 11, 11, 0.82);
}

.lg-outer .lg-thumb-item {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
  border-color: #ffd37e;
}

.lg-outer .lg-toolbar .lg-icon,
.lg-outer .lg-next,
.lg-outer .lg-prev,
.lg-outer #lg-counter {
  color: #fff3d2;
}

.lg-property-caption h4 {
  color: #fff3d2;
  margin-bottom: 0.3rem;
}

.lg-property-caption p {
  color: rgba(255, 240, 216, 0.82);
  margin: 0;
}

@media (max-width: 991px) {
  .property-gallery-stage,
  .property-gallery-stage img {
    min-height: 380px;
    height: 380px;
  }

  .detail-sidebar-stack {
    position: static;
  }
}

@media (max-width: 767px) {
  .listing-agent-layout {
    flex-direction: column;
    text-align: center;
  }

  .listing-agent-copy {
    align-items: center;
  }

  .listing-agent-phone {
    font-size: 1.2rem;
  }
  .property-gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-pill {
    width: 100%;
  }

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

/* Filter Section */
.crown-jewels-filters {
  background: rgba(4, 27, 15, 0.95);
  border-bottom: 1px solid rgba(214, 180, 107, 0.15);
  padding: 40px 0 !important;
}

.filter-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.filter-title {
  color: #ffd37e;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

.filters-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 300px;
}

.filter-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 180, 107, 0.3);
  color: #f6f0e6;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  min-width: 150px;
  cursor: pointer;
}

.filter-select:hover,
.filter-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 180, 107, 0.6);
  outline: none;
}

.filter-select option {
  background: #041b12;
  color: #f6f0e6;
}

/* Featured Properties Carousel */
.crown-jewels-featured {
  background:
    radial-gradient(circle at top, rgba(214, 180, 107, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 25, 16, 0.98), rgba(5, 21, 14, 0.98));
  padding: 80px 0 !important;
}

.section-heading {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: rgba(214, 180, 107, 0.6);
  margin: 15px auto 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #d6c7a0;
  letter-spacing: 0.05em;
}

/* Featured Carousel */
.featured-carousel {
  margin-bottom: 0;
}

.featured-carousel .owl-stage-outer {
  overflow: hidden;
}

.featured-carousel .owl-item {
  width: 100% !important;
  display: block !important;
}

.featured-property-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 400px;
  margin: 0;
}

.featured-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s ease,
    filter 0.9s ease;
  transform-origin: center center;
}

/* Slow vertical pan + zoom for active featured slides */
#featured-properties .owl-item.active .featured-image-wrapper img {
  animation: panZoomVertical 18s ease-in-out infinite alternate both;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(0 0 0) 0%,
    rgb(0 0 0 / 0%) 50%,
    rgb(0 0 0 / 0%) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px 25px 0px 25px;
  transition: all 0.4s ease;
  opacity: 0.8;
}

#featured-properties .btn-gold {
  float: right;
}

.featured-property-card:hover .featured-overlay {
  opacity: 1;
}

#featured .owl-carousel .owl-item {
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

#featured .owl-carousel .owl-item .animated {
  display: block;
}

#featured .owl-carousel .fadeIn {
  animation-name: fadeIn;
  animation-duration: 0.9s;
}

#featured .owl-carousel .fadeOut {
  animation-name: fadeOut;
  animation-duration: 0.9s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}

.featured-details {
  color: #fff;
  width: 100%;
}

.featured-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0 0 10px;
  color: #ffd37e;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-location {
  color: #d6c7a0;
  font-size: 0.95rem;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.featured-price {
  color: #d6b46b;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 10px 0 0;
}

/* Properties Grid */
.crown-jewels-grid {
  /* background: rgba(4, 27, 15, 0.95); */
  padding: 80px 0 !important;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 1200px) {
  .properties-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Property Card */
.luxury-property-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(214, 180, 107, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.luxury-property-card:hover {
  border-color: rgba(214, 180, 107, 0.5);
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(214, 180, 107, 0.15);
}

.property-image-container {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.property-carousel {
  width: 100%;
  height: 100%;
}

.property-carousel .item {
  height: 280px;
  position: relative;
}

.property-carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.luxury-property-card:hover .property-image-container img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 211, 126, 0.95);
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.luxury-property-card .property-overlay {
}

.property-image-container:hover .property-overlay {
  opacity: 1;
  pointer-events: auto;
}

.property-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: #ffd37e;
  margin: 0 0 6px;
  line-height: 1.3;
}

.property-location {
  color: #d6c7a0;
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.05em;
}

.property-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(214, 180, 107, 0.2);
  border-bottom: 1px solid rgba(214, 180, 107, 0.2);
}

.detail-item {
  text-align: center;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  color: #a89d8f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.detail-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: #d6b46b;
}

.property-price {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: #ffd37e;
  font-weight: 600;
  margin-top: auto;
}

/* Request Access Section */
.crown-jewels-access {
  background: linear-gradient(
    135deg,
    rgba(4, 27, 15, 0.98),
    rgba(8, 35, 20, 0.98)
  );
  border-top: 1px solid rgba(214, 180, 107, 0.15);
  padding: 80px 0 !important;
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .access-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.access-text h2 {
  color: var(--gold);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.access-description {
  font-size: 1.1rem;
  color: #d6c7a0;
  line-height: 1.8;
  margin-bottom: 25px;
}

.access-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.access-benefits li {
  color: #f6f0e6;
  padding: 4px 0;
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
}
.membership-tier-card.card-highlight .badge {
  padding: 6px 0;
  font-size: 0.9rem;
}

.membership-tier-card h3 {
  color: var(--gold);
  font-size: clamp(1.8rem, 2.6vw, 3.2rem);
}

.access-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d6b46b;
  font-weight: 700;
  font-size: 1.2rem;
}
/* Luxury Form */
.luxury-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  position: relative;
  margin-bottom: 10px;
}

.luxury-form .form-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(214, 180, 107, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  /* font-weight: 600; */
}

.custom-select-ui {
  position: relative;
}

.custom-select-ui .custom-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 180, 107, 0.3);
  color: #f6f0e6;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.custom-select-trigger i {
  color: #d6b46b;
  transition: transform 0.25s ease;
}

.custom-select-ui.open .custom-select-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 180, 107, 0.6);
  box-shadow: 0 0 0 3px rgba(214, 180, 107, 0.1);
}

.custom-select-ui.open .custom-select-trigger i {
  transform: rotate(180deg);
}

.custom-select-options {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 30;
  background: #041b12;
  border: 1px solid rgba(214, 180, 107, 0.28);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.custom-select-ui.open .custom-select-options {
  display: block;
}

.custom-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f6f0e6;
  text-align: left;
  padding: 12px 16px;
  font-size: 1rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.custom-select-option:hover,
.custom-select-option.active {
  background: rgba(214, 180, 107, 0.16);
  color: #ffd37e;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 180, 107, 0.3);
  color: #f6f0e6;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}
.form-control option,
.form-control option:hover,
.form-control option:checked,
.form-control:focus {
  background: #041b12 !important;
  color: #f6f0e6;
  border-color: #000 !important;
}
.form-control option:hover {
  background: #041b12;
  color: #f6f0e6;
}
.form-control option:checked {
  background: #041b12 !important;
  color: #f6f0e6;
}

.form-control::placeholder {
  color: #8a8178;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 180, 107, 0.6);
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 180, 107, 0.1);
  color: #f6f0e6;
}

.form-control option {
  background: #041b12;
  color: #f6f0e6;
}

.form-control option:checked {
  background: rgba(214, 180, 107, 0.3);
}

.luxury-form .geo-hint {
  font-size: 0.8rem;
  color: rgba(214, 180, 107, 0.7);
  font-weight: 400;
  margin-left: 6px;
}

.geo-multiselect {
  border: 1px solid rgba(214, 180, 107, 0.3);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.geo-multiselect .geo-search-input {
  border: none;
  border-bottom: 1px solid rgba(214, 180, 107, 0.25);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.geo-multiselect .geo-search-input:focus {
  box-shadow: none;
  border-bottom-color: rgba(214, 180, 107, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.geo-options-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 180, 107, 0.5) transparent;
}

.geo-options-list::-webkit-scrollbar {
  width: 6px;
}

.geo-options-list::-webkit-scrollbar-thumb {
  background: rgba(214, 180, 107, 0.5);
  border-radius: 6px;
}

/* Global option — pinned at top */
.geo-option--global {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: #ffd37e;
  font-size: 0.95rem;

  border-bottom: 1px solid rgba(214, 180, 107, 0.18);
  user-select: none;
  transition: background 0.18s ease;
}

.geo-option--global:hover {
  background: rgba(214, 180, 107, 0.1);
}

.geo-option--global:has(input:checked) {
  background: rgba(214, 180, 107, 0.18);
}

/* Region group header */
.geo-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 6px;
  cursor: pointer;
  color: rgba(214, 180, 107, 0.85);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
  border-top: 1px solid rgba(214, 180, 107, 0.1);
  transition: background 0.15s ease;
}

.geo-group-header:hover {
  background: rgba(214, 180, 107, 0.06);
}

.geo-group:first-of-type .geo-group-header {
  border-top: none;
}

.geo-group-icon {
  font-size: 1rem;
}

.geo-group-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: rgba(214, 180, 107, 0.45);
  transition: transform 0.2s ease;
  line-height: 1;
}

.geo-group--open > .geo-group-header > .geo-group-arrow,
.geo-group--search-open > .geo-group-header > .geo-group-arrow {
  transform: rotate(90deg);
}

/* Group items — collapsed by default, shown when open */
.geo-group-items {
  display: none;
}

.geo-group--open > .geo-group-items,
.geo-group--search-open > .geo-group-items {
  display: block;
}

/* Individual country row */
.geo-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 28px;
  margin: 0;
  border-radius: 0;
  cursor: pointer;
  color: #e9dcc7;
  font-size: 0.92rem;
  transition: background 0.15s ease;
  user-select: none;
}

.geo-option:hover {
  background: rgba(214, 180, 107, 0.08);
}

.geo-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: #d6b46b;
  cursor: pointer;
}

.geo-option:has(input:checked) {
  background: rgba(214, 180, 107, 0.14);
  color: #ffd37e;
}

.geo-no-results {
  text-align: center;
  color: rgba(214, 180, 107, 0.45);
  font-size: 0.88rem;
  padding: 18px;
  margin: 0;
}

.btn-block {
  width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .crown-jewels-title {
    font-size: 3.5rem;
  }

  .crown-jewels-hero .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-heading {
    font-size: 2.3rem;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .featured-property-card {
    height: 400px;
  }

  .property-header h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .crown-jewels-title {
    font-size: 2.5rem;
  }

  .crown-jewels-hero .hero-subtitle {
    font-size: 1rem;
  }

  .crown-jewels-hero .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-gold,
  .btn-outline-gold {
    width: 100%;
  }

  .filter-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-title {
    width: 100%;
  }

  .filters-group {
    flex-direction: column;
  }

  .filter-select {
    width: 100%;
    min-width: auto;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .featured-property-card {
    height: 300px;
  }

  .featured-overlay {
    padding: 24px;
  }

  .featured-title {
    font-size: 1.2rem;
  }

  .featured-price {
    font-size: 1.1rem;
  }

  .section-heading::after {
    margin: 10px auto 0;
  }

  .access-content {
    gap: 30px;
  }

  .access-text h2 {
    font-size: 1.8rem;
  }

  .access-description {
    font-size: 1rem;
  }

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

  .property-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0;
    padding: 12px 0;
  }

  .detail-value {
    font-size: 1.1rem;
  }
}

/* Membership Page */
.membership-hero {
  position: relative;
}

.membership-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.membership-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 107, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #f6f0e6;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-intro {
  border: 1px solid rgba(214, 180, 107, 0.22);
}

.membership-tier-card {
  border: 1px solid rgba(214, 180, 107, 0.15);
}

.membership-tier-card .card-body {
  padding: 28px;
}

.tier-fee {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
}

.tier-fee span {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8bca7;
}

.membership-block {
  margin-bottom: 10px;
}

.membership-block h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
}

.compact-benefits li {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.95rem;

  transition: all 0.25s ease;
}
.compact-benefits li:hover {
  color: var(--gold);
}

.membership-wallet {
  margin-top: 8px;
  display: grid;
  gap: 12px;
}

.wallet-item,
.wallet-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 180, 107, 0.18);
  color: #f6f0e6;
}

.wallet-item strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wallet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(214, 180, 107, 0.14);
  color: var(--gold);
  font-size: 0.95rem;
  flex: 0 0 32px;
}

.wallet-item span,
.wallet-summary-item strong {
  color: var(--gold);
}

.wallet-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.membership-why {
  margin-top: 18px;
  margin-bottom: 0;
  color: #e7d8b4;
  font-style: italic;
}

.membership-tier-card .btn-gold {
  height: 60px;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 576px) {
  .tier-fee {
    font-size: 1.7rem;
  }

  .wallet-item,
  .wallet-summary-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------- */

/* ── WOW.js smooth animation overrides ────────────────────── */
.wow {
  visibility: hidden;
}

.animated {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation-fill-mode: both !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.fadeInUp {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.fadeInDown {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.fadeInLeft {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.fadeInRight {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.fadeIn {
  animation-timing-function: ease-out !important;
}
/* ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .clx-hero__left {
    background-color: #000000de;
  }
}
@media (max-width: 768px) {
  .clx-hero {
    min-height: auto !important;
    text-align: center;
  }
  .clx-hero__rule {
    width: auto !important;
  }
}
/* ------- */

@media (min-width: 1200px) and (max-width: 1300px) {
  .hero-content .display-3 {
    font-size: 3rem;
  }
}
