/* ==========================================================================
   PRIME VIEW REAL ESTATE — GLOBAL DESIGN SYSTEM & STYLESHEET
   Based on Prime View Real Estate Reverse-Engineered Design & Style Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT DECLARATIONS (@font-face)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Optima';
  src: url('/fonts/optima/optima.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Optima';
  src: url('/fonts/optima/optima_bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/fonts/noto-kufi-arabic/noto-kufi-arabic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/fonts/noto-kufi-arabic/noto-kufi-arabic-arabic.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Luxury Palette */
  --color-brand-gold-primary: #b89c4c;
  --color-brand-gold-bright: #cbac4d;
  --color-brand-gold-muted: #c2ac70;
  --color-brand-gold-deep: #958350;
  --color-champagne-light: #f0ebdb;
  --color-champagne-gold: #e8c76a;

  /* Surfaces & Canvas */
  --color-dark-charcoal: #0f0f0f;
  --color-dark-charcoal-hover: #1f1f1f;
  --color-dark-card: #18171d;
  --color-black-pure: #000000;
  --color-surface-white: #ffffff;
  --color-surface-offwhite: #f8f9fa;
  --color-surface-alt: #f2f2f2;

  /* Neutral Scale */
  --color-grey-50: #f2f2f2;
  --color-grey-100: #e6e6e6;
  --color-grey-200: #d9d9d9;
  --color-grey-300: #cccccc;
  --color-grey-400: #bfbfbf;
  --color-grey-500: #b3b3b3;
  --color-grey-600: #999999;
  --color-grey-700: #808080;
  --color-grey-800: #757575;
  --color-grey-900: #666666;
  --color-grey-950: #404040;

  /* Semantic Status Colors */
  --color-success-green: #16a34a;
  --color-success-bg: #e6f5df;
  --color-danger-crimson: #c0392b;
  --color-danger-bg: #fde8e8;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebd5a;
  --color-navy-deep: #0d2240;

  /* Typography */
  --font-family-heading: 'Optima', 'Optima LT Std', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-body: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 12px -4px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, 0.18);
  --shadow-modal: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
  --shadow-gold-glow: 0 0 24px rgba(203, 172, 77, 0.40), 0 0 48px rgba(149, 131, 80, 0.20), 0 8px 16px -4px rgba(0, 0, 0, 0.30);
  --shadow-gold-hover: 0 10px 25px rgba(184, 156, 76, 0.35);

  /* Corner Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* Layout & Container */
  --container-max-width: 1320px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --------------------------------------------------------------------------
   3. CSS RESET & GLOBAL BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-grey-950);
  background-color: var(--color-surface-white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY HIERARCHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--font-family-heading);
  color: var(--color-dark-charcoal);
  font-weight: 700;
  line-height: 1.2;
}

.font-body {
  font-family: var(--font-family-body);
}

.text-display {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.text-h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.text-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.0rem);
  font-weight: 700;
  line-height: 1.25;
}

.text-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.text-h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.text-price {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
  line-height: 1;
}

.text-body-lg {
  font-size: 1.05rem;
  line-height: 1.6;
}

.text-body {
  font-size: 0.9rem;
  line-height: 1.5;
}

.text-specs {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-grey-700);
}

.text-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.text-xxs {
  font-size: 0.68rem;
  line-height: 1;
}

.text-gold {
  color: var(--color-brand-gold-primary) !important;
}

.text-muted {
  color: var(--color-grey-600) !important;
}

