/* ============================================================
   BONGSHAI HOUSING — Global Design System
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700;800&display=swap');

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:        #1a3c5e;    /* Deep Navy Blue */
  --primary-dark:   #0f2640;
  --primary-light:  #2a5a8c;
  --accent:         #c8922a;    /* Premium Gold */
  --accent-light:   #e8b044;
  --accent-dark:    #a67520;

  /* Neutral Palette */
  --white:          #ffffff;
  --off-white:      #f8f9fb;
  --grey-50:        #f4f5f7;
  --grey-100:       #e8eaee;
  --grey-200:       #d1d5db;
  --grey-400:       #9ca3af;
  --grey-600:       #6b7280;
  --grey-800:       #374151;
  --dark:           #111827;

  /* Semantic Colors */
  --success:        #059669;
  --warning:        #d97706;
  --error:          #dc2626;

  /* Typography */
  --font-body:      'Inter', sans-serif;
  --font-heading:   'Playfair Display', serif;

  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-lg:    1.125rem;   /* 18px */
  --fs-xl:    1.25rem;    /* 20px */
  --fs-2xl:   1.5rem;     /* 24px */
  --fs-3xl:   1.875rem;   /* 30px */
  --fs-4xl:   2.25rem;    /* 36px */
  --fs-5xl:   3rem;       /* 48px */
  --fs-6xl:   3.75rem;    /* 60px */
  --fs-7xl:   4.5rem;     /* 72px */

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Border Radius */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg:    0 10px 40px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:    0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-gold:  0 8px 32px rgba(200,146,42,0.25);
  --shadow-navy:  0 8px 32px rgba(26,60,94,0.20);

  /* Transitions */
  --transition-fast:   all 0.15s ease;
  --transition-base:   all 0.25s ease;
  --transition-slow:   all 0.4s ease;
  --transition-spring: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max:  1280px;
  --nav-height:     80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(var(--fs-4xl), 5vw, var(--fs-7xl)); font-weight: 800; }
h2 { font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl)); font-weight: 700; }
h3 { font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl)); font-weight: 700; }
h4 { font-size: clamp(var(--fs-lg), 2vw, var(--fs-2xl)); font-weight: 600; }
h5 { font-size: var(--fs-lg); font-weight: 600; }
h6 { font-size: var(--fs-base); font-weight: 600; }

p { color: var(--grey-600); line-height: 1.75; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--grey-600);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition-spring);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200,146,42,0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

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

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--fs-base);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: var(--fs-xs);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  border: 1px solid var(--grey-100);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-img {
  transform: scale(1.04);
}

.card-img-wrap {
  overflow: hidden;
}

.card-body {
  padding: var(--space-6);
}

.card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.card-text {
  color: var(--grey-600);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ============================================================
   Badge
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
}

.badge-navy {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.badge-green {
  background: rgba(5, 150, 105, 0.1);
  color: var(--success);
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 60, 94, 0.08);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.brand-tagline {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grey-800);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--grey-50);
}

.nav-link .arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item:hover .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--grey-100);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-base);
  z-index: 200;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grey-700);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--grey-50);
  color: var(--primary);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  flex-shrink: 0;
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-4);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--grey-200);
  transition: var(--transition-fast);
}

.nav-phone:hover {
  border-color: var(--primary);
  background: var(--grey-50);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hamburger:hover { background: var(--grey-50); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-800);
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--grey-800);
  border-bottom: 1px solid var(--grey-100);
}

.mobile-nav-link:hover { color: var(--primary); }

.mobile-sub-links {
  padding-left: var(--space-4);
  display: none;
}

.mobile-sub-links.open { display: block; }

.mobile-sub-link {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--fs-sm);
  color: var(--grey-600);
  border-bottom: 1px solid var(--grey-50);
}

.mobile-sub-link:hover { color: var(--primary); }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 38, 64, 0.85) 0%,
    rgba(26, 60, 94, 0.6) 50%,
    rgba(15, 38, 64, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(200,146,42,0.2);
  border: 1px solid rgba(200,146,42,0.4);
  color: var(--accent-light);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.7s 0.1s ease both;
  max-width: 820px;
}

