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

:root {
  /* ─── PRIMARY (dark teal-green from logo) ─── */
  --primary-color: #1e3332;
  --primary-dark: #152524;
  --primary-light: #2a4a48;
  --primary-lighter: #355c59;

  /* ─── RGB components (for rgba with variables) ─── */
  --primary-rgb: 30,51,50;
  --primary-dark-rgb: 21,37,36;
  --accent-rgb: 201,169,110;
  --cream-rgb: 245,240,232;

  /* ─── ACCENT (gold gradient — directional, dark-to-light) ─── */
  --accent-color: #c9a96e;
  --accent-dark: #8b7339;
  --accent-light: #d4b87a;
  --accent-gradient: linear-gradient(135deg, #8b7339, #c9a96e, #d4b87a);
  --accent-gradient-h: linear-gradient(90deg, #8b7339, #c9a96e, #d4b87a);
  --accent-gradient-text: linear-gradient(90deg, #a08440, #c9a96e, #d4b87a);
  --accent-dim: rgba(var(--accent-rgb),0.12);

  /* ─── NEUTRALS ─── */
  --cream: #f5f0e8;
  --white: #fefefe;
  --gray-100: #f8f7f5;
  --gray-200: #e8e6e1;
  --gray-400: #9a9690;
  --gray-600: #5a5750;

  /* ─── FONTS ─── */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;

  /* ─── EASING ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; overscroll-behavior: none; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--primary-color);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}


/* ═══ GOLD GRADIENT TEXT UTILITY ═══ */
.gold-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ UTILITY ═══ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

.section-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Scale-up reveal for cards */
.reveal-scale {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ═══ GLOBAL EFFECTS ═══ */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-gold {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.35; }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  30% { transform: translate(1%, -1%); }
  50% { transform: translate(-1%, 2%); }
  70% { transform: translate(2%, 1%); }
  90% { transform: translate(-1%, -1%); }
}

/* Subtle film grain overlay on dark sections */
.stats::after,
.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 0;
  animation: grain 8s steps(10) infinite;
  opacity: 0.4;
}

.hero::after { z-index: 0; }

/* ══════════════════════════════════════════
   HEADER / NAVIGATION — Modern Glass Style
   ══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s var(--ease-smooth);
  background: var(--primary-dark);
}

.header-top-bar {
  background: var(--primary-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--accent-rgb),0.08);
  transition: all 0.4s var(--ease-smooth);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(var(--cream-rgb),0.5);
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header-top-left a {
  color: rgba(var(--cream-rgb),0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.header-top-left a:hover { color: var(--accent-color); }
.header-top-left svg { width: 13px; height: 13px; color: var(--accent-color); }

.header-top-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switcher {
  display: flex;
  gap: 0.4rem;
}

.lang-switcher a {
  color: rgba(var(--cream-rgb),0.35);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  transition: all 0.3s;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--primary-dark);
  background: var(--accent-gradient-h);
}

.header-main {
  padding: 1rem 0;
  transition: all 0.4s var(--ease-smooth);
  background: transparent;
  position: relative;
}

.header-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--accent-gradient-h);
  opacity: 0;
  transition: opacity 0.6s var(--ease-smooth), left 0.6s var(--ease-smooth), right 0.6s var(--ease-smooth);
  pointer-events: none;
}

.header.scrolled .header-top-bar {
  margin-top: -42px;
  opacity: 0;
  pointer-events: none;
}

.header.scrolled .header-main {
  background: linear-gradient(180deg, rgba(var(--primary-dark-rgb),0.97) 0%, rgba(var(--primary-rgb),0.93) 100%);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border-bottom: none;
  padding: 0.8rem 0;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(var(--cream-rgb),0.03);
}

.header.scrolled .header-main::after {
  opacity: 0.4;
  left: 3%;
  right: 3%;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  position: relative;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb),0.4);
  display: block;
  margin-top: 0.1rem;
}

/* Nav links */
.nav { display: flex; align-items: center; gap: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li { position: relative; }

.nav-links a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb),0.65);
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  display: block;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 2px;
  background: var(--accent-gradient-h);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::before { transform: scaleX(1); transform-origin: left; }

/* Nav CTA button */
.nav-cta {
  margin-left: 1.5rem;
  padding: 0.55rem 1.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-dark);
  background: var(--accent-gradient-h);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta:hover { box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.3); transform: translateY(-1px); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: all 0.35s var(--ease-out);
}

.mobile-toggle span:nth-child(1) { top: 4px; }
.mobile-toggle span:nth-child(2) { top: 11px; width: 65%; }
.mobile-toggle span:nth-child(3) { top: 18px; width: 80%; }

.mobile-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.mobile-toggle.active span:nth-child(3) { top: 11px; width: 100%; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: linear-gradient(170deg, var(--primary-dark) 0%, #0e1b1a 100%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6rem 2rem 2rem;
}

.mobile-nav.open { opacity: 1; pointer-events: auto; }

/* ── Animated reveal items ── */
.mobile-nav .mn-item {
  opacity: 0;
  transform: translateY(18px);
}
.mobile-nav.open .mn-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-nav.open .mn-item:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open .mn-item:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav.open .mn-item:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open .mn-item:nth-child(4) { transition-delay: 0.23s; }
.mobile-nav.open .mn-item:nth-child(5) { transition-delay: 0.28s; }

/* ── Main nav links ── */
.mobile-nav-links {
  list-style: none;
  margin-bottom: 1.5rem;
}

.mobile-nav-links > .mn-item {
  border-bottom: 1px solid rgba(var(--accent-rgb),0.06);
}

.mobile-nav-links > .mn-item:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.85rem 0;
  transition: color 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active { color: var(--accent-color); }

.mobile-nav-link .mn-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.35s var(--ease-out);
  opacity: 0.35;
  flex-shrink: 0;
}

.mn-item.expanded .mobile-nav-link .mn-chevron {
  transform: rotate(180deg);
  opacity: 0.7;
}

/* ── Sub-menu ── */
.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.mn-item.expanded .mobile-nav-sub {
  max-height: 200px;
}

.mobile-nav-sub a {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(var(--cream-rgb),0.5);
  text-decoration: none;
  padding: 0.55rem 0 0.55rem 1.2rem;
  position: relative;
  transition: color 0.25s, padding-left 0.25s;
}

.mobile-nav-sub a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 1px;
  background: var(--accent-color);
  opacity: 0.3;
  transition: width 0.25s, opacity 0.25s;
}

.mobile-nav-sub a:hover,
.mobile-nav-sub a:active {
  color: var(--accent-color);
  padding-left: 1.5rem;
}

.mobile-nav-sub a:hover::before,
.mobile-nav-sub a:active::before {
  width: 10px;
  opacity: 0.7;
}

/* ── Divider ── */
.mn-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.15), transparent);
  margin: 0.25rem 0 1.25rem;
}

/* ── Actions row (login + CTA) ── */
.mn-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mn-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  background: none;
  border: 1px solid rgba(var(--accent-rgb),0.15);
  border-radius: 10px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.mn-login-btn:hover { border-color: var(--accent-color); color: var(--accent-color); }

.mn-login-btn svg { opacity: 0.55; }

.mn-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
  background: var(--accent-gradient);
  border: none;
  border-radius: 10px;
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.3s;
}

.mn-cta-btn:hover { opacity: 0.88; }

/* ── Language row ── */
.mn-lang-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.mn-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid rgba(var(--accent-rgb),0.08);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  cursor: pointer;
  color: rgba(var(--cream-rgb),0.4);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.3s;
}

.mn-lang-btn img {
  border-radius: 2px;
  display: block;
}

.mn-lang-btn.active {
  border-color: rgba(var(--accent-rgb),0.25);
  color: var(--accent-color);
  background: rgba(var(--accent-rgb),0.04);
}

.mn-lang-btn:hover {
  border-color: rgba(var(--accent-rgb),0.2);
  color: var(--cream);
}

/* ── Footer section ── */
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s 0.35s, transform 0.5s 0.35s;
}

.mobile-nav.open .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
}

.mn-contact-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.mn-contact-row a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(var(--cream-rgb),0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.mn-contact-row a svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.mn-contact-row a:hover { color: var(--accent-color); }

.mn-social-row {
  display: flex;
  gap: 0.75rem;
}

.mn-social-row a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-rgb),0.08);
  border-radius: 8px;
  color: rgba(var(--cream-rgb),0.35);
  text-decoration: none;
  transition: all 0.3s;
}

.mn-social-row a svg {
  width: 14px;
  height: 14px;
}

.mn-social-row a:hover {
  border-color: rgba(var(--accent-rgb),0.25);
  color: var(--accent-color);
  background: rgba(var(--accent-rgb),0.04);
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary-color);
  overflow: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(var(--accent-rgb),0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(var(--primary-dark-rgb),0.8) 0%, transparent 60%),
    linear-gradient(165deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--primary-light) 70%, var(--primary-dark) 100%);
}

.hero-geometric {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-geometric::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  border: 1px solid rgba(var(--accent-rgb),0.09);
  transform: rotate(45deg);
  animation: float-gentle 12s ease-in-out infinite;
  z-index: 1;
}

