/* ============================================================
   LUMIÈRE ESTATES — style.css
   Premium Real Estate Website Stylesheet
   ============================================================ */

/* ── 1. CSS VARIABLES & RESET ── */
:root {
  /* Core Palette */
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #9A7A2E;
  --navy:        #0D1B2A;
  --navy-mid:    #162336;
  --navy-light:  #1E3048;
  --white:       #FFFFFF;
  --off-white:   #F8F6F1;
  --tint:        #F2EFE8;
  --text:        #1A1A2E;
  --text-muted:  #6B7280;
  --text-light:  #9CA3AF;
  --border:      #E5E0D5;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --container:   1280px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.14);
  --shadow-gold: 0 8px 32px rgba(201,168,76,.25);

  /* Transitions */
  --ease:        cubic-bezier(.4,0,.2,1);
  --fast:        .18s;
  --med:         .35s;
  --slow:        .6s;

  /* Theme (light) */
  --bg:          var(--white);
  --bg-alt:      var(--off-white);
  --bg-tint:     var(--tint);
  --fg:          var(--text);
  --card-bg:     var(--white);
  --card-border: var(--border);
  --nav-bg:      rgba(255,255,255,.95);
  --nav-fg:      var(--navy);
  --footer-bg:   var(--navy);
  --footer-fg:   rgba(255,255,255,.75);
}

/* Dark Mode */
[data-theme="dark"] {
  --bg:          #0A1220;
  --bg-alt:      #0D1928;
  --bg-tint:     #111E30;
  --fg:          #EEE8DC;
  --card-bg:     #111E30;
  --card-border: #1E3048;
  --nav-bg:      rgba(10,18,32,.97);
  --nav-fg:      #EEE8DC;
  --border:      #1E3048;
  --text-muted:  #8A9BB0;
  --shadow-md:   0 8px 32px rgba(0,0,0,.35);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.5);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  transition: background var(--med) var(--ease), color var(--med) var(--ease);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea {
  font-family: inherit;
  font-size: .95rem;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
  outline: none;
}
select:focus, input:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
textarea { resize: vertical; min-height: 120px; }

/* ── 2. UTILITIES ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.section         { padding: 6rem 0; }
.section-dark    { background: var(--navy); }
.section-tint    { background: var(--bg-tint); }

.section-header  { text-align: center; margin-bottom: 3.5rem; }
.section-header.light .section-tag,
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-title em { color: var(--gold); }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-desc { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.center-btn { text-align: center; margin-top: 3rem; }

/* ── 3. BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .875rem 2rem;
  border-radius: 50px;
  transition: all var(--fast) var(--ease);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .875rem 2rem;
  border-radius: 50px;
  transition: all var(--fast) var(--ease);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid rgba(255,255,255,.6);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .875rem 2rem;
  border-radius: 50px;
  transition: all var(--fast) var(--ease);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .6rem 1.4rem;
  border-radius: 50px;
  transition: all var(--fast) var(--ease);
  white-space: nowrap;
}
.btn-nav:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── 4. LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100%{opacity:.5} 50%{opacity:1} }

.loader-bar {
  width: 220px; height: 2px;
  background: rgba(201,168,76,.2);
  border-radius: 2px; overflow: hidden;
}
.loader-progress {
  height: 100%; width: 0; background: var(--gold);
  border-radius: 2px;
  animation: loaderFill 1.8s var(--ease) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ── 5. NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease), backdrop-filter var(--med) var(--ease);
}
#navbar.scrolled, #navbar.nav-solid {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex; align-items: center; gap: 2rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { color: var(--gold); font-size: 1.1rem; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--white);
  transition: color var(--fast) var(--ease);
}
#navbar.scrolled .logo-text, #navbar.nav-solid .logo-text { color: var(--nav-fg); }
.logo-sub { font-weight: 300; letter-spacing: .22em; font-size: .9em; }

.nav-links {
  display: flex; align-items: center; gap: .25rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .5rem .9rem;
  border-radius: 50px;
  color: rgba(255,255,255,.85);
  transition: all var(--fast) var(--ease);
}
#navbar.scrolled .nav-links a, #navbar.nav-solid .nav-links a { color: var(--nav-fg); }
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--fast) var(--ease);
}
#navbar.scrolled .theme-toggle, #navbar.nav-solid .theme-toggle {
  border-color: var(--border); color: var(--text-muted);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: all var(--fast) var(--ease);
}
#navbar.scrolled .hamburger, #navbar.nav-solid .hamburger { border-color: var(--border); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all var(--fast) var(--ease);
}
#navbar.scrolled .hamburger span, #navbar.nav-solid .hamburger span { background: var(--fg); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,18,32,.82) 0%, rgba(10,18,32,.5) 60%, rgba(10,18,32,.3) 100%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  padding-top: 6rem;
  animation: heroFadeUp .9s .3s var(--ease) both;
}
@keyframes heroFadeUp { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:none} }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 50px;
  backdrop-filter: blur(6px);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 720px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Search Box */
