/* ==============================================
   REALTOR SICILY - ELEGANT FEMININE DESIGN
   ============================================== */

:root {
  /* Midnight Collection Palette - Screenshot Match */
  --bg: #040814;
  /* Deep Midnight Blue from Screenshot */
  --bg-alt: #070e1f;
  /* Midnight Collection Palette - Shadcn Match */
  --bg: #040814;
  --bg-alt: #070e1f;

  /* Shadcn Glass Surfaces */
  --surface: rgba(10, 20, 40, 0.4);
  --surface-light: rgba(10, 20, 40, 0.6);
  --border: rgba(255, 255, 255, 0.1);

  /* Text - High Contrast White & Muted Blue-Greys */
  --text: #ffffff;
  --text-muted: #8392ab;
  --text-soft: #c4ccd8;

  /* Professional Luxury Brand Colors */
  --primary: #cba86e;
  /* Tan/Gold from Screenshot Search Button */
  --primary-light: #e0c89a;
  --accent: #2e5cb8;
  /* Professional Blue */
  --accent-light: #4c82e6;
  --gold: #c9943e;
  --gold-light: #e6b84d;
  --gold-soft: rgba(201, 148, 62, 0.1);

  /* Legacy aliases - everything uses gold now */
  --rose: var(--gold);
  --rose-light: var(--gold-light);
  --rose-soft: var(--gold-soft);

  /* Status */
  --success: #82d1b1;
  --hot: #e27d91;
  --exclusive: var(--gold);

  /* Typography - Professional Selection */
  --font-heading: 'TT Commons', 'Instrument Serif', Georgia, serif;
  --font-body: 'TT Commons', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Custom Requested Gradients */
  --bg-gradient: radial-gradient(circle, #123E63 0%, #0A2A47 50%, #071C2F 100%);
  --text-gradient: linear-gradient(to bottom, #F6C667, #E5A93C, #C8841F, #9F5A12);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 80px;

  /* Radius - More geometric for professional feel */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease-out);
}



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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Selection */
::selection {
  background: rgba(201, 148, 62, 0.2);
  /* Muted Gold translucent */
  color: var(--gold);
}

/* Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ==================== NAVIGATION ==================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  background: rgba(10, 42, 71, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 148, 62, 0.2);
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
  position: relative;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 42, 71, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--gold);
}

/* ==================== SEARCH BAR REDESIGN ==================== */
.hero-search-container {
  max-width: 1000px;
  margin: 40px auto 0;
  position: relative;
  z-index: 10;
}

.search-segmented {
  display: flex;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 6px;
  border: 1px solid var(--border);
  gap: 1px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.search-segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.search-segment:last-of-type {
  border-right: none;
}

.segment-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.segment-input {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  width: 100%;
  cursor: pointer;
  appearance: none;
}

.btn-search {
  background: var(--primary);
  color: #1a1a1a;
  border: none;
  font-weight: 700;
  padding: 0 45px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  font-family: var(--font-body);
  font-size: 15px;
}

.btn-search:hover {
  background: var(--primary-light);
  transform: scale(1.02);
}

/* Price Segment Special Layout */
.price-segment {
  flex: 1.5;
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.price-inputs-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.price-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Hero Badge */
.hero-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(46, 92, 184, 0.2);
  border: 1px solid rgba(46, 92, 184, 0.3);
  padding: 6px 14px 6px 6px;
  border-radius: 4px;
  margin-bottom: 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #4c82e6;
}

.badge-icon {
  background: #2e5cb8;
  color: #fff;
  padding: 2px 6px;
  border-radius: 2px;
}

.shadow-content {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Letter Spacing Animation for Headings */
.section-title {
  font-family: var(--font-heading);
  transition: letter-spacing 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  letter-spacing: -0.01em;
}

.section-title:hover {
  letter-spacing: 0.04em;
  transform: translateX(8px);
}

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

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

button {
  cursor: pointer;
}

a:hover {
  color: var(--gold-light);
}

ul {
  list-style: none;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

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

.section-rose {
  background: linear-gradient(180deg, var(--bg-alt), rgba(201, 148, 62, 0.03));
}

/* ==================== TYPOGRAPHY ==================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--rose-soft);
  border: 1px solid rgba(232, 180, 188, 0.2);
  border-radius: var(--radius-full);
  color: var(--rose);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  /* Dark mode specific letter spacing */
  letter-spacing: -0.01em;
}

h1,
.hero-title,
.section-title,
.brand-name {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin-top: 12px;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

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

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--rose), var(--primary));
  background-size: 200% 200%;
  animation: shimmer 4s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(107, 159, 255, 0.4);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #0a1510;
  border: none;
  font-weight: 700;
}

.btn-accent:hover {
  box-shadow: 0 8px 30px rgba(93, 221, 200, 0.4);
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--rose);
  color: var(--rose);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(107, 159, 255, 0.1);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--rose);
}

