/* ═══════════════════════════════════════════════════
   FlatsFloors.com — Master Stylesheet
   Brand: Deep Green #1B6B3A · Gold #D4A017 · Warm White
   Font: Playfair Display (headings) + Inter (body)
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green:    #1B6B3A;
  --green-d:  #145530;
  --green-m:  #2a8a4e;
  --green-l:  #e8f5ed;
  --gold:     #D4A017;
  --gold-d:   #b8880f;
  --gold-l:   #fdf6e3;
  --blue:     #1e50a2;
  --red:      #dc2626;
  --bg:       #F7F8FA;
  --white:    #FFFFFF;
  --text:     #0d1b0f;
  --text-m:   #3d5240;
  --text-mu:  #7a9180;
  --border:   #dde8e0;
  --border-m: #c4d9cb;
  --sh-sm:    0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --sh:       0 4px 16px rgba(0,0,0,.07);
  --sh-lg:    0 10px 40px rgba(0,0,0,.12);
  --sh-xl:    0 20px 72px rgba(0,0,0,.16);
  --r:        12px;
  --r-sm:     8px;
  --r-lg:     20px;
  --r-xl:     28px;
  --hdr:      66px;
  --max:      1260px;
}

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

/* ── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--border-m); border-radius: 3px; }

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--sh); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: var(--hdr); display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; cursor: pointer; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--green-m));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 1.1rem; font-family: 'Playfair Display', serif;
}
.logo-name {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.25rem; color: var(--green); letter-spacing: -.01em;
}
.logo-name span { color: var(--gold); }

/* NAV TABS (Buy/Rent/Sell) */
.nav-type-tabs { display: flex; gap: 2px; flex-shrink: 0; }
.nav-type-tab {
  padding: 8px 18px; border-radius: 8px;
  font-size: .84rem; font-weight: 600; color: var(--text-m);
  cursor: pointer; transition: all .18s; border: 1.5px solid transparent;
}
.nav-type-tab:hover   { background: var(--green-l); color: var(--green); }
.nav-type-tab.active  { background: var(--green); color: white; }
.nav-type-tab.buy.active  { background: var(--gold); color: var(--text); }

.main-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  padding: 7px 12px; border-radius: 8px;
  font-size: .86rem; font-weight: 500; color: var(--text-m); cursor: pointer;
}
.nav-link:hover { background: var(--green-l); color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem;
  transition: all .2s; cursor: pointer; border: none; line-height: 1;
}
.btn-green  { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,107,58,.3); }
.btn-gold   { background: var(--gold); color: var(--text); }
.btn-gold:hover { background: var(--gold-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,160,23,.3); }
.btn-outline { border: 1.5px solid var(--border); background: white; color: var(--text-m); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-ghost  { background: transparent; color: var(--green); border: 1.5px solid var(--green-l); }
.btn-ghost:hover { background: var(--green-l); }
.btn-white  { background: white; color: var(--green); font-weight: 700; }
.btn-white:hover { background: var(--green-l); }
.btn-red    { background: var(--red); color: white; }
.btn-lg { padding: 14px 28px; font-size: .98rem; border-radius: var(--r); }
.btn-sm { padding: 7px 14px; font-size: .78rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── FLASH ──────────────────────────────────────── */
.flash {
  position: fixed; top: calc(var(--hdr) + 12px); left: 50%;
  transform: translateX(-50%); z-index: 300;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: var(--r); font-size: .88rem; font-weight: 500;
  box-shadow: var(--sh-lg); animation: flashIn .3s ease;
}
.flash-success { background: var(--green-l); border: 1px solid var(--green); color: var(--green-d); }
.flash-error   { background: #fef2f2; border: 1px solid var(--red); color: var(--red); }
.flash-info    { background: #eff6ff; border: 1px solid var(--blue); color: var(--blue); }
.flash button  { font-size: 1.1rem; color: inherit; opacity: .6; margin-left: 4px; }
@keyframes flashIn { from { top: var(--hdr); opacity: 0; } to { top: calc(var(--hdr)+12px); opacity: 1; } }

/* ── LAYOUT ─────────────────────────────────────── */
.page-wrap { padding-top: var(--hdr); min-height: 100vh; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── SECTION HEADINGS ───────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 100px;
  background: var(--green-l); color: var(--green);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-tag.gold { background: var(--gold-l); color: var(--gold-d); }
.section-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text); line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.section-desc { font-size: .95rem; color: var(--text-mu); max-width: 520px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 580px;
  display: flex; align-items: center;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-d) 100%);
  overflow: hidden;
}
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(27,107,58,.93), rgba(20,85,48,.82)); }
.hero-decor-1 { position: absolute; top: -80px; right: -60px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(212,160,23,.18), transparent 70%); pointer-events: none; }
.hero-decor-2 { position: absolute; bottom: -100px; left: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 80px 24px 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 16px; border-radius: 100px;
  font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.92);
  margin-bottom: 22px; letter-spacing: .06em;
}
.hero-headline {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.5rem); color: white;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px;
}
.hero-headline .accent { color: var(--gold); }
.hero-sub { font-size: 1.02rem; color: rgba(255,255,255,.74); margin-bottom: 36px; max-width: 520px; font-weight: 300; }

