/* ============================================================
   SAWARIYA PROPERTIES — Premium Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties (Light Theme Default) ---------- */
:root {
  /* Brand Palette */
  --gold: 42, 78%, 55%;
  --gold-light: 42, 85%, 68%;
  --gold-dark: 36, 72%, 42%;
  --gold-glow: 42, 90%, 60%;
  --emerald: 160, 60%, 45%;
  --ruby: 0, 72%, 55%;
  --sapphire: 220, 70%, 55%;

  /* Surfaces — Light */
  --bg-body: 220, 20%, 97%;
  --bg-primary: 0, 0%, 100%;
  --bg-secondary: 220, 18%, 94%;
  --bg-card: 0, 0%, 100%;
  --bg-glass: 0, 0%, 100%, 0.65;
  --bg-glass-border: 0, 0%, 100%, 0.35;

  /* Text */
  --text-primary: 220, 25%, 12%;
  --text-secondary: 220, 12%, 48%;
  --text-muted: 220, 10%, 62%;

  /* Borders */
  --border: 220, 15%, 88%;
  --border-hover: 220, 15%, 78%;

  /* Shadows */
  --shadow-sm: 0 1px 3px hsla(220,20%,10%,0.04), 0 1px 2px hsla(220,20%,10%,0.06);
  --shadow-md: 0 4px 16px hsla(220,20%,10%,0.06), 0 2px 6px hsla(220,20%,10%,0.04);
  --shadow-lg: 0 12px 40px hsla(220,20%,10%,0.1), 0 4px 12px hsla(220,20%,10%,0.06);
  --shadow-xl: 0 20px 60px hsla(220,20%,10%,0.12), 0 8px 20px hsla(220,20%,10%,0.08);
  --shadow-gold: 0 4px 24px hsla(42,80%,50%,0.25);

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
  --nav-height: var(--header-h);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Timing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.3s;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--gold-glow)));
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 1px 10px hsla(var(--gold), 0.5);
}

/* ---------- Hero Floating Particles ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--gold), 0.08) 0%, transparent 70%);
  filter: blur(15px);
  will-change: transform;
}
.particle.p1 {
  width: 280px; height: 280px;
  top: 10%; left: -5%;
  animation: float-slow 20s ease-in-out infinite alternate;
}
.particle.p2 {
  width: 320px; height: 320px;
  bottom: 15%; right: -5%;
  animation: float-slow 24s ease-in-out infinite alternate-reverse;
  background: radial-gradient(circle, hsla(var(--emerald), 0.06) 0%, transparent 70%);
}
.particle.p3 {
  width: 140px; height: 140px;
  top: 45%; right: 40%;
  animation: float-rotate 35s linear infinite;
  border: 1px dashed hsla(var(--gold), 0.18);
  background: transparent;
  filter: none;
}
.particle.p4 {
  width: 220px; height: 220px;
  bottom: 8%; left: 35%;
  animation: float-slow 18s ease-in-out infinite alternate;
  background: radial-gradient(circle, hsla(var(--gold-glow), 0.06) 0%, transparent 70%);
}

@keyframes float-slow {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-35px) scale(1.08) rotate(10deg); }
}
@keyframes float-rotate {
  0% { transform: rotate(0deg) translate(0, 0); }
  50% { transform: rotate(180deg) translate(20px, -20px); }
  100% { transform: rotate(360deg) translate(0, 0); }
}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
  --bg-body: 225, 25%, 8%;
  --bg-primary: 225, 22%, 11%;
  --bg-secondary: 225, 20%, 14%;
  --bg-card: 225, 20%, 13%;
  --bg-glass: 225, 25%, 12%, 0.7;
  --bg-glass-border: 0, 0%, 100%, 0.08;

  --text-primary: 0, 0%, 95%;
  --text-secondary: 220, 10%, 60%;
  --text-muted: 220, 8%, 45%;

  --border: 225, 15%, 20%;
  --border-hover: 225, 15%, 28%;

  --shadow-sm: 0 1px 3px hsla(0,0%,0%,0.2);
  --shadow-md: 0 4px 16px hsla(0,0%,0%,0.25);
  --shadow-lg: 0 12px 40px hsla(0,0%,0%,0.35);
  --shadow-xl: 0 20px 60px hsla(0,0%,0%,0.4);
  --shadow-gold: 0 4px 30px hsla(42,80%,50%,0.15);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent; /* Prevent default Android blue tap highlight */
}

