/* ==========================================================================
   PRIME ESTATES — ULTRA LUXURY REAL ESTATE STYLESHEET
   Design System: Obsidian Dark & Brushed Champagne Gold (#D4AF37)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-dark: #0A0B0E;
  --bg-card: #14161F;
  --bg-card-hover: #1C1E2A;
  --bg-elevated: #1F2230;
  
  --gold-primary: #D4AF37;
  --gold-light: #F5D77F;
  --gold-dark: #A88624;
  --gold-gradient: linear-gradient(135deg, #F5D77F 0%, #D4AF37 50%, #99781B 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --text-main: #F0F2F6;
  --text-muted: #9BA3B5;
  --text-gold: #E6C667;
  
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cinzel', 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--gold-primary);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.4);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: #060709;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.confidential-badge {
  color: var(--gold-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.divider {
  color: rgba(255, 255, 255, 0.2);
}

.phone-link:hover {
  color: var(--gold-primary);
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-selector select {
  background: var(--bg-card);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.favorites-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.favorites-trigger:hover {
  background: var(--gold-primary);
  color: #0A0B0E;
}

.fav-count {
  background: var(--gold-primary);
  color: #0A0B0E;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.favorites-trigger:hover .fav-count {
  background: #0A0B0E;
  color: var(--gold-primary);
}

/* ==========================================================================
   MINIMALIST ULTRA-LUXURY HEADER (SOTHEBY'S / CHRISTIE'S / ASTON MARTIN INSPIRED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  height: 78px;
  max-width: 1360px;
}

/* 1. LEFT: PURE TYPOGRAPHY LOGO (NO ICONS / EMBLEMS) */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 4.5px;
  color: var(--gold-primary);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.9;
}

/* 2. CENTER: PERFECTLY CENTERED 6 NAV ITEMS (NO ARROWS) */
.main-nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

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

/* 3. RIGHT: SINGLE REFINED CTA BUTTON (10px RADIUS, NO EXTRA BADGES) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-schedule-refined {
  background: var(--gold-gradient);
  color: #0A0A0A;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--gold-primary);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
  cursor: pointer;
  white-space: nowrap;
}

.btn-schedule-refined:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
  filter: brightness(1.08);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: #FFFFFF;
}

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

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.7) 0%, rgba(10, 11, 14, 0.85) 60%, #0A0B0E 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 16, 22, 0.8);
  border: 1px solid var(--border-gold);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.gold-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 40px auto;
  font-weight: 300;
}

/* SEARCH CARD IN HERO */
.search-box-card {
  background: rgba(20, 22, 31, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card), var(--shadow-gold);
  margin-bottom: 50px;
}

.search-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.tab-btn:hover {
  color: #FFFFFF;
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 700;
}

.hero-search-form .form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  gap: 16px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i {
  color: var(--gold-primary);
}

.form-group select, .form-group input, .form-group textarea {
  width: 100%;
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.btn-search {
  height: 48px;
  width: 100%;
}

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   FEATURED PROPERTIES SECTION
   ========================================================================== */
.featured-section {
  background: var(--bg-dark);
}

.featured-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.featured-grid, .listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

/* PROPERTY CARD STYLING */
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), 0 0 25px var(--gold-glow);
}

.card-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bookmark-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bookmark-btn:hover, .bookmark-btn.saved {
  background: var(--gold-primary);
  color: #0A0B0E;
  border-color: var(--gold-primary);
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-price {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.spec-item i {
  color: var(--gold-primary);
}

.card-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   LUXURY CATEGORIES SECTION
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

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

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,14,0.1) 0%, rgba(10,11,14,0.92) 80%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cat-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.2;
}

.cat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cat-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.category-card:hover .cat-link {
  gap: 12px;
  color: var(--gold-light);
}

/* ==========================================================================
   LISTINGS & ADVANCED FILTER BAR
   ========================================================================== */
.listings-filter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-row-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--gold-primary);
}

.search-input-wrapper input {
  padding-left: 45px;
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: var(--radius-sm);
}

.filter-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.range-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-grow: 1;
}

.range-group label {
  font-size: 0.85rem;
  white-space: nowrap;
}

.range-group input[type="range"] {
  accent-color: var(--gold-primary);
  width: 100%;
  max-width: 250px;
  cursor: pointer;
}

.beds-pill-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-label {
  font-size: 0.85rem;
  color: var(--text-muted);

  margin-right: 5px;
}

.bed-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.bed-pill.active, .bed-pill:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE MAP SECTION
   ========================================================================== */
.map-interactive-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow: hidden;
}

.map-canvas {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.map-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.2) sepia(0.3);
}

