/* ==========================================================================
   Spacelink Realty — Luxury Editorial Black & White (Light Mode) Master Design System
   Pure White (#FFFFFF), Off-White (#F8F9FA), Deep Obsidian (#09090B), Rich Monochrome
   ========================================================================== */
/* Font loaded via <link> in HTML for better performance */

:root {
  --bg: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f2f4;
  --bg-contrast: #09090b;
  
  --text-main: #09090b;
  --text-body: #27272a;
  --text-muted: #71717a;
  --text-light: #ffffff;
  
  --border-light: #e4e4e7;
  --border-dark: #18181b;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ── Ambient Floating Vector Logos in Page Background ── */
#background-floating-logos-canvas,
.page-ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1 !important;
  display: block !important;
}

.page-drifting-logo {
  position: absolute;
  color: #18181b;
  opacity: 0;
  animation: pageFloatUpward linear infinite;
  will-change: top, opacity;
  pointer-events: none;
}

@keyframes pageFloatUpward {
  0% {
    top: 105%;
    opacity: 0;
  }
  15% {
    opacity: var(--logo-peak-op, 0.08);
  }
  85% {
    opacity: var(--logo-peak-op, 0.08);
  }
  100% {
    top: -25%;
    opacity: 0;
  }
}

/* Elevate all content containers, cards, forms, modals, navbars above floating background logos */
main,
section > *,
.site-main,
.vision-grid,
.vision-section,
.marquee-network-section,
.about-dark-section,
.buy-grid-section,
.buy-page-header,
.properties-showcase-section,
.sell-section,
.contact-section,
.breadcrumb-bar,
.inquiry-sidebar,
.detail-loading,
#detail-root,
.sell-form-outer,
.property-card,
.property-card-minimal,
.buy-filter-bar,
.office-card,
.pillar-card,
.stat-card,
.team-card,
.about-card,
.about-capabilities-grid > div,
.inquiry-modal-content,
.modal-content,
.form-card,
.card,
.hero-content,
.hero-content-inner,
.hero-text-block,
.section-header-block,
.top-bar,
.main-nav-wrapper {
  position: relative;
  z-index: 2;
}

/* Opaque backgrounds on cards and form boxes so logos float cleanly behind content */
.sell-form-outer,
.property-card,
.property-card-minimal,
.office-card,
.inquiry-modal-content,
.modal-content {
  background-color: #ffffff !important;
}

.buy-filter-bar {
  background-color: #f4f4f5 !important;
}

/* ── Ambient Floating Vector Logos in Footer ── */
.site-footer {
  position: relative !important;
  overflow: hidden !important;
}

.footer-ambient-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1 !important;
}

.footer-grid,
.footer-bottom-bar {
  position: relative;
  z-index: 2 !important;
}

.footer-drifting-logo {
  position: absolute;
  color: #ffffff;
  opacity: 0;
  animation: footerFloatUpward linear infinite;
  will-change: top, opacity;
  pointer-events: none;
}

@keyframes footerFloatUpward {
  0% {
    top: 105%;
    opacity: 0;
  }
  15% {
    opacity: var(--logo-peak-op, 0.22);
  }
  85% {
    opacity: var(--logo-peak-op, 0.22);
  }
  100% {
    top: -30%;
    opacity: 0;
  }
}

.floating-bg-logo {
  display: none !important;
}

/* ── Footer watermark SVG — hidden in favor of ambient drifting logos ── */
.footer-floating-logo {
  display: none;
}

/* ── Hide any IDE-injected Gemini/AI watermark badges ── */
[id*="gemini-badge"],
[class*="gemini-badge"],
[id*="antigravity"],
[class*="antigravity"],
[id*="agy-badge"],
[class*="agy-badge"] {
  display: none !important;
  visibility: hidden !important;
}

/* ── Top Contact Bar (Default across all pages) ── */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 101;
  transition: transform 0.35s ease;
}

.top-bar-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-link {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: color 0.2s;
}

.top-bar-link:hover {
  color: var(--text-main);
}

