/* ==========================================================================
   SARAH K PROPERTIES LLC - Luxury Real Estate Web Application Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0A0B0E;
  --bg-secondary: #12141C;
  --bg-card: rgba(18, 20, 28, 0.75);
  --bg-card-hover: rgba(26, 30, 42, 0.9);
  
  /* Gold Metallic Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F5E096;
  --gold-dark: #996515;
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --gold-glow: 0 0 25deg rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.25);
  
  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* Layout & Spacing */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1320px;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gold-border);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================================
   LEFT VERTICAL SECTION NAVIGATION — Dash / Pill Indicator Style
   ========================================================================== */
.left-section-nav {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Vertical orbital track line running centrally behind dashes */
.left-section-nav::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  pointer-events: none;
  z-index: -1;
}

/* Each dash link wrapper */
.lnav-dot {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  /* Tall hit-area for easier hover */
  padding: 4px 0;
}

/* ── VERTICAL DASH INDICATOR ── */
.nav-dash {
  width: 2px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* HOVER: expand dash slightly */
.lnav-dot:hover .nav-dash {
  height: 22px;
  background-color: rgba(212, 175, 55, 0.55);
}

/* ACTIVE: elongated solid gold dash with glow */
.lnav-dot.active .nav-dash {
  height: 30px;
  background-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Keep active gold on hover too */
.lnav-dot.active:hover .nav-dash {
  height: 34px;
  background-color: #D4AF37;
}

/* Glassmorphic slide-in tooltip (right side) */
.lnav-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background: rgba(11, 11, 12, 0.95);
  border: 1px solid #D4AF37;
  color: #F4F4F5;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover: slide tooltip in */
.lnav-dot:hover .lnav-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Hide on mobile / tablet */
@media (max-width: 1024px) {
  .left-section-nav {
    display: none;
  }
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.site-header.scrolled {
  padding: 6px 0;
  background: rgba(10, 11, 14, 0.98);
}

.site-header.scrolled .logo-image-centered {
  height: 72px;
}

/* Single-Row Luxury 3-Column Header Grid with Absolute Centered Logo */
.header-single-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 80px;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 5;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  z-index: 5;
}

.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: #FFF;
  transform: translateY(-1px);
  box-shadow: var(--gold-glow);
}

/* Mathematically Centered Brand Logo (Transparent PNG Blend) */
.brand-logo-centered {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.logo-image-centered {
  height: 88px;
  width: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.45));
  transition: var(--transition);
}

.logo-image-centered:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.75));
}

/* Off-Canvas Navigation Drawer & Backdrop Overlay */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.nav-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  max-width: 88vw;
  background: linear-gradient(180deg, #0A0B0E 0%, #12141D 100%);
  border-right: 1px solid var(--gold-border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 36px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.95);
}

.nav-drawer.active {
  transform: translateX(0);
}

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

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

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: var(--gold-primary);
  color: #0A0B0E;
  transform: rotate(90deg);
}

.drawer-body {
  margin: 32px 0;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 2px;
  transition: var(--transition);
  display: inline-block;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--gold-light);
  transform: translateX(12px);
}

.drawer-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.phone-link-nav {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  transition: var(--transition);
}

.phone-link-nav:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with Looped Video Background (Fits Viewport Height) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 24px;
  box-sizing: border-box;
  overflow: hidden;
  background: #0A0B0E;
}

.hero-bg-video,
.hero-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  opacity: 0.65;
  filter: brightness(0.68) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.55) 0%, rgba(10, 11, 14, 0.92) 100%),
              radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 840px;
}

.hero-badge-wrap {
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  max-width: 680px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Portfolio Section */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  margin: 16px 0;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Single Row Horizontal Carousel / Slider for Portfolio */
.portfolio-slider-wrapper {
  position: relative;
  margin-top: 24px;
}

.portfolio-slider-track-wrap {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 12px 4px 28px 4px;
}

.portfolio-slider-track-wrap::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.portfolio-grid.portfolio-slider-track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 28px;
  width: max-content;
  min-width: 100%;
}

.portfolio-grid.portfolio-slider-track .property-card {
  width: 380px;
  flex-shrink: 0;
  margin: 0;
}

/* Slider Arrow Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--gold-primary);
  color: #0A0B0E;
  box-shadow: var(--gold-glow);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev {
  left: -24px;
}

.slider-arrow-next {
  right: -24px;
}

@media (max-width: 768px) {
  .slider-arrow-prev { left: 4px; }
  .slider-arrow-next { right: 4px; }
  .portfolio-grid.portfolio-slider-track .property-card { width: 300px; }
}

.property-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.card-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* Old badge kept for backwards compat if any */
.card-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