.text-white {
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   5. LAYOUT, CONTAINERS & UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Spacing Utilities */
.section-padding {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.section-padding-lg {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 120px);
}

.bg-surface-white { background-color: var(--color-surface-white); }
.bg-surface-offwhite { background-color: var(--color-surface-offwhite); }
.bg-surface-dark { background-color: var(--color-dark-charcoal); color: #ffffff; }
.bg-champagne { background-color: var(--color-champagne-light); }

/* Spacing Scale */
.gap-xxs { gap: 0.25rem; }
.gap-xs { gap: 0.5rem; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.0rem; }
.gap-lg { gap: 1.25rem; }
.gap-xl { gap: 1.5rem; }
.gap-3xl { gap: 2.0rem; }

.mt-xs { margin-top: 0.5rem; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.0rem; }
.mt-lg { margin-top: 1.25rem; }
.mt-xl { margin-top: 1.5rem; }
.mt-3xl { margin-top: 2.0rem; }
.mt-4xl { margin-top: 2.5rem; }
.mt-5xl { margin-top: 3.75rem; }
.mt-6xl { margin-top: 5.0rem; }
.mt-7xl { margin-top: 7.5rem; }

.mb-xs { margin-bottom: 0.5rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.0rem; }
.mb-lg { margin-bottom: 1.25rem; }
.mb-xl { margin-bottom: 1.5rem; }
.mb-3xl { margin-bottom: 2.0rem; }
.mb-4xl { margin-bottom: 2.5rem; }

.p-sm { padding: 0.75rem; }
.p-md { padding: 1.0rem; }
.p-lg { padding: 1.25rem; }
.p-xl { padding: 1.5rem; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-cols-3, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   6. BUTTON SYSTEM (.pvBtn)
   -------------------------------------------------------------------------- */
.pvBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md); /* 6px */
  padding: 0.75rem 1.35rem;
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.pvBtn--sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
}

.pvBtn--lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
}

.pvBtn--pill {
  border-radius: var(--radius-full);
}

/* Primary Dark Button */
.pvBtn--primary {
  background-color: var(--color-dark-charcoal);
  color: #ffffff !important;
}
.pvBtn--primary:hover {
  background-color: var(--color-dark-charcoal-hover);
  color: #ffffff !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Luxury Gold Button */
.pvBtn--gold {
  background-color: var(--color-brand-gold-bright);
  color: var(--color-dark-charcoal) !important;
  font-weight: 700;
}
.pvBtn--gold:hover {
  background-color: var(--color-brand-gold-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-1px);
}

/* Outline / Secondary Button */
.pvBtn--outline {
  background-color: #ffffff;
  border-color: var(--color-grey-200);
  color: var(--color-dark-charcoal);
}
.pvBtn--outline:hover {
  border-color: var(--color-dark-charcoal);
  background-color: var(--color-grey-50);
}

/* White / Light Button */
.pvBtn--white {
  background-color: #ffffff;
  color: var(--color-dark-charcoal);
  border-color: var(--color-grey-100);
}
.pvBtn--white:hover {
  background-color: var(--color-surface-offwhite);
  box-shadow: var(--shadow-sm);
}

/* Direct WhatsApp CTA Button */
.pvBtn--whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff !important;
}
.pvBtn--whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* --------------------------------------------------------------------------
   7. BADGES & STATUS TAGS (.listingCardTag)
   -------------------------------------------------------------------------- */
.listingCardTag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.listingCardTag--exclusive {
  background-color: var(--color-champagne-light);
  color: var(--color-dark-charcoal);
  border: 1px solid rgba(184, 156, 76, 0.3);
}

.listingCardTag--offplan {
  background-color: #ffffff;
  color: var(--color-dark-charcoal);
  box-shadow: var(--shadow-sm);
}

.listingCardTag--ready {
  background-color: var(--color-brand-gold-primary);
  color: #ffffff;
}

.listingCardTag--bills-included {
  background-color: var(--color-success-bg);
  color: var(--color-success-green);
}

/* Section Header Badge Pill */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(184, 156, 76, 0.12);
  border: 1px solid rgba(184, 156, 76, 0.35);
  color: var(--color-brand-gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Section Title Header Block */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark-charcoal);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--color-grey-700);
}

/* --------------------------------------------------------------------------
   8. CARD SYSTEMS (.listingCard, .developmentCard, .areaCard, .blogCard)
   -------------------------------------------------------------------------- */