.hero-geometric::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 25vw;
  height: 25vw;
  max-width: 300px;
  max-height: 300px;
  border: 1px solid rgba(var(--accent-rgb),0.06);
  border-radius: 50%;
  animation: float-gentle 10s ease-in-out infinite 2s;
  z-index: 1;
}

.hero-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb),0.06) 30%, rgba(var(--accent-rgb),0.06) 70%, transparent);
}

.hero-line:nth-child(1) { left: 20%; }
.hero-line:nth-child(2) { left: 50%; }
.hero-line:nth-child(3) { left: 80%; }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 10rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.75rem;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  color: var(--cream);
  max-width: 750px;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  color: rgba(var(--cream-rgb),0.5);
  max-width: 480px;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ SEARCH BAR ═══ */
.search-bar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(var(--accent-rgb),0.1);
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 880px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.9s var(--ease-out) 0.9s forwards;
  backdrop-filter: blur(10px);
}

.search-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.search-toggle button {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.8rem;
  border: none;
  background: transparent;
  color: rgba(var(--cream-rgb),0.4);
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
}

.search-toggle button.active {
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  font-weight: 500;
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.search-field label {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb),0.35);
  margin-bottom: 0.5rem;
}

.search-field select,
.search-field input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(var(--accent-rgb),0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s;
  cursor: pointer;
}

.search-field select:focus,
.search-field input:focus { border-color: var(--accent-color); }

.search-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23c9a96e' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.search-btn {
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2.2rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.search-btn:hover::before { transform: translateX(100%); }

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb),0.25);
}

/* ══════════════════════════════════════
   PROPERTIES
   ══════════════════════════════════════ */
.properties {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.properties-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.properties-link {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: gap 0.3s var(--ease-out);
}

.properties-link:hover { gap: 1rem; }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.property-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(var(--primary-rgb),0.12), 0 0 0 1px rgba(var(--accent-rgb),0.08);
  border-color: rgba(var(--accent-rgb),0.12);
}

.property-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-image-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.7s var(--ease-out);
}

.property-card:hover .property-image-placeholder {
  transform: scale(1.04);
}

.property-image-placeholder .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-c1 .property-image-placeholder { background: linear-gradient(135deg, #1e3332, #2a4a48, #1e3332); }
.card-c2 .property-image-placeholder { background: linear-gradient(135deg, #2c2a18, #3d3822, #2c2a18); }
.card-c3 .property-image-placeholder { background: linear-gradient(135deg, #1e2e30, #2a4044, #1e2e30); }
.card-c4 .property-image-placeholder { background: linear-gradient(135deg, #2a3028, #3a4a38, #2a3028); }
.card-c5 .property-image-placeholder { background: linear-gradient(135deg, #282830, #383848, #282830); }
.card-c6 .property-image-placeholder { background: linear-gradient(135deg, #302a1e, #483e2a, #302a1e); }

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.property-photos {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(var(--primary-rgb),0.65);
  backdrop-filter: blur(4px);
  color: var(--cream);
  font-size: 0.92rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-info { padding: 1.35rem 1.5rem 1.5rem; }

.property-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.property-price span {
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--gray-400);
}

.property-location {
  font-size: 0.92rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.property-location svg { color: var(--accent-color); }

.property-specs {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.property-spec {
  font-size: 0.95rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-spec svg { opacity: 0.5; }

/* ══════════════════════════════════════
   WHY SECTION
   ══════════════════════════════════════ */
.why {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--gray-100);
  position: relative;
}

.why-header { text-align: center; margin-bottom: 4rem; }

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

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
  background-clip: padding-box;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: var(--accent-gradient-h);
  z-index: -1;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  clip-path: polygon(50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
  opacity: 0;
  transition: opacity 0.35s;
}

@keyframes why-border-draw {
  0%   { clip-path: polygon(50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%); }
  28%  { clip-path: polygon(0% 0%, 100% 0%, 100% 3%, 50% 3%, 0% 3%); }
  72%  { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 72%, 0% 100%); }
  100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%); }
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb),0.07);
}

.why-card:hover::before {
  opacity: 1;
  animation: why-border-draw 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out);
}

.why-card:hover .why-icon {
  transform: scale(1.08);
}

.why-icon svg { color: var(--accent-color); }

.why-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-400);
}

/* ══════════════════════════════════════
   LOCATIONS
   ══════════════════════════════════════ */
.locations {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--white);
}

.locations-header { text-align: center; margin-bottom: 3.5rem; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 220px;
  gap: 1.25rem;
}

.location-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.location-card:nth-child(1) { grid-column: span 2; }

.location-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out);
}

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

.loc-c1 .location-bg { background: linear-gradient(135deg, #1e3332, #2a4a48, #1e3530); }
.loc-c2 .location-bg { background: linear-gradient(135deg, #2a3418, #3e4825, #2a3418); }
.loc-c3 .location-bg { background: linear-gradient(135deg, #1e2e2e, #283e3c, #1e2e2e); }
.loc-c4 .location-bg { background: linear-gradient(135deg, #2a2e30, #3a4242, #2a2e30); }

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-rgb),0.75) 0%, rgba(var(--primary-rgb),0.1) 60%);
  z-index: 1;
}

.location-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 2;
}

.location-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.location-count {
  font-size: 0.95rem;
  color: rgba(var(--cream-rgb),0.5);
  letter-spacing: 0.05em;
}

.location-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s, transform 0.3s;
}

.location-card:hover .location-arrow {
  background: var(--accent-gradient-h);
  transform: translate(2px, -2px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.3);
}

.location-arrow svg { color: var(--cream); transition: color 0.3s; }
.location-card:hover .location-arrow svg { color: var(--primary-dark); }

/* ══════════════════════════════════════
   STATS
   ══════════════════════════════════════ */
.stats {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(var(--accent-rgb),0.04) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-divider {
  display: none;
}

.stat-item {
  text-align: center;
  position: relative;
}

/* Vertical gold gradient dividers between stat items */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
  opacity: 0.25;
}

.stat-number {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(var(--accent-rgb),0.15));
}

.stat-label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
  color: rgba(var(--cream-rgb),0.45);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════ */
.newsletter {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--gray-100);
}

.newsletter-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.newsletter-subtitle {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  background: var(--white);
  outline: none;
  transition: border-color 0.3s;
  color: var(--primary-color);
}

.newsletter-form input::placeholder { color: var(--gray-400); }
.newsletter-form input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.08); }

.newsletter-form button {
  background: var(--primary-color);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  padding: 0.9rem 2rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb),0.25);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--primary-dark);
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
  position: relative;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(var(--cream-rgb),0.35);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(var(--cream-rgb),0.45);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-light); }

.footer-contact-item {
  font-size: 0.95rem;
  color: rgba(var(--cream-rgb),0.45);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-item svg { color: var(--accent-color); flex-shrink: 0; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--accent-rgb),0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--cream-rgb),0.5);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  border-color: var(--accent-color);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.95rem;
  color: rgba(var(--cream-rgb),0.25);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.95rem;
  color: rgba(var(--cream-rgb),0.25);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover { color: rgba(var(--cream-rgb),0.5); }

/* ═══ BACK TO TOP ═══ */
.back-top {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 1px solid rgba(var(--accent-rgb),0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  text-decoration: none;
}

.back-top.visible { opacity: 1; transform: translateY(0); }

.back-top:hover {
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
}

/* ═══ PROPERTY CARD INTERACTIVE ELEMENTS ═══ */
.property-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 3;
}

.property-card:hover .property-actions {
  opacity: 1;
  transform: translateY(0);
}

.property-fav,
.property-compare {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.property-fav:hover { color: #e74c3c; transform: scale(1.1); }
.property-fav.active { color: #e74c3c; background: #fde8e8; }
.property-fav.active svg { fill: #e74c3c; }

.property-compare:hover { color: var(--accent-color); transform: scale(1.1); }
.property-compare.active { color: var(--primary-dark); background: var(--accent-gradient-h); }

.property-tour-pill {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(var(--primary-rgb),0.65);
  backdrop-filter: blur(4px);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.property-tour-pill:hover {
  background: rgba(var(--accent-rgb),0.9);
  color: var(--primary-dark);
  border-color: transparent;
}

.rent-tag {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--gray-400);
}

/* ═══ NAV DROPDOWNS ═══ */
.has-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: rgba(30, 51, 50, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  border-radius: 10px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 100;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Invisible hover bridge + visible arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: rgba(30, 51, 50, 0.96);
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 1.4rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: rgba(var(--cream-rgb),0.55) !important;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s !important;
}

.nav-dropdown a::before { display: none !important; }

.nav-dropdown a:hover {
  color: var(--accent-color) !important;
  background: rgba(var(--accent-rgb),0.06);
  padding-left: 1.65rem !important;
}

.nav-links > li + li > a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb),0.3);
  pointer-events: none;
}

/* Nav language switcher dropdown */
.nav-lang {
  position: relative;
  margin-left: 1.25rem;
}

.nav-lang-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(var(--accent-rgb),0.15);
  border-radius: 8px;
  height: 36px;
  padding: 0 0.6rem;
  cursor: pointer;
  color: rgba(var(--cream-rgb),0.55);
  transition: all 0.3s;
}