.hero-title .highlight {
  color: var(--accent-light);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-xl));
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.4s ease both;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-number .stat-plus {
  color: var(--accent-light);
}

.stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4), transparent);
}

/* ============================================================
   Features Strip
   ============================================================ */
.features-strip {
  background: var(--primary);
  padding: var(--space-8) 0;
}

.features-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--white);
}

.feature-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-strip-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  display: block;
  font-family: var(--font-body);
}

.feature-strip-text {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  display: block;
}

/* ============================================================
   About Section
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.about-badge-float {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-badge-num {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.about-badge-lbl {
  font-size: var(--fs-xs);
  color: var(--grey-600);
  font-weight: 500;
}

.about-content { }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--off-white);
  transition: var(--transition-base);
}

.about-feature-item:hover {
  background: var(--grey-50);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
}

.about-feature-text {
  font-size: var(--fs-xs);
  color: var(--grey-600);
}

/* ============================================================
   Properties Section
   ============================================================ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
  transition: var(--transition-slow);
}

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

.property-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.property-card:hover .property-img-wrap img {
  transform: scale(1.06);
}

.property-badge-top {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1;
}

.property-card-body {
  padding: var(--space-6);
}

.property-type {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
  display: block;
}

.property-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.property-desc {
  font-size: var(--fs-sm);
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.property-specs {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  margin-bottom: var(--space-5);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--grey-600);
  font-weight: 500;
}

.spec-icon {
  font-size: 0.9rem;
  color: var(--accent);
}

/* ============================================================
   Stats Section
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,146,42,0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

.stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.stat-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}

.stat-card-num {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card-num .gold { color: var(--accent-light); }

.stat-card-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: var(--transition-base);
}

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

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

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(26,60,94,0.08), rgba(26,60,94,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-5);
  transition: var(--transition-spring);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.why-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
}

.why-text {
  font-size: var(--fs-sm);
  color: var(--grey-600);
  line-height: 1.75;
}

/* ============================================================
   Process Section
   ============================================================ */
.process-bg {
  background: var(--off-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--grey-400);
  transition: var(--transition-base);
  position: relative;
}

.process-step:hover .step-num {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-navy);
  transform: scale(1.1);
}

.step-icon {
  font-size: 1.5rem;
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.step-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.step-text {
  font-size: var(--fs-xs);
  color: var(--grey-600);
  line-height: 1.65;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-bg {
  background: linear-gradient(160deg, var(--primary-dark) 0%, #1a3c5e 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-bg::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,146,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-light);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.author-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  display: block;
}

.author-role {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
}

.stars {
  color: var(--accent-light);
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

/* ============================================================
   Career Section
   ============================================================ */
.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.career-info { }

.job-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.job-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.job-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--primary);
}

.job-dept {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 2px;
}

.job-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--primary);
  transition: var(--transition-spring);
}

.job-item:hover .job-arrow {
  background: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info { }

.contact-info-title {
  margin-bottom: var(--space-6);
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.contact-detail-item {
  display: flex;
  gap: var(--space-4);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--primary);
  display: block;
}

.contact-hours {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
}

.contact-hours-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-sm);
}

.hours-row:last-child { border-bottom: none; }
.hours-day { color: rgba(255,255,255,0.7); }
.hours-time { color: var(--accent-light); font-weight: 600; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--grey-100);
}

.form-title {
  margin-bottom: var(--space-2);
}

.form-subtitle {
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-xl);
  font-size: var(--fs-sm);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 94, 0.08);
}

.form-control::placeholder { color: var(--grey-400); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ============================================================
   Gallery Section
   ============================================================ */
.gallery-bg { background: var(--off-white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--space-3);
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: var(--transition-slow);
}

.gallery-item.large img { min-height: 400px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,38,64,0.85), transparent 60%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-text {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--accent-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-20) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: var(--space-4) 0 var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition-base);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-link::before {
  content: '→';
  font-size: var(--fs-xs);
  opacity: 0;
  transition: var(--transition-fast);
}