/* Prevent accidental text highlight on quick double-taps on mobile */
a, button, select, input, .filter-tab, .location-card, .wishlist-btn, .hamburger {
  user-select: none;
  -webkit-user-select: none;
}

/* Prevent background page scrolling when interacting with drawers/modals */
.filter-sidebar, .shortlist-drawer, .modal-content {
  overscroll-behavior: contain;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: hsl(var(--bg-body));
  color: hsl(var(--text-primary));
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--text-primary));
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.section-pad { padding: 6rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem auto;
}
.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: hsl(var(--gold-dark));
  background: hsla(var(--gold), 0.12);
  border: 1px solid hsla(var(--gold), 0.2);
  margin-bottom: 1rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(var(--text-primary)), hsl(var(--gold-dark)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: hsl(var(--text-secondary));
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(0,0%,100%,0);
  transition: background var(--duration);
}
.btn:hover::after { background: hsla(0,0%,100%,0.08); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  color: #fff;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: none;
}
.btn-primary:hover::before {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px hsla(42,80%,50%,0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: hsl(var(--bg-card));
  color: hsl(var(--text-primary));
  border: 1px solid hsl(var(--border));
}
.btn-secondary:hover { border-color: hsl(var(--gold)); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  animation: pulse-whatsapp 3s infinite;
}
.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--gold));
  color: hsl(var(--gold));
}
.btn-outline:hover {
  background: hsl(var(--gold));
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--duration) var(--ease-out);
  background: hsla(var(--bg-glass));
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid hsla(var(--bg-glass-border));
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
}
.logo-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}
.logo span { color: hsl(var(--gold-dark)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links a {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.nav-links a:hover {
  color: hsl(var(--gold-dark));
  background: hsla(var(--gold), 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(var(--gold), 0.15);
}
.nav-links a.active {
  color: hsl(var(--gold-dark));
  background: hsla(var(--gold), 0.15);
  box-shadow: inset 0 2px 6px hsla(var(--gold-dark), 0.1);
}
.nav-links a:active {
  transform: scale(0.95);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: hsl(var(--text-secondary));
  background: hsl(var(--bg-secondary));
  transition: all var(--duration);
  position: relative;
}
.icon-btn:hover {
  color: hsl(var(--gold-dark));
  background: hsla(var(--gold), 0.1);
}
.icon-btn .count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: hsl(var(--ruby));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  justify-content: center;
  align-items: center;
  margin-right: -10px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
}
.hamburger:active {
  background: hsla(var(--gold), 0.08);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: hsl(var(--text-primary));
  border-radius: 2px;
  transition: all var(--duration);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--gold),0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: float-blob 15s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--emerald),0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: float-blob 20s ease-in-out infinite reverse;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-content h1 .gold { color: hsl(var(--gold-dark)); }
.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)), hsl(var(--emerald)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content > p {
  font-size: 1.12rem;
  color: hsl(var(--text-secondary));
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid hsl(var(--border));
}
.hero-stats .stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stats .stat p {
  font-size: 0.82rem;
  color: hsl(var(--text-muted));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

/* Hero 3D Showcase */
.hero-showcase {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  animation: float-hero-card 6s ease-in-out infinite;
}
.hero-3d-card {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  box-shadow: var(--shadow-xl);
  will-change: transform;
}
.hero-3d-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-3d-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0,0%,0%,0.65) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.hero-3d-card .card-overlay h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.hero-3d-card .card-overlay p {
  color: hsla(0,0%,100%,0.8);
  font-size: 0.88rem;
}

/* Floating search bar under hero */
.hero-search {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  margin-bottom: 2rem;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: hsla(var(--bg-glass));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--bg-glass-border));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}
.search-bar .search-group {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
}
.search-bar .search-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: hsl(var(--text-muted));
  margin-bottom: 0.2rem;
}
.search-bar .search-group select,
.search-bar .search-group input {
  border: none;
  background: transparent;
  color: hsl(var(--text-primary));
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  width: 100%;
}
.search-bar .search-group select option { background: hsl(var(--bg-card)); }
.search-bar .divider {
  width: 1px;
  height: 36px;
  background: hsl(var(--border));
  flex-shrink: 0;
}
.search-bar .btn-primary {
  padding: 0.85rem 1.8rem;
  flex-shrink: 0;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  opacity: 0;
  transition: opacity var(--duration);
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 25px hsla(var(--gold), 0.12);
  border-color: hsl(var(--gold));
}
.service-card:hover::before { opacity: 1; }

