:root {
  --primary: #059669; /* Industrial Emerald */
  --primary-light: rgba(5, 150, 105, 0.15);
  --primary-dark: #064E3B;
  --secondary: #059669;
  --accent: #DCFCE7;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border-light: rgba(5, 150, 105, 0.12);
  --primary-glow: rgba(5, 150, 105, 0.35);
  --hero-gradient-start: rgba(6, 78, 59, 0.88);
  --hero-gradient-end: rgba(5, 150, 105, 0.65);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  image-rendering: smooth;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Premium Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 60, 130, 0.08);
  border-bottom-color: rgba(0, 119, 182, 0.15);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  min-height: 50px;
  height: 50px;
  line-height: 1;
  text-decoration: none;
}

.nav-brand img {
  height: 50px;
  max-height: 50px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  display: block;
}

.nav-brand i {
  color: var(--primary);
  font-size: 1.7rem;
  flex-shrink: 0;
}

.nav-brand span {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.925rem;
  color: #334155;
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

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

.nav-links a.active {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Navbar CTA - Dark Badge Style (Inspired by Netlify Badge) */
.nav-cta-btn {
  padding: 0.45rem 1.05rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #0b1928 0%, var(--primary-dark, #064e3b) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.nav-cta-btn i {
  color: #34d399 !important;
  font-size: 0.875rem !important;
  transition: transform 0.25s ease !important;
}

.nav-cta-btn span {
  color: rgba(255, 255, 255, 0.92) !important;
  letter-spacing: 0.2px;
}

.nav-cta-btn strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark, #064e3b) 0%, var(--primary, #059669) 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px var(--primary-glow, rgba(5, 150, 105, 0.45)) !important;
}

.nav-cta-btn:hover i {
  color: #ffffff !important;
  transform: scale(1.1);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 var(--primary-glow, rgba(0, 119, 182, 0.39));
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 6px 20px var(--primary-glow, rgba(0, 119, 182, 0.23));
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 110px 0 70px 0;
  background-color: #0b1928;
  background-image: url('../assets/images/hero.jpg?v=34');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1025px) and (pointer: fine) {
  .hero {
    background-attachment: fixed;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
}

.hero .container {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  animation: slideUp 0.35s ease-out forwards;
}

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

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-content .search-bar,
.hero-search-form {
  display: flex;
  background: var(--white);
  padding: 0.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  align-items: center;
}

.hero-search-form .search-field,
.hero-content .search-field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.hero-content .search-field-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition);
}

.hero-content .search-field-arrow {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.75rem;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition);
}

.hero-search-form select,
.hero-search-form input,
.hero-content .search-field select,
.hero-content .search-field input {
  width: 100%;
  height: 50px;
  padding: 0 2rem 0 2.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  background-color: #f8fafc;
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.hero-search-form input,
.hero-content .search-field input {
  padding-right: 1rem;
}

.hero-search-form input::placeholder,
.hero-content .search-field input::placeholder {
  color: #94a3b8;
}

.hero-content .search-field:focus-within .search-field-icon {
  color: var(--primary-dark);
}

.hero-content .search-field:focus-within .search-field-arrow {
  color: var(--primary);
  transform: translateY(-50%) rotate(180deg);
}

.hero-search-form select:focus,
.hero-search-form input:focus,
.hero-content .search-field select:focus,
.hero-content .search-field input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.search-submit-btn,
.hero-search-form button,
.hero-content .search-bar button {
  height: 50px;
  padding: 0 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
}

/* Hero Trust Badges (Highlighted Yellow Image 2) */
.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 1s ease-out forwards;
}

.hero-trust-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #ffffff;
  text-align: left;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hero-trust-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.trust-info h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.15rem 0;
  line-height: 1.2;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
}

.trust-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.3;
}



/* Sections General */
section,
.section {
  padding: 6rem 0;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.85rem;
  position: relative;
  display: block;
}

.section-header h2::after {
  content: '';
  display: block;
  margin: 0.55rem auto 0 auto;
  width: 50px;
  height: 3.5px;
  background: var(--secondary);
  border-radius: 3px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Properties Listing */
.properties-bg {
  background-color: var(--white);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.property-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  max-width: 440px;
  width: 100%;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.property-img-wrapper,
.selected-property-img-wrapper {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.property-img-wrapper {
  height: 240px;
  max-height: 250px;
}

.property-img-wrapper img,
.selected-property-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  image-rendering: smooth;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

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

.property-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.property-usage-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-dark, #0f172a);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.property-badge.factory {
  background: var(--secondary);
}

/* Custom Toggle Switch for Dashboard Settings */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s ease;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

input:checked + .slider {
  background-color: #059669;
}

input:focus + .slider {
  box-shadow: 0 0 1px #059669;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Animated Eye-Catching Gold Featured Badge for Top-Right of Property Image */
.property-featured-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-weight: 900;
  font-size: 0.8rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.55), 0 0 0 2.5px rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  border: 1px solid #fef3c7;
  overflow: hidden;
  animation: badgePulseGlow 3.5s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.property-featured-badge.temp-featured-badge {
  animation: badgePulseGlow 3.5s infinite ease-in-out, featuredHideAfter20s 0.6s ease-in-out 20s forwards;
}

@keyframes featuredHideAfter20s {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
    pointer-events: none;
  }
}

.property-usage-badge.delayed-usage-badge {
  opacity: 0;
  visibility: hidden;
  animation: usageShowAfter20s 0.6s ease-in-out 20s forwards;
}

@keyframes usageShowAfter20s {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
}

.property-featured-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(25deg);
  animation: badgeShimmer 3s infinite;
}

.property-featured-badge i {
  color: #fffbeb;
  font-size: 0.9em;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
  animation: starSpinSlow 6s infinite linear;
}

.property-card:hover .property-featured-badge,
.property-featured-badge:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.85), 0 0 12px rgba(251, 191, 36, 0.7), 0 0 0 3.5px rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 45%, #ea580c 100%);
}

@keyframes badgePulseGlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.55), 0 0 0 2.5px rgba(255, 255, 255, 0.85);
  }
  50% {
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.85), 0 0 12px rgba(251, 191, 36, 0.7), 0 0 0 3.5px rgba(255, 255, 255, 0.95);
  }
}

@keyframes badgeShimmer {
  0% {
    left: -75%;
  }
  30%, 100% {
    left: 125%;
  }
}

@keyframes starSpinSlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Green Tenure Badge (Matching Industrial Emerald theme from Dashboard Settings) */
.tenure-badge-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ecfdf5;
  color: #047857;
  border: 1.5px solid #059669;
  font-weight: 800;
  font-size: 0.82rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.15);
  transition: all 0.2s ease;
}

.tenure-badge-green:hover {
  background-color: #dcfce7;
  border-color: #047857;
}

/* Green Section / Sub-location Tag (e.g. @ Seksyen 26) */
.property-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: #ecfdf5;
  color: #047857;
  border: 1.5px solid #059669;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: 'Outfit', sans-serif;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  margin-left: 6px;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.12);
  transition: all 0.2s ease;
}

.property-section-tag:hover {
  background-color: #dcfce7;
  border-color: #047857;
}

.property-section-tag .at-symbol {
  color: #059669;
  font-weight: 800;
  font-size: 0.95em;
}

/* Ribbon badge on top left of property photo */
.property-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.property-ribbon.sale {
  background-color: #EF4444; /* Red for SALE */
  color: #FFFFFF;
}

.property-ribbon.rent {
  background-color: #FACC15; /* Yellow for RENT */
  color: #1E293B; /* Dark charcoal text for readability */
}

.property-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.property-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.property-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.35;
  min-height: 3.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-park-text {
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 1.4rem;
}

.property-road-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  min-height: 1.3rem;
}

.property-location {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.posted-date-badge {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
  min-height: 4.5rem;
  align-content: start;
}

.property-card-action {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* Mobile Grid Mode helpers - hidden by default on desktop */
.mobile-compact-specs-bar,
.mobile-collapse-bar,
.mobile-collapse-card-btn {
  display: none;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.meta-item i {
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer-brand img,
.footer-brand-title img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--accent);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  opacity: 0.7;
  font-size: 0.875rem;
}

/* Form Controls & Contact Section */
.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-light, rgba(0, 119, 182, 0.2));
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--border-light, rgba(0, 119, 182, 0.15));
}

/* Get In Touch Contact Grid & Lead Form - Unified 2-Card Twin Layout */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

#contact-info-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#default-contact-info {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: opacity 0.3s ease;
}

#selected-property-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.3s ease;
}

.selected-property-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: all 0.25s ease;
}