/* Hero stats */
.hero-stats { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.9rem; color: white; line-height: 1; }
.hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.55); margin-top: 3px; }

/* ── SEARCH BOX ─────────────────────────────────── */
.search-box {
  background: white; border-radius: 16px; box-shadow: 0 16px 56px rgba(0,0,0,.22);
  padding: 8px; max-width: 900px;
}
.search-tabs { display: flex; gap: 4px; padding: 0 8px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.search-tab {
  padding: 8px 20px; border-radius: 8px; font-size: .82rem; font-weight: 700;
  cursor: pointer; color: var(--text-mu); transition: all .18s;
}
.search-tab.active-rent { background: var(--green-l); color: var(--green); }
.search-tab.active-buy  { background: var(--gold-l);  color: var(--gold-d); }
.search-tab.active-sell { background: #eff6ff; color: var(--blue); }
.search-fields { display: flex; flex-wrap: wrap; align-items: center; }
.search-field {
  flex: 1; min-width: 150px; padding: 10px 16px;
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
}
.search-field:last-of-type { border-right: none; }
.search-field label { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mu); margin-bottom: 4px; }
.search-field select, .search-field input {
  border: none; outline: none; font-size: .92rem; font-weight: 600;
  color: var(--text); background: transparent;
}
.search-field input::placeholder { color: var(--text-mu); font-weight: 400; }
.search-btn {
  margin: 4px; padding: 0 26px; height: 46px; border-radius: 12px;
  font-size: .92rem; font-weight: 700; color: white; border: none;
  cursor: pointer; white-space: nowrap; transition: all .2s;
  display: flex; align-items: center; gap: 8px;
}
.search-btn.rent-btn { background: var(--green); }
.search-btn.rent-btn:hover { background: var(--green-d); }
.search-btn.buy-btn  { background: var(--gold); color: var(--text); }
.search-btn.buy-btn:hover { background: var(--gold-d); }
.search-btn.sell-btn { background: var(--blue); }

/* ── LISTING TYPE BADGE ─────────────────────────── */
.type-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 6px; font-size: .65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.type-rent { background: var(--green-l); color: var(--green); }
.type-sale { background: var(--gold-l);  color: var(--gold-d); }

/* ── CITY CARDS ─────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 16px; }
.city-card {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  transition: transform .25s, box-shadow .25s; box-shadow: var(--sh-sm);
}
.city-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.city-card:hover img { transform: scale(1.07); }
.city-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,56,24,.88) 0%, transparent 55%); }
.city-card-info { position: absolute; bottom: 0; left: 0; padding: 12px; }
.city-card-name { font-family: 'Playfair Display', serif; font-size: .95rem; color: white; font-weight: 600; }
.city-card-sub  { font-size: .68rem; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ── PROPERTY CARDS ─────────────────────────────── */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 24px; }
.property-card {
  background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
  overflow: hidden; transition: transform .25s, box-shadow .25s; box-shadow: var(--sh-sm);
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.card-img-wrap { position: relative; padding-top: 63%; overflow: hidden; }
.card-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.property-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.28) 0%, transparent 50%); }