.nav-lang-trigger:hover,
.nav-lang.open .nav-lang-trigger {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.nav-lang-trigger img {
  border-radius: 2px;
  display: block;
}

.nav-lang-trigger svg {
  transition: transform 0.3s var(--ease-out);
}

.nav-lang.open .nav-lang-trigger svg {
  transform: rotate(180deg);
}

.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: rgba(30, 51, 50, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  border-radius: 10px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s var(--ease-out);
  z-index: 100;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}

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

/* Hover bridge */
.nav-lang-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: rgba(var(--cream-rgb),0.55);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  transition: all 0.2s;
  border-radius: 4px;
  margin: 0 0.3rem;
}

.nav-lang-option img {
  border-radius: 2px;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.nav-lang-option:hover {
  background: rgba(var(--accent-rgb),0.08);
  color: var(--cream);
}

.nav-lang-option.active {
  color: var(--accent-color);
  font-weight: 400;
}

/* Top bar social icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-social a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid rgba(var(--accent-rgb),0.1);
  color: rgba(var(--cream-rgb),0.4);
  text-decoration: none;
  transition: all 0.3s;
  overflow: hidden;
}

.header-social a svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.header-social a:hover {
  color: var(--accent-color);
  border-color: rgba(var(--accent-rgb),0.2);
  background: rgba(var(--accent-rgb),0.04);
}

.nav-login {
  margin-left: 0.75rem;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(var(--accent-rgb),0.15);
  border-radius: 8px;
  color: rgba(var(--cream-rgb),0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-login:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* ═══ ADVANCED FILTERS ═══ */
.advanced-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: rgba(var(--cream-rgb),0.4);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.advanced-filters-toggle:hover { color: var(--accent-color); }

.advanced-filters-toggle svg {
  transition: transform 0.3s var(--ease-out);
}

.advanced-filters-toggle.active svg {
  transform: rotate(180deg);
}

.advanced-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease-out), margin-top 0.4s;
  margin-top: 0;
}

.advanced-filters.open {
  max-height: 400px;
  opacity: 1;
  margin-top: 1.25rem;
  overflow: visible;
}

/* ═══ CUSTOM SELECT DROPDOWNS ═══ */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(var(--accent-rgb),0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  user-select: none;
}

.custom-select-trigger:hover {
  border-color: rgba(var(--accent-rgb),0.25);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.08);
}

.custom-select-trigger svg {
  color: var(--accent-color);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  opacity: 0.7;
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(24, 40, 39, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(var(--accent-rgb),0.15);
  border-radius: 10px;
  padding: 0.4rem 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.15);
  max-height: 240px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-select-options::-webkit-scrollbar { width: 4px; }
.custom-select-options::-webkit-scrollbar-track { background: transparent; }
.custom-select-options::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb),0.2); border-radius: 2px; }

.custom-select-option {
  padding: 0.6rem 1.15rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(var(--cream-rgb),0.55);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  position: relative;
  border-radius: 4px;
  margin: 0 0.3rem;
}

.custom-select-option:hover {
  background: rgba(var(--accent-rgb),0.08);
  color: var(--cream);
  padding-left: 1.35rem;
}

.custom-select-option.selected {
  color: var(--accent-color);
  font-weight: 400;
}

.custom-select-option.selected::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Flip-up when no space below */
.custom-select.flip-up .custom-select-options,
.custom-select.flip-up .price-range-panel {
  top: auto;
  bottom: calc(100% + 6px);
  transform-origin: bottom center;
  transform: translateY(8px) scale(0.98);
}

.custom-select.flip-up.open .custom-select-options,
.custom-select.flip-up.open .price-range-panel {
  transform: translateY(0) scale(1);
}

/* ═══ PRICE RANGE COMPONENT ═══ */
.price-range-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 360px;
  background: rgba(24, 40, 39, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(var(--accent-rgb),0.15);
  border-radius: 12px;
  padding: 1.5rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.15);
}

.price-range-select.open .price-range-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.price-range-header {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cream);
  margin-bottom: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-range-inputs {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.price-range-input-group {
  flex: 1;
}

.price-range-input-group label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb),0.35);
  margin-bottom: 0.4rem;
}

.price-range-input-group input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
  -moz-appearance: textfield;
}

.price-range-input-group input::-webkit-outer-spin-button,
.price-range-input-group input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-range-input-group input:focus {
  border-color: var(--accent-color);
}

.price-range-dash {
  color: rgba(var(--cream-rgb),0.25);
  font-size: 0.9rem;
  padding-bottom: 0.6rem;
}

/* Dual-range slider */
.price-range-slider {
  position: relative;
  height: 32px;
  margin-bottom: 0.35rem;
}

.price-range-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.price-range-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--accent-gradient-h);
  border-radius: 2px;
  transition: left 0.05s, width 0.05s;
}

.price-range-slider input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 32px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
  margin: 0;
  padding: 0;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent-color);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 12px rgba(var(--accent-rgb),0.35);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent-color);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: rgba(var(--cream-rgb),0.3);
  margin-bottom: 1.25rem;
}

.price-range-apply {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-color);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.price-range-apply:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* ══════════════════════════════════════
   PROPERTIES PAGE — Page-Specific Styles
   All classes prefixed with .pg-
   ══════════════════════════════════════ */

/* ── Page Banner ── */
.pg-banner {
  position: relative;
  padding: 8rem 0 3rem;
  background: var(--primary-dark);
  overflow: hidden;
}

.pg-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(var(--accent-rgb),0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(var(--accent-rgb),0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pg-banner-content {
  position: relative;
  z-index: 1;
}

.pg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gray-400);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.pg-breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.25s;
}

.pg-breadcrumb a:hover {
  color: var(--accent-color);
}

.pg-breadcrumb svg {
  opacity: 0.4;
  flex-shrink: 0;
}

.pg-breadcrumb span {
  color: var(--cream);
}

.pg-banner-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.pg-banner-title em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pg-banner-subtitle {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-400);
  max-width: 520px;
}

/* ── Filters Bar ── */
.pg-filters {
  padding: 2rem 0 0;
  background: var(--white);
}

.pg-filters-bar {
  background: var(--primary-color);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(var(--accent-rgb),0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.pg-filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

/* ── Toolbar ── */
.pg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pg-toolbar-info {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 400;
}

.pg-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Light selects for toolbar (on white bg) */
.pg-toolbar .custom-select .custom-select-trigger {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  min-width: 140px;
}

.pg-toolbar .custom-select .custom-select-trigger:hover {
  border-color: var(--accent-color);
}

.pg-toolbar .custom-select.open .custom-select-trigger {
  border-color: var(--accent-color);
  background: var(--white);
}

.pg-toolbar .custom-select .custom-select-trigger svg {
  color: var(--gray-400);
}

.pg-toolbar .custom-select .custom-select-options {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-radius: 10px;
  min-width: 100%;
}

.pg-toolbar .custom-select .custom-select-option {
  color: var(--gray-600);
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
}

.pg-toolbar .custom-select .custom-select-option:hover {
  background: var(--gray-100);
  color: var(--primary-color);
}

.pg-toolbar .custom-select .custom-select-option.selected {
  color: var(--accent-color);
}

.pg-toolbar .custom-select .custom-select-option.selected::before {
  background: var(--accent-color);
}

/* ── Properties Grid Section ── */
.pg-properties {
  padding: 0 0 2rem;
}

/* ── Empty State ── */
.pg-empty-state {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}

.pg-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.pg-empty-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pg-empty-text {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.pg-empty-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--primary-color);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.pg-empty-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ── Pagination ── */
.pg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 0 3rem;
}

.pg-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.pg-page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.pg-page-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--cream);
}

.pg-page-btn.disabled {
  opacity: 0.35;
  cursor: default;
}

.pg-page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  color: var(--gray-400);
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 1px;
}

/* ── Mobile Filter FAB ── */
.pg-filter-fab {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  padding: 0.85rem 1.8rem;
  background: var(--primary-color);
  color: var(--cream);
  border: 1px solid rgba(var(--accent-rgb),0.25);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.3s var(--ease-out);
  align-items: center;
  gap: 0.5rem;
}

.pg-filter-fab:hover {
  background: var(--primary-light);
  border-color: var(--accent-color);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.pg-filter-fab svg {
  flex-shrink: 0;
}

/* ── Mobile Filter Modal (Bottom Sheet) ── */
.pg-filter-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.pg-filter-modal.open {
  display: block;
}

.pg-filter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  animation: pgFadeIn 0.25s ease;
}

.pg-filter-modal-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--primary-color);
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  animation: pgSlideUp 0.35s var(--ease-out);
}

.pg-filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(var(--accent-rgb),0.12);
}

.pg-filter-modal-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  font-weight: 500;
}

.pg-filter-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--cream-rgb),0.08);
  border: none;
  border-radius: 8px;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s;
}

.pg-filter-modal-close:hover {
  background: rgba(var(--cream-rgb),0.15);
}

.pg-filter-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pg-filter-modal-body .search-field {
  width: 100%;
}

.pg-filter-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(var(--accent-rgb),0.12);
}