.hero-search {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-width: 820px;
}

.search-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.stab {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  padding: .45rem 1.25rem; border-radius: 50px;
  color: rgba(255,255,255,.6);
  border: 1px solid transparent;
  transition: all var(--fast) var(--ease);
}
.stab.active, .stab:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: .75rem;
  align-items: center;
}
.sf-group {
  position: relative; display: flex; align-items: center;
}
.sf-group i {
  position: absolute; left: 1rem;
  color: var(--gold); font-size: .85rem; z-index: 1; pointer-events: none;
}
.sf-group input, .sf-group select {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: var(--white);
  padding-left: 2.5rem;
  border-radius: var(--radius);
}
.sf-group input::placeholder { color: rgba(255,255,255,.45); }
.sf-group select option { background: var(--navy); color: var(--white); }

.btn-search {
  display: flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--navy);
  font-size: .875rem; font-weight: 700;
  padding: .875rem 1.75rem; border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--fast) var(--ease);
  box-shadow: var(--shadow-gold);
}
.btn-search:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Stats */
.hero-stats {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem;
  max-width: var(--container); margin: 2.5rem auto 0;
  width: 100%;
}
.stat-item {
  flex: 1; text-align: center; padding: .5rem 1rem;
  color: var(--white);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 600;
  color: var(--gold-light);
  display: inline;
}
.stat-item > span:nth-child(2) {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 600;
  color: var(--gold-light);
}
.stat-label {
  display: block;
  font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-top: .2rem;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ── 7. PROPERTY CARDS ── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.property-grid.list-view { grid-template-columns: 1fr; }
.property-grid.list-view .prop-card { flex-direction: row; max-height: 200px; }
.property-grid.list-view .prop-img-wrap { width: 300px; flex-shrink: 0; height: 100%; }
.property-grid.list-view .prop-body { display: flex; flex-direction: column; justify-content: space-between; }

.prop-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
  display: flex; flex-direction: column;
  animation: cardFadeIn .5s var(--ease) both;
}
@keyframes cardFadeIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.prop-img-wrap {
  position: relative; overflow: hidden;
  height: 220px; flex-shrink: 0;
}
.prop-img-wrap img {
  width: 100%; height: 100%;
  transition: transform var(--slow) var(--ease);
}
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }

