/* ==========================================================================
   ONEY SWAP - Premium Takas Vitrini
   Complete Design System v2.0 - Production Ready
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand Colors */
  --primary-900: #0A1A3A;
  --primary-800: #122952;
  --primary-700: #1A3D7C;
  --primary-600: #2A5298;
  --primary-500: #3B6AB4;
  --primary-400: #5A86C7;
  --primary-300: #8AABD9;
  --primary-200: #B9D0EB;
  --primary-100: #E8F0F9;
  --primary-50: #F4F8FC;
  
  /* Accent - Gold */
  --accent-900: #7A5A32;
  --accent-800: #97703D;
  --accent-700: #B8915D;
  --accent-600: #C6A16E;
  --accent-500: #D4B88A;
  --accent-400: #E0C9A4;
  --accent-300: #ECDABD;
  --accent-200: #F5EBD7;
  --accent-100: #FAF5EC;
  --accent-50: #FDFBF8;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Semantic Colors */
  --success-500: #10B981;
  --success-100: #D1FAE5;
  --warning-500: #F59E0B;
  --warning-100: #FEF3C7;
  --error-500: #EF4444;
  --error-100: #FEE2E2;
  --info-500: #3B82F6;
  --info-100: #DBEAFE;
  
  /* Shadows - Refined */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 4px 24px rgba(10, 26, 58, 0.06);
  --shadow-card-hover: 0 16px 48px rgba(10, 26, 58, 0.12);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Spacing Scale */
  --space-px: 1px;
  --space-0: 0;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --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-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Container */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  
  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  
  /* Header Height */
  --header-height: 72px;
  --header-height-scrolled: 64px;
}

/* ==========================================================================
   2. CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-900);
  margin: 0;
}

h1 { 
  font-size: clamp(2rem, 5vw, 3.25rem); 
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h2 { 
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
}

h3 { 
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  letter-spacing: -0.015em;
}

h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin: 0 0 var(--space-4);
  color: var(--gray-600);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--primary-700);
}

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Selection */
::selection {
  background-color: var(--primary-200);
  color: var(--primary-900);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

.container-wide {
  max-width: var(--container-2xl);
}

.container-narrow {
  max-width: var(--container-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(26, 61, 124, 0);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(26, 61, 124, 0.15);
  color: var(--white);
}

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

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-700) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--accent-700) 0%, var(--accent-800) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--primary-700);
  border-color: var(--primary-700);
}

.btn-outline:hover {
  background-color: var(--primary-700);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outline Light (for dark backgrounds) */
.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* WhatsApp Button */
.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* Button Sizes */
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
}

/* Icon Button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}

.btn-icon i {
  font-size: 1.125rem;
}

/* Full Width */
.btn-full {
  width: 100%;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  z-index: var(--z-fixed);
  transition: all var(--duration-base) var(--ease-out);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: var(--space-4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: inherit;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .primary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-900);
  letter-spacing: -0.01em;
}

.logo-text .secondary {
  font-size: 0.5625rem;
  color: var(--accent-600);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1080px) {
  .main-nav {
    display: block;
  }
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.main-nav a {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-700);
  background-color: var(--primary-50);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  padding: var(--space-1);
  background-color: var(--gray-100);
  border-radius: var(--radius-md);
}

.lang-btn {
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-btn:hover {
  color: var(--primary-900);
}

.lang-btn.active {
  background-color: var(--white);
  color: var(--primary-900);
  box-shadow: var(--shadow-sm);
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 1200px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 1.375rem;
  color: var(--primary-900);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-menu-btn:hover {
  background-color: var(--gray-100);
}

@media (min-width: 1080px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + var(--space-10));
  padding-bottom: var(--space-12);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(26, 61, 124, 0.025) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(198, 161, 110, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 420px;
    gap: var(--space-12);
  }
}

@media (min-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr 480px;
    gap: var(--space-16);
  }
}

.hero-content {
  max-width: 600px;
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: none;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, rgba(198, 161, 110, 0.12) 0%, rgba(198, 161, 110, 0.06) 100%);
  color: var(--accent-800);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-5);
  border: 1px solid rgba(198, 161, 110, 0.15);
}

.hero-badge i {
  font-size: 0.875rem;
}

.hero-section h1 {
  margin-bottom: var(--space-5);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  max-width: 520px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ==========================================================================
   7. ADVISOR CARD (Hero Sidebar)
   ========================================================================== */
.advisor-card {
  background-color: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .advisor-card {
    padding: var(--space-8);
  }
}

.advisor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-600) 0%, var(--primary-700) 100%);
}

.advisor-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.advisor-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advisor-avatar i {
  font-size: 1.5rem;
  color: var(--primary-700);
}

.advisor-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-900);
  margin-bottom: var(--space-1);
}

.advisor-role {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.advisor-actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.advisor-actions .btn {
  flex: 1;
}

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

.advisor-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--gray-700);
}

.advisor-feature i {
  color: var(--success-500);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ==========================================================================
   8. SECTION COMPONENTS
   ========================================================================== */
.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background-color: var(--gray-50);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.section-title {
  max-width: 600px;
}

.section-title h2 {
  margin-bottom: var(--space-2);
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.section-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ==========================================================================
   9. PROPERTY CARDS - GRID SYSTEM (FIXED)
   ========================================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 600px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* Property Card */
.property-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* Property Image */
.property-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--gray-100);
  display: block;
}

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

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

