/* ==========================================================================
   EAGLES NEST REALTORS SERVICES LTD - CORE DESIGN SYSTEM
   Brand Colors: Onyx Black, Crisp White, Eagles Nest Orange, Architectural Grays
   ========================================================================== */

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

:root {
  /* Brand Palette */
  --color-primary-dark: #0A0C10;
  --color-dark-surface: #12151D;
  --color-dark-card: #181C26;
  --color-dark-border: #262D3D;
  
  --color-orange: #FF6B00;
  --color-orange-hover: #E05D00;
  --color-orange-dark: #CC5500;
  --color-orange-light: #FFF2EB;
  --color-orange-glow: rgba(255, 107, 0, 0.25);
  --color-orange-gradient: linear-gradient(135deg, #FF7B1A 0%, #FF5500 100%);
  
  --color-white: #FFFFFF;
  --color-light-surface: #F8F9FA;
  --color-light-card: #FFFFFF;
  --color-light-border: #E5E7EB;
  --color-light-border-hover: #D1D5DB;
  
  --color-text-main: #111827;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-text-inverse: #FFFFFF;
  
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Geometry & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(255, 107, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Container Widths */
  --container-width: 1280px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: #FAFAFA;
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

.container-fluid {
  max-width: 1600px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 3px;
  background: var(--color-orange);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* Signature Orange Geometric Language */
.geo-accent-top {
  position: relative;
}

.geo-accent-top::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 6px;
  background: var(--color-orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  border-radius: 2px;
}

.geo-card-border {
  position: relative;
  overflow: hidden;
}

.geo-card-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange) 0%, transparent 80%);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
  background: var(--color-orange-hover);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: #1C2230;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA59;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.brand-meta {
  display: none !important;
}

/* Nav Menu - Horizontally & Vertically Centered */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width var(--transition-fast);
}

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

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  line-height: 1;
}

.header-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.4rem 0.5rem;
  transition: color var(--transition-fast);
  line-height: 1;
}

.header-phone svg {
  color: var(--color-orange);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.header-phone:hover {
  color: var(--color-orange);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-orange);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--color-primary-dark);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.drawer-close {
  color: var(--color-white);
  font-size: 1.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.drawer-nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
}

.drawer-nav a:hover, .drawer-nav a.active {
  color: var(--color-orange);
}

.drawer-contact {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-dark-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   PREMIUM HERO SLIDER SYSTEM (CINEMATIC ARCHITECTURAL SLIDER)
   ========================================================================== */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: clamp(580px, 82vh, 780px);
  min-height: 560px;
  background: var(--color-primary-dark);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.08); /* Subtle Ken Burns Architectural Zoom */
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(10, 12, 16, 0.94) 0%, 
    rgba(10, 12, 16, 0.78) 45%, 
    rgba(10, 12, 16, 0.45) 100%
  );
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-slide-overlay {
    background: linear-gradient(
      180deg, 
      rgba(10, 12, 16, 0.7) 0%, 
      rgba(10, 12, 16, 0.94) 100%
    );
  }
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 820px;
  padding-top: 1rem;
  padding-bottom: 4.5rem;
}

.hero-slide-content .hero-badge-row {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.hero-slide-content .hero-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-slide-content .hero-desc {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}

.hero-slide-content .hero-cta-group {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.hero-slide.active .hero-badge-row,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-cta-group {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rc-tag {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid var(--color-orange);
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
}

.pillar-tag {
  color: var(--color-text-light);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--color-orange);
}

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Slider Controls (Slide Counter & Navigation Arrows) */
.hero-slider-controls {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
}

.hero-counter {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-counter-current {
  color: var(--color-orange);
  font-size: 1.15rem;
}

.hero-slider-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-slider-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-slider-arrow:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.08);
}

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

.hero-slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-orange);
  transition: width linear;
}

/* ==========================================================================
   UNIFIED PROPERTY SEARCH COMPONENT (DESKTOP: STRICTLY ONE HORIZONTAL LINE)
   ========================================================================== */
.search-widget-wrap {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  margin-bottom: 4rem;
}

.search-widget {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-light-border);
  padding: 0.6rem 0.85rem;
  position: relative;
}

.search-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-orange-gradient);
}

.search-grid {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}

.search-field {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.9rem;
  border-right: 1px solid var(--color-light-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.search-field label {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.search-field select,
.search-field input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  height: 28px;
  line-height: 28px;
}

.search-field select:focus,
.search-field input:focus {
  color: var(--color-orange);
}

.search-btn {
  height: 52px;
  padding: 0 1.75rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  align-self: center;
}

/* Responsive Search Behavior */
@media (max-width: 1023px) {
  .search-widget-wrap {
    margin-top: -2rem;
    margin-bottom: 3rem;
  }

  .search-widget {
    padding: 1.25rem;
  }

  .search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex-wrap: wrap;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--color-light-border);
    padding: 0.5rem 0.25rem;
  }

  .search-btn {
    grid-column: span 2;
    width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
    height: 48px;
  }
}

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

  .search-btn {
    grid-column: span 1;
  }
}

