/* =========================================================================
   PRIME PROPERTIES — Elite Tier Website v2.0
   "10K Feel" Design System
   ========================================================================= */

/* ----------------------------- Design Tokens ---------------------------- */
:root {
  /* Brand palette */
  --white: #FFFFFF;
  --navy: #0F2A47;
  --navy-90: rgba(15, 42, 71, 0.9);
  --navy-80: rgba(15, 42, 71, 0.8);
  --navy-40: rgba(15, 42, 71, 0.4);
  --navy-10: rgba(15, 42, 71, 0.1);
  --navy-04: rgba(15, 42, 71, 0.04);
  --gold: #C9A84C;            /* decorative */
  --gold-deep: #B08D4F;       /* AA-compliant text on white */
  --gold-soft: rgba(201, 168, 76, 0.15);
  --soft-blue: #E0F2FE;
  --slate: #475569;
  --slate-light: #94A3B8;
  --green: #10B981;
  --green-glow: rgba(16, 185, 129, 0.45);
  --amber: #F59E0B;
  --red: #DC2626;

  /* Typography */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows (layered) */
  --shadow-sm: 0 4px 6px rgba(15, 42, 71, 0.04);
  --shadow-md: 0 4px 6px rgba(15, 42, 71, 0.04), 0 12px 40px rgba(15, 42, 71, 0.08);
  --shadow-lg: 0 8px 12px rgba(15, 42, 71, 0.06), 0 24px 60px rgba(15, 42, 71, 0.12);

  /* Spacing */
  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-pill: 999px;
  --maxw: 1280px;
  --maxw-narrow: 900px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;

  /* Z-index */
  --z-header: 100;
  --z-chatbot: 90;
  --z-whatsapp: 80;
  --z-modal: 200;
  --z-lightbox: 300;
}

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

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

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

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

::selection { background: var(--gold); color: var(--white); }

/* --------------------------- Accessibility ------------------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------- Typography ------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p  { font-weight: 300; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--gold); }

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 28px;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.gold-divider .diamond {
  color: var(--gold);
  font-size: 0.7rem;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--slate);
}

/* ------------------------------ Layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--maxw-narrow); }

section { position: relative; }
.section-pad { padding: 100px 0; }
.section-pad-lg { padding: 120px 0; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-soft { background: var(--soft-blue); }
.bg-gold { background: var(--gold); color: var(--navy); }

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  padding: 22px 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--navy);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 1.1rem;
  border-radius: 4px;
}
.logo .logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Primary nav */
.main-nav ul {
  display: flex;
  gap: 38px;
  align-items: center;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  background: transparent;
  z-index: 110;
}
.hamburger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--gold); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--gold); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--navy);
  padding: 90px 32px 40px;
  z-index: 105;
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover { color: var(--gold); padding-left: 8px; }
.mobile-menu .nav-cta { margin-top: 24px; align-self: flex-start; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1a3a5c; }
.btn-gold-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); }
.btn-white-outline { border: 1px solid var(--white); color: var(--white); background: transparent; }
.btn-white-outline:hover { background: var(--white); color: var(--navy); }
.btn-green {
  background: var(--green);
  color: var(--white);
  position: relative;
}
.btn-green::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulseGreen 2s infinite;
  pointer-events: none;
}
.btn-green:hover { background: #0e9c6e; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 var(--green-glow); }
  70% { box-shadow: 0 0 0 14px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  width: 100%;
}
.hero-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,71,0.85) 0%, rgba(15,42,71,0.4) 50%, rgba(15,42,71,0.95) 100%);
  z-index: 1;
}

.hero .eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 6px;
  opacity: 0;
  transform: translateY(20px);
}
.hero .gold-divider { opacity: 0; transform: translateY(20px); }
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
}
.hero .hero-sub {
  color: var(--soft-blue);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0;
  transform: translateY(20px);
}

