/* Infra Guide Realtors - Premium Modern Red, White & Black Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-red: #DC2626;
  --primary-red-hover: #B91C1C;
  --primary-red-dark: #991B1B;
  --primary-red-light: #FEF2F2;
  --primary-red-tint: #FEE2E2;

  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;

  --text-black: #0F172A;
  --text-charcoal: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-red: 0 10px 20px -5px rgba(220, 38, 38, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --bottom-nav-height: 64px;
  --header-height: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: var(--bottom-nav-height);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Container */
.app-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 640px) {
  .app-container {
    padding: 0 16px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-black);
  font-weight: 700;
  line-height: 1.25;
}

.text-red {
  color: var(--primary-red) !important;
}

.bg-red {
  background-color: var(--primary-red) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: #ffffff !important;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -4px rgba(220, 38, 38, 0.35);
}

.btn-secondary {
  background-color: var(--bg-muted);
  color: var(--text-charcoal);
}

.btn-secondary:hover {
  background-color: var(--border-light);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-charcoal);
}

.btn-outline:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.btn-whatsapp {
  background-color: var(--primary-red);
  color: #ffffff !important;
  border: 1px solid var(--primary-red);
}

.btn-whatsapp:hover {
  background-color: var(--primary-red-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-red {
  background: var(--primary-red-light);
  color: var(--primary-red);
  border: 1px solid var(--primary-red-tint);
}

.badge-green {
  background: var(--primary-red);
  color: #FFFFFF;
  border: 1px solid var(--primary-red);
}

.badge-gold {
  background: #FFFFFF;
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
}

.badge-dark {
  background: var(--primary-red-light);
  color: var(--primary-red);
  border: 1px solid var(--primary-red-tint);
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-black);
  letter-spacing: -0.5px;
}

.brand-logo .logo-red {
  color: var(--primary-red);
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-charcoal);
  padding: 6px 0;
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-red-light);
  border: 1px solid var(--primary-red-tint);
  border-radius: var(--radius-full);
  color: var(--primary-red);
  font-weight: 700;
  font-size: 13px;
}

.header-phone-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
}

.drawer-toggle-btn {
  display: none;
  background: var(--bg-muted);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-black);
}

@media (max-width: 991px) {
  .header-nav {
    display: none;
  }
  .drawer-toggle-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-search-btn,
  .header-compare-btn {
    display: none !important;
  }
  .header-phone-btn {
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .header-phone-btn span {
    display: none;
  }
  .header-phone-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius-md);
  }
}


/* Mobile Bottom Navigation Bar (Application Feel!) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  position: relative;
  transition: all 0.2s ease;
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary-red);
}

.mobile-nav-item.active svg {
  transform: translateY(-2px);
}

.mobile-nav-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  background: var(--primary-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Off-canvas Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  background: var(--bg-muted);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-black);
}

.drawer-body {
  padding: 20px;
  flex: 1;
}

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

.drawer-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-charcoal);
  font-weight: 600;
  font-size: 15px;
}

.drawer-menu a:hover,
.drawer-menu a.active {
  background: var(--primary-red-light);
  color: var(--primary-red);
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

/* Bottom Sheet Modal (Mobile App Modal Pattern) */
.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  z-index: 1051;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bottom-sheet.active {
  bottom: 0;
}

@media (min-width: 769px) {
  .bottom-sheet {
    max-width: 540px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -100%;
    border-radius: 24px;
    top: auto;
  }
  .bottom-sheet.active {
    bottom: 50%;
    transform: translate(-50%, 50%);
  }
}

.sheet-handle {
  width: 44px;
  height: 5px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  margin: 12px auto 6px;
  cursor: grab;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 16px;
  border-bottom: 1px solid var(--border-light);
}

.sheet-body {
  padding: 24px;
  overflow-y: auto;
  max-height: 75vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-subtle) 100%);
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.hero-badge {
  margin-bottom: 16px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-black);
}

.hero-title span {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 28px 0 40px;
  }
  .hero-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
}

/* Hero Search Engine Card */
.search-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 16px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.search-type-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.search-type-tabs::-webkit-scrollbar {
  display: none;
}

.search-type-btn {
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.search-type-btn:hover {
  color: var(--primary-red);
  background: var(--bg-subtle);
}

.search-type-btn.active {
  background: var(--primary-red-light);
  color: var(--primary-red);
}

@media (max-width: 768px) {
  .search-card {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .search-type-tabs {
    gap: 6px;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .search-type-btn {
    font-size: 13px;
    padding: 7px 14px;
  }
}

.search-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 2fr auto;
  gap: 12px;
  align-items: center;
}

@media (max-width: 850px) {
  .search-card-grid {
    grid-template-columns: 1fr;
  }
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  position: relative;
}

.search-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-field select,
.search-field input {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-black);
  outline: none;
  width: 100%;
}

/* Quick Filter Chips (Horizontal Scroll on Mobile) */
.chip-bar-wrapper {
  margin-top: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}

.chip-bar-wrapper::-webkit-scrollbar {
  display: none;
}

.chip-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-charcoal);
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.chip-item:hover,
.chip-item.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  transform: translateY(-1px);
}

