/* ============================================
   PREMIUM REAL ESTATE INVESTMENT PLATFORM
   Design System v2.0
   ============================================ */

/* ----------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------- */
:root {
  /* Typography */
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  /* Type Scale (Major Third 1.25) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Primary Blues (Deep Investment Navy) */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e3a8a;
  --blue-900: #172554;
  --blue-950: #0f172a;

  /* Accent: Warm Gold */
  --gold-50: #fefce8;
  --gold-100: #fef9c3;
  --gold-200: #fef08a;
  --gold-300: #fde047;
  --gold-400: #facc15;
  --gold-500: #eab308;
  --gold-600: #ca8a04;
  --gold-700: #a16207;

  /* Neutrals (Warm-tinted) */
  --neutral-50: #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;

  /* Semantic Colors */
  --success: #059669;
  --success-light: #ecfdf5;
  --error: #dc2626;
  --error-light: #fef2f2;
  --warning: #d97706;
  --warning-light: #fffbeb;

  /* Spacing (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg:
    0 10px 15px -3px rgba(15, 23, 42, 0.08),
    0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl:
    0 20px 25px -5px rgba(15, 23, 42, 0.1),
    0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-card:
    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover:
    0 20px 40px -15px rgba(15, 23, 42, 0.15),
    0 8px 16px -8px rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 4px 14px rgba(202, 138, 4, 0.25);

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Bootstrap Overrides */
  --bs-primary: var(--blue-800);
  --bs-primary-rgb: 30, 58, 138;
  --bs-body-color: var(--neutral-700);
  --bs-body-font-family: var(--font-body);
  --bs-link-color: var(--blue-700);
  --bs-link-hover-color: var(--blue-800);
}

/* Dark Mode Semantic Tokens */
[data-theme="dark"] {
  /* Backgrounds */
  --bg-primary: var(--blue-950);
  --bg-secondary: var(--neutral-900);
  --bg-tertiary: var(--neutral-800);
  --bg-elevated: var(--neutral-900);

  /* Text */
  --text-primary: white;
  --text-secondary: var(--neutral-300);
  --text-muted: var(--neutral-400);

  /* Borders */
  --border-default: var(--neutral-800);
  --border-subtle: var(--neutral-700);

  /* Surfaces */
  --surface-card: var(--neutral-900);
  --surface-input: var(--neutral-800);
}

/* ----------------------------------------
   2. BASE STYLES
   ---------------------------------------- */
body {
  padding-top: 5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--neutral-700);
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color var(--duration-normal) var(--ease-smooth),
    color var(--duration-normal) var(--ease-smooth);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  color: var(--neutral-900);
}

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--blue-800);
}

/* ----------------------------------------
   3. NAVIGATION
   ---------------------------------------- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  padding: var(--space-4) 0;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  padding: 0;
  margin: 0;
}

.navbar-brand img {
  height: 32px;
  width: auto;
}

.nav-pills {
  gap: var(--space-2);
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-600);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.nav-link:hover {
  color: var(--blue-800);
  background: var(--blue-50);
}

.nav-link.active {
  color: var(--blue-800);
  background: var(--blue-100);
}

/* Theme Toggle Button */
.btn-light-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  color: var(--neutral-600);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.btn-light-dark:hover {
  background: var(--neutral-200);
  color: var(--neutral-800);
}

.btn-light-dark .icon-sun {
  display: none;
}
.btn-light-dark .icon-moon {
  display: block;
}

/* Favorites Button */
.btn-favorites {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  color: var(--neutral-600);
  position: relative;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.btn-favorites:hover {
  background: var(--neutral-200);
  color: var(--error);
}

.favorites-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--error);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sign In Button */
.btn-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

.btn-signin:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------
   4. HERO SECTION
   ---------------------------------------- */
.hero {
  padding: 0; /* Override section padding - hero manages its own spacing */
}

.hero-container {
  position: relative;
  min-height: 85vh;
  border-radius: 56px;
  margin: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url("/Assets/Web/img/hero-bg.png") no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

/* Dark gradient overlay for text visibility */
.hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.85) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  z-index: 1;
}

/* Subtle grain texture */
.hero-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: 2;
  pointer-events: none;
}

.hero-container > * {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw + 1rem, var(--text-6xl));
  font-weight: 400;
  line-height: var(--leading-tight);
  color: white;
  text-align: center;
  max-width: 900px;
  margin-bottom: var(--space-6);
}

.hero-description {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 600px;
  margin-bottom: var(--space-6);
}

/* Hero Bullets */
.hero-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero-bullet img {
  width: 24px;
  height: 24px;
  opacity: 0.9;
}

/* Hero Filter/Search */
.hero-filter-form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-filter-input-container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 700px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-filter-icon {
  color: var(--neutral-400);
  font-size: var(--text-xl);
  font-weight: 600;
}

.hero-filter-input {
  flex: 1;
  min-width: 150px;
}

.hero-filter-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--neutral-900);
  padding: var(--space-2) 0;
  text-align: center;
}

.hero-filter-input input::placeholder {
  color: var(--neutral-400);
}

/* Currency Selector */
.hero-input-currencies {
  display: flex;
  align-items: center;
  padding: var(--space-1);
  background: var(--neutral-100);
  border-radius: var(--radius-md);
}

.hero-input-currency-container {
  display: flex;
  align-items: center;
}

.hero-input-currency-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-input-currency {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--neutral-500);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-smooth);
  min-width: 40px;
}

.hero-input-currency:hover {
  color: var(--neutral-700);
}

