/*
Theme Name: IleSecure Pro
Theme URI: https://github.com/ilesecure-theme
Author: PHP Systems Architect & UX/SEO Specialist
Description: A premium, ultra-fast, search engine-optimized WordPress theme designed for real estate agencies, property brokers, and land investments in the Nigerian market, built on the IleSecure platform.
Version: 1.0.0
License: GNU GPLv2 or later
Text Domain: ilesecure
*/

/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & GLOBAL STYLES (LUXURY EDITORIAL SPEC)
   ========================================================================== */
:root {
  /* Premium Luxury Rolex Emerald & Gold Color Palette */
  --primary-dark: #022C22; /* Rolex British Racing Green / Deep Emerald */
  --primary-base: #064E3B; /* Rolex Mid Green */
  --primary-light: #15803D; /* Bright Jade */
  --accent-gold: #D4AF37; /* Metallic Luxury Gold (Rolex Gold) */
  --accent-gold-hover: #AA820A;
  --white: #FFFFFF;
  --cream: #FAF9F6; /* Soft Luxury Cream */
  --slate-50: #FCFCFC;
  --slate-100: #F8FAFC;
  --slate-200: #F1F5F9;
  --slate-300: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif; /* Luxury Editorial Serif */
  --font-body: 'Plus Jakarta Sans', sans-serif; /* Clean Sans-Serif Body */
  
  /* Luxury Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 20px -5px rgba(2, 44, 34, 0.05), 0 4px 8px -2px rgba(2, 44, 34, 0.02);
  --shadow-lg: 0 20px 40px -10px rgba(2, 44, 34, 0.08), 0 10px 15px -5px rgba(2, 44, 34, 0.03);
  --shadow-xl: 0 35px 60px -15px rgba(2, 44, 34, 0.12);
  
  /* Spacers & Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a {
  color: var(--primary-base);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--accent-gold);
}

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

/* ==========================================================================
   2. UTILITY & LAYOUT CONTAINERS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.grid {
  display: grid;
  gap: 40px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-dark);
  color: var(--white);
  border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-gold);
  color: var(--white);
  border: 1px solid var(--accent-gold);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--slate-300);
  color: var(--slate-900);
}

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

/* Badges */
.badge {
  display: inline-block;
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
}

.badge-status {
  background-color: var(--primary-dark);
  color: var(--white);
  border-left: 2px solid var(--accent-gold);
}

.badge-title-cert {
  background-color: var(--accent-gold);
  color: var(--white);
}

/* ==========================================================================
   3. LUXURY OVERLAID NAVIGATION HEADER & SCROLL STATE
   ========================================================================== */
.site-top-info-bar {
  background-color: rgba(1, 28, 21, 0.9);
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 1002;
}

.top-info-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sleek Floating Header Overlays Content Seamlessly */
.site-header-floating {
  position: absolute;
  top: 45px; /* Immediately below the top bar */
  left: 0;
  right: 0;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header-floating .site-logo a {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.site-header-floating .site-logo span {
  color: var(--accent-gold);
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
}

.site-header-floating .main-navigation ul {
  list-style: none;
  display: flex;
  gap: 35px;
  align-items: center;
}

.site-header-floating .main-navigation a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  transition: var(--transition-normal);
}

.site-header-floating .main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.site-header-floating .main-navigation a:hover::after,
.site-header-floating .main-navigation li.current-menu-item a::after {
  width: 100%;
}

.site-header-floating .main-navigation a:hover,
.site-header-floating .main-navigation li.current-menu-item a {
  color: var(--accent-gold);
}

.btn-header-whatsapp {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
  padding: 10px 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: var(--transition-normal);
}

.btn-header-whatsapp:hover {
  background-color: var(--accent-gold);
  color: var(--white);
  border-color: var(--accent-gold);
}

/* Scroll Transition Class */
.site-header-floating.header-scrolled {
  position: fixed;
  top: 0;
  background-color: var(--primary-dark);
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 2px solid var(--accent-gold);
}

.site-header-floating.header-scrolled .site-logo a {
  font-size: 24px;
}

.site-header-floating.header-scrolled .site-logo span {
  font-size: 22px;
}

/* ==========================================================================
   4. HERO AUTO-PLAY CROSSFADE SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: 85vh;
  min-height: 750px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

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

/* Subtle zoom effect for active slide */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Elegant dark gradient overlay for text readability */
.hero-slider::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(2, 44, 34, 0.7) 0%, rgba(2, 44, 34, 0.9) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-content-overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  padding-top: 60px; /* Offset space for the floating nav bar */
}

.hero-title {
  font-size: 62px;
  color: var(--white);
  max-width: 950px;
  margin: 0 auto 24px;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.15;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 35px;
  display: inline-block;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 8px;
}

/* Glassmorphism search panel with gold double border */
.hero-search-wrapper {
  background: rgba(2, 44, 34, 0.65);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 35px;
  border-radius: var(--border-radius-sm);
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  outline: 1px solid rgba(212, 175, 55, 0.15);
  outline-offset: 4px;
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) 180px;
  gap: 20px;
}

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