/* Property Cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 640px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.property-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}

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

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

.card-badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card-action-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.card-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-black);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.card-action-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
}

.card-action-btn.active {
  background: var(--primary-red);
  color: #ffffff;
}

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

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a:hover {
  color: var(--primary-red);
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-charcoal);
}

.card-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-red);
}

.card-price span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Luxury Touch-Friendly WhatsApp Action Button on Property Cards */
.card-whatsapp-action {
  width: 44px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: var(--primary-red) !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid var(--primary-red) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0;
  cursor: pointer;
}

.card-whatsapp-action svg {
  width: 24px !important;
  height: 24px !important;
  transition: transform 0.2s ease;
}

.card-whatsapp-action:hover {
  background: var(--primary-red-hover) !important;
  border-color: var(--primary-red-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45) !important;
}

.card-whatsapp-action:hover svg {
  transform: scale(1.1);
}

.card-footer .btn-sm {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-black);
}

.section-title span {
  color: var(--primary-red);
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .section-title {
    font-size: 24px;
  }
}

/* Sector / Location Cards */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

@media (max-width: 640px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.location-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  display: block;
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.location-card:hover img {
  transform: scale(1.08);
}

.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #ffffff;
}

.location-card-title {
  font-size: 15px;
  font-weight: 700;
}

.location-card-meta {
  font-size: 12px;
  color: #E2E8F0;
}

/* Developer Logo Grid */
.developer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.developer-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: all 0.2s ease;
}

.developer-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.developer-card img {
  height: 48px;
  max-width: 100px;
  object-fit: contain;
}

.developer-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-charcoal);
}

/* Property Detail Styles */
.property-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .property-hero-grid {
    grid-template-columns: 1fr;
  }
}

.property-main-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
}

.property-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-quick-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
}

/* Tab Navigation */
.nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Floor Plans Table */
.floor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.floor-table th {
  background: var(--bg-muted);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text-charcoal);
  border-radius: 4px;
}

.floor-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 500;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-charcoal);
}

.amenity-chip svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

/* Interactive EMI Calculator */
.emi-calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
}

.emi-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 800px) {
  .emi-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.range-group {
  margin-bottom: 24px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.range-header span:last-child {
  color: var(--primary-red);
}

.range-input {
  width: 100%;
  accent-color: var(--primary-red);
  cursor: pointer;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
}

.emi-result-card {
  background: linear-gradient(135deg, var(--text-black) 0%, #1E293B 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.emi-result-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0;
}

.emi-result-amount span {
  color: var(--primary-red);
}

/* FAQs Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-black);
  cursor: pointer;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-charcoal);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Compare Floating Pill (Positioned Bottom-Left to prevent overlapping floating contact dock) */
.compare-floating-pill {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  left: 16px;
  background: var(--text-black);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: none;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 920;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--primary-red);
  transition: all 0.25s ease;
}

.compare-floating-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.3);
}

@media (min-width: 769px) {
  .compare-floating-pill {
    bottom: 28px;
    left: 24px;
    padding: 12px 22px;
  }
}

.compare-count-circle {
  background: var(--primary-red);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-black);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Footer - Clean Modern Red & White Style */
.app-footer {
  background: #FFFFFF;
  color: #475569;
  padding: 64px 0 24px;
  border-top: 3px solid var(--primary-red);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

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

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

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

.footer-col h4 {
  color: var(--text-black);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: #64748B;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-black);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  font-size: 14px;
  font-weight: 600;
  border-left: 4px solid var(--primary-red);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==============================================================
   PREMIUM LUXURY ENHANCEMENTS & MICRO-INTERACTIONS
   ============================================================== */

/* Top Institutional Announcement Bar - Radiant Red & White */
.top-announcement-bar {
  background: var(--primary-red);
  color: #FFFFFF;
  font-size: 12px;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-announcement-bar .live-pulse {
  background-color: #FFFFFF;
}

.top-announcement-bar .live-pulse::after {
  border-color: #FFFFFF;
}

.top-announcement-links a {
  color: #FFFFFF;
  font-weight: 700;
}

.top-announcement-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.top-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-announcement-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-announcement-links a {
  color: #F8FAFC;
  font-weight: 600;
}

.top-announcement-links a:hover {
  color: var(--primary-red);
}

@media (max-width: 768px) {
  .top-announcement-links {
    display: none;
  }
}

/* Live Pulsing Dot */
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: 50%;
  position: relative;
}

.live-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Hero Radial Glow & Gradient Text */
.hero-radial-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0.03) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Stats Banner */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 32px auto 0;
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
  }
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.hero-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-black);
  letter-spacing: -0.5px;
}

