/* ═══════════════════════════════
   KPDivine — Main Stylesheet
   ═══════════════════════════════ */
:root {
  /* ── Anthropic/Claude Design System ── */
  --brand:      #c96442;
  --brand-dark: #a84e30;
  --brand-coral:#d97757;

  /* Surfaces */
  --parchment:  #f5f4ed;
  --ivory:      #faf9f5;
  --warm-sand:  #e8e6dc;
  --white:      #ffffff;

  /* Dark surfaces */
  --dark:       #141413;
  --dark-mid:   #30302e;
  --dark-warm:  #3d3d3a;

  /* Text */
  --text:       #141413;
  --text-mid:   #5e5d59;
  --text-light: #87867f;
  --text-warm:  #4d4c48;
  --text-silver:#b0aea5;

  /* Borders */
  --border:     #f0eee6;
  --border-mid: #e8e6dc;
  --border-dark:#30302e;

  /* Rings */
  --ring:       #d1cfc5;
  --ring-deep:  #c2c0b6;

  /* Legacy aliases (keep existing PHP templates working) */
  --gold:       #c96442;
  --gold-light: #d97757;
  --gold-dark:  #a84e30;
  --navy:       #141413;
  --navy-mid:   #30302e;
  --navy-light: #3d3d3a;
  --cream:      #f5f4ed;
  --cream-dark: #e8e6dc;

  --shadow:     rgba(0,0,0,0.05) 0px 4px 24px;
  --ring-shadow:0px 0px 0px 1px var(--ring);
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: var(--font-body); background: var(--parchment); color: var(--text); overflow-x:hidden; line-height:1.6; }

