/* ================================
   The Shape Realtor - Main Stylesheet
   ================================ */

:root {
  /* === Option C: Midnight Navy + Refined Gold — Luxury Real Estate === */
  --navy: #1a1a2e;            /* midnight (per spec) */
  --navy-dark: #0f0f1e;       /* deeper midnight */
  --navy-light: #16213e;      /* lighter midnight (per spec) */
  --gold: #C9A96E;            /* refined champagne gold */
  --gold-light: #E8C77E;      /* warm highlight */
  --gold-dark: #A88B4F;       /* deep gold */
  --coral: #C9A96E;           /* aliased to refined gold */
  --coral-dark: #A88B4F;
  --cream: #FAFAFA;           /* off-white, not stark */
  --white: #FFFFFF;

  /* Varied section backgrounds */
  --bg-sand: #F8F4EC;         /* warm parchment */
  --bg-sage: #F2F4F8;         /* cool whisper */
  --bg-ivory: #FAFAFA;        /* off-white */
  --bg-charcoal: #1a1a2e;     /* midnight (matches primary) */
  --bg-charcoal-light: #16213e;
  --gray-50: #F8F8FA;
  --gray-100: #EDEDF1;
  --gray-200: #D4D4DC;
  --gray-400: #88889A;
  --gray-600: #4A4A5A;
  --gray-800: #1F1F2E;
  --black: #0A0A0A;
  /* Shadows tinted with midnight */
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06), 0 4px 16px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 4px 14px rgba(26, 26, 46, 0.10), 0 18px 44px rgba(26, 26, 46, 0.10);
  --shadow-lg: 0 10px 28px rgba(26, 26, 46, 0.12), 0 32px 84px rgba(26, 26, 46, 0.18);
  --shadow-xl: 0 40px 120px rgba(26, 26, 46, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --container: 1320px;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================================
   Reset & Base
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -0.03em; font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 60; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; font-weight: 600; font-variation-settings: "opsz" 144, "SOFT" 50; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; font-variation-settings: "opsz" 72, "SOFT" 40; }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "opsz" 36, "SOFT" 30; }

p {
  color: var(--gray-600);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-transform: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cream {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-cream:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ================================
   Section Headings
   ================================ */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.section-heading .eyebrow::before,
.section-heading .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.section-heading h2 {
  margin-bottom: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================================
   Navbar
   ================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  width: calc(100% - 40px);
  max-width: var(--container);
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 40px rgba(15, 15, 30, 0.15);
}

.navbar .container {
  padding: 0 24px;
  max-width: 100%;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.92);
  top: 12px;
  box-shadow: 0 12px 48px rgba(15, 15, 30, 0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.logo img {
  height: 44px;
  width: auto;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .main {
  font-size: 20px;
  color: var(--white);
}

.logo-text .sub {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin-left: auto;
  padding-right: 2%;
  white-space: nowrap;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--gold);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-phone i {
  color: var(--gold);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ================================
   Hero Section
   ================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--navy);
  overflow: hidden;
  padding: 100px 0 60px;
}

/* Cinematic hero — full-bleed luxury image + dark overlay for legible text */
.hero-bg {
  position: absolute;
  inset: 0;
  background: #0E1338;
  z-index: 1;
}

.hero-bg::before {
  /* Dark gradient overlay ensures text contrast on top of the hero image. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(15, 15, 30, 0.96) 0%,
      rgba(15, 15, 30, 0.86) 45%,
      rgba(15, 15, 30, 0.72) 80%,
      rgba(15, 15, 30, 0.82) 100%),
    linear-gradient(180deg,
      rgba(15, 15, 30, 0.65) 0%,
      rgba(15, 15, 30, 0.30) 35%,
      rgba(15, 15, 30, 0.85) 100%);
}

.hero-bg::after {
  /* Subtle gold warmth in top-left corner for brand color */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(201, 169, 110, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 85%, rgba(26, 26, 46, 0.25) 0%, transparent 55%);
}

.hero-image {
  /* Hero banner — local self-hosted image (44.jpg from bg/ folder) */
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url('/assets/images/bg/hero.jpg') center/cover no-repeat,
    #1a1a2e;
  z-index: 2;
  opacity: 1;
  mix-blend-mode: normal;
  filter: brightness(0.55) saturate(1.05) contrast(1.10);
  /* Ken Burns — slow zoom/pan loop (paused if user prefers-reduced-motion) */
  animation: hero-ken-burns 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-ken-burns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.10) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
  max-width: 900px;
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #FFC857;
  font-weight: 600;
  margin-bottom: 22px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 220, 142, 0.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.hero-text .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.85);
}

.hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.7),
    0 0 1px rgba(0, 0, 0, 0.5);
}

.hero h1 .accent {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
  position: relative;
  display: inline-block;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.75;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
  font-weight: 400;
  text-shadow:
    0 1px 22px rgba(0, 0, 0, 0.85),
    0 1px 5px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.hero .btn-outline:hover {
  background: #FFFFFF;
  color: var(--navy-dark);
  border-color: #FFFFFF;
}

.hero .btn-cream {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.35);
}

.hero .btn-cream:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  box-shadow: 0 10px 32px rgba(201, 169, 110, 0.45);
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding: 20px 28px;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-stat .label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 8px;
  font-weight: 500;
}

/* ================================
   Enquiry Section
   ================================ */
.enquiry {
  position: relative;
  color: var(--navy-dark);
  overflow: hidden;
  background: linear-gradient(135deg, #FAFAFA 0%, #F8F4EC 50%, #F0E8D5 100%);
}

.enquiry-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(26, 26, 46, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(201, 169, 110, 0.4) 0%, transparent 55%);
}

.enquiry-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.enquiry-info .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 24px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 46, 0.15);
  border-radius: var(--radius-pill);
}

.enquiry-info .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(26, 26, 46, 0.4);
}

.enquiry-info h2 {
  color: var(--navy-dark);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.enquiry-info h2 .accent {
  color: var(--navy);
  font-style: italic;
  font-weight: 600;
}

.enquiry-info > p {
  color: rgba(42, 41, 39, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
  font-weight: 400;
}

.enquiry-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.enquiry-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(42, 41, 39, 0.88);
  font-size: 15px;
  font-weight: 400;
}

.enquiry-benefits li i {
  color: var(--navy);
  margin-top: 3px;
  flex-shrink: 0;
}

.enquiry-contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.enquiry-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: var(--radius-md);
  color: var(--navy-dark);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  flex: 1;
  min-width: 220px;
}

.enquiry-contact-item:hover {
  background: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 26, 46, 0.08);
}

.enquiry-contact-item i {
  color: var(--navy);
  font-size: 22px;
}

.enquiry-contact-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.enquiry-contact-item span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 500;
}

.enquiry-contact-item strong {
  font-size: 15px;
  color: var(--navy-dark);
  font-weight: 600;
  margin-top: 3px;
}

.enquiry-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 24px 60px rgba(26, 26, 46, 0.15), 0 4px 12px rgba(26, 26, 46, 0.06);
}

.enquiry-card h3 {
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.enquiry-card p {
  color: rgba(42, 41, 39, 0.7);
  margin-bottom: 28px;
  font-size: 14px;
}

.enquiry-note {
  text-align: center;
  font-size: 12px;
  color: rgba(42, 41, 39, 0.6) !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.enquiry-note i {
  color: #25D366;
}

/* ================================
   Search Form (Hero)
   ================================ */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.search-tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(26, 26, 46, 0.2);
  color: rgba(26, 26, 46, 0.75);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.search-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(42, 41, 39, 0.65);
  font-weight: 600;
}

.search-field select,
.search-field input {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 46, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--navy-dark);
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-field input::placeholder {
  color: rgba(42, 41, 39, 0.4);
}

.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--navy);
  background: rgba(255, 255, 255, 0.95);
}

.search-field select option {
  background: var(--white);
  color: var(--navy-dark);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.search-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #FFFFFF;
  border-color: var(--coral-dark);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35);
}

.search-submit:hover {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--coral) 100%);
  color: #FFFFFF;
  border-color: var(--coral-dark);
  box-shadow: 0 10px 28px rgba(201, 169, 110, 0.45);
}

/* ================================
   Services / Property Types
   ================================ */