.hero-stat-number span {
  color: var(--primary-red);
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 4-Pillar Trust Grid (Why Choose Infra Guide) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.trust-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.trust-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.trust-pillar-card:hover::before {
  background: linear-gradient(90deg, var(--primary-red), #F43F5E);
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.trust-icon-box svg {
  width: 26px;
  height: 26px;
}

.trust-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Floating Action Dock: Call Advisor & WhatsApp Us (Stacked with zero collision) */
.floating-actions-dock {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  right: 16px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

@media (min-width: 769px) {
  .floating-actions-dock {
    bottom: 28px;
    right: 24px;
    gap: 12px;
  }
}

.floating-dock-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

/* Call Button */
.floating-call-btn {
  background: #FFFFFF;
  color: var(--primary-red) !important;
  border: 1.5px solid var(--primary-red);
  padding: 8px 16px 8px 10px;
}

.floating-call-btn:hover {
  background: var(--primary-red);
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.35);
  border-color: var(--primary-red);
}

.floating-call-btn .dock-btn-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.floating-call-btn:hover .dock-btn-icon {
  background: #FFFFFF;
  color: var(--primary-red);
}

/* WhatsApp Button */
.floating-whatsapp-btn,
.floating-whatsapp-widget {
  background: var(--primary-red);
  color: #FFFFFF !important;
  padding: 9px 18px 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
}

.floating-whatsapp-btn:hover,
.floating-whatsapp-widget:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.55);
}

.floating-whatsapp-btn .dock-btn-icon,
.floating-whatsapp-widget .dock-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* On Mobile Screens */
/* On Mobile Screens (Mobile bottom bar already provides 1-tap WhatsApp & Call Us) */
@media (max-width: 768px) {
  .floating-actions-dock,
  .floating-whatsapp-widget {
    display: none !important;
  }
}

/* Mobile Sticky Conversion App Bar on Property Detail */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: var(--bottom-nav-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 12px 16px;
  z-index: 998;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

.mobile-sticky-cta-price {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-cta-price span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mobile-sticky-cta-price strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-red);
}

/* Enhanced Property Card Details */
.card-media-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.card-rera-pill {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.card-rera-pill svg {
  color: var(--primary-red);
}

/* Visual Meter for EMI Calculator */
.emi-visual-bar {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emi-meter-track {
  height: 10px;
  border-radius: 6px;
  background: #F1F5F9;
  display: flex;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.emi-meter-principal {
  background: var(--primary-red);
  height: 100%;
}

.emi-meter-interest {
  background: #CBD5E1;
  height: 100%;
}

.emi-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
}

/* Search Page Responsive Layout */
.search-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.desktop-filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 96px;
}

.mobile-filter-triggers {
  display: none;
}

@media (max-width: 991px) {
  .search-page-layout {
    display: block;
  }
  .desktop-filter-sidebar {
    display: none !important;
  }
  .mobile-filter-triggers {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .search-page-layout {
    gap: 16px;
  }
  .property-card .card-media {
    aspect-ratio: 16 / 9;
    max-height: 200px; /* Perfectly sized image on mobile */
  }
  .property-card .card-media img {
    height: 100%;
    object-fit: cover;
  }
}

/* Professional Native App Search Modal */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  z-index: 1101;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.25);
  transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-modal.active {
  bottom: 0;
}

@media (min-width: 769px) {
  .search-modal {
    max-width: 620px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    top: 50%;
    bottom: auto;
    border-radius: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .search-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    bottom: auto;
  }
}

.search-modal-handle {
  width: 44px;
  height: 5px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  margin: 12px auto 6px;
  cursor: grab;
}

@media (min-width: 769px) {
  .search-modal-handle {
    display: none;
  }
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 16px;
  border-bottom: 1px solid var(--border-light);
}

.search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  transition: all 0.2s ease;
}

.search-input-box:focus-within {
  background: #ffffff;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px var(--primary-red-light);
}

.search-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-black);
  outline: none;
}

.search-input-box input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-clear-btn {
  background: #E2E8F0;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-close-btn {
  background: var(--bg-subtle);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-black);
}

.search-modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: 60vh;
}