.service-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: hsla(var(--gold), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: hsl(var(--gold-dark));
  margin-bottom: 1.3rem;
  transition: all var(--duration);
}
.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}
.service-card p {
  color: hsl(var(--text-secondary));
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Locations Map Section ---------- */
.locations-section { background: hsl(var(--bg-secondary)); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.location-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.location-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(var(--gold), 0.05), transparent);
  opacity: 0;
  transition: opacity var(--duration);
}
.location-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 25px hsla(var(--gold), 0.15);
  border-color: hsl(var(--gold));
}
.location-card:hover::after { opacity: 1; }
.location-card .loc-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsla(var(--gold), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease-spring);
}
.location-card:hover .loc-icon {
  transform: scale(1.15) rotate(5deg);
  background: hsla(var(--gold), 0.15);
}
.location-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--text-primary));
  position: relative;
  z-index: 1;
}
.location-card p {
  color: hsl(var(--text-secondary));
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.location-card .loc-explore {
  font-size: 0.78rem;
  font-weight: 700;
  color: hsl(var(--gold-dark));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--duration);
  opacity: 0.8;
  z-index: 1;
}
.location-card:hover .loc-explore {
  opacity: 1;
  transform: translateX(3px);
}

/* Animated Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.stat-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: hsl(var(--gold-dark));
}
.stat-card p {
  color: hsl(var(--text-secondary));
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

/* ---------- Properties Section ---------- */
.properties-section { background: hsl(var(--bg-body)); }

.properties-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

/* Sidebar Filters */
.filter-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  height: fit-content;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.filter-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-sidebar h3 .reset-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: hsl(var(--ruby));
  cursor: pointer;
  transition: opacity var(--duration);
}
.filter-sidebar h3 .reset-btn:hover { opacity: 0.7; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: hsl(var(--text-muted));
  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  background: hsl(var(--bg-secondary));
  color: hsl(var(--text-primary));
  font-size: 0.9rem;
  transition: all var(--duration);
  outline: none;
}
.form-input:focus {
  border-color: hsl(var(--gold));
  box-shadow: 0 0 0 3px hsla(var(--gold), 0.12);
}

/* Range Slider */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: hsl(var(--border));
  outline: none;
  margin: 0.6rem 0;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  cursor: pointer;
  box-shadow: 0 2px 8px hsla(42,80%,50%,0.3);
  transition: transform var(--duration);
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.range-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: hsl(var(--text-secondary));
}
.range-label .value {
  color: hsl(var(--gold-dark));
  font-weight: 700;
}