/* NEW: Dark glassmorphic status badge (high-contrast over any photo) */
.card-status-badge-dark {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(11, 11, 12, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #F4F4F5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.card-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-location svg {
  flex-shrink: 0;
  color: var(--gold-primary);
  opacity: 0.85;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.2;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.spec-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* SVG icons inside spec pills inherit a warm gold/white tint */
.spec-pill svg {
  flex-shrink: 0;
  color: var(--gold-primary);
  opacity: 0.8;
}

.card-footer-btns {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.card-btn-view {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Modal Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #0A0B0E;
}

.modal-image-wrap {
  width: 100%;
  height: 400px;
  position: relative;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 32px;
}

.modal-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.amenity-item {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mortgage Calculator Widget */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-editable-input {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-align: right;
  max-width: 130px;
  outline: none;
  transition: var(--transition);
}

.calc-editable-input:focus {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.16);
  box-shadow: var(--gold-glow);
}

.calc-select-input {
  cursor: pointer;
}

.range-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  border: none;
  box-shadow: none;
  margin: 10px 0 4px 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.range-slider:focus,
.range-slider:active,
.range-slider:hover {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Webkit (Chrome, Safari, Edge) Thumb Styling Reset */
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid #0A0B0E;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover,
.range-slider::-webkit-slider-thumb:active {
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.95);
}

/* Mozilla Firefox Thumb Styling Reset */
.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid #0A0B0E;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.range-slider::-moz-range-thumb:hover,
.range-slider::-moz-range-thumb:active {
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.95);
}

.range-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
}

.calc-output-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 11, 14, 0.6) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.monthly-price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin: 16px 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: var(--gold-glow);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Service Detail Modal Lightbox Styling */
.service-modal-container {
  background: rgba(11, 11, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 32px;
  max-width: 550px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.service-bullet-item {
  color: #D4AF37;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.service-bullet-item span {
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* About & Contact Hub */
.contact-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.contact-detail-val {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

.phone-buttons-group {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: span 2;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

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

.map-frame-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  height: 320px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(120%);
}

/* Footer */
.site-footer {
  background: #060709;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 60px 0 30px 0;
  margin-top: 100px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .contact-hub-grid, .calc-card {
    grid-template-columns: 1fr;
  }
  .header-top-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }
  .header-contact-left, .header-actions-right {
    justify-content: center;
  }
  .logo-image-centered {
    height: 85px;
  }
  .hero-section {
    padding-top: 280px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* ==========================================================================
   DEDICATED OFFICIAL SOCIAL LOGOS BAR (Clean Vector SVG Icons)
   ========================================================================== */
.social-brands-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 22px 0;
}

.social-brands-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.social-brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  transition: var(--transition);
}

.social-brand-item:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.brand-svg-logo {
  color: var(--gold-light);
  transition: var(--transition);
}

.social-brand-item:hover .brand-svg-logo {
  color: #FFF;
  transform: scale(1.12);
}

/* ==========================================================================
   DEDICATED PARTNERS & AFFILIATIONS SHOWCASE SECTION
   ========================================================================== */
.partners-affiliations-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
}

.partner-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.partner-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.partner-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.social-brand-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.social-brand-icon {
  font-size: 1.2rem;
  color: var(--gold-light);
}

/* ==========================================================================
   SS3 FEATURE SPLIT SECTION (Dark Gold Luxury Theme)
   ========================================================================== */
.ss3-feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
}

.ss3-content-side {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ss3-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 600;
  margin: 16px 0 20px 0;
  line-height: 1.15;
}

.ss3-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.ss3-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.ss3-card-box {
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.ss3-card-box:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
}

.ss3-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.ss3-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ss3-image-side {
  position: relative;
  min-height: 520px;
}

.ss3-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss3-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 40%),
              linear-gradient(0deg, rgba(10,11,14,0.6) 0%, transparent 50%);
}

/* ==========================================================================
   TESTIMONIALS SECTION (Dark Gold Theme)
   ========================================================================== */