.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.badge { padding: 3px 9px; border-radius: 6px; font-size: .62rem; font-weight: 700; }
.badge-verified { background: rgba(27,107,58,.9); color: white; }
.badge-zero     { background: rgba(30,80,162,.9); color: white; }
.badge-rera     { background: rgba(212,160,23,.95); color: #3d2800; }
.badge-featured { background: rgba(255,255,255,.92); color: var(--green); border: 1px solid var(--green); }

.shortlist-btn {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all .2s; border: none; cursor: pointer;
}
.shortlist-btn:hover, .shortlist-btn.active { background: white; }

.card-body { padding: 16px 18px; }
.card-type-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.card-meta { font-size: .72rem; color: var(--text-mu); display: flex; gap: 5px; align-items: center; }
.card-meta .dot { opacity: .4; }
.card-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1rem; color: var(--text); line-height: 1.3; margin-bottom: 6px; }
.card-title a:hover { color: var(--green); }
.card-location { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--text-m); margin-bottom: 4px; }
.card-location-icon { color: var(--green); flex-shrink: 0; font-size: .85rem; }
.card-area { font-size: .72rem; color: var(--text-mu); margin-bottom: 12px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.card-price-main { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.22rem; color: var(--text); }
.card-price-sub  { font-size: .7rem; color: var(--text-mu); }
.card-cta { padding: 6px 14px; border-radius: 8px; font-size: .75rem; font-weight: 700; transition: all .18s; }
.card-cta-rent { background: var(--green-l); color: var(--green); }
.card-cta-rent:hover { background: var(--green); color: white; }
.card-cta-sale { background: var(--gold-l); color: var(--gold-d); }
.card-cta-sale:hover { background: var(--gold); color: var(--text); }

/* ── HOW IT WORKS ───────────────────────────────── */
.steps-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.step-card { text-align: center; padding: 28px 20px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: white;
  background: linear-gradient(135deg, var(--green), var(--green-m));
  box-shadow: 0 6px 20px rgba(27,107,58,.28);
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.step-desc { font-size: .84rem; color: var(--text-mu); line-height: 1.7; }

/* ── TRUST SECTION ──────────────────────────────── */
.trust-section { background: var(--green); padding: 72px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.trust-card { padding: 26px; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: background .2s; }
.trust-card:hover { background: rgba(255,255,255,.13); }
.trust-icon { font-size: 2.2rem; margin-bottom: 14px; }
.trust-title { font-family: 'Playfair Display', serif; font-size: 1rem; color: white; margin-bottom: 8px; }
.trust-desc  { font-size: .84rem; color: rgba(255,255,255,.66); line-height: 1.75; }

/* ── SEARCH PAGE ────────────────────────────────── */
.search-page-layout { display: grid; grid-template-columns: 275px 1fr; gap: 26px; align-items: start; padding: 26px 0 56px; }
.filters-sidebar { background: var(--white); border-radius: var(--r); padding: 22px; border: 1px solid var(--border); box-shadow: var(--sh-sm); position: sticky; top: calc(var(--hdr) + 12px); }
.filters-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.filter-reset-btn { font-size: .74rem; color: var(--green); font-weight: 600; cursor: pointer; border: none; background: none; }
.filter-group { margin-bottom: 22px; }
.filter-group-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mu); margin-bottom: 9px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip {
  padding: 5px 13px; border-radius: 100px; border: 1.5px solid var(--border);
  background: white; font-size: .76rem; font-weight: 600; color: var(--text-m);
  cursor: pointer; transition: all .18s;
}
.filter-chip:hover { border-color: var(--green); color: var(--green); }
.filter-chip.active { border-color: var(--green); background: var(--green-l); color: var(--green); }
.filter-chip.gold-active { border-color: var(--gold); background: var(--gold-l); color: var(--gold-d); }
.toggle-row { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 7px 0; }
.toggle-sw { width: 40px; height: 23px; border-radius: 12px; background: var(--border); position: relative; transition: background .2s; flex-shrink: 0; }
.toggle-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: white; transition: left .2s; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.toggle-row input:checked + .toggle-sw { background: var(--green); }
.toggle-row input:checked + .toggle-sw::after { left: 20px; }
.toggle-row input { display: none; }
.toggle-label { font-size: .85rem; font-weight: 500; }

/* Results */
.results-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.results-count { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--text); }
.results-count strong { color: var(--green); }
.sort-select { padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--border); font-size: .82rem; font-weight: 600; background: white; outline: none; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 600; color: var(--text-m); background: white; cursor: pointer; transition: all .18s; }
.page-btn:hover, .page-btn.active { border-color: var(--green); color: var(--green); background: var(--green-l); }
.page-btn.disabled { opacity: .4; cursor: not-allowed; }