.hero-input-currency-radio:checked + .hero-input-currency {
  background: white;
  color: var(--blue-800);
  box-shadow: var(--shadow-sm);
}

/* Hero Filter Button */
.hero-filter-button button {
  padding: var(--space-3) var(--space-8);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-lg);
}

.hero-filter-button button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero-filter-input-help {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  text-align: center;
  margin-top: var(--space-6);
}

/* Hero Filter Tabs - centered below search */
.hero-filter-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.hero-filter-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.hero-filter-tab-line {
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.hero-filter-tab.active .hero-filter-tab-line {
  background: var(--blue-400);
}

.hero-filter-tab:hover:not(.active) .hero-filter-tab-line {
  background: rgba(255, 255, 255, 0.4);
}

.hero-filter-tab-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.hero-filter-tab.active .hero-filter-tab-text {
  color: rgba(255, 255, 255, 0.9);
}

.hero-filter-tab:hover:not(.active) .hero-filter-tab-text {
  color: rgba(255, 255, 255, 0.7);
}

/* Hero Filter Cards */
.hero-filter-card {
  display: none;
}

.hero-filter-card.active {
  display: flex;
}

/* Hero Filter Select */
.hero-filter-input-select {
  flex: 1;
  min-width: 250px;
}

.hero-filter-select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--neutral-900);
  padding: var(--space-2) 0;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: var(--space-6);
}

.hero-filter-select option {
  background: white;
  color: var(--neutral-900);
  padding: var(--space-3);
}

.hero-filter-icon i {
  font-size: var(--text-xl);
  color: var(--neutral-500);
}

@media (max-width: 767.98px) {
  .hero-filter-tabs {
    justify-content: center;
    gap: var(--space-3);
  }

  .hero-filter-tab-line {
    width: 40px;
  }

  .hero-filter-input-select {
    min-width: 200px;
  }
}

@media (max-width: 575.98px) {
  .hero-filter-tabs {
    gap: var(--space-2);
  }

  .hero-filter-tab-line {
    width: 35px;
  }
}

/* Hero Filter Toggle (mobile) */
.hero-filter-toggle {
  display: none;
}

/* ----------------------------------------
   5. SECTIONS
   ---------------------------------------- */
section {
  padding: var(--space-12) 0;
}

section:first-of-type:not(.hero) {
  padding-top: var(--space-16);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw + 0.5rem, var(--text-3xl));
  color: var(--neutral-900);
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: var(--text-base);
  color: var(--neutral-500);
  text-align: center;
  max-width: 540px;
  margin: 0 auto var(--space-8);
}

/* Featured section - tighter spacing after hero */
.footer-handpicker {
  padding-top: var(--space-8);
  background: var(--neutral-50);
}

/* Search results section - when filters are active */
.search-results-section {
  padding-top: var(--space-8);
}

/* ----------------------------------------
   6. PROPERTY CARDS - GRID (Featured)
   ---------------------------------------- */
.featured-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

@media (max-width: 1199.98px) {
  .featured-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .featured-container {
    grid-template-columns: 1fr;
  }
}

.featured-item {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.featured-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--neutral-300);
}

.featured-item-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.featured-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.featured-item:hover .featured-item-image img {
  transform: scale(1.05);
}

.featured-item-details {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.featured-item-details-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--neutral-900);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-1);
}

.featured-item-details-excerpt {
  display: none; /* Hide excerpt - redundant for investment cards */
}

.featured-item-details-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--neutral-500);
}

.featured-item-details-location i {
  font-size: 0.7rem;
}

.featured-item-details-location a {
  color: var(--neutral-600);
}

.featured-item-details-location a:hover {
  color: var(--blue-700);
}

/* Hide redundant property meta - already shown in tags */
.featured-item-details > .text-muted.small {
  display: none;
}

.featured-item-details-prices {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--neutral-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.featured-item-details-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured-item-details-price-title {
  font-size: 10px;
  font-weight: 500;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.featured-item-details-price-value {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--neutral-900);
}

.featured-item-details-price-value.blue {
  color: var(--blue-700);
}

.featured-item-details-buttons {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* ----------------------------------------
   7. PROPERTY CARDS - LIST (Search Results)
   ---------------------------------------- */
.results-search-results-wrapper {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.results-search-results {
  flex-grow: 1;
}

.results-search-result {
  display: flex;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.results-search-result:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--neutral-300);
}

.results-search-result-image {
  position: relative;
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.results-search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: transform 0.6s var(--ease-out-expo);
}

.results-search-result:hover .results-search-result-image img {
  transform: scale(1.05);
}

.results-search-result-details {
  flex-grow: 1;
  display: flex;
  padding: var(--space-5);
  gap: var(--space-5);
}

.results-search-result-details-left,
.results-search-result-details-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-search-result-details-top {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.results-search-result-details-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--neutral-900);
  margin-bottom: var(--space-1);
  line-height: var(--leading-snug);
}

.results-search-result-details-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-bottom: var(--space-2);
}

.results-search-result-details-location i {
  font-size: 0.65rem;
}

.results-search-result-details-location a {
  color: var(--neutral-600);
}

.results-search-result-details-location a:hover {
  color: var(--blue-700);
}

.results-search-result-details-excerpt {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: var(--leading-normal);
  margin-top: var(--space-2);
}

.results-search-result-details-bullets {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-top: auto;
  padding-top: var(--space-3);
}

.results-search-result-details-bullets .bullet-dot {
  color: var(--neutral-300);
}