.services {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7EE 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 26, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* === Redesigned Service Cards: Buy / Sell / Commercial === */
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #FFFFFF;
  padding: 36px 28px 28px;
  border-radius: 20px;
  text-align: left;
  border: 1px solid rgba(26, 26, 46, 0.08);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  min-height: 280px;
}

/* Animated gradient backdrop — slides in on hover, themed per card */
.service-card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* Theme-specific gradient backgrounds */
/* All themes use the same midnight gradient for consistent luxury feel.
   The gold accent is applied to icons, underlines, and arrows — not the whole card. */
.service-card[data-theme] .service-card-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Statement-style cards (no CTA link) — fill bottom space evenly */
.service-card--static {
  cursor: default;
}
.service-card--static p {
  margin-bottom: 0;
}

/* Hover: card lifts, gradient backdrop appears */
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(26, 26, 46, 0.25);
  border-color: transparent;
}

.service-card:hover .service-card-bg {
  opacity: 1;
  transform: scale(1);
}

/* Big italic background numeral */
.service-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: opacity 0.5s ease, color 0.5s ease, transform 0.6s ease;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.service-card:hover .service-num {
  opacity: 0.18;
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Icon — circular, brand-colored, flips theme on hover */
.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 22px 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.08) 0%, rgba(26, 26, 46, 0.14) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 22px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card[data-theme="sell"] .service-icon {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.12) 0%, rgba(201, 169, 110, 0.22) 100%);
  color: var(--gold-dark);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Title */
.service-card h4 {
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  position: relative;
  transition: color 0.4s ease;
}

.service-card:hover h4 {
  color: #FFFFFF;
}

/* Subtle gold accent under title — reveals on hover */
.service-card h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
  border-radius: 2px;
  transition: width 0.5s ease, background 0.4s ease;
}

.service-card:hover h4::after {
  width: 56px;
  background: var(--gold-light);
}

.service-card p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
  transition: color 0.4s ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.88);
}

/* CTA link with sliding arrow */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.4s ease, gap 0.4s ease;
  margin-top: auto;
}

.service-link i {
  font-size: 11px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-link {
  color: var(--gold-light);
  gap: 14px;
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* ================================
   Featured Properties
   ================================ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(26, 26, 46, 0.04);
}

.property-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.property-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #16213e 0%, #0f0f1e 100%);
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.property-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 30, 0.4) 100%);
  opacity: 0;
  transition: var(--transition);
}

.property-card:hover .property-image::after { opacity: 1; }

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.property-badge.rent {
  background: var(--navy);
  color: var(--white);
}

.property-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
  transition: var(--transition);
  font-size: 15px;
}

.property-fav:hover {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.1);
}

.property-details {
  padding: 20px 22px 18px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 10px;
  font-weight: 500;
}

.property-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.property-title a:hover {
  color: var(--navy);
}

.property-features {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 14px;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}

.property-feature i {
  color: var(--navy);
  font-size: 14px;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.property-price span {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 400;
  font-family: var(--font-body);
  margin-left: 3px;
  letter-spacing: 0;
}

.property-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gray-50);
  transition: var(--transition);
}

.property-link:hover {
  background: var(--navy);
  color: var(--white);
  gap: 10px;
}

/* ================================
   Why Choose Us
   ================================ */
.why-choose {
  background:
    linear-gradient(135deg, rgba(15, 15, 30, 0.92) 0%, rgba(26, 26, 46, 0.88) 50%, rgba(15, 15, 30, 0.94) 100%),
    url('/assets/images/banners/about.avif') center/cover fixed;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
}

.why-choose h2 {
  color: var(--white);
}

.why-choose .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}

.why-card {
  padding: 32px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  bottom: -80%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(201, 169, 110, 0.06);
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-8px);
}

.why-card:hover::before {
  bottom: -30%;
}

.why-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  font-style: italic;
  position: relative;
}

.why-card h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  position: relative;
}

.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.6;
  position: relative;
}

/* ================================
   Stats
   ================================ */