.btn-post-asset {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
  padding: 0.25rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-post-asset:hover {
  background: #000000;
  color: #ffffff;
}

/* ── Main Navigation (Default Solid Sticky Bar for All Inner Pages) ── */
.main-nav-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ── Hero Page Floating & Scroll Transformation (Only on index.html with .page-hero) ── */
body.page-hero .top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  transition: transform 0.35s ease;
}

body.page-hero.nav-scrolled .top-bar {
  transform: translateY(-100%);
}

body.page-hero .main-nav-wrapper {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 99;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}

body.page-hero .main-nav-wrapper.scrolled {
  top: 0 !important;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.page-hero .main-nav-wrapper:not(.scrolled) .nav-item {
  color: rgba(255, 255, 255, 0.9);
}
body.page-hero .main-nav-wrapper:not(.scrolled) .nav-item:hover,
body.page-hero .main-nav-wrapper:not(.scrolled) .nav-item.active {
  color: #ffffff;
}
body.page-hero .main-nav-wrapper:not(.scrolled) .nav-item::after {
  background: #ffffff;
}
body.page-hero .main-nav-wrapper:not(.scrolled) .brand-text-title {
  color: #ffffff;
}
body.page-hero .main-nav-wrapper:not(.scrolled) .brand-text-sub {
  color: rgba(255, 255, 255, 0.65);
}
body.page-hero .main-nav-wrapper:not(.scrolled) .btn-nav-inquire {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
body.page-hero .main-nav-wrapper:not(.scrolled) .btn-nav-inquire:hover {
  background: rgba(255, 255, 255, 0.3);
}
body.page-hero .main-nav-wrapper:not(.scrolled) .mobile-menu-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.main-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-monogram {
  width: 40px;
  height: 40px;
  background: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.brand-text-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: #000000;
}

.brand-text-sub {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

.nav-item:hover, .nav-item.active {
  color: #000000;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000000;
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-inquire {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-nav-inquire:hover {
  background: #27272a;
  transform: translateY(-1px);
}

/* ── Hero Video Section ── */
.hero-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 2rem 5rem;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.88);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(255, 255, 255, 0.55) 72%,
    rgba(248, 249, 250, 1) 100%
  );
  z-index: 1;
}

.hero-content-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 4rem;
}

.hero-buttons-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-hero-solid {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-hero-solid:hover {
  background: #27272a;
  transform: translateY(-2px);
}

.btn-hero-white {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-hero-white:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Hero Search Bar (Screenshot 4) ── */
.hero-search-console {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.search-field-input {
  flex: 2;
  min-width: 240px;
  border: none;
  border-right: 1px solid #e4e4e7;
  padding: 1.1rem 1.25rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  color: #000000;
}

.search-field-select {
  flex: 1;
  min-width: 170px;
  border: none;
  border-right: 1px solid #e4e4e7;
  padding: 1.1rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: inherit;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  color: #000000;
}

.btn-search-exec {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 1.1rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-search-exec:hover {
  background: #27272a;
}

/* ── White Light Strip / Categories (Screenshot 2) ── */
.categories-strip {
  background: #ffffff;
  color: #000000;
  padding: 1.2rem 2rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}

.categories-strip-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cat-strip-item {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #18181b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.cat-strip-item:hover {
  color: #000000;
  text-decoration: underline;
}

.cat-strip-divider {
  color: #a1a1aa;
  font-weight: 300;
}

/* ── 2-Line Moving Logo Marquee (Dark Mode) ── */
.marquee-network-section {
  background: #09090b;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.marquee-header-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 2.25rem;
}

.marquee-track-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-fade-left, .marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, #09090b 25%, transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, #09090b 25%, transparent);
}

.marquee-row {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.marquee-row-1 {
  animation: scrollLeft 40s linear infinite;
}

.marquee-row-2 {
  animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-row:hover {
  animation-play-state: paused;
}

.partner-logo-pill {
  width: 220px;
  height: 80px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
}

.partner-logo-pill:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  border-color: #d97706;
}

.partner-logo-pill img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ── About / Vision Section ── */
.vision-section {
  background: #ffffff;
  color: #09090b;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-light);
}

.vision-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 4.5rem;
  align-items: center;
}

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

/* ── Executive Leadership Portrait (High-End Institutional) ── */
.portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  perspective: 1000px;
}

.portrait-card {
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.portrait-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 32px 70px -12px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.06);
}

.portrait-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.9;
  border-radius: 12px;
  overflow: hidden;
  background: #09090b;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portrait-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.75) 0%, rgba(9, 9, 11, 0.15) 35%, transparent 60%);
  pointer-events: none;
}

.portrait-shimmer-sweep {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 1s ease;
}

.portrait-card:hover .portrait-shimmer-sweep {
  left: 150%;
  transition: left 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portrait-top-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 3;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.portrait-bottom-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.95rem 1.4rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  z-index: 4;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait-card:hover .portrait-bottom-badge {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.badge-eyebrow {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #71717a;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.badge-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #09090b;
  margin: 0;
  line-height: 1.15;
}

.badge-role {
  font-size: 0.7rem;
  color: #a1a1aa;
  font-weight: 500;
}

.badge-metric {
  text-align: right;
  border-left: 1px solid #e4e4e7;
  padding-left: 1rem;
}

.badge-metric-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #09090b;
  line-height: 1;
}

.badge-metric-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #71717a;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.vision-text-block .eyebrow-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 1rem;
}

.vision-text-block .eyebrow-line::before {
  content: '';
  width: 25px;
  height: 1px;
  background: #71717a;
}

.vision-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  color: #000000;
}