.prop-badge {
  position: absolute; top: .85rem; left: .85rem;
  background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 50px;
}
.prop-badge.sale { background: #10B981; color: white; }
.prop-badge.rent { background: #3B82F6; color: white; }
.prop-badge.new  { background: var(--gold); color: var(--navy); }

.prop-fav {
  position: absolute; top: .85rem; right: .85rem;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--text-muted);
  transition: all var(--fast) var(--ease);
  z-index: 2;
}
.prop-fav:hover, .prop-fav.liked { color: #EF4444; transform: scale(1.1); }

.prop-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.prop-price {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600; color: var(--gold);
  margin-bottom: .35rem;
}

.prop-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  color: var(--fg); margin-bottom: .4rem;
  line-height: 1.3;
}

.prop-loc {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem;
}
.prop-loc i { color: var(--gold); font-size: .75rem; }

.prop-specs {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
  margin-top: auto;
}
.prop-spec { display: flex; align-items: center; gap: .35rem; }
.prop-spec i { color: var(--gold); font-size: .8rem; }

.prop-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--card-border);
}
.prop-agent { display: flex; align-items: center; gap: .5rem; }
.prop-agent img {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.prop-agent span { font-size: .78rem; color: var(--text-muted); }

.prop-view {
  font-size: .78rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; gap: .3rem;
  transition: gap var(--fast) var(--ease);
}
.prop-view:hover { gap: .6rem; }

/* ── 8. CATEGORIES ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background-image: var(--bg); background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  cursor: pointer;
  transition: transform var(--med) var(--ease);
  background-image: var(--bg, none);
}
/* apply bg image via inline style */
.cat-card { background-image: var(--bg, url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=600')); }
.cat-card[style*="--bg"] { background-image: var(--bg); }

/* Workaround: use pseudo with CSS variable background */
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  transition: transform var(--slow) var(--ease);
  z-index: 0;
}
.cat-card:hover::before { transform: scale(1.06); }
.cat-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,18,32,.85) 0%, rgba(10,18,32,.2) 60%, transparent 100%);
  transition: background var(--med) var(--ease);
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(10,18,32,.92) 0%, rgba(10,18,32,.4) 70%, transparent 100%); }
.cat-body {
  position: relative; z-index: 2;
  padding: 1.25rem; color: var(--white);
}
.cat-body i { font-size: 1.4rem; color: var(--gold); margin-bottom: .4rem; display: block; }
.cat-body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.cat-body span { font-size: .78rem; color: rgba(255,255,255,.65); letter-spacing: .06em; }

/* ── 9. WHY SECTION ── */
.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-img-wrap {
  position: relative; border-radius: var(--radius-xl);
  overflow: visible;
}
.why-img {
  border-radius: var(--radius-xl);
  width: 100%; height: 520px;
  box-shadow: var(--shadow-lg);
}
.why-badge-float {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: .85rem;
  box-shadow: var(--shadow-gold);
}
.why-badge-float i { font-size: 1.6rem; }
.why-badge-float strong { display: block; font-size: .95rem; font-weight: 700; }
.why-badge-float span { font-size: .78rem; opacity: .75; }

.why-content .section-title { text-align: left; }
.why-content > p { color: var(--text-muted); margin: 1rem 0 1.5rem; }

.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.wf-item { display: flex; gap: .85rem; align-items: flex-start; }
.wf-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(201,168,76,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
}
.wf-item h4 { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; color: var(--fg); }
.wf-item p  { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* ── 10. TESTIMONIALS ── */
.testimonial-slider { position: relative; overflow: hidden; }
.testi-track {
  display: flex; gap: 1.5rem;
  transition: transform var(--slow) var(--ease);
}
.testi-card {
  min-width: calc(33.33% - 1rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--med) var(--ease);
}
.testi-card:hover { box-shadow: var(--shadow-lg); }
.testi-stars { color: var(--gold); font-size: .85rem; margin-bottom: 1rem; display: flex; gap: .2rem; }
.testi-card > p {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 300;
  font-style: italic; line-height: 1.7;
  color: var(--fg); margin-bottom: 1.5rem;
}
.testi-author { display: flex; align-items: center; gap: .85rem; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); }
.testi-author strong { display: block; font-size: .9rem; font-weight: 600; color: var(--fg); }
.testi-author span { font-size: .78rem; color: var(--text-muted); }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.testi-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--fast) var(--ease); font-size: .85rem;
}
.testi-btn:hover { border-color: var(--gold); color: var(--gold); }
.testi-dots { display: flex; gap: .5rem; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all var(--fast) var(--ease); cursor: pointer;
}
.testi-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── 11. AGENTS ── */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}
.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.agent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.agent-img-wrap {
  position: relative; height: 240px; overflow: hidden;
}
.agent-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.agent-card:hover .agent-img-wrap img { transform: scale(1.05); }
.agent-socials {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem;
  padding: 1rem; background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  transform: translateY(100%);
  transition: transform var(--med) var(--ease);
}
.agent-card:hover .agent-socials { transform: none; }
.agent-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .8rem;
  border: 1px solid rgba(255,255,255,.3);
  transition: all var(--fast) var(--ease);
}
.agent-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.agent-info { padding: 1.25rem; }
.agent-info h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--fg); }
.agent-title { font-size: .78rem; color: var(--gold); font-weight: 500; letter-spacing: .05em; }
.agent-stats {
  display: flex; gap: 1rem; margin-top: .75rem;
  font-size: .78rem; color: var(--text-muted);
}
.agent-stats span { display: flex; align-items: center; gap: .3rem; }
.agent-stats i { color: var(--gold); }