.stats {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F4FF 100%);
  color: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(26, 26, 46, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 22px 18px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item .label {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 16px;
  font-weight: 600;
}

/* ================================
   Testimonials
   ================================ */
.testimonials {
  background: linear-gradient(135deg, #E5EDE8 0%, #D9E4DD 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(26, 26, 46, 0.08) 0%, transparent 70%);
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.2) 0%, transparent 70%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}

.testimonial-card {
  background: var(--white);
  padding: 44px 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(26, 26, 46, 0.06);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: transparent;
}

.testimonial-quote {
  color: var(--gold);
  font-size: clamp(3rem, 8vw, 80px);
  font-family: var(--font-display);
  line-height: 0.5;
  margin-bottom: 20px;
  font-weight: 700;
  font-style: italic;
}

.testimonial-text {
  color: var(--gray-800);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.author-info .name {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}

.author-info .role {
  color: var(--gray-400);
  font-size: 12px;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  color: #D4A85F;
  font-size: 14px;
  margin-bottom: 12px;
}

/* ================================
   CTA Section
   ================================ */
.cta {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(26, 26, 46, 0.04) 0%, transparent 60%),
    linear-gradient(135deg, #FAFAFA 0%, #F2F4F8 100%);
  color: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(201, 169, 110, 0.10) 0%, transparent 55%);
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 26, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 46, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta h2 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}

.cta p {
  color: rgba(26, 26, 46, 0.65);
  margin-bottom: 36px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA buttons: light-bg version — navy fill + navy outline */
.cta .btn-cream {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.cta .btn-cream:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}

.cta .btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(26, 26, 46, 0.35);
}

.cta .btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ================================
   Footer
   ================================ */
.footer {
  background: var(--bg-charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-about .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-about .logo img {
  background: transparent;
  height: 64px;
  width: auto;
  max-width: 100%;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.footer h5 {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  font-weight: 400;
  transition: var(--transition-fast);
}

.footer ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 400;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 500;
}

.footer .logo {
  color: #FFFFFF;
}

/* ================================
   Page Banner (for inner pages)
   ================================ */
.page-banner {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #F6F9FC 0%, #EDF1F5 100%);
  color: var(--navy-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(201, 169, 110, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(26, 26, 46, 0.08) 0%, transparent 55%);
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 26, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 46, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--navy-dark);
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 24px;
  position: relative;
  font-weight: 500;
}

.page-banner .breadcrumb {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(42, 41, 39, 0.7);
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 26, 46, 0.12);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.page-banner .breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.page-banner .breadcrumb .sep {
  color: rgba(42, 41, 39, 0.3);
}

/* ================================
   About Page
   ================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-tag {
  position: absolute;
  bottom: 30px;
  left: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-image-tag .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-image-tag .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.about-text .eyebrow {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--navy);
  font-size: 14px;
}

.about-feature i {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================================
   Properties Page - Filters
   ================================ */
.filter-bar {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: -80px;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
  border: 1px solid rgba(26, 26, 46, 0.06);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.filter-field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.filter-field select,
.filter-field input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-field select:focus,
.filter-field input:focus {
  outline: none;
  border-color: var(--gold);
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-info .count {
  color: var(--gray-600);
  font-size: 14px;
}

.results-info .count strong {
  color: var(--navy);
  font-weight: 700;
}

.sort-dropdown {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
}

/* ================================
   Contact Page
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-info-card {
  background:
    linear-gradient(135deg, rgba(15, 15, 30, 0.93) 0%, rgba(26, 26, 46, 0.9) 100%),
    url('/assets/images/banners/contact.jpg') center/cover;
  color: var(--white);
  padding: 48px 36px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
}

.contact-info-card h3 {
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 14px;
  position: relative;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  position: relative;
}

.contact-info-items {
  position: relative;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 0;
}

.contact-form-wrap {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.contact-form-wrap > p {
  color: var(--gray-600);
  margin-bottom: 32px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--gray-50);
  color: var(--navy);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 14px;
}

.map-wrap {
  margin-top: 80px;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================
   Floating social buttons (Instagram + WhatsApp stack)
   ================================ */
.floating-socials {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  color: var(--white);
}

.whatsapp-float {
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.instagram-float {
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 45%, #F77737 75%, #FCAF45 100%);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
}

.instagram-float:hover {
  box-shadow: 0 12px 32px rgba(225, 48, 108, 0.45);
}

/* ================================
   Responsive
   ================================ */

/* Laptops < 1280px — step properties grid 4 → 3 cols for breathing room */
@media (max-width: 1280px) {
  .properties-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet / laptop intermediate — keep nav single-line by tightening gap + font */
@media (max-width: 1100px) {
  .nav-menu { gap: 16px; }
  .nav-menu a { font-size: 13px; }
  .navbar { padding: 14px 0; }
}

@media (max-width: 1024px) {
  .section { padding: 70px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 24px; }
  .enquiry-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .localities-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-row { gap: 36px; }
  .promise-card { padding: 48px 36px; }
  .flagship-card { grid-template-columns: 1fr; }
  .flagship-image { min-height: 240px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .commercial-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: 1fr; gap: 12px; }
  .hiw-arrow { transform: rotate(90deg); margin: 0 auto; }
  .testimonial-card { flex: 0 0 calc(50% - 11px); }
  .founders-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .localities-grid { grid-template-columns: 1fr; gap: 12px; }
  .partners-row { gap: 24px; }
  .partner-logo { font-size: 0.95rem; padding: 8px 12px; }
  .promise-card { padding: 36px 22px; border-radius: 18px; }
  .categories-grid { grid-template-columns: 1fr; }
  .commercial-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { flex: 0 0 88%; }
  .flagship-body { padding: 26px 22px; }
  .flagship-body h3 { font-size: 1.4rem; }
  .nav-submenu {
    position: static;
    box-shadow: none;
    margin: 4px 0 8px 16px;
    padding: 4px 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-submenu a { padding: 8px 12px; font-size: 13px; }
  .nav-caret { display: none; }
  .nav-menu {
    position: fixed;
    top: 84px;                /* clear the floating navbar (~72px + 12px offset) */
    left: 12px;
    right: 12px;
    margin: 0;                /* cancel desktop margin-left: auto */
    padding: 20px 24px;
    padding-right: 24px;      /* cancel desktop padding-right: 10% */
    background: var(--navy);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    transform: translateY(-160%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
    box-shadow: 0 20px 50px rgba(15, 15, 30, 0.3);
    z-index: 1001;
  }
  .nav-menu li { list-style: none; }
  .nav-menu a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
  }
  .nav-menu a:hover,
  .nav-menu a.active {
    background: rgba(201, 169, 110, 0.15);
    color: var(--gold);
  }
  .nav-menu a.active::after { display: none; }     /* hide desktop underline */
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-phone { display: none; }
  .hamburger { display: block; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .enquiry-card { padding: 32px 24px; }
  .enquiry-contact { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .filter-grid { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .about-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ==============================================================
   Admin Panel
   ============================================================== */
.admin-body {
  background: #F4F6F8;
  min-height: 100vh;
}

/* ---------- Login Screen ---------- */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 40px 80px rgba(15, 15, 30, 0.3);
}

.admin-login-header {
  text-align: center;
  margin-bottom: 36px;
}

.admin-login-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
}

.admin-login-header h1 {
  font-size: 1.75rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.admin-login-header p {
  color: var(--gray-400);
  font-size: 14px;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-password-wrap {
  position: relative;
}

.admin-password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 6px;
  font-size: 14px;
}

.admin-password-toggle:hover {
  color: var(--navy);
}

.admin-login-error {
  color: #c0392b;
  font-size: 13px;
  min-height: 18px;
  text-align: center;
  font-weight: 500;
}

.admin-login-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.admin-login-back {
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

.admin-login-back:hover {
  color: var(--navy);
}

/* ---------- Admin Panel ---------- */
.admin-panel {
  min-height: 100vh;
}

.admin-header {
  background: var(--navy-dark);
  color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(15, 15, 30, 0.2);
}

.admin-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-brand img {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
}

.admin-brand h1 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.admin-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 2px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  font-family: inherit;
}

.admin-btn-ghost:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: rgba(201, 169, 110, 0.4);
  color: #fff;
}

.admin-section .admin-btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}

.admin-section .admin-btn-ghost:hover {
  background: var(--gray-50);
  color: var(--navy);
  border-color: var(--navy);
}

.admin-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #c0392b;
  color: #fff;
  border: 1px solid #c0392b;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-btn-danger:hover {
  background: #a93226;
  border-color: #a93226;
}

.admin-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.admin-section {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
  gap: 12px;
}

.admin-section-header h2 {
  color: var(--navy-dark);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.admin-section-header h2 i {
  color: var(--navy);
}

.admin-count {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 4px;
}

/* ---------- Form ---------- */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-hint {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 6px;
}

.admin-field input[type="text"],
.admin-field input[type="password"],
.admin-field input[type="number"],
.admin-field input[type="email"],
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--navy-dark);
  transition: var(--transition-fast);
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.admin-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

/* ---------- Photo Upload ---------- */
.admin-photo-upload input[type="file"] {
  display: none;
}

.admin-photo-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  border: 2px dashed var(--gray-200);
  border-radius: 12px;
  background: #FAFBFC;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 8px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.admin-photo-dropzone:hover {
  border-color: var(--navy);
  background: rgba(26, 26, 46, 0.03);
}

.admin-photo-dropzone i {
  font-size: 32px;
  color: var(--navy);
}

.admin-photo-dropzone span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
}

.admin-photo-dropzone small {
  font-size: 12px;
  color: var(--gray-400);
}

.admin-photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.admin-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition-fast);
}

.admin-photo-remove:hover {
  background: #c0392b;
  transform: scale(1.1);
}

.admin-photo-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
}

/* ---------- Property List ---------- */
.admin-property-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-prop-row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.admin-prop-row:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.06);
}

.admin-prop-thumb {
  position: relative;
  width: 110px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-100);
}

.admin-prop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-prop-photo-count {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.admin-prop-info h3 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin: 0 0 6px;
  font-weight: 600;
}

.admin-prop-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-400);
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.admin-prop-meta i {
  color: var(--navy);
  margin-right: 4px;
}

.admin-prop-specs {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--gray-600);
  flex-wrap: wrap;
}

.admin-prop-specs i {
  color: var(--navy);
  margin-right: 3px;
}

.admin-prop-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.admin-prop-actions {
  display: flex;
  gap: 6px;
}

.admin-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  font-size: 13px;
}

.admin-icon-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.admin-icon-btn-danger:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

.admin-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.admin-empty-state i {
  font-size: 48px;
  color: var(--gray-200);
  margin-bottom: 16px;
  display: block;
}

.admin-empty-state p {
  font-size: 14px;
  color: var(--gray-400);
}

/* ---------- Admin Responsive ---------- */
@media (max-width: 768px) {
  .admin-section { padding: 20px; }
  .admin-header-actions { width: 100%; }
  .admin-header-actions .admin-btn-ghost,
  .admin-header-actions .admin-btn-danger { flex: 1; justify-content: center; }
  .admin-prop-row {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
  }
  .admin-prop-price { grid-column: 2; justify-self: start; }
  .admin-prop-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-prop-thumb { width: 90px; height: 70px; }
}

/* ==============================================================
   Property Detail Page
   ============================================================== */
.property-detail {
  padding: 40px 0 120px;
}

.detail-loading,
.detail-not-found {
  text-align: center;
  padding: 80px 20px;
}

.detail-loading i {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 16px;
}

.detail-loading p,
.detail-not-found p {
  color: var(--gray-400);
  font-size: 15px;
}

.detail-not-found i {
  font-size: 54px;
  color: var(--gray-200);
  margin-bottom: 20px;
}

.detail-not-found h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--navy-dark);
}

.detail-not-found .btn {
  margin-top: 24px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  flex-wrap: wrap;
}

.detail-breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.detail-breadcrumb a:hover {
  color: var(--navy-dark);
}

.detail-breadcrumb .sep {
  color: var(--gray-200);
}

.detail-header {
  margin-bottom: 32px;
}

.detail-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.detail-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.detail-type {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  font-weight: 600;
}

.detail-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--navy-dark);
  margin-bottom: 14px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 500;
}

.detail-location i {
  color: var(--navy);
}

.detail-price-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 20px 28px;
  border-radius: 14px;
  text-align: right;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.2);
}

.detail-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

/* ---------- Gallery ---------- */
.detail-gallery {
  margin-bottom: 48px;
}

.detail-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 12px;
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.15);
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.detail-gallery-nav:hover {
  background: var(--navy);
  color: #fff;
}

.detail-gallery-prev { left: 16px; }
.detail-gallery-next { right: 16px; }

.detail-gallery-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.detail-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.detail-gallery-thumbs img:hover,
.detail-gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--navy);
}