.reviews-rating-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-top: 12px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: var(--gold-glow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0A0B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-user-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial-verified-badge {
  color: #38BDF8;
  font-size: 0.85rem;
}

.testimonial-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stars-row {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 992px) {
  .ss3-feature-section {
    grid-template-columns: 1fr;
  }
  .ss3-content-side {
    padding: 50px 28px;
  }
  .ss3-boxes-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEXT-LEVEL LUXURY INTERACTIVE FEATURES
   ========================================================================== */

/* Floating Quick Contact Widget (Dark Glassmorphism Luxury Style) */
.floating-contact-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.floating-btn-whatsapp {
  color: #25D366;
}

.floating-btn-call {
  color: var(--gold-light);
}

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

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

.floating-btn-call:hover {
  color: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

/* Virtual Tour Badge & Modal */
.virtual-tour-btn {
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.virtual-tour-btn:hover {
  background: var(--gold-gradient);
  color: #0A0B0E;
}

/* Interactive Map Controller Bar */
.map-controls-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.map-loc-btn {
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.map-loc-btn.active, .map-loc-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

/* Mouse Ambient Glow Overlay */
.mouse-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.04), transparent 80%);
  transition: background 0.15s ease;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer API)
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up {
  transform: translateY(45px);
}

.fade-left {
  transform: translateX(-50px);
}

.fade-right {
  transform: translateX(50px);
}

.zoom-in {
  transform: scale(0.90);
}

/* Active State - Triggered by Intersection Observer */
.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Animation Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ==========================================================================
   SELLER LEAD MAGNET SECTION ("WHAT'S YOUR HOME WORTH?")
   ========================================================================== */
.seller-lead-section {
  background: var(--bg-primary);
}

.seller-lead-card {
  background: linear-gradient(135deg, rgba(20, 22, 30, 0.95) 0%, rgba(10, 11, 14, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.seller-lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.seller-lead-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.seller-lead-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--text-primary);
  margin: 16px 0;
  line-height: 1.15;
}

.seller-lead-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.valuation-form {
  max-width: 640px;
  margin: 0 auto;
}

.valuation-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  transition: var(--transition);
}

.valuation-input-group:focus-within {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
  background: rgba(255, 255, 255, 0.08);
}

.valuation-icon {
  color: var(--gold-light);
  margin-right: 12px;
  flex-shrink: 0;
}

.valuation-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 0.95rem;
  outline: none;
}

.valuation-input::placeholder {
  color: var(--text-muted);
}

.valuation-btn {
  white-space: nowrap;
}

/* 360° Virtual Tour Badge on Property Cards */
.virtual-tour-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.property-card:hover .virtual-tour-badge {
  background: var(--gold-gradient);
  color: #0A0B0E;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Schedule Tour Modal & Slot Picker */
.tour-modal-container {
  max-width: 620px;
  width: 92%;
  padding: 36px;
}

.tour-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--gold-border);
}

.tour-type-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tour-type-btn.active {
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.tour-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   MODERN 4-COLUMN LUXURY FOOTER
   ========================================================================== */
.site-footer {
  background: #060709;
  border-top: 1px solid var(--gold-border);
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-license-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-list svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-list a:hover {
  color: var(--gold-light);
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #FFF;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--gold-primary);
}

.newsletter-btn {
  background: var(--gold-gradient);
  border: none;
  color: #0A0B0E;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.footer-socials-row {
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: var(--gold-primary);
  color: #0A0B0E;
  transform: translateY(-3px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #A1A1AA;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: #A1A1AA;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .valuation-input-group {
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius-lg);
    gap: 12px;
  }
  .valuation-btn {
    width: 100%;
  }
  .tour-form-grid {
    grid-template-columns: 1fr;
  }
}
.delay-500 { transition-delay: 0.5s; }


/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   Desktop layout (1280px+) is completely untouched.
   All rules below are mobile-only additions.
   ========================================================================== */

/* ── TABLET (≤1024px) ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Section vertical spacing */
  .section-padding {
    padding: 72px 0;
  }

  /* Logo slightly smaller on tablet */
  .logo-image-centered {
    height: 72px;
  }

  /* Footer gap reduction */
  .footer-grid {
    gap: 24px;
  }
}

/* ── LARGE PHONES (≤768px) ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Section vertical spacing */
  .section-padding {
    padding: 56px 0;
  }

  /* Container padding */
  .container {
    padding: 0 18px;
  }

  /* Header logo */
  .logo-image-centered {
    height: 60px;
  }

  /* Hero section — ensure content not hidden under header */
  .hero-section {
    padding-top: 120px;
    padding-bottom: 40px;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
  }

  /* Section titles */
  .section-title {
    font-size: 2.2rem;
  }

  /* Mortgage Calculator */
  .calc-card {
    padding: 24px;
    gap: 24px;
  }

  .calc-output-box {
    padding: 24px;
  }

  /* Contact boxes */
  .contact-info-box,
  .form-box {
    padding: 24px;
  }

  /* Seller lead card */
  .seller-lead-card {
    padding: 32px 24px;
  }

  /* SS3 split section — image side shrink */
  .ss3-image-side {
    min-height: 300px;
  }

  .ss3-content-side {
    padding: 40px 24px;
  }

  /* About section image — prevent zero height when stacked */
  .contact-hub-grid > div:last-child {
    min-height: 280px;
  }

  /* Map controls — smaller text so buttons wrap cleanly */
  .map-loc-btn {
    font-size: 0.75rem;
    padding: 7px 12px;
  }

  /* Footer */
  .footer-grid {
    gap: 20px;
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: 24px;
  }
}