.pg-filter-reset {
  flex: 1;
  padding: 0.85rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb),0.2);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}

.pg-filter-reset:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.pg-filter-apply {
  flex: 2;
  padding: 0.85rem;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  border: none;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}

.pg-filter-apply:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Animations ── */
@keyframes pgSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes pgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Active nav state for properties page ── */
.nav-links .nav-active > a::before {
  transform: scaleX(1) !important;
}


/* ══════════════════════════════════════
   AGENTS PAGE — Page-Specific Styles
   All classes prefixed with .ag-
   ══════════════════════════════════════ */

/* ── Agents Section ── */
.ag-section {
  padding: 4rem 0 5rem;
  background: var(--white);
}

/* ── Agents Grid ── */
.ag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Agent Card ── */
.ag-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.ag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(var(--primary-rgb),0.12);
  border-color: rgba(var(--accent-rgb),0.3);
}

/* ── Card Image ── */
.ag-card-image {
  position: relative;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background: var(--primary-dark);
}

.ag-card-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(var(--accent-rgb),0.08) 0%, transparent 70%),
    linear-gradient(160deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ag-card-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb),0.06) 50%, transparent 100%);
  animation: shimmer 3s infinite;
}

.ag-card-placeholder svg {
  opacity: 0.12;
  color: var(--accent-color);
  width: 64px;
  height: 64px;
}

/* ── Social Overlay ── */
.ag-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-dark-rgb),0.9) 0%, rgba(var(--primary-dark-rgb),0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
}

.ag-card:hover .ag-card-overlay {
  opacity: 1;
}

.ag-card-social {
  display: flex;
  gap: 0.6rem;
  transform: translateY(12px);
  transition: transform 0.4s var(--ease-out);
}

.ag-card:hover .ag-card-social {
  transform: translateY(0);
}

.ag-social-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: var(--cream);
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}

.ag-social-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.ag-social-btn svg {
  width: 13px;
  height: 13px;
}

/* ── Card Body ── */
.ag-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.ag-card-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.ag-card-position {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

/* ── Card Buttons ── */
.ag-card-buttons {
  display: flex;
  gap: 0.5rem;
}

.ag-btn-call,
.ag-btn-email {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.ag-btn-call {
  background: var(--primary-color);
  color: var(--cream);
}

.ag-btn-call:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.2);
}

.ag-btn-email {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--gray-200);
}

.ag-btn-email:hover {
  border-color: var(--accent-color);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.ag-btn-call svg,
.ag-btn-email svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}


/* ══════════════════════════════════════
   AGENT PROFILE PAGE (.ap-*)
   ══════════════════════════════════════ */

/* Hero */
.ap-hero {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: var(--white);
}

.ap-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

.ap-photo-placeholder {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(var(--accent-rgb),0.08) 0%, transparent 60%),
    linear-gradient(145deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.ap-photo-placeholder svg {
  position: relative;
  z-index: 1;
  color: var(--cream);
}

.ap-position {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.ap-name {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ap-languages {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ap-lang-pill {
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 400;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.ap-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.ap-stars {
  display: flex;
  gap: 0.15rem;
}

.ap-stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
}

.ap-rating-text {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.ap-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.ap-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.25s;
}

.ap-contact-item:hover {
  color: var(--accent-color);
}

.ap-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--accent-color);
}

.ap-social {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.ap-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}

.ap-social-btn svg {
  width: 13px;
  height: 13px;
}

.ap-social-btn:hover {
  background: var(--accent-gradient-h);
  border-color: transparent;
  color: var(--primary-dark);
}

.ap-awards {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ap-award-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-dim);
  color: var(--accent-dark);
  border: 1px solid rgba(var(--accent-rgb),0.2);
}

/* Contact form */
.ap-contact {
  padding: 0 0 clamp(3rem, 5vw, 4.5rem);
  background: var(--white);
}

.ap-contact-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.ap-contact-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.ap-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ap-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.88rem;
  background: var(--gray-100);
  color: var(--primary-color);
  transition: border-color 0.25s;
  outline: none;
  box-sizing: border-box;
}

.ap-input:focus {
  border-color: var(--accent-color);
}

.ap-input::placeholder {
  color: var(--gray-400);
}

.ap-textarea {
  margin-bottom: 0.75rem;
  resize: vertical;
  min-height: 80px;
}

.ap-submit-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 8px;
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s;
}

.ap-submit-btn:hover {
  opacity: 0.9;
}

/* About */
.ap-about {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--primary-dark);
}

.ap-about-inner {
  max-width: 800px;
}

.ap-about .section-label {
  margin-bottom: 0.75rem;
}

.ap-about-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.ap-about-title em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ap-about-text p {
  color: var(--cream);
  opacity: 0.6;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ap-about-text p:last-child {
  margin-bottom: 0;
}

/* Properties */
.ap-properties {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--gray-100);
}

.ap-properties .section-title {
  margin-bottom: 1.5rem;
}

.ap-properties .section-title em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ap-tabs {
  display: flex;
  gap: 0;
  background: var(--primary-dark);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 2rem;
}

.ap-tab {
  padding: 0.65rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.5);
  transition: all 0.35s var(--ease-smooth);
}

.ap-tab.active {
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  font-weight: 500;
}

.ap-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Reviews */
.ap-reviews {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--primary-color);
}

.ap-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.ap-reviews-overview {
  text-align: center;
}

.ap-big-rating {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.ap-stars-big {
  justify-content: center;
  margin-bottom: 0.5rem;
}

.ap-stars-big svg {
  width: 20px;
  height: 20px;
}

.ap-total-reviews {
  font-size: 0.85rem;
  color: rgba(var(--cream-rgb),0.5);
  margin-bottom: 1.5rem;
}

.ap-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 260px;
  margin: 0 auto;
}

.ap-bar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ap-bar-row span {
  font-size: 0.78rem;
  color: rgba(var(--cream-rgb),0.5);
  width: 12px;
  text-align: right;
  flex-shrink: 0;
}

.ap-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.ap-bar-fill {
  height: 100%;
  background: var(--accent-gradient-h);
  border-radius: 3px;
}

/* Review form */
.ap-review-form-wrap {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.06);
}

.ap-review-form-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.ap-star-selector {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.ap-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.15rem;
  color: rgba(255,255,255,0.15);
  transition: color 0.2s;
}

.ap-star-btn.active {
  color: var(--accent-color);
}

.ap-star-btn svg {
  width: 24px;
  height: 24px;
}

.ap-input-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--cream);
}

.ap-input-dark:focus {
  border-color: var(--accent-color);
}

.ap-input-dark::placeholder {
  color: rgba(var(--cream-rgb),0.35);
}

.ap-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(var(--cream-rgb),0.5);
  margin-bottom: 1rem;
  cursor: pointer;
}

.ap-checkbox input {
  margin-top: 2px;
  accent-color: var(--accent-color);
}

/* Review cards */
.ap-review-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ap-review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  border-radius: 12px;
  padding: 1.25rem;
}

.ap-review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ap-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.ap-reviewer-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
}

.ap-review-date {
  font-size: 0.72rem;
  color: rgba(var(--cream-rgb),0.4);
}

.ap-review-stars {
  display: flex;
  gap: 0.1rem;
  margin-bottom: 0.6rem;
}

.ap-review-stars svg {
  width: 13px;
  height: 13px;
  color: var(--accent-color);
}

.ap-review-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(var(--cream-rgb),0.6);
}


/* ══════════════════════════════════════════
   PROPERTY PAGE — Single Property View
   All classes prefixed with .pp-
   ══════════════════════════════════════════ */

/* ── Gallery Section ── */
.pp-gallery {
  padding: 2rem 0 0;
  background: var(--white);
}

/* Toolbar */
.pp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.pp-id-pill {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
}

.pp-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pp-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.25s;
}

.pp-tool-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.pp-fav-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.pp-fav-btn.active svg {
  fill: currentColor;
}

/* Main Image Area */
.pp-main-image {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--primary-dark);
}

.pp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}

.pp-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.pp-slide .property-image-placeholder {
  width: 100%;
  height: 100%;
}