.footer-link:hover::before { opacity: 1; }

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}

.footer-contact-icon {
  font-size: 0.9rem;
  color: var(--accent-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  transition: var(--transition-fast);
}

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

/* ============================================================
   WhatsApp Float Button
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--transition-spring);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

.whatsapp-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.5s ease infinite;
  z-index: -1;
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,146,42,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-3);
}

.page-hero-title {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero-text {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: var(--transition-fast);
}

.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

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

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

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Intersection Observer Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ============================================================
   Schema / SEO Hidden
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — Full Device Coverage
   Mobile-first, tested at 360px / 480px / 600px / 768px / 900px / 1024px / 1280px+
   ============================================================ */

/* ─── Large Laptop (≤ 1280px) ─── */
@media (max-width: 1280px) {
  .container { max-width: 100%; padding: 0 var(--space-8); }
  .footer-grid { gap: var(--space-8); }
  .hero-title  { max-width: 700px; }
}

/* ─── Tablet Landscape / Small Laptop (≤ 1024px) ─── */
@media (max-width: 1024px) {
  /* Layout */
  .section  { padding: var(--space-20) 0; }
  .container { padding: 0 var(--space-6); }

  /* Navbar: hide phone number in nav CTA to save space */
  .nav-phone { display: none; }

  /* About grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .about-img-wrap { max-height: 420px; overflow: hidden; }
  .about-img-wrap img { height: 420px; object-fit: cover; }

  /* Properties */
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

  /* Why grid */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .gallery-item.large img { min-height: 200px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }

  /* Contact & Career */
  .contact-grid { grid-template-columns: 1fr; }
  .career-grid  { grid-template-columns: 1fr; }

  /* Features strip */
  .features-strip-grid { grid-template-columns: repeat(3, 1fr); }

  /* About features */
  .about-features { grid-template-columns: 1fr 1fr; }
}

/* ─── Tablet Portrait (≤ 900px) ─── */
@media (max-width: 900px) {
  /* Hero */
  .hero-stats { gap: var(--space-5); flex-wrap: wrap; }
  .stat-number { font-size: var(--fs-3xl); }

  /* Properties (2 col still fine) */
  .properties-grid { grid-template-columns: repeat(2, 1fr); }

  /* Luxury villa & SSB 2-col grids */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* About features */
  .about-features { grid-template-columns: 1fr; }

  /* Page hero padding */
  .page-hero { padding: calc(var(--nav-height) + 40px) 0 60px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Mobile Landscape / Tablet Small (≤ 768px) ─── */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --space-24: 4rem;
    --space-20: 3.5rem;
    --space-16: 3rem;
  }

  /* Navbar: show hamburger */
  .nav-menu  { display: none; }
  .nav-cta   { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }

  /* Slightly smaller brand name on mobile */
  .brand-name    { font-size: var(--fs-base); }
  .brand-tagline { font-size: 0.65rem; }
  .brand-logo-wrap { width: 36px; height: 36px; }

  /* Layout */
  .section   { padding: var(--space-16) 0; }
  .section-sm { padding: var(--space-12) 0; }
  .container { padding: 0 var(--space-4); }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: calc(var(--nav-height) + 48px) 0 60px; }
  .hero-subtitle { font-size: var(--fs-base); max-width: 100%; }
  .hero-stats { gap: var(--space-5); }
  .stat-number { font-size: var(--fs-3xl); }
  .stat-label  { font-size: 0.65rem; }
  .hero-scroll { display: none; }

  /* Features strip */
  .features-strip-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .feature-strip-title { font-size: var(--fs-sm); }

  /* About grid */
  .about-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .about-img-wrap { max-height: 300px; }
  .about-img-wrap img { height: 300px; }
  .about-badge-float { display: none; } /* hide floating badge on mobile */
  .about-features { grid-template-columns: 1fr; gap: var(--space-4); }

  /* Properties */
  .properties-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .why-card { padding: var(--space-5); }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: var(--space-5); }
  .process-steps::before { display: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Contact & Career */
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .career-grid  { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact-detail-items { gap: var(--space-4); }

  /* Footer */
  .footer { padding: var(--space-12) 0 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-3); }
  .footer-legal  { justify-content: center; }

  /* Page Hero inner pages */
  .page-hero { padding: calc(var(--nav-height) + 36px) 0 48px; }
  .page-hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .page-hero-text  { font-size: var(--fs-base); }

  /* Luxury villa & SSB 2-col grids → 1 col */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* CTA section */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-title   { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .cta-text    { font-size: var(--fs-base); }

  /* WhatsApp */
  .whatsapp-float { bottom: var(--space-5); right: var(--space-5); width: 52px; height: 52px; font-size: 1.4rem; }

  /* Section header */
  .section-title    { font-size: clamp(1.5rem, 5vw, 2.25rem); }
  .section-subtitle { font-size: var(--fs-base); }
  .section-header   { margin-bottom: var(--space-10); }

  /* Breadcrumb */
  .breadcrumb { flex-wrap: wrap; }

  /* Property card */
  .property-specs { grid-template-columns: 1fr 1fr; }

  /* Job list & apply form stacking */
  .job-list { border-radius: var(--radius-xl); }
  .job-item { flex-wrap: wrap; }
  .contact-form-wrap { padding: var(--space-6); }

  /* Comparison table scroll */
  table { display: block; overflow-x: auto; white-space: nowrap; }

  /* Hours row */
  .hours-row { flex-direction: column; gap: var(--space-1); }
}

/* ─── Large Mobile (≤ 600px) ─── */
@media (max-width: 600px) {
  /* Nav */
  .brand-name { display: none; } /* Show only logo icon */

  /* Hero */
  .hero-badge { font-size: 0.6rem; padding: var(--space-2) var(--space-3); letter-spacing: 0.06em; }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; gap: var(--space-3); }
  .stat-number { font-size: var(--fs-2xl); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Features strip */
  .features-strip-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .feature-strip-item  { padding: var(--space-3) 0; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Gallery masonry */
  /* (handled inline in gallery.html) */

  /* Why cards */
  .why-card { padding: var(--space-5); }
  .why-icon { width: 52px; height: 52px; font-size: 1.5rem; }

  /* Property card spec */
  .property-specs { grid-template-columns: 1fr 1fr; }

  /* Contact hours */
  .contact-hours { padding: var(--space-4); }

  /* Footer grid */
  .footer-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-height) + 28px) 0 40px; }
  .page-hero-title { font-size: clamp(1.5rem, 7vw, 2rem); }

  /* CTA buttons full width */
  .cta-actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Buttons */
  .btn-lg { padding: 0.9rem 1.8rem; font-size: var(--fs-sm); }

  /* Comparison table */
  table { font-size: var(--fs-xs); }

  /* Contact form */
  .contact-form-wrap { padding: var(--space-5); border-radius: var(--radius-xl); }
  .contact-info      { padding: 0; }
}

