/* ==========================================================================
   DEV REAL ESTATES - ROYAL GOLD & LUXURY BLACK PALETTE
   Matched to the official DEV REAL-ESTATE Gold & Black Brand Logo
   ========================================================================== */

:root {
  /* Core Brand Colors — Matched to Logo */
  --primary:        #c59b27;      /* Royal Metallic Gold */
  --primary-dark:   #9e7b1a;      /* Deep Gold */
  --primary-light:  #e0b746;      /* Bright Champagne Gold */
  --primary-glow:   rgba(197, 155, 39, 0.22);
  --gold-gradient:  linear-gradient(135deg, #dfb743 0%, #c59b27 50%, #9e7b1a 100%);
  --gold-glow:      0 8px 25px rgba(223, 183, 67, 0.4);

  --dark:           #0b0e14;      /* Deep Obsidian Black */
  --dark-2:         #121722;      /* Midnight Charcoal */
  --dark-card:      #181e2b;
  --charcoal:       #1f2937;

  --accent-gold:    #dfb743;      /* Metallic Gold */
  --accent-green:   #10b981;      /* Verified Emerald */

  /* High Contrast Typography for Maximum Readability on All Devices */
  --text-dark:      #0b0e14;      /* Crisp Pure Black for Headings */
  --text-body:      #1f2937;      /* Deep Charcoal for Body Text */
  --text-muted:     #4b5563;      /* Strong Slate for Secondary Details */
  --text-white:     #ffffff;

  /* Backgrounds */
  --bg-white:       #ffffff;
  --bg-light:       #f8fafc;
  --bg-light-2:     #f1f5f9;
  --bg-dark:        #0b0e14;

  /* Borders */
  --border:         #e2e8f0;
  --border-dark:    #cbd5e1;
  --border-gold:    rgba(223, 183, 67, 0.4);

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:      0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl:      0 16px 48px rgba(0,0,0,0.16);
  --shadow-card:    0 2px 10px rgba(11,14,20,0.06), 0 10px 28px rgba(11,14,20,0.04);
  --shadow-hover:   0 12px 36px rgba(197, 155, 39, 0.28);

  /* Typography */
  --font-sans:      'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading:   'Outfit', var(--font-sans);

  /* Radii */
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  /* Transition */
  --transition:     all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; outline: none; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding    { padding: 5rem 0; }
.section-padding-sm { padding: 3rem 0; }

.bg-light  { background: var(--bg-light); }
.bg-light-2 { background: var(--bg-light-2); }
.bg-dark   { background: var(--bg-dark); color: var(--text-white); }
.bg-white  { background: var(--bg-white); }

.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-gold    { color: var(--accent-gold); }
.text-green   { color: var(--accent-green); }
.text-muted   { color: var(--text-muted); }

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
  border-left: 3px solid var(--primary);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header { margin-bottom: 3rem; }
.section-header.text-center .section-subtitle { margin: 0 auto; }

.gradient-text {
  color: #dfb743; /* High-contrast solid fallback for mobile browsers */
  background: linear-gradient(135deg, #f5d77f 0%, #dfb743 45%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-color: #dfb743;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #eed27c 0%, #dfb743 50%, #b8860b 100%);
  border-color: #eed27c;
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-color: #dfb743;
  box-shadow: var(--gold-glow);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-color: #dfb743;
}
.btn-gold:hover {
  box-shadow: var(--gold-glow);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #dfb743;
  color: #dfb743;
}

.btn-search {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-radius: var(--radius-md);
  padding: 0.75rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid #dfb743;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
}
.btn-search:hover {
  background: linear-gradient(135deg, #eed27c 0%, #dfb743 50%, #b8860b 100%);
  box-shadow: var(--gold-glow);
  transform: translateY(-1px);
}

.btn-lg { padding: 0.95rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* WhatsApp Button */
.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ==========================================================================
   BUYER REQUIREMENTS SECTION
   ========================================================================== */
.buyer-req-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.buyer-benefits {
  background: var(--dark);
  padding: 2.5rem;
  height: 100%;
}

.buyer-benefits-title {
  font-size: 1.2rem;
  color: white;
  font-weight: 800;
  margin-bottom: 1.75rem;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.benefit-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: rgba(192,57,43,0.2);
  border: 1px solid rgba(192,57,43,0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5a79a;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.benefit-list strong {
  display: block;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.benefit-list p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.direct-contact-box {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
}

.direct-contact-box p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.direct-contact-box { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.75rem; }
.direct-contact-box p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 0.85rem; }
.direct-contact-box .btn { margin-bottom: 0.65rem; justify-content: center; }

.buyer-req-form-panel {
  padding: 2.5rem;
}

.buyer-req-form .form-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .buyer-req-wrapper { grid-template-columns: 1fr; }
  .buyer-benefits { padding: 2rem; }
  .buyer-req-form-panel { padding: 2rem; }
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-left i, .top-bar-right i { color: var(--primary); }

.top-bar-right a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.top-bar-right a:hover { color: var(--primary); }

.top-bar .divider { opacity: 0.25; }

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,26,46,0.07);
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  max-height: 52px;
}

/* Actual Logo Image */
.logo-img {
  height: 50px !important;
  width: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: 0.02em;
}

.logo-title .accent { color: var(--primary); }

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* Main Nav */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.mobile-toggle {
  display: none;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.mobile-toggle:hover { background: var(--primary); color: #0b0e14; border-color: var(--primary); }
.mobile-toggle.active {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-color: #dfb743;
  box-shadow: 0 2px 10px rgba(197, 155, 39, 0.35);
}

/* Mobile Nav Backdrop Overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Elevate header and drawer above the backdrop */
.site-header.drawer-active,
body.nav-drawer-open .site-header {
  z-index: 2010 !important;
}

body.nav-drawer-open .main-nav,
.site-header.drawer-active .main-nav {
  z-index: 2015 !important;
  background: #ffffff !important;
}

body.nav-drawer-open .mobile-toggle,
.site-header.drawer-active .mobile-toggle {
  z-index: 2020 !important;
}

/* Hide floating widgets when mobile navigation drawer is active to prevent overlap */
body.nav-drawer-open .jimmy-launcher,
body.nav-drawer-open .jimmy-backdrop,
body.nav-drawer-open .floating-actions,
body.nav-drawer-open .tour3d-modal {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.85) !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
}

/* Nav Drawer Header */
.nav-drawer-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg-light);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-logo {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  border-radius: 6px;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.drawer-subtitle {
  font-size: 0.64rem;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.nav-drawer-close {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-drawer-close:hover,
.nav-drawer-close:active {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-color: #dfb743;
}

/* Nav Drawer Quick Contact Footer */
.nav-drawer-footer {
  display: none;
  margin-top: auto;
  padding: 1.25rem 1.25rem 1rem;
  border-top: 1.5px solid var(--border);
  background: var(--bg-light);
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.drawer-contact-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.drawer-btn-wa {
  background: #25D366;
  color: #ffffff;
}
.drawer-btn-wa:hover {
  background: #1da851;
  color: #ffffff;
}

.drawer-btn-call {
  background: var(--gold-gradient);
  color: #0b0e14;
  border: 1px solid #dfb743;
}
.drawer-btn-call:hover {
  background: linear-gradient(135deg, #eed27c 0%, #dfb743 50%, #b8860b 100%);
  color: #0b0e14;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 26, 46, 0.88) 0%,
    rgba(26, 26, 46, 0.7) 50%,
    rgba(192, 57, 43, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(223, 183, 67, 0.18);
  border: 1.5px solid rgba(223, 183, 67, 0.55);
  color: #f3d06a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #f1f5f9;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.5rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Search Widget */
.search-widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.search-tabs {
  display: flex;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0.4rem 0;
  gap: 0.25rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  background: var(--bg-white);
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.search-form {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 1.25rem;
  flex-wrap: wrap;
}

.input-group {
  flex: 1;
  min-width: 160px;
  padding: 0 0.75rem;
  border-right: 1px solid var(--border);
}
.input-group:first-child { padding-left: 0; }
.input-group:last-of-type { border-right: none; }

.input-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.input-group label i { color: var(--primary); }

.input-group input,
.input-group select {
  width: 100%;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  padding: 0.25rem 0;
  appearance: none;
}
.input-group input::placeholder { color: var(--text-muted); }

.hero-stats {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ==========================================================================
   BADGE SYSTEM
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-featured { background: var(--primary); color: white; }
.badge-verified  { background: var(--accent-green); color: white; }
.badge-new       { background: var(--dark); color: white; }
.badge-sco       { background: var(--accent-gold); color: white; }
.badge-ai        { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); color: #fef08a; border: 1px solid rgba(254, 240, 138, 0.45); box-shadow: 0 2px 8px rgba(49, 46, 129, 0.35); }
.badge-real-photo { background: #064e3b; color: #a7f3d0; border: 1px solid rgba(167, 243, 208, 0.4); }

.ai-image-disclaimer {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.08) 0%, rgba(30, 27, 75, 0.04) 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.35);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #1e1b4b;
}

.ai-image-disclaimer i {
  font-size: 1.35rem;
  color: #4f46e5;
  flex-shrink: 0;
}

/* ==========================================================================
   PROPERTY CARDS
   ========================================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.property-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(192,57,43,0.2);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100% !important;
  flex-shrink: 0 !important;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

.card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  z-index: 2;
}

.card-price {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: var(--bg-white);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap !important;
  z-index: 3;
}

.card-body {
  padding: 1.4rem;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.card-location i { color: var(--primary); }

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-specs span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
}
.card-specs i { color: var(--primary); font-size: 0.78rem; }

.card-footer {
  display: flex;
  gap: 0.65rem;
}

.card-footer .btn {
  flex: 1;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   SCO SECTION
   ========================================================================== */
.sco-section { background: var(--dark); color: var(--text-white); }

.sco-banner-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sco-content .section-eyebrow {
  background: rgba(230,126,34,0.18);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.sco-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--text-white);
  margin-bottom: 1rem;
  font-weight: 800;
}

.sco-desc { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }

.sco-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }

.sco-feat-item { display: flex; gap: 0.9rem; align-items: flex-start; }

.feat-icon {
  width: 42px;
  height: 42px;
  background: rgba(230,126,34,0.18);
  border: 1px solid rgba(230,126,34,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.sco-feat-item h4 { font-size: 0.9rem; color: var(--text-white); margin-bottom: 0.2rem; font-weight: 700; }
.sco-feat-item p  { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.sco-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.sco-image-side { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.sco-image-side img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius-xl); }

.floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-xl);
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-gold), #d35400);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.floating-badge strong { display: block; font-size: 0.9rem; color: var(--text-dark); font-weight: 700; }
.floating-badge small  { font-size: 0.75rem; color: var(--text-muted); }

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-group { margin-bottom: 1.75rem; }

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.calc-label-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.calc-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
}

.slider {
  width: 100%;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--border);
  appearance: none;
  cursor: pointer;
  outline: none;
}
.slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(192,57,43,0.4);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.calc-results-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: white;
  position: sticky;
  top: 100px;
}

.result-header { text-align: center; margin-bottom: 1.75rem; }

.result-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); display: block; margin-bottom: 0.5rem; }

.monthly-emi {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1;
}

.calc-breakdown { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; margin-bottom: 1.75rem; }

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
}

.breakdown-row span { color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 0.5rem; }
.breakdown-row strong { color: white; font-weight: 700; }
.breakdown-row.total-row { border-bottom: none; }
.breakdown-row.total-row strong { color: var(--primary); font-size: 1rem; }

.text-primary i { color: var(--primary); }
.text-gold i    { color: var(--accent-gold); }

/* ==========================================================================
   ABOUT / PILLARS SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images { position: relative; }

.primary-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.primary-img img { width: 100%; height: 440px; object-fit: cover; }

.experience-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(192,57,43,0.4);
}

.exp-num  { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.exp-text { display: block; font-size: 0.78rem; margin-top: 0.3rem; opacity: 0.88; }

.about-p { font-size: 1rem; color: var(--text-body); line-height: 1.75; margin-bottom: 1rem; }

.pillars-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }

.pillar-item { display: flex; gap: 1rem; align-items: flex-start; }

.pillar-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-glow);
  border: 1.5px solid rgba(192,57,43,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-item h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.25rem; font-weight: 700; }
.pillar-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-accordion-wrapper { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }

.faq-item {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-hover); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-dark);
  list-style: none;
  gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question { color: var(--primary); }

.toggle-icon { color: var(--primary); font-size: 0.85rem; transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] .toggle-icon { transform: rotate(180deg); }

.faq-answer { padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
}

.contact-info-panel {
  padding: 3rem;
  background: var(--dark);
  color: white;
}

.contact-info-panel .section-eyebrow {
  background: rgba(230,126,34,0.18);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.contact-title { font-size: 1.6rem; color: white; margin-bottom: 0.75rem; font-weight: 800; }
.contact-subtitle { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2rem; }

.contact-channels { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }

.channel-item { display: flex; align-items: flex-start; gap: 1rem; }

.chan-icon {
  width: 42px;
  height: 42px;
  background: rgba(192,57,43,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5a79a;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(192,57,43,0.3);
}

.channel-item strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.9); margin-bottom: 0.2rem; }
.channel-item p, .channel-item a { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.channel-item a:hover { color: var(--primary); }

.social-links { display: flex; gap: 0.65rem; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: white; }

.contact-form-panel { padding: 3rem; }

.form-title { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 0.35rem; font-weight: 800; }
.form-sub   { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.4rem; }

.req { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group textarea { resize: vertical; }

.privacy-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.85rem; }
.privacy-note i { color: var(--accent-green); }

/* ==========================================================================
   PAGE HERO (Inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.55) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.page-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 560px; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb-wrap {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
}

.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .current { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   TIMELINE (About page)
   ========================================================================== */
.timeline-wrap { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 105px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 99px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
  padding-top: 0.1rem;
}

.timeline-content {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   TEAM CARDS
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }

.team-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: rgba(192,57,43,0.2); }

.team-img-wrap { height: 280px; overflow: hidden; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }

.team-body { padding: 1.4rem; }
.team-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.team-role { font-size: 0.8rem; font-weight: 600; color: var(--primary); margin-bottom: 0.6rem; }
.team-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ==========================================================================
   ABOUT SECTION (Index page pillars grid)
   ========================================================================== */
.about-content .section-eyebrow {
  /* inherits default red */
}

/* ==========================================================================
   FILTER CONTROLS (Properties index)
   ========================================================================== */
.filter-controls { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.filter-btn {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-col .brand-logo { margin-bottom: 1rem; }
.footer-col .logo-title { color: white; }

.footer-desc { font-size: 0.88rem; line-height: 1.75; margin-bottom: 1.25rem; color: rgba(255,255,255,0.55); }

.rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(39,174,96,0.15);
  border: 1px solid rgba(39,174,96,0.3);
  color: #6ee7a9;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

.footer-heading { font-size: 0.85rem; font-weight: 700; color: white; margin-bottom: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; }

.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-text { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 1rem; }

.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: white;
  font-size: 0.87rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--primary); background: rgba(255,255,255,0.1); outline: none; }

.newsletter-form button {
  padding: 0.65rem 1.1rem;
  background: var(--primary);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--primary-dark); }

.footer-bottom { padding: 1.25rem 0; }
.footer-bottom-inner { font-size: 0.82rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.75rem; }

.legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.legal-links a { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.legal-links a:hover { color: var(--primary); }

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 900;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25D366; }
.float-phone    { background: var(--primary); }
.float-top      { background: var(--dark); }

.float-tooltip {
  position: absolute;
  right: 58px;
  background: var(--dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-btn:hover .float-tooltip { opacity: 1; }


/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.75);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.modal-title { font-size: 1.3rem; font-weight: 800; color: var(--text-dark); }
.modal-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

.modal-close {
  width: 34px; height: 34px;
  background: var(--bg-light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: var(--primary); color: white; }

.modal-body { padding: 1.75rem 2rem; }
.modal-footer { padding: 1.25rem 2rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; justify-content: flex-end; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   PROPERTIES PAGE — FILTER SIDEBAR
   ========================================================================== */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }

.filter-sidebar {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.sidebar-reset { font-size: 0.78rem; color: var(--primary); cursor: pointer; font-weight: 600; }
.sidebar-reset:hover { text-decoration: underline; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; display: block; }

.checkbox-list { display: flex; flex-direction: column; gap: 0.55rem; }
.checkbox-item { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.checkbox-item span { font-size: 0.87rem; color: var(--text-body); }

.price-range-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.price-range-display { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; color: var(--primary); }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 0.75rem; }

.results-count { font-size: 0.88rem; color: var(--text-muted); }
.results-count strong { color: var(--text-dark); }

.view-toggle-btn {
  width: 36px; height: 36px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.view-toggle-btn.active, .view-toggle-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.toolbar-sort select {
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--bg-white);
}

/* ==========================================================================
   SEARCH (Catalog page)
   ========================================================================== */
.catalog-search-bar {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
  margin-bottom: 1.25rem;
}

.catalog-search-bar input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: none;
  font-size: 0.95rem;
  background: transparent;
}

.catalog-search-bar button {
  padding: 0.85rem 1.5rem;
  background: var(--primary);
  border: none;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.catalog-search-bar button:hover { background: var(--primary-dark); }

/* ==========================================================================
   SCO PAGE SPECIFIC
   ========================================================================== */
.sco-roi-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; border-radius: var(--radius-md); overflow: hidden; }
.sco-roi-table th { background: var(--primary); color: white; padding: 0.85rem 1.25rem; text-align: left; font-size: 0.85rem; font-weight: 700; }
.sco-roi-table td { padding: 0.85rem 1.25rem; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.sco-roi-table tr:hover td { background: var(--bg-light); }
.sco-roi-table .highlight { color: var(--primary); font-weight: 700; }

/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .calculator-container { grid-template-columns: 1fr; }
  .calc-results-card { position: static; }
  .sco-banner-wrapper { grid-template-columns: 1fr; }
  .sco-image-side img { height: 320px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .experience-card { position: static; display: flex; justify-content: center; gap: 1rem; margin-top: 1.25rem; border-radius: var(--radius-md); }
  .contact-card-wrapper { grid-template-columns: 1fr; }
  .contact-info-panel { padding: 2rem; }
  .contact-form-panel { padding: 2rem; }
}

/* ==========================================================================
   RESPONSIVE — TABLET & MOBILE
   ========================================================================== */
@media (max-width: 900px) {
  .header-actions .btn { display: none; }
  .mobile-toggle { display: flex; }
  .properties-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* ======================================================
     CRITICAL: 100% Mobile Viewport Lock - Zero Horizontal Drift
     ====================================================== */
  html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    touch-action: pan-y !important;
  }

  /* Force container and sections to fit exactly within screen width */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  main, section, article, footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

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

  /* Prevent buttons and badges from blowing out container with nowrap */
  .btn {
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
  }

  .btn-block {
    width: 100% !important;
  }

  .hero-badge {
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  .top-bar {
    font-size: 0.75rem;
    padding: 0.45rem 0;
  }
  .top-bar-left { display: none; }
  .top-bar-right {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .top-bar-right a {
    font-size: 0.75rem;
  }

  .header-content {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    max-height: 40px !important;
    flex-shrink: 0 !important;
  }
  .logo-img {
    height: 40px !important;
    width: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  /* Bulletproof Drawer: translateX(105%) prevents horizontal canvas growth */
  .mobile-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 1002 !important;
  }

  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 86% !important;
    max-width: 330px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35) !important;
    z-index: 2015 !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s !important;
    padding: 0 0 1.5rem !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .main-nav.open, .main-nav.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-drawer-header { display: flex !important; }
  .nav-drawer-footer { display: flex !important; }

  .main-nav .nav-list {
    flex-direction: column !important;
    gap: 0.35rem !important;
    width: 100% !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }

  .nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 0.88rem 1.15rem !important;
    border-radius: 8px !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: #0b0e14 !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
  }

  .nav-link::after { display: none !important; }

  .nav-link:hover, .nav-link.active {
    background: rgba(197, 155, 39, 0.16) !important;
    color: #9e7b1a !important;
  }

  .hero-section { min-height: auto; padding: 4.5rem 0 3rem; width: 100% !important; max-width: 100% !important; }
  .hero-content { padding: 1rem 0; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.2rem); line-height: 1.25; margin-bottom: 0.85rem; word-break: break-word; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.75rem; line-height: 1.6; }

  .search-widget {
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .search-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    padding: 0.35rem 0.5rem 0;
    gap: 0.25rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .search-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; padding: 0.55rem 0.85rem; font-size: 0.8rem; }

  .search-form {
    flex-direction: column;
    padding: 1rem;
    gap: 0.65rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .input-group {
    padding: 0.4rem 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
  }
  .input-group:last-of-type { border-bottom: none; }
  .btn-search { width: 100% !important; justify-content: center; padding: 0.85rem 1.5rem; margin-top: 0.4rem; }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }
  .stat-box {
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-sizing: border-box;
  }
  .stat-number { font-size: 1.35rem; }
  .stat-label { font-size: 0.72rem; }

  .section-padding { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; width: 100%; box-sizing: border-box; }
  .section-title { font-size: 1.55rem; line-height: 1.3; }
  .section-subtitle { font-size: 0.9rem; }

  .filter-controls {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    touch-action: pan-x;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .filter-controls::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }

  .properties-grid {
    grid-template-columns: 100% !important;
    gap: 1.5rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .property-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .card-image-wrap {
    height: 220px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }
  .card-body {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .sco-banner-wrapper {
    grid-template-columns: 100% !important;
    gap: 2rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sco-image-side {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sco-image-side img { height: 240px; width: 100% !important; object-fit: cover; }
  .sco-features-grid {
    grid-template-columns: 100% !important;
    gap: 1rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sco-actions { flex-direction: column; width: 100% !important; gap: 0.75rem; }
  .sco-actions .btn { width: 100% !important; justify-content: center; }

  .calculator-container {
    grid-template-columns: 100% !important;
    gap: 2rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calc-results-card {
    position: static;
    padding: 1.5rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .monthly-emi { font-size: 2rem; }

  .about-grid {
    grid-template-columns: 100% !important;
    gap: 2rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .experience-card {
    position: static !important;
    margin-top: 1rem !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buyer Requirements Full-Width Responsive Stack */
  .buyer-req-wrapper {
    grid-template-columns: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-lg);
  }
  .buyer-benefits {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5rem 1.15rem !important;
  }
  .buyer-req-form-panel {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5rem 1.15rem !important;
  }
  .direct-contact-box {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .direct-contact-box .btn {
    width: 100% !important;
    margin-bottom: 0.65rem;
    justify-content: center;
  }
  .form-row {
    grid-template-columns: 100% !important;
    gap: 0 !important;
    width: 100% !important;
  }
  .form-group {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Contact Section Full-Width Responsive Stack */
  .contact-card-wrapper {
    grid-template-columns: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-lg);
  }
  .contact-info-panel {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5rem 1.15rem !important;
  }
  .contact-form-panel {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5rem 1.15rem !important;
  }

  .footer-top { grid-template-columns: 100% !important; gap: 2rem; padding: 3rem 0 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .legal-links { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

  .floating-actions { bottom: 1.15rem; right: 0.85rem; gap: 0.45rem; z-index: 990; }
  .float-btn { width: 42px; height: 42px; font-size: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
  .float-btn.float-top { width: 36px; height: 36px; font-size: 0.85rem; align-self: center; }
  .properties-section { padding-bottom: 5rem !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .hero-badge { font-size: 0.68rem; padding: 0.35rem 0.75rem; }
  .card-body { padding: 1.15rem; }
  .card-footer { flex-direction: column; gap: 0.5rem; }
  .card-footer .btn { width: 100%; }
  .stat-box { padding: 0.65rem 0.85rem; }
  .stat-number { font-size: 1.2rem; }
  .properties-section { padding-bottom: 5.5rem !important; }
}

/* ==========================================================================
   LEGAL PAGES (Privacy, Terms, Disclaimers)
   ========================================================================== */
.legal-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--text-white);
  padding: 4.5rem 0 3.5rem;
  border-bottom: 3px solid var(--primary);
  position: relative;
}

.legal-hero-content {
  max-width: 860px;
}

.legal-page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-white);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.legal-page-meta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.legal-page-meta i {
  color: var(--primary-light);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title i {
  color: var(--primary);
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.legal-toc a {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.legal-toc a:hover {
  color: var(--primary);
  background: var(--primary-glow);
  padding-left: 0.85rem;
  font-weight: 600;
}

.legal-content {
  background: var(--bg-white);
}

.legal-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--primary-glow);
  border: 1.5px solid rgba(192, 57, 43, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-alert i {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.legal-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--border);
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem 0;
  padding-left: 0;
}

.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

.legal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 800;
}

.legal-contact-box {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-contact-box p {
  margin-bottom: 0 !important;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-contact-box i {
  color: var(--primary);
  width: 18px;
}

.legal-contact-box a {
  color: var(--primary);
  font-weight: 600;
}

.legal-contact-box a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-toc {
    position: static;
  }
}

/* ==========================================================================
   FLOATING QUICK ACTIONS & TOASTS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: var(--transition);
  position: relative;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
}

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

.float-whatsapp {
  background: #25D366;
  border-color: #25D366;
}
.float-whatsapp:hover {
  box-shadow: 0 10px 28px rgba(37,211,102,0.45);
}

.float-phone {
  background: var(--dark);
  border-color: #dfb743;
  color: #dfb743;
}
.float-phone:hover {
  background: #000;
  box-shadow: 0 10px 28px rgba(223, 183, 67, 0.45);
}

.float-top {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  display: none;
}
.float-top:hover {
  background: var(--primary);
  color: #0b0e14;
}

.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(223, 183, 67, 0.3);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}


/* ==========================================================================
   JIMMY - AI REAL ESTATE CHAT ASSISTANT
   ========================================================================== */
.jimmy-launcher {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 1999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #0b0e14 0%, #1a2232 100%);
  border: 2px solid #dfb743;
  color: white;
  padding: 0.6rem 1.25rem 0.6rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(223, 183, 67, 0.35);
  cursor: pointer;
  transition: var(--transition);
  animation: jimmyPulse 3s infinite;
}

.jimmy-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(223, 183, 67, 0.6);
  border-color: #f3d06a;
}

@keyframes jimmyPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 16px rgba(223, 183, 67, 0.25); }
  50%      { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 26px rgba(223, 183, 67, 0.55); }
}

.jimmy-avatar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0e14;
  font-size: 1.25rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(223, 183, 67, 0.4);
}

.jimmy-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #0b0e14;
  border-radius: 50%;
}

.jimmy-launcher-text {
  display: flex;
  flex-direction: column;
}

.jimmy-launcher-title {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #f3d06a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.jimmy-launcher-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   PROPERTY DETAILS MODAL
   ========================================================================== */
.property-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 650px;
  width: 92vw;
  background: #ffffff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(223, 183, 67, 0.25);
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100000 !important;
  display: none;
}

.property-modal[open],
.property-modal.open {
  display: flex !important;
  flex-direction: column;
}

.property-modal::backdrop {
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid #dfb743;
  color: #dfb743;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #dfb743;
  color: #0b0e14;
}

/* Jimmy Chat Backdrop Overlay */
.jimmy-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 20, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999 !important;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.jimmy-backdrop.open {
  display: block !important;
  opacity: 1 !important;
}

/* Chat Window Modal */
.jimmy-chat-window {
  position: fixed;
  bottom: 5.8rem;
  left: 2rem;
  width: 390px;
  max-width: calc(100vw - 2rem);
  height: 560px;
  max-height: calc(100vh - 7.5rem);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 30px rgba(223, 183, 67, 0.25);
  z-index: 100000 !important;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #dfb743;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom left;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
}

.jimmy-chat-window.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.jimmy-header {
  background: linear-gradient(135deg, #0b0e14 0%, #1a2232 100%);
  color: white;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(223, 183, 67, 0.4);
}

.jimmy-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jimmy-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0e14;
  font-size: 1.15rem;
  position: relative;
}

.jimmy-header-title {
  font-size: 1rem;
  font-weight: 800;
  color: #f3d06a;
  line-height: 1.1;
}

.jimmy-header-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.jimmy-header-sub::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
}

.jimmy-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.jimmy-close-btn:hover {
  background: #dfb743;
  color: #0b0e14;
}

/* Chat Messages Container */
.jimmy-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.jimmy-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  animation: fadeInMsg 0.25s ease;
  word-wrap: break-word;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.jimmy-msg.bot {
  align-self: flex-start;
  background: var(--bg-white);
  color: #1f2937;
  border: 1.5px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.jimmy-msg.bot strong {
  color: #0b0e14;
}

.jimmy-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #dfb743 0%, #c59b27 100%);
  color: #0b0e14;
  font-weight: 600;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
}

/* Quick prompt pills */
.jimmy-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.jimmy-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0b0e14;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.jimmy-chip:hover {
  background: #dfb743;
  color: #0b0e14;
  border-color: #dfb743;
}

/* Typing Indicator */
.jimmy-typing {
  display: none;
  align-self: flex-start;
  background: white;
  border: 1.5px solid var(--border);
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  gap: 0.3rem;
  align-items: center;
}

.jimmy-typing.active {
  display: flex;
}

.jimmy-typing span {
  width: 6px;
  height: 6px;
  background: #dfb743;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.jimmy-typing span:nth-child(1) { animation-delay: -0.32s; }
.jimmy-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40%           { transform: scale(1); }
}

/* Chat Input Bar */
.jimmy-input-bar {
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border-top: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jimmy-input-bar input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: #f8fafc;
  outline: none;
  transition: var(--transition);
}

.jimmy-input-bar input:focus {
  border-color: #dfb743;
  background: white;
  box-shadow: 0 0 0 3px rgba(223, 183, 67, 0.2);
}

.jimmy-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0e14;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(223, 183, 67, 0.3);
}

.jimmy-send-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--gold-glow);
}

/* ==========================================================================
   CREATIVE SCROLL & ENTRY ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Subtle title letters stagger animation */
.reveal-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-title.active {
  opacity: 1;
  transform: translateY(0);
}

/* Card Hover Elevation */
.property-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.property-card:hover {
  transform: translateY(-8px);
  border-color: #dfb743;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12), 0 0 20px rgba(223, 183, 67, 0.18);
}

/* Founder Yashas Gowda D VIP Card Styling */
.founder-vip-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(145deg, #0b0e14 0%, #131722 100%);
  border: 2px solid #dfb743;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 35px rgba(223, 183, 67, 0.2);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.founder-vip-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(223, 183, 67, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.founder-photo-frame {
  width: 170px;
  height: 170px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #dfb743;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(223, 183, 67, 0.5);
  position: relative;
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.founder-photo-frame:hover img {
  transform: scale(1.06);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.founder-role-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: #0b0e14;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(223, 183, 67, 0.35);
}

.founder-bio {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.founder-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .jimmy-launcher {
    bottom: 1.25rem !important;
    left: 1rem !important;
    padding: 0.45rem 0.9rem 0.45rem 0.45rem;
    gap: 0.45rem;
  }
  .jimmy-avatar-icon { width: 38px; height: 38px; font-size: 1.05rem; }
  .jimmy-launcher-title { font-size: 0.84rem; }
  .jimmy-launcher-sub { display: none; }
  
  .jimmy-chat-window {
    left: 0.6rem !important;
    right: 0.6rem !important;
    bottom: 0.75rem !important;
    width: auto !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    height: 82vh !important;
    max-height: 580px !important;
    border-radius: 20px !important;
    transform-origin: bottom center !important;
  }

  .founder-vip-card { padding: 2rem 1.5rem; }
  .founder-name { font-size: 1.5rem; }
  .founder-photo-frame { width: 140px; height: 140px; }
}

/* ==========================================================================
   NO-RESULTS VIP REQUIREMENT BOX (When property is not found)
   ========================================================================== */
.no-results-vip-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0b0e14 0%, #151b27 100%);
  border: 2px solid #dfb743;
  border-radius: 16px;
  padding: 2.75rem 2rem;
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(223, 183, 67, 0.15);
  margin: 1.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.no-results-vip-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(223, 183, 67, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.no-results-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: rgba(223, 183, 67, 0.15);
  border: 2px solid #dfb743;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #dfb743;
}

.no-results-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.no-results-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.no-results-callout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 183, 67, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.callout-phone-box {
  margin: 1rem 0;
}

.callout-phone-text {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.callout-phone-text strong {
  color: #dfb743;
}

.no-results-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.no-results-form-card {
  background: rgba(11, 14, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.no-results-form-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #dfb743;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.no-results-form-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.nr-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nr-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nr-form-input, .nr-form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #1a2232;
  border: 1.5px solid rgba(223, 183, 67, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

.nr-form-input:focus, .nr-form-select:focus {
  border-color: #dfb743;
  box-shadow: 0 0 10px rgba(223, 183, 67, 0.25);
}

.nr-form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.nr-form-select option {
  background: #111622;
  color: #ffffff;
}

.btn-nr-submit {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nr-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-nr-reset {
  background: transparent;
  color: #dfb743;
  border: 1.5px solid #dfb743;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nr-reset:hover {
  background: rgba(223, 183, 67, 0.15);
}

@media (max-width: 768px) {
  .no-results-vip-card { padding: 1.75rem 1.15rem; }
  .no-results-title { font-size: 1.35rem; }
  .no-results-lead { font-size: 0.92rem; }
  .nr-form-grid-3, .nr-form-grid-2 { grid-template-columns: 1fr; }
  .no-results-actions { flex-direction: column; width: 100%; }
  .no-results-actions .btn { width: 100%; }
}

/* ==========================================================================
   3D VIRTUAL TOUR & 3D INTERACTIVE VIEWER
   ========================================================================== */
.badge-3d {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 2px 8px rgba(49, 46, 129, 0.4);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.03em;
  animation: badgePulse3D 2.5s infinite;
}

@keyframes badgePulse3D {
  0%, 100% { box-shadow: 0 2px 8px rgba(49, 46, 129, 0.4), 0 0 0 0 rgba(251, 191, 36, 0.4); }
  50% { box-shadow: 0 4px 14px rgba(49, 46, 129, 0.6), 0 0 10px rgba(251, 191, 36, 0.35); }
}

.btn-3d-tour {
  background: linear-gradient(135deg, #0b0e14 0%, #1a2234 100%);
  color: #dfb743 !important;
  border: 1.5px solid #dfb743 !important;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-3d-tour:hover {
  background: #dfb743;
  color: #0b0e14 !important;
  box-shadow: 0 4px 15px rgba(223, 183, 67, 0.4);
  transform: translateY(-2px);
}

/* 3D Property Card Tilt */
.property-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s ease;
  display: flex !important;
  flex-direction: column !important;
}

.property-card:hover {
  transform: translateY(-6px) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14), 0 0 25px rgba(223, 183, 67, 0.2);
}

.property-card .card-image-wrap {
  position: relative;
  overflow: hidden;
}

.tour-badge-strip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

/* Interactive 3D Modal */
.tour3d-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  background: transparent;
  width: 94%;
  max-width: 940px;
  max-height: 92vh;
  z-index: 100000 !important;
  padding: 0;
  display: none;
}

.tour3d-modal[open],
.tour3d-modal.open {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tour3d-modal::backdrop {
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(10px);
}

.tour3d-container {
  background: #0b0e14;
  border: 2px solid #dfb743;
  border-radius: 16px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(223, 183, 67, 0.25);
}

.tour3d-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(223, 183, 67, 0.2);
  background: #111622;
}

.tour3d-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #dfb743;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.tour3d-title-wrap h3 {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 0.15rem;
}

.tour3d-title-wrap p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.tour3d-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour3d-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* 3D Interactive Stage */
.tour3d-stage-wrap {
  position: relative;
  background: radial-gradient(circle at center, #1b2438 0%, #080b10 100%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1200px;
}

.tour3d-stage {
  width: 100%;
  max-width: 820px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  cursor: grab;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.tour3d-stage:active {
  cursor: grabbing;
}

.tour3d-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.tour3d-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.tour3d-overlay-tag {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid rgba(223, 183, 67, 0.4);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* 3D Hotspot Callouts */
.tour3d-hotspot {
  position: absolute;
  background: rgba(223, 183, 67, 0.95);
  color: #0b0e14;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(223, 183, 67, 0.7);
  z-index: 10;
  transition: transform 0.25s ease, background 0.25s ease;
  transform: translateZ(40px);
}

.tour3d-hotspot:hover {
  transform: translateZ(50px) scale(1.15);
  background: #ffffff;
}

.tour3d-hotspot.hs-1 { bottom: 25%; left: 22%; }
.tour3d-hotspot.hs-2 { bottom: 45%; right: 28%; }
.tour3d-hotspot.hs-3 { top: 28%; right: 18%; }

.hs-label {
  position: absolute;
  left: 38px;
  background: rgba(11, 14, 20, 0.92);
  color: #ffffff;
  border: 1px solid #dfb743;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
}

.tour3d-hotspot:hover .hs-label {
  opacity: 1;
  transform: translateX(0);
}

/* 3D Angle Controls Bar */
.tour3d-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 820px;
  margin-top: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.8rem;
}

.tour3d-angles {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.angle-btn {
  background: #1a2234;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.angle-btn.active, .angle-btn:hover {
  background: #dfb743;
  color: #0b0e14;
  border-color: #dfb743;
}

.tour3d-hint {
  font-size: 0.75rem;
  color: #dfb743;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Thumbnails Bar */
.tour3d-thumbs-bar {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: #0d121c;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tour3d-thumb {
  width: 76px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.tour3d-thumb.active, .tour3d-thumb:hover {
  opacity: 1;
  border-color: #dfb743;
  transform: scale(1.05);
}

.tour3d-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3D Tour Footer */
.tour3d-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: #111622;
  flex-wrap: wrap;
  gap: 1rem;
}

.tour3d-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

#tour3DPrice {
  font-size: 1.25rem;
  color: #dfb743;
  font-family: var(--font-heading);
  font-weight: 800;
}

.tour3d-cab {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tour3d-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .tour3d-stage {
    height: 250px;
  }
  .tour3d-header { padding: 0.85rem 1rem; }
  .tour3d-footer { padding: 0.85rem 1rem; flex-direction: column; align-items: flex-start; }
  .tour3d-actions { width: 100%; }
  .tour3d-actions .btn { width: 100%; justify-content: center; }
  .tour3d-controls-bar { flex-direction: column; align-items: flex-start; }
}