/* 8.1 Property Listing Card */
.listingCard, .modern-unit-card {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.listingCard:hover, .modern-unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-gold-muted);
}

.listingCard__media, .modern-unit-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-grey-50);
}

.listingCard__image, .modern-unit-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listingCard:hover .listingCard__image,
.modern-unit-card:hover .modern-unit-card__img {
  transform: scale(1.05);
}

.listingCard__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.listingCard__bookmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
  border: none;
}

.listingCard__bookmark:hover {
  background: rgba(15, 15, 15, 0.85);
  color: var(--color-brand-gold-bright);
}

.listingCard__body, .modern-unit-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.listingCard__pricing {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.listingCard__price {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
  letter-spacing: -0.2px;
}

.listingCard__currency {
  font-size: 0.85rem;
  color: var(--color-brand-gold-primary);
  font-weight: 700;
}

.listingCard__period {
  font-size: 0.8rem;
  color: var(--color-grey-600);
}

.listingCard__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark-charcoal);
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listingCard__location {
  font-size: 0.8rem;
  color: var(--color-grey-600);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.listingCard__specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--color-grey-700);
}

.specItem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.listingCard__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.listingCard__actions .pvBtn {
  flex: 1;
}

/* 8.2 Development Project Card */
.developmentCard, .explore-dev-card {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.developmentCard:hover, .explore-dev-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-gold-muted);
}

.developmentCard__media, .explore-dev-card__image-wrap {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-dark-charcoal);
}

.developmentCard__image, .explore-dev-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.developmentCard:hover .developmentCard__image,
.explore-dev-card:hover .explore-dev-card__img {
  transform: scale(1.06);
}

.developmentCard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.developmentCard__badge, .explore-dev-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.developmentCard__body, .explore-dev-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.developmentCard__title, .explore-dev-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
  margin-bottom: 4px;
}

.developmentCard__location, .explore-dev-card__location {
  font-size: 0.82rem;
  color: var(--color-grey-600);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.developmentCard__footer, .explore-dev-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-grey-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.developmentCard__price-val, .explore-dev-card__price-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brand-gold-primary);
  font-family: var(--font-family-heading);
}

/* 8.3 Area Guide Card */
.areaCard {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
  text-decoration: none;
  transition: var(--transition-normal);
}

.areaCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.areaCard__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.areaCard:hover .areaCard__image {
  transform: scale(1.08);
}

.areaCard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.areaCard__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: #ffffff;
}

.areaCard__title {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.areaCard__meta {
  font-size: 0.8rem;
  color: var(--color-champagne-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 8.4 Blog & Insights Card */
.blogCard, .latestBlogPosts__card {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.blogCard:hover, .latestBlogPosts__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-gold-muted);
}

.blogCard__image-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-grey-50);
}

.blogCard__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blogCard:hover .blogCard__image {
  transform: scale(1.05);
}