/* Trust Badge */
.trust-badge {
  background: hsla(var(--emerald), 0.08);
  border: 1px solid hsla(var(--emerald), 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.82rem;
  color: hsl(var(--text-secondary));
  line-height: 1.6;
}
.trust-badge strong {
  color: hsl(var(--emerald));
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem;
  background: hsl(var(--bg-secondary));
  border-radius: var(--radius-full);
  border: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
  transition: all var(--duration);
}
.filter-tab:hover { color: hsl(var(--text-primary)); }
.filter-tab.active {
  background: hsl(var(--bg-card));
  color: hsl(var(--gold-dark));
  box-shadow: var(--shadow-sm);
}

/* Property Cards Grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.property-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  perspective: 800px;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(var(--gold), 0.25);
}

.property-card .card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.property-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.property-card:hover .card-img img { transform: scale(1.08); }

.property-card .card-img .premium-tag {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  color: #fff;
}
.property-card .card-img .type-tag {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: hsla(0,0%,0%,0.55);
  backdrop-filter: blur(8px);
  color: #fff;
}

.property-card .card-img .wishlist-btn {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: hsla(0,0%,100%,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  transition: all var(--duration);
  border: none;
  cursor: pointer;
}
.property-card .card-img .wishlist-btn:hover,
.property-card .card-img .wishlist-btn.active {
  color: hsl(var(--ruby));
  transform: scale(1.15);
}
.property-card .card-img .wishlist-btn.active { background: hsla(0,72%,55%,0.12); }

.property-card .card-body { padding: 1.25rem; }
.property-card .card-body .card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
  margin-bottom: 0.5rem;
}
.property-card .card-body .card-location i { color: hsl(var(--gold)); }
.property-card .card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card .card-specs {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 0.75rem;
}
.property-card .card-specs .spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: hsl(var(--text-secondary));
}
.property-card .card-specs .spec i {
  font-size: 0.75rem;
  color: hsl(var(--gold));
}

.property-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.property-card .card-footer .price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: hsl(var(--gold-dark));
}
.property-card .card-footer .view-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: hsla(var(--gold), 0.1);
  color: hsl(var(--gold-dark));
  transition: all var(--duration);
}
.property-card .card-footer .view-btn:hover {
  background: hsl(var(--gold));
  color: #fff;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: hsl(var(--text-muted));
}
.no-results i { font-size: 3rem; margin-bottom: 1rem; display: block; color: hsl(var(--border)); }

/* ---------- Why Us ---------- */
.why-section { background: hsl(var(--bg-secondary)); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: hsla(var(--gold), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: hsl(var(--gold-dark));
  margin: 0 auto 1.2rem auto;
}
.why-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.why-card p {
  color: hsl(var(--text-secondary));
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- EMI Calculator ---------- */
.emi-section { background: hsl(var(--bg-body)); }

.emi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.calc-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.calc-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-card h3 i { color: hsl(var(--gold)); }

.calc-group { margin-bottom: 1.5rem; }
.calc-group:last-child { margin-bottom: 0; }
.calc-group .calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.calc-group .calc-head label {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
}
.calc-group .calc-head .calc-val {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  background: hsla(var(--gold), 0.1);
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--gold-dark));
}

/* EMI Results */
.emi-result {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, hsla(var(--gold), 0.05), hsla(var(--gold-dark), 0.08));
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.emi-result .emi-label {
  font-size: 0.85rem;
  color: hsl(var(--text-secondary));
  margin-bottom: 0.3rem;
}
.emi-result .emi-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: hsl(var(--gold-dark));
}

.emi-breakdown { display: flex; flex-direction: column; gap: 0.8rem; }
.emi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.9rem;
}
.emi-row:last-child { border: none; }
.emi-row span { color: hsl(var(--text-secondary)); }
.emi-row strong { color: hsl(var(--text-primary)); }
.emi-row.total { border-top: 2px solid hsl(var(--border)); padding-top: 1rem; }
.emi-row.total strong { color: hsl(var(--gold-dark)); font-size: 1.1rem; }

/* SVG Doughnut */
.emi-chart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
}
.emi-chart svg { width: 160px; height: 160px; }

/* ---------- Contact ---------- */
.contact-section { background: hsl(var(--bg-secondary)); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  transition: all var(--duration);
}
.contact-link:hover {
  border-color: hsl(var(--gold));
  transform: translateX(4px);
}
.contact-link .cl-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: hsla(var(--gold), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: hsl(var(--gold-dark));
  flex-shrink: 0;
}
.contact-link .cl-text p { font-weight: 600; font-size: 0.95rem; }
.contact-link .cl-text span { font-size: 0.8rem; color: hsl(var(--text-muted)); }