.selected-property-step-bar {
  background: linear-gradient(135deg, var(--primary, #059669) 0%, var(--primary-dark, #064e3b) 100%);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-light);
}

.selected-property-step-tag {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.selected-property-body {
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.selected-property-desc-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}

.selected-property-desc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.selected-property-desc-header i {
  color: var(--primary);
  font-size: 0.85rem;
}

.selected-property-desc-content {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: pre-line;
  max-height: 145px;
  overflow-y: auto;
  scrollbar-width: thin;
  margin: 0;
  padding: 0;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  text-align: left;
  transition: all 0.25s ease;
}

.contact-form-header {
  padding: 1.25rem 1.6rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.contact-form-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-form-icon-pill {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-form-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.contact-form-subtitle {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

.contact-form-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.contact-form-wrapper form {
  padding: 1.35rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  text-align: left;
}

.contact-form-wrapper .form-group {
  margin-bottom: 0 !important;
  text-align: left;
}

.contact-form-wrapper .form-group label,
#contact .form-group label,
#lead-form .form-group label {
  text-align: left;
  display: flex !important;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #475569 !important;
  margin-bottom: 0.35rem !important;
}

.contact-form-wrapper .req-star {
  color: #ef4444;
  font-weight: 800;
}

/* Input Prefix Box Container */
.lead-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.lead-input-wrap:focus-within {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14) !important;
  background: #ffffff !important;
}

.lead-input-wrap:has(.form-control:user-invalid) {
  border-color: #ef4444 !important;
}

.lead-input-wrap:has(.form-control:user-invalid) .lead-input-icon {
  color: #ef4444 !important;
}

.lead-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 100%;
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  pointer-events: none;
  user-select: none;
}

.lead-input-wrap:focus-within .lead-input-icon {
  color: #0284c7;
}

.lead-input-wrap .form-control {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 0.85rem 0 0 !important;
  font-size: 0.88rem !important;
  color: #0f172a !important;
  flex: 1;
  width: 100%;
  text-align: left;
  text-align-last: left;
}

.lead-input-wrap .form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 0.84rem !important;
}

/* Custom Select Dropdown Wrap */
.lead-select-wrap {
  cursor: pointer;
}

.lead-select-wrap select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  padding-right: 2rem !important;
}

.lead-select-chevron {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.78rem;
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lead-select-wrap:focus-within .lead-select-chevron {
  color: #0284c7;
}

/* Textarea Wrap */
.lead-textarea-wrap {
  align-items: flex-start;
}

.lead-textarea-wrap .lead-input-icon {
  padding-top: 0.65rem;
  height: auto;
}

.lead-textarea-wrap textarea.form-control {
  height: 72px !important;
  min-height: 72px !important;
  padding: 0.55rem 0.85rem 0.55rem 0 !important;
  line-height: 1.4 !important;
  resize: none !important;
}

/* Submit Button & Privacy Note */
.lead-submit-btn {
  height: 44px !important;
  min-height: 44px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.lead-submit-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
  transform: translateY(-1px);
}

.lead-submit-btn:active {
  transform: scale(0.98) !important;
}

.form-privacy-note {
  font-size: 0.72rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1.3;
}

.form-privacy-note i {
  color: #0284c7;
  font-size: 0.78rem;
}

.btn-text-desktop {
  display: inline-flex;
  align-items: center;
}

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

/* Services Section (How Can We Help) */
.services-bg {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border-color: var(--primary-light);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--primary-dark);
  gap: 0.75rem;
}

/* Custom Requirements Banner (Highlighted Yellow Image 1) */
.custom-requirements-banner {
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 18px 36px -6px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.owner-listing-banner {
  margin-top: 0;
  margin-bottom: 3rem;
}

.custom-requirements-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.banner-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.banner-text h3 {
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.3px;
}

.banner-text p {
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.45;
  max-width: 620px;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.925rem;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.banner-btn-white {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.banner-btn-white:hover {
  background: #f8fafc;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.banner-btn-whatsapp {
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}

.banner-btn-whatsapp:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.55);
}

@media (max-width: 992px) {
  .hero-trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-requirements-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .banner-content {
    flex-direction: column;
    text-align: center;
  }
  .banner-text p {
    max-width: 100%;
  }
  .banner-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero-trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Who Are We & Stats Section */
.who-we-are-bg {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

#who-we-are .stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  color: var(--white);
  margin-bottom: 4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#who-we-are .stats-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

#who-we-are .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

#who-we-are .stat-card {
  padding: 1.4rem 1.1rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#who-we-are .stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  transition: transform 0.35s ease;
  border-radius: 3px;
}

#who-we-are .stat-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 0 25px rgba(255, 255, 255, 0.12);
}

#who-we-are .stat-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

#who-we-are .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

#who-we-are .stat-card:hover .stat-number {
  transform: scale(1.05);
}

#who-we-are .stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.2px;
}

#who-we-are .stat-detail {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.55rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#who-we-are .stat-card:hover .stat-detail {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Interactive Area Chips in Modal */
.area-chip {
  background: #f1f5f9;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.area-chip:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* Featured Agents Grid */
.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-header h3 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.team-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.agent-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.agent-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.agent-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.agent-card:hover .agent-img-box img {
  transform: scale(1.06);
}

.agent-ren-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--primary-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.agent-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.agent-name-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.agent-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.agent-ren-inline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-light, rgba(0, 119, 182, 0.2));
}

