/* ============================================================
   Haven — World-Class Real Estate
   Design system: editorial luxury, warm dark, refined typography
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #fafaf7;
  --bg-soft: #f3f2ec;
  --bg-dark: #0a0a0a;
  --bg-dark-2: #111113;
  --surface: #ffffff;
  --surface-2: #f7f6f1;
  --ink: #0c0c0c;
  --ink-2: #2a2a2a;
  --muted: #6b6b66;
  --muted-2: #9a9a93;
  --line: rgba(12, 12, 12, 0.08);
  --line-2: rgba(255, 255, 255, 0.08);
  --accent: #b08a4a;          /* warm gold */
  --accent-2: #d9b070;
  --accent-soft: rgba(176, 138, 74, 0.12);
  --danger: #c0392b;
  --ok: #2f7a4a;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(20, 20, 20, 0.04);
  --shadow: 0 8px 30px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 30px 80px -20px rgba(20, 20, 20, 0.25);
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.4, 0, 0.2, 1);
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #f0f0ee; }
.section__head { margin-bottom: 48px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.muted { color: var(--muted); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: #222; transform: translateY(-1px); }
.btn--ghost {
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: rgba(0,0,0,0.04); }
.section--dark .btn--primary { background: #fff; color: var(--ink); }
.section--dark .btn--primary:hover { background: #f0f0ee; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(0,0,0,0.05); }
.icon-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.badge.show { transform: scale(1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav.scrolled { padding: 12px 0; border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__logo { width: 24px; height: 24px; color: var(--ink); }
.nav__links {
  display: flex; gap: 4px;
  flex: 1;
  margin-left: 28px;
}
.nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.active { color: var(--ink); background: rgba(0,0,0,0.05); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__menu { display: none; flex-direction: column; gap: 4px; width: 32px; }
.nav__menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.6) 100%);
}
.hero__content { max-width: 920px; position: relative; z-index: 1; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 300;
}
.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 0 40px;
  line-height: 1.55;
}
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Search bar */
.search {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 6px;
  max-width: 880px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.search__field {
  background: #fff;
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.search__field label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.search__field input,
.search__field select {
  border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--ink);
  font-weight: 500;
  width: 100%;
  padding: 0;
}
.search__field select { appearance: none; cursor: pointer; }
.search__btn {
  padding: 0 28px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.search__btn:hover { background: #9c7838; }
.search__btn svg { width: 18px; height: 18px; }

.hero__stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 720px;
}
.hero__stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__stats span {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- Collections ---------- */
.collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.collection {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 22px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.collection:hover { transform: translateY(-4px); }
.collection__img {
  position: absolute; inset: 0;
  background: var(--c-img) center/cover;
  transition: transform 0.6s var(--ease);
}
.collection:hover .collection__img { transform: scale(1.08); }
.collection::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
}
.collection__meta { position: relative; z-index: 1; }
.collection__meta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.collection__meta p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Filters ---------- */
.section__view { display: flex; gap: 4px; padding: 4px; background: rgba(0,0,0,0.04); border-radius: 999px; }
.view-btn {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
}
.view-btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.view-btn svg { width: 18px; height: 18px; }
.filters {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 20px;
}
.filters__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters__sort select {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.results-count {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.results-count span { color: var(--ink); font-weight: 600; }

/* ---------- Property grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.card {
  background: transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); }
.card__media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__img { transform: scale(1.05); }
.card__status {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__fav {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.card__fav:hover { transform: scale(1.1); }
.card__fav.active { background: var(--ink); color: #fff; }
.card__fav.active svg { fill: currentColor; }
.card__fav svg { width: 18px; height: 18px; }
.card__gallery {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; gap: 6px;
}
.card__gallery-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.card__gallery-dot.active { background: #fff; width: 18px; border-radius: 3px; }
.card__body { padding: 18px 4px 0; }
.card__price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.card__price small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 6px 0 4px;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.card__address {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}
.card__specs {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card__spec {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.card__spec svg { width: 14px; height: 14px; color: var(--muted); }
.card__spec strong { font-weight: 600; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 8px;
}

/* ---------- Map view ---------- */
.mapview {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  min-height: 640px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.mapview__panel {
  padding: 20px;
  overflow-y: auto;
  max-height: 640px;
  display: flex; flex-direction: column; gap: 12px;
}
.mapview__canvas {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.mapview__svgwrap { position: relative; width: 100%; height: 100%; }
.mapview__svg { width: 100%; height: 100%; display: block; }
.mapview__pins { position: absolute; inset: 0; }
.mappin {
  position: absolute;
  transform: translate(-50%, -100%);
  background: #fff;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
}
.mappin::after {
  content: "";
  position: absolute; left: 50%; bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: #fff;
}
.mappin:hover, .mappin.active {
  background: var(--accent);
  color: #fff;
  transform: translate(-50%, -100%) scale(1.1);
  z-index: 2;
}
.mappin.active::after { background: var(--accent); }

.mini-card {
  display: flex; gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.mini-card:hover { background: var(--bg-soft); }
.mini-card img {
  width: 88px; height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.mini-card__body { flex: 1; min-width: 0; }
.mini-card__price { font-weight: 600; font-size: 14px; }
.mini-card__title {
  font-size: 13px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini-card__sub { font-size: 12px; color: var(--muted); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Testimonial ---------- */
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial__mark {
  width: 48px; height: 48px;
  color: var(--accent);
  margin: 0 auto 24px;
  display: block;
}
.testimonial__quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  color: #f0f0ee;
}
.testimonial__author {
  display: inline-flex; align-items: center; gap: 14px;
  text-align: left;
}
.testimonial__author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__author strong { display: block; font-weight: 500; }
.testimonial__author span { color: var(--muted-2); font-size: 13px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #d0d0cc;
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer__brand p { margin-top: 16px; color: #9a9a93; font-size: 14px; line-height: 1.6; }
.footer h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 18px;
  color: #fff;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #9a9a93; font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer__sub { color: #9a9a93; font-size: 14px; margin: 0 0 14px; line-height: 1.5; }
.newsletter { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  outline: 0;
}
.newsletter input::placeholder { color: #6b6b66; }
.newsletter input:focus { border-color: var(--accent); }
.newsletter button {
  padding: 12px 22px;
  background: #fff; color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.newsletter button:hover { background: var(--accent); color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #6b6b66;
  flex-wrap: wrap; gap: 16px;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
}
.modal.open { display: block; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s var(--ease);
}
.modal__panel {
  position: relative;
  max-width: 1100px;
  width: calc(100% - 48px);
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: slideUp 0.4s var(--ease);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }
.modal__close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: all 0.2s;
}
.modal__close:hover { background: #fff; transform: scale(1.05); }
.modal__close svg { width: 18px; height: 18px; }

/* Detail */
.detail { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.detail__gallery {
  position: relative;
  height: 420px;
  background: #000;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4px;
  padding: 4px;
  flex-shrink: 0;
}
.detail__main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.detail__thumbs { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.detail__thumbs .detail__thumb:nth-child(2) { grid-row: 1; }
.detail__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}
.detail__thumb-more {
  position: relative;
}
.detail__thumb-more::after {
  content: "View all photos";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.detail__thumb-more:hover::after { background: rgba(0,0,0,0.4); }
.detail__body {
  padding: 32px 40px 40px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.detail__main h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.15;
}
.detail__address { color: var(--muted); margin: 0 0 24px; }
.detail__price {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.detail__status {
  display: inline-block;
  padding: 5px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 24px;
}
.detail__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.detail__spec {
  display: flex; flex-direction: column; gap: 4px;
}
.detail__spec strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.detail__spec span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.detail__section h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin: 24px 0 12px;
}
.detail__desc { color: var(--ink-2); line-height: 1.7; }
.detail__features {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.detail__feature {
  padding: 8px 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}
.detail__agent {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky; top: 0;
}
.detail__agent h4 { margin: 0 0 16px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--sans); font-weight: 600; }
.detail__agent-card { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.detail__agent-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.detail__agent-card strong { display: block; font-weight: 600; }
.detail__agent-card span { font-size: 13px; color: var(--muted); }
.detail__agent-actions { display: grid; gap: 8px; }
.detail__agent-actions .btn { width: 100%; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  display: none;
}
.drawer.open { display: block; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 420px;
  background: #fff;
  display: flex; flex-direction: column;
  animation: slideIn 0.35s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; }
.drawer__head h3 .muted { font-size: 16px; margin-left: 4px; }
.fav-list { padding: 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.fav-list .mini-card { background: var(--surface-2); }
.fav-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.fav-empty p { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0 0 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Utilities ---------- */
.d-none-mobile { display: inline-flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .detail__body { grid-template-columns: 1fr; gap: 24px; }
  .detail__agent { position: static; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__menu { display: flex; }
  .d-none-mobile { display: none; }
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 80px; }
  .hero__stats { gap: 24px; }
  .hero__stats strong { font-size: 24px; }
  .search { grid-template-columns: 1fr 1fr; }
  .search__field--grow { grid-column: 1 / -1; }
  .search__btn { grid-column: 1 / -1; padding: 14px; }
  .grid { grid-template-columns: 1fr; }
  .collections { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .mapview { grid-template-columns: 1fr; min-height: auto; }
  .mapview__panel { max-height: 360px; }
  .detail__gallery { height: 280px; grid-template-columns: 1fr 1fr; }
  .detail__thumbs { display: none; }
  .detail__body { padding: 24px; }
  .detail__specs { grid-template-columns: repeat(2, 1fr); }
  .modal__panel { width: 100%; max-width: 100%; margin: 0; max-height: 100vh; border-radius: 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero__title { font-size: 44px; }
  .section__title { font-size: 32px; }
  .hero__stats { gap: 16px; }
  .hero__stats > div { flex: 1 1 calc(50% - 16px); }
  .filters__chips { gap: 6px; }
  .chip { padding: 7px 14px; font-size: 12px; }
}

/* ============================================================
   PORTAL STYLES — KE additions
   ============================================================ */

/* ---------- Brand ---------- */
.nav__brand-ke {
  color: var(--accent);
  margin-left: 2px;
  font-weight: 600;
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 32px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.trust__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  color: var(--muted);
}
.trust__brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.trust__brand:hover { opacity: 1; }
.trust__brand svg { height: 22px; width: auto; }
.trust__brand--mpesa { color: #4caf50; opacity: 0.9; }

/* ---------- User nav ---------- */
.nav__guest { display: flex; align-items: center; gap: 8px; }
.nav__user { position: relative; }
.nav__user-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  transition: background 0.2s;
}
.nav__user-btn:hover { background: rgba(0,0,0,0.08); }
.nav__user-btn svg { width: 14px; height: 14px; }
.nav__user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.nav__user-name { font-size: 14px; font-weight: 500; }
.nav__user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid var(--line);
  padding: 8px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
}
.nav__user-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__user-menu-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  display: flex; flex-direction: column; gap: 2px;
}
.nav__user-menu-head strong { font-size: 14px; }
.nav__user-menu-head span { font-size: 12px; color: var(--muted); }
.nav__user-menu-role {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}
.nav__user-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  transition: background 0.15s;
  cursor: pointer;
}
.nav__user-menu-item:hover { background: var(--bg-soft); }
.nav__user-menu-item svg { width: 16px; height: 16px; color: var(--muted); }
.nav__user-menu-item--danger { color: var(--danger); }
.nav__user-menu-item--danger svg { color: var(--danger); }
.nav__user-menu-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

/* ---------- For owners / Sell section ---------- */
.section--sell {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.sell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.sell__sub {
  font-size: 17px;
  color: var(--ink-2);
  margin: 16px 0 32px;
  line-height: 1.6;
}
.sell__points {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 32px;
}
.sell__points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.sell__points svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  padding: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
}
.sell__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sell__visual { position: relative; }
.sell__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease);
}
.sell__card:hover { transform: rotate(0); }
.sell__card-img {
  height: 280px;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1200&h=800&fit=crop') center/cover;
}
.sell__card-body { padding: 24px; }
.sell__card-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 12px;
}
.sell__card-body strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.sell__card-body > p { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.sell__card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.sell__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.sell__badge svg { width: 16px; height: 16px; color: var(--accent-2); }

/* ---------- For brokers ---------- */
.section--brokers {
  background: var(--bg-dark);
  color: #f0f0ee;
}
.section--brokers .section__title { color: #f0f0ee; }
.section--brokers .eyebrow { color: rgba(255,255,255,0.5); }
.section--brokers .sell__sub { color: rgba(255,255,255,0.7); }
.brokers {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.brokers__visual {
  position: relative;
  height: 480px;
}
.brokers__stat {
  position: absolute;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
}
.brokers__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent-2);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.brokers__stat span { font-size: 13px; color: rgba(255,255,255,0.6); }
.brokers__stat:nth-child(1) { top: 0; left: 0; }
.brokers__stat:nth-child(2) { bottom: 0; left: 40px; }
.brokers__photo {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 280px; height: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.brokers__photo img { width: 100%; height: 100%; object-fit: cover; }
.brokers__photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(10px);
}
.brokers__photo-badge svg { width: 14px; height: 14px; color: #4caf50; }
.brokers__copy .sell__points svg { background: rgba(176,138,74,0.2); color: var(--accent-2); }
.brokers__copy .sell__points li { color: rgba(255,255,255,0.85); }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.plan--best {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.plan--best:hover { background: #1a1a1a; }
.plan__ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.plan__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 12px;
}
.plan__price strong {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan__price span { font-size: 13px; color: var(--muted); }
.plan--best .plan__price span { color: rgba(255,255,255,0.5); }
.plan p { font-size: 14px; color: var(--muted); margin: 0 0 24px; line-height: 1.5; }
.plan--best p { color: rgba(255,255,255,0.7); }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.plan ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.plan--best ul li { color: rgba(255,255,255,0.85); }
.plan ul li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.plan .btn { width: 100%; }
.plan--best .btn--primary { background: #fff; color: var(--ink); }
.plan--best .btn--primary:hover { background: #f0f0ee; }
.plan--best .btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.plan--best .btn--ghost:hover { background: rgba(255,255,255,0.05); }
.pricing__note {
  text-align: center;
  margin: 48px auto 0;
  font-size: 14px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.pricing__note svg { width: 18px; height: 18px; color: var(--accent); }

/* ============================================================
   MODAL STYLES — Auth, Submit, Broker, Pay, Dashboard
   ============================================================ */
.modal__panel--narrow { max-width: 540px; }
.modal__panel--narrow .modal__panel,
.modal__panel--narrow { border-radius: 24px; }

/* ---------- Auth modal ---------- */
.auth { padding: 40px; }
.auth__head { text-align: center; margin-bottom: 32px; }
.auth__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.auth__head p { color: var(--muted); margin: 0; font-size: 14px; }
.auth__tabs {
  display: flex;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth__tab {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}
.auth__tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.auth__form label {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.auth__form label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.auth__form input[type="text"],
.auth__form input[type="email"],
.auth__form input[type="tel"],
.auth__form input[type="password"] {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s;
}
.auth__form input:focus { outline: none; border-color: var(--ink); }
.auth__role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pill {
  position: relative;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  display: flex; flex-direction: column; gap: 2px;
  transition: all 0.2s;
}
.role-pill input { position: absolute; opacity: 0; }
.role-pill span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.role-pill small { font-size: 11px; color: var(--muted); }
.role-pill:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); }
.auth__submit { width: 100%; margin-top: 8px; }
.auth__legal { font-size: 12px; color: var(--muted); text-align: center; margin: 16px 0 0; }
.auth__legal a { color: var(--accent); }

/* ---------- Submit property modal ---------- */
.submit { padding: 40px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; }
.submit__head { margin-bottom: 24px; }
.submit__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.submit__head p { color: var(--muted); font-size: 14px; margin: 0; }
.submit__steps {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.submit__step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.submit__step span {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--muted);
}
.submit__step.active span { background: var(--ink); color: #fff; }
.submit__step.active { color: var(--ink); }
.submit__step.done span { background: var(--ok); color: #fff; }
.submit__form { flex: 1; overflow-y: auto; padding-right: 4px; }
.submit__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.submit__nav .btn { min-width: 140px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid label {
  display: flex; flex-direction: column; gap: 6px;
}
.form-grid label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.form-grid label > span em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus { outline: none; border-color: var(--ink); }
.form-grid textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Feature pills */
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.feature-pill:hover { border-color: var(--ink); }
.feature-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Photo upload */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-tile {
  position: relative;
  aspect-ratio: 1;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  cursor: pointer;
  gap: 4px;
  overflow: hidden;
  transition: all 0.2s;
}
.photo-tile:hover { border-color: var(--ink); background: var(--bg-soft); }
.photo-tile svg { width: 24px; height: 24px; color: var(--muted); }
.photo-tile strong { font-size: 12px; }
.photo-tile small { font-size: 11px; color: var(--muted); }
.photo-tile--add { color: var(--muted); }
.photo-tile--photo { padding: 0; border-style: solid; border-color: var(--line); }
.photo-tile--photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile__remove {
  position: absolute; top: 6px; right: 6px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-tile--photo:hover .photo-tile__remove { opacity: 1; }
.photo-tile__remove svg { width: 14px; height: 14px; color: #fff; }
.photo-tile__cover {
  position: absolute; top: 6px; left: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Review step */
.submit__review { display: flex; flex-direction: column; gap: 20px; }
.submit__review-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.submit__review-head img { width: 160px; height: 120px; object-fit: cover; border-radius: 12px; }
.photo-empty {
  width: 160px; height: 120px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.submit__review-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.submit__review-head > div > p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.submit__review-price { color: var(--ink) !important; font-weight: 600; font-size: 18px !important; }
.submit__review-section h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px; }
.submit__review-section p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.submit__pay { background: var(--bg-soft); padding: 20px; border-radius: 12px; }
.submit__pay-fee, .submit__pay-free { font-size: 15px; color: var(--ink-2); }
.submit__pay-fee strong { color: var(--ink); font-size: 18px; }

/* ---------- Broker modal ---------- */
.broker { padding: 40px; }
.broker__head { text-align: center; margin-bottom: 32px; }
.broker__badge {
  display: inline-flex;
  width: 64px; height: 64px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.broker__badge svg { width: 30px; height: 30px; }
.broker__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.broker__head p { color: var(--muted); margin: 0; font-size: 14px; }
.broker__form label {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.broker__form label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.broker__form input,
.broker__form select {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
}
.broker__form input:focus,
.broker__form select:focus { outline: none; border-color: var(--ink); }
.broker__upload { margin: 24px 0; }
.broker__upload > span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upload-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 20px 12px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  cursor: pointer;
  gap: 4px;
  background: var(--bg-soft);
  transition: all 0.2s;
}
.upload-tile:hover { border-color: var(--ink); }
.upload-tile__icon {
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.upload-tile__icon svg { width: 20px; height: 20px; color: var(--ink-2); }
.upload-tile strong { font-size: 13px; }
.upload-tile small { font-size: 11px; color: var(--muted); }
.upload-tile em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}
.upload-tile.uploaded { border-color: var(--ok); background: rgba(47, 122, 74, 0.05); }
.upload-tile.uploaded em { color: var(--ok); }
.broker__terms {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.broker__terms input { margin-top: 2px; flex-shrink: 0; }
.broker__submit { width: 100%; margin-top: 16px; }

.broker__status { padding: 60px 40px; text-align: center; }
.broker__status-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.broker__status-icon.pending { background: var(--accent-soft); color: var(--accent); }
.broker__status-icon svg { width: 36px; height: 36px; }
.broker__status h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.broker__status p { color: var(--muted); margin: 0 0 24px; }
.broker__status-pulse {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.broker__status-pulse > div { display: flex; gap: 8px; }
.broker__status-pulse span {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
.broker__status-pulse span:nth-child(2) { animation-delay: 0.2s; }
.broker__status-pulse span:nth-child(3) { animation-delay: 0.4s; }
.broker__status-pulse p { font-size: 13px; margin: 0; }
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---------- Payment modal ---------- */
.pay { padding: 40px; }
.pay__head { text-align: center; margin-bottom: 28px; }
.pay__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.pay__head p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.pay__amount {
  display: inline-block;
  background: var(--bg-soft);
  padding: 16px 28px;
  border-radius: 16px;
}
.pay__amount small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.pay__amount strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pay__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.pay__tab {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.pay__tab:hover { border-color: var(--ink); }
.pay__tab.active { border-color: var(--ink); background: var(--bg-soft); }
.pay__tab-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay__tab-icon.mpesa { background: rgba(76, 175, 80, 0.12); color: #2e7d32; }
.pay__tab-icon.mpesa svg { width: 22px; height: 22px; }
.pay__tab-icon.card { background: var(--accent-soft); color: var(--accent); }
.pay__tab-icon.card svg { width: 20px; height: 20px; }
.pay__tab strong { display: block; font-size: 14px; }
.pay__tab small { font-size: 12px; color: var(--muted); }
.pay__body { min-height: 180px; }
.pay__form { display: flex; flex-direction: column; gap: 16px; }
.pay__form label { display: flex; flex-direction: column; gap: 6px; }
.pay__form label > span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.pay__form input {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  font-family: inherit;
}
.pay__form input:focus { outline: none; border-color: var(--ink); }
.pay__phone { display: flex; align-items: stretch; }
.pay__phone-prefix {
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex; align-items: center;
  white-space: nowrap;
}
.pay__phone input {
  border-radius: 0 12px 12px 0;
  flex: 1;
}
.pay__hint { font-size: 12px; color: var(--muted); }
.pay__card-input { position: relative; }
.pay__card-brand {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.pay__submit { width: 100%; margin-top: 8px; }
.pay__secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pay__secure svg { width: 14px; height: 14px; color: var(--ok); }

/* M-Pesa prompt */
.mpesa-prompt { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mpesa-prompt__phone {
  width: 220px; height: 380px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
}
.mpesa-prompt__notch {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: #000;
  border-radius: 4px;
}
.mpesa-prompt__screen {
  background: linear-gradient(180deg, #1a8b3f 0%, #146c2f 100%);
  width: 100%; height: 100%;
  border-radius: 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  color: #fff;
  text-align: center;
  gap: 12px;
}
.mpesa-prompt__logo strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.8;
  font-weight: 600;
}
.mpesa-prompt__logo span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.mpesa-prompt__title { font-size: 13px; font-weight: 600; }
.mpesa-prompt__sub { font-size: 11px; opacity: 0.85; }
.mpesa-prompt__sub strong { font-weight: 700; }
.mpesa-prompt__pin { display: flex; gap: 10px; margin: 8px 0; }
.mpesa-prompt__pin span {
  width: 14px; height: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: pinFill 1.5s ease-in-out infinite;
}
.mpesa-prompt__pin span:nth-child(1) { animation-delay: 0s; }
.mpesa-prompt__pin span:nth-child(2) { animation-delay: 0.2s; }
.mpesa-prompt__pin span:nth-child(3) { animation-delay: 0.4s; }
.mpesa-prompt__pin span:nth-child(4) { animation-delay: 0.6s; }
@keyframes pinFill {
  0%, 100% { background: transparent; }
  50% { background: #fff; }
}
.mpesa-prompt__hint { font-size: 10px; opacity: 0.7; }
.mpesa-prompt__loader { display: flex; gap: 6px; margin-top: 4px; }
.mpesa-prompt__loader span {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}
.mpesa-prompt__loader span:nth-child(2) { animation-delay: 0.2s; }
.mpesa-prompt__loader span:nth-child(3) { animation-delay: 0.4s; }
.mpesa-prompt__note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 340px;
  line-height: 1.5;
}
.mpesa-prompt__note strong { color: var(--ink); }

/* Spinner */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Pay success */
.pay__success { text-align: center; padding: 20px 0; }
.pay__success-icon {
  width: 80px; height: 80px;
  background: var(--ok);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  animation: pop 0.4s var(--ease);
}
.pay__success-icon svg { width: 36px; height: 36px; stroke-width: 3; }
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.pay__success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pay__success > p { color: var(--muted); margin: 0 0 24px; }
.pay__receipt {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 320px;
  margin: 0 auto 24px;
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: 12px;
  text-align: left;
}
.pay__receipt > div { display: flex; justify-content: space-between; font-size: 13px; }
.pay__receipt span { color: var(--muted); }
.pay__receipt strong { font-weight: 600; font-family: monospace; font-size: 12px; }

/* ---------- Dashboard ---------- */
.dash { padding: 40px; max-height: calc(100vh - 48px); overflow-y: auto; }
.dash__head {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dash__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  flex-shrink: 0;
}
.dash__title { flex: 1; }
.dash__title h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}
.dash__title > p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.dash__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.dash__role, .dash__verified, .dash__pending {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.dash__role { background: var(--bg-soft); color: var(--ink-2); }
.dash__verified { background: rgba(47, 122, 74, 0.12); color: var(--ok); }
.dash__verified svg { width: 12px; height: 12px; }
.dash__pending { background: var(--accent-soft); color: var(--accent); }
.dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dash__card {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 20px;
}
.dash__card--wide { grid-column: 1 / -1; }
.dash__card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.dash__card h3 span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}
.dash__empty { font-size: 14px; color: var(--muted); }
.dash__link { color: var(--accent); font-weight: 500; background: none; padding: 0; }
.dash__list { display: flex; flex-direction: column; gap: 8px; }
.dash__item {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.dash__item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.dash__item > div { flex: 1; min-width: 0; }
.dash__item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash__item p { font-size: 11px; color: var(--muted); margin: 2px 0 0; }
.dash__status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash__status.pending { background: var(--accent-soft); color: var(--accent); }
.dash__status.active { background: rgba(47, 122, 74, 0.12); color: var(--ok); }
.dash__status.rejected { background: rgba(192, 57, 43, 0.12); color: var(--danger); }
.dash__sub strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}
.dash__sub p { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.dash__progress {
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.dash__progress span {
  display: block;
  height: 100%;
  background: var(--ok);
  transition: width 0.4s var(--ease);
}
.dash__apply { width: 100%; margin-top: 12px; border: 1px solid var(--line); }
.dash__pays { display: flex; flex-direction: column; gap: 8px; }
.dash__pay {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
}
.dash__pay strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}
.dash__pay p { font-size: 12px; color: var(--muted); margin: 0; }
.dash__pay-meta { text-align: right; }
.dash__pay-meta span { display: block; font-size: 11px; font-family: monospace; color: var(--ink-2); }
.dash__pay-meta small { font-size: 11px; color: var(--muted); }

/* ---------- Footer pay ---------- */
.footer__pay {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer__pay-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b66;
  margin-right: 4px;
}
.footer__pay-brand {
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #d0d0cc;
}
.footer__pay-brand.mpesa { color: #4caf50; border-color: rgba(76, 175, 80, 0.3); }

/* ---------- Map adjustments for Kenya ---------- */
.mapview__canvas { background: #060a14; }

/* ---------- Feature icon M-Pesa ---------- */
.feature__icon.mpesa {
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .sell { grid-template-columns: 1fr; gap: 60px; }
  .brokers { grid-template-columns: 1fr; gap: 60px; }
  .brokers__visual { height: 380px; max-width: 480px; margin: 0 auto; }
  .brokers__photo { width: 220px; height: 300px; }
  .plans { grid-template-columns: 1fr; max-width: 420px; }
  .dash__grid { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav__user-name { display: none; }
  .trust__row { gap: 32px; }
  .auth, .submit, .broker, .pay, .dash { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: 1; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .sell__visual { max-width: 400px; margin: 0 auto; }
  .brokers__visual { height: 320px; }
  .brokers__photo { width: 180px; height: 240px; }
  .dash__head { flex-direction: column; align-items: flex-start; }
  .upload-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .upload-grid { grid-template-columns: 1fr; }
  .submit__steps { font-size: 11px; }
  .submit__step { font-size: 11px; }
  .sell__card { transform: none; }
  .sell__badge { bottom: -10px; right: 0; }
  .brokers__stat strong { font-size: 24px; }
  .pay__tabs { grid-template-columns: 1fr; }
}

/* ---------- Card broker verified badge ---------- */
.card__broker-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(46, 125, 50, 0.95);
  color: #fff;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.card__broker-badge svg { width: 12px; height: 12px; }
/* When card__status is present, push the broker badge below it */
.card__status + .card__broker-badge { top: 50px; }

/* ---------- Mobile nav user menu ---------- */
@media (max-width: 820px) {
  .nav__guest .btn--ghost { display: none; }
}

/* ============================================================
   EXPLORE MAP (Airbnb-style)
   ============================================================ */
.explore {
  background: var(--bg);
  padding: 64px 0 0;
}
.explore__head { padding: 0 0 32px; }
.explore__shell {
  display: grid;
  grid-template-columns: 420px 1fr;
  height: 720px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.explore__panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.explore__filters {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.explore__filters input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  outline: 0;
  transition: border-color 0.2s;
}
.explore__filters input:focus { border-color: var(--ink); }
.explore__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.explore__chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.explore__chip:hover { border-color: var(--ink); }
.explore__chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.explore__list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.explore__card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid transparent;
}
.explore__card:hover { background: var(--bg-soft); }
.explore__card.active { background: var(--bg-soft); border-color: var(--ink); }
.explore__card img {
  width: 120px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.explore__card__body { flex: 1; min-width: 0; }
.explore__card__price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.explore__card__title {
  font-size: 13px;
  color: var(--ink-2);
  margin: 2px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.explore__card__sub {
  font-size: 12px;
  color: var(--muted);
}
.explore__card__badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-top: 4px;
}
.explore__empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
}
.explore__map {
  position: relative;
  background: #e8e6df;
  overflow: hidden;
}

/* Leaflet customizations */
.leaflet-container { font-family: var(--sans); }
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 0;
  overflow: hidden;
}
.leaflet-popup-content { margin: 0; width: 260px !important; }
.leaflet-popup-tip { box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.lp-card { display: flex; flex-direction: column; }
.lp-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.lp-card__body { padding: 12px 14px 14px; }
.lp-card__price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.lp-card__title {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 2px;
  line-height: 1.3;
}
.lp-card__sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.lp-card__view {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Custom price pin */
.leaflet-pin {
  background: #fff;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  border: 2px solid #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--sans);
}
.leaflet-pin:hover {
  background: var(--ink);
  color: #fff;
  transform: scale(1.08);
  z-index: 1000 !important;
}
.leaflet-pin.active {
  background: var(--accent);
  color: #fff;
  transform: scale(1.12);
  z-index: 1000 !important;
}
.leaflet-pin.featured {
  background: var(--accent-2);
  color: var(--ink);
}

/* Hide default Leaflet attribution prefix styling for cleaner look */
.leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,0.85) !important;
  padding: 2px 6px !important;
}

@media (max-width: 1100px) {
  .explore__shell { grid-template-columns: 360px 1fr; height: 640px; }
}
@media (max-width: 820px) {
  .explore__shell {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: auto;
    min-height: 800px;
  }
  .explore__panel { border-right: 0; border-bottom: 1px solid var(--line); max-height: 360px; }
  .explore__map { min-height: 460px; }
  .explore { padding: 48px 0 0; }
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.modal__panel--admin {
  max-width: 1100px !important;
  max-height: calc(100vh - 48px) !important;
}
.admin { padding: 0; max-height: calc(100vh - 48px); display: flex; flex-direction: column; }
.admin__head {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1a 100%);
  color: #fff;
}
.admin__logo {
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.admin__title h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}
.admin__title p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.admin__head-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.admin__head-right .btn { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.admin__head-right .btn:hover { background: rgba(255,255,255,0.2); }

.admin__tabs {
  display: flex;
  gap: 4px;
  padding: 16px 32px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  overflow-x: auto;
}
.admin__tab {
  padding: 12px 18px;
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  position: relative;
}
.admin__tab:hover { color: var(--ink); }
.admin__tab.active { color: var(--ink); }
.admin__tab.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.admin__tab .badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 32px;
  background: var(--bg-soft);
}
.admin__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.admin__stat {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
}
.admin__stat__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.admin__stat__value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.admin__stat__delta {
  font-size: 12px;
  color: var(--ok);
  margin-top: 4px;
}
.admin__section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 0 16px;
}
.admin__section-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.01em;
}
.admin__section-head p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* Pending items list */
.admin__list {
  display: flex; flex-direction: column; gap: 10px;
}
.admin__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: all 0.2s;
}
.admin__item:hover { border-color: var(--ink); }
.admin__item__icon {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.admin__item__icon img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.admin__item__icon svg { width: 22px; height: 22px; }
.admin__item__body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.admin__item__body p { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.admin__item__meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 4px;
}
.admin__item__meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.admin__item__actions { display: flex; gap: 8px; }
.admin__item__actions .btn { padding: 8px 16px; font-size: 13px; }
.btn--approve { background: var(--ok); color: #fff; }
.btn--approve:hover { background: #246840; }
.btn--reject { background: #fff; color: var(--danger); border: 1px solid var(--line); }
.btn--reject:hover { background: rgba(192,57,43,0.06); border-color: var(--danger); }

.admin__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  background: #fff;
  border-radius: 14px;
  border: 1px dashed var(--line);
}
.admin__empty h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); margin: 0 0 4px; }
.admin__empty p { margin: 0; font-size: 14px; }

/* Broker detail */
.admin__detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
.admin__detail__head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.admin__detail__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}
.admin__detail__info h4 { font-size: 18px; margin: 0 0 2px; }
.admin__detail__info p { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.admin__detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.admin__detail__field {
  background: var(--bg-soft);
  padding: 10px 14px;
  border-radius: 8px;
}
.admin__detail__field small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.admin__detail__field strong { font-size: 14px; }
.admin__detail__actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Payment row */
.admin__pay {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin__pay__left strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}
.admin__pay__left p { font-size: 12px; color: var(--muted); margin: 0; }
.admin__pay__right { text-align: right; }
.admin__pay__right .ref { font-family: monospace; font-size: 12px; color: var(--ink-2); }
.admin__pay__right small { display: block; font-size: 11px; color: var(--muted); }

/* Admin signup banner */
.admin-banner {
  background: var(--ink);
  color: #fff;
  padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.admin-banner h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.admin-banner p { color: rgba(255,255,255,0.7); margin: 0; font-size: 14px; }
.admin-banner__code {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  color: var(--accent-2);
}

@media (max-width: 1100px) {
  .admin__stats { grid-template-columns: repeat(2, 1fr); }
  .admin__detail__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .admin__head { padding: 16px 20px; flex-wrap: wrap; }
  .admin__tabs { padding: 12px 20px 0; }
  .admin__body { padding: 20px; }
  .admin__item { grid-template-columns: 1fr; }
  .admin__item__icon { display: none; }
  .admin-banner { padding: 16px 20px; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.howitworks {
  background: var(--bg);
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.howitworks__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.howitworks__intro .section__title { margin: 0; }
.howitworks__trust {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.howitworks__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 4px;
}
.howitworks__stat span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.howitworks__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.howitworks__step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.howitworks__step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--ink);
}
.howitworks__num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.howitworks__step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.howitworks__step p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.howitworks__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.howitworks__chips span {
  padding: 4px 10px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
}

@media (max-width: 1100px) {
  .howitworks__grid { grid-template-columns: 1fr; gap: 48px; }
  .howitworks__trust { gap: 24px; }
}

/* ============================================================
   FOR RENTERS (landlords)
   ============================================================ */
.section--renters {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.renters {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.renters__visual { position: relative; height: 480px; }
.renters__photo {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.renters__photo img { width: 100%; height: 100%; object-fit: cover; }
.renters__stat-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.renters__stat-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.renters__stat-badge span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.renters__types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.renters__type {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  transition: all 0.2s;
}
.renters__type:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.renters__type strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.renters__type span {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.renters .sell__points svg { background: rgba(176,138,74,0.15); color: var(--accent); }

@media (max-width: 1100px) {
  .renters { grid-template-columns: 1fr; gap: 60px; }
  .renters__visual { height: 360px; max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   PRICING TABS (List vs Access)
   ============================================================ */
.pricing__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto 48px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: 16px;
}
.pricing__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.pricing__tab svg { width: 20px; height: 20px; flex-shrink: 0; }
.pricing__tab small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.pricing__tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pricing__tab.active small { color: var(--muted); }
.pricing__tab strong { display: block; font-weight: 600; }
.pricing__tab:hover:not(.active) { color: var(--ink); }

/* Access-plan cards have a slightly different look to distinguish */
.plans--access .plan { border-color: var(--accent-soft); }
.plans--access .plan--best { background: var(--accent); }
.plans--access .plan--best { background: linear-gradient(135deg, var(--accent) 0%, #d9b070 100%); color: #fff; }
.plans--access .plan--best .plan__price span { color: rgba(255,255,255,0.7); }
.plans--access .plan--best ul li { color: rgba(255,255,255,0.9); }
.plans--access .plan--best ul li::before { color: #fff; }
.plans--access .plan--best .btn--primary { background: var(--ink); color: #fff; }
.plans--access .plan--best .btn--primary:hover { background: #2a2a2a; }

@media (max-width: 820px) {
  .pricing__tabs { grid-template-columns: 1fr; }
  .renters__types { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CARD — rental detail row
   ============================================================ */
.card__rent {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   FORM HELPERS — hints, dividers, rental-only
   ============================================================ */
.form-hint {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0 4px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.form-divider::before, .form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ============================================================
   MOBILE BOTTOM NAV (app-like)
   ============================================================ */
.bottomnav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.bottomnav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: 0;
  text-decoration: none;
  transition: color 0.2s;
}
.bottomnav__item svg { width: 22px; height: 22px; }
.bottomnav__item.active { color: var(--accent); }
.bottomnav__item--cta {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  margin: 0 8px;
}
.bottomnav__item--cta svg { width: 22px; height: 22px; }
.bottomnav__item--cta.active { color: #fff; background: var(--ink); }

@media (max-width: 820px) {
  .bottomnav { display: flex; }
  body { padding-bottom: 76px; }
  .footer { padding-bottom: 100px; }
}

/* ============================================================
   PWA INSTALL BANNER
   ============================================================ */
.install-banner {
  position: fixed;
  bottom: 88px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: slideUp 0.4s var(--ease);
}
.install-banner__icon {
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.install-banner__text { flex: 1; }
.install-banner__text strong { display: block; font-size: 14px; }
.install-banner__text small { display: block; font-size: 12px; color: rgba(255,255,255,0.7); }
.install-banner__install {
  background: var(--accent);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.install-banner__dismiss {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 0;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 821px) {
  .install-banner { display: none; }
}

/* ============================================================
   TWO APPS — Provider vs Seeker switcher
   ============================================================ */
.modeswitch {
  display: flex;
  background: rgba(0,0,0,0.04);
  padding: 4px;
  border-radius: 999px;
  margin-right: 8px;
}
.modeswitch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: all 0.2s;
}
.modeswitch__btn svg { width: 14px; height: 14px; }
.modeswitch__btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.nav__link[data-mode-hidden] { display: none; }
.nav__link[data-mode-active] { color: var(--ink); }

.twoapps {
  background: var(--bg-soft);
  padding: 96px 0;
}
.twoapps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.twoapps__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.twoapps__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.twoapps__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.twoapps__card:hover::before { transform: scaleX(1); }
.twoapps__card--provider::before { background: linear-gradient(90deg, var(--ink), var(--accent)); }
.twoapps__card--seeker::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.twoapps__chip {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.twoapps__card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.twoapps__card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 24px;
}
.twoapps__points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.twoapps__points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.twoapps__points .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.twoapps__cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.twoapps__card--seeker .twoapps__cta { background: var(--accent); color: var(--ink); }
.twoapps__card:hover .twoapps__cta { transform: translateX(4px); }
.twoapps__cta svg { width: 18px; height: 18px; transition: transform 0.2s; }
.twoapps__card:hover .twoapps__cta svg { transform: translateX(4px); }

@media (max-width: 820px) {
  .twoapps__grid { grid-template-columns: 1fr; }
  .twoapps__card { padding: 32px 24px; }
  .twoapps__card h3 { font-size: 28px; }
  .modeswitch { display: none; }
}

/* When a mode is active in body, hide other-mode nav links */
body[data-mode="seeker"] [data-mode="provider"][data-mode-show] { display: none; }
body[data-mode="provider"] [data-mode="seeker"][data-mode-show] { display: none; }
body[data-mode] [data-mode-active] { color: var(--ink); background: rgba(0,0,0,0.05); }

/* ============================================================
   KYC & VIDEO WALKTHROUGH
   ============================================================ */
.kyc__req {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-soft);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.kyc__req strong { font-weight: 600; }
.kyc__req .badge {
  padding: 3px 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.kyc__req .badge.pending { background: var(--accent); }
.kyc__req .badge.verified { background: var(--ok); }
.kyc__req .badge.rejected { background: var(--danger); }

.kyc__docs {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 16px;
}
.kyc__doc {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}
.kyc__doc:hover { border-color: var(--ink); }
.kyc__doc.uploaded { border-color: var(--ok); background: rgba(47,122,74,0.05); }
.kyc__doc input { display: none; }
.kyc__doc__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.kyc__doc__icon svg { width: 20px; height: 20px; }
.kyc__doc.uploaded .kyc__doc__icon { background: var(--ok); color: #fff; }
.kyc__doc__body { flex: 1; min-width: 0; }
.kyc__doc__body strong { display: block; font-size: 14px; font-weight: 600; }
.kyc__doc__body small { display: block; font-size: 12px; color: var(--muted); }
.kyc__doc__req {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  background: var(--bg-soft);
  color: var(--danger);
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}
.kyc__doc__check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.kyc__doc__check svg { width: 14px; height: 14px; stroke-width: 3; }

.kyc__doc__remove {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 4px;
  cursor: pointer;
  border-radius: 6px;
}
.kyc__doc__remove:hover { color: var(--danger); background: rgba(192,57,43,0.08); }
.kyc__doc__remove svg { width: 16px; height: 16px; }

/* Video recorder */
.videorec {
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.videorec__video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.videorec__overlay {
  position: absolute;
  top: 16px; left: 16px; right: 16px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.videorec__rec {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.videorec__rec .dot {
  width: 8px; height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  animation: rec-pulse 1.2s ease-in-out infinite;
}
@keyframes rec-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.videorec__time {
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.videorec__paused {
  position: absolute;
  inset: 0;
  background: rgba(192,57,43,0.85);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-weight: 600;
}
.videorec__paused svg { width: 32px; height: 32px; }
.videorec__controls {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.videorec__preview {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
}
.videorec__preview video { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; }
.videorec__preview small { display: block; font-size: 12px; color: var(--muted); }
.videorec__error {
  padding: 12px 16px;
  background: rgba(192,57,43,0.08);
  color: var(--danger);
  border-radius: 10px;
  font-size: 13px;
  margin-top: 8px;
}

/* ============================================================
   BROKER EARNINGS / COMMISSIONS DASHBOARD
   ============================================================ */
.earnings {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.earnings__main {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1a 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.earnings__main::after {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(176,138,74,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.earnings__amount {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent-2);
  line-height: 1;
  margin: 12px 0 4px;
  position: relative; z-index: 1;
}
.earnings__label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.earnings__breakdown {
  display: flex; gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative; z-index: 1;
}
.earnings__breakdown > div small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.earnings__breakdown > div strong { font-size: 18px; font-weight: 600; }
.earnings__breakdown .pending { color: var(--accent-2); }
.earnings__breakdown .earned { color: var(--ok); }
.earnings__breakdown .paid { color: #4ade80; }
.earnings__side {
  display: flex; flex-direction: column; gap: 12px;
}
.earnings__rate {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.earnings__rate h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.commission-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.commission-row:last-child { border-bottom: 0; }
.commission-row__pct { font-weight: 600; color: var(--accent); }

/* ============================================================
   LISTING DOCUMENTS BADGE
   ============================================================ */
.docsbadge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  background: rgba(47,122,74,0.12);
  color: var(--ok);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.docsbadge svg { width: 12px; height: 12px; }

/* ============================================================
   ADMIN — KYC tab styles
   ============================================================ */
.admin__kyc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.admin__kyc__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.admin__kyc__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.admin__kyc__docs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}
.admin__kyc__docs span {
  padding: 3px 8px;
  background: var(--bg-soft);
  border-radius: 6px;
  font-size: 11px;
  color: var(--ink-2);
}
.admin__kyc__actions { display: flex; gap: 8px; }
.admin__kyc__actions .btn { padding: 7px 14px; font-size: 13px; }

@media (max-width: 820px) {
  .earnings { grid-template-columns: 1fr; }
}

/* ============================================================
   APP-AWARE NAV (provider / seeker)
   ============================================================ */
.nav__brand-app {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-style: normal;
  vertical-align: middle;
}
body[data-app="provider"] .nav__brand-app { background: var(--ink); }
body[data-app="seeker"] .nav__brand-app { background: var(--accent); }
body[data-app="landing"] .nav__brand-app { display: none; }

.nav__link--alt {
  font-size: 12px;
  color: var(--muted) !important;
  border-left: 1px solid var(--line);
  padding-left: 14px !important;
  margin-left: 4px;
}
.nav__cta-nav {
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
}

/* ============================================================
   APP-AWARE HERO VARIANTS
   ============================================================ */
.hero--landing .hero__overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
}
.hero--provider .hero__overlay {
  background: linear-gradient(135deg, rgba(15,46,38,0.85) 0%, rgba(15,46,38,0.55) 50%, rgba(0,0,0,0.55) 100%);
}
.hero--seeker .hero__overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
}
.hero--provider .hero__title em {
  color: #c9a87c;
}
.hero--seeker .hero__title em {
  color: #e3b87a;
}

/* ============================================================
   TWO-APPS — SEPARATED CARDS (landing page)
   ============================================================ */
.twoapps__grid--separate {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 880px) {
  .twoapps__grid--separate { grid-template-columns: 1fr; }
}
.twoapps__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 36px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.twoapps__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.twoapps__card--provider {
  background: linear-gradient(180deg, #f6f9f7 0%, #ffffff 60%);
  border-color: rgba(15,46,38,0.18);
}
.twoapps__card--seeker {
  background: linear-gradient(180deg, #faf6ef 0%, #ffffff 60%);
  border-color: rgba(201,168,124,0.35);
}
.twoapps__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.twoapps__brand svg {
  width: 18px; height: 18px;
}
.twoapps__card--provider .twoapps__brand { color: var(--ink); }
.twoapps__card--seeker .twoapps__brand { color: var(--accent); }

.twoapps__chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.twoapps__card--provider .twoapps__chip { background: rgba(15,46,38,0.12); color: var(--ink); }
.twoapps__card--seeker .twoapps__chip { background: rgba(201,168,124,0.18); color: #6b4a1a; }

.twoapps__head h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 12px;
}
.twoapps__head p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.twoapps__points {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}
.twoapps__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.twoapps__points .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
  margin-top: 8px;
}
.twoapps__card--seeker .twoapps__points .dot { background: var(--accent); }

.twoapps__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.twoapps__price small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.twoapps__price span {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}
.twoapps__card--seeker .twoapps__price span { color: var(--accent); }
.twoapps__price em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.twoapps__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
}
.twoapps__card--seeker .twoapps__cta { color: var(--accent); }
.twoapps__cta svg {
  width: 18px; height: 18px;
  transition: transform 0.2s;
}
.twoapps__card:hover .twoapps__cta svg {
  transform: translateX(4px);
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare__row:last-child { border-bottom: none; }
.compare__row > div {
  padding: 18px 24px;
  font-size: 14px;
}
.compare__row--head {
  background: var(--bg-soft);
  font-weight: 600;
}
.compare__row--head .compare__cell strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.compare__row--head .compare__cell small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.compare__cell--provider strong { color: var(--ink); }
.compare__cell--seeker strong { color: var(--accent); }
.compare__label {
  background: #fafafa;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.compare__row:not(.compare__row--head) > div {
  border-right: 1px solid var(--line);
}
.compare__row:not(.compare__row--head) > div:last-child {
  border-right: none;
}
@media (max-width: 720px) {
  .compare__row { grid-template-columns: 1fr; }
  .compare__row > div { border-right: none !important; }
  .compare__label { background: var(--ink); color: #fff; }
}

/* ============================================================
   FEATURES — 4-col layout
   ============================================================ */
.features--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .features--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features--4 { grid-template-columns: 1fr; } }
.feature__icon.provider {
  background: rgba(15,46,38,0.1);
  color: var(--ink);
}
.feature__icon.provider svg { stroke: var(--ink); }

/* ============================================================
   ROW2 (image + text)
   ============================================================ */
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.row2--reverse { direction: rtl; }
.row2--reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .row2, .row2--reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
}
.row2__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.row2__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullets li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.section--renters .bullets li::before { background: var(--accent); }
.section--brokers .bullets li::before { background: var(--ok); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1c 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-final h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 12px;
}
.cta-final p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 28px;
}
.cta-final__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-final .btn--ghost {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.cta-final .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   PLAN KYC + ADDON (Provider pricing)
   ============================================================ */
.plans--provider, .plans--seeker, .plans--list, .plans--access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.plan--kyc {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(15,46,38,0.04) 0%, rgba(201,168,124,0.06) 100%);
  border: 1px dashed var(--accent);
  border-radius: 14px;
  margin-bottom: 8px;
}
.plan--kyc .plan__kyc-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plan--kyc .plan__kyc-icon svg { width: 24px; height: 24px; }
.plan--kyc .plan__kyc-body strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.plan--kyc .plan__kyc-body p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 4px;
  line-height: 1.5;
}
.plan--kyc .plan__kyc-body em {
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.plan--kyc .plan__kyc-price {
  text-align: right;
  white-space: nowrap;
}
.plan--kyc .plan__kyc-amount {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.plan--kyc .plan__kyc-price small {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}
@media (max-width: 720px) {
  .plan--kyc { grid-template-columns: 1fr; text-align: left; }
  .plan--kyc .plan__kyc-price { text-align: left; }
}
.plan--addon {
  padding: 22px 28px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: left;
  position: relative;
}
.plan--addon strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.plan--addon p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.5;
}
.plan--addon .plan__addon-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.plan--addon .plan__addon-price span {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.plan--addon .plan__addon-price small {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   SEARCHBAR (Seeker hero)
   ============================================================ */
.searchbar {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr auto;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  margin-top: 32px;
  max-width: 980px;
  backdrop-filter: blur(12px);
}
.searchbar label {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.15s;
}
.searchbar label:hover { background: var(--bg-soft); }
.searchbar label > span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 2px;
}
.searchbar input,
.searchbar select {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--sans);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.searchbar select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b6b6b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 18px;
}
.searchbar__btn {
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.searchbar__btn svg { width: 16px; height: 16px; }
@media (max-width: 980px) {
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar__btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 540px) {
  .searchbar { grid-template-columns: 1fr; }
}

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filterchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============================================================
   GRID — LISTINGS
   ============================================================ */
.grid--listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .grid--listings { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--listings { grid-template-columns: 1fr; } }

/* ============================================================
   EXPLORE (Map + List layout)
   ============================================================ */
.explore__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.explore__list {
  overflow-y: auto;
  padding: 16px;
  background: var(--bg-soft);
}
.explore__map {
  height: 100%;
  background: #ddd;
}
@media (max-width: 980px) {
  .explore__layout { grid-template-columns: 1fr; height: auto; }
  .explore__list { max-height: 320px; }
  .explore__map { height: 400px; }
}

/* ============================================================
   TAILWIND LANDING — bridge styles
   Used by index.html (Tailwind-migrated landing page).
   These are the few patterns not in Tailwind utility classes.
   ============================================================ */

/* Compare table rows (Tailwind landing) */
.compare-row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .compare-row { grid-template-columns: 1fr 1fr 1fr; }
}
.compare-row__label {
  padding: 18px 24px;
  background: #fafafa;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.compare-row__cell {
  padding: 18px 24px;
  font-size: 14px;
  color: var(--ink-2);
  border-right: 1px solid var(--line);
}
.compare-row__cell:last-child { border-right: none; }
@media (max-width: 767px) {
  .compare-row__label { background: var(--ink); color: #fff; border-right: none; }
  .compare-row__cell { border-right: none; border-top: 1px solid var(--line); }
}

/* ============================================================
   Platform-injected branding override
   The deployment platform appends a "Created by MiniMax Agent"
   floating widget. Hide it cleanly on all pages.
   ============================================================ */
#minimax-floating-ball,
.minimax-floating-ball,
[class*="minimax-"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
