/* ========================================
   Dastoor Estate - Main Stylesheet
   ======================================== */

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

/* CSS Variables */
:root {
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --primary-dark: #0D2B1E;
  --accent: #D4A017;
  --accent-light: #E8B832;
  --accent-dark: #B8880F;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-card: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #555555;
  --text-light: #888888;
  --border: #E0E0E0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
  --whatsapp: #25D366;
  --badge-hot: #E63946;
  --badge-new: #2D6A4F;
  --badge-featured: #1D4E89;
  --badge-reduced: #E07B00;
  --badge-sold: #6C757D;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Typography */
h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-secondary); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Section */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-label { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 70px;
  display: flex; align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-logo { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.navbar-logo svg { width: 24px; height: 24px; fill: var(--accent); }
.navbar-brand-text { display: flex; flex-direction: column; }
.navbar-brand-text span:first-child { font-size: 1.1rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.navbar-brand-text span:last-child { font-size: 0.65rem; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }
.navbar-nav { display: flex; align-items: center; gap: 8px; }
.navbar-nav a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--text); transition: var(--transition); }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--primary); background: rgba(27,67,50,0.08); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.btn-whatsapp-nav { display: flex; align-items: center; gap: 6px; background: var(--whatsapp); color: #fff; padding: 9px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.btn-whatsapp-nav:hover { background: #1fba58; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(37,211,102,0.35); }
.btn-whatsapp-nav svg { width: 16px; height: 16px; fill: #fff; }
.navbar-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.navbar-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Mobile Nav */
@media (max-width: 768px) {
  .navbar-nav {
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; padding: 30px 20px; gap: 4px; overflow-y: auto;
    display: flex;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.28s ease;
  }
  .navbar-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-nav a { padding: 14px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .navbar-toggle { display: flex; }
  .btn-whatsapp-nav span { display: none; }
  .btn-whatsapp-nav { padding: 9px; border-radius: 50%; }
}

/* Hamburger open animation */
.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   BUTTONS
   ======================================== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,67,50,0.3); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,160,23,0.35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fba58; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero::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='%23ffffff' fill-opacity='0.03'%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");
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape { position: absolute; border-radius: 50%; opacity: 0.08; }
.hero-shape-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -200px; }
.hero-shape-2 { width: 400px; height: 400px; background: #fff; bottom: -150px; left: -100px; }
.hero .container { position: relative; z-index: 1; padding: 80px 20px; }
.hero-content { max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,160,23,0.2); border: 1px solid rgba(212,160,23,0.4); color: var(--accent-light); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-subtitle { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 35px; max-width: 560px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.15); }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar { background: var(--primary); padding: 28px 0; }
.stats-bar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ========================================
   PROPERTY CARDS & FILTERS
   ======================================== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.filter-tab { padding: 10px 22px; border-radius: 50px; border: 2px solid var(--border); background: transparent; font-weight: 500; font-size: 0.9rem; color: var(--text-secondary); transition: var(--transition); cursor: pointer; }
.filter-tab.active, .filter-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .properties-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .properties-grid { grid-template-columns: 1fr; } }