.blogCard__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blogCard__date {
  font-size: 0.75rem;
  color: var(--color-grey-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.blogCard__title {
  font-family: var(--font-family-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
  line-height: 1.35;
  margin-bottom: 8px;
}

.blogCard__snippet {
  font-size: 0.85rem;
  color: var(--color-grey-700);
  line-height: 1.5;
  margin-bottom: 14px;
}

.blogCard__link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blogCard:hover .blogCard__link {
  color: var(--color-brand-gold-primary);
}

/* --------------------------------------------------------------------------
   9. SEARCH BOX ARCHITECTURE (.searchBox)
   -------------------------------------------------------------------------- */
.searchBox--heroVariant {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

/* Hero Mobile & Tablet CTA Action Buttons (Strictly Hidden on Desktop & Laptop) */
.heroMobileActions {
  display: none !important;
}

@media (min-width: 1025px) {
  .heroMobileActions {
    display: none !important;
  }
  .searchBox--heroVariant {
    display: block !important;
  }
  .heroPopularPills {
    display: flex !important;
  }
}

/* Hero Popular Location Pills (Desktop & Laptop Only) */
.heroPopularPills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.searchBox__tabs {
  display: flex;
  background: #f0ede6;
  padding: 6px;
  gap: 4px;
  border-bottom: 1px solid var(--color-grey-100);
}

.searchBox__tab {
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-family-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-grey-800);
  background: transparent;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
  cursor: pointer;
}

.searchBox__tab:hover {
  color: var(--color-dark-charcoal);
}

.searchBox__tab--active {
  background: var(--color-dark-charcoal);
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.searchBox__inputs {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto;
  gap: 12px;
  padding: 16px 20px;
  align-items: center;
}

@media (max-width: 900px) {
  .searchBox__inputs {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .searchBox__inputs {
    grid-template-columns: 1fr;
  }
}

.searchBox__field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.searchBox__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-grey-600);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.searchBox__input, .searchBox__select {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-white);
  color: var(--color-dark-charcoal);
  font-size: 0.88rem;
  transition: var(--transition-fast);
  width: 100%;
}

.searchBox__input:focus, .searchBox__select:focus {
  border-color: var(--color-dark-charcoal);
  box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

.searchBox__submit {
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   10. GLOBAL HEADER & STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: var(--transition-normal);
  background: transparent;
  padding: 14px 0;
}

.global-header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--color-grey-100);
  padding: 10px 0;
}

.global-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.global-header__logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.global-header__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

@media (max-width: 1024px) {
  .global-header__menu {
    display: none;
  }
}

.global-header__item {
  position: relative;
}

.global-header__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-decoration: none;
}

.global-header--scrolled .global-header__link {
  color: var(--color-dark-charcoal);
}

.global-header__link:hover,
.global-header__link.active {
  color: var(--color-brand-gold-bright) !important;
  background: rgba(184, 156, 76, 0.15);
}

.global-header__link .chevron {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.global-header__item:hover .chevron {
  transform: rotate(180deg);
}

/* Submenu Dropdowns */
.global-header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-fast);
  z-index: 100;
}

.global-header__item:hover .global-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.global-header__dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--color-dark-charcoal);
  transition: var(--transition-fast);
}

.global-header__dropdown a:hover {
  background-color: var(--color-surface-offwhite);
  color: var(--color-brand-gold-primary);
  padding-left: 22px;
}

.global-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-header__hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-brand-gold-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 1024px) {
  .global-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   11. MOBILE NAVIGATION DRAWER (.mobileMenu)
   -------------------------------------------------------------------------- */
.mobileMenu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  display: none;
}

.mobileMenu--open {
  display: block;
}

.mobileMenu__overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.mobileMenu__drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85vw;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-dark-charcoal);
  color: #ffffff;
  border-right: 1.5px solid rgba(184, 156, 76, 0.35);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85);
  z-index: 2;
  display: flex;
  flex-direction: column;
  animation: mobileMenuSlideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobileMenuSlideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.mobileMenu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobileMenu__title {
  font-family: var(--font-family-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-champagne-gold);
}

.mobileMenu__close {
  background: rgba(184, 156, 76, 0.15);
  border: 1px solid rgba(184, 156, 76, 0.35);
  border-radius: var(--radius-md);
  color: var(--color-brand-gold-primary);
  padding: 6px 12px;
  font-size: 1rem;
}

.mobileMenu__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px 40px;
}

.mobileMenu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobileMenu__item a,
.mobileMenu__item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: transparent;
  transition: var(--transition-fast);
}

.mobileMenu__item a:hover,
.mobileMenu__item button:hover {
  background: rgba(184, 156, 76, 0.15);
  color: var(--color-champagne-gold);
}

.mobileMenu__footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   12. 3-TIER FOOTER ARCHITECTURE (.footerWrapper)
   -------------------------------------------------------------------------- */