.results-search-result-details-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-2);
}

.results-search-result-details-price-title {
  font-size: 10px;
  font-weight: 500;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.results-search-result-details-price-value {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--neutral-900);
}

.results-search-result-details-price-value.blue {
  color: var(--blue-700);
}

.results-search-result-details-bottom {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

/* ----------------------------------------
   8. IMAGE TAGS (Property Type, ROI, etc.)
   ---------------------------------------- */
.results-search-result-image-tags-left {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 2;
}

.results-search-result-image-tags-right {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 2;
}

.results-search-result-image-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--neutral-700);
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ROI Percentage Tag - Prominent */
.results-search-result-image-tags-right
  .results-search-result-image-tag:last-child {
  background: var(--blue-800);
  color: white;
  font-weight: 700;
}

/* High ROI Badge - Gold gradient */
.results-search-result-image-tag.high-roi {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--neutral-900);
  font-weight: 700;
}

/* ----------------------------------------
   9. BUTTONS
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
  --bs-btn-bg: var(--blue-800);
  --bs-btn-border-color: var(--blue-800);
  --bs-btn-hover-bg: var(--blue-900);
  --bs-btn-hover-border-color: var(--blue-900);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Card View Button */
.results-search-result-details-button-sbmt {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--blue-800);
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.results-search-result-details-button-sbmt:hover {
  color: white;
  background: var(--blue-900);
  transform: translateY(-1px);
}

.results-search-result-details-button-sbmt svg {
  width: 14px;
  height: 14px;
}

/* Heart/Favorite Button */
.results-search-result-details-button-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--neutral-100);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.results-search-result-details-button-heart svg path {
  transition: all var(--duration-fast) var(--ease-smooth);
}

.results-search-result-details-button-heart:hover {
  border-color: var(--error);
  background: var(--error-light);
}

.results-search-result-details-button-heart:hover svg path {
  stroke: var(--error);
}

/* Favorite Active State */
.favorite-toggle.active svg path {
  fill: var(--error);
  stroke: var(--error);
}

/* ----------------------------------------
   10. FILTER SIDEBAR
   ---------------------------------------- */
.results-search-filters {
  width: 260px;
  flex-shrink: 0;
}

.results-search-filter-container {
  padding: var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: 5.5rem;
}

.result-search-filter-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--neutral-900);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--neutral-100);
  margin-bottom: 0;
}

.result-search-filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.result-search-filter-option {
  margin-bottom: var(--space-2);
}

.result-search-filter-option-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.result-search-filter-option .form-control,
.result-search-filter-option .form-select {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
}