/* ── PROPERTY DETAIL ────────────────────────────── */
.property-detail { padding: 24px 0 56px; }
.breadcrumb { font-size: .8rem; color: var(--text-mu); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-mu); } .breadcrumb a:hover { color: var(--green); }

.property-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; max-height: 440px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .3s; }
.gallery-main img:hover { transform: scale(1.02); }
.gallery-side { display: flex; flex-direction: column; gap: 8px; }
.gallery-thumb { overflow: hidden; flex: 1; position: relative; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .3s; }
.gallery-thumb img:hover { transform: scale(1.05); }
.gallery-more { position: absolute; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; color: white; font-family: 'Playfair Display', serif; font-size: 1.3rem; cursor: pointer; }

.property-main-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.prop-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.9rem; color: var(--text); margin-bottom: 8px; }
.prop-address { display: flex; align-items: center; gap: 6px; color: var(--text-m); font-size: .9rem; margin-bottom: 16px; }

.prop-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.prop-tag { padding: 5px 13px; border-radius: 8px; border: 1px solid var(--border); background: white; font-size: .78rem; font-weight: 500; color: var(--text-m); }

.prop-price-bar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--r); margin-bottom: 24px; border: 1px solid; }
.prop-price-bar.rent-bar { background: var(--green-l); border-color: rgba(27,107,58,.15); }
.prop-price-bar.sale-bar { background: var(--gold-l); border-color: rgba(212,160,23,.2); }
.prop-price-main { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 2.1rem; line-height: 1; }
.prop-price-bar.rent-bar .prop-price-main { color: var(--green); }
.prop-price-bar.sale-bar .prop-price-main { color: var(--gold-d); }
.prop-price-period { font-size: .78rem; color: var(--text-mu); }
.prop-price-divider { width: 1px; height: 40px; background: rgba(0,0,0,.1); }

.block-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text); border-bottom: 2px solid var(--border); padding-bottom: 10px; margin-bottom: 14px; }
.section-block { margin-bottom: 28px; }
.desc-text { font-size: .9rem; color: var(--text-m); line-height: 1.85; }

.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 9px; }
.amenity-item { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg); font-size: .82rem; font-weight: 500; }
.amenity-item::before { content: '✓'; color: var(--green); font-weight: 700; }