/* ---------- Detail Grid ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.detail-section {
  margin-bottom: 40px;
}

.detail-section h2 {
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.detail-feature {
  padding: 24px 20px;
  background: var(--bg-ivory, #FEFDF9);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  text-align: center;
  transition: var(--transition-fast);
}

.detail-feature:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.detail-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 18px;
}

.detail-feature-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1;
}

.detail-feature-label {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

#detail-description {
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 15px;
  white-space: pre-line;
}

/* ---------- Sidebar Contact Card ---------- */
.detail-sidebar {
  position: sticky;
  top: 110px;
}

.detail-contact-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.08);
}

.detail-contact-card h3 {
  color: var(--navy-dark);
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-contact-card p {
  color: var(--gray-600);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.detail-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.detail-cta-outline {
  color: var(--navy) !important;
  border-color: var(--gray-200) !important;
}

.detail-cta-outline:hover {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}

.detail-contact-meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.detail-contact-meta i {
  color: var(--navy);
  margin-right: 8px;
}

/* ---------- Photo count badge on cards ---------- */
.property-photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  z-index: 2;
}

.property-image-link {
  display: block;
  position: relative;
}

.property-badge.sold {
  background: #7A7A7A;
  color: #fff;
}

.property-badge.featured {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- Detail Responsive ---------- */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-sidebar { position: static; }
}

@media (max-width: 768px) {
  .detail-header-top { flex-direction: column; align-items: stretch; gap: 20px; }
  .detail-price-box { text-align: center; min-width: 0; }
  .detail-gallery-nav { width: 38px; height: 38px; font-size: 13px; }
  .detail-contact-card { padding: 24px; }
}

/* ==============================================================
   Admin — form sections, chips, configs, highlights
   ============================================================== */
.admin-form-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-form-group-title i { color: var(--navy); }

.admin-inline-btn {
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: normal;
  text-transform: none;
}

.admin-inline-btn:hover { background: var(--navy-dark); }

.admin-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.admin-checkbox-label input { margin: 0; }

/* Chips for amenities/facilities */
.admin-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.admin-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 13px;
  color: var(--gray-600);
}

.admin-chip:hover {
  border-color: var(--navy);
  background: #FAFBFC;
}

.admin-chip input {
  display: none;
}

.admin-chip i {
  width: 22px;
  text-align: center;
  color: var(--gray-400);
}

.admin-chip:has(input:checked) {
  border-color: var(--navy);
  background: rgba(26, 26, 46, 0.06);
  color: var(--navy-dark);
  font-weight: 500;
}

.admin-chip:has(input:checked) i { color: var(--navy); }

/* Pricing config rows */
.admin-configs-list { display: flex; flex-direction: column; gap: 10px; }

.admin-config-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr 0.6fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: #FAFBFC;
}

.admin-config-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--navy-dark);
  background: #fff;
}

.admin-config-row input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15,93,90,0.08);
}

.cfg-remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-400);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.cfg-remove:hover {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

/* Highlights list */
.admin-highlights-list { display: flex; flex-direction: column; gap: 10px; }

.admin-highlight-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.admin-highlight-row input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  color: var(--navy-dark);
  background: #fff;
}

.admin-highlight-row input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15,93,90,0.08);
}

@media (max-width: 768px) {
  .admin-config-row { grid-template-columns: 1fr 1fr; }
  .admin-config-row .cfg-remove { grid-column: 1 / -1; width: 100%; }
}

/* ==============================================================
   Admin — Enquiries list
   ============================================================== */
.admin-enquiry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-enquiry-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  background: #fff;
  transition: var(--transition-fast);
}

.admin-enquiry-row.unread {
  border-left: 4px solid #c0392b;
  background: #FFF8F7;
}

.admin-enquiry-row:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.06);
}

.admin-enquiry-main { min-width: 0; }

.admin-enquiry-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.admin-enquiry-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.admin-enquiry-badge {
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.admin-enquiry-source {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 2px 8px;
  background: var(--gray-50);
  border-radius: 6px;
}

.admin-enquiry-date {
  font-size: 12px;
  color: var(--gray-400);
  margin-left: auto;
}

.admin-enquiry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.admin-enquiry-meta i {
  color: var(--navy);
  margin-right: 4px;
}

.admin-enquiry-meta a {
  color: var(--navy);
  font-weight: 500;
}

.admin-enquiry-meta a:hover { text-decoration: underline; }

.admin-enquiry-msg {
  background: #F7F9FC;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray-800);
  white-space: pre-line;
  line-height: 1.55;
  margin-top: 4px;
}

.admin-enquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
}

.admin-enquiry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.admin-enquiry-cta.primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.admin-enquiry-cta.primary:hover {
  background: var(--navy-dark);
}

.admin-enquiry-cta.whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.admin-enquiry-cta.whatsapp:hover { background: #1DA851; }

.admin-enquiry-cta.ghost {
  background: #fff;
  color: var(--gray-600);
  border-color: var(--gray-200);
}

.admin-enquiry-cta.ghost:hover {
  background: var(--gray-50);
  color: var(--navy);
}

@media (max-width: 768px) {
  .admin-enquiry-row { grid-template-columns: 1fr; }
  .admin-enquiry-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ==============================================================
   Property Detail — extended sections (building details, amenities, etc.)
   ============================================================== */
.detail-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-title-row h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--navy-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-chip-verified {
  background: rgba(26, 26, 46, 0.1);
  color: var(--navy);
}

.detail-chip-construction {
  background: rgba(40, 167, 69, 0.1);
  color: #218838;
}

.detail-subtitle {
  color: var(--gray-600);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.detail-meta-row strong { color: var(--navy-dark); margin-left: 4px; }

.detail-brochure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
}

.detail-brochure:hover {
  background: var(--navy);
  color: #fff;
}

/* Pricing & Area cards */
.detail-pricing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-pricing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  padding: 20px 24px;
  background: #F7F9FC;
  border-left: 4px solid var(--navy);
  border-radius: 10px;
}

.detail-pricing-card h4 {
  grid-column: 1 / -1;
  font-size: 1rem;
  color: var(--navy-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-pricing-card h4 i { color: var(--navy); }

.detail-pricing-label {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.detail-pricing-value {
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 15px;
}

/* Highlights chips (green pills) */
.detail-highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-highlight-chip {
  background: #20B2AA;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

/* Amenities / Facilities grid */
.detail-amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.detail-amenity-item {
  padding: 20px 18px;
  background: #F7F9FC;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-fast);
}

.detail-amenity-item:hover {
  background: rgba(26, 26, 46, 0.05);
  transform: translateY(-2px);
}

.detail-amenity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--navy);
  font-size: 15px;
}

.detail-amenity-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-dark);
}

/* Building details + Overview tables */
.detail-kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.detail-kv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: baseline;
}

.detail-kv-label {
  color: var(--gray-400);
  font-size: 13px;
}

.detail-kv-value {
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 14px;
}

.detail-overview-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

.detail-overview-item i {
  font-size: 22px;
  color: var(--navy);
}

.detail-overview-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-overview-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
}

@media (max-width: 768px) {
  .detail-kv-grid { grid-template-columns: 1fr; }
  .detail-pricing-card { grid-template-columns: 1fr; }
}

/* ==============================================================
   Admin — shared header nav (Dashboard / Properties / Enquiries)
   ============================================================== */
.admin-brand {
  text-decoration: none;
  color: inherit;
}

.admin-brand:hover { color: inherit; }

.admin-nav {
  display: flex;
  gap: 6px;
  margin: 0 auto;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.admin-nav-link:hover {
  background: rgba(201, 169, 110, 0.12);
  color: #fff;
}

.admin-nav-link.active {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
}

.admin-nav-badge {
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 2px;
  min-width: 18px;
  text-align: center;
}

.admin-nav-link.active .admin-nav-badge { background: var(--navy-dark); }

@media (max-width: 900px) {
  .admin-nav { margin: 12px 0; }
  .admin-header-inner { flex-wrap: wrap; }
}

/* ==============================================================
   Admin — Dashboard
   ============================================================== */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.admin-dashboard-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 24px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.admin-dashboard-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--navy);
  transition: var(--transition-fast);
}

.admin-dashboard-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.12);
  color: inherit;
}

.admin-dashboard-card:hover::before { width: 6px; }