.contact-form {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form h3 { font-size: 1.15rem; margin-bottom: 1.5rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
textarea.form-input { resize: vertical; min-height: 100px; }

/* ---------- Footer ---------- */
.site-footer {
  background: hsl(var(--bg-primary));
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 0 2rem 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.footer-about p {
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
  line-height: 1.7;
}
.footer-social-icons {
  display: flex;
  gap: 0.7rem;
}
.footer-social-icons .icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 0.95rem;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: hsl(var(--text-primary));
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-links-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: hsl(var(--gold));
}
.footer-links-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.footer-links-list a {
  font-size: 0.88rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
  transition: all var(--duration);
}
.footer-links-list a:hover {
  color: hsl(var(--gold-dark));
  transform: translateX(4px);
}
.footer-wa-card {
  background: hsl(var(--bg-secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-wa-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-wa-card h4 i {
  color: #25d366;
}
.footer-wa-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-wa-form .form-input {
  background: hsl(var(--bg-primary));
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}
.footer-wa-form textarea.form-input {
  min-height: 50px;
}
.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: hsl(var(--text-muted));
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Property Detail Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: hsla(0,0%,0%,0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.modal-overlay.open { display: flex; opacity: 1; }

.modal-content {
  background: hsl(var(--bg-card));
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modal-in 0.4s var(--ease-spring);
  position: relative;
}
@keyframes modal-in {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: hsla(0,0%,0%,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  cursor: pointer;
  transition: background var(--duration);
}
.modal-close:hover { background: hsl(var(--ruby)); }

.modal-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-body { padding: 2rem; }
.modal-body .modal-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  margin-bottom: 0.5rem;
}
.modal-body .modal-location i { color: hsl(var(--gold)); }
.modal-body h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.modal-body .modal-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: hsl(var(--gold-dark));
  margin-bottom: 1.5rem;
}

.modal-desc {
  color: hsl(var(--text-secondary));
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.modal-spec-item {
  padding: 1rem;
  background: hsl(var(--bg-secondary));
  border-radius: var(--radius-md);
  text-align: center;
}
.modal-spec-item span {
  font-size: 0.78rem;
  color: hsl(var(--text-muted));
  display: block;
  margin-bottom: 0.3rem;
}
.modal-spec-item strong { font-size: 0.95rem; }

.modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.modal-amenity {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: hsla(var(--gold), 0.08);
  color: hsl(var(--gold-dark));
  border: 1px solid hsla(var(--gold), 0.15);
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ---------- Shortlist Drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: hsla(0,0%,0%,0.45);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.shortlist-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: hsl(var(--bg-card));
  z-index: 1600;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transition: right 0.4s var(--ease-out);
}
.shortlist-drawer.open { right: 0; }

.drawer-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.drawer-head h3 i { color: hsl(var(--ruby)); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: hsl(var(--text-muted));
}
.drawer-empty i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.drawer-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--border));
  align-items: center;
}
.drawer-item img {
  width: 70px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.drawer-item .di-info { flex: 1; }
.drawer-item .di-info h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.drawer-item .di-info p { font-size: 0.8rem; color: hsl(var(--gold-dark)); font-weight: 700; }
.drawer-item .di-remove {
  color: hsl(var(--text-muted));
  font-size: 1rem;
  cursor: pointer;
  transition: color var(--duration);
}
.drawer-item .di-remove:hover { color: hsl(var(--ruby)); }

.drawer-foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.drawer-foot .btn { width: 100%; }

/* ---------- Scroll-to-top FAB ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--duration) var(--ease-out);
  z-index: 900;
  cursor: pointer;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { transform: translateY(-3px) scale(1.08); }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered Grid reveals on scrolling */
.services-grid .fade-up.visible:nth-child(1) { transition-delay: 0.05s; }
.services-grid .fade-up.visible:nth-child(2) { transition-delay: 0.12s; }
.services-grid .fade-up.visible:nth-child(3) { transition-delay: 0.19s; }
.services-grid .fade-up.visible:nth-child(4) { transition-delay: 0.26s; }
.services-grid .fade-up.visible:nth-child(5) { transition-delay: 0.33s; }
.services-grid .fade-up.visible:nth-child(6) { transition-delay: 0.40s; }

.locations-grid .fade-up.visible:nth-child(1) { transition-delay: 0.05s; }
.locations-grid .fade-up.visible:nth-child(2) { transition-delay: 0.12s; }
.locations-grid .fade-up.visible:nth-child(3) { transition-delay: 0.19s; }
.locations-grid .fade-up.visible:nth-child(4) { transition-delay: 0.26s; }
.locations-grid .fade-up.visible:nth-child(5) { transition-delay: 0.33s; }
.locations-grid .fade-up.visible:nth-child(6) { transition-delay: 0.40s; }

.why-grid .fade-up.visible:nth-child(1) { transition-delay: 0.05s; }
.why-grid .fade-up.visible:nth-child(2) { transition-delay: 0.12s; }
.why-grid .fade-up.visible:nth-child(3) { transition-delay: 0.19s; }
.why-grid .fade-up.visible:nth-child(4) { transition-delay: 0.26s; }

/* Micro-interaction bounces */
@keyframes icon-bounce {
  0% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.2) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}
.service-card:hover .icon-wrap i {
  animation: icon-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes emoji-bob {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.1) rotate(4deg); }
}
.location-card:hover .loc-icon {
  animation: emoji-bob 0.6s ease-in-out infinite alternate;
}

/* Property card gold light sweep sheen */
.property-card .card-img::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}
.property-card:hover .card-img::after {
  left: 200%;
  transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes float-hero-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 hsla(42,80%,50%,0.4); }
  50% { box-shadow: 0 0 0 12px hsla(42,80%,50%,0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ---------- Premium Shimmer Badges ---------- */
@keyframes shimmer-gold {
  0% { background-position: -300% center; }
  100% { background-position: 300% center; }
}
@keyframes pulse-verified {
  0%, 100% { box-shadow: 0 0 0 0 hsla(160,60%,45%,0.4); }
  50% { box-shadow: 0 0 0 8px hsla(160,60%,45%,0); }
}

.gold-shimmer-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(
    110deg,
    hsl(var(--gold)) 0%,
    hsl(var(--gold-light)) 25%,
    hsl(var(--gold)) 50%,
    hsl(var(--gold-light)) 75%,
    hsl(var(--gold)) 100%
  );
  background-size: 300% 100%;
  animation: shimmer-gold 3s ease-in-out infinite;
  z-index: 2;
}

.verified-badge {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--emerald)), hsl(160,55%,38%));
  animation: pulse-verified 2.5s ease-in-out infinite;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---------- Share Button on Cards ---------- */