.footerWrapper {
  background-color: var(--color-dark-charcoal);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Tier 1 — VIP CTA Banner */
.footerCard {
  background: linear-gradient(135deg, #1c1b22 0%, #121117 100%);
  border: 1px solid rgba(184, 156, 76, 0.3);
  border-radius: var(--radius-2xl);
  padding: clamp(32px, 5vw, 48px);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .footerCard {
    flex-direction: column;
    text-align: center;
  }
}

.footerCard__headline {
  font-family: var(--font-family-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.footerCard__subtext {
  font-size: 0.9rem;
  color: var(--color-grey-400);
}

/* Tier 2 — Structured SEO Directory */
.footer__row2 {
  padding-bottom: 50px;
}

.footerLinksGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .footerLinksGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .footerLinksGrid {
    grid-template-columns: 1fr;
  }
}

.footerColumn__title {
  font-family: var(--font-family-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footerColumn__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-brand-gold-primary);
}

.footerColumn__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footerColumn__links a {
  font-size: 0.85rem;
  color: var(--color-grey-400);
  transition: var(--transition-fast);
}

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

/* Tier 3 — Legal & Licensing Bar */
.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--color-grey-500);
}

.footerBottomContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footerSocials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footerSocialLink {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition-fast);
}

.footerSocialLink:hover {
  background: var(--color-brand-gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. FLOATING AI VOICE ASSISTANT WIDGET
   -------------------------------------------------------------------------- */
.floatingVoiceAssistant {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .floatingVoiceAssistant {
    bottom: 80px; /* Above mobile sticky bar */
    right: 16px;
  }
}

.voiceWidgetTrigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-gold-bright) 0%, var(--color-brand-gold-primary) 100%);
  color: var(--color-dark-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-gold-glow);
  cursor: pointer;
  transition: var(--transition-fast);
  animation: voiceWidgetGlow 3s infinite ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.voiceWidgetTrigger:hover {
  transform: scale(1.08);
}

@keyframes voiceWidgetGlow {
  0%, 100% {
    box-shadow: 0 0 24px rgba(203, 172, 77, 0.4), 0 0 48px rgba(149, 131, 80, 0.2), 0 8px 16px -4px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 36px rgba(203, 172, 77, 0.6), 0 0 64px rgba(149, 131, 80, 0.35), 0 8px 16px -4px rgba(0, 0, 0, 0.3);
  }
}

/* --------------------------------------------------------------------------
   14. MOBILE STICKY CONVERSION BAR
   -------------------------------------------------------------------------- */
.mobileStickyBar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184, 156, 76, 0.3);
  padding: 10px 16px;
  z-index: 9980;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .mobileStickyBar {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobileStickyBar .pvBtn {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   15. LEAD CAPTURE & VIP MODAL (.contactLeadModal)
   -------------------------------------------------------------------------- */
.contactLeadModal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.contactLeadModal--open {
  display: flex;
}

.contactLeadModal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.contactLeadModal__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-modal);
  padding: 32px;
  z-index: 2;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.contactLeadModal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--color-grey-50);
  border: 1px solid var(--color-grey-200);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-dark-charcoal);
  cursor: pointer;
  transition: var(--transition-fast);
}

.contactLeadModal__close:hover {
  background: var(--color-dark-charcoal);
  color: #ffffff;
}

.contactLeadModal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-grey-800);
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-dark-charcoal);
  background-color: var(--color-surface-white);
  transition: var(--transition-fast);
  width: 100%;
}

.form-textarea {
  height: 90px;
  padding: 10px 14px;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-dark-charcoal);
  box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

/* --------------------------------------------------------------------------
   16. PARTNER MARQUEE TRACK (INSTITUTIONAL ALLIANCES & MASTER DEVELOPERS)
   -------------------------------------------------------------------------- */
