:root {
  --green: #0b6b3a;
  --green-dark: #084d2a;
  --green-soft: #e8f5ee;
  --gold: #c9a227;
  --ink: #122018;
  --muted: #5c6b62;
  --line: #dce6df;
  --bg: #f6f8f6;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(12, 40, 24, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, #e7f3ea 0, transparent 28%),
    var(--bg);
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  background: var(--green-dark);
  color: #d7eadf;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--green-dark);
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--green), #14924f);
  color: white;
  display: grid;
  place-items: center;
  font-size: 18px;
}
nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
nav a.active, nav a:hover { color: var(--green); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold); color: #1c1604; }
.btn-outline { background: white; border: 1px solid var(--line); color: var(--ink); }
.btn-wa { background: #25D366; color: white; }
.btn-call { background: var(--green-dark); color: white; }

.hero {
  background:
    linear-gradient(120deg, rgba(8,77,42,.88), rgba(11,107,58,.55)),
    url("https://images.unsplash.com/photo-1600596542813-85e6e76b2b8d?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: white;
  padding: 72px 0 56px;
}
.hero h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.15; max-width: 16ch; }
.hero p { margin: 14px 0 28px; max-width: 46ch; color: #e7f3eb; font-size: 18px; }

.search-card {
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 10px;
}
.search-card label { display: block; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.search-card select, .search-card input, .form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fbfcfb;
}
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
  border: 0; background: rgba(255,255,255,.16); color: white;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.tab.on { background: white; color: var(--green-dark); }

.section { padding: 48px 0; }
.section h2 { font-size: 28px; margin-bottom: 8px; }
.sub { color: var(--muted); margin-bottom: 22px; }

.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.area {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  min-height: 88px;
}
.area strong { display: block; }
.area span { color: var(--muted); font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .photo {
  height: 170px;
  background: #c5d5cb center/cover no-repeat;
  position: relative;
}
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--green); color: white;
  font-size: 12px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
}
.badge.sale { background: #8a4b12; }
.badge.land { background: #1e4d7b; }
.card .body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.price { color: var(--green); font-weight: 800; font-size: 18px; }
.card h3 { font-size: 16px; margin: 4px 0 6px; }
.meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.card .actions { display: flex; gap: 8px; margin-top: auto; }
.card .actions .btn { flex: 1; padding: 9px 8px; font-size: 13px; }

.layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery .main { min-height: 320px; background: #c5d5cb center/cover; }
.gallery .side { display: grid; gap: 8px; }
.gallery .side div { background: #c5d5cb center/cover; min-height: 156px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.fact { background: var(--green-soft); border-radius: 10px; padding: 10px 12px; }
.fact small { display: block; color: var(--muted); }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { background: var(--green-soft); color: var(--green-dark); padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }

.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice {
  background: #fff7dd; border: 1px solid #ead59a; color: #5b4708;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 16px;
}

footer {
  background: var(--green-dark);
  color: #d5e8dc;
  padding: 36px 0 20px;
  margin-top: 20px;
}
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer a { color: #d5e8dc; }
.copy { border-top: 1px solid #1c5a38; margin-top: 24px; padding-top: 14px; font-size: 13px; }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
}
.filters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 22px;
}
.filters label { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.ok { color: var(--green); font-weight: 700; margin-top: 10px; }
.steps { display: grid; gap: 12px; }
.step { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }

@media (max-width: 800px) {
  .search-card, .layout, .form-row, footer .cols, .gallery, .filters { grid-template-columns: 1fr; }
  nav {
    display: none;
    position: absolute;
    top: 70px; left: 16px; right: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  nav.open { display: flex; }
  .menu-btn { display: inline-flex; }
  header .wrap { position: relative; }
  .hero { padding: 48px 0 36px; }
  .gallery .main { min-height: 220px; }
}

.auth-page { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; }
.auth-box { width: min(460px, 100%); }
.roles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.roles label {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.roles input { display: none; }
.roles input:checked + span, .roles label:has(input:checked) {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { background: rgba(255,255,255,.14); border-radius: 14px; padding: 14px; }
.stat b { display: block; font-size: 22px; }
.authSlot { display: contents; }
@media (max-width: 800px) {
  .roles, .stats { grid-template-columns: 1fr; }
}
.area {
  min-height: 110px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area i {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
}
.area-enugu {
  background: linear-gradient(180deg, #f3faf5 0%, #fff 55%);
  border-color: #b7d8c4;
}
.area-enugu i { background: #d7efe2; color: #0b6b3a; }
.area-nsukka {
  background: linear-gradient(180deg, #fff6e8 0%, #fff 55%);
  border-color: #e4c48a;
}
.area-nsukka i { background: #f3e0b8; color: #7a4b00; }
.area-land {
  background: linear-gradient(180deg, #eef4fb 0%, #fff 55%);
  border-color: #b7c9de;
}
.area-land i { background: #d7e4f3; color: #1e4d7b; }