.share-btn {
  position: absolute;
  bottom: 0.8rem;
  right: 3.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: hsla(0,0%,100%,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
  transition: all var(--duration);
  border: none;
  cursor: pointer;
  z-index: 2;
}
.share-btn:hover {
  color: hsl(var(--sapphire));
  transform: scale(1.15);
}
.share-btn:active {
  transform: scale(0.95);
}

/* ---------- Language Toggle Button ---------- */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: hsl(var(--gold-dark));
  background: hsla(var(--gold), 0.1);
  border: 1px solid hsla(var(--gold), 0.2);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
}
.lang-toggle-btn:hover {
  background: hsla(var(--gold), 0.18);
  border-color: hsla(var(--gold), 0.35);
}
.lang-toggle-btn:active {
  transform: scale(0.95);
}
.lang-toggle-btn i {
  font-size: 1rem;
}

/* ---------- EMI Comparative Bar Chart ---------- */
.emi-bars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
}
.emi-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.emi-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.emi-bar-label span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--text-secondary));
}
.emi-bar-label strong {
  color: hsl(var(--text-primary));
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
}
.emi-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: hsl(var(--bg-secondary));
  overflow: hidden;
  position: relative;
}
.emi-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s var(--ease-out);
  position: relative;
}
.emi-bar-fill.principal {
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--gold-light)));
}
.emi-bar-fill.interest {
  background: linear-gradient(90deg, hsl(var(--text-muted)), hsl(220,10%,55%));
}

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}
.toast {
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: toast-in 0.4s var(--ease-spring) forwards;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.toast.success {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
@keyframes toast-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(-10px); }
}

