/* =========================================
   LUXEREALTY — MAIN STYLESHEET
   Colors: #111827 | #D4AF37 | #FFFFFF | #F9FAFB | #374151
   Fonts: Playfair Display + Inter
   ========================================= */

:root {
  --dark:      #111827;
  --gold:      #D4AF37;
  --white:     #FFFFFF;
  --bg:        #F9FAFB;
  --text:      #374151;
  --text-light:#6B7280;
  --border:    #E5E7EB;
  --gold-light:#F5E6A3;
  --dark-2:    #1F2937;
  --shadow:    0 4px 24px rgba(17,24,39,0.10);
  --shadow-lg: 0 12px 40px rgba(17,24,39,0.18);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* =========================================
   PAGE LOADER
   ========================================= */
#page-loader {
  position: fixed; inset: 0; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s, visibility 0.5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; color: var(--white); font-weight: 700;
  margin-bottom: 1.5rem; letter-spacing: -1px;
}
.loader-logo span { color: var(--gold); }
.loader-bar {
  width: 200px; height: 3px; background: rgba(255,255,255,0.2);
  border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.loader-fill {
  height: 100%; background: var(--gold);
  animation: loadBar 1.5s ease forwards;
  width: 0;
}
@keyframes loadBar { to { width: 100%; } }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(17,24,39,0.97);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 0.25rem; margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(212,175,55,0.1);
}
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-nav-outline {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white); padding: 0.5rem 1.2rem;
  border-radius: 7px; font-size: 0.875rem; font-weight: 500;
}
.btn-nav-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-nav-solid {
  background: var(--gold); color: var(--dark);
  padding: 0.5rem 1.2rem; border-radius: 7px;
  font-size: 0.875rem; font-weight: 600;
}
.btn-nav-solid:hover { background: #c09b2a; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.9rem; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: #c09b2a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,0.35); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--gold); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0f1a 0%, #111827 50%, #1a2234 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding-top: 5rem;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--gold); border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-left { color: var(--white); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold); padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s ease forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s 0.15s ease both;
}
.hero-title .highlight { color: var(--gold); }
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  max-width: 480px; margin-bottom: 2.5rem; line-height: 1.8;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.45s ease both;
}
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
  animation: fadeSlideUp 0.7s 0.6s ease both;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
  display: block;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.hero-right {
  position: relative;
  animation: fadeSlideLeft 0.9s 0.2s ease both;
}
.hero-card-stack { position: relative; }
.hero-main-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); overflow: hidden;
}
.hero-card-img {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, #1F2937, #374151);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(212,175,55,0.3);
}
.hero-card-body { padding: 1.25rem; }
.hero-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--gold);
}
.hero-card-title { color: var(--white); margin: 0.25rem 0; font-size: 1rem; }
.hero-card-meta { display: flex; gap: 1rem; color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.hero-float-card {
  position: absolute; background: var(--white);
  border-radius: 12px; padding: 0.875rem 1rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}
.hero-float-card.fc1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero-float-card.fc2 { bottom: 30px; left: -30px; animation-delay: 1s; }
.hero-float-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(212,175,55,0.15); display: flex;
  align-items: center; justify-content: center; color: var(--gold);
}
.hero-float-text { font-size: 0.8rem; color: var(--text); }
.hero-float-text strong { display: block; color: var(--dark); font-size: 0.9rem; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* SEARCH BAR */
.hero-search-bar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 0.5rem; box-shadow: var(--shadow-lg);
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  max-width: 900px; margin: -1.5rem auto 0;
  position: relative; z-index: 10;
}
.search-field {
  flex: 1; min-width: 160px;
  padding: 0.75rem 1rem; border: none; outline: none;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--dark);
  background: transparent;
}
.search-divider { width: 1px; background: var(--border); align-self: stretch; }
.search-btn {
  background: var(--gold); color: var(--dark); border: none;
  padding: 0.75rem 1.5rem; border-radius: 10px; font-weight: 600;
  font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
  transition: var(--transition); white-space: nowrap;
}
.search-btn:hover { background: #c09b2a; }
select.search-field { cursor: pointer; }

/* =========================================
   SECTION HEADERS
   ========================================= */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block; color: var(--gold);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 1rem;
}
.section-divider {
  width: 60px; height: 3px; background: var(--gold);
  margin: 1rem auto 0; border-radius: 2px;
}