.btn-white {
  background: #fff;
  color: var(--bg);
  border: none;
  font-weight: 700;
}

.btn-white:hover {
  background: var(--rose-light);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 15px;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-search {
  gap: 10px;
}

.whatsapp-icon {
  flex-shrink: 0;
}

/* ==================== FORMS ==================== */
.input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(201, 148, 62, 0.05);
  border: 1px solid rgba(201, 148, 62, 0.3);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

.input::placeholder {
  color: var(--text-muted);
}

.input:focus {
  outline: none;
  background: rgba(201, 148, 62, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

textarea.input {
  min-height: 120px;
  resize: vertical;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-note {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 14px;
  color: var(--text-muted);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes scrollDot {
  0% {
    top: 0;
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes glow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.property-card,
.testimonial-card,
.feature-card,
.about-content,
.contact-form-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s var(--ease-out);
}

.property-card.visible,
.testimonial-card.visible,
.feature-card.visible,
.about-content.visible,
.contact-form-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== HEADER ==================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.4s;
}

#header.scrolled {
  background: rgba(11, 12, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

#header.hidden {
  transform: translateY(-100%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-lg);
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  height: 42px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.footer-logo {
  height: 44px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.logo {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--rose);
  z-index: 1;
}

.logo-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--rose);
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite;
}

.logo-sm {
  width: 40px;
  height: 40px;
}

.logo-sm .logo-text {
  font-size: 22px;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-rose);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out);
}

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

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

.nav-cta {
  display: flex;
  gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: var(--space-lg);
  transition: right 0.5s var(--ease-out);
  z-index: 150;
  display: flex;
  flex-direction: column;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  padding: 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.mobile-nav a:hover {
  background: var(--surface-light);
  color: var(--rose);
}

.mobile-menu-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 960px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroDrift 20s infinite alternate ease-in-out;
}

@keyframes heroDrift {
  0% {
    transform: scale(1.05) translate(0, 0);
  }

  100% {
    transform: scale(1.1) translate(-2%, 2%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 8, 20, 0.95) 0%, rgba(4, 8, 20, 0.85) 50%, rgba(4, 8, 20, 0.7) 100%);
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 148, 62, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s var(--ease-out);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 600px;
  margin-bottom: 40px;
}



/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fadeUp 1s 0.3s var(--ease-out) both;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s;
}

.stat-card:hover {
  border-color: var(--rose);
  transform: translateX(-8px);
  box-shadow: var(--shadow-rose);
}

.stat-icon {
  font-size: 28px;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  left: -1.5px;
  background: var(--rose);
  border-radius: 50%;
  animation: scrollDot 1.5s ease-in-out infinite;
}

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

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

  .stat-card:hover {
    transform: translateY(-8px);
  }
}

/* ==================== SEARCH ==================== */
.search-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.search-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.search-header {
  margin-bottom: var(--space-lg);
}

.search-header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 4px;
}

.search-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: var(--space-md);
  align-items: end;
}

.search-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 8px;
}

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

  .search-section {
    margin-top: var(--space-lg);
  }
}

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

/* ==================== PROPERTY CARDS ==================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

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

.property-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 148, 62, 0.3);
  /* Subtle gold hover */
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.property-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  z-index: 5;
}

.badge-new {
  background: var(--success);
  color: #fff;
}

.badge-hot {
  background: var(--hot);
  color: #fff;
}

.badge-exclusive {
  background: var(--gradient-gold);
  color: #1a1510;
}

.property-body {
  padding: var(--space-lg);
}

.property-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.property-features {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.property-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== FEATURES ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

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

.feature-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 148, 62, 0.4);
  background: rgba(201, 148, 62, 0.05);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: var(--space-3xl);
  align-items: center;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.about-badge-icon {
  font-size: 24px;
}