.partnerMarqueeSection {
  padding: 56px 0 52px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-offwhite) 100%);
  color: var(--color-dark-charcoal);
  border-top: 1px solid rgba(184, 156, 76, 0.18);
  border-bottom: 1px solid rgba(184, 156, 76, 0.18);
  overflow: hidden;
  position: relative;
}

.partnerMarqueeSection .section-badge {
  background: rgba(184, 156, 76, 0.09);
  color: var(--color-brand-gold-dark);
  border: 1px solid rgba(184, 156, 76, 0.28);
  margin-bottom: 12px;
}

.partnerMarqueeSection h3 {
  color: var(--color-dark-charcoal);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.partnerMarquee, .marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
}

.partnerMarquee__track, .marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 28px;
  min-width: 100%;
  padding: 8px 0;
  animation: partnerMarqueeScroll 35s linear infinite;
}

.partnerMarquee:hover .partnerMarquee__track,
.partnerMarqueeSection:hover .partnerMarquee__track,
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.partnerMarquee__item, .marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #ffffff;
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.partnerMarquee__item:hover, .marquee-item:hover {
  background: #ffffff;
  border-color: var(--color-brand-gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(184, 156, 76, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.partnerMarquee__item img, .marquee-item img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partnerMarquee__item:hover img, .marquee-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.04);
}

@keyframes partnerMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   17. ARCHITECTURAL & INTERIOR MASONRY GALLERY
   -------------------------------------------------------------------------- */
.masonryGallerySection {
  padding: 60px 0;
  background-color: var(--color-surface-white);
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
  position: relative;
}

.masonryGalleryGrid {
  column-count: 3;
  column-gap: 20px;
}

.masonryItem {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-grey-200);
  background-color: var(--color-dark-charcoal);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.masonryItem:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(184, 156, 76, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: var(--color-brand-gold-primary);
}

.masonryItem--tall {
  height: 420px;
}

.masonryItem--standard {
  height: 280px;
}

.masonryItem__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.masonryItem:hover .masonryItem__image {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  /* Hide search box and quick location pills on tablet and mobile */
  .searchBox--heroVariant,
  .heroPopularPills {
    display: none !important;
  }

  /* Show Explore Properties & Talk to an Advisor buttons on tablet and mobile */
  .heroMobileActions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 20px auto 0 auto !important;
  }

  .heroMobileBtn {
    width: 100% !important;
    height: 52px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    letter-spacing: 0.3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
  }

  .heroMobileBtn.pvBtn--outline {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px) !important;
  }

  .heroMobileBtn.pvBtn--outline:hover,
  .heroMobileBtn.pvBtn--outline:active {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
  }

  .masonryGalleryGrid {
    column-count: 2;
    column-gap: 16px;
  }
  .masonryItem--tall {
    height: 340px;
  }
  .masonryItem--standard {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .masonryGalleryGrid {
    column-count: 1;
    column-gap: 0;
  }
  .masonryItem {
    margin-bottom: 14px;
  }
  .masonryItem--tall,
  .masonryItem--standard {
    height: 260px;
  }
}

/* ==========================================================================
   18. COMPREHENSIVE ULTRA-RESPONSIVE MOBILE DESIGN SYSTEM
   ========================================================================== */