/* Property Badge */
.property-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-700) 100%);
  color: var(--white);
  padding: 6px var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

/* Property Content */
.property-content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 640px) {
  .property-content {
    padding: var(--space-6);
  }
}

/* Property Title */
.property-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: var(--space-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-title a {
  color: inherit;
}

.property-title a:hover {
  color: var(--primary-700);
}

/* Property Location */
.property-location {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--gray-500);
  font-size: 0.8125rem;
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.property-location i {
  color: var(--accent-600);
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.property-location span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Property Price */
.property-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: var(--space-3);
  word-break: break-word;
}

/* Property Description */
.property-description {
  color: var(--gray-600);
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-description strong {
  color: var(--primary-900);
  font-weight: 600;
}

/* Property Actions */
.property-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
}

.property-actions .btn {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  padding: 10px var(--space-3);
}

.property-actions .btn-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.property-contact {
  flex: 0 0 40px !important;
}

/* Property Card Featured Variant */
.property-card.featured {
  border: 2px solid var(--accent-500);
}

.property-card.featured .property-badge {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
}

/* ==========================================================================
   10. EMPTY STATE
   ========================================================================== */
.empty-state {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px dashed var(--gray-200);
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 3rem;
  color: var(--gray-300);
  margin-bottom: var(--space-4);
  display: block;
}

.empty-state p {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ==========================================================================
   11. STEPS SECTION
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

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

.step-description {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.steps-line {
  display: none;
}

@media (min-width: 768px) {
  .steps-line {
    display: block;
    position: absolute;
    top: 28px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-200) 0%, var(--primary-300) 50%, var(--primary-200) 100%);
    z-index: 0;
  }
}

/* ==========================================================================
   12. TRUST BADGES
   ========================================================================== */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-badge {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.trust-badge > i {
  font-size: 1.25rem;
  color: var(--primary-700);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge h3 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.trust-badge p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ==========================================================================
   13. CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.contact-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.contact-card p {
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}

.contact-card .btn {
  width: 100%;
}

.contact-card .small {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* ==========================================================================
   14. CONTENT CARD
   ========================================================================== */
.content-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .content-card {
    padding: var(--space-8);
  }
}

.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4 {
  margin-bottom: var(--space-4);
}

.content-card p {
  margin-bottom: var(--space-4);
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--primary-900) 0%, var(--gray-900) 100%);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-12);
  }
}

/* Footer Brand */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.footer-logo .logo-text .primary {
  color: var(--white);
}

.footer-logo .logo-text .secondary {
  color: var(--accent-400);
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Footer Links */
.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--duration-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent-400);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  background-color: var(--accent-600);
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-400);
}

/* ==========================================================================
   16. LISTING DETAIL PAGE
   ========================================================================== */
.listing-detail-header {
  padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.listing-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .listing-gallery {
    grid-template-columns: 2fr 1fr;
  }
}

.listing-gallery-main {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.listing-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .listing-gallery-thumbs {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
}

.listing-gallery-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.listing-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .listing-info {
    grid-template-columns: 2fr 1fr;
  }
}

.listing-main h1 {
  margin-bottom: var(--space-4);
}

.listing-meta {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.listing-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.listing-meta-item i {
  color: var(--accent-600);
}

.listing-description {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .listing-description {
    padding: var(--space-8);
  }
}

.listing-description h2 {
  font-size: 1.375rem;
  margin-bottom: var(--space-4);
}

.listing-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.listing-price-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .listing-price-card {
    padding: var(--space-8);
  }
}

.listing-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: var(--space-2);
}

.listing-swap-terms {
  background-color: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.listing-swap-terms h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 700;
}

.listing-swap-terms p {
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.listing-contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.listing-contact-actions .btn {
  width: 100%;
}

/* ==========================================================================
   17. MOBILE NAVIGATION OVERLAY
   ========================================================================== */
@media (max-width: 1079px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-6);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-out);
    z-index: calc(var(--z-fixed) - 1);
    overflow-y: auto;
    display: block;
  }
  
  .main-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .main-nav a {
    font-size: 1.0625rem;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
  }
  
  .main-nav a:hover,
  .main-nav a.active {
    background-color: var(--primary-50);
  }
}

/* ==========================================================================
   18. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

/* Tablets and below */
@media (max-width: 1023px) {
  .hero-section {
    min-height: auto;
    padding-bottom: var(--space-10);
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .advisor-card {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .hero-section {
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-8);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .stat {
    text-align: center;
  }
  
  .advisor-card {
    padding: var(--space-5);
  }
  
  .advisor-actions {
    flex-direction: column;
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .section-actions .btn {
    width: 100%;
  }
  
  .property-actions {
    flex-wrap: wrap;
  }
  
  .property-actions .btn:not(.btn-icon) {
    flex: 1 1 100%;
  }
  
  .property-actions .btn-icon {
    flex: 0 0 auto;
  }
}

/* ==========================================================================
   19. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* ==========================================================================
   20. PRINT STYLES
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .mobile-menu-btn,
  .hero-actions,
  .property-actions {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .property-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ==========================================================================
   21. ANIMATION UTILITIES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn var(--duration-base) var(--ease-out) forwards;
}