.map-pin {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.pin-marker {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border: 2px solid #0A0B0E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0B0E;
  font-size: 1.1rem;
  box-shadow: 0 0 20px var(--gold-primary);
  transition: var(--transition);
}

.map-pin:hover .pin-marker {
  transform: scale(1.25);
  background: #FFFFFF;
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.pin-tooltip {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 11, 14, 0.95);
  border: 1px solid var(--border-gold);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.map-pin:hover .pin-tooltip {
  opacity: 1;
  visibility: visible;
}

.pin-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pin-price {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

.map-side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFFFFF;

  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-city-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.city-item:hover {
  border-color: var(--gold-primary);
  background: var(--bg-elevated);
}

.city-flag {
  font-size: 1.5rem;
}

.city-info {
  flex-grow: 1;
}

.city-info h4 {
  font-size: 0.92rem;
  color: #FFFFFF;

  margin-bottom: 2px;
}

.city-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ADVISORS SECTION
   ========================================================================== */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.advisor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.advisor-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.advisor-img-box {
  position: relative;
  height: 320px;
}

.advisor-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.advisor-content {
  padding: 24px;
}

.advisor-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #FFFFFF;

  margin-bottom: 4px;
}

.advisor-role {
  font-size: 0.85rem;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.advisor-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.advisor-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.advisor-stats strong {
  display: block;
  color: #FFFFFF;

  font-size: 0.95rem;
}

.advisor-stats span {
  color: var(--text-muted);
}

.advisor-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   MORTGAGE CALCULATOR SECTION
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.calc-header {
  margin-bottom: 35px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

.calc-val-display {
  font-size: 1.1rem;
  font-weight: 700;
}

.calc-input-group input[type="range"] {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  background: var(--bg-dark);
  border-radius: 3px;
}

.calc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-results-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #FFFFFF;

  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.monthly-payment-card {
  text-align: center;
  padding: 20px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.pay-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.pay-amount {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 800;
  margin: 6px 0;
}

.pay-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.principal-dot { background: var(--gold-primary); }
.interest-dot { background: #5E72E4; }
.tax-dot { background: #2DCE89; }

.b-title {
  color: var(--text-muted);
  flex-grow: 1;
}

.b-val {
  font-weight: 700;
  color: #FFFFFF;

}

/* ==========================================================================
   TESTIMONIALS & CONTACT SECTION
   ========================================================================== */
.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 35px;
  position: relative;
}

.stars {
  color: var(--gold-primary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: #FFFFFF;

  margin-bottom: 24px;
  font-style: italic;
}

.client-name {
  display: block;
  font-weight: 700;
  color: var(--gold-light);
}

.client-title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 40px;
}

.vip-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.global-offices-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 35px;
}

.offices-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FFFFFF;

  margin-bottom: 6px;
}

.offices-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-item {
  display: flex;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.office-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.office-flag {
  font-size: 1.8rem;
}

.office-details h4 {
  color: #FFFFFF;

  font-size: 1rem;
  margin-bottom: 2px;
}

.office-details p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.office-time {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-gold);
  padding: 80px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;

  display: block;
  margin: 12px 0 16px 0;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-col h4, .footer-newsletter h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #FFFFFF;

  margin-bottom: 20px;
}

.footer-links-col ul li {
  margin-bottom: 10px;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;

  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   MODALS & DRAWERS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-card), 0 0 40px var(--gold-glow);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #0A0B0E;
}

/* PROPERTY MODAL BODY */
.modal-body-content {
  padding: 40px;
}

.modal-hero-gallery {
  position: relative;
  height: 400px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.modal-hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-prop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-prop-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #FFFFFF;

}

.modal-prop-price {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

.modal-specs-bar {
  display: flex;
  gap: 30px;
  padding: 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.modal-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.amenity-chip i {
  color: var(--gold-primary);
}

/* FAVORITES DRAWER */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1800;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.drawer-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-gold);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

.drawer-panel.active {
  transform: translateX(-420px);
}

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

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFFFFF;

  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fav-item-card {
  display: flex;
  gap: 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  position: relative;
}

.fav-item-img {
  width: 90px;
  height: 70px;
  border-radius: 4px;
  object-fit: cover;
}

.fav-item-info {
  flex-grow: 1;
}

.fav-item-info h4 {
  font-size: 0.88rem;
  color: #FFFFFF;

  margin-bottom: 2px;
}

.fav-item-info span {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 700;
}

.fav-remove-btn {
  color: #FF4D4D;
  font-size: 0.9rem;
  padding: 4px;
}

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

.fav-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

/* VIEWING MODAL STYLES */
.viewing-modal-box {
  max-width: 600px;
  padding: 35px;
}

.modal-header-gold {
  text-align: center;
  margin-bottom: 25px;
}

.gold-icon {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.modal-header-gold h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #FFFFFF;

}

.modal-header-gold p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-viewing-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: #FFFFFF;

  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card), 0 0 20px var(--gold-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .header-container {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 20px;
  }

  .nav-list {
    gap: 22px;
  }

  .nav-link {
    font-size: 0.78rem;
  }
}

@media (max-width: 860px) {
  .header-container {
    height: 72px;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px 24px;
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .btn-schedule-refined {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}