/* =========================================
   PROPERTY CARDS
   ========================================= */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 1.75rem;
}
.property-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); position: relative;
}
.property-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.property-card-img {
  position: relative; height: 220px; overflow: hidden;
  background: linear-gradient(135deg, #1F2937, #374151);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(212,175,55,0.4);
}
.property-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.property-card:hover .property-card-img img { transform: scale(1.06); }
.property-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--dark);
  padding: 0.25rem 0.75rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px;
}
.property-badge.rent { background: var(--dark); color: var(--white); }
.property-badge.sold { background: #EF4444; color: var(--white); }
.property-featured-star {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: rgba(0,0,0,0.5);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--gold); font-size: 0.85rem;
}
.property-card-body { padding: 1.25rem; }
.property-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--gold);
  margin-bottom: 0.4rem;
}
.property-title {
  font-size: 1.05rem; color: var(--dark); font-weight: 600;
  margin-bottom: 0.5rem; line-height: 1.4;
}
.property-location {
  color: var(--text-light); font-size: 0.85rem; display: flex; align-items: center; gap: 0.35rem;
}
.property-meta {
  display: flex; gap: 1rem; padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border); background: var(--bg);
}
.property-meta-item {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: var(--text-light);
}
.property-meta-item i { color: var(--gold); }
.property-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; border-top: 1px solid var(--border);
}
.agent-mini { display: flex; align-items: center; gap: 0.5rem; }
.agent-mini-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center;
  justify-content: center; color: var(--dark); font-size: 0.75rem; font-weight: 700;
  overflow: hidden;
}
.agent-mini-avatar img { width:100%; height:100%; object-fit:cover; }
.agent-mini-name { font-size: 0.8rem; color: var(--text-light); }
.view-btn {
  background: var(--dark); color: var(--white);
  padding: 0.4rem 0.875rem; border-radius: 6px;
  font-size: 0.8rem; font-weight: 600; transition: var(--transition);
}
.view-btn:hover { background: var(--gold); color: var(--dark); }

/* =========================================
   FILTER BAR
   ========================================= */
.filter-bar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.25rem; box-shadow: var(--shadow);
  display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: flex-end; margin-bottom: 2rem;
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; min-width: 140px; }
.filter-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.filter-group select,
.filter-group input {
  padding: 0.6rem 0.875rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: 0.875rem; color: var(--dark); background: var(--bg);
  outline: none; transition: var(--transition);
}
.filter-group select:focus,
.filter-group input:focus { border-color: var(--gold); background: var(--white); }

/* =========================================
   AGENTS SECTION
   ========================================= */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 1.75rem;
}
.agent-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
}
.agent-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.agent-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c09b2a);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--dark); font-weight: 700;
  margin: 0 auto 1rem; overflow: hidden;
  border: 4px solid var(--gold-light);
}
.agent-avatar img { width:100%; height:100%; object-fit:cover; }
.agent-name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.agent-specialty {
  color: var(--gold); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem;
}
.agent-bio { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.6; }
.agent-stats {
  display: flex; justify-content: center; gap: 1.5rem;
  padding: 0.875rem 0; border-top: 1px solid var(--border); margin-top: 0.5rem;
}
.agent-stat { text-align: center; }
.agent-stat-num { font-weight: 700; color: var(--dark); font-size: 1rem; display: block; }
.agent-stat-label { font-size: 0.72rem; color: var(--text-light); }
.agent-rating { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.5rem; }
.agent-contact-btns { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.agent-contact-btns a {
  flex: 1; padding: 0.5rem; border-radius: 7px;
  font-size: 0.8rem; font-weight: 600; text-align: center;
  transition: var(--transition);
}
.btn-agent-primary { background: var(--gold); color: var(--dark); }
.btn-agent-primary:hover { background: #c09b2a; }
.btn-agent-outline { border: 1.5px solid var(--border); color: var(--text); }
.btn-agent-outline:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================
   TESTIMONIALS SLIDER
   ========================================= */
.testimonials-section { background: var(--dark); padding: 5rem 0; }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-eyebrow { color: var(--gold); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.6); }
.testimonials-slider { position: relative; overflow: hidden; margin-top: 2rem; }
.testimonials-track {
  display: flex; transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.testimonial-slide { min-width: 100%; padding: 0 1rem; }
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2.5rem;
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial-quote {
  font-size: 3rem; color: var(--gold); line-height: 1;
  font-family: 'Playfair Display', serif; margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.05rem; color: rgba(255,255,255,0.8);
  line-height: 1.8; margin-bottom: 1.75rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c09b2a);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--dark); font-weight: 700;
}
.testimonial-name { color: var(--white); font-weight: 600; }
.testimonial-role { color: var(--gold); font-size: 0.8rem; }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.25rem; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent; color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1rem;
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition);
  border: none;
}
.slider-dot.active { background: var(--gold); transform: scale(1.3); }