.agent-bio {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.agent-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.agent-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero .search-bar {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .navbar {
    border-bottom-color: rgba(226, 232, 240, 0.9);
  }

  .navbar .container {
    height: 62px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-brand {
    font-size: 1.35rem;
    gap: 0.5rem;
  }

  .nav-brand i {
    font-size: 1.5rem;
  }

  .nav-brand img {
    max-height: 44px !important;
    max-width: 190px !important;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem 1.75rem;
    gap: 1.25rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

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

  .hero h1 {
    font-size: 2.25rem;
  }
}

/* Property Filters */
.property-filters {
  margin-bottom: 3rem;
}

.city-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.city-filter-card {
  position: relative;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.city-filter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--hero-gradient-start, rgba(2, 62, 138, 0.88)) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.city-filter-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.city-filter-card:hover img,
.city-filter-card.active img {
  transform: scale(1.1);
}

.city-filter-card:hover,
.city-filter-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.city-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
  transition: var(--transition);
}

.city-filter-card:hover .city-count-badge,
.city-filter-card.active .city-count-badge {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 10px var(--primary-glow, rgba(0, 119, 182, 0.4));
}

.city-filter-card .city-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-park-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.city-park-select option {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 500;
}

.type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.type-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.type-filter-btn:hover,
.type-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 480px) {
  .navbar .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .property-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   PROPERTY PHOTO GALLERY LIGHTBOX MODAL & TRIGGERS
   ========================================================================== */

.property-img-wrapper,
.selected-property-img-wrapper {
  cursor: pointer;
}

.photo-view-trigger {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  z-index: 5;
}

.property-img-wrapper:hover .photo-view-trigger,
.selected-property-img-wrapper:hover .photo-view-trigger {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px var(--primary-glow, rgba(0, 119, 182, 0.5));
}

.property-img-wrapper:hover img,
.selected-property-img-wrapper:hover img {
  transform: scale(1.04);
}

/* Selected Property Card & High-Converting Lead Capture Flow */
.selected-property-card {
  position: relative;
  transition: all 0.3s ease;
}

.selected-property-step-bar {
  background: linear-gradient(135deg, var(--primary, #2563eb) 0%, var(--primary-dark, #0f172a) 100%);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#scroll-to-lead-form-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

#scroll-to-lead-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow, rgba(37, 99, 235, 0.45));
}

.form-bounce-arrow {
  display: inline-block;
  animation: formBounceDown 1.8s infinite;
}

@keyframes formBounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(4px);
  }
  60% {
    transform: translateY(2px);
  }
}

/* Lightbox Modal Overlay */
.property-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.pg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pg-modal-dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1040px;
  max-height: 90vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-gallery-modal.active .pg-modal-dialog {
  transform: scale(1);
}

/* Header */
.pg-modal-header {
  padding: 1.25rem 1.75rem;
  background: rgba(30, 41, 59, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pg-modal-title {
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  font-family: 'Outfit', sans-serif;
  text-wrap: balance;
}

.pg-modal-subtitle {
  color: #94a3b8;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.pg-modal-counter {
  background: var(--border-light, rgba(0, 119, 182, 0.25));
  color: #ffffff;
  border: 1px solid var(--border-light, rgba(56, 189, 248, 0.3));
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-box: trim-both cap alphabetic;
}

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

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

/* Body / Image Viewport */
.pg-modal-body {
  position: relative;
  flex: 1;
  min-height: 360px;
  max-height: 55vh;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  user-select: none;
}

.pg-image-viewport {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.pg-image-viewport img {
  max-width: 100%;
  max-height: 52vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.pg-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pg-nav-prev {
  left: 1.25rem;
}

.pg-nav-next {
  right: 1.25rem;
}

.pg-nav-btn:hover {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 15px var(--primary-glow, rgba(0, 119, 182, 0.6));
}

/* Footer & Thumbnails */
.pg-modal-footer {
  padding: 1rem 1.5rem;
  background: rgba(30, 41, 59, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.pg-thumbnails-strip {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 0;
}

.pg-thumb-btn {
  width: 76px;
  height: 54px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #020617;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.pg-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.pg-thumb-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.pg-thumb-btn.active {
  opacity: 1;
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  transform: translateY(-3px) scale(1.04);
}

@media (max-width: 640px) {
  .pg-modal-dialog {
    width: 95%;
    max-height: 94vh;
    border-radius: 16px;
    margin: auto;
  }
  .pg-modal-header {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1rem 0.75rem;
    gap: 0.55rem;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
  }
  .pg-title-container {
    width: 100%;
    padding-right: 42px;
  }
  .pg-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 3px 0;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .pg-modal-subtitle {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .pg-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  .pg-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.5rem;
  }
  .pg-modal-counter {
    order: 1;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-box: trim-both cap alphabetic;
  }
  .pg-modal-share-btn {
    order: 2;
    margin: 0 !important;
    padding: 0.32rem 0.85rem;
    font-size: 0.78rem;
    border-radius: 999px;
  }
  .pg-modal-body {
    min-height: 230px;
    max-height: 48vh;
    padding: 0.25rem;
    touch-action: pan-y pinch-zoom;
  }
  .pg-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .pg-nav-prev {
    left: 0.4rem;
  }
  .pg-nav-next {
    right: 0.4rem;
  }
  .pg-modal-footer {
    padding: 0.6rem 0.75rem;
  }
  .pg-thumbnails-strip {
    gap: 0.4rem;
  }
  .pg-thumb-btn {
    width: 56px;
    height: 38px;
    border-radius: 6px;
  }
}

/* ==========================================================================
   PROPERTY OWNER WELCOME & VALUE HIGHLIGHTS CARDS
   ========================================================================== */
.owner-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.owner-feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Dynamic Top Gradient Stripe (inspired by "How Can We Help" service cards) */
.owner-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Elevation & Glow on Cursor Hover */
.owner-feature-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.12), 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: rgba(5, 150, 105, 0.35);
  background: #ffffff;
}

.owner-feature-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Icon Container & Hover Animation (inspired by "Why Choose Us" feature cards) */
.owner-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.35rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.owner-feature-card:hover .owner-feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.owner-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.owner-feature-card:hover h3 {
  color: var(--primary-dark);
}

.owner-feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* ==========================================================================
   PROPERTY OWNER FAQ CARDS & ACCORDION
   ========================================================================== */
.owner-faq-wrapper {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  margin-top: 1.5rem;
}

.owner-faq-title {
  font-size: 1.2rem;
  margin: 0 0 1.25rem 0;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.owner-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.owner-faq-item {
  background: var(--white);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
}

.owner-faq-q {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.owner-faq-q i {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.owner-faq-a {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  display: block;
}

@media (min-width: 769px) {
  .owner-faq-a {
    display: block !important;
  }
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PROPERTY OWNER LISTING MODAL
   ========================================================================== */
.owner-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  box-sizing: border-box;
}

.owner-modal-dialog {
  background-color: var(--white);
  margin: 2.5% auto 3rem auto;
  padding: 2.5rem 3rem;
  border-radius: 24px;
  max-width: 820px;
  width: 92%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  box-sizing: border-box;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.owner-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.owner-modal-close:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

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

.owner-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.owner-modal-header h3 {
  font-size: 1.65rem;
  margin: 0 0 0.45rem 0;
  color: var(--primary-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.owner-modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 620px;
  line-height: 1.45;
}

.owner-form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.owner-form-row.col-2 {
  grid-template-columns: 1fr 1fr;
}

.owner-form-row.col-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.owner-form-row .form-group {
  margin-bottom: 0;
}

.owner-form-group {
  margin-bottom: 1rem;
}

.owner-modal label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.28rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.owner-modal .req-star {
  color: #ef4444;
  font-weight: 800;
}

.owner-modal .lead-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.owner-modal .lead-input-wrap:focus-within {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14) !important;
  background: #ffffff !important;
}

.owner-modal .lead-input-wrap:has(.form-control:user-invalid) {
  border-color: #ef4444 !important;
}

.owner-modal .lead-input-wrap:has(.form-control:user-invalid) .lead-input-icon {
  color: #ef4444 !important;
}

.owner-modal .lead-input-wrap:focus-within .lead-input-icon {
  color: #0284c7;
}

.owner-modal .lead-input-wrap .form-control {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 0.85rem 0 0 !important;
  font-size: 0.9rem !important;
  color: #0f172a !important;
  flex: 1;
  width: 100%;
  box-sizing: border-box !important;
}

.owner-modal .lead-input-wrap .form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 0.86rem !important;
}

.owner-modal .lead-select-wrap select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  padding-right: 2.2rem !important;
  background-color: transparent !important;
}

.owner-modal .lead-select-wrap:focus-within .lead-select-chevron {
  color: #0284c7;
}

.owner-modal .lead-textarea-wrap {
  align-items: flex-start;
}

.owner-modal .lead-textarea-wrap .lead-input-icon {
  padding-top: 0.7rem;
  height: auto;
}

.owner-modal .lead-textarea-wrap textarea.form-control {
  height: 72px !important;
  min-height: 72px !important;
  padding: 0.6rem 0.85rem 0.6rem 0 !important;
  line-height: 1.4 !important;
  resize: none !important;
}

.owner-modal .form-control {
  width: 100%;
  height: 44px;
  padding: 0 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: var(--transition);
  box-sizing: border-box;
}

.owner-modal textarea.form-control {
  height: auto;
  min-height: 72px;
  padding: 0.65rem 0.95rem;
  resize: none !important;
}

.owner-modal .form-control:focus {
  border-color: #0284c7;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.owner-submit-btn {
  width: 100%;
  min-height: 46px;
  height: 46px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  margin-top: 0.5rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.owner-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.owner-submit-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   MOBILE & ALL-PHONE RESPONSIVE POLISH (MAINPAGE & PROPERTIES)
   ========================================================================== */

@media (max-width: 768px) {
  /* Layout & Container Padding */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  section,
  .section {
    padding: 2.75rem 0 !important;
    scroll-margin-top: 68px !important;
  }

  .section-header {
    margin-bottom: 2.25rem !important;
  }

  .section-header h2 {
    display: block !important;
    margin-bottom: 0.65rem !important;
    position: static !important;
  }

  .section-header h2::after {
    display: block !important;
    margin: 0.45rem auto 0 auto !important;
    width: 44px !important;
    height: 3px !important;
    position: static !important;
    transform: none !important;
  }

  /* Header & Navigation (Harmonious & Presentable Mobile Navigation Bar) */
  .navbar {
    height: 62px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
  }

  .navbar .container {
    height: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .nav-brand {
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    max-width: calc(100% - 156px) !important;
    text-decoration: none !important;
    font-size: 1.35rem !important;
  }

  .nav-brand img {
    height: auto !important;
    max-height: 44px !important;
    max-width: 190px !important;
    width: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
  }

  .nav-brand i {
    font-size: 1.45rem !important;
    color: var(--primary) !important;
    flex-shrink: 0 !important;
  }

  .nav-brand span {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--primary-dark) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.3px !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* Harmonized Mobile Buttons (38px height, 10px radius) */
  .nav-cta-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 0.85rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, var(--primary, #059669) 0%, var(--primary-dark, #047857) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.28) !important;
    white-space: nowrap !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    line-height: 1 !important;
  }

  .nav-cta-btn i {
    color: #ffffff !important;
    font-size: 0.85rem !important;
    transition: transform 0.2s ease !important;
  }

  .nav-cta-btn span {
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    letter-spacing: 0.1px !important;
  }

  .nav-cta-btn strong {
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline !important;
  }

  .nav-cta-btn:hover,
  .nav-cta-btn:active {
    background: linear-gradient(135deg, var(--primary-dark, #047857) 0%, #064e3b 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.38) !important;
  }

  .mobile-toggle {
    height: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 1.125rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
  }

  .mobile-toggle:hover,
  .mobile-toggle:active {
    background: #f1f5f9 !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
  }

  /* Hero Section & Search Bar */
  .hero {
    min-height: auto;
    padding: 5.5rem 0 2.25rem 0 !important;
  }

  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
  }

  .hero p {
    font-size: 0.98rem !important;
    margin-bottom: 1.75rem !important;
  }

  .hero-content {
    padding: 2rem 1.25rem 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .hero-content .search-bar,
  .hero-search-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    padding: 0.85rem !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-search-form .search-field,
  .hero-content .search-field {
    width: 100% !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-search-form select,
  .hero-search-form input,
  .hero-content .search-field select,
  .hero-content .search-field input {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 2rem 0 2.45rem !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
  }

  .hero-search-form input,
  .hero-content .search-field input {
    padding-right: 1rem !important;
  }

  .hero-search-form select:focus,
  .hero-search-form input:focus,
  .hero-content .search-field select:focus,
  .hero-content .search-field input:focus {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
  }

  .hero-content .search-field-icon {
    position: absolute !important;
    left: 0.85rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--primary) !important;
    font-size: 0.95rem !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  .hero-content .search-field-arrow {
    position: absolute !important;
    right: 0.85rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  .search-submit-btn,
  .hero-search-form button,
  .hero-content .search-bar button {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-top: 0.15rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
  }

  /* Properties Page Keyword Search Box on Mobile */
  .property-keyword-search-wrap {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Hero Trust Badges (Compact 2x2 Grid for Mobile - Saves Space & Stays Neat) */
  .hero-trust-badges {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-top: 1.35rem !important;
  }

  .hero-trust-card {
    padding: 0.7rem 0.65rem !important;
    border-radius: 12px !important;
    gap: 0.55rem !important;
    align-items: center !important;
    min-width: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  .trust-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 9px !important;
    font-size: 0.95rem !important;
  }

  .trust-info {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .trust-info h4 {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    letter-spacing: -0.15px !important;
  }

  .trust-info p {
    font-size: 0.68rem !important;
    line-height: 1.22 !important;
    opacity: 0.88 !important;
  }

  /* Why Choose Us - Space-Saving & Best Fit Mobile Cards */
  #about.section {
    padding: 2.25rem 0 !important;
  }

  #about .section-header {
    margin-bottom: 1.35rem !important;
  }

  #about .section-header h2 {
    font-size: 1.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  #about .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .feature-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 0.95rem !important;
    row-gap: 0.2rem !important;
    align-items: start !important;
    text-align: left !important;
    padding: 1.05rem 1.15rem !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s ease !important;
  }

  .feature-card:hover,
  .feature-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
  }

  .feature-icon {
    grid-row: 1 / span 2 !important;
    grid-column: 1 !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
    background: var(--accent) !important;
    color: var(--primary) !important;
    transition: all 0.25s ease !important;
  }

  .feature-card:hover .feature-icon,
  .feature-card:active .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    transform: scale(1.08) rotate(4deg) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
  }

  .feature-card h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
    color: var(--primary-dark) !important;
  }

  .feature-card p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
    margin: 0 !important;
    color: var(--text-muted) !important;
  }

  /* How Can We Help - Space-Saving & Best Fit Mobile Cards */
  #services.section {
    padding: 2.25rem 0 !important;
  }

  #services .section-header {
    margin-bottom: 1.35rem !important;
  }

  #services .section-header h2 {
    font-size: 1.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  #services .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .service-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 0.95rem !important;
    row-gap: 0.15rem !important;
    align-items: start !important;
    text-align: left !important;
    padding: 1.05rem 1.15rem !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s ease !important;
  }

  .service-card:hover,
  .service-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
  }

  .service-icon-wrapper {
    grid-row: 1 / span 3 !important;
    grid-column: 1 !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
    background: var(--accent) !important;
    color: var(--primary) !important;
    transition: all 0.25s ease !important;
  }

  .service-card:hover .service-icon-wrapper,
  .service-card:active .service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    transform: scale(1.08) rotate(4deg) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
  }

  .service-card h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
    color: var(--primary-dark) !important;
  }

  .service-card p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
    margin: 0.15rem 0 0.35rem 0 !important;
    color: var(--text-muted) !important;
  }

  .service-link {
    grid-column: 2 !important;
    grid-row: 3 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
  }

  /* Custom Requirements Banner - Space-Saving & Best Fit Mobile Layout */
  .custom-requirements-banner {
    padding: 1.35rem 1.2rem !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    box-shadow: 0 8px 24px -4px var(--primary-glow) !important;
    margin-top: 1.75rem !important;
  }

  .banner-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0.95rem !important;
    width: 100% !important;
    margin-bottom: 0.95rem !important;
  }

  .banner-icon-box {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    margin-top: 2px !important;
  }

  .banner-text {
    text-align: left !important;
    flex: 1 !important;
  }

  .banner-text h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.3rem 0 !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
  }

  .banner-text p {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .banner-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .banner-btn {
    justify-content: center !important;
    padding: 0.72rem 0.85rem !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    border-radius: 11px !important;
    white-space: nowrap !important;
    gap: 7px !important;
  }

  #services .custom-requirements-banner {
    margin-top: 1.75rem !important;
  }

  /* Property Owner Welcome - Space-Saving & Best Fit Mobile Cards */
  #owner-section.section {
    padding: 2.25rem 0 !important;
  }

  #owner-section .section-header {
    margin: 0 auto 1.35rem auto !important;
  }

  #front-owner-badge {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.8rem !important;
    margin-bottom: 0.65rem !important;
  }

  #front-owner-heading {
    font-size: 1.65rem !important;
    margin-bottom: 0.35rem !important;
  }

  #front-owner-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .owner-features-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
  }

  .owner-feature-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 0.95rem !important;
    row-gap: 0.2rem !important;
    align-items: start !important;
    text-align: left !important;
    padding: 1.05rem 1.15rem !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s ease !important;
  }

  .owner-feature-card:hover,
  .owner-feature-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
  }

  .owner-feature-icon {
    grid-row: 1 / span 2 !important;
    grid-column: 1 !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
    background: var(--accent) !important;
    color: var(--primary) !important;
    transition: all 0.25s ease !important;
  }

  .owner-feature-card:hover .owner-feature-icon,
  .owner-feature-card:active .owner-feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    transform: scale(1.08) rotate(4deg) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
  }

  .owner-feature-card h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
    color: var(--primary-dark) !important;
  }

  .owner-feature-card p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
    margin: 0 !important;
    color: var(--text-muted) !important;
  }

  /* Submit Your Property Listing Request - Mobile Space-Saving & Best Fit */
  .owner-listing-banner {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    padding: 1.35rem 1.2rem !important;
    border-radius: 16px !important;
  }

  .owner-listing-banner .banner-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    width: 100% !important;
  }

  .owner-listing-banner .banner-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.72rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 11px !important;
  }

  /* Property Owner FAQ - Mobile Accordion & Minimized Height */
  .owner-faq-wrapper {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    margin-top: 1.25rem !important;
  }

  .owner-faq-title {
    font-size: 1.02rem !important;
    margin: 0 0 0.85rem 0 !important;
  }

  .owner-faq-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
  }

  .owner-faq-item {
    padding: 0 !important;
    border-radius: 11px !important;
    border: 1px solid var(--border-light) !important;
    background: #ffffff !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
  }

  .owner-faq-item.active {
    border-color: rgba(5, 150, 105, 0.4) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08) !important;
  }

  .owner-faq-q {
    padding: 0.8rem 0.95rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
    user-select: none !important;
  }

  .owner-faq-q i {
    order: 2 !important;
    font-size: 0.72rem !important;
    color: var(--primary) !important;
    transition: transform 0.25s ease !important;
    margin-left: auto !important;
  }

  .owner-faq-item.active .owner-faq-q i {
    transform: rotate(90deg) !important;
  }

  .owner-faq-a {
    display: none;
    padding: 0 0.95rem 0.85rem 0.95rem !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    color: var(--text-muted) !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 0.55rem !important;
  }

  .owner-faq-item.active .owner-faq-a {
    display: block !important;
    animation: faqFadeIn 0.2s ease !important;
  }

  /* Who Are We - Space-Saving & Best Fit Mobile Layout */
  #who-we-are.section {
    padding: 2.25rem 0 !important;
  }

  #who-we-are .section-header {
    margin-bottom: 1.25rem !important;
  }

  #who-we-are .section-header h2 {
    font-size: 1.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  #who-we-are .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  #who-we-are .stats-banner {
    padding: 1rem 0.95rem !important;
    border-radius: 16px !important;
    margin-bottom: 1.85rem !important;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    box-shadow: 0 8px 24px var(--primary-glow, rgba(0, 0, 0, 0.16)) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
  }

  #who-we-are .stats-banner::after {
    width: 180px !important;
    height: 180px !important;
    top: -30% !important;
    right: -15% !important;
  }

  #who-we-are .stats-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
  }

  #who-we-are .stat-card {
    display: grid !important;
    grid-template-columns: 105px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 0.85rem !important;
    row-gap: 0.2rem !important;
    align-items: center !important;
    text-align: left !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: all 0.2s ease !important;
  }

  #who-we-are .stat-card::after {
    display: none !important;
  }

  #who-we-are .stat-card:hover,
  #who-we-are .stat-card:active {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  #who-we-are .stat-card:hover .stat-number {
    transform: none !important;
  }

  #who-we-are .stat-number {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
    background: rgba(0, 0, 0, 0.22) !important;
    padding: 0.45rem 0.35rem !important;
    border-radius: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    letter-spacing: -0.3px !important;
    white-space: nowrap !important;
  }

  #who-we-are .stat-label {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: left !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
  }

  #who-we-are .stat-detail {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  #who-we-are .stat-detail i {
    color: var(--accent, #38bdf8) !important;
    font-size: 0.72rem !important;
  }

  /* Meet Our Industrial Specialists - Space-Saving & Best Fit Mobile Cards */
  .team-header {
    margin-bottom: 1.25rem !important;
  }

  .team-header h3 {
    font-size: 1.45rem !important;
    margin-bottom: 0.35rem !important;
  }

  .team-header p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .agent-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0.85rem 1rem !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid var(--border-light) !important;
    transition: all 0.25s ease !important;
  }

  .agent-card:hover,
  .agent-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
  }

  .agent-img-box {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    aspect-ratio: 1/1 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  .agent-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .agent-ren-badge {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    padding: 2px 0 !important;
    text-align: center !important;
    letter-spacing: 0.2px !important;
    background: rgba(6, 78, 59, 0.92) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    box-shadow: none !important;
  }

  .agent-info {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .agent-name-wrap {
    margin-bottom: 0.2rem !important;
    gap: 0.35rem !important;
  }

  .agent-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    line-height: 1.3 !important;
  }

  .agent-bio {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Featured Industrial Properties - Space-Saving & Best Fit Mobile Layout */
  #properties.section {
    padding: 2.25rem 0 !important;
  }

  #properties .section-header {
    margin-bottom: 1.25rem !important;
  }

  #properties .section-header h2 {
    font-size: 1.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  #properties .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .property-filters {
    margin-bottom: 1.25rem !important;
  }

  /* City Filter Cards - Smooth Horizontal Scroll Rail */
  .city-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.65rem !important;
    padding-bottom: 0.45rem !important;
    margin-bottom: 0.75rem !important;
    scrollbar-width: thin !important;
  }

  .city-filters::-webkit-scrollbar {
    height: 3px !important;
  }

  .city-filters::-webkit-scrollbar-thumb {
    background: rgba(5, 150, 105, 0.3) !important;
    border-radius: 4px !important;
  }

  .city-filter-card {
    flex: 0 0 135px !important;
    width: 135px !important;
    height: 84px !important;
    border-radius: 12px !important;
    scroll-snap-align: start !important;
  }

  .city-filter-card .city-label {
    font-size: 0.82rem !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .city-count-badge {
    top: 7px !important;
    right: 7px !important;
    font-size: 0.65rem !important;
    padding: 0.15rem 0.45rem !important;
    border-radius: 8px !important;
  }

  /* Type Filters - Horizontal Chip Strip */
  .type-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.45rem !important;
    justify-content: flex-start !important;
    margin-top: 0 !important;
    padding-bottom: 0.35rem !important;
    scrollbar-width: none !important;
  }

  .type-filters::-webkit-scrollbar {
    display: none !important;
  }

  .type-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0.38rem 0.82rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    scroll-snap-align: start !important;
  }

  /* Property Cards 2-Column Grid Mode with Tap-to-Enlarge */
  .property-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    align-items: start !important;
  }

  /* Compact Mode (Default Grid Cards on Mobile) */
  .property-card {
    border-radius: 13px !important;
    max-width: 100% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid var(--border-light) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }

  .property-card:hover {
    transform: none !important;
  }

  .property-card .property-img-wrapper {
    height: 115px !important;
    max-height: 120px !important;
    border-radius: 12px 12px 0 0 !important;
    transition: height 0.28s ease !important;
  }

  .property-card .property-ribbon {
    top: 0.45rem !important;
    left: 0.45rem !important;
    padding: 0.2rem 0.55rem !important;
    font-size: 0.62rem !important;
    border-radius: 4px !important;
    letter-spacing: 0.3px !important;
  }

  .property-card .property-usage-badge,
  .property-card .property-featured-badge {
    top: 0.45rem !important;
    right: 0.45rem !important;
    padding: 2px 6px !important;
    font-size: 0.58rem !important;
    border-radius: 12px !important;
  }

  .property-card .photo-view-trigger {
    display: none !important; /* Hidden in compact grid mode */
  }

  .property-card .property-content {
    padding: 0.6rem 0.55rem !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .property-card .property-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.25rem !important;
    gap: 0.25rem !important;
    flex-wrap: wrap !important;
  }

  .property-card .property-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    color: var(--primary) !important;
  }

  .property-card .tenure-badge-green {
    font-size: 0.6rem !important;
    padding: 1px 5px !important;
    border-width: 1px !important;
    border-radius: 12px !important;
  }

  .property-card .property-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    min-height: auto !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .property-card .property-park-text {
    display: none !important;
  }

  .property-card .property-road-text {
    display: none !important;
  }

  .property-card .property-location {
    font-size: 0.7rem !important;
    margin-bottom: 0.35rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .property-card .property-section-tag {
    display: none !important;
  }

  .property-card .posted-date-badge {
    display: none !important;
  }

  /* Compact Mode Footer: Quick spec & Tap-to-Enlarge cue */
  .property-card .mobile-compact-specs-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.35rem !important;
    padding-top: 0.35rem !important;
    margin-top: auto !important;
    border-top: 1px dashed var(--border-light) !important;
    font-size: 0.68rem !important;
  }

  .property-card .mobile-compact-spec-pill {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 0.66rem !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
  }

  .property-card .mobile-expand-hint {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    background: rgba(14, 116, 144, 0.08) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Hidden in compact mode */
  .property-card .property-meta {
    display: none !important;
  }

  .property-card .property-card-action {
    display: none !important;
  }

  /* ============================================================
     EXPANDED / ENLARGED NORMAL CARD (On Tap / Click)
     ============================================================ */
  .property-card.expanded {
    grid-column: 1 / -1 !important; /* Stretches across both columns! */
    border-radius: 16px !important;
    border-color: var(--primary) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 0 0 2px rgba(14, 116, 144, 0.25) !important;
    height: auto !important;
    animation: cardExpandMobile 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes cardExpandMobile {
    from {
      opacity: 0.85;
      transform: scale(0.98);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .property-card.expanded .property-img-wrapper {
    height: 195px !important;
    max-height: 210px !important;
    border-radius: 15px 15px 0 0 !important;
  }

  .property-card.expanded .photo-view-trigger {
    display: flex !important;
    padding: 0.32rem 0.75rem !important;
    font-size: 0.74rem !important;
    bottom: 0.65rem !important;
    right: 0.65rem !important;
    border-radius: 20px !important;
  }

  .property-card.expanded .property-ribbon {
    top: 0.75rem !important;
    left: 0.75rem !important;
    padding: 0.32rem 0.8rem !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }

  .property-card.expanded .property-usage-badge,
  .property-card.expanded .property-featured-badge {
    top: 0.75rem !important;
    right: 0.75rem !important;
    padding: 4px 9px !important;
    font-size: 0.72rem !important;
    border-radius: 20px !important;
  }

  .property-card.expanded .property-content {
    padding: 1rem 1rem !important;
  }

  .property-card.expanded .property-price-row {
    margin-bottom: 0.4rem !important;
  }

  .property-card.expanded .property-price {
    font-size: 1.25rem !important;
  }

  .property-card.expanded .tenure-badge-green {
    font-size: 0.72rem !important;
    padding: 2px 7px !important;
  }

  .property-card.expanded .property-title {
    font-size: 1.05rem !important;
    -webkit-line-clamp: unset !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.35 !important;
  }

  .property-card.expanded .property-park-text {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    font-size: 0.82rem !important;
    white-space: normal !important;
    margin-bottom: 0.25rem !important;
  }

  .property-card.expanded .property-road-text {
    display: flex !important;
    font-size: 0.78rem !important;
    margin-bottom: 0.35rem !important;
  }

  .property-card.expanded .property-location {
    font-size: 0.8rem !important;
    white-space: normal !important;
    margin-bottom: 0.65rem !important;
  }

  .property-card.expanded .property-section-tag {
    display: inline-flex !important;
    font-size: 0.72rem !important;
    padding: 0.1rem 0.45rem !important;
  }

  .property-card.expanded .posted-date-badge {
    display: inline-block !important;
    font-size: 0.74rem !important;
  }

  .property-card.expanded .mobile-compact-specs-bar {
    display: none !important; /* Hidden when card is enlarged */
  }

  .property-card.expanded .property-meta {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem 0.75rem !important;
    padding-top: 0.75rem !important;
    margin-top: 0.35rem !important;
    border-top: 1px solid var(--border-light) !important;
  }

  .property-card.expanded .meta-item {
    font-size: 0.76rem !important;
    gap: 0.35rem !important;
  }

  .property-card.expanded .meta-item i {
    font-size: 0.76rem !important;
  }

  .property-card.expanded .property-card-action {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    padding-top: 0.85rem !important;
    margin-top: 0.55rem !important;
  }

  .property-card.expanded .enquire-now-btn,
  .property-card.expanded .property-card-action .btn {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 0.88rem !important;
    border-radius: 10px !important;
    width: 100% !important;
  }

  .property-card.expanded .mobile-collapse-bar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0.25rem !important;
  }

  .property-card.expanded .mobile-collapse-card-btn {
    background: transparent !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-muted) !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.85rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .property-card.expanded .mobile-collapse-card-btn:active,
  .property-card.expanded .mobile-collapse-card-btn:hover {
    color: var(--primary) !important;
    background: rgba(14, 116, 144, 0.06) !important;
    border-color: var(--primary) !important;
  }

  #view-all-properties-btn {
    min-height: 40px !important;
    padding: 0.55rem 1.35rem !important;
    font-size: 0.86rem !important;
  }

  /* Get In Touch - Space-Saving & Best Fit Mobile Layout */
  #contact.section {
    padding: 2.25rem 0 !important;
  }

  #contact .section-header {
    margin-bottom: 1.25rem !important;
  }

  #contact .section-header h2 {
    font-size: 1.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  #contact .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .contact-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  #default-contact-info h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.35rem !important;
  }

  #default-contact-info > p {
    font-size: 0.86rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
  }

  .contact-items-list {
    gap: 0.75rem !important;
  }

  .contact-item {
    gap: 0.75rem !important;
    align-items: center !important;
  }

  .contact-icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
  }

  .contact-text-box h4 {
    font-size: 0.85rem !important;
    margin-bottom: 1px !important;
  }

  .contact-text-box p {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  .contact-form-wrapper {
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.06) !important;
    background: #ffffff !important;
  }

  .contact-form-header {
    padding: 0.95rem 1.15rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .contact-form-title {
    font-size: 1.05rem !important;
  }

  .contact-form-subtitle {
    font-size: 0.74rem !important;
  }

  .contact-form-badge {
    display: none !important; /* Hide badge on small mobile screens to keep header clean and uncrowded */
  }

  .contact-form-wrapper form {
    padding: 1.05rem 1.15rem 1.25rem !important;
    gap: 0.65rem !important;
  }

  #contact .form-group,
  #lead-form .form-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  #contact .form-group label,
  #lead-form .form-group label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 0.22rem !important;
    text-align: left !important;
  }

  .lead-input-wrap {
    border-radius: 10px !important;
    background: #ffffff !important;
  }

  .lead-input-icon {
    width: 36px !important;
    min-width: 36px !important;
    font-size: 0.85rem !important;
  }

  #contact .form-control,
  #lead-form .form-control,
  .lead-input-wrap .form-control {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 0.75rem 0 0 !important;
    border: none !important;
    background: transparent !important;
    color: #0f172a !important;
  }

  #contact select.form-control,
  #lead-form select.form-control {
    height: 40px !important;
    padding-right: 2rem !important;
    background-color: transparent !important;
  }

  .lead-textarea-wrap textarea.form-control {
    height: 68px !important;
    min-height: 68px !important;
    padding: 0.5rem 0.75rem 0.5rem 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    resize: none !important;
  }

  .lead-submit-btn,
  #lead-form button[type="submit"] {
    margin-top: 0.45rem !important;
    min-height: 44px !important;
    height: 44px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
  }

  .btn-primary, .btn-secondary {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Compact Selected Property Card on Mobile */
  .selected-property-card .selected-property-img-wrapper img {
    height: 145px !important;
  }

  .selected-property-card .selected-property-body {
    padding: 1rem !important;
  }

  .selected-property-card .selected-property-specs-grid {
    gap: 0.45rem !important;
    padding: 0.65rem 0.75rem !important;
    margin-bottom: 0.85rem !important;
    font-size: 0.8rem !important;
  }

  .selected-property-card .selected-property-desc-box {
    margin-bottom: 0.75rem !important;
    padding: 0.55rem 0.75rem !important;
  }

  .selected-property-card .selected-property-desc-header {
    margin-bottom: 0.2rem !important;
  }

  .selected-property-card .selected-property-desc-content {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    max-height: 115px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 0 !important;
    padding: 0 !important;
  }

  #scroll-to-lead-form-btn {
    font-size: 0.92rem !important;
    padding: 0.75rem 0.85rem !important;
  }

  /* Footer - Space-Saving & Best Fit Mobile Layout */
  footer {
    padding: 2.5rem 0 1.5rem !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem 1.25rem !important;
    margin-bottom: 1.75rem !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
  }

  .footer-brand h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.45rem !important;
  }

  .footer-brand p {
    font-size: 0.85rem !important;
    line-height: 1.42 !important;
    margin-bottom: 0.85rem !important;
    max-width: 380px !important;
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .social-links {
    gap: 0.6rem !important;
  }

  .social-links a {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.88rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .footer-links h4 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.65rem !important;
    color: #ffffff !important;
  }

  .footer-links ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .footer-links li {
    margin-bottom: 0.45rem !important;
  }

  .footer-links a {
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
  }

  .footer-links a:hover {
    color: #ffffff !important;
    padding-left: 0 !important;
  }

  /* Contact Us Column spans full width */
  .footer-links:last-child {
    grid-column: 1 / -1 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 1.15rem !important;
    margin-top: 0.25rem !important;
  }

  .footer-links:last-child li {
    margin-bottom: 0.45rem !important;
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: flex-start !important;
  }

  .footer-links:last-child li a {
    color: rgba(255, 255, 255, 0.82) !important;
    display: inline-flex !important;
    align-items: center !important;
    word-break: break-all !important;
  }

  .footer-bottom {
    padding-top: 1.25rem !important;
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }


  /* Property Owner Listing Modal Mobile Responsiveness */
  .owner-modal {
    padding: 0.5rem 0.4rem 2rem 0.4rem !important;
  }

  .owner-modal-dialog {
    margin: 0.4rem auto 1.75rem auto !important;
    padding: 1.15rem 1rem 1.25rem 1rem !important;
    border-radius: 16px !important;
    width: 95% !important;
    max-width: 440px !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25) !important;
  }

  .owner-modal-close {
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .owner-modal-header {
    margin-bottom: 0.75rem !important;
    padding: 0 0.5rem !important;
    text-align: center !important;
  }

  .owner-modal-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    border-radius: 10px !important;
    margin-bottom: 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .owner-modal-header h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.2rem !important;
    color: #0f172a !important;
    text-wrap: balance !important;
  }

  .owner-modal-header p {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    color: #64748b !important;
    margin: 0 auto !important;
    max-width: 95% !important;
  }

  .owner-form-row {
    display: grid !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .owner-form-row.col-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .owner-form-row.col-3 {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .owner-form-group {
    margin-bottom: 0.5rem !important;
  }

  .owner-modal label {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 0.2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
  }

  .owner-modal .lead-input-wrap {
    border-radius: 10px !important;
    background: #ffffff !important;
  }

  .owner-modal .lead-input-icon {
    width: 36px !important;
    min-width: 36px !important;
    font-size: 0.85rem !important;
  }

  .owner-modal .lead-input-wrap .form-control {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 0.75rem 0 0 !important;
    border: none !important;
    background: transparent !important;
    color: #0f172a !important;
  }

  .owner-modal .lead-select-wrap select.form-control {
    height: 40px !important;
    padding-right: 2rem !important;
    background-color: transparent !important;
  }

  .owner-modal .lead-textarea-wrap textarea.form-control {
    height: 62px !important;
    min-height: 62px !important;
    padding: 0.5rem 0.75rem 0.5rem 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    resize: none !important;
  }

  .owner-modal .form-control {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 16px !important;
    padding: 0 0.75rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
  }

  .owner-modal .form-control:focus {
    border-color: #0284c7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  }

  .owner-modal select.form-control {
    height: 40px !important;
    padding: 0 0.65rem !important;
    background-color: #ffffff !important;
  }

  .owner-modal textarea.form-control {
    height: 62px !important;
    min-height: 62px !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    border-radius: 8px !important;
    resize: none !important;
  }

  .owner-submit-btn {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0 1.75rem 0 !important;
  }

  section {
    padding: 2.25rem 0 !important;
  }

  .section-header {
    margin-bottom: 1.75rem !important;
  }

  .hero-content {
    padding: 1.65rem 0.95rem 1.45rem 0.95rem !important;
    border-radius: 18px !important;
  }

  .hero-content .search-bar,
  .hero-search-form {
    padding: 0.75rem 0.7rem !important;
    gap: 0.5rem !important;
    border-radius: 15px !important;
  }

  .hero-search-form select,
  .hero-search-form input,
  .hero-content .search-field select,
  .hero-content .search-field input {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 15px !important;
    border-radius: 9px !important;
    padding-left: 2.35rem !important;
  }

  .search-submit-btn,
  .hero-search-form button,
  .hero-content .search-bar button {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 9px !important;
    font-size: 0.95rem !important;
  }

  /* Extra-compact Badges for Mobile Phones */
  .hero-trust-badges {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }

  .hero-trust-card {
    padding: 0.6rem 0.52rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
  }

  .trust-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
  }

  .trust-info h4 {
    font-size: 0.76rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1px !important;
  }

  .trust-info p {
    font-size: 0.63rem !important;
    line-height: 1.2 !important;
  }

  /* Why Choose Us - Extra Compact for Smartphones */
  #about .section-header {
    margin-bottom: 1.15rem !important;
  }

  .features-grid {
    gap: 0.65rem !important;
  }

  .feature-card {
    padding: 0.9rem 1rem !important;
    column-gap: 0.85rem !important;
    border-radius: 13px !important;
  }

  .feature-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    font-size: 1.15rem !important;
  }

  .feature-card h3 {
    font-size: 0.98rem !important;
  }

  .feature-card p {
    font-size: 0.8rem !important;
    line-height: 1.38 !important;
  }

  /* How Can We Help - Extra Compact for Smartphones */
  #services .section-header {
    margin-bottom: 1.15rem !important;
  }

  .services-grid {
    gap: 0.65rem !important;
  }

  .service-card {
    padding: 0.9rem 1rem !important;
    column-gap: 0.85rem !important;
    border-radius: 13px !important;
  }

  .service-icon-wrapper {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    font-size: 1.15rem !important;
  }

  .service-card h3 {
    font-size: 0.98rem !important;
  }

  .service-card p {
    font-size: 0.8rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.3rem !important;
  }

  .service-link {
    font-size: 0.78rem !important;
  }

  /* Custom Requirements Banner - Extra Compact for Smartphones */
  .custom-requirements-banner {
    padding: 1.1rem 0.95rem !important;
    border-radius: 14px !important;
    margin-top: 1.5rem !important;
  }

  .banner-content {
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
  }

  .banner-icon-box {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 11px !important;
    font-size: 1.15rem !important;
  }

  .banner-text h3 {
    font-size: 1.05rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.25rem !important;
  }

  .banner-text p {
    font-size: 0.78rem !important;
    line-height: 1.38 !important;
  }

  .banner-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
  }

  .banner-btn {
    width: 100% !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }

  /* Property Owner Welcome - Extra Compact for Smartphones */
  #owner-section .section-header {
    margin-bottom: 1.15rem !important;
  }

  .owner-features-grid {
    gap: 0.65rem !important;
    margin-bottom: 1.75rem !important;
  }

  .owner-feature-card {
    padding: 0.9rem 1rem !important;
    column-gap: 0.85rem !important;
    border-radius: 13px !important;
  }

  .owner-feature-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    font-size: 1.15rem !important;
  }

  .owner-feature-card h3 {
    font-size: 0.98rem !important;
  }

  .owner-feature-card p {
    font-size: 0.8rem !important;
    line-height: 1.38 !important;
  }

  /* Submit Your Property Listing Request - Extra Compact for Smartphones */
  .owner-listing-banner {
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    padding: 1.1rem 0.95rem !important;
    border-radius: 14px !important;
  }

  .owner-listing-banner .banner-content {
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
  }

  .owner-listing-banner .banner-icon-box {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 11px !important;
    font-size: 1.2rem !important;
  }

  .owner-listing-banner .banner-text h3 {
    font-size: 1.05rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.25rem !important;
  }

  .owner-listing-banner .banner-text p {
    font-size: 0.78rem !important;
    line-height: 1.38 !important;
  }

  .owner-listing-banner .banner-actions {
    gap: 0.45rem !important;
  }

  .owner-listing-banner .banner-btn {
    padding: 0.68rem 0.85rem !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }

  /* Who Are We - Mobile Smartphone Refinements */
  #who-we-are.section {
    padding: 1.85rem 0 !important;
  }

  #who-we-are .section-header {
    margin-bottom: 1.15rem !important;
  }

  #who-we-are .section-header h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.65rem !important;
  }

  #who-we-are .section-header p {
    font-size: 0.85rem !important;
  }

  #who-we-are .stats-banner {
    padding: 0.85rem 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }

  #who-we-are .stats-grid {
    gap: 0.45rem !important;
  }

  #who-we-are .stat-card {
    grid-template-columns: 95px 1fr !important;
    column-gap: 0.7rem !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: 11px !important;
  }

  #who-we-are .stat-number {
    font-size: 1.3rem !important;
    padding: 0.38rem 0.25rem !important;
  }

  #who-we-are .stat-label {
    font-size: 0.82rem !important;
  }

  #who-we-are .stat-detail {
    font-size: 0.68rem !important;
  }

  /* Meet Our Industrial Specialists - Extra Compact for Smartphones */
  .team-header {
    margin-bottom: 1.15rem !important;
  }

  .team-header h3 {
    font-size: 1.3rem !important;
  }

  .team-header p {
    font-size: 0.85rem !important;
  }

  .team-grid {
    gap: 0.65rem !important;
  }

  .agent-card {
    padding: 0.75rem 0.85rem !important;
    gap: 0.85rem !important;
    border-radius: 13px !important;
  }

  .agent-img-box {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    border-radius: 12px !important;
  }

  .agent-ren-badge {
    font-size: 0.54rem !important;
    padding: 1.5px 0 !important;
  }

  .agent-name {
    font-size: 0.98rem !important;
  }

  .agent-bio {
    font-size: 0.78rem !important;
    line-height: 1.36 !important;
  }

  /* Property Owner FAQ - Smartphone Refinements */
  .owner-faq-wrapper {
    padding: 0.95rem 0.85rem !important;
  }

  .owner-faq-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
  }

  .owner-faq-q {
    padding: 0.72rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .owner-faq-a {
    padding: 0 0.85rem 0.75rem 0.85rem !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }

  /* Featured Industrial Properties - Extra Compact for Smartphones */
  #properties.section {
    padding: 1.85rem 0 !important;
  }

  #properties .section-header {
    margin-bottom: 1.15rem !important;
  }

  #properties .section-header h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.65rem !important;
  }

  #properties .section-header p {
    font-size: 0.85rem !important;
  }

  .city-filter-card {
    flex: 0 0 125px !important;
    width: 125px !important;
    height: 78px !important;
  }

  .city-filter-card .city-label {
    font-size: 0.78rem !important;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .property-card .property-img-wrapper {
    height: 105px !important;
    max-height: 110px !important;
  }

  .property-card .property-content {
    padding: 0.5rem 0.45rem !important;
  }

  .property-card .property-title {
    font-size: 0.78rem !important;
  }

  .property-card .property-price {
    font-size: 0.9rem !important;
  }

  .property-card .property-location {
    font-size: 0.68rem !important;
  }

  .property-card.expanded .property-img-wrapper {
    height: 175px !important;
    max-height: 180px !important;
  }

  .property-card.expanded .property-content {
    padding: 0.85rem 0.85rem !important;
  }

  .property-card.expanded .property-price {
    font-size: 1.15rem !important;
  }

  .property-card.expanded .property-title {
    font-size: 0.98rem !important;
  }

  /* Get In Touch - Extra Compact for Smartphones */
  #contact.section {
    padding: 1.85rem 0 !important;
  }

  #contact .section-header {
    margin-bottom: 1.15rem !important;
  }

  #contact .section-header h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.65rem !important;
  }

  #contact .section-header p {
    font-size: 0.85rem !important;
  }

  .contact-layout-grid {
    gap: 1.25rem !important;
  }

  .contact-form-wrapper {
    padding: 0 !important;
    height: auto !important;
  }

  .contact-form-wrapper form {
    padding: 1rem 0.95rem !important;
  }

  .btn-text-desktop {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline-flex !important;
    align-items: center !important;
  }

  #default-contact-info h3 {
    font-size: 1.15rem !important;
  }

  #default-contact-info > p {
    font-size: 0.82rem !important;
    margin-bottom: 0.85rem !important;
  }

  .contact-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 0.95rem !important;
  }

  .contact-text-box h4 {
    font-size: 0.82rem !important;
  }

  .contact-text-box p {
    font-size: 0.78rem !important;
  }

  /* Footer - Smartphone Refinements */
  footer {
    padding: 2rem 0 1.25rem !important;
  }

  .footer-grid {
    gap: 1.25rem 0.85rem !important;
    margin-bottom: 1.5rem !important;
  }

  .footer-brand h3 {
    font-size: 1.25rem !important;
  }

  .footer-brand p {
    font-size: 0.8rem !important;
    margin-bottom: 0.75rem !important;
  }

  .social-links a {
    width: 34px !important;
    height: 34px !important;
  }

  .footer-links h4 {
    font-size: 0.9rem !important;
    margin-bottom: 0.55rem !important;
  }

  .footer-links li {
    margin-bottom: 0.38rem !important;
  }

  .footer-links a {
    font-size: 0.78rem !important;
  }

  .footer-links:last-child li {
    font-size: 0.78rem !important;
  }

  .footer-links:last-child li a {
    font-size: 0.78rem !important;
  }

  .footer-bottom {
    padding-top: 1rem !important;
    font-size: 0.72rem !important;
  }

  .navbar .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .nav-cta-btn {
    padding: 0 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .nav-actions {
    gap: 0.4rem !important;
  }

  .hero h1 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 380px) {
  .nav-brand img {
    max-height: 40px !important;
    max-width: 160px !important;
  }
}

