/* ==========================================================================
   Shri Shyam Real Estate & Builders - Modern Premium Design System
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary: #0F172A;       /* Deep Navy */
  --color-primary-dark: #0B1120;
  --color-primary-light: #1E293B;  /* Slate Charcoal */
  --color-accent: #D97706;        /* Warm Gold / Amber */
  --color-accent-hover: #B45309;
  --color-accent-light: #FEF3C7;
  --color-accent-gold: #F59E0B;
  
  /* WhatsApp & Call Action Colors */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;
  --color-call: #0284C7;
  --color-call-dark: #0369A1;

  /* Neutrals */
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-subtle: #F1F5F9;
  --color-border: #E2E8F0;
  --color-border-subtle: #CBD5E1;
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-white: #FFFFFF;

  /* Status Colors */
  --status-new-text: #1D4ED8;
  --status-new-bg: #DBEAFE;
  --status-contacted-text: #4338CA;
  --status-contacted-bg: #E0E7FF;
  --status-followup-text: #B45309;
  --status-followup-bg: #FEF3C7;
  --status-sitevisit-text: #6D28D9;
  --status-sitevisit-bg: #EDE9FE;
  --status-negotiation-text: #C2410C;
  --status-negotiation-bg: #FFEDD5;
  --status-converted-text: #15803D;
  --status-converted-bg: #DCFCE7;
  --status-closed-text: #334155;
  --status-closed-bg: #F1F5F9;
  --status-lost-text: #B91C1C;
  --status-lost-bg: #FEE2E2;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 10px 15px -3px rgba(217, 119, 6, 0.25);

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-sm {
  max-width: 800px;
}