.results-search-filter-button {
  width: 100%;
  padding: var(--space-3);
  background: var(--blue-800);
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.results-search-filter-button:hover {
  background: var(--blue-900);
}

/* ----------------------------------------
   11. FORM ELEMENTS
   ---------------------------------------- */
.form-control,
.form-select {
  padding: var(--space-3) var(--space-4);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--neutral-900);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.form-control:hover,
.form-select:hover {
  border-color: var(--neutral-400);
}

.form-control:focus,
.form-select:focus {
  background: white;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: var(--neutral-400);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: var(--space-2);
}

/* Location Table Filters */
.location-table-filters .form-select {
  height: 44px;
  padding: 0 var(--space-4);
}

.location-table-filters .btn {
  height: 44px;
  padding: 0 var(--space-4);
}

/* ----------------------------------------
   12. FOOTER
   ---------------------------------------- */
footer {
  background: var(--blue-950);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

footer .row {
  --bs-gutter-y: 2rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-details-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer-details-item svg {
  flex-shrink: 0;
}

.footer-details-item svg path {
  stroke: var(--blue-400);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: white;
  margin-bottom: var(--space-5);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-nav ul li a:hover {
  color: var(--gold-400);
}

.footer-links-socials {
  display: flex;
  gap: var(--space-4);
}

.footer-links-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer-links-social a:hover {
  background: var(--gold-600);
}

.footer-links-social a svg path {
  stroke: rgba(255, 255, 255, 0.7);
  transition: stroke var(--duration-fast) var(--ease-smooth);
}

.footer-links-social a:hover svg path {
  stroke: white;
}

.copyright {
  text-align: center;
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
}

/* ----------------------------------------
   13. FAVORITES OFFCANVAS
   ---------------------------------------- */
#favoritesOffcanvas .offcanvas-body {
  padding: 0;
}

.favorites-empty {
  padding: var(--space-10) var(--space-6);
  text-align: center;
  color: var(--neutral-500);
}

.favorite-item {
  display: flex;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--neutral-200);
  gap: var(--space-3);
  transition: background var(--duration-fast) var(--ease-smooth);
}

.favorite-item:hover {
  background: var(--neutral-50);
}

.favorite-item-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.favorite-item-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.favorite-item-info {
  flex: 1;
  min-width: 0;
}

.favorite-item-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-item-remove {
  background: none;
  border: none;
  color: var(--neutral-400);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.favorite-item-remove:hover {
  background: var(--error-light);
  color: var(--error);
}

/* ----------------------------------------
   14. COOKIE CONSENT
   ---------------------------------------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 100%);
  padding: var(--space-8);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  display: none;
  border-top: 3px solid var(--gold-500);
}

.cookie-consent .container {
  max-width: 1000px;
}

.cookie-consent #cookieForm {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: flex-start;
}

.cookie-consent .cookieText {
  flex: 1;
  min-width: 300px;
}

.cookie-consent .cookieText h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-3);
}

.cookie-consent .cookieText p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.cookie-consent .cookieText label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.cookie-consent .cookieText label:hover {
  color: var(--gold-500);
}

.cookie-consent .cookieText input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.cookie-consent .cookieText input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-consent .cookieButtons {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 200px;
}

.cookie-consent .cookieButtons .btn {
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.cookie-consent .cookieButtons .btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border: none;
  color: var(--blue-950);
}

.cookie-consent .cookieButtons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.3);
}

.cookie-consent .cookieButtons .btn-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.cookie-consent .cookieButtons .btn-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

@media (max-width: 767.98px) {
  .cookie-consent {
    top: 0;
    overflow-y: auto;
    padding: var(--space-6);
    padding-top: var(--space-16);
  }

  .cookie-consent #cookieForm {
    flex-direction: column;
  }

  .cookie-consent .cookieText {
    min-width: 100%;
  }

  .cookie-consent .cookieButtons {
    width: 100%;
  }
}

/* ----------------------------------------
   15. UTILITY CLASSES
   ---------------------------------------- */
.bg-blue-light {
  background-color: var(--blue-50);
}

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

.object-fit-cover {
  object-fit: cover;
}

/* ----------------------------------------
   16. ANIMATIONS
   ---------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp var(--duration-slow) var(--ease-out-expo) forwards;
  opacity: 0;
}

/* Stagger Animation Delays */
.stagger > *:nth-child(1) {
  animation-delay: 0ms;
}
.stagger > *:nth-child(2) {
  animation-delay: 100ms;
}
.stagger > *:nth-child(3) {
  animation-delay: 200ms;
}
.stagger > *:nth-child(4) {
  animation-delay: 300ms;
}
.stagger > *:nth-child(5) {
  animation-delay: 400ms;
}
.stagger > *:nth-child(6) {
  animation-delay: 500ms;
}
.stagger > *:nth-child(7) {
  animation-delay: 600ms;
}
.stagger > *:nth-child(8) {
  animation-delay: 700ms;
}
.stagger > *:nth-child(9) {
  animation-delay: 800ms;
}

/* Hover Lift */
.hover-lift {
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-smooth);
}

.hover-lift:hover {
  transform: translateY(-6px);
}

/* ----------------------------------------
   17. RESPONSIVE
   ---------------------------------------- */
@media (max-width: 991.98px) {
  .hero-container {
    min-height: 70vh;
    margin: var(--space-4);
    border-radius: 32px;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-bullets {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-filter-input-container {
    flex-direction: column;
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
  }

  .hero-filter-button {
    width: 100%;
  }

  .hero-filter-button button {
    width: 100%;
  }

  .results-search-results-wrapper {
    flex-direction: column;
  }

  .results-search-filters {
    width: 100%;
  }

  .results-search-filter-container {
    position: static;
  }

  .results-search-result {
    flex-direction: column;
  }

  .results-search-result-image {
    width: 100%;
    height: 180px;
  }

  .results-search-result-image img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .results-search-result-details {
    flex-direction: column;
    gap: var(--space-4);
  }
}

@media (max-width: 575.98px) {
  body {
    padding-top: 4rem;
  }

  .hero-container {
    margin: var(--space-3);
    border-radius: 24px;
    min-height: 80vh;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, var(--text-3xl));
  }

  .hero-description {
    font-size: var(--text-base);
  }

  /* Fix hero filter overflow on mobile */
  .hero-filter-input {
    min-width: 100%;
    width: 100%;
  }

  .hero-filter-input-select {
    min-width: 100%;
    width: 100%;
  }

  .hero-filter-input-container {
    padding: var(--space-4);
    gap: var(--space-3);
    border-radius: var(--radius-xl);
  }

  .hero-bullets {
    gap: var(--space-2);
  }

  section {
    padding: var(--space-6) 0;
  }

  .section-title {
    font-size: clamp(1.25rem, 5vw, var(--text-2xl));
  }

  .featured-container {
    gap: var(--space-4);
  }

  .featured-item-details {
    padding: var(--space-4);
  }

  footer {
    padding: var(--space-10) 0 var(--space-6);
  }

  .location-hero {
    padding: var(--space-6);
    margin: var(--space-2);
    min-height: 300px;
  }

  .location-hero h1 {
    font-size: clamp(1.75rem, 6vw, var(--text-4xl));
  }

  .location-hero-stats {
    gap: var(--space-4);
  }

  .property-gallery-main {
    height: 250px;
  }
}

/* Extra small devices (< 480px) */
@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
  }

  .hero-container {
    margin: var(--space-2);
    border-radius: 20px;
    min-height: 75vh;
    padding: var(--space-4);
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 1.875rem);
    margin-bottom: var(--space-4);
  }

  .hero-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
  }

  .hero-bullets {
    margin-bottom: var(--space-6);
  }

  .hero-filter-input-container {
    padding: var(--space-3);
    gap: var(--space-2);
  }

  .hero-filter-input input,
  .hero-filter-select {
    font-size: var(--text-base);
    padding: var(--space-2) 0;
  }

  .hero-filter-button button {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }

  .hero-input-currencies {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: var(--space-5) 0;
  }

  .section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
  }

  .section-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }

  .featured-container {
    gap: var(--space-3);
  }

  .featured-item-details {
    padding: var(--space-3);
  }

  .featured-item-details-title {
    font-size: var(--text-base);
  }

  .featured-item-details-prices {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .property-gallery-main {
    height: 200px;
  }

  .property-gallery-thumb {
    height: 100px;
  }

  .error-title {
    font-size: clamp(3rem, 20vw, 5rem);
  }

  .error-subtitle {
    font-size: var(--text-xl);
  }

  .error-description {
    font-size: var(--text-base);
  }

  footer {
    padding: var(--space-8) 0 var(--space-4);
  }

  .footer-col-title {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
  }
}