@media (max-width: 350px) {
  .nav-cta-btn span strong {
    display: none !important;
  }
  .nav-brand span {
    font-size: 1.1rem !important;
  }
  .nav-brand img {
    max-height: 36px !important;
    max-width: 135px !important;
  }
}

/* ==========================================================================
   ENTERPRISE DESKTOP & MOBILE UX ENHANCEMENTS (MAINPAGE & CATALOG)
   ========================================================================== */

/* Calibrated Desktop & Mobile Root Scale */
@media (min-width: 769px) {
  html {
    font-size: 90%; /* Crisp high-density desktop proportion (~14.4px base) */
    -webkit-text-size-adjust: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 87.5%; /* 14px base for mobile readability and touch comfort */
    -webkit-text-size-adjust: 100%;
  }
}

/* Dynamic Viewport Units (dvh) & Fluid Clamp Typography */
.hero {
  min-height: 82vh;
  min-height: 82dvh;
}

.hero h1 {
  font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3.25rem);
}

.section-header h2 {
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.35rem);
}

#agentModal,
.owner-modal {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Aspect-Ratio Media Reservation (Prevents Cumulative Layout Shift / CLS) */
.property-image img,
.property-card-img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.city-filter-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Layout Containment for 60FPS Interactions & Filtering */
.property-card,
.feature-card,
.service-card,
.owner-feature-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 340px auto 440px;
}

