/* =====================================================
   ORA EGBUNIKE & ASSOCIATES — WORLD-CLASS DESIGN SYSTEM
   oraegbunike.com | 2026
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Cinzel:wght@400;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --crimson: #B91C1C;
  --crimson-dark: #8B0000;
  --crimson-light: #DC2626;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE2;
  --charcoal: #1A1A1A;
  --charcoal-mid: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --bg-primary: #FAF7F2;
  --bg-secondary: #F0EBE2;
  --bg-card: #FFFFFF;
  --bg-nav: rgba(250, 247, 242, 0.95);
  --border-color: rgba(26,26,26,0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(185, 28, 28, 0.15);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #0D0D0D;
  --bg-secondary: #161616;
  --bg-card: #1A1A1A;
  --bg-nav: rgba(13, 13, 13, 0.97);
  --text-primary: #F5F0E8;
  --text-secondary: #B8B0A0;
  --text-muted: #706860;
  --border-color: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(185, 28, 28, 0.25);
  --cream: #1A1A1A;
  --cream-dark: #161616;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font-body); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--crimson); border-radius: 2px; }

/* ─── SELECTION ─── */
::selection { background: var(--crimson); color: white; }

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--crimson); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--crimson); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, opacity 0.3s ease;
  opacity: 0.6;
}
.cursor.hover { width: 20px; height: 20px; opacity: 0.7; }
.cursor-ring.hover { width: 56px; height: 56px; opacity: 0.3; }

/* ─── PAGE LOADER ─── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  z-index: 100000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-inner {
  text-align: center;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-logo { width: 120px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.loader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar-inner {
  height: 100%; width: 0;
  background: var(--crimson);
  animation: loaderProgress 2s ease forwards;
}
@keyframes loaderProgress { to { width: 100%; } }
@keyframes loaderPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

/* ─── NAVIGATION ─── */
.oea-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9000;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.oea-nav.scrolled {
  height: 64px;
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
  height: 48px; width: auto;
  transition: var(--transition);
}
.oea-nav.scrolled .nav-logo img { height: 38px; }
.nav-menu {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px; background: var(--crimson);
  transform: scaleX(0); transition: var(--transition);
  transform-origin: left;
}
.nav-link:hover, .nav-link.active { color: var(--crimson); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: block; padding: 10px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--bg-secondary); color: var(--crimson); padding-left: 20px; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--crimson); color: var(--crimson); }
.nav-cta {
  padding: 10px 24px;
  background: var(--crimson);
  color: white !important;
  border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.3);
}
.nav-cta:hover { background: var(--crimson-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(185, 28, 28, 0.4); }

/* Mobile nav */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-hamburger span {
  width: 22px; height: 1.5px; background: var(--text-primary);
  transition: var(--transition);
  display: block;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  z-index: 8999;
  padding: 40px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  color: var(--text-primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: block;
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--crimson); padding-left: 12px; }

/* ─── HERO ─── */
/* ─────────────────────────────────────────
   HERO — Institutional split-screen
   Left: dark text panel | Right: full-bleed image
   (index4 HTML uses .hero-text-panel / .hero-image-panel)
──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52% 48%;
  position: relative;
  overflow: hidden;
}

/* ── LEFT PANEL ── */
.hero-text-panel {
  background: #1A1A1A;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  z-index: 2;
}
.hero-text-panel::before {
  content: '';
  position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: #B91C1C;
}
.hero-text-inner {
  padding: 60px 56px 60px 72px;
  color: white;
  width: 100%;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow-line { width: 28px; height: 1px; background: #B91C1C; flex-shrink: 0; }
.hero-eyebrow-text {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 68px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #FAF7F2;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}
.hero-headline strong {
  font-weight: 700;
  color: #FFFFFF;
  display: block;
}

/* Body copy */
.hero-desc {
  font-size: 15px; line-height: 1.85;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  margin-bottom: 36px;
}

/* CTAs */
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 44px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--crimson);
  color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--crimson-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185,28,28,0.3);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.btn-icon { width: 16px; height: 16px; }
.btn-primary:hover .btn-icon { transform: translateX(3px); }

/* Stats */
.hero-stats {
  display: flex; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
  gap: 0;
}
.hero-stat { flex: 1; }
.hero-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.1);
  margin: 0 4px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: white; line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num span { color: var(--gold); }
.hero-stat-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* Credential strip */
.hero-credentials {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero-cred {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.hero-cred svg { color: var(--crimson); flex-shrink: 0; }

/* ── RIGHT PANEL — full-bleed image, hard cut ── */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.hero-image-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,26,26,0.65) 0%,
    rgba(26,26,26,0.1) 25%,
    transparent 55%
  );
  z-index: 1;
}
.hero-valuation-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 80px 32px 112px;
  background: linear-gradient(transparent, rgba(8,2,2,0.92) 55%);
  z-index: 2;
}
.hero-valuation-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 4px;
}
.hero-valuation-fig {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: white;
  line-height: 1; margin-bottom: 4px;
}
.hero-valuation-sub {
  font-size: 11px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 72px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.hero-scroll span {
  font-size: 8px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); writing-mode: vertical-rl;
}