/* ----------------------------------------
   18. DARK MODE (Foundation - Expand Later)
   ---------------------------------------- */
[data-theme="dark"] {
  --bs-body-color: var(--neutral-300);
}

[data-theme="dark"] body {
  background-color: var(--blue-950);
  color: var(--neutral-300);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .nav-link {
  color: var(--neutral-400);
}

[data-theme="dark"] .nav-link:hover {
  color: white;
  background: var(--neutral-800);
}

[data-theme="dark"] .btn-light-dark,
[data-theme="dark"] .btn-favorites {
  background: var(--neutral-800);
  color: var(--neutral-400);
}

[data-theme="dark"] .btn-light-dark:hover,
[data-theme="dark"] .btn-favorites:hover {
  background: var(--neutral-700);
  color: white;
}

[data-theme="dark"] .btn-light-dark .icon-sun {
  display: block;
}
[data-theme="dark"] .btn-light-dark .icon-moon {
  display: none;
}

[data-theme="dark"] .featured-item,
[data-theme="dark"] .results-search-result,
[data-theme="dark"] .results-search-filter-container {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .featured-item-details-title,
[data-theme="dark"] .results-search-result-details-title,
[data-theme="dark"] .result-search-filter-title {
  color: white;
}

[data-theme="dark"] .featured-item-details-price-value,
[data-theme="dark"] .results-search-result-details-price-value {
  color: white;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: var(--neutral-800);
  border-color: var(--neutral-700);
  color: white;
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--neutral-500);
}

[data-theme="dark"] .section-title {
  color: white;
}

[data-theme="dark"] .offcanvas {
  background: var(--neutral-900);
  color: white;
}

[data-theme="dark"] .modal-content {
  background: var(--neutral-900);
  color: white;
}

[data-theme="dark"] .favorite-item {
  border-color: var(--neutral-800);
}

[data-theme="dark"] .favorite-item:hover {
  background: var(--neutral-800);
}

[data-theme="dark"] .favorite-item-title {
  color: white;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .card {
  background-color: var(--neutral-900) !important;
  color: white;
}

[data-theme="dark"] .bg-light {
  background-color: var(--neutral-800) !important;
}

[data-theme="dark"] .text-dark {
  color: white !important;
}

[data-theme="dark"] .text-muted {
  color: var(--neutral-400) !important;
}

[data-theme="dark"] .border {
  border-color: var(--neutral-800) !important;
}

[data-theme="dark"] footer {
  background: var(--neutral-900);
}

/* ----------------------------------------
   19. BREADCRUMBS
   ---------------------------------------- */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.breadcrumb-item a {
  color: var(--neutral-500);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.breadcrumb-item a:hover {
  color: var(--blue-700);
}

.breadcrumb-item.active {
  color: var(--neutral-900);
  font-weight: 500;
}

.breadcrumb-item.active a {
  color: var(--neutral-900);
  pointer-events: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--neutral-300);
  content: "›";
  font-weight: 300;
}

/* ----------------------------------------
   20. PAGE & ARTICLE SHARED STYLES
   ---------------------------------------- */
.container-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-section,
.article-section,
.contact-section,
.articles-section {
  padding: var(--space-16) 0;
}

.page-header,
.article-header {
  margin-bottom: var(--space-10);
  text-align: center;
}

.page-header h1,
.article-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.header-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  border-radius: var(--radius-full);
  margin-top: var(--space-6);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Article Meta */
.article-meta {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-bottom: var(--space-4);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Featured Image */
.article-featured-image {
  margin-bottom: var(--space-10);
}

.article-featured-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* Prose Content Typography */
.prose {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--neutral-700);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--neutral-900);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--neutral-900);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--neutral-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.prose p {
  margin-bottom: var(--space-6);
}

.prose a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.prose a:hover {
  color: var(--blue-800);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose blockquote {
  border-left: 4px solid var(--gold-500);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  font-style: italic;
  color: var(--neutral-600);
}

.prose img {
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.prose table {
  width: 100%;
  margin: var(--space-6) 0;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--neutral-200);
  text-align: left;
}

.prose th {
  background: var(--neutral-50);
  font-weight: 600;
}

/* Article Footer */
.article-footer {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--neutral-200);
}

.share-section {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.share-section .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.share-section .btn:hover {
  transform: translateY(-2px);
}

/* ----------------------------------------
   21. ARTICLES GRID
   ---------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 991.98px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.article-block {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out-expo);
}

.article-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--neutral-300);
}

.article-block-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-block-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.article-block:hover .article-block-image img {
  transform: scale(1.05);
}

.article-block-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.article-block:hover .article-block-overlay {
  opacity: 1;
}

.article-block-overlay i {
  color: white;
  font-size: 2rem;
}

.article-block-content {
  padding: var(--space-5);
}

.article-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--neutral-900);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
}

.article-excerpt {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.article-read-more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.article-read-more:hover {
  color: var(--blue-800);
}

/* ----------------------------------------
   22. CONTACT PAGE
   ---------------------------------------- */
.contact-form-wrapper {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper > .text-center svg {
  color: var(--blue-700);
}

.contact-form .form-control,
.contact-form .form-select {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  padding: var(--space-4);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: white;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contact-form .btn-dark {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border: none;
  padding: var(--space-4) var(--space-8);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.contact-form .btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-info {
  margin-top: var(--space-12);
}

.contact-info-item {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.contact-info-item:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  color: var(--blue-700);
  margin-bottom: var(--space-3);
}

.contact-info-item h5 {
  font-family: var(--font-display);
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}

/* ----------------------------------------
   23. LOCATION PAGE
   ---------------------------------------- */
.location-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-2xl);
  margin: var(--space-6);
  overflow: hidden;
  padding: var(--space-12);
}

.location-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.85) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
}

.location-hero > * {
  position: relative;
  z-index: 1;
}

.location-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-4);
}