/* Contact card */
.contact-card { background: white; border-radius: var(--r-lg); border: 1px solid var(--border); padding: 24px; position: sticky; top: calc(var(--hdr) + 14px); box-shadow: var(--sh); overflow: hidden; }
.contact-card-top-bar { height: 4px; margin: -24px -24px 18px; background: linear-gradient(90deg, var(--green), var(--green-m)); }
.contact-price-big { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.8rem; color: var(--text); }
.contact-price-big span { font-size: .95rem; font-weight: 400; color: var(--text-mu); font-family: 'Inter', sans-serif; }
.contact-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.owner-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.owner-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-m)); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.owner-name { font-weight: 600; font-size: .92rem; color: var(--text); }
.owner-tag  { font-size: .72rem; color: var(--text-mu); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

/* Make offer panel */
.offer-panel { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 4px; }
.offer-panel-title { font-weight: 700; font-size: .9rem; color: var(--text); margin-bottom: 12px; }

/* ── FORM ELEMENTS ──────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: .75rem; font-weight: 700; color: var(--text-mu); text-transform: uppercase; letter-spacing: .06em; }
.form-control { padding: 11px 15px; border-radius: 10px; border: 1.5px solid var(--border); background: white; font-size: .9rem; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,107,58,.1); }
.form-control.error { border-color: var(--red); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a9180' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-hint { font-size: .74rem; color: var(--text-mu); }
.form-error { font-size: .74rem; color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── AUTH PAGES ─────────────────────────────────── */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left { background: linear-gradient(145deg, var(--green), var(--green-d)); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-left::before { content: ''; position: absolute; top: -40%; right: -20%; width: 500px; height: 500px; border-radius: 50%; background: rgba(212,160,23,.1); }
.auth-left h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: white; margin-bottom: 14px; position: relative; }
.auth-left p  { color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.7; margin-bottom: 30px; position: relative; }
.auth-perk { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.85); font-size: .88rem; margin-bottom: 14px; position: relative; }
.auth-perk-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.auth-right { display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--bg); }
.auth-form-box { width: 100%; max-width: 420px; }
.auth-form-title { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--text); margin-bottom: 6px; }
.auth-form-sub { font-size: .88rem; color: var(--text-mu); margin-bottom: 28px; }
.auth-form-sub a { color: var(--green); font-weight: 700; }
.auth-demo { margin-top: 20px; padding: 14px; background: var(--green-l); border-radius: 10px; font-size: .75rem; color: var(--text-m); line-height: 2; }