/* ─── NAV ─── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background: var(--nav-bg, rgba(13,19,42,0.97));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border, rgba(240,238,230,0.12));
  padding: 0 2rem;
  height: 64px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: #C9A84C; text-decoration:none; letter-spacing: 0.02em; }
.nav-logo span { color: var(--white); }
.nav-links { display:flex; gap:2rem; align-items:center; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration:none; font-size:0.85rem; letter-spacing:0.04em; transition:color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #C9A84C; }
.nav-cta { background: #C9A84C; color: #1a1f3a !important; padding: 8px 20px; border-radius: var(--radius) !important; font-weight:600 !important; transition: all 0.2s !important; }
.nav-cta:hover { background: #b8942e !important; }
.nav-actions { display:flex; gap:1rem; align-items:center; }
.wish-btn { background:none; border: 1px solid rgba(201,168,76,0.5); color: #C9A84C; padding:7px 14px; border-radius:var(--radius); cursor:pointer; font-size:0.8rem; letter-spacing:0.03em; transition:all 0.2s; font-family: var(--font-body); text-decoration:none; display:inline-block; }
.wish-btn:hover { background: rgba(201,168,76,0.1); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; border:none; background:none; }
.hamburger span { display:block; width:22px; height:1.5px; background: #C9A84C; transition:all 0.3s; }

/* ─── BUTTONS ─── */
.btn { display:inline-block; padding:12px 28px; font-family: var(--font-body); font-size:0.88rem; letter-spacing:0.02em; cursor:pointer; border:none; transition:all 0.2s; text-decoration:none; border-radius:var(--radius); font-weight:500; }
.btn-gold { background: #C9A84C; color: #1a1f3a; font-weight:600; box-shadow: 0px 0px 0px 1px #b8942e; }
.btn-gold:hover { background: #b8942e; box-shadow: 0px 0px 0px 1px #a07a20; }
.btn-outline { background: transparent; border: 1px solid #C9A84C; color: #8B6914; }
.btn-outline:hover { background: rgba(201,168,76,0.08); }
.btn-navy { background: var(--dark); color: var(--ivory); border:1px solid var(--dark-mid); }
.btn-navy:hover { background: var(--dark-mid); }
.btn-sm { padding:8px 16px; font-size:0.82rem; }

/* ─── SECTION TITLES ─── */
.section-label { font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; color: #8B6914; font-weight:500; margin-bottom:0.5rem; }
.section-title { font-family: var(--font-display); font-size:2.6rem; font-weight:500; line-height:1.15; color: #1a1f3a; }
.section-title.light { color: var(--ivory); }
.section-sub { color: var(--text-mid); font-size:0.95rem; line-height:1.7; margin-top:0.75rem; }

/* ─── PROPERTY CARDS ─── */
.prop-card { background: var(--ivory); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; cursor:pointer; transition:transform 0.25s, box-shadow 0.25s; text-decoration:none; display:block; color:inherit; }
.prop-card:hover { transform:translateY(-3px); box-shadow: var(--shadow), 0px 0px 0px 1px var(--ring); }
.prop-img { height:220px; overflow:hidden; position:relative; background: var(--navy-mid); }
.prop-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:3rem; color:rgba(255,255,255,0.2); background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); }
.prop-badge { position:absolute; top:12px; left:12px; background: #C9A84C; color: #1a1f3a; font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; padding:5px 12px; border-radius:6px; font-weight:600; }
.prop-badge.rent { background: var(--dark); color: var(--text-silver); }
.prop-wish { position:absolute; top:12px; right:12px; background:rgba(0,0,0,0.4); backdrop-filter:blur(4px); border:none; width:34px; height:34px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--white); font-size:1rem; transition:all 0.2s; border-radius:50%; }
.prop-wish.active { background: var(--brand); color: var(--ivory); }
.prop-body { padding:1.25rem; }
.prop-price { font-family: 'Courier New', monospace; font-size:1.5rem; font-weight:500; color: #1a1f3a; margin-bottom:0.3rem; }
.prop-name { font-size:0.95rem; font-weight:500; margin-bottom:0.25rem; }
.prop-loc { font-size:0.82rem; color: var(--text-light); margin-bottom:0.75rem; }
.prop-meta { display:flex; gap:1rem; padding-top:0.75rem; border-top:1px solid rgba(0,0,0,0.06); font-size:0.8rem; color: var(--text-mid); }
.prop-meta span { display:flex; align-items:center; gap:4px; }

/* ─── FEATURED GRID ─── */
.featured { padding:0; background: #f5f4ed; }
.section-inner { max-width:1200px; margin:0 auto; padding:5rem 2rem; box-sizing:border-box; }
.featured-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:2rem; margin-top:3rem; }

/* ─── HERO ─── */
.hero { height:auto; padding-top:120px; padding-bottom:60px; min-height:100vh; background: linear-gradient(165deg, #f0ede4 0%, #f5f4ed 50%, #ede9df 100%); position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.hero-pattern { position:absolute; inset:0; opacity:0.03; background-image: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(26,31,58,1) 60px, rgba(26,31,58,1) 61px), repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(26,31,58,1) 60px, rgba(26,31,58,1) 61px); }
.hero-content { position:relative; text-align:center; padding:0 2rem; max-width:800px; }
.hero-badge { display:inline-block; border:1px solid rgba(201,168,76,0.5); color: #8B6914; padding:6px 18px; font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; margin-bottom:1.5rem; border-radius:var(--radius-2xl); background: rgba(201,168,76,0.06); }
.hero h1 { font-family: var(--font-display); font-size:clamp(2.5rem,6vw,5rem); font-weight:400; color: #1a1f3a; line-height:1.08; margin-bottom:1.25rem; }
.hero h1 em { font-style:italic; color: #C9A84C; }
.hero-sub { color: #5e5d59; font-size:1rem; margin-bottom:2.5rem; line-height:1.7; }
.hero-search { background: rgba(255,255,255,0.75); border:1px solid rgba(201,168,76,0.25); backdrop-filter:blur(8px); border-radius:var(--radius-lg); padding:1.25rem 1.5rem; display:flex; gap:1rem; align-items:center; flex-wrap:wrap; justify-content:center; margin-bottom:2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.hero-search select, .hero-search input { background: var(--white); border:1px solid var(--border-mid); border-radius:var(--radius); color: var(--text); padding:10px 16px; font-family: var(--font-body); font-size:0.88rem; outline:none; flex:1; min-width:150px; }
.hero-search select option { background: var(--white); color: var(--text); }
.hero-search select:focus, .hero-search input:focus { border-color: var(--brand-coral); }
.hero-search input::placeholder { color: var(--text-light); }
.hero-stats { display:flex; gap:3rem; justify-content:center; flex-wrap:wrap; }
.hero-stat { text-align:center; }
.hero-stat strong { display:block; font-family: var(--font-display); font-size:2rem; font-weight:500; color: #1a1f3a; }
.hero-stat span { font-size:0.78rem; color: var(--text-light); letter-spacing:0.06em; }

/* ─── FEATURE TABS ─── */
.feature-tabs { background: var(--white); }
.tab-strip { display:flex; border-bottom:1px solid rgba(0,0,0,0.08); overflow-x:auto; }
.tab-strip a { padding:1.1rem 2rem; background:none; border:none; font-family: var(--font-body); font-size:0.82rem; text-transform:uppercase; letter-spacing:0.08em; cursor:pointer; color: var(--text-light); border-bottom:2px solid transparent; margin-bottom:-1px; white-space:nowrap; transition:all 0.2s; text-decoration:none; display:inline-block; }
.tab-strip a.active { color: #C9A84C; border-bottom-color: #C9A84C; }

/* ─── CITIES ─── */
.cities { padding:0; background: #edeade; }
.cities-inner { max-width:1200px; margin:0 auto; padding:5rem 2rem; box-sizing:border-box; text-align:center; }
.cities-inner .section-label,
.cities-inner .section-title { text-align:center; }
.cities-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1rem; margin-top:2.5rem; }
.city-card { background: #faf9f5; border:1px solid #e8e6dc; border-radius:var(--radius); padding:1.5rem; cursor:pointer; transition:all 0.25s; position:relative; overflow:hidden; text-decoration:none; display:block; color:inherit; }
.city-card::before { content:''; position:absolute; bottom:0; left:0; height:2px; width:0; background: var(--brand); transition:width 0.3s; }
.city-card:hover::before { width:100%; }
.city-card:hover { box-shadow: var(--shadow), 0px 0px 0px 1px var(--ring); transform:translateY(-2px); }
.city-card { text-align:left; }
.city-name { font-weight:600; color: #1a1f3a; margin-bottom:0.25rem; }
.city-count { font-size:0.8rem; color: var(--text-light); }

/* ─── TESTIMONIALS ─── */
.testimonials { padding:0; background: var(--dark); }
.testi-inner { max-width:1200px; margin:0 auto; padding:5rem 2rem; box-sizing:border-box; text-align:center; }
.testi-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem; margin-top:3rem; text-align:left; }
.testi-card { background: rgba(255,255,255,0.04); border:1px solid var(--dark-mid); border-radius:var(--radius-lg); padding:2rem; position:relative; }
.testi-quote { font-family: var(--font-display); font-size:3rem; color: var(--brand-coral); opacity:0.35; position:absolute; top:1rem; right:1.5rem; line-height:1; }
.testi-text { color:rgba(255,255,255,0.8); font-size:0.9rem; line-height:1.7; margin-bottom:1.25rem; }
.testi-author { display:flex; align-items:center; gap:0.75rem; }
.testi-avatar { width:40px; height:40px; border-radius:50%; background: var(--brand); display:flex; align-items:center; justify-content:center; font-size:0.9rem; font-weight:500; color: var(--ivory); }
.testi-name { font-size:0.88rem; font-weight:500; color: var(--white); }
.testi-role { font-size:0.75rem; color: rgba(255,255,255,0.45); }

/* ─── LISTINGS ─── */
.listings-page { padding-top:64px; }
.listings-header { background: var(--dark); padding:3rem 2rem; }
.listings-title { font-family: var(--font-display); font-size:2rem; color: var(--white); margin-bottom:0.5rem; }
.listings-sub { color:rgba(255,255,255,0.5); font-size:0.88rem; }
.listings-layout { display:grid; grid-template-columns:280px 1fr; gap:0; min-height:calc(100vh - 200px); }
.filter-sidebar { background: var(--ivory); border-right:1px solid var(--border); padding:2rem 1.5rem; position:sticky; top:64px; height:calc(100vh - 64px); overflow-y:auto; }
.filter-group { margin-bottom:1.75rem; }
.filter-group > label { display:block; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.1em; color: var(--text-light); margin-bottom:0.75rem; font-weight:500; }
.filter-group select, .filter-group input[type=text] { width:100%; border:1px solid var(--border-mid); border-radius:var(--radius); padding:9px 12px; font-family: var(--font-body); font-size:0.85rem; outline:none; color: var(--text); background: var(--white); }
.filter-group select:focus, .filter-group input:focus { border-color: var(--brand); outline: 2px solid rgba(201,100,66,0.15); }
.checkbox-group { display:flex; flex-direction:column; gap:0.5rem; }
.checkbox-group label { display:flex; align-items:center; gap:0.5rem; font-size:0.85rem; text-transform:none; letter-spacing:0; color: var(--text); cursor:pointer; font-weight:normal; }
.checkbox-group input[type=checkbox] { accent-color: var(--brand); width:14px; height:14px; }
.range-slider { width:100%; accent-color: var(--brand); }
.range-val { font-size:0.82rem; color: #8B6914; font-weight:500; }
.listings-main { padding:1.5rem; background: var(--parchment); }
.listings-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.5rem; flex-wrap:wrap; gap:0.75rem; }
.listings-count { font-size:0.85rem; color: var(--text-mid); }
.view-toggle { display:flex; gap:0.25rem; }
.view-toggle a { background:none; border:1px solid var(--border-mid); border-radius:var(--radius); padding:7px 12px; cursor:pointer; font-size:0.85rem; transition:all 0.2s; color: var(--text-mid); text-decoration:none; }
.view-toggle a.active { background: var(--dark); color: var(--white); border-color: var(--dark); border-radius:var(--radius); }
.sort-select { border:1px solid rgba(0,0,0,0.15); padding:7px 12px; font-family: var(--font-body); font-size:0.85rem; background: var(--white); outline:none; }
.listings-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.25rem; }
.listings-grid.list-view { grid-template-columns:1fr; }
.listings-grid.list-view .prop-card { display:flex; }
.listings-grid.list-view .prop-img { width:260px; flex-shrink:0; height:auto; }

/* ─── DETAIL PAGE ─── */
.detail-page { padding-top:64px; }
.detail-hero { background: var(--dark); padding:2rem; }
.detail-back { display:inline-flex; align-items:center; gap:0.5rem; color: var(--gold); cursor:pointer; font-size:0.82rem; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:1.5rem; text-decoration:none; }
.detail-gallery { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:280px 180px; gap:0.5rem; }
.detail-gallery-img { background: var(--navy-mid); overflow:hidden; position:relative; display:flex; align-items:center; justify-content:center; font-size:2.5rem; color:rgba(255,255,255,0.15); }
.detail-gallery-img:first-child { grid-row: 1 / 3; }
.detail-main-content { display:grid; grid-template-columns:1fr 380px; gap:2.5rem; padding:2.5rem 2rem; max-width:1200px; margin:0 auto; }
.detail-price { font-family: var(--font-display); font-size:2.2rem; font-weight:500; color: #1a1f3a; margin-bottom:0.25rem; }
.detail-name { font-size:1.3rem; font-weight:500; margin-bottom:0.25rem; }
.detail-loc { color: var(--text-light); font-size:0.9rem; margin-bottom:1.5rem; }
.detail-metas { display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; margin-bottom:1.5rem; }
.detail-meta-item { background: var(--warm-sand); padding:0.75rem; text-align:center; border:1px solid var(--border-mid); border-radius:var(--radius); }
.detail-meta-item strong { display:block; font-size:1rem; font-weight:500; color: var(--text); margin-bottom:2px; }
.detail-meta-item span { font-size:0.72rem; color: var(--text-light); text-transform:uppercase; letter-spacing:0.06em; }
.detail-desc { line-height:1.75; color: var(--text-mid); font-size:0.92rem; margin-bottom:2rem; }
.amenities-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:0.5rem; margin-bottom:2rem; }
.amenity { background: var(--warm-sand); border:1px solid var(--border-mid); border-radius:var(--radius); padding:0.6rem 0.75rem; font-size:0.82rem; display:flex; align-items:center; gap:0.5rem; }
.amenity-icon { color: #C9A84C; font-weight:bold; }
.map-placeholder { background: var(--navy-mid); height:200px; display:flex; align-items:center; justify-content:center; position:relative; margin-bottom:1.5rem; }
.map-pin { font-size:2rem; }
.contact-card { background: var(--ivory); border:1px solid var(--border); border-radius:var(--radius-xl); padding:1.5rem; box-shadow: var(--shadow); }
.agent-info { display:flex; align-items:center; gap:1rem; margin-bottom:1.25rem; padding-bottom:1.25rem; border-bottom:1px solid rgba(0,0,0,0.06); }
.agent-avatar { width:48px; height:48px; border-radius:50%; background: var(--brand); display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-size:1.1rem; color: var(--ivory); flex-shrink:0; }
.agent-name { font-weight:500; font-size:0.95rem; }
.agent-title { font-size:0.78rem; color: var(--text-light); }
.contact-form input, .contact-form select, .contact-form textarea { width:100%; border:1px solid var(--border-mid); border-radius:var(--radius); padding:10px 12px; font-family: var(--font-body); font-size:0.85rem; outline:none; margin-bottom:0.75rem; color: var(--text); background: var(--white); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--brand); outline:2px solid rgba(201,100,66,0.15); }
.contact-form textarea { height:80px; resize:vertical; }
.contact-actions { display:flex; flex-direction:column; gap:0.5rem; }
.whatsapp-btn { background:#25D366; color: var(--white); border:none; padding:12px; font-family: var(--font-body); font-size:0.85rem; cursor:pointer; width:100%; letter-spacing:0.04em; transition:background 0.2s; }
.whatsapp-btn:hover { background:#128C7E; }

/* ─── WISHLIST & COMPARE ─── */
.wishlist-page { padding-top:64px; }
.wishlist-hero { background: var(--dark); padding:3rem 2rem; }
.wishlist-hero h1 { font-family: var(--font-display); font-size:2rem; color: var(--white); }
.wishlist-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.25rem; padding:2rem; }
.wishlist-empty { text-align:center; padding:5rem 2rem; }
.big-icon { font-size:3rem; display:block; margin-bottom:1rem; }
.compare-page { padding-top:64px; }
.compare-hero { background: var(--dark); padding:3rem 2rem; }
.compare-table-wrap { overflow-x:auto; padding:2rem; }
.compare-table { width:100%; border-collapse:collapse; }
.compare-table th, .compare-table td { padding:0.85rem 1.25rem; text-align:left; border-bottom:1px solid rgba(0,0,0,0.06); font-size:0.88rem; }
.compare-table th { background: var(--dark); color: var(--ivory); font-weight:500; font-size:0.8rem; text-transform:uppercase; letter-spacing:0.06em; }
.compare-table tr:hover td { background:rgba(201,100,66,0.04); }
.compare-prop-header { text-align:center; }
.compare-img { font-size:2rem; margin-bottom:0.5rem; }
.compare-name { font-weight:500; font-size:0.9rem; }
.compare-price { color: var(--brand); font-family: var(--font-display); font-size:1.1rem; }
.check { color:#22c55e; font-weight:bold; }
.cross { color:#ef4444; }

/* ─── AUTH ─── */
.auth-page { min-height:100vh; padding-top:64px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.auth-card { background: var(--ivory); border:1px solid var(--border); border-radius:var(--radius-xl); width:100%; max-width:440px; padding:2.5rem; margin:2rem; box-shadow: var(--shadow); }
.auth-logo { font-family: var(--font-display); font-size:1.6rem; font-weight:500; color: #C9A84C; text-align:center; margin-bottom:2rem; }
.auth-tabs { display:flex; border-bottom:1px solid rgba(0,0,0,0.1); margin-bottom:2rem; }
.auth-tabs a { flex:1; padding:0.75rem; background:none; border:none; font-family: var(--font-body); font-size:0.85rem; text-transform:uppercase; letter-spacing:0.08em; cursor:pointer; color: var(--text-light); border-bottom:2px solid transparent; margin-bottom:-1px; transition:all 0.2s; text-align:center; text-decoration:none; display:block; }
.auth-tabs a.active { color: #C9A84C; border-bottom-color: #C9A84C; }
.auth-form input { width:100%; border:1px solid var(--border-mid); border-radius:var(--radius); padding:12px 14px; font-family: var(--font-body); font-size:0.88rem; outline:none; margin-bottom:0.85rem; color: var(--text); background: var(--white); }
.auth-form input:focus { border-color: var(--brand); outline:2px solid rgba(201,100,66,0.15); }
.auth-divider { text-align:center; font-size:0.8rem; color: var(--text-light); margin:1rem 0; position:relative; }
.auth-divider::before { content:''; position:absolute; top:50%; left:0; right:0; height:1px; background:rgba(0,0,0,0.1); }
.auth-divider span { background: var(--white); padding:0 0.75rem; position:relative; }
.social-btn { width:100%; padding:11px; border:1px solid rgba(0,0,0,0.12); background:none; font-family: var(--font-body); font-size:0.85rem; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:0.5rem; margin-bottom:0.5rem; transition:background 0.2s; }
.social-btn:hover { background: var(--cream); }

/* ─── DASHBOARD ─── */
.dashboard { padding-top:64px; display:grid; grid-template-columns:240px 1fr; min-height:100vh; }
.dash-sidebar { background: var(--dark); padding:2rem 1.5rem; }
.dash-user { text-align:center; margin-bottom:2rem; padding-bottom:2rem; border-bottom:1px solid rgba(255,255,255,0.08); }
.dash-avatar { width:64px; height:64px; border-radius:50%; background: var(--brand); display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-size:1.5rem; color: var(--ivory); margin:0 auto 0.75rem; }
.dash-username { color: var(--white); font-weight:500; font-size:0.95rem; }
.dash-email { color:rgba(255,255,255,0.4); font-size:0.75rem; }
.dash-nav a { display:flex; align-items:center; gap:0.75rem; padding:0.75rem 1rem; color:rgba(255,255,255,0.6); text-decoration:none; font-size:0.85rem; cursor:pointer; border-radius:2px; margin-bottom:0.25rem; transition:all 0.2s; }
.dash-nav a.active, .dash-nav a:hover { background:rgba(201,100,66,0.12); color: var(--brand-coral); }
.dash-main { padding:2.5rem; background: var(--parchment); }
.dash-section { margin-bottom:2.5rem; }
.dash-section-title { font-size:1rem; font-weight:500; margin-bottom:1.25rem; padding-bottom:0.75rem; border-bottom:1px solid rgba(0,0,0,0.08); }
.dash-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:2rem; }
.dash-card { background: var(--ivory); padding:1.25rem; border:1px solid var(--border); border-radius:var(--radius-lg); }
.dash-card-num { font-family: var(--font-display); font-size:2rem; font-weight:500; color: #C9A84C; }
.dash-card-label { font-size:0.8rem; color: var(--text-light); margin-top:0.25rem; }
.inquiry-list { display:flex; flex-direction:column; gap:0.75rem; }
.inquiry-item { background: var(--ivory); padding:1rem 1.25rem; border:1px solid var(--border); border-radius:var(--radius); display:flex; align-items:center; justify-content:space-between; }
.inquiry-prop { font-weight:500; font-size:0.9rem; }
.inquiry-date { font-size:0.78rem; color: var(--text-light); }
.inquiry-status { font-size:0.72rem; padding:3px 10px; border-radius:20px; letter-spacing:0.06em; }
.inquiry-status.pending { background:rgba(234,179,8,0.1); color:#ca8a04; }
.inquiry-status.replied { background:rgba(34,197,94,0.1); color:#15803d; }

/* ─── ABOUT ─── */
.about-hero { background: var(--dark); padding:8rem 2rem 5rem; }
.about-content { max-width:1100px; margin:0 auto; padding:5rem 2rem; display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.value-list { list-style:none; display:flex; flex-direction:column; gap:1.25rem; }
.value-list li { display:flex; gap:1rem; align-items:flex-start; }
.team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1.5rem; }
.team-card { text-align:center; }
.team-avatar { width:80px; height:80px; border-radius:50%; background: var(--brand); display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-size:1.5rem; color: var(--ivory); margin:0 auto 1rem; }
.team-name { font-weight:500; margin-bottom:0.25rem; }
.team-role { font-size:0.8rem; color: var(--text-light); }
.stats-strip { background: #1a1f3a; padding:3rem 2rem; }
.stats-strip-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; max-width:900px; margin:0 auto; text-align:center; }
.stat-item strong { display:block; font-family: var(--font-display); font-size:2.2rem; font-weight:600; color: #C9A84C; }
.stat-item span { font-size:0.82rem; color: rgba(255,255,255,0.6); }

/* ─── CONTACT ─── */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; min-height:calc(100vh - 64px); }
.contact-left { background: var(--dark); padding:5rem 3rem; display:flex; flex-direction:column; justify-content:center; }
.contact-right { padding:5rem 3rem; background: var(--white); }
.contact-detail { display:flex; gap:1rem; margin-bottom:1.75rem; align-items:flex-start; }
.contact-detail-icon { width:40px; height:40px; border-radius:var(--radius); background:rgba(201,168,76,0.15); border:1px solid rgba(201,168,76,0.3); display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; }
.contact-detail-text strong { display:block; color: var(--white); font-size:0.88rem; margin-bottom:4px; }
.contact-detail-text span { color:rgba(255,255,255,0.5); font-size:0.82rem; }

/* ─── BLOG ─── */
.blog-hero { background: var(--dark); padding:6rem 2rem 4rem; text-align:center; }
.blog-grid { display:grid; grid-template-columns:2fr 1fr; gap:2rem; padding:3rem 2rem; max-width:1200px; margin:0 auto; }
.blog-card { background: var(--ivory); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; cursor:pointer; transition:all 0.25s; text-decoration:none; display:block; color:inherit; }
.blog-card:hover { box-shadow: var(--shadow); transform:translateY(-2px); }
.blog-card-img { height:200px; background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.15); font-size:2.5rem; }
.blog-card-body { padding:1.5rem; }
.blog-tag { display:inline-block; background: rgba(201,168,76,0.1); color: #8B6914; border-radius:var(--radius-2xl); font-size:0.7rem; text-transform:uppercase; letter-spacing:0.1em; padding:3px 12px; margin-bottom:0.75rem; }
.blog-title { font-family: var(--font-display); font-size:1.3rem; margin-bottom:0.5rem; color: var(--text); }
.blog-excerpt { font-size:0.85rem; color: var(--text-mid); line-height:1.6; }
.blog-meta { font-size:0.75rem; color: var(--text-light); margin-top:0.75rem; }
.blog-sidebar-title { font-weight:500; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:1rem; color: var(--text-mid); }
.sidebar-post { display:flex; gap:0.75rem; margin-bottom:1rem; padding-bottom:1rem; border-bottom:1px solid rgba(0,0,0,0.06); cursor:pointer; text-decoration:none; color:inherit; }
.sidebar-post-img { width:60px; height:60px; flex-shrink:0; background: var(--navy-mid); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.2); font-size:1.2rem; }
.sidebar-post-title { font-size:0.83rem; font-weight:500; line-height:1.4; }
.sidebar-post-date { font-size:0.72rem; color: var(--text-light); margin-top:4px; }

/* ─── SELL PAGE ─── */
.sell-page { padding-top:64px; }
.sell-hero { background: var(--dark); padding:5rem 2rem; text-align:center; }
.sell-form-container { max-width:700px; margin:3rem auto; padding:0 2rem; }
.sell-form { background: var(--ivory); padding:2.5rem; border:1px solid var(--border); border-radius:var(--radius-xl); box-shadow: var(--shadow); }
.sell-form input, .sell-form select, .sell-form textarea { width:100%; border:1px solid var(--border-mid); border-radius:var(--radius); padding:11px 14px; font-family: var(--font-body); font-size:0.88rem; outline:none; margin-bottom:1rem; color: var(--text); background: var(--white); }
.sell-form textarea { height:120px; resize:vertical; }
.sell-form input:focus, .sell-form select:focus, .sell-form textarea:focus { border-color: var(--brand); outline:2px solid rgba(201,100,66,0.15); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-label { font-size:0.75rem; text-transform:uppercase; letter-spacing:0.08em; color: var(--text-light); margin-bottom:0.4rem; display:block; }
.upload-area { border:2px dashed rgba(201,100,66,0.3); border-radius:var(--radius-lg); padding:2rem; text-align:center; cursor:pointer; margin-bottom:1rem; transition:border-color 0.2s; background:var(--parchment); }
.upload-area:hover { border-color: var(--brand); }
.upload-icon { font-size:2rem; margin-bottom:0.5rem; display:block; opacity:0.4; }
.upload-text { font-size:0.85rem; color: var(--text-light); }

/* ─── NOTIFICATIONS ─── */
.toast { position:fixed; bottom:2rem; right:2rem; background: #1a1f3a; color: #e8e6dc; padding:1rem 1.5rem; border-radius:var(--radius-lg); z-index:9999; border-left:3px solid #C9A84C; font-size:0.88rem; opacity:0; transform:translateY(10px); transition:all 0.3s; pointer-events:none; max-width:300px; box-shadow: var(--shadow); }
.toast.show { opacity:1; transform:translateY(0); }
.alert { padding:1rem 1.25rem; margin-bottom:1rem; font-size:0.88rem; }
.alert-success { background:rgba(34,197,94,0.1); border-left:3px solid #22c55e; color:#15803d; }
.alert-error { background:rgba(239,68,68,0.1); border-left:3px solid #ef4444; color:#991b1b; }

/* ─── FOOTER ─── */
footer { background: var(--dark); padding:4rem 2rem 2rem; border-top:1px solid var(--dark-mid); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2rem; margin-bottom:3rem; }
.footer-logo { font-family: var(--font-display); font-size:1.6rem; color: #C9A84C; margin-bottom:0.75rem; }
.footer-desc { color:rgba(255,255,255,0.45); font-size:0.85rem; line-height:1.7; }
.footer-col-title { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.12em; color: #C9A84C; margin-bottom:1rem; }
.footer-col a { display:block; color:rgba(255,255,255,0.5); text-decoration:none; font-size:0.85rem; margin-bottom:0.5rem; transition:color 0.2s; }
.footer-col a:hover { color: #C9A84C; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.06); padding-top:2rem; display:flex; justify-content:space-between; align-items:center; font-size:0.78rem; color:rgba(255,255,255,0.3); flex-wrap:wrap; gap:0.5rem; }

/* ─── CHAT WIDGET ─── */
.chat-widget { position:fixed; bottom:2rem; left:2rem; z-index:500; }
.chat-toggle { width:52px; height:52px; background: #1a1f3a; border:2px solid #C9A84C; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:1.25rem; transition:transform 0.2s; box-shadow:0 4px 16px rgba(0,0,0,0.25); }
.chat-toggle:hover { transform:scale(1.05); }
.chat-box { position:absolute; bottom:65px; left:0; width:280px; background: var(--white); border:1px solid rgba(0,0,0,0.1); box-shadow:0 8px 32px rgba(0,0,0,0.15); display:none; flex-direction:column; border-radius:4px; overflow:hidden; }
.chat-box.open { display:flex; }
.chat-header { background: var(--dark); padding:0.85rem 1rem; display:flex; align-items:center; gap:0.5rem; }
.chat-header span { color: var(--white); font-size:0.88rem; font-weight:500; }
.chat-header-dot { width:8px; height:8px; background:#22c55e; border-radius:50%; }
.chat-messages { height:180px; overflow-y:auto; padding:1rem; display:flex; flex-direction:column; gap:0.5rem; }
.chat-msg { padding:0.5rem 0.75rem; font-size:0.82rem; border-radius:2px; max-width:85%; }
.chat-msg.bot { background: var(--warm-sand); color: var(--text); align-self:flex-start; border-radius:var(--radius); }
.chat-msg.user { background: var(--brand); color: var(--ivory); align-self:flex-end; border-radius:var(--radius); }
.chat-input-row { display:flex; border-top:1px solid rgba(0,0,0,0.08); }
.chat-input-row input { flex:1; border:none; padding:0.75rem; font-size:0.82rem; outline:none; font-family: var(--font-body); }
.chat-input-row button { background: var(--brand); border:none; padding:0 1rem; cursor:pointer; font-size:1rem; }

/* ─── RESPONSIVE ─── */
@media(max-width:900px) {
  .nav-links { display:none; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:var(--navy); padding:1rem 2rem; gap:0; border-top:1px solid rgba(201,168,76,0.1); }
  .nav-links.open { display:flex; }
  .nav-links a { padding:0.75rem 0; border-bottom:1px solid rgba(255,255,255,0.05); }
  .hamburger { display:flex; }
  .listings-layout { grid-template-columns:1fr; }
  .filter-sidebar { position:static; height:auto; }
  .detail-main-content { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .dashboard { grid-template-columns:1fr; }
  .dash-sidebar { display:none; }
  .blog-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .stats-strip-grid { grid-template-columns:2fr 2fr; }
  .detail-gallery { grid-template-columns:1fr; grid-template-rows:auto; }
  .detail-gallery-img:first-child { grid-row:auto; height:200px; }
  .about-content { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .hero-search { flex-direction:column; }
  .hero-search select, .hero-search input { min-width:100%; }
  .footer-grid { grid-template-columns:1fr; }
  .dash-cards { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .detail-metas { grid-template-columns:repeat(2,1fr); }
}

/* ─── PROPERTY CARD IMAGE FIX ─── */
.prop-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.prop-card:hover .prop-img-photo {
  transform: scale(1.04);
}



/* ═══════════════════════════════════════════
   COLOUR THEMES  (admin-selectable via data-theme)
   Base: Warm Cream + Navy + Gold (matches screenshot)
   ═══════════════════════════════════════════ */

/* ── 1. Sage Garden — warm green + cream ── */
:root[data-theme="sage"] {
  --nav-bg: rgba(28,45,35,0.97);
  --nav-border: rgba(180,200,150,0.15);
}
:root[data-theme="sage"] body { background: #f4f5ef; }
:root[data-theme="sage"] .hero { background: linear-gradient(165deg, #f2f4ec 0%, #eef0e8 50%, #e8ebe0 100%); }
:root[data-theme="sage"] .hero h1 { color: #1c2d23; }
:root[data-theme="sage"] .hero h1 em { color: #5a7a45; }
:root[data-theme="sage"] .section-title { color: #1c2d23; }
:root[data-theme="sage"] .section-label { color: #5a7a45; }
:root[data-theme="sage"] .prop-badge, :root[data-theme="sage"] .nav-cta { background: #5a7a45 !important; color: #fff !important; }
:root[data-theme="sage"] .btn-gold { background: #5a7a45; color: #fff; box-shadow: 0 0 0 1px #4a6636; }
:root[data-theme="sage"] .btn-gold:hover { background: #4a6636; }
:root[data-theme="sage"] .city-name { color: #1c2d23; }
:root[data-theme="sage"] .prop-price { color: #1c2d23; }
:root[data-theme="sage"] .cities { background: #e5e8dc; }
:root[data-theme="sage"] .stats-strip { background: #1c2d23; }
:root[data-theme="sage"] .stat-item strong { color: #a8c882; }
:root[data-theme="sage"] .tab-strip a.active, :root[data-theme="sage"] .range-val { color: #5a7a45; }
:root[data-theme="sage"] .tab-strip a.active { border-bottom-color: #5a7a45; }
:root[data-theme="sage"] .city-card::before, :root[data-theme="sage"] .hero-badge { border-color: rgba(90,122,69,0.4); }
:root[data-theme="sage"] .footer-logo, :root[data-theme="sage"] .footer-col-title, :root[data-theme="sage"] .footer-col a:hover { color: #a8c882; }
:root[data-theme="sage"] .chat-toggle { background: #1c2d23; border-color: #a8c882; }

/* ── 2. Dusty Rose — warm blush + cream ── */
:root[data-theme="rose"] {
  --nav-bg: rgba(58,28,35,0.97);
  --nav-border: rgba(200,150,160,0.15);
}
:root[data-theme="rose"] body { background: #f8f3f2; }
:root[data-theme="rose"] .hero { background: linear-gradient(165deg, #f5eeec 0%, #f8f3f2 50%, #f0e8e5 100%); }
:root[data-theme="rose"] .hero h1 { color: #3a1c23; }
:root[data-theme="rose"] .hero h1 em { color: #b56070; }
:root[data-theme="rose"] .section-title { color: #3a1c23; }
:root[data-theme="rose"] .section-label { color: #b56070; }
:root[data-theme="rose"] .prop-badge, :root[data-theme="rose"] .nav-cta { background: #b56070 !important; color: #fff !important; }
:root[data-theme="rose"] .btn-gold { background: #b56070; color: #fff; box-shadow: 0 0 0 1px #9a4d5c; }
:root[data-theme="rose"] .btn-gold:hover { background: #9a4d5c; }
:root[data-theme="rose"] .city-name { color: #3a1c23; }
:root[data-theme="rose"] .prop-price { color: #3a1c23; }
:root[data-theme="rose"] .cities { background: #ede4e2; }
:root[data-theme="rose"] .stats-strip { background: #3a1c23; }
:root[data-theme="rose"] .stat-item strong { color: #e8a0a8; }
:root[data-theme="rose"] .tab-strip a.active, :root[data-theme="rose"] .range-val { color: #b56070; }
:root[data-theme="rose"] .tab-strip a.active { border-bottom-color: #b56070; }
:root[data-theme="rose"] .footer-logo, :root[data-theme="rose"] .footer-col-title, :root[data-theme="rose"] .footer-col a:hover { color: #e8a0a8; }
:root[data-theme="rose"] .chat-toggle { background: #3a1c23; border-color: #e8a0a8; }

/* ── 3. Slate & Copper — cool slate + warm copper ── */
:root[data-theme="slate"] {
  --nav-bg: rgba(22,32,48,0.97);
  --nav-border: rgba(180,160,120,0.15);
}
:root[data-theme="slate"] body { background: #f2f3f5; }
:root[data-theme="slate"] .hero { background: linear-gradient(165deg, #eef0f3 0%, #f2f3f5 50%, #e8eaee 100%); }
:root[data-theme="slate"] .hero h1 { color: #162030; }
:root[data-theme="slate"] .hero h1 em { color: #b07840; }
:root[data-theme="slate"] .section-title { color: #162030; }
:root[data-theme="slate"] .section-label { color: #b07840; }
:root[data-theme="slate"] .prop-badge, :root[data-theme="slate"] .nav-cta { background: #b07840 !important; color: #fff !important; }
:root[data-theme="slate"] .btn-gold { background: #b07840; color: #fff; box-shadow: 0 0 0 1px #966030; }
:root[data-theme="slate"] .btn-gold:hover { background: #966030; }
:root[data-theme="slate"] .city-name { color: #162030; }
:root[data-theme="slate"] .prop-price { color: #162030; }
:root[data-theme="slate"] .cities { background: #e4e6ea; }
:root[data-theme="slate"] .stats-strip { background: #162030; }
:root[data-theme="slate"] .stat-item strong { color: #d4a870; }
:root[data-theme="slate"] .tab-strip a.active, :root[data-theme="slate"] .range-val { color: #b07840; }
:root[data-theme="slate"] .tab-strip a.active { border-bottom-color: #b07840; }
:root[data-theme="slate"] .footer-logo, :root[data-theme="slate"] .footer-col-title, :root[data-theme="slate"] .footer-col a:hover { color: #d4a870; }
:root[data-theme="slate"] .chat-toggle { background: #162030; border-color: #d4a870; }

/* ── 4. Midnight Ink — deep indigo + amber ── */
:root[data-theme="indigo"] {
  --nav-bg: rgba(18,20,55,0.97);
  --nav-border: rgba(200,175,100,0.15);
}
:root[data-theme="indigo"] body { background: #f3f3f8; }
:root[data-theme="indigo"] .hero { background: linear-gradient(165deg, #eeeef6 0%, #f3f3f8 50%, #e8e8f2 100%); }
:root[data-theme="indigo"] .hero h1 { color: #121437; }
:root[data-theme="indigo"] .hero h1 em { color: #c8a030; }
:root[data-theme="indigo"] .section-title { color: #121437; }
:root[data-theme="indigo"] .section-label { color: #c8a030; }
:root[data-theme="indigo"] .prop-badge, :root[data-theme="indigo"] .nav-cta { background: #c8a030 !important; color: #121437 !important; }
:root[data-theme="indigo"] .btn-gold { background: #c8a030; color: #121437; box-shadow: 0 0 0 1px #b08a20; font-weight:700; }
:root[data-theme="indigo"] .btn-gold:hover { background: #b08a20; }
:root[data-theme="indigo"] .city-name { color: #121437; }
:root[data-theme="indigo"] .prop-price { color: #121437; }
:root[data-theme="indigo"] .cities { background: #e4e4f0; }
:root[data-theme="indigo"] .stats-strip { background: #121437; }
:root[data-theme="indigo"] .stat-item strong { color: #f0cc70; }
:root[data-theme="indigo"] .tab-strip a.active, :root[data-theme="indigo"] .range-val { color: #c8a030; }
:root[data-theme="indigo"] .tab-strip a.active { border-bottom-color: #c8a030; }
:root[data-theme="indigo"] .footer-logo, :root[data-theme="indigo"] .footer-col-title, :root[data-theme="indigo"] .footer-col a:hover { color: #f0cc70; }
:root[data-theme="indigo"] .chat-toggle { background: #121437; border-color: #f0cc70; }

/* ── 5. Mocha Latte — warm brown + ivory ── */
:root[data-theme="mocha"] {
  --nav-bg: rgba(45,28,18,0.97);
  --nav-border: rgba(200,165,120,0.15);
}
:root[data-theme="mocha"] body { background: #f7f2ec; }
:root[data-theme="mocha"] .hero { background: linear-gradient(165deg, #f5ede4 0%, #f7f2ec 50%, #f0e8de 100%); }
:root[data-theme="mocha"] .hero h1 { color: #2d1c12; }
:root[data-theme="mocha"] .hero h1 em { color: #c87830; }
:root[data-theme="mocha"] .section-title { color: #2d1c12; }
:root[data-theme="mocha"] .section-label { color: #c87830; }
:root[data-theme="mocha"] .prop-badge, :root[data-theme="mocha"] .nav-cta { background: #c87830 !important; color: #fff !important; }
:root[data-theme="mocha"] .btn-gold { background: #c87830; color: #fff; box-shadow: 0 0 0 1px #a86020; }
:root[data-theme="mocha"] .btn-gold:hover { background: #a86020; }
:root[data-theme="mocha"] .city-name { color: #2d1c12; }
:root[data-theme="mocha"] .prop-price { color: #2d1c12; }
:root[data-theme="mocha"] .cities { background: #ede4d8; }
:root[data-theme="mocha"] .stats-strip { background: #2d1c12; }
:root[data-theme="mocha"] .stat-item strong { color: #f0b870; }
:root[data-theme="mocha"] .tab-strip a.active, :root[data-theme="mocha"] .range-val { color: #c87830; }
:root[data-theme="mocha"] .tab-strip a.active { border-bottom-color: #c87830; }
:root[data-theme="mocha"] .footer-logo, :root[data-theme="mocha"] .footer-col-title, :root[data-theme="mocha"] .footer-col a:hover { color: #f0b870; }
:root[data-theme="mocha"] .chat-toggle { background: #2d1c12; border-color: #f0b870; }

/* ── Theme swatches (admin topbar) ── */
.theme-swatch { width:28px; height:28px; border-radius:50%; cursor:pointer; border:2px solid transparent; transition:transform .2s,border-color .2s; display:inline-block; flex-shrink:0; }
.theme-swatch:hover { transform:scale(1.15); }
.theme-swatch.active { border-color:#fff; box-shadow:0 0 0 2px rgba(0,0,0,0.4); }
.theme-panel { display:flex; align-items:center; gap:6px; }

/* ═══════════════════════════════════════
   ANIMATED HERO  (.hero-animated)
   ═══════════════════════════════════════ */
.hero-animated {
  background: linear-gradient(180deg, #daeaf5 0%, #f0ede4 55%);
  height: 100vh;
  min-height: 600px;
  max-height: 960px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 64px;
  box-sizing: border-box;
}

/* ── Content block ── */
.ha-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4vh 1.5rem 0;
  width: 100%;
  flex-shrink: 0;
}

.ha-badge {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  color: #8B6914;
  padding: 5px 18px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 20px;
  background: rgba(201,168,76,0.07);
  margin-bottom: 2vh;
  animation: haFadeDown .7s ease both;
}

.ha-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  color: #1a1f3a;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 2vh;
  animation: haFadeDown .7s .15s ease both;
}
.ha-title em { font-style: italic; color: #C9A84C; }

.ha-sub {
  font-size: 14px;
  color: #5e5d59;
  text-align: center;
  margin-bottom: 2.5vh;
  max-width: 460px;
  line-height: 1.6;
  animation: haFadeDown .7s .28s ease both;
}

/* ── Search form ── */
.ha-search {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  margin-bottom: 2.5vh;
  animation: haFadeDown .7s .4s ease both;
}
.ha-search select,
.ha-search input {
  border: 1px solid #e8e6dc;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
  color: #1a1f3a;
  background: #fff;
  outline: none;
  flex: 1;
  min-width: 120px;
  font-family: var(--font-body);
}
.ha-search button {
  background: #C9A84C;
  color: #1a1f3a;
  border: none;
  border-radius: 6px;
  padding: 7px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.ha-search button:hover { background: #b8942e; }

/* ── Stats row ── */
.ha-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 0;
  animation: haFadeDown .7s .55s ease both;
  flex-wrap: wrap;
  justify-content: center;
}
.ha-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: #1a1f3a;
  line-height: 1;
}
.ha-stat span {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── City scene fills ALL remaining space ── */
.ha-scene {
  width: 100%;
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.ha-scene svg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ══════════════════════════════
   ANIMATIONS
   ══════════════════════════════ */

/* Entrance */
@keyframes haFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes haRiseUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes haFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Buildings rise */
.ha-btower { animation: haRiseUp .9s .3s ease both; }
.ha-bvilla { animation: haRiseUp .8s .55s ease both; }
.ha-bapt   { animation: haRiseUp .8s .45s ease both; }
.ha-bfar   { animation: haRiseUp .7s .15s ease both; }
.ha-btree  { animation: haRiseUp .6s .9s ease both; }
.ha-bground{ animation: haFadeIn .4s .1s ease both; }

/* Location pin drop + pulse */
.ha-pin { animation: haPinDrop .65s 1s cubic-bezier(.36,1.56,.64,1) both; }
@keyframes haPinDrop {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ha-pin-pulse {
  animation: haPulse 2.4s 1.7s ease-in-out infinite;
  transform-origin: 600px 228px;
}
@keyframes haPulse {
  0%,100% { opacity: 0; transform: scale(1); }
  35%     { opacity: .38; transform: scale(2.4); }
  70%     { opacity: 0;  transform: scale(3.6); }
}

/* Window blink — 6 staggered classes */
.ha-w1 { animation: haWBlink 4.2s 1.8s ease-in-out infinite; }
.ha-w2 { animation: haWBlink 4.2s 2.5s ease-in-out infinite; }
.ha-w3 { animation: haWBlink 4.2s 3.2s ease-in-out infinite; }
.ha-w4 { animation: haWBlink 4.2s 1.2s ease-in-out infinite; }
.ha-w5 { animation: haWBlink 4.2s 3.8s ease-in-out infinite; }
.ha-w6 { animation: haWBlink 4.2s 2.1s ease-in-out infinite; }
@keyframes haWBlink {
  0%,100% { opacity: .9; }
  50%     { opacity: .25; }
}

/* Clouds drift */
.ha-cloud1 { animation: haCloudR 32s linear infinite; }
.ha-cloud2 { animation: haCloudL 42s linear infinite; }
@keyframes haCloudR {
  from { transform: translateX(-120px); }
  to   { transform: translateX(1320px); }
}
@keyframes haCloudL {
  from { transform: translateX(1320px); }
  to   { transform: translateX(-140px); }
}

/* Birds fly */
.ha-bird1 { animation: haBirdR 16s 2s linear infinite; }
.ha-bird2 { animation: haBirdL 22s 5s linear infinite; }
@keyframes haBirdR {
  from { transform: translate(-80px, 0); }
  to   { transform: translate(1320px, -40px); }
}
@keyframes haBirdL {
  from { transform: translate(1320px, 0); }
  to   { transform: translate(-80px, -25px); }
}

/* Sun pulse */
.ha-sun { animation: haSunPulse 5s ease-in-out infinite; }
@keyframes haSunPulse {
  0%,100% { opacity: .85; }
  50%     { opacity: 1; }
}

/* Flag wave */
.ha-flag {
  transform-origin: 600px 2px;
  animation: haFlagWave 2.2s ease-in-out infinite alternate;
}
@keyframes haFlagWave {
  from { transform: skewY(-3deg) scaleX(.95); }
  to   { transform: skewY(3deg) scaleX(1.05); }
}

/* Cars */
.ha-car1 { animation: haCarR 13s 1.2s linear infinite; }
.ha-car2 { animation: haCarL 19s 3.5s linear infinite; }
.ha-car3 { animation: haCarR 17s 8s   linear infinite; }
@keyframes haCarR {
  from { transform: translateX(-100px); }
  to   { transform: translateX(1320px); }
}
@keyframes haCarL {
  from { transform: translateX(1320px); }
  to   { transform: translateX(-100px); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ha-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .ha-sub { font-size: 13px; margin-bottom: 1vh; }
  .ha-stats { gap: 16px; }
  .ha-stat strong { font-size: 1.3rem; }
  .ha-search { padding: 8px; gap: 6px; }
  .ha-search select, .ha-search input { min-width: 90px; font-size: 12px; padding: 6px 8px; }
  .ha-search button { padding: 6px 16px; }
}
@media (max-height: 700px) {
  .ha-badge { margin-bottom: 4vh; }
  .ha-title { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 4vh; }
  .ha-sub { display: none; }
  .ha-stat strong { font-size: 1.3rem; }
}