/* ── 12. CTA SECTION ── */
.cta-section {
  position: relative; padding: 7rem 0; overflow: hidden;
  display: flex; align-items: center;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,18,32,.88) 0%, rgba(10,18,32,.65) 100%);
}
.cta-content {
  position: relative; z-index: 1;
  text-align: center; color: var(--white);
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; margin-bottom: 1rem;
}
.cta-content h2 em { font-style: italic; color: var(--gold-light); }
.cta-content p { color: rgba(255,255,255,.7); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 13. FOOTER ── */
#footer { background: var(--navy); color: var(--footer-fg); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: .12em; color: var(--white);
  margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem;
}
.footer-logo i { color: var(--gold); }
.footer-logo span { font-weight: 300; letter-spacing: .22em; font-size: .85em; }

.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 1.5rem; }

.footer-socials { display: flex; gap: .6rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .8rem;
  transition: all var(--fast) var(--ease);
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-col h4 {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a {
  font-size: .85rem; color: rgba(255,255,255,.5);
  transition: color var(--fast) var(--ease);
}
.footer-col ul a:hover { color: var(--gold); }

.footer-contact li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: .65rem;
}
.footer-contact i { color: var(--gold); margin-top: .15rem; flex-shrink: 0; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem; color: rgba(255,255,255,.35);
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color var(--fast) var(--ease); }
.footer-legal a:hover { color: var(--gold); }

/* ── 14. BACK TO TOP ── */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all var(--med) var(--ease);
}
#backToTop.visible { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ── 15. PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300; color: var(--white); margin-bottom: .75rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1rem; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .78rem; color: rgba(255,255,255,.45);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: .65rem; }

/* ── 16. LISTINGS PAGE ── */
.listings-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky; top: 90px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.filter-sidebar::-webkit-scrollbar { width: 4px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.filter-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.filter-header h3 { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; color: var(--fg); }
.filter-header h3 i { color: var(--gold); }
.filter-reset { font-size: .78rem; color: var(--gold); font-weight: 600; transition: opacity var(--fast) var(--ease); }
.filter-reset:hover { opacity: .7; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group > label {
  display: block;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .65rem;
}
.filter-search-wrap { position: relative; }
.filter-search-wrap i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: .8rem; }
.filter-search-wrap input { padding-left: 2.4rem; }

.filter-checkboxes { display: flex; flex-direction: column; gap: .5rem; }
.checkbox-label {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; color: var(--fg); cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  border-radius: 4px; border: 1.5px solid var(--border);
  accent-color: var(--gold); cursor: pointer;
  flex-shrink: 0; padding: 0;
}

.price-range-wrap input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; padding: 0;
  border: none; border-radius: 2px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 100%, var(--border) 100%);
  cursor: pointer;
}
.price-range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer;
}
.price-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-muted); margin-top: .5rem; }

.filter-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.fpill {
  font-size: .78rem; font-weight: 600;
  padding: .4rem .9rem; border-radius: 50px;
  border: 1.5px solid var(--border); color: var(--text-muted);
  transition: all var(--fast) var(--ease);
}
.fpill.active, .fpill:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,168,76,.08);
}

.filter-apply { width: 100%; justify-content: center; margin-top: .5rem; }

/* Listings Main */
.listings-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem;
}
.results-count { font-size: .875rem; color: var(--text-muted); }
.toolbar-right { display: flex; align-items: center; gap: .75rem; }
.toolbar-right select { width: auto; padding: .5rem 1rem; font-size: .85rem; }

.view-toggle { display: flex; gap: .35rem; }
.vt-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .85rem;
  transition: all var(--fast) var(--ease);
}
.vt-btn.active, .vt-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); }

.mobile-filter-btn {
  display: none;
  align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600;
  padding: .6rem 1.25rem; border-radius: 50px;
  border: 1.5px solid var(--gold); color: var(--gold);
  margin-bottom: 1rem;
  transition: all var(--fast) var(--ease);
}
.mobile-filter-btn:hover { background: var(--gold); color: var(--navy); }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; margin-top: 3rem;
}
.pg-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--border); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: all var(--fast) var(--ease);
}
.pg-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-numbers { display: flex; gap: .35rem; }
.pg-num {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--border); color: var(--text-muted);
  transition: all var(--fast) var(--ease);
}
.pg-num:hover, .pg-num.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