.search-field-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.search-field-group select,
.search-field-group input {
  padding: 15px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white);
  width: 100%;
  transition: var(--transition-normal);
}

.search-field-group select option {
  background-color: var(--primary-dark);
  color: var(--white);
}

.search-field-group select:focus,
.search-field-group input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   5. GEO AI SEARCH & DIRECT ANSWER BLOCK (LUXURY GOLD)
   ========================================================================== */
.geo-ai-block {
  margin: -90px auto 100px;
  max-width: 1050px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  border-top: 4px solid var(--accent-gold);
  border-left: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 45px;
  position: relative;
  z-index: 10;
}

.geo-ai-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.geo-ai-header svg {
  color: var(--accent-gold);
}

.geo-ai-title {
  font-size: 24px;
  color: var(--primary-dark);
}

.geo-ai-answer {
  color: var(--slate-600);
  font-size: 15px;
  margin-bottom: 35px;
  line-height: 1.85;
}

.geo-ai-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
  border-top: 1px solid var(--slate-200);
  padding-top: 35px;
}

.highlight-item h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.highlight-item p {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   6. PROPERTY LISTING CARDS GRID (LUXURY HOVER FRAME)
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 30px;
}

.section-title {
  font-size: 42px;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.section-desc {
  color: var(--slate-600);
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-grid-wrapper {
  margin-bottom: 110px;
}

.property-card {
  background: var(--white);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Expanding Gold Frame Hover Effect */
.property-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 2px solid var(--accent-gold);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  transform: scale(1.02);
  z-index: 12;
}

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

.property-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.property-card-image {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background-color: var(--slate-200);
}

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

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

.property-card-image .badge {
  position: absolute;
  z-index: 10;
}

.property-card-image .badge-status {
  top: 20px;
  left: 20px;
}

.property-card-image .badge-title-cert {
  top: 20px;
  right: 20px;
}

.property-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  background-color: var(--white);
}

.property-card-price {
  font-size: 22px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.property-card-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.35;
  font-family: var(--font-heading);
  height: 64px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.property-card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.property-card-location svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.property-card-specs {
  border-top: 1px solid var(--slate-200);
  padding-top: 20px;
  display: flex;
  gap: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-600);
  margin-top: auto;
}

.spec-item strong {
  color: var(--primary-dark);
}

/* ==========================================================================
   7. TRUST INDICATORS SECTION (LUXURY OVERLAY)
   ========================================================================== */
.trust-section {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--accent-gold);
  border-bottom: 1px solid var(--accent-gold);
}

.trust-title {
  color: var(--white);
  font-size: 40px;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.trust-subtitle {
  color: var(--accent-gold);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 600px;
  margin: 0 auto 60px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 40px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
}

.trust-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.trust-card-icon {
  margin: 0 auto 25px;
  width: 64px;
  height: 64px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.trust-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.trust-card p {
  color: var(--slate-300);
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================================================
   8. DIRECTORY / ARCHIVE PAGE TEMPLATE
   ========================================================================== */
.archive-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  padding: 80px 0;
}

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--border-radius-sm);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  align-self: start;
}

.filter-sidebar-title {
  font-size: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 15px;
  font-family: var(--font-heading);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate-800);
  transition: var(--transition-normal);
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.price-range-inputs {
  display: flex;
  gap: 12px;
}

.price-range-inputs input {
  width: 50%;
}

.filter-submit-btn {
  width: 100%;
  margin-top: 15px;
}

/* Listings layout */
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 20px;
}

.listings-count {
  font-size: 14px;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  min-height: 400px;
}

.pagination-wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 10px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--border-radius-sm);
  color: var(--slate-600);
  font-weight: 600;
  transition: var(--transition-normal);
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

/* ==========================================================================
   9. SINGLE PROPERTY PAGE (LUXURY EDITORIAL STYLING)
   ========================================================================== */
.property-detail-layout {
  padding: 80px 0 100px;
}

.property-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 30px;
}

.property-detail-title-block h1 {
  font-size: 44px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.property-detail-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.title-verified-pill {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-hover);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 6px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.property-detail-price-block {
  text-align: right;
}

.property-detail-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.1;
  font-family: var(--font-body);
}

.property-detail-plan {
  font-size: 13px;
  color: var(--slate-600);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gallery and Content layout */
.property-main-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
}