.hero.is-loaded .eyebrow { animation: fadeUp 0.8s 0ms forwards; }
.hero.is-loaded .gold-divider { animation: fadeUp 0.8s 200ms forwards; }
.hero.is-loaded h1 { animation: fadeUp 0.8s 400ms forwards; }
.hero.is-loaded .hero-sub { animation: fadeUp 0.8s 500ms forwards; }
.hero.is-loaded .hero-search { animation: fadeUp 0.8s 600ms forwards; }
.hero.is-loaded .hero-cta-row { animation: fadeUp 0.8s 700ms forwards; }
.hero.is-loaded .hero-trust { animation: fadeUp 0.8s 800ms forwards; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphic search bar */
.hero-search {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: var(--radius-card);
  padding: 22px;
  margin: 0 auto 28px;
  max-width: 900px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.search-field { text-align: left; }
.search-field label {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.search-field select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15,42,71,0.1);
  border-radius: var(--radius-btn);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%230F2A47' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-trust {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-trust .trust-item::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.6rem;
}

/* Inner page hero (40-50vh) */
.inner-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 0 70px;
  background: linear-gradient(135deg, #0F2A47 0%, #1a3a5c 100%);
  overflow: hidden;
}
.inner-hero.with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.inner-hero.with-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,71,0.7) 0%, rgba(15,42,71,0.9) 100%);
}
.inner-hero .container { position: relative; z-index: 2; }
.inner-hero h1 { color: var(--white); }
.breadcrumb {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--soft-blue);
  letter-spacing: 1px;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: var(--gold); }

/* ----------------------------- Stats Bar -------------------------------- */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  border-top: 1px solid rgba(201,168,76,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* --------------------------- Property Card ------------------------------ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.property-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--soft-blue);
}
.property-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .property-media img { transform: scale(1.05); }

.property-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(15,42,71,0.2);
  z-index: 2;
}
.badge-available { background: var(--green); }
.badge-off-plan { background: var(--gold-deep); }
.badge-sold { background: var(--red); }

.viewing-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(15,42,71,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 11px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  animation: subtlePulse 2.5s infinite;
  z-index: 2;
}
.viewing-badge svg { width: 12px; height: 12px; opacity: 0.9; }
.viewing-badge .eye { font-size: 0.8rem; }
@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}

.wishlist-heart {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--slate);
  cursor: pointer;
  transition: transform var(--transition), color var(--transition), background var(--transition);
}
.wishlist-heart:hover { color: var(--red); transform: scale(1.1); }
.wishlist-heart.active {
  color: var(--red);
  background: var(--white);
}
.wishlist-heart.bounce { animation: heartBounce 0.4s ease; }
@keyframes heartBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.property-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.property-card.sold .property-price {
  text-decoration: line-through;
  color: var(--slate-light);
}
.property-loc {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 14px;
}
.property-loc strong { color: var(--navy); font-weight: 600; }