/* Background color classes for slides */
.card-c1-bg { background: linear-gradient(135deg, #1e3332, #2a4a48, #1e3332); }
.card-c2-bg { background: linear-gradient(135deg, #2c2a18, #3d3822, #2c2a18); }
.card-c3-bg { background: linear-gradient(135deg, #1e2e30, #2a4044, #1e2e30); }
.card-c4-bg { background: linear-gradient(135deg, #2a3028, #3a4a38, #2a3028); }
.card-c5-bg { background: linear-gradient(135deg, #282830, #383848, #282830); }
.card-c6-bg { background: linear-gradient(135deg, #302a1e, #483e2a, #302a1e); }

/* Slide overlays (360° & video) */
.pp-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-dark-rgb),0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pp-360-icon svg {
  color: var(--cream);
  opacity: 0.8;
}

.pp-360-btn {
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pp-360-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.3);
}

.pp-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-dark);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pp-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 24px rgba(var(--accent-rgb),0.4);
}

/* Nav buttons */
.pp-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color);
  transition: background 0.25s;
  z-index: 2;
}

.pp-nav-btn:hover {
  background: var(--white);
}

.pp-nav-prev { left: 0.75rem; }
.pp-nav-next { right: 0.75rem; }

/* Counter badge */
.pp-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(var(--primary-rgb),0.7);
  backdrop-filter: blur(4px);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  z-index: 2;
}

/* Thumbnails */
.pp-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.pp-thumbs::-webkit-scrollbar { height: 4px; }
.pp-thumbs::-webkit-scrollbar-track { background: transparent; }
.pp-thumbs::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.pp-thumb {
  flex-shrink: 0;
  width: auto;
  height: 80px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s;
  position: relative;
}

.pp-thumb .property-image-placeholder {
  width: 100%;
  height: 100%;
}

.pp-thumb.active {
  border-color: var(--accent-color);
}

.pp-thumb:hover:not(.active) {
  border-color: var(--gray-400);
}

/* 360° and Video thumb badges */
.pp-thumb-360,
.pp-thumb-video {
  border-color: rgba(var(--accent-rgb),0.4);
}

.pp-thumb-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.pp-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-dark-rgb),0.4);
  color: var(--cream);
}

/* ── Info Panel ── */
.pp-info-panel {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}

.pp-info-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pp-status-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.pp-info-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.pp-info-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--gray-400);
}

.pp-info-location svg { color: var(--accent-color); flex-shrink: 0; }

.pp-info-right { text-align: right; }

.pp-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--accent-color);
  line-height: 1.1;
}

.pp-price-sqm {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

/* ── Content Layout ── */
.pp-content {
  padding: 2rem 0;
  background: var(--white);
}

.pp-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Description ── */
.pp-description {
  margin-bottom: 2rem;
}

.pp-desc-body {
  max-height: 8rem;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.pp-desc-body.expanded {
  max-height: 60rem;
}

.pp-desc-body p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.pp-desc-toggle {
  background: none;
  border: none;
  color: var(--accent-color);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s;
}

.pp-desc-toggle:hover { color: var(--accent-dark); }

/* ── Specs Bar ── */
.pp-specs-bar {
  display: flex;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.pp-spec-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--gray-200);
}

.pp-spec-item:last-child { border-right: none; }

.pp-spec-item svg { color: var(--accent-color); flex-shrink: 0; }

.pp-spec-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.pp-spec-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Property Details ── */
.pp-details {
  background: var(--gray-100);
  padding: 3rem 2rem;
  margin: 0 -2rem;
  border-radius: 14px;
}

.pp-section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary-color);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.pp-section-heading em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pp-detail-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.pp-detail-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.pp-detail-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.pp-detail-rows {
  display: flex;
  flex-direction: column;
}

.pp-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pp-detail-row:last-child { border-bottom: none; }

.pp-detail-key {
  font-size: 0.88rem;
  color: var(--gray-400);
}

.pp-detail-val {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-dark);
}

/* ── Amenities ── */
.pp-amenities {
  background: var(--primary-dark);
  padding: 3.5rem 0;
  position: relative;
}

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

.pp-amenity-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.25s;
}

.pp-amenity-card:hover {
  background: rgba(255,255,255,0.08);
}

.pp-amenity-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.pp-amenity-card span {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 300;
}

/* ── Floor Plan ── */
.pp-floorplan {
  padding: 3.5rem 0;
  background: var(--white);
}

.pp-floorplan-image {
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
}

.pp-floorplan-image .property-image-placeholder {
  width: 100%;
  height: 100%;
}

.pp-floorplan-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

/* ── Sidebar ── */
.pp-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Agent Card */
.pp-agent-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.pp-agent-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.pp-agent-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 3px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pp-agent-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.15rem;
}

.pp-agent-position {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.pp-agent-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pp-stars {
  display: flex;
  gap: 2px;
}

.pp-stars svg { color: var(--accent-color); }

.pp-agent-rating span {
  font-size: 0.82rem;
  color: var(--gray-400);
}

.pp-agent-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pp-agent-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.5rem;
  border-radius: 8px;
}

.pp-agent-stat svg { color: var(--accent-color); }

.pp-agent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pp-agent-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.pp-agent-btn-phone {
  background: rgba(34,139,34,0.1);
  color: #228b22;
  border: 1px solid rgba(34,139,34,0.15);
}

.pp-agent-btn-phone:hover {
  background: rgba(34,139,34,0.15);
}

.pp-agent-btn-email {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.pp-agent-btn-email:hover {
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.pp-agent-btn-inquiry {
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-weight: 600;
}

.pp-agent-btn-inquiry:hover {
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.3);
  transform: translateY(-1px);
}

.pp-agent-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pp-agent-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all 0.25s;
}

.pp-agent-social a:hover {
  background: var(--accent-dim);
  color: var(--accent-color);
}

/* Inquiry CTA */
.pp-inquiry-cta {
  background: var(--accent-dim);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.pp-inquiry-cta-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.pp-inquiry-cta p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pp-inquiry-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pp-inquiry-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.3);
}

/* ── Similar Properties ── */
.pp-similar {
  padding: 4rem 0;
  background: var(--gray-100);
}

.pp-similar .section-title { margin-bottom: 2rem; }

.pp-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ── Enquiry Modal ── */
.pp-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.pp-modal.open {
  opacity: 1;
  visibility: visible;
}

.pp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.pp-modal-card {
  position: relative;
  background: var(--white);
  max-width: 620px;
  width: calc(100% - 2rem);
  border-radius: 14px;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-out);
}

.pp-modal.open .pp-modal-card { transform: translateY(0); }

.pp-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.25s;
}

.pp-modal-close:hover {
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.pp-modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.pp-modal-subtitle {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.pp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pp-form-field {
  margin-bottom: 1rem;
}

.pp-form-row .pp-form-field { margin-bottom: 0; }

.pp-form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.pp-form-field input,
.pp-form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--primary-color);
  background: var(--gray-100);
  transition: border-color 0.25s;
  outline: none;
}

.pp-form-field input:focus,
.pp-form-field textarea:focus {
  border-color: var(--accent-color);
  background: var(--white);
}

.pp-form-field textarea { resize: vertical; }

.pp-modal-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  margin-top: 0.5rem;
}

.pp-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.3);
}


/* ══════════════════════════════════════════
   PROJECTS PAGE — Project Card Styles
   All classes prefixed with .pj-
   ══════════════════════════════════════════ */

/* ── Filter Fields (2-col + button) ── */
.pj-filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

/* ── Project Card ── */
.pj-card {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}

.pj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(var(--primary-rgb),0.18), 0 0 0 1px rgba(var(--accent-rgb),0.12);
  border-color: rgba(var(--accent-rgb),0.2);
}

/* ── Card Image Container ── */
.pj-card-image {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.pj-card-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.7s var(--ease-out);
}

.pj-card:hover .pj-card-placeholder {
  transform: scale(1.05);
}