.property-gallery-hero {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/9;
  background-color: var(--slate-200);
  box-shadow: var(--shadow-md);
}

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

.specs-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  padding: 30px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}

.spec-detail-box {
  text-align: center;
  border-right: 1px solid var(--slate-200);
}

.spec-detail-box:last-child {
  border-right: none;
}

.spec-detail-label {
  font-size: 10px;
  color: var(--slate-600);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.spec-detail-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.property-desc-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.property-desc-content {
  color: var(--slate-600);
  line-height: 1.9;
  font-size: 16px;
}

.property-desc-content p {
  margin-bottom: 20px;
}

/* Sidebar booking form */
.inspection-sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--accent-gold);
  border-radius: var(--border-radius-sm);
  padding: 35px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 130px;
  align-self: start;
}

.sidebar-card-title {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.sidebar-card-desc {
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 25px;
  line-height: 1.6;
}

.inspection-booking-form .form-group {
  margin-bottom: 20px;
}

.inspection-booking-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.inspection-booking-form input,
.inspection-booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  transition: var(--transition-normal);
}

.inspection-booking-form input:focus,
.inspection-booking-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.inspection-submit-btn {
  width: 100%;
  margin-top: 15px;
}

/* ==========================================================================
   10. INFORMATIONAL PAGES & OFFICE DIRECTORIES
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(to bottom, rgba(2, 44, 34, 0.95) 0%, rgba(6, 78, 59, 0.85) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid var(--accent-gold);
}

.page-hero-banner h1 {
  color: var(--white);
  font-size: 48px;
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.page-hero-banner p {
  color: var(--accent-gold);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 600px;
  margin: 0 auto;
}

.about-guarantee-section {
  padding: 100px 0;
  background-color: var(--white);
}

.guarantee-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.guarantee-badge-container {
  background-color: var(--cream);
  border: 1px solid var(--accent-gold);
  border-radius: var(--border-radius-sm);
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.guarantee-gold-seal {
  font-size: 54px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.guarantee-title {
  font-size: 26px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.guarantee-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.7;
}

.diaspora-banner {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 70px;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--accent-gold);
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}

.diaspora-banner-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.diaspora-banner h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.diaspora-banner p {
  color: var(--slate-300);
  font-size: 16px;
  margin-bottom: 35px;
  line-height: 1.8;
}

/* Offices Section */
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--border-radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.office-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.office-city {
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.office-name {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.office-details p {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 15px;
}

.office-details svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Map placeholder */
.map-embed-placeholder {
  width: 100%;
  height: 380px;
  background-color: var(--slate-200);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 50px;
  border: 1px solid var(--slate-300);
}

/* ==========================================================================
   11. ACCESSIBLE DIALOG MODAL STYLING (Inspection Booking)
   ========================================================================== */
dialog[closedby] {
  border: none;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-xl);
  max-width: 520px;
  width: 90%;
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 4px solid var(--accent-gold);
}

dialog::backdrop {
  background-color: rgba(2, 44, 34, 0.85);
  backdrop-filter: blur(8px);
}

/* Polyfill class matching guideline rules */
dialog.\:popover-open, dialog:is(:popover-open) {
  display: block;
}

.dialog-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-header h3 {
  color: var(--white);
  font-size: 20px;
  font-family: var(--font-heading);
}

.dialog-close-btn {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.dialog-body {
  padding: 30px;
}

/* ==========================================================================
   12. FOOTER SECTION (LUXURY LAYOUT)
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--slate-300);
  padding: 100px 0 50px;
  border-top: 3px solid var(--accent-gold);
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--accent-gold);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
}

.footer-desc {
  font-size: 14px;
  color: var(--slate-400);
  max-width: 350px;
  line-height: 1.7;
}

.footer-col-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 14px;
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
}

/* ==========================================================================
   13. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .filter-sidebar {
    width: 100%;
  }

  .property-main-grid {
    grid-template-columns: 1fr;
  }
  
  .inspection-sidebar-card {
    position: relative;
    top: 0;
    width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .site-header-floating {
    top: 40px;
    background-color: var(--primary-dark);
    padding: 16px 0;
  }

  .site-header-floating .site-header-content {
    position: relative;
    justify-content: space-between;
  }

  .site-header-floating .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    background: var(--primary-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 24px;
    box-shadow: var(--shadow-lg);
  }

  .site-header-floating .main-navigation.active {
    display: block;
  }

  .site-header-floating .main-navigation ul {
    flex-direction: column;
    gap: 20px;
  }

  .site-header-floating .mobile-menu-toggle {
    display: block;
    margin-left: 20px;
  }

  .header-right-action {
    display: none; /* Hide WhatsApp button in mobile layout header to avoid clutter */
  }

  .guarantee-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