/* =========================================
   STATS / WHY CHOOSE US
   ========================================= */
.stats-section { background: var(--gold); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem; font-weight: 700; color: var(--dark); display: block;
}
.stat-label { color: rgba(17,24,39,0.7); font-size: 0.9rem; font-weight: 500; }

/* =========================================
   FEATURES / WHY US CARDS
   ========================================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.75rem; }
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(212,175,55,0.12); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold); margin-bottom: 1.25rem;
}
.feature-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature-desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }

/* =========================================
   FORMS (AUTH + CONTACT + INQUIRY)
   ========================================= */
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 7rem 1.5rem 3rem;
  background: linear-gradient(135deg, #0a0f1a 0%, #111827 100%);
}
.auth-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp 0.6s ease;
}
.auth-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 700; color: var(--dark);
  text-align: center; margin-bottom: 0.5rem;
}
.auth-logo span { color: var(--gold); }
.auth-subtitle { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  color: var(--dark); background: var(--bg); outline: none; transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.input-icon-wrap { position: relative; }
.input-icon-wrap input { padding-left: 2.75rem; }
.input-icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.btn-form {
  width: 100%; padding: 0.875rem; background: var(--gold); color: var(--dark);
  border: none; border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.btn-form:hover { background: #c09b2a; transform: translateY(-1px); }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--text-light); }
.auth-footer a { color: var(--gold); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert {
  padding: 0.875rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  font-size: 0.875rem; display: flex; align-items: flex-start; gap: 0.5rem;
}
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

/* =========================================
   PAGE HERO (INNER PAGES)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, #0a0f1a 0%, #111827 100%);
  padding: 7rem 0 4rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* =========================================
   PROPERTY DETAIL
   ========================================= */
.property-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 0.5rem; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; }
.gallery-main {
  background: linear-gradient(135deg, #1F2937, #374151);
  height: 400px; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(212,175,55,0.3); cursor: pointer;
}
.gallery-main img { width:100%; height:100%; object-fit:cover; }
.gallery-side { display: flex; flex-direction: column; gap: 0.5rem; }
.gallery-thumb {
  flex: 1; background: linear-gradient(135deg, #1F2937, #374151);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(212,175,55,0.3); cursor: pointer; overflow: hidden;
}
.gallery-thumb img { width:100%; height:100%; object-fit:cover; }
.property-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; }
.property-specs {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 1.5rem 0;
}
.spec-item {
  background: var(--bg); border-radius: 10px; padding: 1rem;
  text-align: center; border: 1px solid var(--border);
}
.spec-icon { font-size: 1.25rem; color: var(--gold); margin-bottom: 0.4rem; }
.spec-value { font-weight: 700; font-size: 1.05rem; color: var(--dark); display: block; }
.spec-label { font-size: 0.75rem; color: var(--text-light); }
.amenities-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.amenity-tag {
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
  color: var(--dark); padding: 0.35rem 0.875rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500;
}
.inquiry-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.inquiry-card h3 { font-size: 1.15rem; margin-bottom: 1.25rem; color: var(--dark); }

/* =========================================
   MORTGAGE CALCULATOR
   ========================================= */
.calculator-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow); max-width: 700px; margin: 0 auto;
}
.calc-result {
  background: var(--dark); border-radius: var(--radius);
  padding: 2rem; text-align: center; margin-top: 1.5rem; color: var(--white);
}
.calc-monthly {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--gold);
}
.calc-breakdown { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.5rem; }
.calc-bd-item { text-align: center; }
.calc-bd-num { color: var(--gold); font-weight: 600; font-size: 1rem; display: block; }
.calc-bd-label { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #1F2937, #374151);
  height: 450px; display: flex; align-items: center;
  justify-content: center; font-size: 5rem; color: rgba(212,175,55,0.3);
}
.about-img-main img { width:100%; height:100%; object-fit:cover; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); padding: 1.5rem; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--dark); display: block;
}
.about-badge-label { font-size: 0.8rem; color: rgba(17,24,39,0.7); font-weight: 600; }
.about-text h2 { font-size: clamp(1.75rem,3vw,2.25rem); margin-bottom: 1rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.about-check-list { list-style: none; margin: 1.25rem 0; }
.about-check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--text); font-size: 0.9rem; margin-bottom: 0.75rem;
}
.about-check-list li i { color: var(--gold); margin-top: 2px; }

