/* ===========================================================================
   Nusa Properindo — design system
   Palet: hijau hutan, kertas gading, kuningan. Tipografi: Fraunces + Jakarta.
   =========================================================================== */

:root {
  --ink: #111a17;
  --ink-2: #2f3c37;
  --muted: #6d7a74;
  --paper: #fbf9f5;
  --paper-2: #f3eee5;
  --paper-3: #ebe3d6;
  --line: #e3dacb;
  --line-2: #d2c6b3;
  --green: #16271f;
  --green-2: #20382e;
  --brass: #a67c43;
  --brass-dark: #8c6631;
  --brass-soft: #f0e6d4;
  --danger: #a23a2a;
  --ok: #2f6b4f;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(17, 26, 23, 0.04), 0 18px 40px -28px rgba(17, 26, 23, 0.35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
svg { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.018em;
  font-optical-sizing: auto;
}

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.shell {
  width: min(100% - 48px, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.ic { width: 20px; height: 20px; flex: none; }

/* ---------- tipografi bantu ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow--light { color: #dcc6a3; }
.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.section-title {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  max-width: 24ch;
}

.lede {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.lede--wide { max-width: 62ch; font-size: 16.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.text-link .ic { width: 15px; height: 15px; transition: transform 0.25s; }
.text-link:hover { color: var(--brass); border-color: var(--brass); }
.text-link:hover .ic { transform: translateX(3px); }
.text-link--sm { font-size: 10.5px; }

.muted { color: var(--muted); }

/* ---------- tombol ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}
.btn .ic { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-dark); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.42); color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); }
.btn-wa { background: var(--green-2); color: #fff; }
.btn-wa:hover { background: #2a4a3c; }
.btn-sm { padding: 10px 16px; font-size: 11.5px; }
.btn-xs { padding: 7px 10px; font-size: 10.5px; letter-spacing: 0.03em; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.has-solid-head .site-head {
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-head.is-stuck {
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(17, 26, 23, 0.6);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { color: var(--brass); }
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-optical-sizing: auto;
}
.brand-name em {
  font-style: italic;
  font-weight: 300;
  margin-left: 5px;
}
.brand--light { color: #fff; }
.brand--light .brand-mark { color: #c9a877; }

.site-head--over { color: #fff; }
.site-head--over .brand-name { color: #fff; }
.site-head--over .brand-mark { color: #e6d3b4; }
.site-head--over .nav-link { color: rgba(255, 255, 255, 0.86); }
.site-head--over.is-stuck .brand-name { color: var(--ink); }
.site-head--over.is-stuck .brand-mark { color: var(--brass); }
.site-head--over.is-stuck .nav-link { color: var(--ink-2); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right 0.28s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }
.nav-cta { margin-left: 6px; }

.nav-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.has-solid-head .nav-btn,
.site-head.is-stuck .nav-btn { border-color: var(--line-2); color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(90vh, 780px);
  padding: 150px 0 96px;
  overflow: hidden;
  color: #fff;
  background: var(--green);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 19, 15, 0.62) 0%, rgba(9, 19, 15, 0.18) 42%, rgba(9, 19, 15, 0.82) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(9, 19, 15, 0.5), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-title {
  margin: 16px 0 22px;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 18ch;
}
.hero-title em { font-style: italic; color: #f0e2cb; }
.hero-sub {
  max-width: 54ch;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.search-wrap { position: relative; z-index: 8; margin-top: -48px; }

.searchbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  box-shadow: 0 30px 60px -40px rgba(17, 26, 23, 0.55), 0 2px 6px rgba(17, 26, 23, 0.05);
}
.search-fields {
  display: grid;
  grid-template-columns: 168px 1.5fr 0.95fr 0.9fr auto;
  gap: 14px;
  align-items: end;
}
.search-submit { height: 44px; white-space: nowrap; }

/* ---------- field ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.45;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(32, 56, 46, 0.09);
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid { border-color: var(--danger); }
.field-hint { font-size: 11px; color: var(--muted); line-height: 1.5; }
.field-error { font-size: 11px; color: var(--danger); font-weight: 500; }
.req { color: var(--brass); font-style: normal; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field--grow { min-width: 0; }
.field--wide { grid-column: 1 / -1; }

.segment {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--paper-2);
  border-radius: 3px;
  border: 1px solid var(--line);
  height: 44px;
}
.segment label { position: relative; flex: 1; display: flex; }
.segment input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background 0.2s, box-shadow 0.2s;
}
.segment input:checked + span { background: #fff; box-shadow: 0 1px 3px rgba(17, 26, 23, 0.12); font-weight: 600; }
.segment input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: -2px; }

/* ---------- stats strip ---------- */

.stats { border-bottom: 1px solid var(--line); margin-top: 30px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 24px 0 26px; }
.stat { display: flex; flex-direction: column; gap: 3px; padding: 0 30px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-value { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.stat-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- seksi ---------- */

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: 34px 0 clamp(56px, 6vw, 84px); }
.section--paper {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

/* ---------- kartu properti ---------- */

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pcard:hover .pcard-media img { transform: scale(1.045); }
.pcard-tags { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.tag .ic { width: 11px; height: 11px; }
.tag--dark { background: rgba(18, 32, 26, 0.9); color: #fff; }
.tag--new { background: var(--brass); color: #fff; }
.tag--brass { background: var(--brass-soft); color: #6d4f24; }
.tag--line { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }

.pcard-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(17, 26, 23, 0.62);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.pcard-count .ic { width: 12px; height: 12px; }

.pcard-body { padding: 17px 18px 15px; }
.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.pcard-price-note { font-family: var(--sans); font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.pcard-title { margin: 6px 0 8px; font-size: 16.5px; line-height: 1.36; }
.pcard-title a { text-decoration: none; transition: color 0.2s; }
.pcard-title a:hover { color: var(--brass); }
.pcard-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}
.pcard-loc .ic { width: 14px; height: 14px; color: var(--brass); }
.pspecs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.pspecs li { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2); }
.pspecs .ic { width: 14px; height: 14px; color: var(--muted); }
.pspecs b { font-size: 9px; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }

/* ---------- kota ---------- */

.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.city-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green);
  color: #fff;
  text-decoration: none;
}
.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.8s, opacity 0.4s;
}
.city-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 18, 0.05) 30%, rgba(12, 22, 18, 0.85) 100%);
}
.city-body { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.city-name { font-family: var(--serif); font-size: 21px; }
.city-meta { font-size: 10.5px; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.78); }
.city-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s, transform 0.3s;
}
.city-arrow .ic { width: 15px; height: 15px; }
.city-card:hover img { transform: scale(1.05); opacity: 0.95; }
.city-card:hover .city-arrow { opacity: 1; transform: none; }

/* ---------- split / nilai ---------- */

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split-text { color: var(--muted); max-width: 40ch; margin: 0 0 24px; line-height: 1.75; }
.value-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brass);
  padding-top: 3px;
}
.value-item h3 { margin: 0 0 6px; font-size: 18px; }
.value-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- CTA ---------- */