.dashboard-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.admin-dashboard-card.card-navy .dashboard-card-icon { background: var(--navy); }
.admin-dashboard-card.card-navy::before { background: var(--navy); }

.admin-dashboard-card.card-gold .dashboard-card-icon { background: #D4A745; }
.admin-dashboard-card.card-gold::before { background: #D4A745; }

.admin-dashboard-card.card-red .dashboard-card-icon { background: #c0392b; }
.admin-dashboard-card.card-red::before { background: #c0392b; }

.admin-dashboard-card.card-green .dashboard-card-icon { background: #218838; }
.admin-dashboard-card.card-green::before { background: #218838; }

.dashboard-card-meta { flex: 1; min-width: 0; }

.dashboard-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 4px;
  font-weight: 600;
}

.dashboard-card-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dashboard-card-sub {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
}

.dashboard-card-arrow {
  color: var(--gray-200);
  font-size: 16px;
  transition: var(--transition-fast);
}

.admin-dashboard-card:hover .dashboard-card-arrow {
  color: var(--navy);
  transform: translateX(4px);
}

/* Quick Actions */
.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.admin-quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #FAFBFC;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

.admin-quick-link:hover {
  border-color: var(--navy);
  background: #fff;
  color: inherit;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
}

.admin-quick-link i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.08);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.admin-quick-link strong {
  display: block;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 600;
}

.admin-quick-link span {
  font-size: 12px;
  color: var(--gray-400);
}

/* ==============================================================
   Form success banner — inline after enquiry/contact submit
   ============================================================== */
.form-success-banner {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #d4f4dd 0%, #c0ebd0 100%);
  border: 1px solid #5cb874;
  border-radius: 10px;
  color: #1e6a38;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.4s ease;
}

.form-success-banner i {
  color: #1e6a38;
  font-size: 18px;
  flex-shrink: 0;
}

.form-success-banner span { line-height: 1.5; }

.form-error-banner {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fdecea 0%, #fbd9d4 100%);
  border: 1px solid #d9534f;
  border-radius: 10px;
  color: #8a221e;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.4s ease;
}

.form-error-banner i {
  color: #8a221e;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-error-banner span { line-height: 1.5; }

/* ================================
   Top Localities (home)
   ================================ */
.localities {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F4FF 100%);
  padding: 80px 0;
}

.localities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.locality-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.locality-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.locality-card > * { position: relative; z-index: 1; }

.locality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26, 26, 46, 0.18);
  border-color: transparent;
}

.locality-card:hover::before { opacity: 1; }

.locality-pin {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.08), rgba(26, 26, 46, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.locality-card:hover .locality-pin {
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}

.locality-info {
  flex: 1;
  min-width: 0;
}

.locality-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: var(--navy);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.locality-info span {
  font-size: 12.5px;
  color: var(--gray-400);
  font-weight: 500;
  transition: color 0.3s ease;
}

.locality-card:hover .locality-info h4 { color: #FFFFFF; }
.locality-card:hover .locality-info span { color: rgba(255, 255, 255, 0.75); }

.locality-arrow {
  font-size: 13px;
  color: var(--gray-400);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.locality-card:hover .locality-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
}

/* ================================
   Builder Partners Strip
   ================================ */
.partners-strip {
  padding: 50px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(26, 26, 46, 0.06);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
}

.partners-eyebrow {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 28px;
}

.partners-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  min-width: 130px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: -0.01em;
  filter: grayscale(0.4);
  opacity: 0.78;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo i {
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(201, 169, 110, 0.06);
}

.partner-logo:hover i { color: var(--gold); }

/* ================================
   Our Promise gradient card
   ================================ */
.promise {
  background: #FFFFFF;
}

.promise-card {
  position: relative;
  padding: 64px 56px;
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  color: #FFFFFF;
}

.promise-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 199, 126, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(201, 169, 110, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.promise-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
}

.promise-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 200, 87, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.promise-card h2 {
  color: #FFFFFF;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.promise-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 32px;
}

.promise-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  border-color: var(--gold-dark);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

.promise-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 169, 110, 0.5);
}

/* ================================
   Featured Project Flagship Card
   ================================ */
.featured-flagship {
  padding: 40px 0;
  background: #FFFFFF;
}

.flagship-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(26, 26, 46, 0.14);
  border: 1px solid rgba(26, 26, 46, 0.06);
  transition: var(--transition);
}
.flagship-card:hover { box-shadow: 0 24px 60px rgba(26, 26, 46, 0.22); transform: translateY(-3px); }

.flagship-image {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
}
.flagship-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.flagship-card:hover .flagship-image img { transform: scale(1.06); }

.flagship-badge {
  position: absolute;
  top: 18px; left: 18px;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(201, 169, 110, 0.4);
}
.flagship-badge i { margin-right: 6px; }

.flagship-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.flagship-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  font-weight: 700;
}

.flagship-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.flagship-body h3 a { color: inherit; transition: color 0.3s; }
.flagship-body h3 a:hover { color: var(--gold-dark); }

.flagship-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}
.flagship-meta i { color: var(--gold); margin-right: 6px; }

.flagship-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-600);
}
.flagship-features span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.flagship-features i { color: var(--navy); }

.flagship-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.flagship-price-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 4px;
}
.flagship-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.flagship-cta {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
}
.flagship-cta:hover { transform: translateX(3px) scale(1.06); box-shadow: 0 12px 32px rgba(201, 169, 110, 0.5); }

/* ================================
   Category Stats Cards
   ================================ */
.categories { background: #FFFFFF; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px 28px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 46, 0.08);
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.18);
  border-color: transparent;
}

.category-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.08) 0%, rgba(26, 26, 46, 0.16) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 26px;
  margin-bottom: 18px;
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(201, 169, 110, 0.4);
}

.category-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 6px 0;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.category-count {
  font-size: 13.5px;
  color: var(--gray-400);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold-dark);
  font-size: 12px;
  transition: var(--transition);
}
.category-card:hover .category-arrow {
  background: var(--gold);
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ================================
   Commercial Spaces Tabs
   ================================ */
.commercial-spaces { background: linear-gradient(135deg, #FAFAFA 0%, #F8F4EC 100%); }

.commercial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.commercial-tab {
  padding: 9px 22px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}
.commercial-tab:hover { color: var(--navy); border-color: rgba(26, 26, 46, 0.3); }
.commercial-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.25);
}

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.commercial-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.06);
  border: 1px solid rgba(26, 26, 46, 0.06);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.commercial-card.is-hidden { display: none; }
.commercial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.16);
}

.commercial-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.commercial-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.commercial-card:hover .commercial-image img { transform: scale(1.06); }

.commercial-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  border-radius: 999px;
}

.commercial-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.commercial-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.commercial-loc { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.commercial-loc i { color: var(--gold); margin-right: 4px; }
.commercial-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-dark);
  margin-top: auto;
}

/* ================================
   How It Works (3-step flow)
   ================================ */
.how-it-works { background: #FFFFFF; }

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.hiw-step {
  position: relative;
  padding: 40px 28px 32px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: 18px;
  text-align: center;
  transition: var(--transition);
}
.hiw-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26, 26, 46, 0.16);
  border-color: transparent;
}

.hiw-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--navy);
  opacity: 0.07;
  pointer-events: none;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hiw-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(26, 26, 46, 0.3);
  transition: var(--transition);
}
.hiw-step:hover .hiw-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 14px 30px rgba(201, 169, 110, 0.4);
  transform: rotate(-6deg) scale(1.05);
}

.hiw-step h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hiw-step p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

.hiw-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ================================
   Founders Section
   ================================ */
.founders { background: linear-gradient(135deg, #F8F8FA 0%, #F0F4FF 100%); }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.founder-card {
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(26, 26, 46, 0.10);
  transition: var(--transition);
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26, 26, 46, 0.18);
}