/* ─── Small Mobile (≤ 480px) ─── */
@media (max-width: 480px) {
  :root { --nav-height: 60px; }

  /* Base */
  .container { padding: 0 var(--space-4); }
  .section   { padding: var(--space-12) 0; }
  .section-sm { padding: var(--space-10) 0; }

  /* Hero */
  .hero-content { padding: calc(var(--nav-height) + 32px) 0 48px; }
  .hero-subtitle { font-size: var(--fs-sm); }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; }

  /* Features strip */
  .features-strip { padding: var(--space-6) 0; }
  .feature-strip-icon { width: 40px; height: 40px; font-size: 1.1rem; }

  /* Section */
  .section-header { margin-bottom: var(--space-8); }

  /* About */
  .about-img-wrap { max-height: 240px; }
  .about-img-wrap img { height: 240px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .stat-card  { padding: var(--space-5); }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { flex-direction: row; align-items: flex-start; gap: var(--space-4); padding: var(--space-4); }
  .why-icon { width: 44px; height: 44px; font-size: 1.2rem; flex-shrink: 0; }

  /* Process */
  .step-num { font-size: 2rem; }
  .process-step { padding: var(--space-5); }

  /* Testimonials */
  .testimonial-card { padding: var(--space-5); }
  .quote-icon { font-size: 2.5rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Forms */
  .form-control { padding: 0.7rem 1rem; font-size: var(--fs-sm); }
  .form-label   { font-size: var(--fs-xs); }

  /* Buttons */
  .btn-lg { padding: 0.85rem 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); padding-bottom: var(--space-6); }
  .footer { padding: var(--space-10) 0 0; }
  .footer-legal { flex-direction: column; align-items: center; gap: var(--space-2); }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-height) + 24px) 0 36px; }
  .breadcrumb { font-size: 0.65rem; }

  /* Property card */
  .property-card-body { padding: var(--space-4); }
  .property-specs { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .spec-item { font-size: var(--fs-xs); }

  /* Contact info */
  .contact-detail-icon { font-size: 1.3rem; }
  .contact-detail-label { font-size: var(--fs-xs); }
  .contact-detail-value { font-size: var(--fs-sm); }

  /* WhatsApp float */
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: var(--space-4); right: var(--space-4); }

  /* CTA */
  .cta-section .section { padding: var(--space-12) 0; }

  /* Job items */
  .job-item { padding: var(--space-3) var(--space-4); gap: var(--space-2); }
  .job-title { font-size: var(--fs-sm); }
  .job-dept  { font-size: var(--fs-xs); }
}