.cta-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 7px;
  background: var(--green);
  color: #fff;
}
.cta-band h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  color: #fff;
  max-width: 20ch;
}
.cta-band p { margin: 0; max-width: 50ch; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.75; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cta-band--paper { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.cta-band--paper h2 { color: var(--ink); }
.cta-band--paper p { color: var(--muted); }

/* ---------- page head ---------- */

.page-head { padding: 132px 0 42px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head--tall { padding-bottom: 54px; }
.page-head h1 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.35rem); max-width: 24ch; }
.page-head .lede { margin-top: 4px; }
.display {
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 26ch;
}
.display em { font-style: italic; color: var(--brass); }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.page-head-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  flex: none;
}
.page-head-count span { font-family: var(--serif); font-size: 38px; line-height: 1; }
.page-head-count small { margin-top: 6px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--ink); }
.crumb-sep { opacity: 0.5; }
.crumbs span[aria-current] { color: var(--ink-2); }

/* ---------- listing ---------- */

.listing-layout { display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 42px; align-items: start; }

.filters { position: sticky; top: 100px; }
.filters-toggle { display: none; }
.filters-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filters-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.filters-head h2 { font-size: 20px; }
.filters-hint { margin: 2px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.filters-hint a { color: var(--ink-2); }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.results-count { margin: 0; font-weight: 600; color: var(--ink-2); font-size: 12.5px; }
.results-sort { letter-spacing: 0.03em; }
.results .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  font-size: 11px;
  color: var(--ink-2);
  text-decoration: none;
  background: #fff;
}
.chip .ic { width: 12px; height: 12px; }
.chip--active { border-color: var(--brass-soft); background: var(--brass-soft); color: #6d4f24; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.page-btn:hover { border-color: var(--ink-2); }
.page-btn.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.page-btn .ic { width: 15px; height: 15px; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 70px 24px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: #fff;
}
.empty-state > .ic { width: 34px; height: 34px; color: var(--brass); }
.empty-state h2 { font-size: 24px; }
.empty-state p { margin: 0; color: var(--muted); max-width: 44ch; font-size: 14px; }
.empty-state--page { border: 0; padding: 40px 0 90px; }
.empty-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- detail ---------- */

.detail-top { padding-top: 108px; }
.detail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 20px 0 24px; }
.detail-head h1 { margin: 12px 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.9rem); max-width: 26ch; }
.detail-loc { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 13.5px; }
.detail-loc .ic { width: 16px; height: 16px; color: var(--brass); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-price { flex: none; text-align: right; }
.detail-price-main { display: block; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1; letter-spacing: -0.02em; }
.detail-price-note { display: block; margin-top: 5px; font-size: 11.5px; color: var(--brass); letter-spacing: 0.04em; }
.detail-price-alt { display: block; margin-top: 7px; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }

.gallery { display: grid; grid-template-columns: minmax(0, 1fr) 188px; gap: 10px; height: clamp(340px, 44vw, 540px); }
.gallery-main { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(17, 26, 23, 0.68);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.gallery-badge .ic { width: 13px; height: 13px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumb {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-3);
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.25s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.95; }
.gallery-thumb.is-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--brass); }