/* ── 17. PROPERTY DETAIL PAGE ── */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 320px 180px;
  gap: .5rem;
  max-height: 500px;
  overflow: hidden;
}
.gallery-main {
  grid-row: 1 / 3;
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-thumb {
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-main img, .gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.gallery-main:hover img, .gallery-thumb:hover img { transform: scale(1.05); }
.gallery-more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; transition: background var(--fast) var(--ease);
}
.gallery-more:hover { background: rgba(0,0,0,.65); }

.detail-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.detail-header { margin-bottom: 2rem; }
.detail-badges { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.detail-badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .85rem; border-radius: 50px;
}
.detail-badge.type { background: rgba(201,168,76,.15); color: var(--gold); border: 1px solid rgba(201,168,76,.3); }
.detail-badge.status { background: rgba(16,185,129,.12); color: #10B981; border: 1px solid rgba(16,185,129,.3); }

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400; color: var(--fg); margin-bottom: .5rem;
  line-height: 1.2;
}
.detail-location { display: flex; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.detail-location i { color: var(--gold); }

.detail-price-row { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.detail-price {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600; color: var(--gold);
}
.detail-price-psf { font-size: .85rem; color: var(--text-muted); }

.detail-quick-specs {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.25rem;
  background: var(--bg-tint); border-radius: var(--radius);
  margin: 1.5rem 0;
}
.dqs-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--fg); }
.dqs-item i { color: var(--gold); font-size: 1rem; }
.dqs-item strong { font-weight: 600; }

.detail-tabs { display: flex; gap: .25rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.dtab {
  font-size: .85rem; font-weight: 600;
  padding: .75rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--fast) var(--ease);
}
.dtab.active, .dtab:hover { color: var(--gold); border-bottom-color: var(--gold); }

.dtab-content { display: none; animation: fadeIn .3s var(--ease); }
.dtab-content.active { display: block; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.dtab-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin-bottom: 1rem; color: var(--fg); }
.dtab-content > p { color: var(--text-muted); line-height: 1.8; }

.detail-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 1.5rem;
}
.ds-item {
  background: var(--bg-tint); border-radius: var(--radius);
  padding: 1rem; text-align: center;
}
.ds-item .ds-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }
.ds-item .ds-val { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--fg); }

.amenities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
}
.amenity-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .85rem; background: var(--bg-tint); border-radius: var(--radius);
  font-size: .875rem; color: var(--fg);
}
.amenity-item i { color: var(--gold); width: 18px; text-align: center; }

.map-placeholder {
  background: var(--bg-tint);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem; text-align: center;
  color: var(--text-muted);
}
.map-placeholder i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; }
.map-placeholder p { font-size: 1rem; margin-bottom: .5rem; color: var(--fg); }
.map-placeholder span { font-size: .85rem; }

/* Detail Sidebar */
.detail-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.25rem; }

.agent-contact-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.acc-agent { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.acc-agent img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); }
.acc-agent strong { display: block; font-size: .95rem; font-weight: 600; color: var(--fg); }
.acc-agent span { font-size: .78rem; color: var(--gold); }
.acc-form { display: flex; flex-direction: column; gap: .75rem; }
.acc-form input, .acc-form textarea { font-size: .85rem; padding: .65rem .9rem; }
.acc-form textarea { min-height: 80px; }
.acc-submit {
  width: 100%; justify-content: center;
  padding: .875rem; font-size: .875rem;
}

.detail-price-card {
  background: var(--navy); border-radius: var(--radius-lg); padding: 1.5rem;
  color: white; text-align: center;
}
.dpc-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .5rem; }
.dpc-price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold); margin-bottom: 1.25rem; }
.dpc-btns { display: flex; flex-direction: column; gap: .65rem; }
.dpc-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.dpc-btn.primary { background: var(--gold); color: var(--navy); }
.dpc-btn.primary:hover { background: var(--gold-light); }
.dpc-btn.secondary { border: 1.5px solid rgba(255,255,255,.25); color: white; background: transparent; }
.dpc-btn.secondary:hover { background: rgba(255,255,255,.1); }