.founder-photo {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201, 169, 110, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(232, 199, 126, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.founder-photo::after {
  /* Subtle grid texture for depth */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.founder-photo--alt::before {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201, 169, 110, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(232, 199, 126, 0.12) 0%, transparent 65%);
}

.founder-pill {
  position: absolute;
  top: 20px; right: 20px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.4);
}

.founder-monogram {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.18) 0%, rgba(201, 169, 110, 0.06) 100%);
  border: 2px solid rgba(201, 169, 110, 0.5);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 500;
  font-style: italic;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.founder-body {
  padding: 26px 28px 30px;
}
.founder-body h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 4px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.founder-role {
  display: block;
  font-size: 12.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.founder-quote {
  font-style: italic;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  padding-left: 6px;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
}
.founder-quote i {
  color: var(--gold);
  margin-right: 6px;
  font-size: 12px;
}

.founders-note {
  margin-top: 32px;
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-400);
  background: rgba(201, 169, 110, 0.06);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px dashed rgba(201, 169, 110, 0.3);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.founders-note code {
  background: rgba(255, 255, 255, 0.7);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11.5px;
  color: var(--navy);
}

/* ================================
   Testimonials Carousel
   ================================ */
.testimonials { background: #FFFFFF; }

.testimonials-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  -webkit-overflow-scrolling: touch;
}
.testimonials-track::-webkit-scrollbar { height: 6px; }
.testimonials-track::-webkit-scrollbar-thumb { background: var(--gray-100); border-radius: 999px; }

.testimonial-card {
  flex: 0 0 calc(33.333% - 15px);
  scroll-snap-align: start;
  background: #FFFFFF;
  padding: 28px 26px;
  border-radius: 18px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.14);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 13px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.testimonial-author span {
  font-size: 11.5px;
  color: var(--gray-400);
  font-weight: 500;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.2);
  border: 0;
  cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--gold);
}

/* ================================
   Nav sub-menu dropdowns
   ================================ */
.nav-has-sub { position: relative; }
.nav-has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { font-size: 9px; transition: transform 0.3s; opacity: 0.7; }
.nav-has-sub:hover > a .nav-caret { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(26, 26, 46, 0.18);
  padding: 8px;
  margin-top: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}
.nav-has-sub:hover .nav-submenu,
.nav-has-sub:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-submenu li { margin: 0; }
.nav-submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--gray-600);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-submenu a:hover {
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold-dark);
  padding-left: 18px;
}

/* ==============================================================
   RESPONSIVE — unified refinements (batch)
   ============================================================== */

/* Defensive: images never overflow their containers */
img { max-width: 100%; height: auto; }

/* Defensive: prevent any element from forcing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100vw; }
section, .container, .section { max-width: 100vw; }

/* Tap targets: WCAG-recommend minimum 44x44px for interactive elements on mobile */
@media (max-width: 768px) {
  .btn,
  .nav-menu a,
  .commercial-tab,
  .partner-logo,
  .property-fav,
  .property-link,
  .testimonial-dot,
  .pagination-btn,
  .hamburger {
    min-height: 44px;
  }
  .testimonial-dot {
    min-width: 22px;   /* expand horizontal tap zone */
    padding: 8px;
    background-clip: content-box;
  }
}

/* Tablet/Mobile: tighten Contact FAQ inline buttons (overrides view-inline padding) */
@media (max-width: 768px) {
  .faq-q {
    padding: 16px 18px !important;
    font-size: 14px !important;
  }
  .faq-a {
    padding: 0 18px 16px !important;
    font-size: 13.5px !important;
  }
}

/* ---- Tablet (<= 1024px) additional tweaks ---- */
@media (max-width: 1024px) {
  .property-detail { padding: 32px 0 80px; }
  .detail-header-top { gap: 20px; }
  .admin-main { padding: 28px 18px; }
  .admin-dashboard-grid { gap: 16px; }
  .admin-section { padding: 24px; }
}

/* ---- Mobile (<= 768px) additional tweaks ---- */
@media (max-width: 768px) {
  /* Property detail page */
  .property-detail { padding: 24px 0 60px; }
  .detail-gallery-main { max-height: 260px; }
  .detail-gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
  .detail-title-row h1 { font-size: 1.6rem; }
  .detail-price-box { padding: 16px 20px; }
  .detail-price { font-size: 1.4rem; }
  .detail-section h2 { font-size: 1.25rem; }
  .detail-sidebar { position: static; top: auto; }

  /* Admin login */
  .admin-login-card { padding: 32px 24px; margin: 16px; }
  .admin-login-header h1 { font-size: 1.4rem; }

  /* Admin header */
  .admin-header { padding: 14px 0; }
  .admin-header-inner { padding: 0 16px; gap: 10px; }
  .admin-brand h1 { font-size: 1.05rem; }
  .admin-brand p { display: none; }
  .admin-brand img { height: 36px; }

  /* Admin nav tabs: horizontal scroll if they don't fit */
  .admin-nav {
    width: 100%;
    order: 3;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav-link { white-space: nowrap; padding: 8px 14px; font-size: 12px; }

  .admin-header-actions { gap: 6px; }
  .admin-header-actions .admin-btn-ghost,
  .admin-header-actions .admin-btn-danger {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Admin main content padding */
  .admin-main { padding: 20px 12px; gap: 20px; }
  .admin-section { padding: 18px 14px; border-radius: 12px; }
  .admin-section-header h2 { font-size: 1.05rem; }

  /* Admin form chips — tighter 2-up layout */
  .admin-chip-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .admin-chip { padding: 9px 11px; font-size: 12px; }
  .admin-chip i { width: 18px; font-size: 13px; }
  .admin-chip span { font-size: 12px; }

  /* Admin config rows — each field on own row below 768px */
  .admin-config-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
  }
  .admin-config-row .cfg-remove { width: 100%; }

  /* Admin form group title — allow wrapping */
  .admin-form-group-title {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }
  .admin-inline-btn { margin-left: 0; }

  /* Dashboard cards — stack cleanly */
  .admin-dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
  .admin-dashboard-card { padding: 18px 18px; }
  .dashboard-card-value { font-size: 1.75rem; }
  .dashboard-card-icon { width: 44px; height: 44px; font-size: 18px; }

  /* Admin quick actions */
  .admin-quick-actions { grid-template-columns: 1fr; }

  /* Admin property list row — cover thumb + actions */
  .admin-prop-thumb { width: 72px; height: 60px; }
  .admin-prop-info h3 { font-size: 0.95rem; }
  .admin-prop-price { font-size: 1rem; }

  /* Admin enquiry row */
  .admin-enquiry-row { padding: 14px; }
  .admin-enquiry-header h3 { font-size: 0.95rem; }
  .admin-enquiry-meta { gap: 10px; font-size: 12px; }
  .admin-enquiry-actions { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .admin-enquiry-cta { padding: 6px 10px; font-size: 11px; }

  /* Empty state */
  .admin-empty-state { padding: 36px 16px; }
  .admin-empty-state i { font-size: 36px; }

  /* Forms: better touch targets */
  .admin-field input,
  .admin-field select,
  .admin-field textarea { font-size: 16px; /* stops iOS zoom */ padding: 11px 12px; }

  /* Photo previews smaller */
  .admin-photo-previews { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }

  /* Stats grid — keep 2-col but tighten */
  .stats { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item { padding: 22px 16px; }
  .stat-item .num { font-size: 2rem; }
  .stat-item .label { font-size: 10px; letter-spacing: 0.15em; margin-top: 10px; }

  /* Hero / home */
  .hero { padding: 100px 0 50px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-stats {
    padding: 20px 18px;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .hero-stat .number { font-size: 1.8rem; }
  .hero-stat .label { font-size: 10px; letter-spacing: 0.14em; }

  /* Enquiry two-column -> one col */
  .enquiry-card { padding: 24px 18px; }
  .enquiry-card h3 { font-size: 1.4rem; }
  .enquiry-info h2 { font-size: 1.5rem; }
  .enquiry-contact-item { padding: 12px 16px; }
  .enquiry-contact-item strong { font-size: 14px; }

  /* Testimonial quote — auto-scaled via clamp but also cap spacing */
  .testimonial-card { padding: 28px 22px; }

  /* Contact page */
  .contact-info-card { padding: 32px 22px; }
  .contact-info-card h3 { font-size: 1.25rem; }
  .map-wrap iframe { min-height: 300px; }

  /* Page banner */
  .page-banner { padding: 150px 0 60px; }
  .page-banner h1 { font-size: 2.2rem; }

  /* CTA */
  .cta { padding: 80px 0; }
  .cta h2 { font-size: 1.75rem; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }

  /* Navbar tighter on mobile (nav-menu fully overridden in main 768 block above) */
  .navbar { width: calc(100% - 16px); top: 10px; padding: 10px 0; }

  /* Footer contact: wrap addresses cleanly */
  .footer-contact-item { align-items: flex-start; }
  .footer-contact-item span { word-break: break-word; }
}

/* ---- Ultra-mobile (<= 480px) — last-mile fixes ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }

  /* Typography */
  h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }

  /* Hero */
  .hero h1 { font-size: 1.75rem; }
  .hero-text p { font-size: 0.95rem; }
  .hero-stats { gap: 14px; padding: 16px; }
  .hero-stat .number { font-size: 1.5rem; }

  /* Buttons */
  .btn { padding: 14px 22px; font-size: 13px; }

  /* Section heading */
  .section-heading { margin-bottom: 40px; }

  /* New sections — small mobile tightening */
  .partners-row { gap: 18px; }
  .partner-logo { min-width: 100px; height: 50px; }
  .partner-logo img { max-height: 36px; max-width: 100px; }

  .commercial-tabs { gap: 8px; }
  .commercial-tab { padding: 7px 14px; font-size: 12px; }

  .hiw-step { padding: 28px 20px 24px; }
  .hiw-num { font-size: 2.2rem; top: 10px; right: 14px; }

  .founder-photo { height: 220px; }
  .founder-monogram { width: 92px; height: 92px; font-size: 2.6rem; }
  .founder-pill { top: 14px; right: 14px; padding: 5px 11px; font-size: 10px; }
  .founder-body { padding: 22px 20px 24px; }
  .founder-body h4 { font-size: 1.2rem; }

  .testimonial-card { flex: 0 0 90%; padding: 22px 20px; }
  .testimonial-text { font-size: 13px; }

  .promise-card { padding: 30px 18px; border-radius: 16px; }
  .promise-card h2 { font-size: 1.4rem; }
  .promise-card p { font-size: 0.95rem; }
  .promise-eyebrow { letter-spacing: 0.2em; padding: 5px 11px; font-size: 11px; }

  .locality-card { padding: 14px 16px; }
  .locality-pin { width: 38px; height: 38px; }
  .locality-info h4 { font-size: 0.98rem; }

  .category-card { padding: 28px 22px 22px; }
  .category-icon { width: 60px; height: 60px; font-size: 22px; }

  /* Page banner tighter */
  .page-banner { padding: 110px 0 48px; }
  .page-banner h1 { font-size: 1.7rem; }
  .breadcrumb { font-size: 12px; padding: 6px 12px; }

  /* CTA buttons stack full-width */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Admin chips stack fully */
  .admin-chip-grid { grid-template-columns: 1fr; }

  /* Admin login full-width */
  .admin-login-wrap { padding: 20px 12px; }
  .admin-login-card { padding: 28px 20px; border-radius: 14px; }

  /* Admin header */
  .admin-header-actions .admin-btn-ghost span,
  .admin-header-actions .admin-btn-danger span { display: none; }

  /* Detail gallery thumbs — smaller */
  .detail-gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
  .detail-gallery-main { max-height: 220px; border-radius: 10px; }
  .detail-title-row h1 { font-size: 1.35rem; }
  .detail-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .detail-feature { padding: 16px 12px; }
  .detail-feature-value { font-size: 1.1rem; }
  .detail-amenity-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .detail-amenity-item { padding: 14px 10px; }
  .detail-highlight-chip { font-size: 12px; padding: 8px 14px; }

  /* Services / Why-choose cards */
  .service-card { padding: 32px 20px; }
  .why-card { padding: 32px 22px; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr !important; }
  .contact-form-wrap { padding: 24px 18px; }

  /* Footer */
  .footer { padding: 50px 0 0; }
  .footer-bottom { font-size: 12px; gap: 8px; }

  /* Floating socials — smaller + tighter stack on small screens */
  .floating-socials { right: 18px; bottom: 18px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; font-size: 22px; }

  /* Stats grid — single column on tiny screens */
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-item { padding: 18px 14px; }
  .stat-item .num { font-size: 1.75rem; }

  /* Page banner — tight */
  .page-banner { padding: 130px 0 50px; }
  .page-banner h1 { font-size: 1.6rem; }

  /* Property card */
  .property-details { padding: 18px; }
  .property-title { font-size: 0.95rem; }
}

/* ==============================================================
   EMI Calculator page
   ============================================================== */
.emi-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.emi-inputs {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
  border: 1px solid var(--gray-100);
}

.emi-inputs h2 {
  color: var(--navy-dark);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.emi-field {
  margin-bottom: 24px;
}

.emi-field label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-600);
}

.emi-field label strong {
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
}

.emi-field input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
  height: 6px;
}

.emi-num-input {
  margin-top: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.emi-num-input:focus { outline: none; border-color: var(--navy); }

.emi-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.emi-result-card {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  text-align: center;
}

.emi-result-card.primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  border-color: transparent;
  padding: 28px;
}

.emi-result-card.primary .emi-result-label { color: rgba(255,255,255,0.8); }
.emi-result-card.primary .emi-result-value { color: var(--gold); font-size: 2.5rem; }

.emi-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 6px;
}

