/* البشوات العقارية — منصة عامة · ثيم استثماري فاخر */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #071412;
  --bg-elevated: #0c1f1d;
  --surface: #122927;
  --surface-2: #163330;
  --line: rgba(230, 201, 140, 0.12);
  --line-strong: rgba(230, 201, 140, 0.32);
  --gold: #d4b06a;
  --gold-soft: #ead7a4;
  --gold-deep: #a8843a;
  --gold-grad: linear-gradient(135deg, #ead7a4 0%, #d4b06a 48%, #a8843a 100%);
  --text: #f7f4ec;
  --text-soft: #c2cbc5;
  --text-mute: #7a8b84;
  --wa: #1f9e57;
  --danger: #d27a7a;
  --ok: #4aad82;
  --font: "IBM Plex Sans Arabic", "Cairo", Tahoma, sans-serif;
  --header: 78px;
  --max: 1180px;
  --radius: 6px;
  --radius-sm: 4px;
  --ease: 200ms cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.22);
  --ring: 0 0 0 3px rgba(212, 176, 106, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(212, 176, 106, 0.09), transparent 55%),
    radial-gradient(800px 420px at 0% 90%, rgba(74, 173, 130, 0.05), transparent 50%),
    linear-gradient(180deg, #0a1c1a 0%, var(--bg) 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(198, 163, 90, 0.28); color: var(--text); }

.container { width: min(var(--max), 90vw); margin-inline: auto; }
.narrow { width: min(680px, 90vw); margin-inline: auto; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(7, 20, 18, 0.88);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
}
.brand small {
  display: block;
  color: var(--text-mute);
  font-size: 0.72rem;
  font-weight: 400;
  margin-top: 0.1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a {
  color: var(--text-soft);
  position: relative;
  padding-block: 0.35rem;
  transition: color var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--gold-soft); }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.btn-wa {
  background: transparent !important;
  color: var(--gold-soft) !important;
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--ease), border-color var(--ease);
}
.btn-wa:hover {
  background: rgba(198, 163, 90, 0.08) !important;
  border-color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.btn--solid,
.btn--gold {
  background: var(--gold-grad);
  color: #071412;
  box-shadow: 0 4px 18px rgba(212, 176, 106, 0.24);
}
.btn--solid:hover,
.btn--gold:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(212, 176, 106, 0.32);
}
.btn--line,
.btn--ghost {
  background: rgba(212, 176, 106, 0.04);
  color: var(--gold-soft);
  border-color: var(--line-strong);
}
.btn--line:hover,
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(212, 176, 106, 0.1);
}
.btn--line.is-on {
  border-color: var(--gold);
  background: rgba(198, 163, 90, 0.1);
  color: var(--gold-soft);
}
.btn--block { width: 100%; }

/* ---- Page intro ---- */
.page-intro,
.listings-hero {
  padding: 3.5rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(212, 176, 106, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}
.page-intro h1,
.listings-hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  max-width: 18ch;
}
.page-intro p,
.listings-hero p {
  margin-top: 0.85rem;
  color: var(--text-mute);
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
}

/* ---- Listings layout ---- */
.listings-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
}
.filters {
  position: sticky;
  top: calc(var(--header) + 1rem);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-soft);
}
.filters__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.filters__head h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.filters-close {
  display: none;
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 1.4rem;
  cursor: pointer;
}
.filters label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.filters input,
.filters select,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color var(--ease);
}
.filters input:focus,
.filters select:focus,
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: var(--ring);
}
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.checks { display: grid; gap: 0.45rem; margin: 0.35rem 0 1rem; }
.checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 400;
}

.results__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.results__bar strong {
  font-weight: 500;
  color: var(--text-soft);
  font-size: 0.92rem;
}
#filtersOpen { display: none; }

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card__media {
  position: relative;
  aspect-ratio: 5 / 3.4;
  background: var(--bg-elevated);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-mute);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.card__badge {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(10, 26, 25, 0.82);
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card__feat {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius);
}
.card__body { padding: 1.15rem 1.1rem 1.25rem; }
.card__body h3 {
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.card__meta {
  color: var(--text-mute);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.card__specs span {
  font-size: 0.78rem;
  color: var(--text-soft);
  border-inline-start: 1px solid var(--line-strong);
  padding-inline-start: 0.55rem;
  font-weight: 500;
}
.card__price {
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--gold-soft);
  letter-spacing: 0.01em;
}
.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.card__actions .btn {
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-mute);
  font-weight: 500;
  font-size: 0.88rem;
}
.pagination a.is-active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ---- Forms ---- */
.form-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  margin: 2rem auto 4rem;
  box-shadow: var(--shadow);
}
.form-card__title {
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0.35rem 0 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mute);
}
.form-grid .full { grid-column: 1 / -1; }
.form-card textarea { resize: vertical; min-height: 120px; }

.notice {
  margin: 2rem auto;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.notice--ok { border-color: rgba(61, 155, 116, 0.4); }
.notice--err { border-color: rgba(201, 107, 107, 0.45); color: #e8b4b4; }
.notice code {
  background: var(--bg-elevated);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius);
  color: var(--gold-soft);
  font-size: 0.9em;
}
.notice .btn { margin-top: 1rem; }

.empty-box,
.empty {
  text-align: center;
  padding: 3.5rem 1.25rem;
  margin: 2rem 0 4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-mute);
  background: var(--surface);
}
.empty-box .btn,
.empty .btn { margin-top: 1.1rem; }