.property-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.property-card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f0f0f0; }
.property-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.property-card:hover .property-card-image img { transform: scale(1.05); }
.property-card-image .no-image { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-light); font-size: 0.9rem; }
.property-card-image .no-image svg { width: 40px; height: 40px; fill: var(--border); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 4px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; }
.badge-hot { background: var(--badge-hot); }
.badge-new { background: var(--badge-new); }
.badge-featured { background: var(--badge-featured); }
.badge-reduced { background: var(--badge-reduced); }
.badge-sold { background: var(--badge-sold); }
.property-card-body { padding: 18px; }
.property-type-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--primary); background: rgba(27,67,50,0.1); padding: 3px 10px; border-radius: 50px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.property-card-body h3 { font-size: 1rem; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.property-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.property-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--text-secondary); }
.property-meta-item svg { width: 14px; height: 14px; fill: var(--primary); flex-shrink: 0; }
.property-price { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.property-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.property-card-footer { display: flex; gap: 8px; }
.property-card-footer .btn { flex: 1; justify-content: center; }

/* ========================================
   SEARCH & FILTERS
   ======================================== */
.search-section { background: var(--bg-light); padding: 30px 0; border-bottom: 1px solid var(--border); }
.search-bar-wrapper { display: flex; gap: 12px; flex-wrap: wrap; }
.search-input-wrap { flex: 1; min-width: 200px; position: relative; }
.search-input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--text-light); }
.search-input-wrap input { width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid var(--border); border-radius: 50px; font-size: 0.95rem; outline: none; transition: var(--transition); }
.search-input-wrap input:focus { border-color: var(--primary); }
.filter-select { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 50px; font-size: 0.9rem; color: var(--text); outline: none; cursor: pointer; background: #fff; transition: var(--transition); }
.filter-select:focus { border-color: var(--primary); }
.btn-search { padding: 12px 24px; border: none; border-radius: 50px; background: var(--primary); color: #fff; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.btn-search svg { width: 16px; height: 16px; fill: #fff; }
.btn-search:hover { background: var(--primary-light); }

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-us { background: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { background: #fff; padding: 30px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.feature-icon { width: 64px; height: 64px; background: rgba(27,67,50,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.feature-icon svg { width: 30px; height: 30px; fill: var(--primary); }
.feature-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* ========================================
   TEAM SECTION
   ======================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: var(--transition); border: 1px solid var(--border); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-card-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-light); position: relative; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-photo-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.team-card-photo-placeholder svg { width: 60px; height: 60px; fill: rgba(255,255,255,0.5); }
.team-card-body { padding: 20px; }
.team-card-body h3 { color: var(--text); margin-bottom: 4px; }
.team-card-role { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.team-card-wa { display: inline-flex; align-items: center; gap: 6px; background: var(--whatsapp); color: #fff; padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; transition: var(--transition); }
.team-card-wa:hover { background: #1fba58; }
.team-card-wa svg { width: 14px; height: 14px; fill: #fff; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: var(--primary); }
.testimonials .section-header h2 { color: #fff; }
.testimonials .section-header p { color: rgba(255,255,255,0.7); }
.testimonials .section-label { color: var(--accent-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 28px; border-radius: var(--radius); backdrop-filter: blur(10px); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { width: 18px; height: 18px; fill: var(--accent); }
.testimonial-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-name { font-weight: 600; color: #fff; font-size: 0.95rem; }
.testimonial-location { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-logo svg { width: 24px; height: 24px; fill: var(--accent); }
.footer-brand-text span:first-child { display: block; font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-brand-text span:last-child { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { background: var(--accent); }
.social-link svg { width: 16px; height: 16px; fill: #fff; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.65); font-size: 0.88rem; padding: 4px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.82rem; }

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition); animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.6); animation: none; }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ========================================
   PROPERTY DETAIL
   ======================================== */
.property-detail-header { background: var(--primary); color: #fff; padding: 40px 0 30px; }
.property-detail-header h1 { color: #fff; margin-bottom: 12px; }
.property-detail-price { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; fill: rgba(255,255,255,0.4); }
.gallery-section { padding: 40px 0; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #f0f0f0; margin-bottom: 12px; cursor: pointer; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery-thumb { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-content { display: grid; grid-template-columns: 1fr 360px; gap: 30px; padding-bottom: 60px; }
@media (max-width: 900px) { .detail-content { grid-template-columns: 1fr; } }
.detail-features { background: var(--bg-light); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.detail-features h3 { margin-bottom: 18px; color: var(--text); }
.features-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 500px) { .features-list { grid-template-columns: repeat(2, 1fr); } }
.feature-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.feature-item svg { width: 18px; height: 18px; fill: var(--primary); flex-shrink: 0; }
.feature-item span { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.feature-item.unavailable { opacity: 0.4; }
.feature-item.unavailable svg { fill: var(--text-light); }
.detail-description { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); margin-bottom: 24px; }
.detail-description h3 { margin-bottom: 14px; }
.detail-description p { line-height: 1.8; color: var(--text-secondary); }
.detail-sidebar { position: sticky; top: 90px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 20px; }
.contact-card h3 { margin-bottom: 20px; color: var(--text); }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 100px; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 80px 0; }
.about-hero h1 { color: #fff; margin-bottom: 16px; }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 580px; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .about-story { grid-template-columns: 1fr; } }
.about-story-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.about-story-image img { width: 100%; }
.about-story-placeholder { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.about-story-placeholder svg { width: 80px; height: 80px; fill: rgba(255,255,255,0.2); }
.about-story-content .section-label { margin-bottom: 10px; }
.about-story-content h2 { margin-bottom: 18px; }
.about-story-content p { margin-bottom: 14px; line-height: 1.8; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.value-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1rem; }
.value-card p { font-size: 0.9rem; }
.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrapper iframe { width: 100%; height: 400px; border: none; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 60px 0; }
.contact-hero h1 { color: #fff; margin-bottom: 12px; }
.contact-hero p { color: rgba(255,255,255,0.8); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
@media (max-width: 500px) { .contact-info-cards { grid-template-columns: 1fr; } }
.contact-info-card { background: #fff; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(27,67,50,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.contact-info-card h4 { font-size: 0.85rem; color: var(--text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.contact-form-card { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-card h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ========================================
   ADMIN - LOGIN
   ======================================== */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }
.admin-login-card { background: #fff; padding: 40px; border-radius: var(--radius); width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.admin-login-logo { text-align: center; margin-bottom: 30px; }
.admin-login-logo .logo-icon { width: 60px; height: 60px; background: var(--primary); border-radius: 14px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.admin-login-logo .logo-icon svg { width: 34px; height: 34px; fill: var(--accent); }
.admin-login-logo h2 { color: var(--primary); margin-bottom: 4px; }
.admin-login-logo p { font-size: 0.85rem; color: var(--text-light); }
.admin-login-card .form-group { margin-bottom: 18px; }
.admin-error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 16px; display: none; }
.admin-error.show { display: block; }

/* ========================================
   ADMIN - DASHBOARD
   ======================================== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--primary-dark); color: #fff; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 100; transition: var(--transition); }
.sidebar-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-brand { display: flex; align-items: center; gap: 10px; }
.sidebar-logo { width: 36px; height: 36px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.sidebar-logo svg { width: 20px; height: 20px; fill: var(--accent); }
.sidebar-brand-text span:first-child { display: block; font-size: 0.95rem; font-weight: 700; color: #fff; }
.sidebar-brand-text span:last-child { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.5); }
.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; background: rgba(255,255,255,0.08); border-left-color: var(--accent); }
.sidebar-nav a svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.sidebar-nav .nav-section-label { padding: 16px 20px 6px; font-size: 0.72rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px; }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.user-email { font-size: 0.75rem; color: rgba(255,255,255,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-main { margin-left: 250px; flex: 1; background: #F4F6F9; min-height: 100vh; }
.admin-topbar { background: #fff; padding: 0 28px; height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.admin-topbar h2 { font-size: 1.1rem; color: var(--text); }
.admin-content { padding: 28px; }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }

/* Admin Cards */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
@media (max-width: 900px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
.admin-stat-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.admin-stat-card .label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.admin-stat-card .value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.admin-stat-card .change { font-size: 0.8rem; color: #16a34a; margin-top: 4px; }

/* Admin Table */
.admin-table-wrapper { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.admin-table-header { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.admin-table-header h3 { font-size: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { padding: 12px 16px; text-align: left; background: #F8F9FA; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #F8F9FA; }
.admin-table-thumb { width: 48px; height: 36px; border-radius: 6px; object-fit: cover; }
.table-actions { display: flex; gap: 6px; }
.btn-edit { padding: 5px 12px; background: rgba(27,67,50,0.1); color: var(--primary); border: none; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-edit:hover { background: var(--primary); color: #fff; }
.btn-delete { padding: 5px 12px; background: rgba(220,38,38,0.1); color: #dc2626; border: none; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-delete:hover { background: #dc2626; color: #fff; }
.status-toggle { width: 36px; height: 20px; border-radius: 50px; border: none; cursor: pointer; position: relative; transition: var(--transition); }
.status-toggle.on { background: var(--primary); }
.status-toggle.off { background: var(--border); }
.status-toggle::after { content: ''; position: absolute; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: var(--transition); }
.status-toggle.on::after { left: 18px; }
.status-toggle.off::after { left: 2px; }

/* Admin Form */
.admin-form-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.admin-form-card h3 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.form-section { margin-bottom: 28px; }
.form-section h4 { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .form-grid-3 { grid-template-columns: 1fr; } }
.char-counter { text-align: right; font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.char-counter.warn { color: #e07b00; }
.char-counter.error { color: #dc2626; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 500px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }
.checkbox-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.checkbox-item span { font-size: 0.88rem; color: var(--text); }
.image-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 30px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-light); }
.image-upload-zone:hover, .image-upload-zone.drag-over { border-color: var(--primary); background: rgba(27,67,50,0.05); }
.image-upload-zone svg { width: 40px; height: 40px; fill: var(--text-light); margin-bottom: 10px; }
.image-upload-zone p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 4px; }
.image-upload-zone span { font-size: 0.8rem; color: var(--text-light); }
.image-previews { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 500px) { .image-previews { grid-template-columns: repeat(3, 1fr); } }
.image-preview-item { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .remove-img { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(220,38,38,0.9); color: #fff; border: none; cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.upload-progress { margin-top: 10px; font-size: 0.82rem; color: var(--primary); }

/* Lead status */
.lead-status { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.lead-status.new { background: rgba(29,78,137,0.12); color: var(--badge-featured); }
.lead-status.contacted { background: rgba(212,160,23,0.15); color: var(--accent-dark); }
.lead-status.closed { background: rgba(22,163,74,0.12); color: #16a34a; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.page-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Loading */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; gap: 14px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { color: var(--text-light); font-size: 0.9rem; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.empty-state svg { width: 60px; height: 60px; fill: var(--border); margin-bottom: 16px; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { color: var(--text-light); font-size: 0.9rem; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1a1a1a; color: #fff; padding: 12px 24px; border-radius: 50px; font-size: 0.88rem; font-weight: 500; z-index: 9999; transition: transform 0.3s ease; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-topbar { padding: 0 16px; }
  .admin-content { padding: 16px; }
  .admin-table-wrapper { overflow-x: auto; }
}

/* Mobile sidebar overlay */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }
.sidebar-overlay.open { display: block; }
.sidebar-toggle-btn { display: none; padding: 8px; cursor: pointer; background: none; border: none; }
.sidebar-toggle-btn svg { width: 22px; height: 22px; fill: var(--text); }
@media (max-width: 768px) { .sidebar-toggle-btn { display: block; } }

/* Property detail specs */
.property-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 500px) { .property-specs { grid-template-columns: repeat(2, 1fr); } }
.spec-item { background: var(--bg-light); padding: 16px; border-radius: var(--radius-sm); text-align: center; border: 1px solid var(--border); }
.spec-item svg { width: 24px; height: 24px; fill: var(--primary); margin-bottom: 8px; }
.spec-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.spec-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* Misc */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 30px 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* Serial badge on property card */
.serial-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.65); color: var(--accent);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* WhatsApp share button on property card */
.btn-wa-share {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; border: none;
  cursor: pointer; transition: var(--transition); flex-shrink: 0;
  text-decoration: none;
}
.btn-wa-share:hover { background: #1fba58; transform: scale(1.1); }
.btn-wa-share svg { width: 18px; height: 18px; fill: #fff; }

/* Image alt input in admin */
.img-alt-input {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 5px 6px; font-size: 0.7rem;
  border: none; border-top: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.92); outline: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.img-alt-input::placeholder { color: #aaa; }

/* SERP Preview */
.serp-preview-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 14px; font-family: Arial, sans-serif;
}
.serp-preview-box .serp-label {
  font-size: 0.72rem; font-weight: 600; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.serp-title { font-size: 1.05rem; color: #1a0dab; font-weight: 400; margin-bottom: 3px; cursor: pointer; }
.serp-title:hover { text-decoration: underline; }
.serp-url { font-size: 0.8rem; color: #006621; margin-bottom: 4px; }
.serp-desc { font-size: 0.87rem; color: #545454; line-height: 1.5; }

/* SEO Score Panel */
.seo-score-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-top: 14px;
}
.seo-score-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.seo-score-header h4 { font-size: 0.88rem; color: var(--text); }
.seo-score-badge {
  font-size: 1.2rem; font-weight: 800; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
}
.seo-score-badge.red { background: #dc2626; }
.seo-score-badge.orange { background: #e07b00; }
.seo-score-badge.yellow { background: #d97706; }
.seo-score-badge.green { background: #16a34a; }
.seo-checks { display: flex; flex-direction: column; gap: 8px; }
.seo-check { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary); }
.seo-check .check-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--border);
}
.seo-check.pass .check-dot { background: #16a34a; }
.seo-check.fail .check-dot { background: #dc2626; }

/* Slug URL preview */
#slug-url-preview {
  font-size: 0.78rem; color: #006621; margin-top: 4px;
  font-family: monospace; word-break: break-all;
}

/* Team admin form */
.team-form-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.team-form-card h4 { margin-bottom: 16px; font-size: 0.95rem; }
.team-member-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