.emi-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  font-family: var(--font-display);
}

.emi-cta {
  grid-column: 1 / -1;
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 900px) {
  .emi-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .emi-results { grid-template-columns: 1fr; }
  .emi-inputs { padding: 22px; }
}

/* Similar properties grid on detail page */
.similar-properties-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
}

.similar-properties-section h2 {
  color: var(--navy-dark);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

/* ==============================================================
   Blog — list + post
   ============================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.12);
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-image { transform: scale(1.05); }

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.blog-tag {
  background: rgba(26, 26, 46, 0.08);
  color: var(--navy);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card-title {
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 600;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover { color: var(--navy); }

.blog-card-excerpt {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.blog-card-meta i { color: var(--navy); margin-right: 4px; }

/* Blog post page */
.blog-post-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--navy-dark);
  margin: 16px 0;
  letter-spacing: -0.02em;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--gray-400);
  flex-wrap: wrap;
}

.blog-post-meta i { color: var(--navy); margin-right: 6px; }

.blog-post-hero {
  margin-bottom: 40px;
  border-radius: 14px;
  overflow: hidden;
  max-height: 480px;
}

.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-800);
}

.blog-post-content h2 { font-size: 1.6rem; margin: 36px 0 16px; color: var(--navy-dark); }
.blog-post-content h3 { font-size: 1.3rem; margin: 28px 0 14px; color: var(--navy-dark); }
.blog-post-content p { margin-bottom: 18px; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 18px 24px; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content a { color: var(--navy); text-decoration: underline; }
.blog-post-content strong { color: var(--navy-dark); font-weight: 600; }
.blog-post-content img { max-width: 100%; border-radius: 10px; margin: 20px 0; }
.blog-post-content blockquote {
  border-left: 4px solid var(--navy);
  padding: 12px 18px;
  background: #FEFDF9;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-600);
  border-radius: 6px;
}

.blog-post-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.blog-post-footer > span {
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
}

/* ==============================================================
   Map view (/Properties/Map)
   ============================================================== */
.map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - 240px);
  min-height: 520px;
}

