/* ==========================================================================
   AJAPEX LIMITED - LUXURY REAL ESTATE & PROPERTY DEVELOPMENTS (LAGOS, NIGERIA)
   Design System & Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Root Design Tokens --- */
:root {
  /* Color Palette - Luxury Lagos Slate & Royal Gold */
  --bg-primary: #080d14;
  --bg-secondary: #0e1622;
  --bg-card: #141f2e;
  --bg-card-hover: #1a283b;
  --bg-glass: rgba(14, 22, 34, 0.75);
  --bg-glass-card: rgba(20, 31, 46, 0.65);
  --bg-light: #f8fafc;
  --bg-light-surface: #ffffff;
  --bg-light-alt: #f1f5f9;

  /* Accent Colors */
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-hover: #e5c058;
  --gold-dark: #aa820a;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6e27a 50%, #aa820a 100%);
  --gold-glass: rgba(212, 175, 55, 0.15);
  --gold-border: rgba(212, 175, 55, 0.3);

  --emerald-primary: #0f766e;
  --emerald-light: #14b8a6;
  --emerald-glow: rgba(20, 184, 166, 0.2);

  /* Typography Colors */
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #0f172a;
  --text-dark-muted: #475569;

  /* Borders & Shadows */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(212, 175, 55, 0.25);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.2);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.35);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1280px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 700;
}

.font-sans {
  font-family: var(--font-sans);
}

.text-gold {
  color: var(--gold-primary);
}

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

.text-emerald {
  color: var(--emerald-light);
}

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

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

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

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

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #080d14;
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--gold-hover);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

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

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #080d14;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--emerald-primary);
  color: #ffffff;
  border: 1px solid var(--emerald-light);
}

.btn-emerald:hover {
  background: var(--emerald-light);
  color: #080d14;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.badge-emerald {
  background: rgba(15, 118, 110, 0.25);
  color: var(--emerald-light);
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.badge-glass {
  background: rgba(8, 13, 20, 0.75);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background-color: #05080d;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  z-index: 102;
}

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

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

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.top-bar-contact a:hover {
  color: var(--gold-primary);
}

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

.currency-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.currency-btn.active {
  background: var(--gold-primary);
  color: #080d14;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 13, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  z-index: 100;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(8, 13, 20, 0.98);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--gold-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080d14;
  font-weight: 900;
  font-size: 1.4rem;
  font-family: var(--font-serif);
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--gold-light);
}

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

.logo-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-white);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-normal);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--gold-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SLIDER SECTION (HTML & VANILLA JS)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 650px;
  max-height: 900px;
  overflow: hidden;
  background: #05080d;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.slide-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(8, 13, 20, 0.92) 0%,
    rgba(8, 13, 20, 0.7) 45%,
    rgba(8, 13, 20, 0.35) 100%
  );
}

.slide-content-container {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-content {
  max-width: 680px;
  padding: 40px 0;
}

.slide-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.slide-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-white);
}

.slide-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  color: var(--gold-light);
  font-family: var(--font-sans);
  margin-bottom: 16px;
  font-weight: 500;
}

.slide-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.slide-specs-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(14, 22, 34, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  width: fit-content;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-sans);
}

.slide-price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: var(--font-sans);
}

.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Controls & Progress */
.slider-controls {
  position: absolute;
  bottom: 40px;
  right: 6%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(14, 22, 34, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.slider-arrow-btn:hover {
  background: var(--gold-primary);
  color: #080d14;
  box-shadow: var(--shadow-gold);
  transform: scale(1.05);
}

.slider-pagination-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  width: 44px;
  background: var(--gold-gradient);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* Slide Progress Bar */
.slider-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  transition: width 0.1s linear;
}

/* ==========================================================================
   PROPERTY SEARCH & FILTER ENGINE
   ========================================================================== */
.search-widget-section {
  position: relative;
  z-index: 20;
  margin-top: -55px;
  margin-bottom: 60px;
}

.search-widget-card {
  background: rgba(20, 31, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-control, .form-select {
  width: 100%;
  background: rgba(8, 13, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  padding: 13px 16px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-select option {
  background-color: var(--bg-secondary);
  color: var(--text-white);
}

/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.25;
}

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

/* ==========================================================================
   FEATURED PROPERTIES CARDS & DIRECTORY
   ========================================================================== */
.property-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--gold-primary);
  color: #080d14;
  border-color: var(--gold-hover);
  box-shadow: var(--shadow-gold);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.property-image-box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.property-badges-top {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.property-price-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(8, 13, 20, 0.85);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-primary);
  z-index: 2;
}

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

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

.property-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

.property-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 20px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feat-item strong {
  color: var(--text-white);
  font-family: var(--font-sans);
}

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

/* ==========================================================================
   LAGOS NEIGHBORHOOD GUIDE (PRIME INVESTMENT CORRIDORS)
   ========================================================================== */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.neighborhood-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

.neighborhood-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.neighborhood-card:hover .neighborhood-bg {
  transform: scale(1.1);
}

.neighborhood-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 13, 20, 0.2) 0%, rgba(8, 13, 20, 0.95) 85%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.neighborhood-roi-badge {
  position: absolute;
  top: 20px;
  right: 20px;
}

.neighborhood-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--text-white);
}

.neighborhood-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.4;
}

.neighborhood-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* ==========================================================================
   WHY CHOOSE AJAPEX LIMITED (VALUE PROPOSITION)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   INTERACTIVE MORTGAGE & ROI CALCULATOR
   ========================================================================== */
.calc-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

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

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

.range-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.range-title {
  color: var(--text-muted);
}

.range-val {
  color: var(--gold-primary);
  font-weight: 700;
  font-family: var(--font-sans);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  border: 2px solid #080d14;
}

.calc-results-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result-highlight {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.result-main-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.result-main-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: var(--font-sans);
  margin-top: 6px;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.breakdown-row span:last-child {
  color: var(--text-white);
  font-weight: 600;
  font-family: var(--font-sans);
}

/* ==========================================================================
   SCHEDULE PRIVATE INSPECTION (CTA SECTION)
   ========================================================================== */
.tour-banner {
  background: linear-gradient(135deg, #101c2c 0%, #080d14 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.tour-options {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.quote-stars {
  color: var(--gold-primary);
  display: flex;
  gap: 4px;
  font-size: 1rem;
}

.quote-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cbd5e1;
  font-style: italic;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #080d14;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}

.client-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-sans);
}

.client-role {
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #04070b;
  border-top: 1px solid var(--border-gold);
  padding: 80px 0 30px 0;
  color: var(--text-muted);
}

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

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   MODAL & FLOATING WIDGETS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 11, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 20px;
}

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

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--text-white);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.35s ease forwards;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .search-widget-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-widget-form .btn {
    grid-column: span 2;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .tour-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header-inner {
    height: 70px;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    border-right: 1px solid var(--border-gold);
    transition: var(--transition-normal);
    z-index: 100;
  }
  .nav-menu.open {
    left: 0;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-slider-section {
    height: 90vh;
    min-height: 580px;
  }
  .slide-specs-row {
    flex-wrap: wrap;
    gap: 16px;
  }
  .slider-controls {
    bottom: 20px;
    right: 20px;
  }
  .slider-pagination-dots {
    bottom: 25px;
    left: 30px;
    transform: none;
  }
  .search-widget-form {
    grid-template-columns: 1fr;
  }
  .search-widget-form .btn {
    grid-column: span 1;
  }
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