.vision-lead-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3f3f46;
  margin-bottom: 1.5rem;
}

.vision-lead-text strong {
  color: #000000;
  font-weight: 700;
}

.vision-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn-vision-connect {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: 0.95rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-vision-connect:hover {
  background: #27272a;
}

.vision-phone-link {
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Property Showcase Cards (Light Mode Editorial Grid) ── */
.properties-showcase-section {
  background: #f8f9fa;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}

.section-header-block {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 600;
  line-height: 1.1;
  color: #000000;
}

.properties-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.25rem;
}

.property-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: #000000;
  box-shadow: var(--shadow-hover);
}

.card-media-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #e4e4e7;
}

.card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-badge-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #000000;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.card-badge-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  z-index: 6;
}

.card-badge-status.badge-sold {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.card-sold-banner {
  position: absolute;
  top: 18px;
  left: -38px;
  transform: rotate(-45deg);
  background: #dc2626;
  color: #ffffff;
  padding: 6px 45px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.5);
  z-index: 10;
  pointer-events: none;
}

.property-card.is-sold .card-media-wrapper img {
  filter: grayscale(25%);
}

.property-card.is-sold {
  border-color: #fca5a5;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #000000;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #09090b;
}

.card-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card-specs-row {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: auto;
  font-size: 0.8125rem;
  color: #52525b;
  flex-wrap: wrap;
}

/* ── Rich Ahmedabad Real Estate Content Sections (Light Mode) ── */
.seo-corridors-section {
  background: #ffffff;
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}

.seo-container {
  max-width: 1400px;
  margin: 0 auto;
}

.corridors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.corridor-card {
  background: #fafafa;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
}

.corridor-card:hover {
  background: #ffffff;
  border-color: #000000;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.corridor-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.corridor-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000000;
}

.corridor-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Statistics Strip (Light Mode) ── */
.stats-strip-section {
  background: #000000;
  color: #ffffff;
  padding: 4.5rem 2rem;
  position: relative;
  z-index: 2;
}

.stats-strip-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.stats-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.stats-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a1a1aa;
}

/* ── SEO FAQ Section (Light Mode) ── */
.seo-faq-section {
  background: #ffffff;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.75rem;
  background: #fafafa;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #000000;
}

.faq-answer {
  font-size: 0.875rem;
  color: #52525b;
  line-height: 1.7;
}

/* ── Footer (Dark Mode — Black) ── */
.site-footer {
  background: #09090b;
  border-top: none;
  padding: 5rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  z-index: 10;
  color: #ffffff;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-bar {
  position: relative;
  z-index: 2;
}

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

.footer-brand p {
  color: #a1a1aa;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 380px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #71717a;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ── Footer Social Icons ── */
.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}