/* Reuse card color system */
.pj-card.card-c1 .pj-card-placeholder { background: linear-gradient(135deg, #1e3332, #2a4a48, #1e3332); }
.pj-card.card-c2 .pj-card-placeholder { background: linear-gradient(135deg, #2c2a18, #3d3822, #2c2a18); }
.pj-card.card-c3 .pj-card-placeholder { background: linear-gradient(135deg, #1e2e30, #2a4044, #1e2e30); }
.pj-card.card-c4 .pj-card-placeholder { background: linear-gradient(135deg, #2a3028, #3a4a38, #2a3028); }
.pj-card.card-c5 .pj-card-placeholder { background: linear-gradient(135deg, #282830, #383848, #282830); }
.pj-card.card-c6 .pj-card-placeholder { background: linear-gradient(135deg, #302a1e, #483e2a, #302a1e); }

/* ── Gradient Overlay ── */
.pj-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-dark-rgb),0.88) 0%, rgba(var(--primary-dark-rgb),0.35) 40%, rgba(var(--primary-dark-rgb),0.08) 70%);
  z-index: 1;
  pointer-events: none;
}

/* ── Status Badge ── */
.pj-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
}

/* ── Photo Count ── */
.pj-photos {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(var(--primary-rgb),0.6);
  backdrop-filter: blur(4px);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.82rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── Card Content (bottom overlay) ── */
.pj-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

.pj-card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.pj-card-location {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(var(--cream-rgb),0.5);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pj-card-location svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

/* ── Property Count Pill ── */
.pj-card-count {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--cream);
  background: rgba(var(--accent-rgb),0.15);
  border: 1px solid rgba(var(--accent-rgb),0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.pj-card-count svg {
  opacity: 0.7;
}

/* ── Hover View Button ── */
.pj-card-hover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-dark-rgb),0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.pj-card:hover .pj-card-hover {
  opacity: 1;
}

.pj-card-btn {
  padding: 0.65rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-dark);
  background: var(--accent-gradient-h);
  border-radius: 6px;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.pj-card-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.pj-card:hover .pj-card-btn {
  transform: translateY(0);
}

.pj-card-btn:hover::before {
  transform: translateX(100%);
}

.pj-card-btn:hover {
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.4);
}

/* ── Progress Bar ── */
.pj-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient-h);
  z-index: 5;
  pointer-events: none;
  transition: filter 0.4s;
}

.pj-card:hover .pj-progress {
  filter: brightness(1.2) drop-shadow(0 0 6px rgba(var(--accent-rgb),0.4));
}


/* ══════════════════════════════════════════
   EXCLUSIVE MAP PAGE
   All classes prefixed with .exc-
   ══════════════════════════════════════════ */

/* ── Body & Layout ── */
.exc-body {
  overflow: hidden;
  height: 100vh;
}

/* Hide top bar on exclusive page to save vertical space */
.exc-header .header-top-bar {
  display: none;
}

.exc-header .header-main {
  background: rgba(21, 37, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.exc-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/* ── Map ── */
.exc-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.exc-map .leaflet-control-zoom {
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-left: 20px;
  margin-bottom: 30px;
}

.exc-map .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 16px;
  color: var(--primary-color);
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--gray-200);
}

.exc-map .leaflet-control-zoom a:last-child {
  border-bottom: none;
}

.exc-map .leaflet-control-zoom a:hover {
  background: var(--gray-100);
  color: var(--accent-color);
}

.exc-map .leaflet-control-attribution {
  background: rgba(255,255,255,0.65);
  font-size: 10px;
  color: var(--gray-400);
  padding: 2px 8px;
  border-radius: 8px 0 0 0;
}

.exc-map .leaflet-control-attribution a {
  color: var(--gray-600);
}

/* ── Map markers ── */
.exc-price-marker {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

.exc-marker-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}

.exc-marker-pill--default {
  background: var(--primary-color);
  color: #fff;
  border: 1.5px solid rgba(var(--accent-rgb),0.4);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.exc-marker-pill--default:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.5);
  transform: scale(1.1);
}

.exc-marker-pill--active {
  background: var(--accent-color);
  color: var(--primary-dark);
  border: 1.5px solid var(--accent-dark);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.5);
  transform: scale(1.12);
}

.exc-marker-pill--active:hover {
  transform: scale(1.15);
}

/* ── Marker hover tooltip ── */
.exc-tooltip {
  background: rgba(21, 37, 36, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--accent-rgb),0.2) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
  padding: 0 !important;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--sans);
}

.exc-tooltip .leaflet-tooltip-content {
  margin: 0;
}

.exc-tooltip::before {
  border-top-color: rgba(21, 37, 36, 0.95) !important;
}

.exc-popup {
  padding: 0;
}

.exc-popup-img {
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
}

.exc-popup-img-inner {
  width: 100%;
  height: 100%;
}

.exc-popup-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 5px;
}

.exc-popup-body {
  padding: 0.7rem 0.85rem;
}

.exc-popup-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: -0.01em;
}

.exc-popup-price span {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-left: 2px;
}

.exc-popup-title {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-top: 0.2rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exc-popup-location {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.exc-popup-specs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.exc-popup-specs span {
  font-size: 0.62rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.exc-popup-specs svg {
  opacity: 0.4;
}

/* ── Status Pill ── */
.exc-status {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-color);
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  animation: excFadeIn 0.6s 0.8s forwards;
}

.exc-status svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

@keyframes excFadeIn {
  to { opacity: 1; }
}

/* ── Floating Sidebar ── */
.exc-sidebar {
  position: fixed;
  top: 90px;
  right: 20px;
  bottom: 20px;
  width: 420px;
  z-index: 400;
  background: rgba(21, 37, 36, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translateX(calc(100% + 40px));
  transition: transform 0.45s var(--ease-out);
  overflow: hidden;
}

.exc-sidebar.open {
  transform: translateX(0);
}

/* ── Sidebar Header ── */
.exc-sidebar-header {
  padding: 1.4rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.exc-sidebar-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.exc-sidebar-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
}

.exc-sidebar-title em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 0 8px;
}

.exc-sidebar-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}

.exc-sidebar-close:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

.exc-sidebar-subtitle {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin: 0.45rem 0 0;
  letter-spacing: 0.01em;
}

/* ── Sidebar Scrollable Body ── */
.exc-sidebar-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb),0.25) transparent;
}

.exc-sidebar-body::-webkit-scrollbar {
  width: 5px;
}

.exc-sidebar-body::-webkit-scrollbar-track {
  background: transparent;
}

.exc-sidebar-body::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb),0.2);
  border-radius: 10px;
}

.exc-sidebar-body::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb),0.35);
}

/* ── Sidebar Card ── */
.exc-card {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.exc-card:hover,
.exc-card.hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(var(--accent-rgb),0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.exc-card.active {
  background: rgba(var(--accent-rgb),0.1);
  border-color: rgba(var(--accent-rgb),0.35);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),0.15), inset 0 1px 0 rgba(var(--accent-rgb),0.08);
}

/* ── Card Image ── */
.exc-card-img {
  width: 130px;
  min-height: 120px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.exc-card-img-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Reuse shimmer from design system for placeholder */
.exc-card-img .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(var(--accent-rgb),0.08) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: excShimmer 2s infinite;
}

@keyframes excShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.exc-card-img.card-c1 .exc-card-img-inner { background: linear-gradient(135deg, #2a4a48, #355c59, #1e3332); }
.exc-card-img.card-c2 .exc-card-img-inner { background: linear-gradient(135deg, #3d2a1a, #5a3d24, #2a1a0d); }
.exc-card-img.card-c3 .exc-card-img-inner { background: linear-gradient(135deg, #1a2a3d, #243d5a, #0d1a2a); }
.exc-card-img.card-c4 .exc-card-img-inner { background: linear-gradient(135deg, #2a2a1a, #4a4a2a, #1a1a0d); }
.exc-card-img.card-c5 .exc-card-img-inner { background: linear-gradient(135deg, #3d1a2a, #5a2a3d, #2a0d1a); }
.exc-card-img.card-c6 .exc-card-img-inner { background: linear-gradient(135deg, #1a3d2a, #2a5a3d, #0d2a1a); }

.exc-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  z-index: 2;
}

.exc-card-photos {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  padding: 2px 7px;
  border-radius: 6px;
  z-index: 2;
}

.exc-card-photos svg {
  opacity: 0.7;
}

/* ── Card Info ── */
.exc-card-info {
  flex: 1;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
}

.exc-card-price {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.exc-card-price span {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-left: 2px;
}

.exc-card-title {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exc-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-top: 0.1rem;
}

.exc-card-location svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.exc-card-specs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.exc-card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

.exc-card-specs svg {
  opacity: 0.4;
}

/* ── Active card gold accent ── */
.exc-card.active .exc-card-price {
  color: var(--accent-light);
}

.exc-card.active .exc-card-title {
  color: rgba(255,255,255,0.9);
}

/* ── Reopen Button ── */
.exc-reopen {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 450;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem 0.7rem 0.8rem;
  background: rgba(21, 37, 36, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--accent-rgb),0.15);
  border-right: none;
  border-radius: 14px 0 0 14px;
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: -4px 0 20px rgba(0,0,0,0.2);
  transition: all 0.3s;
  writing-mode: horizontal-tb;
}

.exc-reopen:hover {
  background: rgba(21, 37, 36, 0.95);
  color: var(--accent-light);
  padding-right: 1.3rem;
}

.exc-reopen svg {
  opacity: 0.6;
}

/* ── Mobile Toggle ── */
.exc-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  border: 1px solid rgba(var(--accent-rgb),0.2);
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: all 0.3s;
}

.exc-mobile-toggle:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.45);
  border-color: rgba(var(--accent-rgb),0.35);
}

.exc-mobile-toggle svg {
  opacity: 0.6;
}

/* ── Mobile bottom sheet state ── */
.exc-sidebar.mobile-open {
  transform: translateX(0) !important;
}

.exc-sheet-open {
  overflow: hidden;
}


/* ══════════════════════════════════════════
   PROJECT DETAIL PAGE
   All classes prefixed with .pjd-
   ══════════════════════════════════════════ */

/* ── Info Panel ── */
.pjd-info-panel {
  background: var(--white);
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pjd-info-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pjd-info-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pjd-status-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  width: fit-content;
}

.pjd-info-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.2;
}

.pjd-info-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-600);
}

.pjd-info-location svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.pjd-info-right {
  display: flex;
  align-items: center;
}

.pjd-info-stats {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pjd-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-color);
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb),0.2);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
}

.pjd-stat-pill svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

/* Progress bar */
.pjd-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-top: 1.25rem;
  overflow: hidden;
}

.pjd-progress-fill {
  height: 100%;
  background: var(--accent-gradient-h);
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
}

.pjd-progress-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-dark);
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
}

/* ── Content Grid ── */
.pjd-content {
  background: var(--white);
  padding: 2.5rem 0;
}

.pjd-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.pjd-sidebar {
  position: sticky;
  top: 100px;
}

/* ── Specs Bar ── */
.pjd-specs-bar {
  display: flex;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
}

.pjd-spec-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border-right: 1px solid var(--gray-200);
}

.pjd-spec-item:last-child {
  border-right: none;
}

.pjd-spec-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.pjd-spec-value {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.2;
}

.pjd-spec-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--gray-400);
  margin-top: 0.15rem;
}

/* ── Details Section ── */
.pjd-details {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

.pjd-attr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.pjd-attr-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  padding: 1.25rem;
}