/* =========================================
   SERVICES PAGE
   ========================================= */
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; gap: 1.5rem; align-items: flex-start;
  border-left: 4px solid transparent;
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateX(4px); }
.service-icon {
  min-width: 64px; height: 64px; border-radius: 14px;
  background: rgba(212,175,55,0.1); display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gold);
}
.service-content h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.service-content p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: flex-start; }
.contact-info-card { background: var(--dark); border-radius: var(--radius-lg); padding: 2.5rem; color: var(--white); }
.contact-info-card h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info-card p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; line-height: 1.8; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(212,175,55,0.15); display: flex; align-items: center;
  justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item-text p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-card h2 { margin-bottom: 0.5rem; }
.contact-form-card p { color: var(--text-light); margin-bottom: 2rem; font-size: 0.9rem; }

/* =========================================
   DASHBOARD
   ========================================= */
.dashboard-page { padding: 7rem 0 4rem; min-height: 100vh; }
.dashboard-header { margin-bottom: 2.5rem; }
.dashboard-welcome { font-size: 1.75rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.dash-stat-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 1rem;
}
.dash-stat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(212,175,55,0.12); display: flex;
  align-items: center; justify-content: center; font-size: 1.25rem; color: var(--gold);
}
.dash-stat-num { font-family: 'Playfair Display',serif; font-size: 1.75rem; font-weight: 700; color: var(--dark); }
.dash-stat-label { font-size: 0.8rem; color: var(--text-light); }

/* =========================================
   LEGAL PAGES (TERMS / PRIVACY)
   ========================================= */
.legal-content {
  max-width: 820px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow);
}
.legal-content h2 {
  font-size: 1.25rem; color: var(--dark); margin: 2rem 0 0.75rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p, .legal-content li { color: var(--text-light); line-height: 1.8; margin-bottom: 0.75rem; font-size: 0.925rem; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content ul li { list-style: disc; }
.legal-updated { background: rgba(212,175,55,0.1); border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.85rem; color: var(--text-light); margin-bottom: 2rem; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* =========================================
   PAGINATION
   ========================================= */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.page-link {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); color: var(--text);
  font-size: 0.875rem; font-weight: 500; transition: var(--transition);
}
.page-link:hover, .page-link.active { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 700; }

/* =========================================
   UTILITY CLASSES
   ========================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.bg-dark { background: var(--dark); }
.bg-white { background: var(--white); }
.d-flex { display: flex; } .gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.align-center { align-items: center; } .justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
.no-results {
  text-align: center; padding: 4rem 2rem; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.no-results i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.no-results h3 { font-size: 1.25rem; color: var(--dark); }
.no-results p { color: var(--text-light); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { display: none; }
  .property-detail-grid { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .property-specs { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0.25rem;
    position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: var(--dark); padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3); z-index: 999;
  }
  .nav-links.open a { color: rgba(255,255,255,0.8); padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-actions.open {
    display: flex; flex-direction: column;
    position: fixed; bottom: 0; right: 0; width: 280px;
    padding: 1.5rem 2rem; background: var(--dark); z-index: 999;
  }
  .hamburger { display: flex; }
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 998;
  }
  .nav-overlay.open { display: block; }
  .hero-search-bar { flex-direction: column; margin: 1rem 1.5rem 0; }
  .search-divider { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .calc-breakdown { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 1rem; display: inline-block; }
  .property-gallery { grid-template-columns: 1fr; }
  .gallery-side { flex-direction: row; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .auth-card { padding: 1.75rem; }
}