/* Legacy stubs — kept so JS refs don't error */
.hero-bg { display: none; }
.hero-grid { display: none; }
.hero-particles { display: none; }
.hero-content { display: contents; }
.hero-visual { display: none; }

/* ─── PROPERTY SEARCH BAR ─── */
.search-bar-section {
  padding: 0 40px;
  margin-top: -30px;
  position: relative; z-index: 100;
}
.search-bar-inner {
  max-width: 1200px; margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 28px 32px;
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap;
}
.search-field {
  flex: 1; min-width: 160px;
}
.search-field label {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.search-field select, .search-field input {
  width: 100%; padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px; color: var(--text-primary);
  appearance: none; -webkit-appearance: none;
  transition: var(--transition);
  cursor: pointer;
}
.search-field select:focus, .search-field input:focus {
  outline: none; border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.1);
}
.search-btn {
  padding: 13px 32px;
  background: var(--crimson); color: white;
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(185,28,28,0.3);
  white-space: nowrap;
  cursor: pointer;
}
.search-btn:hover { background: var(--crimson-dark); transform: translateY(-1px); }

/* ─── SECTIONS ─── */
.section { padding: 120px 40px; }
.section-sm { padding: 80px 40px; }
.container { max-width: 1400px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.section-tag-line { width: 32px; height: 1px; background: var(--crimson); }
.section-tag-text {
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--crimson);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300; line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--crimson); }
.section-desc {
  font-size: 17px; line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ─── BRAND STRIP ─── */
.brand-strip {
  overflow: hidden;
}
.brand-track {
  display: flex; gap: 80px; align-items: center;
  animation: brandScroll 35s linear infinite;
  width: max-content;
}
/* Logos render in full original colour — no filter, no opacity reduction */
.brand-track img {
  height: 36px; width: auto; object-fit: contain;
  transition: var(--transition);
}
.brand-track img:hover { opacity: 0.75; transform: scale(1.05); }
/* Text-only wordmarks for clients without logos */
.brand-wordmark {
  font-family: 'Cinzel', serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}
.brand-wordmark:hover { color: var(--crimson); }
@keyframes brandScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── SERVICES ─── */
.services-section { background: var(--bg-primary); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(185,28,28,0.08), rgba(201,168,76,0.08));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 28px; color: var(--crimson);
  border: 1px solid rgba(185,28,28,0.12);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--crimson); color: white;
  transform: rotate(5deg) scale(1.05);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  margin-bottom: 12px; color: var(--text-primary);
}
.service-card p {
  font-size: 14px; line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--crimson);
  transition: var(--transition);
}
.service-link:hover { gap: 14px; }

/* ─── ABOUT / WHY CHOOSE US ─── */
.about-section { background: var(--bg-secondary); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-stack { position: relative; padding-bottom: 60px; }
.about-img-main {
  width: 85%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover;
  border: 4px solid white;
}
.about-img-float {
  position: absolute; bottom: 0; right: 0;
  width: 55%; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover;
  border: 3px solid var(--bg-card);
}
.about-badge {
  position: absolute; top: 40px; right: -20px;
  background: var(--crimson);
  color: white; border-radius: var(--radius-md);
  padding: 20px 24px; text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; line-height: 1; display: block;
}
.about-badge-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8;
}
.about-text {}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 40px;
}
.why-item {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.why-item:hover { border-color: var(--crimson); transform: translateY(-2px); }
.why-item-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(185,28,28,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--crimson);
}
.why-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.why-item p { font-size: 12px; line-height: 1.6; color: var(--text-muted); }