.pjd-attr-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.pjd-attr-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.pjd-attr-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pjd-attr-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.pjd-attr-key {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--gray-400);
}

.pjd-attr-val {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: right;
}

.pjd-structure {
  background: var(--white);
  padding: 3.5rem 0;
}

/* ── Floor Accordion ── */
.pjd-floors {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pjd-floor-section {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.pjd-floor-section.open {
  border-color: rgba(var(--accent-rgb),0.3);
}

.pjd-floor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.pjd-floor-header:hover {
  background: var(--gray-100);
}

.pjd-floor-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary-color);
  min-width: 80px;
}

.pjd-floor-pills {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  flex-wrap: wrap;
}

.pjd-floor-status {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 10px;
}

.pjd-status-free {
  background: rgba(52,168,83,0.1);
  color: #34a853;
}

.pjd-status-reserved {
  background: rgba(251,188,4,0.12);
  color: #b8860b;
}

.pjd-status-sold {
  background: rgba(234,67,53,0.1);
  color: #ea4335;
}

.pjd-floor-chevron {
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.pjd-floor-section.open .pjd-floor-chevron {
  transform: rotate(180deg);
}

.pjd-floor-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.pjd-floor-section.open .pjd-floor-body {
  max-height: 400px;
}

/* ── Unit Table ── */
.pjd-unit-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.82rem;
}

.pjd-unit-table thead {
  background: var(--gray-100);
}

.pjd-unit-table th {
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pjd-unit-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--gray-200);
  color: var(--primary-color);
  font-weight: 400;
}

.pjd-unit-free { color: #34a853 !important; font-weight: 500 !important; }
.pjd-unit-reserved { color: #b8860b !important; font-weight: 500 !important; }
.pjd-unit-sold { color: #ea4335 !important; font-weight: 500 !important; }

.pjd-unit-link {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(var(--accent-rgb),0.3);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.pjd-unit-link:hover {
  background: var(--accent-gradient-h);
  color: var(--primary-dark);
  border-color: transparent;
}

/* ── Similar Projects ── */
.pjd-similar {
  background: var(--gray-100);
  padding: 3.5rem 0;
}

.pjd-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}


/* ══════════════════════════════════════════
   AUTH PAGES — Login & Register
   All classes prefixed with .auth-
   ══════════════════════════════════════════ */

/* ── Full-page container ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(42,74,72,0.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(var(--primary-rgb),0.9) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(var(--accent-rgb),0.04) 0%, transparent 70%),
    linear-gradient(160deg, #0f1c1b 0%, #152524 25%, #1e3332 50%, #1a2e2d 75%, #101e1d 100%);
  position: relative;
  overflow: hidden;
  padding: 2rem 1.25rem;
}

/* ── Background decoration layer ── */
.auth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Mesh gradient — large soft color blobs */
.auth-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 450px at 10% 20%, rgba(var(--accent-rgb),0.07) 0%, transparent 100%),
    radial-gradient(circle 500px at 85% 80%, rgba(var(--accent-rgb),0.05) 0%, transparent 100%),
    radial-gradient(circle 350px at 60% 10%, rgba(53,92,89,0.3) 0%, transparent 100%),
    radial-gradient(circle 400px at 30% 90%, rgba(42,74,72,0.25) 0%, transparent 100%);
}

/* Animated gold glows */
.auth-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.auth-bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.12) 0%, rgba(var(--accent-rgb),0.03) 40%, transparent 70%);
  top: -12%;
  right: -8%;
  animation: auth-glow-1 18s ease-in-out infinite;
}

.auth-bg-glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(42,74,72,0.35) 0%, rgba(var(--primary-rgb),0.15) 40%, transparent 70%);
  bottom: -8%;
  left: -5%;
  animation: auth-glow-2 22s ease-in-out infinite;
}

.auth-bg-glow-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: auth-glow-3 15s ease-in-out infinite;
}

@keyframes auth-glow-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  33% { transform: translate(-30px, 20px) scale(1.1); opacity: 1; }
  66% { transform: translate(20px, -15px) scale(0.95); opacity: 0.6; }
}

@keyframes auth-glow-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  40% { transform: translate(25px, -20px) scale(1.08); opacity: 0.85; }
  70% { transform: translate(-15px, 10px) scale(0.97); opacity: 0.55; }
}

@keyframes auth-glow-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

/* Thin gold diagonal lines */
.auth-bg-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb),0.12) 30%, rgba(var(--accent-rgb),0.06) 70%, transparent 100%);
  transform-origin: center center;
}

.auth-bg-line-1 {
  width: 140%;
  top: 30%;
  left: -20%;
  transform: rotate(-25deg);
}

.auth-bg-line-2 {
  width: 120%;
  top: 65%;
  left: -10%;
  transform: rotate(-25deg);
  opacity: 0.5;
}

.auth-bg-line-3 {
  width: 100%;
  top: 48%;
  left: -5%;
  transform: rotate(-25deg);
  opacity: 0.3;
}

/* Floating diamond shapes */
.auth-bg-diamond {
  position: absolute;
  border: 1px solid rgba(var(--accent-rgb),0.08);
  transform: rotate(45deg);
}

.auth-bg-diamond-1 {
  width: 180px;
  height: 180px;
  top: 8%;
  left: 5%;
  animation: auth-diamond-float 30s ease-in-out infinite;
}

.auth-bg-diamond-2 {
  width: 100px;
  height: 100px;
  bottom: 12%;
  right: 8%;
  border-color: rgba(var(--accent-rgb),0.05);
  animation: auth-diamond-float 24s ease-in-out infinite reverse;
}

@keyframes auth-diamond-float {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  25% { transform: rotate(50deg) translate(8px, -12px); opacity: 0.9; }
  50% { transform: rotate(45deg) translate(-5px, 5px); opacity: 0.5; }
  75% { transform: rotate(40deg) translate(10px, 8px); opacity: 0.8; }
}

/* Large subtle ring */
.auth-bg-ring {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb),0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: auth-ring-pulse 20s ease-in-out infinite;
}

.auth-bg-ring::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb),0.03);
}

@keyframes auth-ring-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.8; }
}

/* Film grain on auth page */
.auth-page::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 0;
  animation: grain 8s steps(10) infinite;
  opacity: 0.35;
}

/* ── Back link ── */
.auth-back {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(var(--cream-rgb),0.5);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  transition: color 0.25s;
  z-index: 2;
}

.auth-back:hover { color: var(--accent-color); }
.auth-back svg { transition: transform 0.25s; }
.auth-back:hover svg { transform: translateX(-3px); }

/* ── Card ── */
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: rgba(254,254,254,0.97);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.25),
    0 0 0 1px rgba(var(--accent-rgb),0.08);
}

/* ── Logo ── */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 2rem;
  justify-content: center;
}

.auth-logo-icon {
  width: 36px;
  height: 36px;
}

.auth-logo-icon svg { width: 100%; height: 100%; }

.auth-logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  color: var(--primary-color);
}

.auth-logo-sub {
  font-family: var(--serif);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent-color);
  letter-spacing: 0.12em;
  margin-top: -2px;
}

/* ── Typography ── */
.auth-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--primary-color);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.auth-title em {
  font-style: italic;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

/* ── Form ── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.auth-optional {
  font-weight: 300;
  color: var(--gray-400);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > svg {
  position: absolute;
  left: 0.85rem;
  color: var(--gray-400);
  pointer-events: none;
  transition: color 0.25s;
  flex-shrink: 0;
}

.auth-input-wrap input {
  width: 100%;
  padding: 0.72rem 0.9rem 0.72rem 2.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--primary-color);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-input-wrap input::placeholder {
  color: var(--gray-400);
  font-weight: 300;
}

.auth-input-wrap input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.1);
}

.auth-input-wrap input:focus + svg,
.auth-input-wrap:has(input:focus) > svg {
  color: var(--accent-color);
}

/* Eye toggle */
.auth-eye {
  position: absolute;
  right: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 0.3rem;
  display: flex;
  align-items: center;
  transition: color 0.25s;
}

.auth-eye:hover,
.auth-eye.active { color: var(--accent-color); }

/* ── Remember + Forgot row ── */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Custom checkbox */
.auth-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--gray-600);
  cursor: pointer;
  user-select: none;
}

.auth-check input { display: none; }

.auth-checkmark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
}

.auth-check input:checked + .auth-checkmark {
  background: var(--accent-gradient);
  border-color: var(--accent-color);
}

.auth-check input:checked + .auth-checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--primary-dark);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.auth-link-sm {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s;
}

.auth-link-sm:hover { color: var(--accent-dark); }

/* ── Submit ── */
.auth-submit {
  width: 100%;
  padding: 0.82rem;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  margin-top: 0.25rem;
  position: relative;
  overflow: hidden;
}

.auth-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb),0.3);
}

.auth-submit:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

/* ── Divider ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.auth-divider span {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ── Social buttons ── */
.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.25s;
}

.auth-social-btn:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}

/* ── Footer text ── */
.auth-footer-text {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 1.25rem;
}

.auth-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s;
}