/* Map full width */
.full-map { height: 380px; border-radius: 0; border: none; font-size: 1.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.full-map i { font-size: 4rem; margin-bottom: 1rem; }

/* ── 18. ABOUT PAGE ── */
.about-stats-row {
  display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.about-stat { text-align: center; }
.about-stat strong {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 600; color: var(--gold);
}
.about-stat span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(201,168,76,.12); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.3rem; margin-bottom: 1rem;
}
.value-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: .5rem; color: var(--fg); }
.value-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── 19. CONTACT PAGE ── */
.contact-container {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 3rem; align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: box-shadow var(--med) var(--ease);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(201,168,76,.12); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.contact-info-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: .35rem; color: var(--fg); }
.contact-info-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.contact-social-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}
.contact-social-row span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.contact-social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; transition: all var(--fast) var(--ease);
}
.contact-social-row a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); }

.contact-form-wrap {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-xl); padding: 2.5rem;
}
.cf-header { margin-bottom: 2rem; }
.cf-header h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--fg); margin-bottom: .5rem; }
.cf-header h2 em { font-style: italic; color: var(--gold); }
.cf-header p { font-size: .875rem; color: var(--text-muted); }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.cf-group label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

.cf-check { margin-bottom: 1.25rem; }
.cf-check .checkbox-label { font-size: .82rem; color: var(--text-muted); align-items: flex-start; }
.cf-check a { color: var(--gold); }

.cf-submit { width: 100%; justify-content: center; padding: 1rem; font-size: .95rem; }

.cf-success {
  display: none;
  flex-direction: column; align-items: center; text-align: center;
  padding: 2rem; background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.25); border-radius: var(--radius-lg);
  margin-top: 1rem;
}
.cf-success.show { display: flex; }
.cf-success i { font-size: 2.5rem; color: #10B981; margin-bottom: .75rem; }
.cf-success strong { font-size: 1.1rem; color: var(--fg); margin-bottom: .35rem; }
.cf-success p { font-size: .875rem; color: var(--text-muted); }

.visit-form-wrap { max-width: 700px; margin: 0 auto; }
.visit-form {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-xl); padding: 2.5rem;
}

/* ── 20. SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── 21. RESPONSIVE ── */
@media (max-width: 1100px) {
  .listings-container { grid-template-columns: 250px 1fr; }
  .why-container { grid-template-columns: 1fr; gap: 3rem; }
  .why-img-wrap { max-width: 500px; margin: 0 auto; }
  .why-img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .search-form { grid-template-columns: 1fr 1fr; }
  .btn-search { grid-column: 1/-1; }
  .cat-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,180px); }
  .testi-card { min-width: calc(50% - .75rem); }
  .detail-container { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-gallery { grid-template-rows: 280px 160px; }
  .contact-container { grid-template-columns: 1fr; }
  .listings-container { grid-template-columns: 1fr; }
  .filter-sidebar { position: fixed; top: 0; left: -100%; bottom: 0; z-index: 1100; width: 300px; max-height: 100%; border-radius: 0; transition: left var(--med) var(--ease); overflow-y: auto; }
  .filter-sidebar.open { left: 0; box-shadow: var(--shadow-lg); }
  .mobile-filter-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: .25rem; position: fixed; top: 72px; left: 0; right: 0; background: var(--nav-bg); backdrop-filter: blur(20px); padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 999; transition: all var(--med) var(--ease); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .75rem 1rem; border-radius: var(--radius); color: var(--nav-fg) !important; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .section { padding: 4rem 0; }
  .search-form { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .testi-card { min-width: calc(100% - 0px); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); }
  .why-features { grid-template-columns: 1fr; }
  .detail-specs { grid-template-columns: repeat(2,1fr); }
  .amenities-grid { grid-template-columns: repeat(2,1fr); }
  .cf-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

@media (max-width: 480px) {
  :root { --container: 100%; }
  .hero-title { font-size: 2.2rem; }
  .cat-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 160px); }
  .agents-grid { grid-template-columns: 1fr 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .detail-gallery .gallery-thumb { display: none; }
  .detail-specs { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
}