/* ─── Very Small Mobile (≤ 360px) ─── */
@media (max-width: 360px) {
  :root { --nav-height: 56px; }

  .container { padding: 0 var(--space-3); }
  .section   { padding: var(--space-10) 0; }

  /* Navbar brand: only icon */
  .brand-name    { display: none; }
  .brand-tagline { display: none; }

  /* Hero */
  .hero-content { padding: calc(var(--nav-height) + 24px) 0 36px; }
  .hero-badge   { display: none; }
  .hero-stats   { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .stat-number  { font-size: var(--fs-xl); }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Why cards inline */
  .why-card { padding: var(--space-3); }
  .why-icon { width: 38px; height: 38px; font-size: 1rem; }
  .why-title { font-size: var(--fs-base); }

  /* Forms */
  .form-control { font-size: var(--fs-xs); }

  /* Buttons */
  .btn     { padding: 0.7rem 1.2rem; font-size: var(--fs-xs); }
  .btn-lg  { padding: 0.8rem 1.4rem; font-size: var(--fs-xs); }

  /* Footer */
  .footer-social { flex-wrap: wrap; }
  .social-btn    { width: 34px; height: 34px; }

  /* CTA actions */
  .cta-actions .btn { font-size: var(--fs-xs); }

  /* WhatsApp */
  .whatsapp-float { width: 44px; height: 44px; font-size: 1.2rem; bottom: var(--space-3); right: var(--space-3); }
}

/* ─── Touch device: remove hover effects that confuse on touch ─── */
@media (hover: none) and (pointer: coarse) {
  .property-card:hover { transform: none; box-shadow: var(--shadow-md); }
  .why-card:hover      { transform: none; }
  .stat-card:hover     { transform: none; }
  .testimonial-card:hover { transform: none; }
  .btn:hover           { transform: none; }
  .btn-primary:hover   { transform: none; box-shadow: var(--shadow-gold); }
  .btn-secondary:hover { transform: none; }
  .social-btn:hover    { transform: none; }
  .footer-link:hover   { transform: none; }
}

/* ─── Print Styles ─── */
@media print {
  .navbar, .whatsapp-float, .hamburger, .mobile-drawer, .cta-section { display: none !important; }
  body { padding-top: 0; }
  .section { padding: 1rem 0; }
  a[href]::after { content: " (" attr(href) ")"; }
}