/* ── TESTIMONIALS CRITICAL FIX (≤640px) ────────────────────────────────── */
/* minmax(320px,1fr) overflows on screens < 640px — force single column     */
@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ── STANDARD PHONES (≤480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Section spacing */
  .section-padding {
    padding: 48px 0;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Header */
  .logo-image-centered {
    height: 50px;
  }

  .btn-gold,
  .btn-outline {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  /* Schedule Tour CTA in header — hide text on very small screens */
  #navConsultationBtn {
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  /* Hero */
  .hero-section {
    padding-top: 110px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-stats-grid {
    padding: 14px 16px;
    gap: 14px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Portfolio filter buttons */
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Mortgage calculator */
  .calc-card {
    padding: 18px;
    gap: 18px;
  }

  .monthly-price {
    font-size: 2.5rem;
  }

  /* Services cards */
  .service-card {
    padding: 24px 18px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px;
  }

  /* Contact — phone buttons stacked vertically */
  .phone-buttons-group {
    flex-direction: column;
  }

  .phone-buttons-group .btn-gold,
  .phone-buttons-group .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Contact boxes */
  .contact-info-box,
  .form-box {
    padding: 18px;
  }

  /* Seller lead */
  .seller-lead-card {
    padding: 24px 16px;
  }

  .valuation-btn {
    font-size: 0.78rem;
    padding: 12px 14px;
  }

  /* Footer */
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-footer {
    padding-top: 36px;
  }
}

/* ── SMALL PHONES (≤360px) ───────────────────────────────────────────────── */
@media (max-width: 360px) {
  /* Container */
  .container {
    padding: 0 12px;
  }

  /* Header — tighten further */
  .logo-image-centered {
    height: 44px;
  }

  .menu-toggle-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* Hero — stack action buttons vertically */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Hero stats — single column */
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  /* Section title */
  .section-title {
    font-size: 1.9rem;
  }

  /* Calc */
  .monthly-price {
    font-size: 2.1rem;
  }
}


/* ==========================================================================
   STRICT MOBILE OVERFLOW & RIGHT-SIDE GAP LOCK
   Fixes blank space on right side and cleans mobile UI layout completely
   ========================================================================== */

html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ── TABLET & MOBILE OVERFLOW PREVENTION (≤1024px) ───────────────────────── */
@media (max-width: 1024px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .site-header .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section-padding {
    padding: 64px 0;
  }
}

/* ── LARGE PHONES & TABLETS (≤768px) ────────────────────────────────────── */
@media (max-width: 768px) {
  .section-padding {
    padding: 48px 0;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Header adjustments */
  .site-header {
    padding: 8px 0;
  }

  .header-single-row {
    min-height: 60px;
  }

  .logo-image-centered {
    height: 52px;
  }

  .menu-toggle-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    gap: 6px;
  }

  #navConsultationBtn {
    padding: 8px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 100px;
    padding-bottom: 32px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.0rem, 7vw, 3.0rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-stats-grid {
    padding: 14px;
    gap: 12px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Portfolio Slider Track & Card Width fitting */
  .portfolio-slider-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 16px;
  }

  .portfolio-slider-track-wrap {
    width: 100%;
    max-width: 100%;
    padding: 12px 0 20px 0;
    box-sizing: border-box;
  }

  .portfolio-grid.portfolio-slider-track {
    gap: 16px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .portfolio-grid.portfolio-slider-track .property-card {
    width: calc(100vw - 48px) !important;
    max-width: 340px !important;
  }

  /* Hide overlay arrows on mobile to prevent blocking card title & text */
  .slider-arrow {
    display: none !important;
  }

  /* Mortgage Calculator Fix */
  .calc-card {
    padding: 20px 14px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 20px;
    margin: 0 !important;
  }

  .calc-inputs {
    width: 100%;
    max-width: 100%;
  }

  .calc-editable-input {
    max-width: 100px;
    font-size: 0.8rem;
    padding: 4px 6px;
  }

  .calc-output-box {
    padding: 20px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .monthly-price {
    font-size: 2.4rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .service-card {
    padding: 24px 18px;
  }

  /* Contact & Form Boxes */
  .contact-hub-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .contact-info-box,
  .form-box {
    padding: 20px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .form-full {
    grid-column: span 1 !important;
  }

  .phone-buttons-group {
    flex-direction: column;
    gap: 10px;
  }

  .phone-buttons-group .btn-gold,
  .phone-buttons-group .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Seller Lead Magnet Card */
  .seller-lead-card {
    padding: 28px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .valuation-input-group {
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-lg);
    gap: 10px;
  }

  .valuation-input {
    width: 100%;
    text-align: center;
  }

  .valuation-btn {
    width: 100%;
    justify-content: center;
  }

  /* Testimonials Grid */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .testimonial-card {
    padding: 20px 16px;
  }

  /* Floating WhatsApp & Call Buttons — repositioned cleanly */
  .floating-contact-widget {
    bottom: 16px !important;
    right: 14px !important;
    gap: 10px;
  }

  .floating-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .floating-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .footer-license-badge {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ── SMALL PHONES (≤400px) ──────────────────────────────────────────────── */
@media (max-width: 400px) {
  .logo-image-centered {
    height: 42px;
  }

  .menu-toggle-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  #navConsultationBtn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .portfolio-grid.portfolio-slider-track .property-card {
    width: calc(100vw - 32px) !important;
  }

  .monthly-price {
    font-size: 2.0rem;
  }
}


/* ==========================================================================
   MOBILE CENTER ALIGNMENT SYSTEM (≤768px)
   Aligns Footer, Lead Magnet, Modals & Brand Elements Perfectly for Mobile
   ========================================================================== */

@media (max-width: 768px) {
  /* Footer Complete Center Alignment */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
    gap: 32px !important;
  }

  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-logo-img {
    margin: 0 auto 16px auto !important;
  }

  .footer-tagline {
    text-align: center !important;
    max-width: 340px !important;
    margin: 0 auto 16px auto !important;
  }

  .footer-license-badge {
    margin: 0 auto !important;
    display: inline-block !important;
  }

  .footer-title {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-links-list {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-links-list a:hover {
    transform: translateY(-2px) !important;
  }

  .footer-contact-list {
    align-items: center !important;
    width: 100% !important;
  }

  .footer-contact-list li {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-newsletter-form {
    justify-content: center !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto 20px auto !important;
  }

  .footer-socials-row {
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .footer-bottom-bar {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .footer-bottom-links {
    justify-content: center !important;
    width: 100% !important;
  }

  /* Seller Lead Magnet Center Alignment */
  .seller-lead-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .seller-lead-title {
    text-align: center !important;
  }

  .seller-lead-desc {
    text-align: center !important;
  }

  /* Modals Center Alignment */
  .tour-modal-header,
  .service-modal-header {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .tour-modal-header .gold-badge,
  .service-modal-header .gold-badge {
    margin: 0 auto !important;
  }
}


/* ==========================================================================
   SLEEK COMPACT MOBILE NAVIGATION DRAWER SYSTEM (≤768px)
   Replaces oversized drawer font & redundant text with high-end luxury brand layout
   ========================================================================== */

.drawer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.4));
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 20px 18px !important;
    background: linear-gradient(180deg, #0A0B0E 0%, #12141D 100%) !important;
  }

  .drawer-header {
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
  }

  .drawer-logo-img {
    height: 42px !important;
  }

  .drawer-close-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
  }

  .drawer-body {
    margin: 14px 0 !important;
  }

  .drawer-links {
    gap: 8px !important;
  }

  .drawer-link {
    font-size: 1.25rem !important;
    letter-spacing: 1.5px !important;
    white-space: nowrap !important;
    padding: 4px 0 !important;
  }

  .drawer-link:hover, .drawer-link.active {
    transform: translateX(8px) !important;
  }

  .drawer-footer {
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
}


/* ==========================================================================
   SLEEK COMPACT MOBILE MODALS & POPUPS SYSTEM (≤768px)
   Fixes close button overlap, title fonts, toggle button wrapping & padding
   ========================================================================== */

@media (max-width: 768px) {
  .modal-backdrop {
    padding: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .modal-container,
  .tour-modal-container,
  .service-modal-container {
    padding: 20px 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    max-height: 88vh !important;
    border-radius: 16px !important;
    margin: auto !important;
    overflow-y: auto !important;
  }

  .modal-close-btn {
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 1.0rem !important;
    z-index: 30 !important;
    background: rgba(10, 11, 14, 0.95) !important;
  }

  .tour-modal-header,
  .service-modal-header {
    padding-right: 36px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .tour-modal-header .gold-badge,
  .service-modal-header .gold-badge {
    margin: 0 !important;
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
  }

  .tour-modal-header h2,
  .service-modal-header h2 {
    font-size: 1.3rem !important;
    margin-top: 6px !important;
    line-height: 1.25 !important;
  }

  .tour-modal-header p,
  .service-modal-header p {
    font-size: 0.82rem !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
  }

  #scheduleTourForm {
    margin-top: 14px !important;
  }

  .tour-type-toggle {
    gap: 6px !important;
    padding: 4px !important;
    margin-bottom: 12px !important;
  }

  .tour-type-btn {
    padding: 8px 4px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .tour-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .tour-form-grid .form-input,
  .tour-form-grid .form-select {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }

  .modal-image-wrap {
    height: 190px !important;
  }

  .modal-body {
    padding: 18px 14px !important;
  }

  .modal-amenities-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 14px 0 !important;
  }
}


/* ==========================================================================
   MOBILE FOOTER OVERLAP, SS3 BUTTONS & MAP PILLS FIX (≤768px)
   Fixes floating buttons blocking legal links, SS3 full-width buttons & map pills
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Footer Bottom Padding to prevent Floating Widget Overlap */
  .site-footer {
    padding-bottom: 85px !important;
  }

  .footer-bottom-bar {
    padding-bottom: 10px !important;
    text-align: center !important;
  }

  .footer-bottom-links {
    margin-bottom: 10px !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* 2. Floating Contact Widget Compact Offset */
  .floating-contact-widget {
    bottom: 14px !important;
    right: 12px !important;
    gap: 8px !important;
    z-index: 990 !important;
  }

  .floating-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .floating-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* 3. SS3 Section Full-Width Buttons */
  .ss3-content-side > div[style*="display:flex"],
  .ss3-content-side > div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  #btnSS3Search,
  #btnSS3Learn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* 4. Map Location Pills Centered & Compact */
  .map-controls-bar {
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
  }

  .map-loc-btn {
    padding: 6px 12px !important;
    font-size: 0.74rem !important;
  }
}


/* ==========================================================================
   MOBILE VISUAL DESIGN UPGRADES (≤768px)
   Centered Service Cards, Horizontal 3-Col Stats Bar & Centered About Badges
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Centered Service Cards */
  .service-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 28px 20px !important;
  }

  .service-icon {
    margin: 0 auto 16px auto !important;
  }

  .service-title {
    text-align: center !important;
  }

  .service-desc {
    text-align: center !important;
  }

  /* 2. Horizontal 3-Column Hero Stats Bar with Gold Dividers */
  .hero-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
    padding: 14px 8px !important;
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
  }

  .stat-item:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    right: -3px !important;
    top: 15% !important;
    height: 70% !important;
    width: 1px !important;
    background: rgba(212, 175, 55, 0.3) !important;
  }

  .stat-number {
    font-size: 1.3rem !important;
    text-align: center !important;
    line-height: 1.1 !important;
  }

  .stat-label {
    font-size: 0.62rem !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    margin-top: 4px !important;
    line-height: 1.2 !important;
  }

  /* 3. About Us Centered Grid Badges */
  .contact-hub-grid > div:first-child > div[style*="display:flex"],
  .contact-hub-grid > div:first-child > div[style*="display: flex"] {
    grid-template-columns: 1fr 1fr !important;
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .contact-hub-grid > div:first-child > div[style*="display:flex"] > div,
  .contact-hub-grid > div:first-child > div[style*="display: flex"] > div {
    text-align: center !important;
    padding: 14px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .contact-hub-grid > div:first-child > div[style*="display:flex"] strong,
  .contact-hub-grid > div:first-child > div[style*="display: flex"] strong {
    text-align: center !important;
  }
}


/* ==========================================================================
   MOBILE STICKY BOTTOM BAR SYSTEM (≤768px)
   Replaces hanging side floating circles with an ultra-sleek glassmorphic bottom bar
   ========================================================================== */

.float-btn-text {
  display: none;
}

@media (max-width: 768px) {
  .floating-contact-widget {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    background: rgba(10, 11, 14, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid var(--gold-border) !important;
    padding: 10px 14px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    z-index: 1000 !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.9) !important;
    margin: 0 !important;
  }

  .floating-btn {
    flex: 1 !important;
    width: auto !important;
    height: 44px !important;
    border-radius: var(--radius-full) !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }

  .floating-btn-whatsapp {
    background: rgba(37, 211, 102, 0.15) !important;
    border: 1px solid rgba(37, 211, 102, 0.5) !important;
    color: #25D366 !important;
  }

  .floating-btn-call {
    background: var(--gold-gradient) !important;
    border: none !important;
    color: #0A0B0E !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
  }

  .float-btn-text {
    display: inline-block !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
  }

  /* Add bottom clearance to footer so content is 100% visible */
  .site-footer {
    padding-bottom: 75px !important;
  }
}


/* ==========================================================================
   MOBILE SCREEN 4-POINT AUDIT FIXES (≤768px & ≤1024px)
   1. Left shadow line elimination
   2. Property Details Modal redesign (close button, 1-line call buttons, specs)
   3. Home Page property card optimization
   4. Mobile Slider Control Bar with dedicated Prev/Next arrows
   ========================================================================== */

/* 1. Eliminate Left Shadow Line & Left Inset Artifacts */
@media (max-width: 1024px) {
  #leftSectionNav,
  .left-section-nav,
  .mouse-spotlight {
    display: none !important;
    visibility: hidden !important;
  }

  html, body {
    box-shadow: none !important;
    border-left: none !important;
    border-right: none !important;
  }

  body::before,
  body::after {
    display: none !important;
  }
}

/* 2. Property Details Modal Mobile Fitting */
@media (max-width: 768px) {
  #propertyModal .modal-container {
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    max-height: 90vh !important;
  }

  #propertyModal .modal-close-btn {
    top: 10px !important;
    right: 10px !important;
    background: rgba(10, 11, 14, 0.9) !important;
    border: 1px solid var(--gold-border) !important;
    z-index: 50 !important;
    width: 32px !important;
    height: 32px !important;
  }

  #propertyModal .modal-image-wrap {
    height: 180px !important;
  }

  #propertyModal .modal-body {
    padding: 16px 14px !important;
  }

  #propertyModal .card-specs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
    margin: 12px 0 !important;
  }

  #propertyModal .spec-pill {
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
    white-space: nowrap !important;
  }

  #propertyModal .modal-amenities-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  #propertyModal .amenity-item {
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
  }

  .modal-call-btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 10px 12px !important;
    text-align: center !important;
  }

  .modal-call-box {
    flex-direction: column !important;
    padding: 16px 12px !important;
    gap: 12px !important;
    text-align: center !important;
  }

  /* 3. Home Page Property Card Mobile Optimization */
  .property-card .card-specs {
    gap: 6px !important;
    justify-content: space-between !important;
  }

  .property-card .spec-pill {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
  }

  /* 4. Mobile Centered Slider Control Bar */
  .mobile-slider-controls-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 14px !important;
    padding: 6px 12px !important;
    background: rgba(18, 20, 29, 0.9) !important;
    border: 1px solid var(--gold-border) !important;
    border-radius: var(--radius-full) !important;
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mobile-slider-arrow {
    background: var(--gold-gradient) !important;
    border: none !important;
    color: #0A0B0E !important;
    font-weight: 700 !important;
    font-size: 0.76rem !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-full) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
  }

  .mobile-slider-hint {
    font-size: 0.70rem !important;
    color: var(--text-secondary) !important;
  }
}

.mobile-slider-controls-bar {
  display: none;
}


/* ==========================================================================
   PORTFOLIO CARD SCROLL SNAP & LEFT-SIDE LINE FIX (≤768px & ≤1024px)
   1. Guarantees 100% centered card snapping when tapping Next/Prev or swiping
   2. Completely eliminates 1px vertical left-side line artifact (.left-section-nav::before)
   ========================================================================== */

/* 1. Eliminate Left Line & Pseudo-Elements Artifacts */
@media (max-width: 1024px) {
  .left-section-nav,
  .left-section-nav::before,
  .left-section-nav::after,
  .lnav-dot,
  .mouse-spotlight {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
}

/* 2. Portfolio Card Perfect Center Snap Alignment on Mobile */
@media (max-width: 768px) {
  .portfolio-slider-track-wrap {
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    padding-left: calc(50vw - 170px) !important;
    padding-right: calc(50vw - 170px) !important;
  }

  .portfolio-grid.portfolio-slider-track {
    gap: 16px !important;
  }

  .portfolio-grid.portfolio-slider-track .property-card {
    width: calc(100vw - 48px) !important;
    max-width: 340px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    flex-shrink: 0 !important;
  }
}


/* ==========================================================================
   PROMINENT MOBILE LOGO HEIGHT & GAP LOCK (≤768px)
   Locks logo height to prominent 58px (like SS1) and creates gold breathing gap above bottom line
   ========================================================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0 !important;
  }

  .header-single-row {
    min-height: 72px !important;
    align-items: center !important;
  }

  .logo-image-centered {
    height: 58px !important;
    max-height: 58px !important;
    margin-bottom: 6px !important;
    transition: var(--transition) !important;
  }

  .site-header.scrolled .logo-image-centered {
    height: 58px !important;
    max-height: 58px !important;
  }
}

@media (max-width: 400px) {
  .logo-image-centered {
    height: 54px !important;
    max-height: 54px !important;
    margin-bottom: 4px !important;
  }
}


/* ==========================================================================
   DARK VERTICAL LEFT OPACITY SHADOW ELIMINATION
   Completely removes the 60px dark box-shadow bleed from the closed drawer
   ========================================================================== */

.nav-drawer:not(.active) {
  visibility: hidden !important;
  pointer-events: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.nav-drawer.active {
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.95) !important;
}


/* ==========================================================================
   PROMINENT LARGE MOBILE LOGO ENHANCEMENT (≤768px)
   Increases logo height to 74px for 100% crisp readability & premium presence
   ========================================================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 8px 0 !important;
  }

  .header-single-row {
    min-height: 82px !important;
    align-items: center !important;
  }

  .logo-image-centered {
    height: 74px !important;
    max-height: 74px !important;
    margin-bottom: 4px !important;
    filter: drop-shadow(0 3px 12px rgba(212, 175, 55, 0.5)) !important;
    transition: all 0.3s ease !important;
  }

  .site-header.scrolled .logo-image-centered {
    height: 74px !important;
    max-height: 74px !important;
  }

  .menu-toggle-btn {
    padding: 7px 12px !important;
    font-size: 0.76rem !important;
  }

  #navConsultationBtn {
    padding: 7px 12px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 400px) {
  .header-single-row {
    min-height: 78px !important;
  }

  .logo-image-centered {
    height: 68px !important;
    max-height: 68px !important;
  }

  .menu-toggle-btn,
  #navConsultationBtn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
}


/* ==========================================================================
   USER REQUESTED MOBILE VIEW CSS ADJUSTMENTS (≤768px)
   1. Header Logo: Reduced size, showing ONLY the gold SK monogram icon (clean & uncluttered)
   2. Hero Stats Grid: Reduced side padding (12px 8px) and adjusted label typography (0.68rem, 0.5px spacing)
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Clean Monogram Only Header Logo */
  .site-header {
    padding: 6px 0 !important;
  }

  .header-single-row {
    min-height: 64px !important;
    align-items: center !important;
  }

  .brand-logo-centered {
    display: inline-flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    height: 42px !important;
    overflow: hidden !important;
  }

  .logo-image-centered {
    height: 62px !important;
    max-height: 62px !important;
    object-fit: cover !important;
    object-position: top center !important;
    margin-bottom: 0 !important;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5)) !important;
  }

  .site-header.scrolled .logo-image-centered {
    height: 62px !important;
    max-height: 62px !important;
  }

  /* 2. Hero Stats Card Mobile Padding & Typography */
  .hero-stats-grid {
    padding: 12px 8px !important;
    gap: 6px !important;
  }

  .hero-stats-grid .stat-item {
    padding: 0 4px !important;
  }

  .hero-stats-grid .stat-number {
    font-size: 1.25rem !important;
    margin-bottom: 2px !important;
  }

  .hero-stats-grid .stat-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    color: var(--text-secondary) !important;
  }
}