/* ---------- Mobile Filter System Base ---------- */
.mobile-filter-btn {
  display: none;
}
.filter-close-btn {
  display: none;
}
.filter-apply-btn {
  display: none;
}
.filter-overlay {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1700;
  display: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.filter-overlay.open {
  display: block;
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-content > p { margin: 0 auto 2rem auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  
  /* Beautifully center and display the 3D card below hero text on tablets */
  .hero-showcase {
    display: flex;
    justify-content: center;
    margin: 2rem auto 0 auto;
    width: 100%;
    max-width: 440px;
  }
  .hero-3d-card {
    aspect-ratio: 16/10;
    max-width: 100%;
  }

  .search-bar { flex-direction: column; gap: 0.5rem; padding: 1.25rem; }
  .search-bar .divider { display: none; }
  .search-bar .search-group { min-width: 100%; padding: 0.5rem 0; border-bottom: 1px solid hsl(var(--border)); }
  .search-bar .search-group:nth-last-child(2) { border-bottom: none; margin-bottom: 0.5rem; }
  .search-bar .btn-primary { width: 100%; padding: 1rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .properties-layout { grid-template-columns: 1fr; }

  /* Mobile off-canvas filter drawer */
  .filter-sidebar {
    position: fixed;
    top: auto;
    bottom: -100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 1800;
    overflow-y: auto;
    transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -10px 40px hsla(220, 20%, 10%, 0.15);
    background: hsl(var(--bg-card));
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    border: 1px solid hsl(var(--border));
    border-bottom: none;
  }
  .filter-sidebar.open {
    bottom: 0;
  }
  
  .filter-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsl(var(--bg-secondary));
    color: hsl(var(--text-primary));
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--duration);
    z-index: 10;
  }
  .filter-close-btn:hover {
    background: hsl(var(--ruby));
    color: #fff;
  }

  .filter-apply-btn {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: var(--shadow-gold);
    border: none;
  }
  .filter-apply-btn:active {
    transform: scale(0.98);
  }

  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration);
  }
  .mobile-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(42,80%,50%,0.35);
  }
  .mobile-filter-btn:active {
    transform: translateY(0) scale(0.96);
  }
  
  .filter-count-badge {
    background: #fff;
    color: hsl(var(--gold-dark));
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .emi-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Prevent Android Chrome / Safari from auto-zooming on form input focus */
  .form-input, 
  select.form-input, 
  textarea.form-input, 
  .search-bar .search-group select, 
  .search-bar .search-group input {
    font-size: 16px !important;
  }

  /* Make range slider thumbs larger and easier to drag on mobile touch screens */
  .range-slider::-webkit-slider-thumb {
    width: 26px !important;
    height: 26px !important;
    box-shadow: 0 4px 12px hsla(42,80%,50%,0.4) !important;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Mobile Navigation Menu */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: hsla(var(--bg-glass));
    backdrop-filter: blur(25px) saturate(1.5);
    -webkit-backdrop-filter: blur(25px) saturate(1.5);
    padding: 1.5rem;
    border-bottom: 1px solid hsla(var(--bg-glass-border));
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transform: translateY(-15px);
    opacity: 0;
    animation: mobile-nav-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes mobile-nav-in {
    to { transform: translateY(0); opacity: 1; }
  }
  .nav-links.mobile-open a {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  /* Tactile push active state feedback on mobile tap targets */
  a:active, button:active, .location-card:active, .service-card:active {
    transform: scale(0.97) !important;
  }

  /* Make Category Tabs smooth horizontally swipeable on mobile */
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding: 0.4rem;
    margin-bottom: 1.8rem;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    flex: 0 0 auto;
  }

  /* Make locations swipeable carousel on mobile/tablet */
  .locations-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem 1rem 0.25rem;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .locations-grid::-webkit-scrollbar {
    display: none;
  }
  .locations-grid .location-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    margin-bottom: 0;
  }

  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  
  /* Optimize Modal Details on Mobile */
  .modal-specs { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .modal-spec-item { padding: 0.65rem 0.4rem; }
  .modal-spec-item span { font-size: 0.7rem; }
  .modal-spec-item strong { font-size: 0.82rem; }
  .modal-img { height: 200px; }
  .modal-body { padding: 1.25rem; }
  .modal-body h2 { font-size: 1.25rem; }
  .modal-body .modal-price { font-size: 1.45rem; margin-bottom: 1rem; }
  
  .form-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 1.6rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2rem;
  }
  .footer-about {
    align-items: flex-start;
  }
  .footer-links-list {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

@media (max-width: 576px) {
  .site-header .btn-text {
    display: none;
  }
  .site-header .header-enquiry-btn {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
  }
  .site-header .header-enquiry-btn i {
    margin: 0;
    font-size: 0.9rem;
  }
  .nav-wrap {
    padding: 0 1rem;
  }
  .logo {
    font-size: 1.15rem;
    gap: 0.5rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  
  .hero-showcase {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.9rem; }
  .hero-stats { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-stats .stat h3 { font-size: 1.4rem; }
  .property-grid { grid-template-columns: 1fr; }
  
  .modal-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== MULTI-PAGE & LEGAL STYLING ==================== */
.legal-page {
  padding: var(--nav-height) 0 4rem 0;
  max-width: 850px;
  margin: 0 auto;
}
.legal-card {
  background: hsl(var(--bg-primary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}
.legal-card h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: hsl(var(--text-primary));
}
.legal-card .updated-date {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  margin-bottom: 2rem;
  display: block;
}
.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  color: hsl(var(--gold-dark));
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 0.5rem;
}
.legal-card p, .legal-card li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: hsl(var(--text-secondary));
  margin-bottom: 1rem;
}
.legal-card ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

/* About Page styles */
.about-hero {
  padding: calc(var(--nav-height) + 2rem) 0 4rem 0;
  text-align: center;
  background: linear-gradient(180deg, hsla(var(--gold), 0.05) 0%, transparent 100%);
}
.about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
}
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.vm-card {
  background: hsl(var(--bg-primary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration);
}
.vm-card:hover {
  transform: translateY(-5px);
  border-color: hsla(var(--gold), 0.3);
}
.vm-card .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: hsla(var(--gold), 0.1);
  color: hsl(var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.vm-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.team-card {
  background: hsl(var(--bg-primary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration);
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: hsla(var(--gold), 0.3);
  box-shadow: var(--shadow-md);
}
.team-img {
  height: 240px;
  background: hsl(var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: hsl(var(--gold));
  border-bottom: 1px solid hsl(var(--border));
}
.team-info {
  padding: 1.5rem;
}
.team-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.team-info p {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  margin-bottom: 1rem;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

/* Contact Page styles */
.contact-hero {
  padding: calc(var(--nav-height) + 2rem) 0 3rem 0;
  text-align: center;
}
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ Accordion styles */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}
.faq-item {
  background: hsl(var(--bg-primary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration);
}
.faq-item.active {
  border-color: hsla(var(--gold), 0.4);
}
.faq-btn {
  width: 100%;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
  cursor: pointer;
  transition: all var(--duration);
}
.faq-btn:hover {
  background: hsla(var(--gold), 0.03);
}
.faq-btn i {
  font-size: 0.9rem;
  color: hsl(var(--gold));
  transition: transform var(--duration);
}
.faq-item.active .faq-btn i {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}
.faq-content p {
  padding: 0 1.5rem 1.2rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: hsl(var(--text-secondary));
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .vision-mission {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .legal-card {
    padding: 2rem 1.5rem;
  }
}

/* ---------- Typewriter Styling ---------- */
.typewriter-cursor {
  font-weight: 300;
  color: hsl(var(--gold));
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  from, to { color: transparent; }
  50% { color: hsl(var(--gold)); }
}

/* ============================================================