.property-specs {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--navy-10);
  border-bottom: 1px solid var(--navy-10);
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--slate);
}
.property-specs .spec {
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-specs .spec-icon { color: var(--gold-deep); }

.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.property-actions .btn-whatsapp {
  grid-column: 1 / -1;
}

/* ---------------------------- Service Card ------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid transparent;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.service-card .service-icon {
  font-size: 2.4rem;
  width: 80px; height: 80px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: 50%;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--slate); font-size: 0.95rem; }

.add-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.add-service-card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--navy-10);
  transition: transform var(--transition), border-color var(--transition);
  text-align: center;
}
.add-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.add-service-card .as-icon { font-size: 1.8rem; margin-bottom: 12px; }
.add-service-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.add-service-card p { font-size: 0.85rem; color: var(--slate); }

/* ------------------------- Detailed Service Card ------------------------ */
.service-detail {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 50px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-detail:hover { box-shadow: var(--shadow-lg); }
.service-detail:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.service-detail:nth-child(even) .sd-icon-wrap { order: 2; }
.service-detail .sd-icon-wrap {
  background: var(--soft-blue);
  border-radius: var(--radius-card);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.service-detail h3 { margin-bottom: 12px; }
.service-detail .sd-desc { color: var(--slate); margin-bottom: 24px; font-size: 1.02rem; }
.process-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.process-step {
  background: var(--gold-soft);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}
.process-step .step-num {
  color: var(--gold-deep);
  font-weight: 700;
  margin-right: 4px;
}

/* ------------------------------- Chart ---------------------------------- */
.chart-wrap {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}
.chart-wrap canvas { max-height: 400px; }
.chart-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: 18px;
  font-style: italic;
}

/* --------------------------- Why Choose --------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 38px 28px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}
.why-card .why-icon { font-size: 2.2rem; margin-bottom: 18px; }
.why-card h3 { color: var(--white); margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

.social-proof {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  border-top: 1px solid rgba(201,168,76,0.3);
}
.social-proof p {
  color: var(--white);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
}

/* ---------------------------- Testimonials ------------------------------ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--gold);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card .g-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold-deep);
  background: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  margin-bottom: 18px;
}
.testimonial-card .quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}
.testimonial-card .author { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.testimonial-card .author-meta { font-size: 0.82rem; color: var(--slate); margin-top: 4px; }

/* ------------------------ Mortgage Calculator --------------------------- */
.mortgage-calc {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.calc-inputs .calc-field { margin-bottom: 22px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.calc-field label .field-val {
  color: var(--gold-deep);
  font-family: var(--font-head);
  font-weight: 700;
}
.calc-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--soft-blue);
  border-radius: 3px;
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(15,42,71,0.25);
  border-radius: 50%;
  cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(15,42,71,0.25);
  border-radius: 50%;
  cursor: pointer;
}

.calc-output {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-output .monthly-label {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.calc-output .monthly-amt {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 26px;
  line-height: 1;
}
.calc-output .calc-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}
.calc-output .calc-row span:last-child { font-weight: 600; color: var(--white); }
.dti-warn {
  margin-top: 20px;
  padding: 14px;
  background: rgba(245,158,11,0.15);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
}

.accordion-toggle { display: none; }

/* Mobile-only mortgage accordion button */
#mc-accordion { display: none; }
@media (max-width: 768px) {
  #mc-accordion { display: inline-flex; }
  #mortgage-calc.collapsed .calc-inputs,
  #mortgage-calc.collapsed .calc-output { display: none; }
  #mortgage-calc.collapsed { grid-template-columns: 1fr; padding: 24px; }
}

/* ------------------------------ CTA Section ----------------------------- */
.final-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.final-cta h2 { color: var(--navy); margin-bottom: 16px; }
.final-cta p { color: var(--navy); font-size: 1.1rem; margin-bottom: 30px; opacity: 0.85; }
.final-cta .btn-navy { background: var(--navy); color: var(--gold); }
.final-cta .btn-navy:hover { background: #1a3a5c; }
.final-cta .call-line {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
}
.final-cta .call-line a { color: var(--navy); text-decoration: underline; }

/* ------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* ---------------------------- Filter Bar -------------------------------- */
.filter-bar {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-10);
  padding: 18px 0;
}
.filter-bar .container {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  background: var(--soft-blue);
  padding: 4px;
  border-radius: var(--radius-pill);
}
.filter-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.filter-tab.active { background: var(--navy); color: var(--white); }
.filter-select, .filter-search {
  padding: 9px 14px;
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-btn);
  background: var(--white);
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
}
.filter-search {
  flex: 1;
  min-width: 180px;
  appearance: none;
}
.compare-btn {
  margin-left: auto;
  background: var(--navy);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition);
}
.compare-btn.visible { opacity: 1; pointer-events: auto; }
.compare-btn:hover { background: var(--gold); color: var(--navy); }

/* Listing states */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.skeleton-card .skel {
  background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-card .skel.media { height: 220px; }
.skeleton-card .skel.line { height: 16px; margin: 16px 22px; border-radius: 4px; }
.skeleton-card .skel.line.short { width: 50%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.state-msg {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px dashed var(--navy-10);
}
.state-msg h3 { margin-bottom: 12px; }
.state-msg p { color: var(--slate); margin-bottom: 18px; }

/* Compare checkbox on cards */
.compare-toggle {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.95);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), color var(--transition);
}
.compare-toggle.active { background: var(--navy); color: var(--gold); }

/* ------------------------------ Modal ----------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,42,71,0.85);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow-y: auto;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-card);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-lg);
}
.modal-backdrop.open .modal { transform: scale(1); opacity: 1; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 5;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--navy); color: var(--white); }

.modal-gallery {
  position: relative;
  height: 380px;
  background: var(--navy);
  overflow: hidden;
}
.modal-gallery .gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-gallery .gallery-slide.active { opacity: 1; }
.modal-gallery .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}
.gallery-nav:hover { background: var(--gold); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.gallery-dots .dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}
.gallery-dots .dot.active { background: var(--gold); }

.tour-placeholder {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  z-index: 2;
}

.modal-body { padding: 36px 40px 40px; }
.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.modal-header-row .modal-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
}
.modal-header-row .modal-loc { color: var(--slate); font-size: 0.95rem; margin-top: 4px; }

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.spec-tile {
  background: var(--soft-blue);
  padding: 14px;
  border-radius: var(--radius-btn);
  text-align: center;
}
.spec-tile .spec-tile-icon { font-size: 1.4rem; margin-bottom: 6px; }
.spec-tile .spec-tile-val { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.spec-tile .spec-tile-label { font-size: 0.72rem; color: var(--slate); text-transform: uppercase; letter-spacing: 1px; }

.modal-section { margin-bottom: 28px; }
.modal-section h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.modal-section p, .modal-section li { color: var(--slate); font-size: 0.92rem; line-height: 1.7; }
.modal-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-amenities .amen {
  background: var(--soft-blue);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--navy);
}

.modal-agent {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--soft-blue);
  padding: 16px;
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}
.modal-agent img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.modal-agent .agent-info h5 { font-family: var(--font-head); font-size: 1.05rem; }
.modal-agent .agent-info p { font-size: 0.82rem; color: var(--slate); }

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.modal-actions .btn { font-size: 0.82rem; padding: 12px 16px; }

/* Compare modal table */
.compare-modal { max-width: 1100px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--navy-10);
}
.compare-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--soft-blue);
  color: var(--navy);
}
.compare-table .best-value {
  background: rgba(16,185,129,0.15);
  color: var(--green);
  font-weight: 700;
}
.compare-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 30px;
  border-top: 1px solid var(--navy-10);
}