.container-fluid {
  max-width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Top Bar */
.topbar {
  background: var(--color-primary-dark);
  color: #CBD5E1;
  font-size: 0.825rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}
.topbar-link:hover {
  color: var(--color-accent-gold);
}

.site-header {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
}
.logo-title {
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.logo-subtitle {
  color: var(--color-accent-gold);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-link {
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent-gold);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
}
.mobile-nav-drawer.open {
  display: block;
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-list .nav-link {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-gold);
}
.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-dark:hover {
  background: var(--color-primary-light);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-border-subtle);
  color: var(--color-text-main);
}
.btn-outline:hover {
  background: var(--color-surface-subtle);
  border-color: var(--color-text-muted);
}
.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-call {
  background: var(--color-call);
  color: var(--color-white);
}
.btn-call:hover {
  background: var(--color-call-dark);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.btn-danger {
  background: #DC2626;
  color: var(--color-white);
}
.btn-danger:hover {
  background: #B91C1C;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-featured {
  background: var(--color-accent);
  color: var(--color-white);
}
.badge-purpose {
  background: var(--color-primary-light);
  color: var(--color-white);
}
.badge-status-available {
  background: #DCFCE7;
  color: #15803D;
}
.badge-status-sold {
  background: #FEE2E2;
  color: #B91C1C;
}
.badge-status-rented {
  background: #FEF3C7;
  color: #B45309;
}
.badge-status-negotiation {
  background: #FFEDD5;
  color: #C2410C;
}
.badge-status-comingsoon {
  background: #E0E7FF;
  color: #4338CA;
}

/* Lead Status Badges */
.badge-lead-new { background: var(--status-new-bg); color: var(--status-new-text); }
.badge-lead-contacted { background: var(--status-contacted-bg); color: var(--status-contacted-text); }
.badge-lead-followup { background: var(--status-followup-bg); color: var(--status-followup-text); }
.badge-lead-sitevisit { background: var(--status-sitevisit-bg); color: var(--status-sitevisit-text); }
.badge-lead-negotiation { background: var(--status-negotiation-bg); color: var(--status-negotiation-text); }
.badge-lead-converted { background: var(--status-converted-bg); color: var(--status-converted-text); }
.badge-lead-closed { background: var(--status-closed-bg); color: var(--status-closed-text); }
.badge-lead-lost { background: var(--status-lost-bg); color: var(--status-lost-text); }

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0B192C 0%, #0F172A 50%, #1E293B 100%);
  color: var(--color-white);
  padding: 4.5rem 0 6.5rem;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(#F59E0B 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-accent-gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}
.hero-title span {
  color: var(--color-accent-gold);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quick Search Card */
.search-card-wrap {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}
.search-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}
.search-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 1rem;
  align-items: flex-end;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.form-control, .form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.925rem;
  color: var(--color-text-main);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* Section Common */
.section {
  padding: 4.5rem 0;
}
.section-subtle {
  background: var(--color-surface-subtle);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-kicker {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Property Grid & Cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}
.property-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}
.property-card-media {
  position: relative;
  height: 230px;
  background: var(--color-primary-light);
  overflow: hidden;
}
.property-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .property-card-img {
  transform: scale(1.04);
}
.property-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 2;
}
.property-card-price-badge {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.property-card-price-badge.price-request {
  font-size: 0.825rem;
  color: var(--color-accent-gold);
}
.property-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.property-card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.property-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}
.property-card-title:hover {
  color: var(--color-accent);
}
.property-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-card-specs {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-main);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}
.property-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

/* Service & Area Cards */
.services-grid, .areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card, .area-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover, .area-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-title, .area-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.service-desc, .area-desc {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Value Props / Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.trust-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: #E0F2FE;
  color: #0284C7;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}
.trust-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Property Detail Page */
.property-detail-header {
  padding: 2.5rem 0 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.detail-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.detail-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}
.detail-price-box {
  text-align: right;
}
.detail-price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.detail-price-lbl {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Gallery & Lightbox */
.gallery-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-main {
  position: relative;
  height: 440px;
  cursor: pointer;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-main:hover img {
  transform: scale(1.02);
}
.gallery-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}
.gallery-thumb-item {
  position: relative;
  height: 212px;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-close { top: 2rem; right: 2rem; }

/* Detail Grid Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.detail-main-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.detail-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.detail-block-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Specs Table / Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.spec-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.spec-lbl {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.spec-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Amenities List */
.amenities-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* Lead Enquiry Card in Sidebar */
.enquiry-sticky-card {
  position: sticky;
  top: 6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.enquiry-card-header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.enquiry-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}
.enquiry-card-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.dealer-contact-box {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Sticky Mobile CTA Bottom Bar */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 0.6rem 1rem;
  z-index: 90;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
}
.mobile-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}
.mobile-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.45rem 0.2rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* Floating Desktop WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-whatsapp);
  color: var(--color-white);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 80;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

/* Footer */
.site-footer {
  background: #0B1120;
  color: #94A3B8;
  margin-top: auto;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand-title {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-heading {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--color-accent-gold);
}
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Admin Panel Styles */
.admin-body {
  background: #F1F5F9;
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: var(--color-primary);
  color: #E2E8F0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-nav {
  list-style: none;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.925rem;
  transition: var(--transition);
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}
.admin-nav-link.active {
  color: var(--color-accent-gold);
  font-weight: 600;
}
.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.admin-topbar {
  height: 4rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.admin-content {
  padding: 2rem;
  flex-grow: 1;
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}
.stat-lbl {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}
.stat-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Admin Data Table */
.data-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}
.data-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.admin-table th {
  background: var(--color-surface-subtle);
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
}
.admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.admin-table tbody tr:hover {
  background: rgba(248, 250, 252, 0.8);
}

/* Image Upload Grid in Admin Form */
.uploader-dropzone {
  border: 2px dashed var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--color-surface-subtle);
  cursor: pointer;
  transition: var(--transition);
}
.uploader-dropzone.dragover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}
.uploaded-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.uploaded-img-card {
  position: relative;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #E2E8F0;
}
.uploaded-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uploaded-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.uploaded-img-card:hover .uploaded-img-overlay {
  opacity: 1;
}

/* Modals */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-backdrop.active {
  display: flex;
}
.modal-dialog {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  animation: slideIn 0.25s ease forwards;
}
.toast-success { border-left: 4px solid var(--color-whatsapp); }
.toast-error { border-left: 4px solid #DC2626; }
.toast-info { border-left: 4px solid var(--color-call); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Spam protection honeypot */
.website-hp {
  display: none !important;
  visibility: hidden !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 220px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .search-card-wrap { margin-top: -2rem; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-main { height: 280px; }
  .gallery-thumbs { display: none; }
  .mobile-bottom-cta { display: block; }
  .floating-whatsapp { display: none; } /* Covered by mobile bottom bar */
  body { padding-bottom: 4.5rem; }     /* Space for sticky CTA */
  .footer-grid { grid-template-columns: 1fr; }
  .admin-body { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}