.location-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 600px;
}

.location-hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.location-hero-stat {
  text-align: center;
}

.location-hero-stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-400);
}

.location-hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* Location Section */
.location-section {
  padding: var(--space-12) 0;
}

.location-section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-6);
}

/* Location Tables */
.location-table {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

.location-table th {
  background: var(--neutral-50);
  font-weight: 600;
  color: var(--neutral-700);
  border-bottom: 2px solid var(--neutral-200);
  padding: var(--space-4);
}

.location-table td {
  vertical-align: middle;
  padding: var(--space-4);
  border-bottom: 1px solid var(--neutral-100);
}

.location-table tbody tr:hover {
  background: var(--neutral-50);
}

/* Location Table Mobile Scroll */
.location-table-wrapper {
  width: 100%;
}

@media (max-width: 767.98px) {
  .location-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--space-3) * -1);
    padding: 0 var(--space-3);
    width: calc(100% + var(--space-6));
  }

  .location-table {
    min-width: 600px;
  }

  .location-table th,
  .location-table td {
    padding: var(--space-3);
    font-size: var(--text-sm);
  }
}

/* Stat Cards */
.location-stat-card {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.location-stat-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.location-stat-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  color: var(--blue-700);
  font-size: var(--text-xl);
}

.location-stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-1);
}

.location-stat-label {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

/* ----------------------------------------
   24. ERROR PAGES
   ---------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) 0;
}

.error-icon {
  margin-bottom: var(--space-6);
  color: var(--blue-200);
}

.error-icon svg {
  width: 120px;
  height: 120px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  color: var(--blue-800);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.error-description {
  color: var(--neutral-500);
  font-size: var(--text-lg);
  max-width: 400px;
  margin: 0 auto var(--space-8);
}

.error-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--neutral-300);
  color: var(--neutral-700);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.btn-outline:hover {
  border-color: var(--blue-400);
  background: var(--blue-50);
  color: var(--blue-800);
}

/* ----------------------------------------
   25. ENHANCED OFFCANVAS
   ---------------------------------------- */
.offcanvas {
  border-left: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-2xl);
}

.offcanvas-header {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
  color: white;
  padding: var(--space-5) var(--space-6);
  border-bottom: 3px solid var(--gold-500);
}

.offcanvas-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: white;
}

.offcanvas .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

.offcanvas .btn-close:hover {
  opacity: 1;
}

/* Enhanced favorite items with gold accent */
.favorite-item {
  border-left: 3px solid transparent;
}

.favorite-item:hover {
  border-left-color: var(--gold-500);
  transform: translateX(4px);
}

/* ----------------------------------------
   27. PROPERTY PAGE
   ---------------------------------------- */
.property-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}

.property-location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-500);
  font-size: var(--text-lg);
}

.property-location i {
  color: var(--blue-600);
}

.property-price-tag {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--blue-700);
}

.property-price-secondary {
  font-size: var(--text-lg);
  color: var(--neutral-500);
}

.property-roi-badge {
  display: inline-flex;
  align-items: center;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
}

/* Property Gallery */
.property-gallery {
  margin-bottom: var(--space-10);
}

.property-gallery-main {
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.property-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.property-gallery-main:hover img {
  transform: scale(1.02);
}

.property-gallery-thumb {
  height: 242px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-xl);
}

.property-featured-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--blue-950);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-md);
}

/* Property Overview Card */
.property-overview {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.property-overview h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--neutral-900);
  margin-bottom: var(--space-5);
}

.property-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.property-feature-label {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.property-feature-value {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--neutral-900);
}

.property-feature-value i {
  color: var(--blue-600);
}

/* Financial Cards */
.property-financial {
  margin-bottom: var(--space-10);
}

.property-financial h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-5);
}

.financial-card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  height: 100%;
}

.financial-card-primary {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
}

.financial-card-primary .financial-label {
  color: rgba(255, 255, 255, 0.8);
}

.financial-card-primary .financial-value {
  color: white;
  font-size: var(--text-4xl);
}

.financial-card-secondary {
  background: white;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.financial-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-500);
  margin-bottom: var(--space-2);
}

.financial-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--neutral-900);
}

/* Property Sidebar */
.property-sidebar {
  position: sticky;
  top: 100px;
}

.property-inquiry {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-md);
}

.property-inquiry h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--neutral-900);
  margin-bottom: var(--space-5);
}

.property-agent {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--neutral-200);
}

.property-agent-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  font-size: var(--text-xl);
}

.property-agent-name {
  font-weight: 600;
  color: var(--neutral-900);
}

.property-agent-agency {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.property-inquiry .form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.property-inquiry .form-control {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
}

.property-inquiry .form-control:focus {
  background: white;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.property-inquiry .btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border: none;
  color: var(--blue-950);
  font-weight: 600;
  padding: var(--space-4);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.property-inquiry .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.3);
}