.modal-section-group {
  margin-bottom: 20px;
}

.modal-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.modal-chip-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-chip:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.modal-chip.active {
  background: var(--text-black);
  color: #FFFFFF;
  border-color: var(--text-black);
}

.modal-trending-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trending-tag {
  background: #FFF1F2;
  border: 1px solid #FFE4E6;
  color: var(--primary-red);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.trending-tag:hover {
  background: var(--primary-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.modal-live-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-result-item:hover {
  border-color: var(--primary-red);
  background: var(--bg-subtle);
  transform: translateX(3px);
}

.modal-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.modal-result-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.modal-result-meta {
  flex: 1;
  min-width: 0;
}

.modal-result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-result-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-result-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-red);
  white-space: nowrap;
}

.search-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.search-submit-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

/* =========================================================
   LUXURY INTERACTIVE CUSTOM CURSOR (Desktop Only)
   ========================================================= */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.08s ease;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.9);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--primary-red);
  background: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
              height 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.2s ease, 
              border-color 0.2s ease,
              transform 0.12s ease;
}

.cursor-ring.cursor-hover {
  width: 40px;
  height: 40px;
  background-color: rgba(220, 38, 38, 0.08);
  border-color: var(--primary-red);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cursor-ring.cursor-active {
  transform: translate(-50%, -50%) scale(0.9);
  background-color: rgba(220, 38, 38, 0.15);
}

@media (hover: none) or (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* =========================================================
   NEXT-LEVEL ANIMATIONS ENGINE
   ========================================================= */
@keyframes pulseRedAura {
  0%, 100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.15) translate3d(0, -10px, 0);
    opacity: 0.75;
  }
}

@keyframes shimmerRedText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Scroll Reveal Elements */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 3D Card Hover Depth & Sheen */
.property-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-red);
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.16);
}

/* Card WhatsApp Action - Large & Prominent */
.card-whatsapp-action {
  width: 44px;
  height: 42px;
  background: var(--primary-red) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
}

.card-whatsapp-action:hover {
  background: var(--primary-red-hover) !important;
  color: #FFFFFF !important;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.card-whatsapp-action svg {
  width: 24px !important;
  height: 24px !important;
}

/* =========================================================
   BRAND INTRODUCTION SECTION (Grand Opening)
   ========================================================= */
.brand-intro-hero {
  position: relative;
  background: #FFFFFF;
  padding: 40px 0 36px 0;
  overflow: hidden;
}

.brand-intro-radial {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.14) 0%, rgba(220, 38, 38, 0.04) 50%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
  z-index: 0;
  animation: pulseRedAura 7s ease-in-out infinite;
}

.brand-intro-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 36px auto;
  position: relative;
  z-index: 1;
}

.brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12);
  animation: floatBadge 4s ease-in-out infinite;
}

.brand-headline-super {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: #1E293B;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.brand-headline-super .brand-gradient {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #EF4444 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerRedText 6s ease-in-out infinite;
}

.brand-intro-story {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #475569;
  line-height: 1.7;
  max-width: 840px;
  margin: 0 auto 32px auto;
}

.brand-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.brand-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-red);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
  transition: all 0.25s ease;
}

.brand-btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.5);
  color: #FFFFFF;
}

.brand-btn-secondary,
.brand-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.brand-btn-secondary:hover,
.brand-btn-dark:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.35);
}

/* 4-Pillar Authority Metrics */
.brand-pillars-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

@media (max-width: 991px) {
  .brand-pillars-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .brand-pillars-box {
    grid-template-columns: 1fr;
  }
}

.brand-pillar-item {
  background: #FFFFFF;
  border: 1px solid #FEE2E2;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: left;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.04);
}

.brand-pillar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--primary-red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.brand-pillar-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.12);
}

.brand-pillar-item:hover::before {
  transform: scaleX(1);
}

.brand-pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-red-light);
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.brand-pillar-item:hover .brand-pillar-icon-wrap {
  background: var(--primary-red);
  color: #FFFFFF;
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.brand-pillar-h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 8px;
}

.brand-pillar-p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.55;
}

/* =========================================================
   OUR REAL ESTATE PRODUCTS SHOWCASE (Directly Underneath)
   ========================================================= */
.products-showcase-section {
  position: relative;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
}

.products-filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  margin-bottom: 28px;
  scrollbar-width: none;
}

.products-filter-tabs::-webkit-scrollbar {
  display: none;
}

.product-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: #1E293B;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-tab-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.product-tab-btn.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32);
}

.product-tab-btn.active .tab-count {
  background: #FFFFFF;
  color: var(--primary-red);
  font-weight: 800;
}

.tab-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--text-muted);
}