.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: clamp(32px, 5vw, 64px); padding: 44px 0 10px; align-items: start; }
.detail-block { padding: 26px 0; border-top: 1px solid var(--line); }
.detail-block:first-child { border-top: 0; padding-top: 0; }
.block-title { margin-bottom: 18px; font-size: 22px; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.spec { display: flex; align-items: center; gap: 10px; padding: 15px 16px; background: #fff; }
.spec .ic { width: 21px; height: 21px; color: var(--brass); }
.spec strong { display: block; font-size: 13.5px; font-weight: 600; }
.spec span { display: block; font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.prose p { max-width: 68ch; margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.feature-list .ic { width: 15px; height: 15px; margin-top: 4px; color: var(--brass); }

.location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.location-text { display: flex; align-items: flex-start; gap: 12px; }
.location-text .ic { width: 20px; height: 20px; color: var(--brass); margin-top: 2px; }
.location-text strong { display: block; font-size: 13.5px; font-weight: 600; }
.location-text span { font-size: 12px; color: var(--muted); }

.detail-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.agent-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--brass-soft);
  color: #6d4f24;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.03em;
}
.avatar--sm { width: 34px; height: 34px; font-size: 12px; }
.agent-id strong { display: block; font-size: 14px; }
.agent-id span { display: block; font-size: 11.5px; color: var(--muted); }
.aside-phone { display: block; margin-top: 10px; text-align: center; font-size: 13px; letter-spacing: 0.03em; color: var(--ink-2); text-decoration: none; }
.aside-phone:hover { color: var(--brass); }
.aside-note { display: flex; gap: 6px; align-items: flex-start; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.aside-note .ic { width: 13px; height: 13px; margin-top: 2px; }
.aside-title { font-size: 19px; margin-bottom: 6px; }
.aside-sub { margin: 0 0 14px; font-size: 12px; color: var(--muted); line-height: 1.65; }

.lead-form { display: flex; flex-direction: column; gap: 12px; }
.form-note { margin: 0; font-size: 10px; line-height: 1.6; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  margin-bottom: 14px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.6;
}
.alert .ic { width: 15px; height: 15px; margin-top: 2px; }
.alert--ok { background: #eef5ef; border: 1px solid #cfe2d5; color: #245c40; }
.alert--err { background: #fbeeea; border: 1px solid #f0d3ca; color: #8d3223; }

/* ---------- tentang ---------- */

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-figure figcaption { margin-top: 10px; font-size: 10.5px; color: var(--muted); }
.about-copy p { max-width: 56ch; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.about-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-stats strong { display: block; font-family: var(--serif); font-size: 28px; line-height: 1; }
.about-stats span { font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principle { padding-top: 22px; border-top: 1px solid var(--line-2); }
.principle h3 { margin: 12px 0 8px; font-size: 18px; }
.principle p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* ---------- kontak ---------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-card { padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .lead-form { gap: 14px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 6px; }
.info-block { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; padding-bottom: 0; }
.info-block h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.info-block p { margin: 0 0 6px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.info-block a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.info-block a:hover { border-color: var(--brass); color: var(--brass); }
.info-muted { color: var(--muted) !important; font-size: 12px !important; }
.info-block--plain p { color: var(--muted); }

/* ---------- footer ---------- */

.site-foot { margin-top: 10px; padding: 62px 0 26px; background: var(--green); color: rgba(255, 255, 255, 0.72); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 46px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-note { max-width: 36ch; margin: 0; font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.62); }
.foot-addr { margin: 14px 0 0; font-size: 11px; line-height: 1.7; color: rgba(255, 255, 255, 0.42); }
.site-foot h4 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.site-foot ul { display: flex; flex-direction: column; gap: 9px; list-style: none; font-size: 12.5px; }
.site-foot a { color: rgba(255, 255, 255, 0.74); text-decoration: none; transition: color 0.2s; }
.site-foot a:hover { color: #fff; }
.foot-contact li { line-height: 1.5; }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
}
.foot-links { display: flex; align-items: center; gap: 8px; }
.foot-sep { opacity: 0.4; }

/* ===========================================================================
   ADMIN
   =========================================================================== */

.admin-body { background: #f4f5f2; }
.admin-shell { display: grid; grid-template-columns: 262px minmax(0, 1fr); min-height: 100vh; }

.admin-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  padding: 26px 18px 20px;
  background: var(--green);
  color: #fff;
}
.admin-brand .brand-name { color: #fff; }
.admin-brand .brand-mark { color: #c9a877; }
.admin-tag {
  margin-top: -8px;
  padding: 12px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.admin-nav-link .ic { width: 16px; height: 16px; opacity: 0.85; }
.admin-nav-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-nav-link.is-active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.admin-badge { margin-left: auto; padding: 2px 6px; border-radius: 10px; background: var(--brass); color: #fff; font-size: 9.5px; font-weight: 600; }
.admin-side-foot { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.admin-side-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 0;
  border-radius: 3px;
  background: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--sans);
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.admin-side-link .ic { width: 15px; height: 15px; }
.admin-side-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-side-note { margin: 14px 12px 0; font-size: 10px; line-height: 1.6; color: rgba(255, 255, 255, 0.3); }

.admin-main { min-width: 0; padding: 32px clamp(20px, 3.2vw, 44px) 64px; }
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #e2e5dd; }
.admin-eyebrow { margin: 0 0 6px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.admin-top h1 { font-size: 30px; }
.admin-sub { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.admin-top-actions { display: flex; gap: 8px; flex: none; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 17px 18px; background: #fff; border: 1px solid #e3e6de; border-radius: var(--radius); }
.stat-card-ic { position: absolute; top: 15px; right: 15px; color: var(--brass); opacity: 0.6; }
.stat-card-ic .ic { width: 17px; height: 17px; }
.stat-card-value { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.stat-card-label { margin-top: 4px; font-size: 12px; font-weight: 600; }
.stat-card-hint { font-size: 10.5px; color: var(--muted); }

.admin-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }

.panel { overflow: hidden; background: #fff; border: 1px solid #e3e6de; border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border-bottom: 1px solid #edefe9; }
.panel-head h2 { font-size: 17px; }
.panel-hint { font-size: 10.5px; color: var(--muted); }
.panel-head--tools { padding: 14px 16px; }
.panel-empty { padding: 22px; margin: 0; font-size: 12px; color: var(--muted); }
.panel-foot { padding: 14px 20px 18px; }
.panel--help { margin-top: 4px; background: var(--paper-2); border-color: var(--line); }
.panel-help-body { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 26px; }
.panel-help-body h2 { margin-bottom: 6px; font-size: 19px; }
.panel-help-body p { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 62ch; line-height: 1.7; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th {
  padding: 9px 16px;
  border-bottom: 1px solid #edefe9;
  background: #fbfbf9;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}
.table td { padding: 11px 16px; border-bottom: 1px solid #f1f3ee; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fdfdfb; }
.table .num, .table th.num, .table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-empty { padding: 34px 20px !important; text-align: center; color: var(--muted); }
.table-empty a { color: var(--brass); }
.actions-cell { text-align: right; white-space: nowrap; }
.table--properties { min-width: 720px; }
.table--leads { min-width: 760px; }

.table-prop { display: flex; align-items: center; gap: 10px; }
.table-prop img { width: 54px; height: 40px; flex: none; border-radius: 2px; object-fit: cover; background: var(--paper-3); }
.table-prop a { display: block; max-width: 290px; overflow: hidden; font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.table td .muted { white-space: nowrap; }
.table td.muted { white-space: nowrap; }
.table-prop a:hover { color: var(--brass); }
.table-prop span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 20px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.pill .ic { width: 10px; height: 10px; }
.pill--ok { background: #eaf3ed; color: #2c6446; }
.pill--muted { background: #eeefeb; color: #6a736d; }
.pill--dark { background: #232f29; color: #f0f2ee; }
.pill--brass { background: var(--brass-soft); color: #6d4f24; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 2px;
  padding: 0;
  border: 1px solid #e3e6de;
  border-radius: 3px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}
.icon-btn .ic { width: 14px; height: 14px; }
.icon-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.icon-btn--danger:hover { border-color: var(--danger); color: var(--danger); background: #fdf3f1; }
.inline-form { display: inline-block; margin: 0; }

.lead-mini-list { list-style: none; padding: 4px 20px 8px; }
.lead-mini { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f1f3ee; }
.lead-mini:last-child { border-bottom: 0; }
.lead-mini.is-done { opacity: 0.55; }
.lead-mini-body { min-width: 0; flex: 1; }
.lead-mini-body strong { display: block; font-size: 12px; }
.lead-mini-body span { display: block; overflow: hidden; font-size: 10.5px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.lead-mini-date { flex: none; font-size: 9.5px; color: var(--muted); }

.lead-person { display: flex; align-items: center; gap: 10px; }
.lead-person strong { display: block; font-size: 12px; }
.lead-person a { font-size: 10.5px; color: var(--muted); text-decoration: none; }
.lead-person a:hover { color: var(--brass); }
.lead-prop { font-size: 11.5px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lead-prop:hover { color: var(--brass); }
.lead-msg { display: block; margin-top: 3px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }

.table-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.search-input { position: relative; display: flex; align-items: center; flex: 1; min-width: 200px; }
.search-input .ic { position: absolute; left: 10px; width: 15px; height: 15px; color: var(--muted); }
.search-input input { width: 100%; padding: 9px 12px 9px 32px; border: 1px solid #e3e6de; border-radius: 3px; font: inherit; font-size: 12px; background: #fff; }
.search-input input:focus { outline: none; border-color: var(--green-2); }
.select-sm { padding: 9px 10px; border: 1px solid #e3e6de; border-radius: 3px; background: #fff; font: inherit; font-size: 12px; }

/* form properti */

.property-form { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 18px; align-items: start; }
.form-main, .form-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form-side { position: sticky; top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid--1 { grid-template-columns: 1fr; }
.panel--sticky { display: flex; flex-direction: column; gap: 8px; padding: 18px; }

.switch-field { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; cursor: pointer; }
.switch-field input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; flex: none; width: 36px; height: 20px; margin-top: 3px; border-radius: 20px; background: #d9dcd4; transition: background 0.2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch-field input:checked + .switch { background: var(--brass); }
.switch-field input:checked + .switch::after { transform: translateX(16px); }
.switch-field input:focus-visible + .switch { outline: 2px solid var(--brass); outline-offset: 2px; }
.switch-text strong { display: block; font-size: 12px; }
.switch-text small { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.5; color: var(--muted); }

.thumb-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; padding: 0 20px 20px; }
.thumb-preview figure { margin: 0; }
.thumb-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--paper-3); }
.thumb-preview figcaption { margin-top: 5px; font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* login */

.login-body { display: grid; place-items: center; min-height: 100vh; padding: 40px 20px; background: var(--paper-2); }
.login-wrap { display: flex; flex-direction: column; gap: 18px; width: min(100%, 412px); }
.login-card { padding: 34px 30px; background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 22px; }
.login-title { margin-bottom: 8px; font-size: 26px; }
.login-sub { margin: 0 0 20px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.login-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.login-note { margin: 16px 0 0; font-size: 10.5px; color: var(--muted); }
.login-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--muted); text-decoration: none; }
.login-back .ic { width: 13px; height: 13px; }
.login-back:hover { color: var(--ink); }
.login-foot { margin: 0; text-align: center; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ===========================================================================
   Responsif
   =========================================================================== */

@media (max-width: 1180px) {
  .search-fields { grid-template-columns: 150px 1.3fr 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; height: 42px; }
  .listing-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 30px; }
  .results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 38px; }
  .property-form { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .admin-shell { grid-template-columns: 226px minmax(0, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-form { grid-template-columns: 1fr; }
  .form-side { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .form-side .panel--sticky { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
    color: var(--ink);
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
  .site-head--over .nav-link { color: var(--ink); }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--brass); }
  .nav-cta { margin: 12px 0 0; }
  .nav-btn { display: inline-flex; }

  .hero { min-height: 78vh; padding: 132px 0 84px; }
  .hero-sub { font-size: 14px; }
  .search-wrap { margin-top: -34px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .searchbar { padding: 16px; }

  .listing-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
  }
  .filters-toggle .ic { width: 15px; height: 15px; }
  .filters-body { display: none; margin-top: 10px; }
  .filters.is-open .filters-body { display: flex; }

  .grid--3, .results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .detail-body { grid-template-columns: 1fr; gap: 30px; }
  .detail-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure img { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; gap: 20px; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: column; gap: 14px; padding: 18px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav-link { padding: 8px 12px; }
  .admin-side-foot { flex-direction: row; align-items: center; gap: 12px; margin-top: 6px; }
  .admin-side-note { display: none; }
  .admin-tag { display: none; }
  .admin-main { padding: 22px 18px 50px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 36px, var(--shell)); }
  .head-row { height: 70px; }
  .nav { top: 68px; }
  .hero { min-height: 74vh; padding: 116px 0 78px; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .search-fields { grid-template-columns: 1fr; }
  .search-submit { grid-column: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .grid--3, .results .grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .city-card { aspect-ratio: 3 / 4; }
  .city-name { font-size: 17px; }
  .page-head { padding-top: 104px; }
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .page-head-count { flex-direction: row; align-items: baseline; gap: 8px; padding: 0; border: 0; }
  .page-head-count span { font-size: 26px; }
  .page-head-count small { margin: 0; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .detail-price { text-align: left; }
  .gallery { grid-template-columns: 1fr; height: auto; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .gallery-thumbs { grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 78px; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .gallery-thumb { height: 60px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .location-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gallery-badge { left: 10px; bottom: 10px; }
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .form-grid { padding: 16px; }
  .form-side { grid-template-columns: 1fr; }
  .thumb-preview { padding: 0 16px 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-top { flex-direction: column; align-items: flex-start; }
  .admin-top-actions { width: 100%; }
  .admin-top-actions .btn { width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .panel-help-body { flex-direction: column; align-items: flex-start; gap: 16px; }
  .panel-help-body .btn { width: 100%; }
  .panel-head { flex-wrap: wrap; }
  .about-stats { gap: 22px; }
  .display { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===========================================================================
   V2 — POLISH
   Motion, depth, dan kenyamanan sentuh untuk 360px sampai 1920px.
   =========================================================================== */

:root {
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(16, 26, 22, 0.04), 0 26px 50px -34px rgba(16, 26, 22, 0.42);
  --shadow-float: 0 24px 70px -34px rgba(16, 26, 22, 0.5);
  --head-stuck: 68px;
}

html { scroll-padding-top: 96px; }
body { -webkit-tap-highlight-color: transparent; }
body.no-scroll { overflow: hidden; }
::selection { background: var(--brass-soft); color: #4a3418; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: #d3c7b4 transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: #d8cdba; border: 3px solid var(--paper); border-radius: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
}

/* gambar: fade-in lembut setelah termuat */
img.is-pending { opacity: 0; }
img.is-loaded { opacity: 1; transition: opacity 0.65s ease; }

/* ---------- header: ringkas saat scroll + progress ---------- */

.head-row { position: relative; transition: height 0.35s var(--ease); }
.site-head.is-stuck .head-row { height: var(--head-stuck); }
.brand-name { transition: font-size 0.35s var(--ease); }
.site-head.is-stuck .brand-name { font-size: 18px; }
.head-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), #ddc5a0);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-head.is-stuck .head-progress { opacity: 1; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-head, .nav-foot { display: none; }
.nav-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(16px + env(safe-area-inset-top)) 24px calc(22px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--paper);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; display: flex; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 10px; }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(26px, 7.6vw, 32px);
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--brass); }
  .nav-cta { height: 48px; margin: 20px 0 0; }
  .nav-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 28px; }
  .nav-foot-label { margin: 0; font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
  .nav-foot-phone { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; }
  .nav-foot .btn { margin-top: 2px; }
  .nav-foot-note { margin: 4px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
  .site-head--over .nav .nav-link { color: var(--ink); }
  .site-head--over .nav .brand-name { color: var(--ink); }
  .site-head--over .nav .brand-mark { color: var(--brass); }
}

/* ---------- hero ---------- */

@media (min-width: 961px) {
  .hero { min-height: min(92vh, 820px); }
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(7, 16, 12, 0.62) 0%, rgba(7, 16, 12, 0.16) 40%, rgba(7, 16, 12, 0.84) 100%),
    radial-gradient(85% 75% at 6% 68%, rgba(6, 14, 11, 0.55), transparent 62%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: heroDrift 28s ease-out both; }
}

@keyframes heroDrift {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.hero-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  bottom: 96px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.hero-cue .ic {
  width: 38px;
  height: 38px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  transform: rotate(90deg);
}
.hero-cue:hover { color: #fff; }
.hero-cue:hover .ic { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); transform: rotate(90deg) translateY(4px); }

@media (max-width: 960px) {
  .hero-cue { display: none; }
}

/* ---------- pencarian: kota populer ---------- */

.search-quick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.search-quick-label { font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.search-quick a {
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--ink-2);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.search-quick a:hover { color: var(--brass); border-color: var(--brass); }
.search-quick-all { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 10.5px; letter-spacing: 0.06em; }
.search-quick-all .ic { width: 13px; height: 13px; }

/* ---------- kartu properti ---------- */

.pcard { position: relative; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pcard-media { background: linear-gradient(120deg, #efe9dd, #f8f3ea 48%, #eee7da); }
.pcard-media img { transition: transform 0.9s var(--ease), opacity 0.65s ease; }
.pcard-media:has(img.is-pending)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, 0.6) 48%, transparent 74%);
  animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
  from { transform: translateX(-70%); }
  to { transform: translateX(70%); }
}
.pcard-tags, .pcard-count { z-index: 2; }
.pcard-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  backdrop-filter: blur(6px);
}
.pcard-arrow .ic { width: 15px; height: 15px; }
.pcard:hover .pcard-arrow { opacity: 1; transform: none; }
@media (hover: none) { .pcard-arrow { display: none; } }

.pcard-title a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: background-size 0.35s var(--ease), color 0.2s; }
.pcard-title a:hover { color: var(--brass); background-size: 100% 1px; }

/* rel kartu geser di ponsel */
@media (max-width: 720px) {
  .rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 12px;
    margin-inline: -18px;
    padding: 2px 18px 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
}

/* ---------- reveal saat masuk viewport ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.pcard.reveal-fade { opacity: 0; transition: opacity 0.7s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.pcard.reveal-fade.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .pcard.reveal-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { animation: none !important; }
}

/* ---------- listing: bottom sheet filter + bar lengket ---------- */

.filters-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--brass);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
}
.filters-scrim { display: none; }
.sheet-head { display: none; }

@media (max-width: 960px) {
  .results-bar {
    position: sticky;
    top: 62px;
    z-index: 30;
    margin: 0 0 14px;
    padding: 10px 0;
    background: rgba(251, 249, 245, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .filters-toggle { justify-content: space-between; gap: 10px; padding-inline: 14px; }
  .filters-toggle > span:first-of-type { flex: 1; }
  .filters-count { margin-left: auto; }

  .filters-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 18, 14, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .filters.is-open .filters-scrim { opacity: 1; pointer-events: auto; }

  .filters-body {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 88vh;
    margin: 0;
    padding: 18px 20px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -30px 70px -30px rgba(10, 18, 14, 0.55);
    visibility: hidden;
    transform: translateY(104%);
    transition: transform 0.38s var(--ease), visibility 0.38s;
  }
  .filters.is-open .filters-body { visibility: visible; transform: none; }
  .filters-head { display: none; }
  .sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 20px;
  }
  .sheet-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--ink);
    cursor: pointer;
  }
  .sheet-close .ic { width: 16px; height: 16px; }
  .filters-actions {
    position: sticky;
    bottom: -18px;
    margin: 0 -20px -16px;
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(251, 249, 245, 0), var(--paper) 35%);
  }
  .filters-hint { display: none; }
}

/* ---------- detail ---------- */

.tags-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: #fff;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.share-btn .ic { width: 13px; height: 13px; }
.share-btn:hover { border-color: var(--brass); color: var(--brass); }

.gallery-trigger { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-trigger img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badge { z-index: 2; }
.gallery-all {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 3px;
  background: rgba(16, 26, 22, 0.45);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.gallery-all .ic { width: 13px; height: 13px; }
.gallery-all:hover { background: rgba(16, 26, 22, 0.72); }
.gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(16, 26, 22, 0.55);
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
}
.gallery-dots { display: none; }

@media (max-width: 720px) {
  .gallery-thumbs { display: none; }
  .gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
  }
  .gallery-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
  }
  .gallery-dots button.is-active { width: 18px; border-radius: 3px; background: #fff; }
  .gallery-all { display: none; }
  .gallery-badge { left: 12px; bottom: 12px; }
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 13, 10, 0.94);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox-panel { position: relative; display: grid; place-items: center; max-width: min(1180px, 94vw); }
.lightbox-panel img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 84vh;
  border-radius: 4px;
  object-fit: contain;
  box-shadow: 0 40px 90px -40px #000;
}
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-btn .ic { width: 18px; height: 18px; }
.lightbox-close { top: -8px; right: -8px; }
.lightbox-prev { left: -58px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -58px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%); font-size: 10.5px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.65); }

@media (max-width: 720px) {
  .lightbox { padding: 14px; }
  .lightbox-close { top: -48px; right: 0; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-count { bottom: -26px; }
}

/* CTA lengket di detail (ponsel) */

.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 249, 245, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 34px -26px rgba(16, 26, 22, 0.55);
    backdrop-filter: blur(14px);
  }
  .mobile-cta-info span { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.15; }
  .mobile-cta-info small { display: block; overflow: hidden; font-size: 9.5px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
  .mobile-cta .btn { min-height: 40px; padding: 10px 13px; }
  .detail-body { padding-bottom: 100px; }
}

/* simulasi KPR */

.detail-block.kpr {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf9, #fbf7ef);
}
.kpr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.kpr-lede { margin: 0; max-width: 52ch; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.kpr-badge { flex: none; padding: 5px 9px; border-radius: 20px; background: var(--brass-soft); color: #6d4f24; font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.kpr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kpr-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.kpr-result-label { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kpr-result strong { display: block; margin: 3px 0 2px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 400; line-height: 1.1; }
.kpr-result small { font-size: 11px; color: var(--muted); }
.kpr-note { margin: 14px 0 0; font-size: 10px; line-height: 1.6; color: var(--muted); }

@media (max-width: 720px) {
  .kpr { padding: 20px !important; }
  .kpr-grid { grid-template-columns: 1fr 1fr; }
  .kpr-result { flex-direction: column; align-items: flex-start; }
  .kpr-result .btn { width: 100%; }
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 150;
  max-width: 88vw;
  padding: 11px 18px;
  border-radius: 30px;
  background: rgba(16, 26, 22, 0.94);
  color: #fff;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
  backdrop-filter: blur(8px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- admin: simpan lengket di mobile ---------- */

.form-sticky { display: none; }
@media (max-width: 1024px) {
  .form-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 249, 245, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 34px -26px rgba(16, 26, 22, 0.5);
    backdrop-filter: blur(12px);
  }
  .admin-content { padding-bottom: 88px; }
}

/* ---------- sentuhan akhir per breakpoint ---------- */

@media (max-width: 960px) {
  .btn { min-height: 44px; }
  .chip { min-height: 34px; }
  .page-head { padding-top: 108px; }
}

@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .stats-row { gap: 20px 0; }
  .pcard-price { font-size: 19px; }
  .search-quick { flex-wrap: nowrap; gap: 14px; margin-inline: -2px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .search-quick::-webkit-scrollbar { display: none; }
  .search-quick a { flex: none; }
  .search-quick-all { flex: none; margin-left: 4px; }
  .hero { padding-bottom: 88px; }
  .detail-head h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .block-title { font-size: 20px; }
}

@media (max-width: 400px) {
  .shell { width: calc(100% - 32px); }
  .rail { margin-inline: -16px; padding-inline: 16px; grid-auto-columns: 86%; }
  .searchbar { padding: 14px; }
  .search-fields { gap: 12px; }
  .mobile-cta { padding-inline: 12px; gap: 6px; }
  .mobile-cta .btn { padding: 9px 10px; font-size: 10.5px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 70px; }
  .hero-title { font-size: clamp(2rem, 5vw, 2.8rem); }
}


/* ruang untuk CTA lengket di halaman detail */
@media (max-width: 960px) {
  main:has(.mobile-cta) { padding-bottom: 78px; }
}

/* daftar filter yang bisa digulir di dalam sheet */
.filters-scroll { display: flex; flex-direction: column; gap: 14px; min-height: 0; }

@media (max-width: 960px) {
  .filters-body {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    overflow: hidden;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .filters-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 6px 10px 0;
    margin-right: -6px;
  }
  .filters-actions {
    position: static;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    background: none;
  }
}

.kpr-result small { white-space: pre-line; }

@media (max-width: 960px) {
  body:has(.mobile-cta) .site-foot { padding-bottom: calc(30px + 78px); }
}

/* ---------- tim, lokasi privat, titip listing ---------- */

.avatar--team { background: var(--green); color: #dcc6a3; }
.avatar--team .brand-mark { width: 20px; height: 20px; color: #dcc6a3; }

.location-private {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  background: var(--paper-2);
}
.location-private .ic { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: 2px; }
.location-private strong { display: block; font-size: 13.5px; }
.location-private span { display: block; margin-top: 3px; max-width: 62ch; font-size: 12px; line-height: 1.6; color: var(--muted); }

.request-grid { align-items: start; }
.steps { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.steps li > span { padding-top: 2px; font-family: var(--serif); font-size: 12px; color: var(--brass); }
.steps strong { display: block; font-size: 13px; }
.steps p { margin: 2px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }

.req-type { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.req-map { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 10.5px; color: var(--brass); text-decoration: none; }
.req-map .ic { width: 12px; height: 12px; }
.select-xs { padding: 6px 8px; border: 1px solid #e3e6de; border-radius: 3px; background: #fff; font: inherit; font-size: 11px; }
.status-form { display: inline-flex; gap: 4px; align-items: center; margin-left: 2px; }
.table--requests { min-width: 880px; }
.request-help { margin-top: 18px; }

/* ---------- kontak dinamis (publik) ---------- */

.contact-select { margin-bottom: 12px; }
.contact-actions { display: flex; flex-direction: column; gap: 8px; }
.contact-current { margin: 12px 0 0; text-align: center; font-size: 10.5px; letter-spacing: 0.03em; color: var(--muted); }

.contact-list { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.contact-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.contact-list-info strong { display: block; font-size: 12.5px; }
.contact-list-info span { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted); }
.contact-list-actions { display: flex; gap: 6px; }

/* ---------- pengaturan (admin) ---------- */

.settings-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 18px; margin-bottom: 18px; align-items: start; }
.settings-preview-body { padding: 20px; }
.preview-phone { display: block; margin: 4px 0 2px; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.preview-label { font-size: 11px; color: var(--brass); }
.preview-text { margin: 10px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }

.contact-admin-list { display: flex; flex-direction: column; }
.contact-admin-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid #f1f3ee; }
.contact-admin-row:last-child { border-bottom: 0; }
.contact-edit { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.contact-edit .field { flex: 1 1 140px; }
.contact-edit .contact-flags { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.contact-edit > .btn { flex: none; }
.contact-flags .check { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--brass); }
.contact-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 18px; flex: none; }

.contact-add { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 20px 20px; align-items: flex-end; }
.contact-add .field { flex: 1 1 170px; }
.contact-add .contact-flags { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 14px; }
.contact-add > .btn { flex: none; }

@media (max-width: 1024px) {
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .contact-admin-row { flex-direction: column; align-items: stretch; }
  .contact-row-side { flex-direction: row; align-items: center; justify-content: flex-end; padding-top: 0; }
  .contact-edit .field, .contact-add .field { flex: 1 1 100%; }
  .contact-edit > .btn, .contact-add > .btn { width: 100%; }
}

/* ===========================================================================
   V4 — REDESIGN “Warm & Soft”
   Arah: portal properti modern, nyaman dibaca, kartu membulat, foto besar,
   pencarian pill, dan navigasi bawah di ponsel.
   =========================================================================== */

:root {
  --ink: #1b2a24;
  --ink-2: #33433b;
  --muted: #6a776f;
  --paper: #f6f2ea;
  --paper-2: #efe9de;
  --paper-3: #e4dccd;
  --surface: #fffdf9;
  --line: #e6dfd3;
  --line-2: #d5cab8;
  --green: #173a2e;
  --green-2: #1f4b3d;
  --brass: #b98a55;
  --brass-dark: #9c7240;
  --brass-soft: #f1e5d3;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 2px 4px rgba(27, 42, 36, 0.03), 0 30px 60px -42px rgba(27, 42, 36, 0.4);
  --shadow-soft: 0 1px 2px rgba(27, 42, 36, 0.04), 0 18px 40px -30px rgba(27, 42, 36, 0.28);
  --head-h: 64px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

::selection { background: var(--brass-soft); color: #4a3418; }
h1, h2, h3 { letter-spacing: -0.02em; }
.section-title { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; }

/* ---------- header: pill mengambang ---------- */

.site-head,
.has-solid-head .site-head,
.site-head.is-stuck {
  top: 12px;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-head .head-row,
.site-head.is-stuck .head-row {
  width: min(100% - 32px, 1240px);
  height: 64px;
  padding: 0 10px 0 22px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(27, 42, 36, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 34px -28px rgba(27, 42, 36, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: height 0.3s var(--ease), background 0.3s;
}
.site-head.is-stuck .head-row {
  height: 58px;
  background: rgba(255, 253, 249, 0.96);
}

.site-head--over { color: var(--ink); }
.site-head--over .brand-name,
.site-head--over.is-stuck .brand-name { color: var(--ink); }
.site-head--over .brand-mark,
.site-head--over.is-stuck .brand-mark { color: var(--brass); }
.site-head--over .nav-link,
.site-head--over.is-stuck .nav-link { color: var(--ink-2); }
.brand-name { font-size: 19px; }
.site-head.is-stuck .brand-name { font-size: 18px; }

.nav { gap: 26px; }
.nav-link { font-size: 12.5px; color: var(--ink-2); }
.nav-link::after { background: var(--brass); height: 2px; border-radius: 2px; }
.nav-cta { padding: 11px 18px; }
.head-progress { display: none; }

.nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border-color: var(--line);
  color: var(--ink);
}

/* hero: kartu foto besar dengan sudut membulat */

.hero {
  width: min(100% - 32px, 1400px);
  margin: 92px auto 0;
  min-height: min(80vh, 720px);
  padding: 160px 0 96px;
  border-radius: 32px;
  overflow: hidden;
}
.hero::after {
  background:
    linear-gradient(180deg, rgba(9, 20, 15, 0.22) 0%, rgba(9, 20, 15, 0.12) 38%, rgba(9, 20, 15, 0.74) 100%),
    radial-gradient(80% 70% at 8% 70%, rgba(9, 20, 15, 0.45), transparent 62%);
}
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.7rem); max-width: 17ch; }
.hero-sub { max-width: 52ch; color: rgba(255, 255, 255, 0.86); }

.eyebrow {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brass-dark);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.eyebrow--light {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* pencarian pill */

.search-wrap { margin-top: -54px; }
.searchbar {
  padding: 14px;
  border: 1px solid rgba(27, 42, 36, 0.08);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 30px 70px -40px rgba(27, 42, 36, 0.6);
}
.search-fields { gap: 10px; }
.searchbar .field input,
.searchbar .field select {
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border-color: var(--line);
  background: #fff;
  font-size: 13.5px;
}
.searchbar .segment {
  height: 46px;
  border-radius: 14px;
  background: var(--paper-2);
  border-color: transparent;
}
.searchbar .segment span { font-size: 12.5px; border-radius: 10px; }
.searchbar .search-submit { height: 46px; border-radius: 999px; padding-inline: 22px; }

.search-quick { border-top-color: var(--line); gap: 8px 14px; }
.search-quick a { font-size: 12px; color: var(--ink-2); }
.search-quick-label { color: var(--muted); }

/* strip kategori */

.cat-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip-label {
  flex: none;
  margin-right: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.cat-pill .ic { width: 15px; height: 15px; color: var(--brass); }
.cat-pill:hover { border-color: var(--brass); color: var(--ink); transform: translateY(-1px); }

/* stats */

.stats { border-bottom-color: var(--line); margin-top: 26px; }
.stat-value { font-size: 30px; }

/* kartu properti */

.grid { gap: 20px; }

.pcard {
  padding: 8px;
  background: var(--surface);
  border: 1px solid rgba(27, 42, 36, 0.07);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(27, 42, 36, 0.03);
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 42, 36, 0.12);
  box-shadow: 0 2px 4px rgba(27, 42, 36, 0.03), 0 34px 60px -40px rgba(27, 42, 36, 0.45);
}
.pcard-media { border-radius: 18px; aspect-ratio: 4 / 3; }
.pcard-body { padding: 14px 10px 10px; }
.pcard-price {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.pcard-price-note { font-size: 10.5px; }
.pcard-title {
  margin: 7px 0 9px;
  min-height: 42px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0;
}
.pcard-loc { margin-bottom: 12px; font-size: 12px; }
.pspecs { gap: 5px; padding-top: 0; border-top: 0; }
.pspecs li {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 10.5px;
}
.pspecs .ic { width: 13px; height: 13px; }
.tag { padding: 6px 10px; border-radius: 999px; font-size: 9px; letter-spacing: 0.1em; }
.pcard-tags { top: 12px; left: 12px; gap: 6px; }
.pcard-count { right: 12px; bottom: 12px; border-radius: 999px; }

/* kota */

.city-grid { gap: 16px; }
.city-card { border-radius: 24px; }
.city-name { font-size: 21px; }
.city-card::after { background: linear-gradient(180deg, rgba(12, 22, 18, 0.02) 30%, rgba(12, 22, 18, 0.82) 100%); }

/* nilai */

.value-list { display: grid; gap: 12px; }
.value-item {
  grid-template-columns: 38px 1fr;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-item h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.value-no { font-size: 12px; }

/* CTA */

.cta-band {
  padding: clamp(32px, 4.6vw, 60px);
  border-radius: 32px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(185, 138, 85, 0.22), transparent 55%),
    var(--green);
}
.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* judul halaman */

.page-head { padding: 128px 0 40px; border-bottom-color: var(--line); }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.display { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.page-head-count span { font-size: 34px; }
.crumbs { font-size: 11px; }

/* listing */

.listing-layout { grid-template-columns: 284px minmax(0, 1fr); gap: 32px; }
.filters-body {
  padding: 20px;
  border-radius: 24px;
  border-color: rgba(27, 42, 36, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.filters-head h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.filters-body .field input,
.filters-body .field select { border-radius: 12px; }
.filters-toggle { border-radius: 999px; border-color: var(--line); background: var(--surface); }
.results-bar { border-bottom-color: var(--line); }
.chip { border-radius: 999px; background: var(--surface); }
.page-btn { border-radius: 12px; border-color: var(--line); background: var(--surface); }
.page-btn.is-active { background: var(--green); border-color: var(--green); }
.empty-state { border-radius: 24px; background: var(--surface); }

/* detail */

.detail-top { padding-top: 112px; }
.gallery-main { border-radius: 26px; }
.gallery-thumb { border-radius: 16px; }
.gallery-all { border-radius: 999px; }
.share-btn { border-radius: 999px; background: var(--surface); }
.spec-grid { border-radius: 20px; border-color: var(--line); background: var(--line); }
.spec { padding: 16px; }
.detail-block { border-top-color: var(--line); }
.aside-card {
  border-radius: 24px;
  border-color: rgba(27, 42, 36, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.contact-actions .btn { border-radius: 999px; }
.location-card { border-radius: 18px; background: var(--paper-2); }
.detail-block.kpr { border-radius: 24px; background: linear-gradient(180deg, #fffdf9, #f8f3e9); }
.kpr-result strong { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.feature-list li { font-size: 13.5px; }
.block-title { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }

/* footer */

.site-foot {
  margin-top: 48px;
  padding: 64px 0 28px;
  border-radius: 32px 32px 0 0;
  background: var(--green);
}
.foot-grid { gap: 40px; }
.foot-bottom { margin-top: 44px; }

/* tombol global */

.btn { border-radius: 999px; padding: 13px 22px; }
.btn-sm { padding: 10px 16px; }
.btn-xs { padding: 7px 11px; }
.form-note { color: var(--muted); }

/* ---------- navigasi bawah ponsel ---------- */

.mobile-nav { display: none; }

@media (max-width: 960px) {
  .mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 72;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 7px;
    background: rgba(255, 253, 249, 0.94);
    border: 1px solid rgba(27, 42, 36, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px -26px rgba(27, 42, 36, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-nav-link.is-active { background: var(--paper-2); color: var(--ink); }
  .mobile-nav-ic .ic { width: 20px; height: 20px; }
  .site-foot { padding-bottom: calc(30px + 92px); }
  body:has(.mobile-cta) .mobile-nav { display: none; }
  body.no-scroll .mobile-nav { opacity: 0; pointer-events: none; }
}

/* ---------- admin selaras dengan sistem baru ---------- */

.admin-body { background: #f4f1ea; color: var(--ink); }
.admin-side { background: #152c23; }
.admin-body .panel { border-radius: 18px; border-color: #e6dfd3; background: var(--surface); }
.admin-body .stat-card { border-radius: 18px; border-color: #e6dfd3; background: var(--surface); }
.admin-body .btn { border-radius: 12px; }
.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea { border-radius: 10px; }
.admin-body .search-input input,
.admin-body .select-sm { border-radius: 10px; }
.admin-body .icon-btn { border-radius: 10px; }
.admin-body .admin-nav-link { border-radius: 10px; }
.admin-body .table th { background: #faf7f0; }
.admin-body .pill { border-radius: 999px; }
.admin-body .form-side .panel--sticky { border-radius: 18px; }

/* ---------- penyesuaian responsif ---------- */

@media (max-width: 1180px) {
  .listing-layout { grid-template-columns: 256px minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 960px) {
  .site-head { top: 10px; }
  .site-head .head-row,
  .site-head.is-stuck .head-row {
    width: calc(100% - 24px);
    height: 58px;
    padding: 0 8px 0 16px;
  }
  .brand-name { font-size: 17px; }
  .hero {
    width: calc(100% - 24px);
    margin-top: 84px;
    min-height: 74vh;
    padding: 140px 0 88px;
    border-radius: 26px;
  }
  .hero-title { font-size: clamp(2.1rem, 7.2vw, 3rem); }
  .search-wrap { margin-top: -40px; }
  .searchbar { border-radius: 22px; padding: 12px; }
  .page-head { padding-top: 108px; }
  .detail-top { padding-top: 100px; }
  .gallery-main { border-radius: 22px; }
}

@media (max-width: 720px) {
  .hero {
    width: calc(100% - 20px);
    margin-top: 80px;
    border-radius: 22px;
    min-height: 70vh;
    padding: 128px 0 80px;
  }
  .hero-title { font-size: clamp(1.95rem, 8.4vw, 2.6rem); }
  .cat-strip { margin-inline: -18px; padding-inline: 18px; }
  .section { padding: 52px 0; }
  .pcard { padding: 7px; border-radius: 20px; }
  .pcard-media { border-radius: 15px; }
  .pcard-body { padding: 12px 8px 8px; }
  .pcard-title { min-height: 0; font-size: 14.5px; }
  .cat-strip-label { display: none; }
  .btn { min-height: 44px; }
  .site-foot { border-radius: 26px 26px 0 0; padding-top: 48px; }
  .admin-body .admin-side { border-radius: 0; }
}

/* ---------- penyempurnaan v4.1 ---------- */

.hero-title { max-width: 30ch; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.detail-head > div:first-child { flex: 1; min-width: 0; }

@media (max-width: 960px) {
  body.has-hero .mobile-nav {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s;
  }
  body.has-hero .mobile-nav.is-visible {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 720px) {
  .hero { min-height: 60vh; padding: 112px 0 74px; }
  .hero-title { font-size: clamp(1.95rem, 8vw, 2.5rem); max-width: none; }
  .search-wrap { margin-top: -28px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .field--segment,
  .search-fields .field--grow,
  .search-fields .search-submit { grid-column: 1 / -1; }
}

/* ===========================================================================
   V5 — REBUILD “Coastal Editorial”
   Split hero, header bar penuh, palet pine–clay, tipografi Manrope,
   dan alur baca yang lapang.
   =========================================================================== */

:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d8;
  --paper-3: #e3d7c4;
  --surface: #fffcf6;
  --ink: #16241e;
  --ink-2: #34453c;
  --muted: #6b776f;
  --line: #e5dac8;
  --line-2: #d2c3ae;
  --green: #0f3b31;
  --green-2: #164c3f;
  --brass: #c2764c;
  --brass-dark: #a45f37;
  --brass-soft: #f5e2d3;
  --radius: 20px;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 2px 4px rgba(22, 36, 30, 0.03), 0 30px 60px -42px rgba(22, 36, 30, 0.4);
  --shadow-soft: 0 1px 2px rgba(22, 36, 30, 0.04), 0 18px 40px -30px rgba(22, 36, 30, 0.28);
}

body { background: var(--paper); font-family: var(--sans); }
.section-title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }

/* header bar penuh */

.site-head,
.has-solid-head .site-head,
.site-head.is-stuck {
  top: 0;
  background: rgba(247, 242, 232, 0.92);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-head .head-row,
.site-head.is-stuck .head-row {
  width: min(100% - 48px, 1240px);
  height: 76px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.brand-name { font-size: 20px; }
.site-head.is-stuck .brand-name { font-size: 19px; }
.site-head--over .brand-name,
.site-head--over .nav-link { color: var(--ink); }
.site-head--over .brand-mark { color: var(--brass); }
.nav { gap: 28px; }
.nav-link { font-size: 13px; color: var(--ink-2); }
.nav-cta { padding: 12px 20px; }

/* split hero */

.hero-split {
  padding: 122px 0 6px;
  background:
    radial-gradient(900px 420px at 88% -10%, #fdf8ef 0%, rgba(253, 248, 239, 0) 70%),
    var(--paper);
}
.hero-split-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  max-width: 15ch;
  margin: 18px 0 20px;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero-title em { color: var(--brass-dark); font-style: italic; }
.hero-sub {
  max-width: 46ch;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-trust strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.hero-trust span {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-visual { position: relative; z-index: 0; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.hero-visual img {
  width: 100%;
  max-height: 600px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 30px;
}
.hero-visual-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.92);
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-visual-badge .ic { width: 13px; height: 13px; color: var(--brass); }
.hero-float {
  position: absolute;
  left: -28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(290px, 78%);
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 30px 60px -34px rgba(22, 36, 30, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.hero-float:hover { transform: translateY(-3px); }
.hero-float-eyebrow { font-size: 8.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dark); }
.hero-float strong { padding-right: 26px; font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.3; }
.hero-float-meta { font-size: 11px; color: var(--muted); }
.hero-float-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
}
.hero-float-arrow .ic { width: 14px; height: 14px; }

/* pencarian di bawah hero */

.search-dock { position: relative; z-index: 5; margin-top: 24px; }
.search-dock .searchbar {
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 26px 60px -42px rgba(22, 36, 30, 0.55);
}
.search-dock .field input,
.search-dock .field select { height: 46px; border-radius: 13px; }

/* kategori sebagai tile */

.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 24px;
  overflow: visible;
}
.cat-strip-label { display: none; }
.cat-pill {
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 18px 10px;
  border-radius: 18px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}
.cat-pill .ic { width: 22px; height: 22px; }

/* seksi & kartu */

.section { padding: 76px 0; }
.section--paper { background: var(--paper-2); border: 0; }

.pcard { padding: 0; overflow: hidden; border-radius: 20px; }
.pcard-media { border-radius: 0; aspect-ratio: 3 / 2; }
.pcard-body { padding: 16px 16px 14px; }
.pcard-price { font-size: 20px; }
.pcard-title { min-height: 0; font-size: 15.5px; }
.pcard-loc { margin-bottom: 12px; }
.pcard:hover { transform: translateY(-3px); }

.city-grid { gap: 14px; }
.city-card { aspect-ratio: 4 / 3; border-radius: 20px; }
.city-name { font-size: 20px; }

.split { display: block; }
.split-intro { max-width: 64ch; margin-bottom: 30px; }
.split-text { max-width: 56ch; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value-item { grid-template-columns: 34px 1fr; padding: 20px; }

.cta-band {
  border-radius: 26px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(194, 118, 76, 0.28), transparent 55%),
    var(--green);
}

/* halaman */

.page-head { padding: 132px 0 38px; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.detail-top { padding-top: 112px; }

/* listing */

.filters-body { border-radius: 20px; }
.filters-head h2 { font-size: 15px; }
.results-bar { margin-bottom: 20px; }

/* galeri detail: 1 besar + 2 tumpuk */

.gallery { grid-template-columns: minmax(0, 1fr) 300px; height: clamp(340px, 42vw, 520px); }
.gallery-main { border-radius: 22px; }
.gallery-thumbs { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.gallery-thumb { flex: none; border-radius: 14px; }
.aside-card { border-radius: 20px; }
.detail-block.kpr { border-radius: 20px; }

/* footer */

.site-foot { border-radius: 28px 28px 0 0; background: var(--green); }
.foot-grid { gap: 40px; }

/* mobile */

@media (max-width: 960px) {
  .site-head .head-row,
  .site-head.is-stuck .head-row { width: calc(100% - 32px); height: 64px; }
  .hero-split { padding: 96px 0 4px; }
  .hero-split-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { max-width: 18ch; }
  .hero-visual::before { display: none; }
  .hero-visual img { aspect-ratio: 4 / 3; max-height: 420px; }
  .hero-float { left: 14px; bottom: 14px; width: min(260px, 74%); }
  .cat-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -18px;
    padding-inline: 18px;
  }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-pill { flex: none; min-width: 96px; flex-direction: row; gap: 7px; padding: 12px 14px; }
  .cat-pill .ic { width: 17px; height: 17px; }
  .value-list { grid-template-columns: 1fr; }
  .page-head { padding-top: 108px; }
  .detail-top { padding-top: 100px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { display: none; }
}

@media (max-width: 720px) {
  .hero-split { padding: 88px 0 2px; }
  .hero-title { font-size: clamp(2rem, 8.2vw, 2.6rem); max-width: none; }
  .hero-sub { font-size: 14.5px; }
  .hero-trust { gap: 22px; }
  .hero-float { display: none; }
  .hero-visual img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .hero-visual-badge { top: 12px; left: 12px; }
  .search-dock { margin-top: 18px; }
  .section { padding: 52px 0; }
  .pcard-media { aspect-ratio: 3 / 2; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-card { aspect-ratio: 4 / 3; }
  .city-name { font-size: 17px; }
  .site-foot { border-radius: 22px 22px 0 0; }
}

/* v5.1 — susun ulang hero agar pencarian di atas foto pada ponsel */
.hero-split { padding-bottom: 44px; }
.hero-split-inner {
  grid-template-areas: 'copy visual' 'search search';
  gap: 36px 56px;
}
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; }
.search-dock { grid-area: search; margin-top: 0; }

@media (max-width: 960px) {
  .hero-split { padding-bottom: 30px; }
  .hero-split-inner {
    grid-template-areas: 'copy' 'search' 'visual';
    gap: 24px;
  }
  .search-dock { margin-top: 0; }
}

/* v5.2 — cegah chip nowrap melebarkan grid */
.hero-split-inner,
.search-dock,
.searchbar,
.search-fields,
.hero-copy,
.hero-visual { min-width: 0; }
.search-dock, .searchbar { max-width: 100%; }
.search-quick { max-width: 100%; }

/* v5.3 — kunci overflow horizontal di ponsel (filter sheet tersembunyi) */
@media (max-width: 960px) {
  html, body { overflow-x: hidden; }
  @supports (overflow: clip) {
    html, body { overflow-x: clip; }
  }
}

/* v5.4 — katalog satu kolom di ponsel */
@media (max-width: 960px) {
  .listing-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .results { min-width: 0; }
  .results-bar { margin-bottom: 16px; }
}

/* ---------- halaman legal ---------- */
.legal { max-width: 780px; }
.legal-updated { margin-bottom: 26px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal h2 { margin: 34px 0 10px; font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.legal p { margin: 0 0 10px; }
.legal ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; padding-left: 20px; }
.legal a { color: var(--brass-dark); text-decoration: underline; text-underline-offset: 2px; }
.site-foot .foot-links { flex-wrap: wrap; }