.property-summary {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}

.property-summary h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.property-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--neutral-600);
  margin-bottom: var(--space-2);
}

.property-summary-item:last-child {
  margin-bottom: 0;
}

.property-summary-value {
  font-weight: 600;
  color: var(--neutral-900);
}

.property-summary-value.status-active {
  color: var(--success);
}

/* Similar Properties Section */
.similar-properties {
  background: var(--neutral-50);
  padding: var(--space-12) 0;
  margin-top: var(--space-12);
  border-top: 1px solid var(--neutral-200);
}

.similar-properties h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}

.similar-properties p {
  color: var(--neutral-500);
  margin-bottom: 0;
}

/* Property description with prose styling */
.property-description {
  margin-bottom: var(--space-10);
}

.property-description h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.property-description .prose {
  max-width: none;
}

@media (max-width: 991.98px) {
  .property-gallery-main {
    height: 350px;
  }

  .property-sidebar {
    position: static;
    margin-top: var(--space-8);
  }
}

@media (max-width: 767.98px) {
  .property-gallery-main {
    height: 280px;
  }
}

/* ----------------------------------------
   28. DARK MODE ADDITIONS
   ---------------------------------------- */
[data-theme="dark"] .breadcrumb-item a {
  color: var(--neutral-400);
}

[data-theme="dark"] .breadcrumb-item a:hover {
  color: var(--blue-400);
}

[data-theme="dark"] .breadcrumb-item.active,
[data-theme="dark"] .breadcrumb-item.active a {
  color: white;
}

[data-theme="dark"] .prose {
  color: var(--neutral-300);
}

[data-theme="dark"] .prose h2,
[data-theme="dark"] .prose h3,
[data-theme="dark"] .prose h4 {
  color: white;
}

[data-theme="dark"] .prose a {
  color: var(--blue-400);
}

[data-theme="dark"] .prose blockquote {
  color: var(--neutral-400);
}