.auth-link:hover { color: var(--accent-dark); }


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 240px 240px; }
  .location-card:nth-child(1) { grid-column: span 1; }

  /* Properties page */
  .pg-filter-fields { grid-template-columns: 1fr 1fr; }

  /* Agents page */
  .ag-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Agent profile */
  .ap-hero-grid { grid-template-columns: 320px 1fr; }
  .ap-prop-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-reviews-grid { grid-template-columns: 1fr 1fr; }
  .ap-review-cards { grid-template-columns: repeat(2, 1fr); }

  /* Property page */
  .pp-content-grid { grid-template-columns: 1fr 340px; }
  .pp-similar-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-amenities-grid { grid-template-columns: repeat(3, 1fr); }

  /* Projects page */
  .pj-filter-fields { grid-template-columns: 1fr 1fr auto; }

  /* Project detail page */
  .pjd-content-grid { grid-template-columns: 1fr 340px; }
  .pjd-attr-grid { grid-template-columns: repeat(2, 1fr); }
  .pjd-similar-grid { grid-template-columns: repeat(2, 1fr); }

  /* Exclusive map page */
  .exc-sidebar { width: 380px; right: 15px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .header-top-bar { display: none; }

  .header-main { padding: 0.85rem 0; }
  .header.scrolled .header-top-bar { margin-top: 0; }
  .header.scrolled .header-main {
    background: rgba(30, 51, 50, 0.95);
  }

  .hero-content { padding-top: 7rem; }

  .search-fields {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .search-btn { width: 100%; padding: 1rem; }

  .properties-grid { grid-template-columns: 1fr; max-width: 440px; }
  .why-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-item::after { display: none !important; }

  .locations-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .location-card { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }

  .property-actions { opacity: 1; transform: translateY(0); }
  .advanced-filters { grid-template-columns: 1fr 1fr; }
  .nav-login, .nav-lang { display: none; }
  .nav-dropdown { display: none; }
  .price-range-panel { width: 300px; }
  .price-range-select.open .price-range-panel { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; border-radius: 16px 16px 0 0; transform: translateY(0); z-index: 1000; }

  .footer-bottom { flex-direction: column; text-align: center; }

  /* Properties page */
  .pg-banner { padding: 7rem 0 2rem; }
  .pg-filters-bar { display: none; }
  .pg-filter-fab { display: flex; }
  .pg-filter-fields { grid-template-columns: 1fr; }
  .pg-toolbar { flex-direction: column; align-items: flex-start; }
  .pg-toolbar-actions { width: 100%; justify-content: space-between; }
  .pg-page-btn { width: 36px; height: 36px; font-size: 0.82rem; }

  /* Agents page */
  .ag-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .ag-section { padding: 2.5rem 0 3rem; }
  .ag-card-overlay { opacity: 1; background: linear-gradient(to top, rgba(var(--primary-dark-rgb),0.75) 0%, transparent 50%); }
  .ag-card-social { transform: translateY(0); }
  .ag-social-btn { background: rgba(255,255,255,0.2); }

  /* Agent profile */
  .ap-hero-grid { grid-template-columns: 1fr; justify-items: center; }
  .ap-hero-photo { max-width: 300px; width: 100%; }
  .ap-hero-info { text-align: center; }
  .ap-languages, .ap-rating, .ap-social, .ap-awards { justify-content: center; }
  .ap-contact-items { align-items: center; }
  .ap-name { font-size: 2.2rem; }
  .ap-prop-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .ap-reviews-grid { grid-template-columns: 1fr; }
  .ap-review-cards { grid-template-columns: 1fr; overflow-x: auto; grid-auto-flow: column; grid-auto-columns: 280px; gap: 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
  .ap-review-card { scroll-snap-align: start; }
  .ap-form-row { grid-template-columns: 1fr; }

  /* Property page */
  .pp-main-image { aspect-ratio: 4/3; }
  .pp-content-grid { grid-template-columns: 1fr; }
  .pp-sidebar { position: static; }
  .pp-details-grid { grid-template-columns: 1fr; }
  .pp-amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-similar-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pp-specs-bar { flex-wrap: wrap; }
  .pp-spec-item { flex: 1 1 45%; border-bottom: 1px solid var(--gray-200); }
  .pp-spec-item:nth-child(2) { border-right: none; }
  .pp-spec-item:nth-child(3),
  .pp-spec-item:nth-child(4) { border-bottom: none; }
  .pp-info-inner { flex-direction: column; }
  .pp-info-right { text-align: left; }
  .pp-form-row { grid-template-columns: 1fr; }

  /* Projects page */
  .pj-filter-fields { grid-template-columns: 1fr; }
  .pj-card-image { aspect-ratio: 4/3; }
  .pj-card-hover { opacity: 1; background: rgba(var(--primary-dark-rgb),0.3); backdrop-filter: none; }
  .pj-card-btn { transform: translateY(0); }

  /* Project detail page */
  .pjd-content-grid { grid-template-columns: 1fr; }
  .pjd-sidebar { position: static; }
  .pjd-attr-grid { grid-template-columns: 1fr; }
  .pjd-info-inner { flex-direction: column; }
  .pjd-info-title { font-size: 1.5rem; }
  .pjd-specs-bar { flex-wrap: wrap; }
  .pjd-spec-item { flex: 1 1 45%; border-bottom: 1px solid var(--gray-200); }
  .pjd-spec-item:nth-child(odd):last-child { flex: 1 1 100%; }
  .pjd-similar-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pjd-unit-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pjd-floor-pills { gap: 0.35rem; }

  /* Exclusive map page */
  .exc-sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .exc-sidebar.open { transform: translateY(100%); }
  .exc-sidebar.mobile-open { transform: translateY(0) !important; }
  .exc-reopen { display: none !important; }
  .exc-mobile-toggle { display: flex; }
  .exc-status { top: 62px; font-size: 0.68rem; padding: 0.4rem 0.9rem; }
  .exc-card-img { width: 110px; min-height: 105px; }
  .exc-card-info { padding: 0.6rem 0.75rem; }
  .exc-card-price { font-size: 0.88rem; }
  .exc-card-title { font-size: 0.7rem; }

  /* Auth pages */
  .auth-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .logo-text { font-size: 1.2rem; letter-spacing: 0.15em; }
  .logo-sub { display: none; }
  .advanced-filters { grid-template-columns: 1fr; }

  /* Properties page */
  .pg-banner-title { font-size: 1.8rem; }
  .pg-toolbar .custom-select .custom-select-trigger { min-width: 110px; font-size: 0.78rem; padding: 0.5rem 0.75rem; }

  /* Agents page */
  .ag-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ag-card-image { aspect-ratio: 4 / 3.5; }

  /* Agent profile */
  .ap-hero-photo { max-width: 240px; }
  .ap-name { font-size: 1.8rem; }
  .ap-tabs { width: 100%; }
  .ap-tab { flex: 1; text-align: center; padding: 0.6rem 1rem; }
  .ap-review-cards { grid-auto-columns: 260px; }

  /* Auth pages */
  .auth-card { padding: 2rem 1.5rem 1.75rem; border-radius: 16px; }
  .auth-title { font-size: 1.55rem; }
  .auth-social { grid-template-columns: 1fr; }
  .auth-back { top: 1rem; left: 1rem; }

  /* Property page */
  .pp-main-image { aspect-ratio: 4/3; }
  .pp-thumb { height: 60px; }
  .pp-nav-btn { width: 36px; height: 36px; }
  .pp-amenities-grid { grid-template-columns: 1fr; }
  .pp-info-title { font-size: 1.4rem; }
  .pp-price { font-size: 1.8rem; }
  .pp-toolbar { flex-wrap: wrap; gap: 0.5rem; }
  .pp-toolbar-right { flex-wrap: wrap; }

  /* Projects page */
  .pj-card-title { font-size: 1.1rem; }
  .pj-card-content { padding: 1.25rem; }
  .pj-card-count { bottom: 1.25rem; right: 1.25rem; font-size: 0.68rem; }

  /* Exclusive map page */
  .exc-sidebar { height: 60vh; border-radius: 16px 16px 0 0; }
  .exc-card-img { width: 95px; min-height: 95px; }
  .exc-card-info { padding: 0.5rem 0.65rem; }
  .exc-card-price { font-size: 0.82rem; }
  .exc-card-title { font-size: 0.67rem; }
  .exc-card-specs { gap: 0.4rem; }
  .exc-card-specs span { font-size: 0.6rem; }
  .exc-sidebar-title { font-size: 1.15rem; }
  .exc-mobile-toggle { font-size: 0.75rem; padding: 0.65rem 1.25rem; }

  /* Project detail page */
  .pjd-info-title { font-size: 1.3rem; }
  .pjd-floor-block { height: 42px; padding: 0 0.75rem; }
  .pjd-floor-label { font-size: 0.75rem; }
  .pjd-floor-units { font-size: 0.68rem; }
  .pjd-unit-table { font-size: 0.75rem; }
  .pjd-floor-name { font-size: 0.95rem; min-width: 65px; }
  .pjd-floor-status { font-size: 0.65rem; }
  .pjd-stat-pill { font-size: 0.72rem; padding: 0.3rem 0.6rem; }
}

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

/* SR-only: visually hidden but accessible to screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