/* ─── PROPERTIES ─── */
.properties-section { background: var(--bg-primary); }
.properties-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.properties-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 12px; font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--crimson); color: white;
  border-color: var(--crimson);
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  group: true;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.property-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.property-card:hover .property-img-wrap img { transform: scale(1.08); }
.property-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px;
  background: var(--crimson); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 100px;
}
.property-badge.rent { background: var(--gold); color: #1A1A1A; }
.property-badge.sold { background: var(--charcoal-light); }
.property-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.property-card:hover .property-overlay { opacity: 1; }
.property-view-btn {
  width: 100%; padding: 12px;
  background: white; color: var(--charcoal);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; transition: var(--transition);
}
.property-view-btn:hover { background: var(--crimson); color: white; }
.property-body { padding: 24px; }
.property-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.property-location svg { color: var(--crimson); }
.property-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
  line-height: 1.3;
}
.property-price {
  font-size: 18px; font-weight: 700;
  color: var(--crimson); margin-bottom: 16px;
}
.property-price span { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.property-features {
  display: flex; gap: 16px; padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.property-feat {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
}

/* ─── STATS BANNER ─── */
.stats-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a0505 50%, var(--charcoal-mid) 100%);
  padding: 80px 40px;
  position: relative; overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B91C1C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700; line-height: 1; color: white;
  margin-bottom: 8px;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 64px;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 100px; line-height: 1;
  color: var(--crimson); opacity: 0.08;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex; gap: 4px; margin-bottom: 20px;
  color: var(--gold); font-size: 14px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 17px; font-style: italic; line-height: 1.8;
  color: var(--text-primary); margin-bottom: 24px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white; font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author-info h5 {
  font-weight: 600; font-size: 14px; color: var(--text-primary);
}
.testimonial-author-info p {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

/* ─── BLOG ─── */
.blog-section { background: var(--bg-primary); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 64px;
}
.blog-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img {
  aspect-ratio: 16/9; overflow: hidden;
}
.blog-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 28px; }
.blog-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--crimson);
  margin-bottom: 10px; display: block;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; line-height: 1.3;
  color: var(--text-primary); margin-bottom: 12px;
  transition: color 0.3s;
}
.blog-card:hover .blog-title { color: var(--crimson); }
.blog-excerpt {
  font-size: 13px; line-height: 1.7;
  color: var(--text-secondary); margin-bottom: 20px;
}
.blog-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* ─── CHATBOT ─── */
.chatbot-bubble {
  position: fixed; bottom: 32px; right: 32px;
  width: 64px; height: 64px;
  background: var(--crimson);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(185,28,28,0.4);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 9990;
  transition: var(--transition);
  animation: chatPulse 3s ease-in-out infinite;
}
.chatbot-bubble:hover { transform: scale(1.1); box-shadow: 0 12px 48px rgba(185,28,28,0.5); }
@keyframes chatPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(185,28,28,0.4), 0 0 0 0 rgba(185,28,28,0.3); }
  50% { box-shadow: 0 8px 32px rgba(185,28,28,0.4), 0 0 0 12px rgba(185,28,28,0); }
}
.chatbot-bubble svg { width: 28px; height: 28px; color: white; }
.chatbot-bubble .chat-close { display: none; }
.chatbot-bubble.open .chat-icon { display: none; }
.chatbot-bubble.open .chat-close { display: block; }

.chatbot-window {
  position: fixed; bottom: 108px; right: 32px;
  width: 380px;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-color);
  z-index: 9989;
  display: none; flex-direction: column;
  max-height: 580px;
  overflow: hidden;
  animation: slideUpFade 0.3s ease;
}
.chatbot-window.open { display: flex; }
@keyframes slideUpFade {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.chat-header {
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  padding: 20px 24px;
  color: white;
  display: flex; align-items: center; gap: 12px;
}
.chat-header-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.chat-header h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.chat-header p { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.chat-online { display: flex; align-items: center; gap: 6px; font-size: 11px; opacity: 0.8; margin-top: 4px; }
.chat-online-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: dotBlink 2s ease infinite; }
@keyframes dotBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px; max-height: 360px;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-color); }