@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
  }

  body {
    padding-bottom: 68px; /* Space for mobile sticky bottom bar */
  }

  /* Typography Scaling */
  h1, .hero-section h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.35rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }

  h2, .section-header h2 {
    font-size: clamp(1.45rem, 4.5vw, 1.85rem) !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: clamp(1.2rem, 3.8vw, 1.45rem) !important;
    line-height: 1.35 !important;
  }

  p, .section-header p {
    font-size: clamp(0.85rem, 2.8vw, 0.95rem) !important;
    line-height: 1.55 !important;
  }

  .section-badge {
    font-size: 0.7rem !important;
    padding: 5px 12px !important;
    margin-bottom: 8px !important;
  }

  /* Containers & Padding */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section-header {
    margin-bottom: 28px !important;
  }

  .section-padding {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .section-padding-lg {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* Global Header & Navigation on Mobile */
  .global-header {
    padding: 10px 0 !important;
    background: rgba(15, 15, 15, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(184, 156, 76, 0.2) !important;
  }

  .global-header .nav-container {
    padding: 0 16px !important;
  }

  .global-header__logo img {
    height: 36px !important;
    width: auto !important;
    max-width: 170px !important;
  }

  .global-header__actions {
    gap: 8px !important;
  }

  .global-header__actions .pvBtn--outline {
    display: none !important; /* Prominently shown in bottom sticky bar */
  }

  .global-header__actions .pvBtn--whatsapp {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
  }

  .global-header__hamburger {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.35rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(184, 156, 76, 0.12) !important;
    border: 1px solid rgba(184, 156, 76, 0.3) !important;
    color: var(--color-champagne-gold) !important;
  }

  /* Hero Section Mobile Experience */
  .hero-section {
    padding: 95px 16px 40px !important;
    min-height: auto !important;
  }

  /* Card Grids */
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .developmentCard, .listingCard, .areaCard, .blogCard {
    border-radius: var(--radius-lg) !important;
  }

  .developmentCard__media, .listingCard__media {
    aspect-ratio: 16 / 10 !important;
  }

  .developmentCard__body, .listingCard__body {
    padding: 16px 14px !important;
  }

  .developmentCard__actions, .listingCard__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .developmentCard__actions .pvBtn, .listingCard__actions .pvBtn {
    width: 100% !important;
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
    min-height: 42px !important;
  }

  /* Areas Grid */
  .areasGrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .areaCard {
    min-height: 200px !important;
  }

  /* Trust Matrix & Why Choose Us */
  .trustMatrixGrid, .statsMatrixGrid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Partner Marquee */
  .partnerMarqueeSection {
    padding: 40px 0 !important;
  }

  .partnerMarquee__item {
    padding: 10px 18px !important;
  }

  .partnerMarquee__item img {
    height: 30px !important;
    max-width: 110px !important;
  }

  /* Footer */
  .footerCard {
    padding: 24px 18px !important;
    margin-bottom: 36px !important;
  }

  .footerLinksGrid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footerBottomContent {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
  }

  /* Modal Form on Mobile */
  .contactLeadModal__box {
    width: 94vw !important;
    max-height: 90dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 24px 16px !important;
    border-radius: var(--radius-xl) !important;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    height: 46px !important;
  }

  /* Floating Assistant position */
  .floatingVoiceAssistant {
    bottom: 76px !important;
    right: 14px !important;
  }

  .voiceWidgetTrigger {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2rem !important;
  }

  /* Mobile Sticky Bar */
  .mobileStickyBar {
    display: flex !important;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom)) !important;
    gap: 8px !important;
  }

  .mobileStickyBar .pvBtn {
    flex: 1 !important;
    padding: 8px 4px !important;
    font-size: 0.78rem !important;
    min-height: 40px !important;
  }
}

/* Ultra-compact screens (iPhone SE, Galaxy A-series <= 390px) */
@media (max-width: 390px) {
  .global-header__logo img {
    max-width: 140px !important;
  }

  .searchBox__tabs {
    flex-wrap: wrap !important;
  }

  .searchBox__tab {
    flex: 1 1 45% !important;
  }

  .developmentCard__actions, .listingCard__actions {
    grid-template-columns: 1fr !important;
  }
}

/* RTL Arabic Drawer Slide for Mobile */
[dir="rtl"] .mobileMenu__drawer {
  left: auto !important;
  right: 0 !important;
  border-right: none !important;
  border-left: 1.5px solid rgba(184, 156, 76, 0.35) !important;
  animation: mobileMenuSlideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes mobileMenuSlideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

[dir="rtl"] .footerColumn__title::after {
  left: auto !important;
  right: 0 !important;
}