.map-sidebar {
  background: #fff;
  border-right: 1px solid var(--gray-100);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.map-sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.map-sidebar-header h3 {
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin: 0;
}

.map-count-badge {
  background: var(--navy);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.map-list {
  padding: 10px;
}

.map-list-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  border: 1px solid transparent;
  margin-bottom: 8px;
}

.map-list-item:hover {
  background: #FAFBFC;
  border-color: var(--gray-200);
  color: inherit;
}

.map-list-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.map-list-thumb-placeholder {
  width: 72px;
  height: 56px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  flex-shrink: 0;
}

.map-list-item strong {
  display: block;
  font-size: 13px;
  color: var(--navy-dark);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.map-list-meta {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.map-list-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.map-view {
  height: 100%;
  min-height: 520px;
}

.map-popup strong {
  display: block;
  font-size: 14px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.map-popup img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.map-popup .popup-meta { font-size: 12px; color: var(--gray-400); margin-bottom: 4px; }
.map-popup .popup-price { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.map-popup .popup-link {
  display: inline-block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-sidebar { max-height: 340px; border-right: none; border-bottom: 1px solid var(--gray-100); }
  .map-view { height: 520px; }
}

/* ==============================================================
   Share buttons + Favorite toggle (property detail sidebar)
   ============================================================== */
.detail-share {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}

.detail-share-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 10px;
}

.detail-share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px) scale(1.06);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter  { background: #1DA1F2; }
.share-linkedin { background: #0A66C2; }
.share-copy     { background: var(--gray-600); }

/* Copy toast */
.share-toast {
  position: absolute;
  transform: translateX(-50%);
  background: var(--navy-dark);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* Favorite toggle button (big one in sidebar) */
.detail-fav-toggle {
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: inherit;
}

.detail-fav-toggle:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.detail-fav-toggle.is-favorite {
  background: rgba(192, 57, 43, 0.08);
  border-color: #c0392b;
  color: #c0392b;
}

.detail-fav-toggle.is-favorite i { color: #c0392b; }

/* Favorites nav badge */
.favorites-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
  box-shadow: 0 2px 6px rgba(201, 169, 110, 0.4);
}

/* Property card heart — pulse + red fill when favorited */
.property-fav.is-favorite i {
  color: #e74c3c;
  animation: favPop 0.4s ease;
}

@keyframes favPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ==============================================================
   Admin Enquiry — Lead Status + Notes (manage panel)
   ============================================================== */
.admin-enquiry-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gray-100);
  color: var(--gray-600);
}

.admin-enquiry-status-badge.status-new      { background: #E8F0FE; color: #1a56db; }
.admin-enquiry-status-badge.status-contacted { background: #FEF3C7; color: #92400e; }
.admin-enquiry-status-badge.status-hot      { background: #FEE2E2; color: #b91c1c; }
.admin-enquiry-status-badge.status-cold     { background: #E0E7FF; color: #4338ca; }
.admin-enquiry-status-badge.status-closed   { background: #D1FAE5; color: #065f46; }

.admin-enquiry-manage {
  margin-top: 14px;
  border-top: 1px dashed var(--gray-200);
  padding-top: 12px;
}

.admin-enquiry-manage summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  list-style: none;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-enquiry-manage summary::-webkit-details-marker { display: none; }
.admin-enquiry-manage summary::before {
  content: '▸';
  display: inline-block;
  transition: transform 0.2s;
  color: var(--navy);
}
.admin-enquiry-manage[open] summary::before { transform: rotate(90deg); }

.has-notes-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #c0392b;
  border-radius: 50%;
}

.has-followup {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.admin-enquiry-manage-body {
  padding: 12px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-enquiry-mgmt-grid {
  display: grid;
  grid-template-columns: 180px 180px;
  gap: 12px;
}

.admin-enquiry-manage label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-enquiry-manage label span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-enquiry-manage select,
.admin-enquiry-manage input,
.admin-enquiry-manage textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--navy-dark);
  background: #fff;
}

.admin-enquiry-manage select:focus,
.admin-enquiry-manage input:focus,
.admin-enquiry-manage textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

.admin-enquiry-manage textarea { resize: vertical; min-height: 72px; }

.enq-save {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .admin-enquiry-mgmt-grid { grid-template-columns: 1fr; }
}

/* ==============================================================
   Properties page — Filter bar + Pagination
   ============================================================== */
.properties-filter-wrap {
  padding: 28px 0 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F4FF 100%);
}

.property-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-field select,
.filter-field input {
  padding: 11px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--navy-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.filter-field select:focus,
.filter-field input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

.filter-actions .btn {
  padding: 12px 24px;
  font-size: 13px;
}

.btn-text-ghost {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: color 0.2s;
}

.btn-text-ghost:hover { color: var(--navy); }

/* Result count toolbar */
.properties-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 10px;
}

.properties-count {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--navy-dark);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pagination-btn:hover:not(.disabled):not(.active) {
  border-color: var(--navy);
  color: var(--navy);
  background: #FAFBFC;
}

.pagination-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-ellipsis {
  padding: 0 4px;
  color: var(--gray-400);
  font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .property-filter-form {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 10px;
  }
  .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-actions .btn { width: 100%; justify-content: center; }
  .pagination-btn { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
}

@media (max-width: 480px) {
  .property-filter-form { grid-template-columns: 1fr; }
}

/* ==============================================================
   Map page — compact filter bar
   ============================================================== */
.map-filter-wrap {
  padding: 22px 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
}

.map-filter-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.map-filter-form .filter-field label {
  font-size: 10px;
  letter-spacing: 0.1em;
}

.map-filter-form .filter-field select,
.map-filter-form .filter-field input {
  padding: 9px 12px;
  font-size: 13px;
}

.map-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 1px;
}

@media (max-width: 900px) {
  .map-filter-form { grid-template-columns: repeat(3, 1fr); }
  .map-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .map-filter-form { grid-template-columns: repeat(2, 1fr); }
}

/* ==============================================================
   POLISH PACK — enhancements (additive; overrides existing cautiously)
   - Hero overhaul
   - Property card refinements
   - Skeleton loaders
   All respect prefers-reduced-motion.
   ============================================================== */

/* ---- Hero — animated gradient + entrance animations ---- */
.hero-bg {
  background-size: 200% 200%;
  animation: hero-gradient-drift 24s ease-in-out infinite alternate;
}

@keyframes hero-gradient-drift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.hero h1 {
  font-weight: 600;                       /* bolder */
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
}

/* Subtle shimmer sweep across the accent word */
.hero h1 .accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  background-size: 200% 100%;
  pointer-events: none;
  animation: accent-shimmer 5s ease-in-out infinite;
  opacity: 0.8;
  mix-blend-mode: overlay;
}

@keyframes accent-shimmer {
  0%   { background-position: 150% 0; }
  50%  { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}

/* Hero entrance sequence */
.hero-text .eyebrow { animation: hero-fadeup 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.1s; }
.hero h1            { animation: hero-fadeup 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.25s; }
.hero-text p        { animation: hero-fadeup 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.4s; }
.hero-actions       { animation: hero-fadeup 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.55s; }
.hero-stats         { animation: hero-fadeup 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.7s; }

@keyframes hero-fadeup {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Stats numbers pulse gently on hover */
.hero-stat {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-stat:hover { transform: translateY(-3px); }
.hero-stat .number { transition: color 0.2s; }
.hero-stat:hover .number { color: #fff; }

/* Parallax handled by small JS (adds translate on scroll) — see script */
.hero-image { will-change: transform; }

/* ---- Property card refinements (CSS-ONLY; HTML template unchanged) ---- */
.property-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 26, 46, 0.14), 0 4px 12px rgba(26, 26, 46, 0.06);
}

.property-image {
  overflow: hidden;
}

.property-image img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.property-card:hover .property-image img {
  transform: scale(1.08);
}

/* Badges: subtle gradient + shadow */
.property-badge {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

.property-badge.featured {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
}

.property-badge.sold {
  background: linear-gradient(135deg, #7A7A7A 0%, #9A9A9A 100%);
}

/* Price area: more prominent */
.property-price {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* "View Details" — underline slide on hover */
.property-link {
  position: relative;
  font-weight: 600;
}

.property-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card:hover .property-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.property-link i {
  transition: transform 0.3s;
}

.property-card:hover .property-link i {
  transform: translateX(3px);
}

/* Heart fav button — premium look */
.property-fav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.property-fav:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.25);
}

/* Photo count chip */
.property-photo-count {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 600;
  padding: 5px 12px;
}

/* ---- Skeleton loaders ---- */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.skeleton-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.04);
}

.skeleton-card-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, #EDE9E0 0%, #F7F5F0 50%, #EDE9E0 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-card-body {
  padding: 20px 22px 24px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #EDE9E0 0%, #F7F5F0 50%, #EDE9E0 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  margin-bottom: 10px;
}

.skeleton-line.sm { height: 10px; width: 50%; }
.skeleton-line.md { height: 16px; width: 85%; }
.skeleton-line.lg { height: 20px; width: 70%; }
.skeleton-line.xl { height: 24px; width: 40%; }

.skeleton-features {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.skeleton-features .skeleton-line {
  flex: 1;
  height: 14px;
  margin: 0;
}

.skeleton-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

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

/* Inline row skeleton for admin lists */
.skeleton-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.skeleton-row-thumb {
  width: 90px;
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(90deg, #EDE9E0 0%, #F7F5F0 50%, #EDE9E0 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

/* ---- Respect reduced-motion preferences ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero h1 .accent::before,
  .hero-text .eyebrow,
  .hero h1,
  .hero-text p,
  .hero-actions,
  .hero-stats,
  .property-image img,
  .skeleton-card-image,
  .skeleton-line,
  .skeleton-row-thumb {
    animation: none !important;
    transition: none !important;
  }
}