/* Property Cards Grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

@media (max-width: 640px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.property-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-light-border);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 107, 0, 0.4);
}

.property-media,
.property-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0A0C10;
  overflow: hidden;
}

.property-img,
.property-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-img,
.property-card:hover .property-thumb {
  transform: scale(1.05);
}

.property-badge-status,
.property-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.property-badge-status.status-reserved,
.badge-reserved {
  background: #EAB308;
}

.property-badge-status.status-sold,
.badge-sold {
  background: #EF4444;
}

.property-badge-status.status-offplan,
.badge-offplan {
  background: #10B981;
}

.property-fav-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.property-fav-btn:hover, .property-fav-btn.active {
  background: var(--color-orange);
  color: var(--color-white);
}

.property-content,
.property-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-type-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-orange);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.property-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

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

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

.property-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.property-features,
.property-specs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-light-border);
  border-bottom: 1px solid var(--color-light-border);
  margin-top: auto;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.feature-item,
.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.feature-item svg,
.spec-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.property-price-block,
.property-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

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

.property-price-block {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.property-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Visual Payment Timeline */
.payment-timeline-box {
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.payment-timeline-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-step::after {
  content: '';
  position: absolute;
  top: 14px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--color-light-border);
  z-index: 1;
}

.timeline-step:last-child::after {
  display: none;
}

.step-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--color-white);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.step-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* 4 Core Pillars Section */
.pillars-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-orange);
  transition: height var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--color-white);
  border-color: var(--color-orange);
}

.pillar-card:hover::before {
  height: 100%;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* Global Engagements & Cairo Section */
.cairo-section {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cairo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.cairo-media-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mosaic-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-dark-border);
  transition: transform var(--transition-fast);
}

.mosaic-img:hover {
  transform: scale(1.03);
}

.cairo-content .section-title {
  color: var(--color-white);
}

.cairo-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.cairo-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cairo-point svg {
  color: var(--color-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Leadership Presentation */
.leadership-section {
  padding: 6rem 0;
  background: var(--color-white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.leader-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.leader-photo-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.leader-role {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.leader-name {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.leader-bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.leader-highlights {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Property Detail Gallery */
.property-detail-header {
  padding: 2.5rem 0 1.5rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-border);
}

.detail-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.detail-gallery-wrap {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.gallery-main-view {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  margin-bottom: 1rem;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.gallery-thumbs-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb {
  width: 110px;
  height: 75px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--color-orange);
  opacity: 1;
}

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

/* Detail Main Grid */
.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  margin-bottom: 5rem;
}

.detail-specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.spec-box-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.spec-box-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.features-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-main);
}

.feature-check-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

/* Sticky Booking / Enquiry Sidebar Card */
.detail-sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.sidebar-price-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-light-border);
  margin-bottom: 1.5rem;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 12, 16, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.7rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  gap: 0.35rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Forms System */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  padding: 2.25rem;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--color-text-muted);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-left: 4px solid var(--color-orange);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
  min-width: 300px;
}

.toast.toast-success {
  border-left-color: var(--color-success);
}

.toast.toast-error {
  border-left-color: var(--color-danger);
}

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

/* Corporate Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--color-dark-border);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-desc {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin: 1.25rem 0 1.5rem;
  max-width: 340px;
}

.footer-col-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

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

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  color: var(--color-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Compare Drawer */
.compare-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--color-orange);
  z-index: 1500;
  padding: 1.25rem 0;
  transition: bottom var(--transition-normal);
}

.compare-drawer.active {
  bottom: 0;
}

.compare-drawer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.compare-thumbs {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.compare-thumb-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-light-surface);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-light-border);
}

.compare-thumb-card img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 2px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    height: 68px;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 155px;
  }

  .nav-menu {
    display: none !important;
  }
  
  /* On mobile: strictly [LOGO]                    [MENU] */
  .header-actions .header-phone,
  .header-actions .header-action-btn,
  .header-actions .btn-outline-white,
  .header-actions .btn-whatsapp {
    display: none !important;
  }
  
  .mobile-toggle {
    display: inline-flex !important;
  }
  
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .timeline-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  
  .property-grid {
    grid-template-columns: 1fr;
  }
  
  .cairo-grid {
    grid-template-columns: 1fr;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .leader-card {
    grid-template-columns: 1fr;
  }
  
  .leader-photo-wrap {
    min-height: 300px;
  }
  
  .detail-specs-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-main-view {
    height: 320px;
  }
  
  .mobile-sticky-bar {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .search-grid {
    grid-template-columns: 1fr;
  }
  
  .search-btn {
    width: 100%;
  }
}