[data-theme="dark"] .article-block {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .article-title {
  color: white;
}

[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .contact-info-item {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .contact-info-item h5 {
  color: white;
}

[data-theme="dark"] .location-stat-card {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .location-stat-value {
  color: white;
}

[data-theme="dark"] .location-table {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .location-table th {
  background: var(--neutral-800);
  color: white;
}

[data-theme="dark"] .location-table td {
  border-color: var(--neutral-800);
}

[data-theme="dark"] .error-title {
  color: var(--blue-400);
}

[data-theme="dark"] .error-subtitle {
  color: white;
}

[data-theme="dark"] .btn-outline {
  border-color: var(--neutral-700);
  color: var(--neutral-300);
}

[data-theme="dark"] .btn-outline:hover {
  border-color: var(--blue-500);
  background: var(--blue-900);
  color: white;
}

/* Property Page Dark Mode */
[data-theme="dark"] .property-header h1 {
  color: white;
}

[data-theme="dark"] .property-overview,
[data-theme="dark"] .property-inquiry,
[data-theme="dark"] .financial-card-secondary {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .property-overview h3,
[data-theme="dark"] .property-inquiry h3,
[data-theme="dark"] .property-financial h3,
[data-theme="dark"] .property-description h3,
[data-theme="dark"] .property-feature-value,
[data-theme="dark"] .financial-value,
[data-theme="dark"] .property-agent-name {
  color: white;
}

[data-theme="dark"] .property-summary {
  background: var(--neutral-800);
  border-color: var(--neutral-700);
}

[data-theme="dark"] .property-summary-value {
  color: white;
}

[data-theme="dark"] .property-inquiry .form-control {
  background: var(--neutral-800);
  border-color: var(--neutral-700);
  color: white;
}

[data-theme="dark"] .property-inquiry .form-control:focus {
  background: var(--neutral-900);
}

[data-theme="dark"] .similar-properties {
  background: var(--neutral-950);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .similar-properties h2 {
  color: white;
}

/* Hero Section Dark Mode */
[data-theme="dark"] .hero-filter-input-container {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--neutral-700);
}

[data-theme="dark"] .hero-filter-input input,
[data-theme="dark"] .hero-filter-select {
  color: white;
}

[data-theme="dark"] .hero-filter-input input::placeholder {
  color: var(--neutral-500);
}

[data-theme="dark"] .hero-filter-select option {
  background: var(--neutral-800);
  color: white;
}

[data-theme="dark"] .hero-input-currencies {
  background: var(--neutral-700);
}

[data-theme="dark"] .hero-input-currency {
  color: var(--neutral-400);
}

[data-theme="dark"] .hero-input-currency:hover {
  color: var(--neutral-200);
}

[data-theme="dark"] .hero-input-currency-radio:checked + .hero-input-currency {
  background: var(--neutral-600);
  color: white;
}

[data-theme="dark"] .hero-filter-icon,
[data-theme="dark"] .hero-filter-icon i {
  color: var(--neutral-500);
}

/* Cards & Tags Dark Mode */
[data-theme="dark"] .results-search-result-image-tag {
  background: rgba(30, 41, 59, 0.92);
  color: var(--neutral-200);
}

[data-theme="dark"] .results-search-result-details-button-heart {
  background: var(--neutral-800);
}

[data-theme="dark"] .results-search-result-details-button-heart:hover {
  background: var(--neutral-700);
}

[data-theme="dark"] .results-search-result-details-button-heart svg path {
  stroke: var(--neutral-400);
}

[data-theme="dark"] .featured-item-details-prices {
  border-color: var(--neutral-800);
}

[data-theme="dark"] .featured-item-details-location,
[data-theme="dark"] .featured-item-details-location a {
  color: var(--neutral-400);
}

[data-theme="dark"] .featured-item-details-location a:hover {
  color: var(--blue-400);
}

[data-theme="dark"] .results-search-result-details-location,
[data-theme="dark"] .results-search-result-details-location a {
  color: var(--neutral-400);
}

[data-theme="dark"] .results-search-result-details-excerpt,
[data-theme="dark"] .results-search-result-details-bullets {
  color: var(--neutral-400);
}

/* Sections & Backgrounds Dark Mode */
[data-theme="dark"] .footer-handpicker {
  background: var(--neutral-900);
}

[data-theme="dark"] .section-description {
  color: var(--neutral-400);
}

[data-theme="dark"] .page-header h1,
[data-theme="dark"] .article-header h1 {
  color: white;
}

[data-theme="dark"] .header-underline {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}

/* Form Elements Dark Mode */
[data-theme="dark"] .form-select option {
  background: var(--neutral-800);
  color: white;
}

[data-theme="dark"] .contact-form .form-control,
[data-theme="dark"] .contact-form .form-select {
  background: var(--neutral-800);
  border-color: var(--neutral-700);
  color: white;
}

[data-theme="dark"] .contact-form .form-control::placeholder {
  color: var(--neutral-500);
}

[data-theme="dark"] .contact-form .form-control:focus,
[data-theme="dark"] .contact-form .form-select:focus {
  background: var(--neutral-900);
  border-color: var(--blue-500);
}

[data-theme="dark"] .result-search-filter-option-title {
  color: var(--neutral-400);
}

[data-theme="dark"] .form-label {
  color: var(--neutral-400);
}

/* Tables Dark Mode */
[data-theme="dark"] .prose th {
  background: var(--neutral-800);
  color: white;
}

[data-theme="dark"] .prose td,
[data-theme="dark"] .prose th {
  border-color: var(--neutral-700);
}

[data-theme="dark"] .location-table tbody tr:hover {
  background: var(--neutral-800);
}

/* Offcanvas & Modals Dark Mode */
[data-theme="dark"] .offcanvas {
  border-color: var(--neutral-800);
}

[data-theme="dark"] .offcanvas-header {
  background: linear-gradient(135deg, var(--neutral-900), var(--blue-950));
}

[data-theme="dark"] .modal-header {
  background: var(--neutral-900);
  border-color: var(--neutral-800);
}

[data-theme="dark"] .modal-footer {
  border-color: var(--neutral-800);
}

[data-theme="dark"] .btn-close {
  filter: invert(1);
}

/* Links & Buttons Dark Mode */
[data-theme="dark"] a {
  color: var(--blue-400);
}

[data-theme="dark"] a:hover {
  color: var(--blue-300);
}

[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
  color: var(--neutral-600);
}

/* Location Page Dark Mode */
[data-theme="dark"] .location-stat-icon {
  background: var(--neutral-800);
  color: var(--blue-400);
}

[data-theme="dark"] .location-section-title {
  color: white;
}

/* Article Dark Mode */
[data-theme="dark"] .article-excerpt {
  color: var(--neutral-400);
}

[data-theme="dark"] .article-read-more {
  color: var(--blue-400);
}

[data-theme="dark"] .article-read-more:hover {
  color: var(--blue-300);
}

[data-theme="dark"] .article-meta,
[data-theme="dark"] .article-date {
  color: var(--neutral-400);
}

/* Error Page Dark Mode */
[data-theme="dark"] .error-icon {
  color: var(--blue-500);
}

/* Property Page Dark Mode Extended */
[data-theme="dark"] .property-location {
  color: var(--neutral-400);
}

[data-theme="dark"] .property-price-secondary {
  color: var(--neutral-400);
}

[data-theme="dark"] .property-roi-badge {
  background: var(--blue-900);
  color: var(--blue-300);
}

[data-theme="dark"] .property-feature-label,
[data-theme="dark"] .financial-label {
  color: var(--neutral-400);
}

[data-theme="dark"] .property-agent-agency {
  color: var(--neutral-400);
}

[data-theme="dark"] .property-agent-avatar {
  background: var(--neutral-800);
  color: var(--neutral-500);
}

/* Cookie Consent Dark Mode */
[data-theme="dark"] .cookie-consent {
  background: linear-gradient(
    135deg,
    var(--neutral-900) 0%,
    var(--blue-950) 100%
  );
}

/* Pagination Dark Mode */
[data-theme="dark"] .pagination .page-link {
  background: var(--neutral-900);
  border-color: var(--neutral-700);
  color: var(--neutral-300);
}

[data-theme="dark"] .pagination .page-link:hover {
  background: var(--neutral-800);
  color: white;
}

[data-theme="dark"] .pagination .page-item.active .page-link {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: white;
}

[data-theme="dark"] .pagination .page-item.disabled .page-link {
  background: var(--neutral-900);
  color: var(--neutral-600);
}

/* Dropdown Dark Mode */
[data-theme="dark"] .dropdown-menu {
  background: var(--neutral-900);
  border-color: var(--neutral-700);
}

[data-theme="dark"] .dropdown-item {
  color: var(--neutral-300);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
  background: var(--neutral-800);
  color: white;
}

[data-theme="dark"] .dropdown-divider {
  border-color: var(--neutral-700);
}