.social-icon-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #52525b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Property Details View (Light Mode) ── */
.prop-detail-section {
  padding: 4rem 2rem 6rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.detail-gallery-carousel {
  width: 100%;
  height: 480px;
  background: #e4e4e7;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.detail-gallery-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-header-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.detail-price-box {
  background: #fafafa;
  border: 1px solid var(--border-light);
  padding: 1.25rem 2rem;
  border-radius: 8px;
  text-align: right;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

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

.spec-item-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.spec-item-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
}

/* ==========================================================================
   Mobile Navigation Drawer & Hamburger Menu System
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  color: #000000;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 100;
}

.mobile-menu-toggle:hover {
  background: #f4f4f5;
  border-color: #000000;
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #ffffff;
  color: #09090b;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #09090b;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #27272a;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #000000;
  background: #f4f4f5;
  border-left-color: #000000;
}

.mobile-nav-link span.arrow {
  color: #a1a1aa;
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.mobile-nav-link:hover span.arrow {
  transform: translateX(3px);
  color: #000000;
}

.mobile-drawer-actions {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-contact-info {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: #71717a;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-drawer-contact-info a {
  color: #09090b;
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   Master Responsive System Across All Breakpoints
   ========================================================================== */

/* ── 1. Tablet & Small Laptop (<= 1024px) ── */
@media (max-width: 1024px) {
  .nav-links-desktop {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .hero-content-inner {
    padding-left: 0;
  }

  .hero-buttons-row {
    margin-bottom: 1.75rem;
  }

  .properties-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portrait-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .detail-body-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
  }

  .detail-hero-content {
    padding: 2.5rem 1.5rem;
  }

  .breadcrumb-bar {
    padding: 0.75rem 1.5rem;
  }
}

/* ── 2. Tablets & Large Phones (<= 768px) ── */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Prevent Safari input zoom */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Header & Top Bar */
  .top-bar {
    padding: 0.45rem 1rem;
    font-size: 0.7rem;
  }

  .top-bar-left {
    gap: 0.75rem;
  }

  .btn-post-asset {
    padding: 0.22rem 0.65rem;
    font-size: 0.625rem;
  }

  .main-nav-container {
    padding: 0.75rem 1rem;
  }

  .brand-logo-monogram {
    width: 34px;
    height: 34px;
  }

  .brand-logo-monogram svg {
    width: 18px;
    height: 18px;
  }

  .brand-text-title {
    font-size: 1.05rem;
  }

  .brand-text-sub {
    font-size: 0.52rem;
  }

  .btn-nav-inquire {
    display: none;
  }

  /* Hero Section */
  .hero-video-section {
    min-height: 520px;
    padding: 3rem 1rem 2.5rem;
  }

  .hero-content-inner {
    padding-left: 0;
  }

  .hero-buttons-row {
    width: 100%;
    gap: 0.75rem;
  }

  .btn-hero-solid,
  .btn-hero-white {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
  }

  /* Search Bar Console */
  .hero-search-console {
    flex-direction: column;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
  }

  #hero-search-form {
    flex-direction: column !important;
    width: 100% !important;
  }

  .search-field-input,
  .search-field-select {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e4e4e7;
    border-radius: 0 !important;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
  }

  .btn-search-exec {
    width: 100% !important;
    padding: 0.95rem 1rem;
    border-radius: 0 0 8px 8px !important;
  }

  /* Categories Strip Horizontal Scroller */
  .categories-strip {
    padding: 0.85rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .categories-strip::-webkit-scrollbar {
    display: none;
  }

  .categories-strip-container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.25rem;
    width: max-content;
  }

  /* Logos Marquee */
  .marquee-network-section {
    padding: 3rem 0 2.5rem;
  }

  .marquee-header-title {
    font-size: 0.6875rem;
    padding: 0 1rem;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
  }

  .partner-logo-pill {
    width: 155px;
    height: 64px;
    padding: 0.5rem 0.85rem;
  }

  .marquee-fade-left,
  .marquee-fade-right {
    width: 50px;
  }

  /* Section Headers & Titles */
  .properties-showcase-section {
    padding: 3.5rem 1rem;
  }

  .section-header-block {
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  /* Vision & Leadership */
  .vision-section {
    padding: 3.5rem 1rem;
  }

  .vision-title {
    font-size: 2.3rem;
  }

  .vision-lead-text {
    font-size: 0.95rem;
  }

  .vision-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .btn-vision-connect {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .vision-phone-link {
    justify-content: center;
  }

  /* Stats Section */
  .stats-strip-section {
    padding: 3rem 1rem;
  }

  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .stats-number {
    font-size: 2.6rem;
  }

  /* FAQ & SEO Section */
  .seo-faq-section {
    padding: 3.5rem 1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 1rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

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

  /* Property Detail Page */
  .detail-hero {
    height: 52vh;
    min-height: 380px;
  }

  .detail-price-hero {
    font-size: 1.85rem;
  }

  /* Forms & Filters */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 140px"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  [style*="padding: 4.5rem 2rem 6rem"],
  [style*="padding:4.5rem 2rem 6rem"],
  [style*="padding: 5rem 2rem 5rem"],
  [style*="padding:5rem 2rem 5rem"] {
    padding: 2.5rem 1rem !important;
  }

  [style*="padding:3.5rem 3rem"],
  [style*="padding: 3.5rem 3rem"],
  [style*="padding:2.75rem"],
  [style*="padding: 2.75rem"] {
    padding: 1.75rem 1.25rem !important;
  }
}

/* ── 3. Small Mobile Phones (<= 480px) ── */
@media (max-width: 480px) {
  .top-bar-left .top-bar-link:first-child {
    display: none;
  }

  .hero-video-section {
    padding: 2.5rem 0.85rem 2rem;
    min-height: 480px;
  }

  .hero-buttons-row {
    flex-direction: column;
  }

  .btn-hero-solid,
  .btn-hero-white {
    width: 100%;
    justify-content: center;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .property-card .card-media-wrapper {
    height: 205px;
  }

  .card-body {
    padding: 1.25rem 1rem;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-price {
    font-size: 1.35rem;
  }

  .card-specs-row {
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .specs-grid {
    grid-template-columns: 1fr !important;
  }

  .spec-cell {
    padding: 0.9rem 1.15rem;
  }

  .detail-hero-content {
    padding: 1.75rem 1rem;
  }

  .detail-body-wrapper {
    padding: 2rem 1rem;
  }

  .breadcrumb-bar {
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
  }

  .stats-strip-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  #inquiry-modal {
    padding: 0.75rem !important;
  }

  #inquiry-modal > div {
    padding: 1.75rem 1.25rem !important;
    border-radius: 10px;
    width: 100% !important;
  }

  #inquiry-modal h2 {
    font-size: 1.6rem !important;
  }
}

/* ── Mobile Performance & Responsiveness ── */
@media (max-width: 768px) {
  /* Disable expensive legacy canvas animations on mobile */
  #bg-logo-anim { display: none !important; }

  /* Fix overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* Hero mobile */
  .hero-section, .page-hero { min-height: 60vh; padding: 2rem 1rem; }
  .hero-title, .page-title { font-size: clamp(1.8rem, 7vw, 3rem) !important; }
  .hero-subtitle { font-size: clamp(0.9rem, 4vw, 1.2rem) !important; }

  /* Nav */
  .main-nav-container { padding: 0 1rem; }

  /* Cards */
  .properties-grid, .cards-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }

  /* Images */
  img { max-width: 100%; height: auto; }

  /* Marquee — slower on mobile */
  .marquee-track { animation-duration: 30s; }

  /* Sections padding */
  section { padding: 2.5rem 1rem !important; }

  /* Buttons */
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* Forms */
  .form-row { flex-direction: column !important; }
  .form-group { width: 100% !important; }

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

@media (max-width: 480px) {
  .hero-title, .page-title { font-size: clamp(1.5rem, 8vw, 2rem) !important; }
  .section-title { font-size: clamp(1.3rem, 6vw, 1.8rem) !important; }
  .top-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #bg-logo-anim, #background-floating-logos-canvas { display: none !important; }
}