/* ---- Compare ---- */
.compare-toolbar { margin: 1.5rem 0; }
.compare-wrap {
  overflow-x: auto;
  margin-bottom: 4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: var(--surface);
}
.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 1rem;
  text-align: right;
  vertical-align: top;
  font-size: 0.9rem;
}
.compare-table thead th {
  background: var(--bg-elevated);
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 600;
}
.compare-table thead img {
  width: 100%;
  max-width: 170px;
  height: 100px;
  object-fit: cover;
  margin-top: 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.compare-table tbody th {
  color: var(--text-mute);
  font-weight: 500;
  width: 130px;
  background: rgba(10, 26, 25, 0.35);
}

/* ---- Property detail ---- */
.property-page { padding: 1.5rem 0 4rem; }
.back-link {
  display: inline-block;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}
.back-link:hover { color: var(--gold-soft); }
.gallery { margin-bottom: 1.75rem; }
.gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--line);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main--empty {
  display: grid;
  place-items: center;
  color: var(--text-mute);
  font-weight: 500;
}
.gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-top: 0.75rem;
}
.gallery__thumb {
  flex: 0 0 92px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--ease), border-color var(--ease);
}
.gallery__thumb.is-active,
.gallery__thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.property-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.78fr;
  gap: 2rem;
  align-items: start;
}
.property-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.property-kicker span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
}
.property-main h1 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.property-loc {
  color: var(--text-mute);
  margin-bottom: 0.85rem;
  font-weight: 400;
}
.property-price {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.property-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.spec-strip div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
}
.spec-strip strong {
  display: block;
  font-size: 1.15rem;
  color: var(--gold-soft);
  font-weight: 600;
}
.spec-strip span {
  color: var(--text-mute);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.block {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}
.block h2 {
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kv { display: grid; gap: 0.7rem; }
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem;
}
.kv dt { color: var(--text-mute); font-weight: 500; font-size: 0.9rem; }
.kv dd { font-weight: 500; }
.amenity-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.amenity-pills li {
  border: 1px solid var(--line);
  color: var(--text-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
}
.links-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.contact-card {
  position: sticky;
  top: calc(var(--header) + 1rem);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.85rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line-strong);
  margin: 0 auto 1rem;
}
.contact-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-soft);
}
.contact-card p {
  color: var(--text-mute);
  margin: 0.35rem 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 300;
}
.contact-card .btn { margin-bottom: 0.5rem; }

.similar { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.similar h2 {
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(10, 26, 25, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobile-cta a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.85rem;
  min-height: 48px;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 5.5rem;
  color: var(--text-mute);
  font-size: 0.86rem;
  background: var(--bg-elevated);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}
.site-footer strong {
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.45rem;
}
.site-footer p { font-weight: 300; max-width: 28ch; line-height: 1.8; }
.site-footer__col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.site-footer__col span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.site-footer__col a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color var(--ease);
}
.site-footer__col a:hover { color: var(--gold-soft); }
.site-footer__copy {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  opacity: 0.7;
  font-size: 0.8rem;
}

.site-nav a em {
  font-style: normal;
  display: inline-block;
  min-width: 1.15rem;
  padding: 0.05rem 0.35rem;
  margin-inline-start: 0.2rem;
  border-radius: 99px;
  background: rgba(198, 163, 90, 0.18);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.site-nav__head {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.site-nav__head strong { color: var(--gold-soft); font-size: 0.95rem; }
.site-nav__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.gallery__main { cursor: zoom-in; position: relative; }
.gallery__zoom-hint {
  position: absolute;
  inset-inline-start: 0.75rem;
  bottom: 0.75rem;
  background: rgba(10, 26, 25, 0.72);
  color: var(--gold-soft);
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  pointer-events: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 88dvh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(10,26,25,0.8);
  color: var(--gold-soft);
  border-radius: var(--radius);
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(10,26,25,0.8);
  color: var(--gold-soft);
  border-radius: var(--radius);
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox__nav--prev { inset-inline-start: 1rem; }
.lightbox__nav--next { inset-inline-end: 1rem; }
body.lightbox-open { overflow: hidden; }

.card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(198,163,90,0.08), transparent 50%),
    var(--bg-elevated);
  color: var(--text-mute);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold-soft);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 55;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text-mute);
}
.empty-state strong {
  display: block;
  color: var(--gold-soft);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.filters-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 70;
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .page-intro h1,
  .listings-hero h1 { max-width: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .listings-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  #filtersOpen { display: inline-flex; }
  .filters {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(330px, 88vw);
    z-index: 80;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    border-radius: 0;
    height: 100dvh;
    overflow: auto;
    top: 0;
  }
  .filters.is-open { transform: translateX(0); }
  .filters-close { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(300px, 86vw);
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 5.5rem 1.15rem 1.5rem;
    background: var(--bg-elevated);
    border-inline-end: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav__head { display: flex; }
  .site-nav a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius);
    color: var(--text-soft);
  }
  .site-nav a.is-active,
  .site-nav a:hover {
    background: rgba(198, 163, 90, 0.08);
    color: var(--gold-soft);
  }
  .site-nav a.is-active::after { display: none; }
  .site-nav .btn-wa {
    margin-top: 0.75rem;
    justify-content: center;
  }
  body.nav-open { overflow: hidden; }
  .cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-header { height: 68px; }
  :root { --header: 68px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer { padding-bottom: 6rem; }
}

/* Theme polish */
.card__body h3 { font-weight: 600; letter-spacing: -0.01em; }
.card__price { color: var(--gold-soft); font-weight: 700; }
.listings-hero h1,
.page-intro h1 { font-weight: 700; letter-spacing: -0.02em; }
.btn-wa {
  background: rgba(212, 176, 106, 0.06) !important;
}
.btn-wa:hover {
  background: rgba(212, 176, 106, 0.14) !important;
}
.site-footer {
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(212, 176, 106, 0.06), transparent 70%),
    var(--bg-elevated);
}
.empty-state {
  background: rgba(0, 0, 0, 0.16);
}