@supports not (content-visibility: auto) {
  .property-card,
  .feature-card,
  .service-card,
  .owner-feature-card {
    contain: layout style paint;
  }
}

/* Smooth Touch Momentum & Scroll Snap for Mobile Filter Pills */
@media (max-width: 768px) {
  .type-filters,
  .city-filters {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .type-filters::-webkit-scrollbar,
  .city-filters::-webkit-scrollbar {
    display: none;
  }
  .type-filter-btn,
  .city-filter-card {
    scroll-snap-align: start;
  }
}

/* Accessible Keyboard Focus Rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Floating Back-to-Top Action Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 1.15rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   PROPERTY 1-CLICK SOCIAL MEDIA SHARE MODAL & CARD BUTTONS
   ========================================================================== */

/* Card Share Button */
.property-share-btn {
  padding: 0.65rem 0.85rem !important;
  border: 1.5px solid var(--border-light, #e2e8f0) !important;
  color: var(--text-dark, #0f172a) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.property-share-btn:hover {
  background: #f8fafc !important;
  border-color: var(--primary, #0077b6) !important;
  color: var(--primary, #0077b6) !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 10px rgba(0, 119, 182, 0.15);
}

/* Card Map / Google Earth Button */
.property-map-btn {
  padding: 0.65rem 0.85rem !important;
  border: 1.5px solid var(--border-light, #e2e8f0) !important;
  color: var(--text-dark, #0f172a) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.property-map-btn:hover {
  background: #f0fdf4 !important;
  border-color: #059669 !important;
  color: #059669 !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.18);
}

/* Road inline Map Button */
.property-road-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.property-road-map-btn:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.property-selected-share-trigger {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 6;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.property-selected-share-trigger:hover {
  background: var(--primary, #0077b6);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.08);
}

.property-selected-map-trigger {
  position: absolute;
  top: 0.75rem;
  right: 3.4rem;
  z-index: 6;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.property-selected-map-trigger:hover {
  background: #059669;
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.08);
}

.pg-modal-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pg-modal-share-btn:hover {
  background: var(--primary, #0077b6);
  border-color: #ffffff;
  transform: scale(1.05);
}

/* Deep link highlighted card effect */
@keyframes propPulseHighlight {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
  50% { box-shadow: 0 0 0 10px rgba(5, 150, 105, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.property-card-highlighted {
  border: 2px solid var(--primary, #059669) !important;
  box-shadow: 0 0 0 4px var(--primary-light, rgba(5, 150, 105, 0.2)), 0 16px 36px rgba(0, 0, 0, 0.12) !important;
  animation: propPulseHighlight 2.5s infinite ease-in-out;
  scroll-margin-top: 100px;
}

/* Direct Shared Listing Banner & Targeted Badge */
.direct-listing-banner {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(6, 78, 59, 0.12) 100%);
  border: 2px solid var(--primary, #059669);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.18);
  animation: modalFadeIn 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.direct-listing-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary, #059669);
}

.direct-listing-banner-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.direct-listing-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  animation: propPulseHighlight 2.5s infinite ease-in-out;
}

.direct-listing-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.direct-listing-subtitle-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.direct-listing-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary, #059669);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
}

.direct-listing-city {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark, #064e3b);
}

.direct-listing-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark, #0f172a);
  margin: 0;
  line-height: 1.25;
}

.direct-listing-meta {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.direct-listing-banner-actions {
  flex-shrink: 0;
}

.direct-listing-reset-btn {
  background: #ffffff !important;
  color: var(--primary, #059669) !important;
  border: 1.5px solid var(--primary, #059669) !important;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.direct-listing-reset-btn:hover {
  background: var(--primary, #059669) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.property-targeted-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: propPulseHighlight 2.5s infinite ease-in-out;
}

@media (max-width: 768px) {
  .direct-listing-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem;
    gap: 1rem;
  }
  .direct-listing-banner-actions {
    width: 100%;
  }
  .direct-listing-reset-btn {
    width: 100%;
    justify-content: center;
  }
  .direct-listing-title {
    font-size: 1.15rem;
  }
}

/* Share Modal Container */
.property-share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.property-share-modal.active {
  opacity: 1;
  visibility: visible;
}

.share-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.share-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.property-share-modal.active .share-modal-dialog {
  transform: scale(1);
}

.share-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #f8fafc;
}

.share-modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-modal-subtitle {
  margin: 0.2rem 0 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.share-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.share-modal-close:hover {
  color: #0f172a;
}

/* Newly Created Listing Banner */
.share-modal-new-banner {
  background: #ecfdf5;
  border-bottom: 1px solid #a7f3d0;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #065f46;
}

.share-modal-new-banner i {
  font-size: 1.25rem;
  color: #059669;
  flex-shrink: 0;
}

.share-modal-new-banner div {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.35;
}

.share-modal-new-banner strong {
  font-weight: 700;
  color: #064e3b;
}

/* Modal Body scrollable */
.share-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Property Preview Card */
.share-modal-preview {
  display: flex;
  gap: 1rem;
  padding: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  align-items: center;
}

.share-modal-thumb {
  width: 76px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
}

.share-modal-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.share-modal-preview-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-badge-intent {
  background: #0077b6;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.share-preview-price {
  font-weight: 800;
  color: #0284c7;
  font-size: 0.95rem;
}

.share-preview-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-preview-loc {
  font-size: 0.76rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-preview-specs {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-section-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.65rem;
}

/* Platform Grid */
.share-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}


.share-platform-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: inherit;
  color: #0f172a;
}

.share-platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #ffffff;
}

.platform-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.platform-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
}

.platform-text span {
  font-size: 0.7rem;
  color: #64748b;
}

/* Individual Platform Themes */
.platform-fb:hover { border-color: #1877f2; background: #f0f7ff; }
.platform-fb .platform-icon { background: #1877f2; }

.platform-wa:hover { border-color: #25d366; background: #f0fdf4; }
.platform-wa .platform-icon { background: #25d366; }

.platform-li:hover { border-color: #0a66c2; background: #f0f7ff; }
.platform-li .platform-icon { background: #0a66c2; }

.platform-ig:hover { border-color: #e4405f; background: #fff1f2; }
.platform-ig .platform-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.platform-tt:hover { border-color: #0f172a; background: #f8fafc; }
.platform-tt .platform-icon { background: #0f172a; }

.platform-x:hover { border-color: #0f172a; background: #f8fafc; }
.platform-x .platform-icon { background: #000000; }

/* Google Earth, Maps & Waze Platforms */
.platform-gearth:hover { border-color: #0284c7; background: #f0f9ff; }
.platform-gearth .platform-icon { background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%); }

.platform-gmaps:hover { border-color: #ea4335; background: #fef2f2; }
.platform-gmaps .platform-icon { background: linear-gradient(135deg, #ea4335 0%, #fbbc05 100%); }

.platform-waze:hover { border-color: #00b4d8; background: #f0fdff; }
.platform-waze .platform-icon { background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%); }

/* Map Direct URL Section & Tabs */
.map-direct-url-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.map-url-tabs {
  display: inline-flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 8px;
  gap: 3px;
}

.map-url-tab {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.map-url-tab:hover {
  color: #0f172a;
}

.map-url-tab.active {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.map-open-external-btn {
  padding: 0.55rem 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

.map-open-external-btn:hover {
  background: #f8fafc !important;
  border-color: #059669 !important;
  color: #059669 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Map Location Derived Info Box */
.map-location-info-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.map-info-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-info-query {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.map-info-note {
  font-size: 0.74rem;
  color: #4b5563;
  line-height: 1.35;
}

/* Quick Link Bar */
.share-link-box {
  display: flex;
  gap: 0.5rem;
}

.share-link-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  gap: 0.5rem;
  color: #64748b;
}

.share-link-input-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: #334155;
  font-family: inherit;
}

.share-copy-link-btn {
  padding: 0.55rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Caption Section */
.share-caption-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem;
}

.share-caption-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.share-caption-actions {
  display: flex;
  gap: 0.65rem;
}

.share-action-link {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.28rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.share-action-link:hover {
  border-color: var(--primary, #0077b6);
  color: var(--primary, #0077b6);
}

.share-caption-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #1e293b;
  resize: vertical;
  min-height: 78px;
  outline: none;
  font-family: inherit;
}

.share-status-toast {
  margin-top: 0.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: fadeIn 0.2s ease;
}

.share-modal-footer {
  padding: 0.9rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.share-native-btn {
  font-size: 0.82rem !important;
  padding: 0.45rem 0.85rem !important;
}

/* ==========================================================================
   PROPERTY SHARE MODAL — RESPONSIVE MOBILE STYLES (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .property-share-modal {
    padding: 0.75rem 0.5rem;
    align-items: center;
  }

  .share-modal-dialog {
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    border-radius: 16px;
  }

  .share-modal-header {
    padding: 0.85rem 1rem 0.75rem;
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
  }

  .share-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    gap: 0.4rem;
    text-wrap: balance;
  }

  .share-modal-subtitle {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
  }

  .share-modal-close {
    width: 32px;
    height: 32px;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .share-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  .share-modal-new-banner {
    padding: 0.6rem 1rem;
    font-size: 0.76rem;
    gap: 0.5rem;
  }

  .share-modal-body {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  /* Compact Preview Card */
  .share-modal-preview {
    padding: 0.55rem 0.75rem;
    gap: 0.65rem;
    border-radius: 10px;
    background: #f8fafc;
  }

  .share-modal-thumb {
    width: 58px;
    height: 48px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .share-modal-preview-info {
    gap: 2px;
  }

  .share-modal-preview-header {
    gap: 0.4rem;
    margin-bottom: 1px;
  }

  .share-badge-intent {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    text-box: trim-both cap alphabetic;
  }

  .share-preview-price {
    font-size: 0.84rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }

  .share-preview-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .share-preview-loc {
    font-size: 0.72rem;
    color: #64748b;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .share-preview-specs {
    font-size: 0.68rem;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Section Labels */
  .share-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #334155;
  }

  /* 3-Column Simplified Platform Grid */
  .share-platform-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem;
  }

  .share-platform-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.55rem 0.25rem 0.45rem;
    gap: 0.35rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-height: 64px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .share-platform-btn:active {
    transform: scale(0.97);
  }

  .platform-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .platform-text {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .platform-text strong {
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }

  .platform-text span {
    display: none; /* Hide verbose subtitle text on mobile for clean, modern look */
  }

  /* Compact Direct Link Box */
  .share-link-box {
    gap: 0.4rem;
  }

  .share-link-input-wrap {
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    gap: 0.35rem;
  }

  .share-link-input-wrap i {
    font-size: 0.75rem;
  }

  .share-link-input-wrap input {
    font-size: 0.76rem;
  }

  .share-copy-link-btn {
    padding: 0.38rem 0.75rem !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }

  /* Compact Caption Section */
  .share-caption-section {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
  }

  .share-caption-header {
    margin-bottom: 0.35rem;
  }

  .share-action-link {
    padding: 0.22rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 6px;
    gap: 3px;
  }

  .share-caption-textarea {
    min-height: 58px;
    max-height: 85px;
    font-size: 0.74rem;
    line-height: 1.38;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
  }

  .share-status-toast {
    margin-top: 0.35rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }

  /* Compact Footer */
  .share-modal-footer {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .share-native-btn {
    font-size: 0.76rem !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
  }

  .share-modal-footer .btn-secondary {
    font-size: 0.76rem !important;
    padding: 0.4rem 1.1rem !important;
    border-radius: 8px !important;
  }

  /* Compact Map URL Tabs & Section on Mobile */
  .map-url-tabs {
    padding: 2px;
    gap: 2px;
  }

  .map-url-tab {
    padding: 2px 7px;
    font-size: 0.68rem;
  }

  .map-direct-url-section .share-link-box {
    flex-wrap: wrap;
  }

  .map-direct-url-section .share-link-input-wrap {
    width: 100%;
    flex-basis: 100%;
  }

  .map-direct-url-section .share-copy-link-btn,
  .map-direct-url-section .map-open-external-btn {
    flex: 1;
    justify-content: center;
  }

  .map-location-info-box {
    padding: 0.65rem 0.85rem;
    gap: 0.25rem;
  }

  .map-info-query {
    font-size: 0.78rem;
  }

  .map-info-note {
    font-size: 0.7rem;
  }
}