/* ---------------------------- Floating Widgets -------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: var(--z-whatsapp);
  box-shadow: 0 6px 20px rgba(16,185,129,0.4);
  transition: transform var(--transition);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulseGreen 2s infinite;
  pointer-events: none;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Chatbot */
.chatbot-toggle {
  position: fixed;
  bottom: 30px; right: 100px;
  width: 64px; height: 64px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: var(--z-chatbot);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
  transition: transform var(--transition);
}
.chatbot-toggle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(201,168,76,0.5);
  animation: pulseGold 2s infinite;
  pointer-events: none;
}
@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}
.chatbot-toggle:hover { transform: scale(1.08); }

.chatbot-window {
  position: fixed;
  bottom: 110px; right: 30px;
  width: 340px;
  height: 480px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-chatbot);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.chatbot-window.open { opacity: 1; visibility: visible; transform: translateY(0); }
.chatbot-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-header .online-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: subtlePulse 2s infinite;
}
.chatbot-header h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.chatbot-header .status { font-size: 0.75rem; color: var(--soft-blue); }
.chatbot-close {
  margin-left: auto;
  color: var(--white);
  font-size: 1.4rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.chatbot-body {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  background: #f8fafc;
}
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg.bot {
  background: var(--white);
  color: var(--navy);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-msg.user {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}
.chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--slate-light);
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.chat-quick {
  padding: 0 14px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f8fafc;
}
.chat-quick .quick-btn {
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.chat-quick .quick-btn:hover { background: var(--gold); color: var(--navy); }
.chat-input-wrap {
  display: flex;
  gap: 6px;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--navy-10);
}
.chat-input-wrap input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
}
.chat-input-wrap button {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.chat-handoff {
  margin: 6px 14px 12px;
  padding: 10px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

/* ----------------------------- About Page ------------------------------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-story-grid p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--slate);
  margin-bottom: 20px;
}
.about-story-grid p:first-of-type::first-letter {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.4rem;
  float: left;
  line-height: 0.9;
  padding: 8px 14px 0 0;
  color: var(--gold-deep);
}
.about-quote-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-card);
  border-top: 3px solid var(--gold);
  position: sticky;
  top: 100px;
}
.about-quote-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-btn);
  margin-bottom: 24px;
}
.about-quote-card .quote-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--soft-blue);
  margin-bottom: 18px;
}
.about-quote-card .quote-author {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.92rem;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 24px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.timeline-item { text-align: center; position: relative; padding-top: 56px; }
.timeline-item::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 20px;
  background: var(--gold);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .year {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--navy);
}
.timeline-item h4 { margin: 6px 0 10px; }
.timeline-item p { font-size: 0.9rem; color: var(--slate); }

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.cert-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.cert-card .cert-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--slate-light);
  margin-bottom: 10px;
  filter: grayscale(100%);
  transition: filter var(--transition), color var(--transition);
}
.cert-card:hover .cert-logo { filter: grayscale(0); color: var(--navy); }
.cert-card p { font-size: 0.82rem; color: var(--slate); }

/* ----------------------------- Agents Page ------------------------------ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.agent-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}
.agent-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.agent-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  margin: 0 auto 22px;
  border: 3px solid var(--gold);
  overflow: hidden;
  position: relative;
}
.agent-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.agent-card:hover .agent-photo img { filter: grayscale(0%); }
.agent-name { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); margin-bottom: 4px; }
.agent-role {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.agent-rera { font-size: 0.78rem; color: var(--slate); margin-bottom: 14px; }
.agent-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--slate);
}
.agent-stats .ag-stat strong { display: block; color: var(--navy); font-size: 1.1rem; font-family: var(--font-head); }
.agent-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; }
.agent-tags .tag {
  background: var(--gold-soft);
  color: var(--gold-deep);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.agent-actions { display: flex; gap: 10px; justify-content: center; }

/* ---------------------------- Contact Page ------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.contact-info-card h3 { margin-bottom: 22px; font-size: 1.3rem; }
.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.contact-list .ci-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--soft-blue);
  color: var(--gold-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-list .ci-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
}
.contact-list .ci-val { font-weight: 600; color: var(--navy); }
.contact-list .ci-val a:hover { color: var(--gold-deep); }

.contact-map-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.contact-map-card iframe { width: 100%; height: 360px; border: 0; display: block; }
.contact-map-card .map-footer { padding: 22px 26px; }
.contact-map-card h3 { margin-bottom: 10px; }
.contact-map-card p { color: var(--slate); font-size: 0.9rem; margin-bottom: 14px; }

.tally-embed {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
  padding: 30px;
}
.tally-embed h3 { margin-bottom: 18px; }
.tally-embed iframe { width: 100%; min-height: 480px; border: 0; }

/* ------------------------- Scroll Reveal Anim --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 500ms; }

.page-fade {
  opacity: 0;
  animation: pageFade 0.6s ease forwards;
}
@keyframes pageFade {
  to { opacity: 1; }
}

/* --------------------------- Reduced Motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none !important; }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .property-grid, .service-grid, .why-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .add-services { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline::before { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .mortgage-calc { grid-template-columns: 1fr; gap: 24px; }
  .about-story-grid { grid-template-columns: 1fr; }
  .about-quote-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail, .service-detail:nth-child(even) { grid-template-columns: 1fr; }
  .service-detail .sd-icon-wrap, .service-detail:nth-child(even) .sd-icon-wrap { order: 0; height: 160px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .site-header { padding: 16px 0; }
  .section-pad { padding: 70px 0; }
  .section-pad-lg { padding: 80px 0; }

  .hero-search-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .hero-trust { gap: 18px; flex-direction: column; }
  .hero-trust .trust-item { font-size: 0.8rem; }

  .property-grid, .service-grid, .why-grid, .testimonial-grid, .agents-grid {
    grid-template-columns: 1fr;
  }
  .add-services { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }

  .filter-bar .container { gap: 10px; }
  .filter-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .filter-tab { white-space: nowrap; }
  .filter-search { width: 100%; flex-basis: 100%; }

  .modal-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-actions { grid-template-columns: 1fr; }
  .modal-body { padding: 24px 20px 30px; }
  .modal-gallery { height: 240px; }

  .mortgage-calc { padding: 24px; }
  .calc-output { padding: 26px 20px; }
  .calc-output .monthly-amt { font-size: 2.2rem; }

  .chatbot-window { width: calc(100vw - 30px); right: 15px; bottom: 100px; height: 70vh; }
  .chatbot-toggle { right: 20px; bottom: 20px; }
  .whatsapp-fab { right: 20px; bottom: 95px; width: 52px; height: 52px; font-size: 1.4rem; }

  .property-actions { grid-template-columns: 1fr; }

  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .add-services { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .cert-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 60px; }
}

/* Print */
@media print {
  .site-header, .filter-bar, .whatsapp-fab, .chatbot-toggle, .chatbot-window, .modal-backdrop, .final-cta { display: none !important; }
  body { color: #000; background: #fff; }
}