@media (max-width: 380px) {
  .hero-stats-grid .stat-label {
    font-size: 0.64rem !important;
    letter-spacing: 0.3px !important;
  }
}


/* ==========================================================================
   HERO SECTION PERFECT MOBILE CENTER ALIGNMENT (≤768px)
   Aligns Location Badge, Main Headline, Subtitle Paragraph, and Buttons symmetrically
   ========================================================================== */

@media (max-width: 768px) {
  .hero-content {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-badge-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }

  .hero-title-line {
    display: block !important;
    text-align: center !important;
  }

  .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
}


/* ==========================================================================
   COMPLETE FULL MOBILE LOGO DISPLAY (≤768px)
   Renders the full logo (SK Monogram + SARAH K PROPERTIES text) completely without cropping
   ========================================================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 8px 0 !important;
  }

  .header-single-row {
    min-height: 76px !important;
    align-items: center !important;
  }

  .brand-logo-centered {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    overflow: visible !important;
  }

  .logo-image-centered {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    margin-bottom: 2px !important;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.45)) !important;
  }

  .site-header.scrolled .logo-image-centered {
    height: 60px !important;
    max-height: 60px !important;
  }
}

@media (max-width: 400px) {
  .logo-image-centered {
    height: 54px !important;
    max-height: 54px !important;
  }
}


/* ==========================================================================
   SUPER PROMINENT LARGE MOBILE LOGO SIZE INCREASE (≤768px)
   Increases logo height to 80px with 1.15x scaling so full logo & text are big and 100% visible
   ========================================================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 4px 0 !important;
  }

  .header-single-row {
    min-height: 86px !important;
    align-items: center !important;
  }

  .brand-logo-centered {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 80px !important;
    overflow: visible !important;
  }

  .logo-image-centered {
    height: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    object-fit: contain !important;
    transform: scale(1.18) !important;
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.65)) !important;
    transition: all 0.3s ease !important;
  }

  .site-header.scrolled .logo-image-centered {
    height: 80px !important;
    max-height: 80px !important;
  }

  .menu-toggle-btn {
    padding: 7px 11px !important;
    font-size: 0.74rem !important;
  }

  #navConsultationBtn {
    padding: 7px 11px !important;
    font-size: 0.74rem !important;
  }
}

@media (max-width: 400px) {
  .logo-image-centered {
    height: 74px !important;
    max-height: 74px !important;
    transform: scale(1.12) !important;
  }
}


/* ==========================================================================
   HEADER BOTTOM LINE & HERO BADGE ELEGANT GAP (≤768px)
   Adds a 24px-28px luxury breathing space between header line & STATEN ISLAND badge
   ========================================================================== */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 124px !important;
  }

  .hero-content {
    margin-top: 12px !important;
  }

  .hero-badge-wrap {
    margin-top: 8px !important;
    margin-bottom: 18px !important;
  }
}

@media (max-width: 400px) {
  .hero-section {
    padding-top: 118px !important;
  }
}