/* ── DASHBOARD ──────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 235px 1fr; gap: 24px; padding: 26px 0 56px; }
.dash-sidebar { background: white; border-radius: var(--r); padding: 18px; border: 1px solid var(--border); box-shadow: var(--sh-sm); position: sticky; top: calc(var(--hdr)+12px); height: fit-content; }
.dash-user { text-align: center; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.dash-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-m)); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin: 0 auto 10px; }
.dash-name { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--text); }
.dash-role { font-size: .7rem; color: var(--text-mu); text-transform: uppercase; letter-spacing: .08em; background: var(--green-l); color: var(--green); padding: 2px 10px; border-radius: 100px; display: inline-block; margin-top: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 9px; font-size: .86rem; font-weight: 500; color: var(--text-m); transition: all .18s; margin-bottom: 2px; text-decoration: none; }
.dash-nav a:hover { background: var(--green-l); color: var(--green); }
.dash-nav a.active { background: var(--green-l); color: var(--green); font-weight: 600; }
.dash-nav a.danger { color: #dc2626; }
.dash-nav a.danger:hover { background: #fef2f2; }

.dash-card { background: white; border-radius: var(--r); padding: 22px; border: 1px solid var(--border); box-shadow: var(--sh-sm); margin-bottom: 20px; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--text); }
.dash-stat { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--border); }
.dash-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--text); line-height: 1; }
.dash-stat-lbl { font-size: .72rem; color: var(--text-mu); margin-top: 4px; }
.dash-stat.green { background: var(--green-l); border-color: rgba(27,107,58,.15); }
.dash-stat.green .dash-stat-num { color: var(--green); }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table th { text-align: left; padding: 10px 14px; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mu); border-bottom: 2px solid var(--border); background: var(--bg); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--green-l); }

/* Status pills */
.s-pill { padding: 3px 10px; border-radius: 100px; font-size: .65rem; font-weight: 700; }
.s-active    { background: var(--green-l); color: var(--green-d); }
.s-inactive  { background: var(--bg); color: var(--text-mu); }
.s-sold, .s-rented { background: #eff6ff; color: var(--blue); }
.s-new, .s-pending  { background: #fef9c3; color: #854d0e; }
.s-contacted .s-confirmed { background: var(--green-l); color: var(--green-d); }
.s-negotiating { background: #fdf4ff; color: #7e22ce; }
.s-closed  { background: var(--green-l); color: var(--green-d); }
.s-cancelled { background: #fef2f2; color: #991b1b; }

/* ── SELL/LIST FORM ─────────────────────────────── */
.list-form-wrap { max-width: 780px; margin: 0 auto; padding: 36px 0 60px; }
.form-steps-bar { display: flex; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); margin-bottom: 28px; background: white; box-shadow: var(--sh-sm); }
.form-step-item { flex: 1; padding: 14px; text-align: center; font-size: .76rem; font-weight: 600; color: var(--text-mu); border-right: 1px solid var(--border); transition: all .2s; }
.form-step-item:last-child { border-right: none; }
.form-step-item.done   { background: #dcfce7; color: #166534; }
.form-step-item.active { background: var(--green); color: white; }
.form-step-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.2rem; }

/* ── ADMIN ──────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--green-d); position: fixed; top: 0; left: 0; bottom: 0; width: 210px; overflow-y: auto; z-index: 50; }
.admin-logo { padding: 18px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; }
.admin-logo span { font-family: 'Playfair Display', serif; color: white; font-size: .95rem; }
.admin-nav-grp { padding: 14px 18px 5px; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.3); }
.admin-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 18px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.65); transition: all .18s; text-decoration: none; border-right: 3px solid transparent; }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: white; }
.admin-nav a.active { background: rgba(255,255,255,.12); color: white; border-right-color: var(--gold); }
.admin-main { margin-left: 210px; }
.admin-topbar { background: white; border-bottom: 1px solid var(--border); padding: 0 28px; height: 58px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 40; box-shadow: var(--sh-sm); }
.admin-topbar-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--text); }
.admin-content { padding: 24px 28px; }
.admin-card { background: white; border-radius: var(--r); border: 1px solid var(--border); margin-bottom: 22px; overflow: hidden; box-shadow: var(--sh-sm); }
.admin-card-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-card-title { font-family: 'Playfair Display', serif; font-size: .95rem; color: var(--text); }
.admin-card-body { padding: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat { background: white; border-radius: var(--r); border: 1px solid var(--border); padding: 18px 22px; box-shadow: var(--sh-sm); }
.admin-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--text); line-height: 1; }
.admin-stat-lbl { font-size: .7rem; color: var(--text-mu); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.admin-stat.accent { background: var(--green); border-color: var(--green-d); }
.admin-stat.accent .admin-stat-num, .admin-stat.accent .admin-stat-lbl { color: white; }
.content-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── MODALS ─────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 500; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: white; border-radius: var(--r-xl); padding: 30px; width: 100%; max-width: 500px; transform: translateY(20px); transition: transform .25s; }
.modal-overlay.open .modal-box { transform: translateY(0); }

/* ── EMPTY STATE ────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--text); margin-bottom: 8px; }
.empty-desc { font-size: .88rem; color: var(--text-mu); margin-bottom: 22px; }

/* ── MISC ───────────────────────────────────────── */
.text-green { color: var(--green); }
.text-gold  { color: var(--gold-d); }
.text-muted { color: var(--text-mu); }
.fw-bold    { font-weight: 700; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .search-page-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .property-main-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .property-gallery { grid-template-columns: 1fr; max-height: auto; }
  .gallery-side { display: none; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}
@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .hamburger { display: flex !important; }
  .hero-headline { font-size: 2rem; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .properties-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