.chat-msg { display: flex; gap: 10px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--crimson);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: white; flex-shrink: 0;
}
.chat-msg.user .chat-msg-avatar { background: var(--charcoal); }
.chat-msg-bubble {
  max-width: 75%; padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 16px 16px 16px 4px;
  font-size: 13px; line-height: 1.6; color: var(--text-primary);
}
.chat-msg.user .chat-msg-bubble {
  background: var(--crimson); color: white;
  border-radius: 16px 16px 4px 16px;
}
.chat-typing {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 16px 16px 16px 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px; background: var(--text-muted);
  border-radius: 50%; animation: typingBounce 1.4s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  display: flex; gap: 10px;
}
.chat-input {
  flex: 1; padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-primary);
  outline: none; resize: none;
  transition: var(--transition);
}
.chat-input:focus { border-color: var(--crimson); }
.chat-send {
  width: 40px; height: 40px;
  background: var(--crimson); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: var(--transition);
}
.chat-send:hover { background: var(--crimson-dark); transform: scale(1.05); }
.chat-send svg { width: 16px; height: 16px; }

.chat-footer {
  padding: 8px 16px 12px;
  text-align: center;
  font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em;
}

/* ─── CONTACT SECTION ─── */
.contact-section { background: var(--bg-secondary); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.contact-info-card {
  display: flex; gap: 16px; align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--crimson); }
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(185,28,28,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--crimson); flex-shrink: 0;
}
.contact-info-card h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.contact-info-card p { font-size: 14px; color: var(--text-primary); font-weight: 500; }

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 48px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-control {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition); outline: none;
  resize: vertical;
}
.form-control:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.08);
  background: var(--bg-card);
}
.form-submit {
  margin-top: 8px; width: 100%;
  padding: 16px;
  background: var(--crimson); color: white;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(185,28,28,0.3);
}
.form-submit:hover { background: var(--crimson-dark); transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 80px 40px 0;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social:hover { background: var(--crimson); border-color: var(--crimson); color: white; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: white;
  margin-bottom: 24px;
}
.footer-link {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-link:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-size: 12px;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  height: 340px;
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a0505 60%, #2d0a0a 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-height);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(185, 28, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 28, 28, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content {
  max-width: 1400px; width: 100%;
  margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.breadcrumb a { font-size: 12px; color: rgba(255,255,255,0.4); }
.breadcrumb span { font-size: 12px; color: rgba(255,255,255,0.2); }
.breadcrumb-current { font-size: 12px; color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300; color: white;
  letter-spacing: -0.02em;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

/* ─── BACK TO TOP ─── */
.back-top {
  position: fixed; bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 9989; cursor: pointer;
  opacity: 0; visibility: hidden; transition: var(--transition);
  color: var(--text-secondary); font-size: 18px;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--crimson); color: white; border-color: var(--crimson); transform: translateY(-3px); }

/* ─── UTILITY ─── */
.text-crimson { color: var(--crimson); }
.text-gold { color: var(--gold); }
.mt-auto { margin-top: auto; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  /* hero-text-inner handled by its own padding at this breakpoint */
  .about-grid { gap: 48px; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  .nav-menu, .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-text-panel { min-height: auto; padding-top: 80px; }
  .hero-text-panel::before { display: none; }
  .hero-text-inner { padding: 60px 32px 48px; }
  .hero-image-panel { min-height: 50vw; position: relative; }
  .hero-scroll { display: none; }
  .hero-stats { gap: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 80px 20px; }
  .section-sm { padding: 60px 20px; }
  .nav-container { padding: 0 20px; }
  .search-bar-section { padding: 0 20px; }
  .search-bar-inner { flex-direction: column; }
  .hero-text-inner { padding: 60px 20px 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-form { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-headline { font-size: 38px; }
  .chatbot-window { right: 16px; left: 16px; width: auto; bottom: 88px; }
  .chatbot-bubble { bottom: 20px; right: 20px; }
  .back-top { bottom: 20px; left: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}