.about-lead {
  font-size: 20px;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  margin: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stat {
  text-align: center;
}

.about-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

.testimonial-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 148, 62, 0.3);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.testimonial-card.featured {
  background: var(--text-gradient);
  /* Prominent Gold Gradient Background */
  border-color: transparent;
  transform: scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  color: #070e1f;
  /* High contrast text */
}

.testimonial-card.featured .testimonial-name {
  color: #040814;
}

.testimonial-card.featured .testimonial-role {
  color: rgba(7, 14, 31, 0.7);
}

.testimonial-card.featured .testimonial-quote {
  color: #070e1f;
}

.testimonial-card.featured .quote-icon {
  fill: #040814;
  opacity: 0.1;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-rating {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
}

/* ==================== CTA BANNER ==================== */
.cta {
  padding: 100px 0;
}

.cta-banner {
  background: var(--text-gradient);
  /* Prominent Gold Gradient Background */
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="2"/></svg>') center/100px 100px;
  opacity: 0.1;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: var(--space-md);
  color: #070e1f;
  /* Dark Navy for High Contrast against Gold */
  background: none;
  -webkit-text-fill-color: #070e1f;
}

.cta-banner p {
  color: rgba(7, 14, 31, 0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-buttons {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: #070e1f;
  color: var(--primary);
  border: none;
}

.btn-white:hover {
  background: #040814;
}

.btn-glass {
  background: rgba(7, 14, 31, 0.1);
  color: #070e1f;
  border: 1px solid rgba(7, 14, 31, 0.2);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(7, 14, 31, 0.2);
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-2xl);
}

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

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact-header {
  margin-bottom: var(--space-xl);
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 8px;
}

.contact-header p {
  color: var(--text-muted);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--rose);
}

.contact-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-card .btn {
  margin-top: 10px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: var(--space-xl);
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--rose);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--rose);
  background: var(--surface-light);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.4s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: inherit;
  z-index: -1;
  animation: pulse 2s infinite;
}

.whatsapp-label {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-label {
    display: none;
  }
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--rose);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-soft);
}

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

.back-to-top:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  transform: translateY(-4px);
  box-shadow: var(--shadow-rose);
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  pointer-events: all;
  animation: toastIn 0.5s var(--ease-out) forwards;
  max-width: 380px;
}

.toast.toast-success {
  border-color: var(--success);
  background: linear-gradient(135deg, var(--surface), rgba(130, 209, 177, 0.08));
}

.toast.toast-hide {
  animation: toastOut 0.4s var(--ease-out) forwards;
}

.toast-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.toast-message {
  line-height: 1.5;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* ==================== ACTIVE NAV ==================== */
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--gradient-rose);
}

/* ==================== PROPERTY FILTER TABS ==================== */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.filter-tab:hover {
  border-color: var(--rose);
  color: var(--text);
}

.filter-tab.active {
  background: var(--gradient-rose);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

.property-card.filter-hidden {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
  pointer-events: none;
  transition: all 0.4s var(--ease-out);
}

/* ==================== FORM VALIDATION ==================== */
.input.valid {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(93, 217, 160, 0.12);
}

.input.invalid {
  border-color: var(--hot);
  box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.12);
}

.btn-submit {
  position: relative;
  min-width: 180px;
}

.btn-submit.loading {
  color: transparent;
  pointer-events: none;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== STAGGERED ANIMATIONS ==================== */
.property-card:nth-child(1) {
  transition-delay: 0s;
}

.property-card:nth-child(2) {
  transition-delay: 0.1s;
}

.property-card:nth-child(3) {
  transition-delay: 0.2s;
}

.property-card:nth-child(4) {
  transition-delay: 0.3s;
}

.feature-card:nth-child(1) {
  transition-delay: 0s;
}

.feature-card:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
  transition-delay: 0.15s;
}

.feature-card:nth-child(4) {
  transition-delay: 0.2s;
}

.testimonial-card:nth-child(1) {
  transition-delay: 0s;
}

.testimonial-card:nth-child(2) {
  transition-delay: 0.12s;
}

.testimonial-card:nth-child(3) {
  transition-delay: 0.24s;
}

/* ==================== PARALLAX HERO ==================== */
.hero-bg img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ==================== COUNTER ANIMATION ==================== */
.stat-value[data-count],
.about-stat-value[data-count] {
  font-variant-numeric: tabular-nums;
}