/* ============ Kost-an — fresh theme ============ */
:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-2: #f2f6f5;
  --surface-3: #e9f0ee;
  --ink: #12201c;
  --ink-2: #3a4945;
  --muted: #5b6a66;
  --line: #e2e9e6;
  --primary: #077a68;
  --primary-2: #06604f;
  --primary-soft: #e0f4ef;
  --primary-ink: #065a4e;
  --accent: #ff7657;
  --accent-2: #f05a3a;
  --accent-soft: #ffece6;
  --sun: #ffc44d;
  --sun-soft: #fff5dc;
  --ok: #0e7344;
  --ok-soft: #e1f5ea;
  --warn: #a96500;
  --warn-soft: #fff1d6;
  --bad: #c43b22;
  --bad-soft: #fde7e1;
  --info: #2f5fc4;
  --info-soft: #e5edfc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 28, .05);
  --shadow: 0 1px 2px rgba(18, 32, 28, .04), 0 8px 24px -8px rgba(18, 32, 28, .10);
  --shadow-lg: 0 24px 60px -18px rgba(18, 32, 28, .28);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.boot { padding: 40vh 0; text-align: center; color: var(--muted); }
.pre { white-space: pre-wrap; }
.hide { display: none !important; }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: 11px; padding: 9px 16px;
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none !important;
  background: var(--surface); color: var(--ink); white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(7, 122, 104, .55); }
.btn.primary:hover { background: var(--primary-2); }
.btn.accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 118, 87, .65); }
.btn.accent:hover { background: var(--accent-2); }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.soft { background: var(--primary-soft); color: var(--primary-ink); }
.btn.soft:hover { background: #cdeee5; }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.danger:hover { background: #f9d3c8; }
.btn.okay { background: var(--ok-soft); color: var(--ok); }
.btn.okay:hover { background: #cdeedb; }
.btn.wa { background: #e3f7ea; color: #128243; }
.btn.wa:hover { background: #cff0da; }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.btn.lg { padding: 13px 20px; font-size: 15px; border-radius: 13px; }
.btn.block { width: 100%; }
.btn.icon { padding: 7px; }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
label.field .hint { font-weight: 500; color: var(--muted); font-size: 12px; }
input, select, textarea {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 86px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
input[disabled], select[disabled] { background: var(--surface-2); color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 .full, .grid-3 .full { grid-column: 1 / -1; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-error { color: var(--bad); font-size: 13px; }
.form-error:not(:empty) { margin-top: 10px; background: var(--bad-soft); padding: 9px 12px; border-radius: 10px; }

/* chip toggle (fasilitas) */
.chip-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-picker button {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 99px; padding: 6px 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center;
}
.chip-picker button.on { background: var(--primary-soft); border-color: #b3e3d6; color: var(--primary-ink); }
.chip-picker button.on::before { content: "✓"; font-weight: 800; }
.chip-add { display: flex; gap: 8px; margin-top: 8px; }
.chip-add input { flex: 1; padding: 7px 11px; }

/* segmented */
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { font: inherit; font-size: 13.5px; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.seg button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none !important; padding: 2px 8px 22px; letter-spacing: -.02em; }
.brand .logo { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), #19b89b); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(10, 143, 122, .7); flex: none; }
.brand small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
#nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow: auto; }
#nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; position: relative; }
#nav a:hover { background: var(--surface-2); }
#nav a.active { background: var(--primary-soft); color: var(--primary-ink); }
#nav a.active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--primary); }
#nav a .ico { width: 19px; height: 19px; flex: none; }
#nav a .badge { margin-left: auto; background: var(--accent); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 800; padding: 1px 7px; }
.side-foot { border-top: 1px solid var(--line); padding: 14px 6px 0; display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sun-soft); color: #8a5a00; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.side-foot .who { min-width: 0; flex: 1; }
.side-foot .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot .who span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

main#main { padding: 28px 34px 70px; max-width: 1280px; width: 100%; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 26px; font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 4px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar input, .toolbar select { width: auto; padding: 8px 11px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 15.5px; font-weight: 800; }
.section { margin-top: 24px; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section-title h2 { font-size: 22px; font-weight: 800; }
.section-title p { color: var(--muted); margin-top: 3px; }
.stack { display: flex; flex-direction: column; gap: 14px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { padding: 18px 20px; position: relative; overflow: hidden; }
.kpi .label { font-size: 13px; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kpi .label .ki { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.kpi .label .ki svg { width: 16px; height: 16px; }
.kpi .value { font-size: 25px; font-weight: 800; margin-top: 10px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.kpi .sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.kpi.hero-kpi { background: linear-gradient(135deg, var(--primary) 0%, #13b394 100%); color: #fff; border-color: transparent; }
.kpi.hero-kpi .label, .kpi.hero-kpi .sub { color: rgba(255, 255, 255, .82); }
.kpi.hero-kpi .ki { background: rgba(255, 255, 255, .18); color: #fff; }
.kpi.hero-kpi::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .1); }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prop-card { overflow: hidden; }
.prop-card .pc-img { height: 110px; position: relative; }
.prop-card .pc-img img, .prop-card .pc-img .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.prop-card .pc-img .pct { position: absolute; right: 12px; bottom: 10px; background: rgba(255, 255, 255, .95); border-radius: 10px; padding: 4px 10px; font-weight: 800; font-size: 15px; box-shadow: var(--shadow-sm); }
.prop-card .pc-img .pct small { font-weight: 600; color: var(--muted); font-size: 11px; margin-left: 3px; }
.prop-card .pc-body { padding: 14px 18px 16px; }
.prop-card h4 { font-size: 16px; font-weight: 800; }
.occ-bar { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; margin: 12px 0 8px; display: flex; }
.occ-bar span { display: block; height: 100%; }
.occ-bar .o { background: var(--primary); }
.occ-bar .m { background: var(--sun); }
.prop-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; font-size: 12px; }
.prop-stats div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.prop-stats b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-ink); background: var(--primary-soft); padding: 3px 9px; border-radius: 99px; }
.tag.apt { color: #9a3a1f; background: var(--accent-soft); }
.tag.g-putri { color: #a3246b; background: #fde6f2; }
.tag.g-putra { color: #2a52a8; background: var(--info-soft); }
.tag.g-keluarga { color: #8a5a00; background: var(--sun-soft); }
.tag.glass { background: rgba(255, 255, 255, .92); color: var(--ink); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.muted { background: var(--surface-3); color: var(--muted); }

.chart-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart text { font-size: 11px; fill: var(--muted); font-family: inherit; }
svg.chart .grid { stroke: var(--line); }
svg.chart rect.inc { fill: var(--primary); }
svg.chart rect.exp { fill: var(--accent); }

.todo-list { list-style: none; margin: 0; padding: 0; }
.todo-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.todo-list li:first-child { border-top: 0; }
.todo-list .t-main { min-width: 0; }
.todo-list .t-main b { display: block; font-weight: 700; }
.todo-list .t-main span { font-size: 12.5px; color: var(--muted); }
.todo-group-title { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; padding: 16px 22px 4px; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl th:first-child { border-top-left-radius: var(--radius); }
.tbl th:last-child { border-top-right-radius: var(--radius); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover td { background: #fafcfb; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.tbl .sub { display: block; font-size: 12.5px; color: var(--muted); }
.tbl tfoot td { font-weight: 800; background: var(--surface-2); }
.tbl .thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; overflow: hidden; }
.tbl .room-cell { display: flex; align-items: center; gap: 12px; }
.tbl .thumb img, .tbl .thumb .ph-empty { width: 100%; height: 100%; object-fit: cover; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { border: 1px solid var(--line); background: var(--surface); padding: 8px 15px; border-radius: 99px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.tabs button:hover { background: var(--surface-2); }
.tabs button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs button .cnt { opacity: .6; font-weight: 600; margin-left: 5px; }
.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.subtabs button { font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); background: none; border: 0; padding: 11px 14px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; }
.subtabs button svg { width: 17px; height: 17px; }
.subtabs button.active { color: var(--primary-ink); border-bottom-color: var(--primary); }

.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty.small { padding: 20px; font-size: 14px; }
.error { color: var(--bad); }
.loading { padding: 50px; text-align: center; color: var(--muted); }

.notice { background: var(--sun-soft); border: 1px solid #f7dfa3; color: #6d4700; border-radius: 13px; padding: 13px 16px; font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice.info { background: var(--info-soft); border-color: #cddbf6; color: #233f7a; }
.notice.mint { background: var(--primary-soft); border-color: #bfe7dc; color: var(--primary-ink); }

.item { padding: 18px 22px; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item .head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.item h4 { font-size: 15px; font-weight: 800; }
.item .meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.item .body { margin-top: 8px; color: var(--ink-2); font-size: 14px; white-space: pre-wrap; }
.item .reply { margin-top: 10px; background: var(--primary-soft); border-radius: 11px; padding: 10px 13px; font-size: 13.5px; color: var(--primary-ink); }
.item .reply b { display: block; font-size: 12px; margin-bottom: 2px; }
.item .foot { margin-top: 12px; display: flex; gap: 8px; }

/* ---------- photo placeholder ---------- */
.ph-empty { display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, hsl(var(--h, 168) 55% 42%), hsl(calc(var(--h, 168) + 35) 70% 62%)); position: relative; overflow: hidden; }
.ph-empty svg { width: 34%; max-width: 70px; height: auto; opacity: .9; }
.ph-empty::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); right: -20%; top: -30%; }

/* ---------- public ---------- */
.pub-head { position: sticky; top: 0; z-index: 20; background: rgba(244, 247, 246, .85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.pub-head.scrolled { border-bottom-color: var(--line); }
.pub-head .in { max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pub-head .brand { padding: 0; }
.pub-head nav { display: flex; gap: 8px; }
.public { max-width: 1180px; margin: 0 auto; padding: 8px 20px 70px; }

.hero { position: relative; overflow: hidden; border-radius: 26px; padding: 54px 48px 92px; color: #fff;
  background: radial-gradient(1200px 400px at 90% -20%, rgba(255, 196, 77, .35), transparent 60%),
              radial-gradient(800px 400px at -10% 120%, rgba(255, 118, 87, .35), transparent 55%),
              linear-gradient(135deg, #087a69 0%, #0a8f7a 45%, #19b89b 100%); }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.hero h1 { font-size: 44px; font-weight: 800; max-width: 640px; line-height: 1.08; margin-top: 16px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p { margin-top: 14px; max-width: 520px; color: rgba(255, 255, 255, .88); font-size: 16.5px; }
.hero .deco { position: absolute; right: 40px; top: 40px; width: 300px; height: 300px; opacity: .9; pointer-events: none; }
.searchbar { position: relative; z-index: 2; margin: -52px 28px 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 16px; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; border: 1px solid var(--line); }
.searchbar label.field { font-size: 12px; }
.hero-stats { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 26px; font-weight: 800; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .8); }

.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.pcard { background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer; transition: transform .2s, box-shadow .2s; color: inherit; text-decoration: none !important; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard .img { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.pcard .img img, .pcard .img .ph-empty { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .img img { transform: scale(1.04); }
.pcard .img .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard .img .cnt { position: absolute; right: 12px; bottom: 12px; background: rgba(18, 32, 28, .65); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 9px; display: flex; gap: 5px; align-items: center; }
.pcard .img .cnt svg { width: 13px; height: 13px; }
.pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard h3 { font-size: 19px; font-weight: 800; }
.pcard .loc { font-size: 13px; color: var(--muted); display: flex; gap: 5px; align-items: center; }
.pcard .loc svg { width: 15px; height: 15px; flex: none; }
.pcard .tagline { font-size: 14px; color: var(--ink-2); }
.pcard .foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.pcard .price { font-size: 19px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.pcard .price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.avail { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); }
.avail.none { background: var(--surface-3); color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; color: var(--ink-2); }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.room-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.room-card .rimg { aspect-ratio: 4 / 3; position: relative; cursor: zoom-in; overflow: hidden; }
.room-card .rimg img, .room-card .rimg .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.room-card .rimg .ph-empty { cursor: default; }
.room-card .rimg .cnt { position: absolute; right: 10px; bottom: 10px; background: rgba(18, 32, 28, .65); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 9px; }
.room-card .rimg .where { position: absolute; left: 10px; top: 10px; }
.room-card .rbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.room-card .rc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.room-card h4 { font-size: 17px; font-weight: 800; }
.room-card .rc-top span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.room-card .price { font-size: 20px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.room-card .price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.room-card .btn { margin-top: auto; }

.map-box { height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-3); position: relative; z-index: 0; }
.map-box.sm { height: 280px; }
.map-box .map-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.pin { background: none; border: 0; }
.pin span { display: block; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.pin span::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; left: 7px; top: 7px; }
.pin.teal span { background: var(--primary); }
.leaflet-popup-content-wrapper { border-radius: 14px !important; font-family: inherit; }
.leaflet-popup-content { margin: 12px 14px !important; font-family: "Plus Jakarta Sans", sans-serif; }
.map-pop b { display: block; font-size: 14px; }
.map-pop span { color: var(--muted); font-size: 12px; }
.map-pop a { display: inline-block; margin-top: 6px; font-weight: 700; }

/* detail page */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: 22px; overflow: hidden; position: relative; }
.gallery > * { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery > :first-child { grid-row: 1 / 3; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 380px; }
.gallery.n2 { grid-template-columns: 2fr 1fr; }
.gallery.n2 > :nth-child(2) { grid-row: 1 / 3; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery.n4 > :nth-child(2) { grid-row: 1 / 3; }
.gallery .ph-empty { cursor: default; }
.gallery .all { position: absolute; right: 14px; bottom: 14px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 26px; align-items: start; }
.detail h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.detail .lead { font-size: 16px; color: var(--ink-2); margin-top: 8px; }
.detail .addr { display: flex; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 10px; align-items: flex-start; }
.detail .addr svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.dsec { padding: 24px 0; border-top: 1px solid var(--line); }
.dsec:first-of-type { border-top: 0; }
.dsec h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.fac-grid div { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.fac-grid div i { width: 26px; height: 26px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-style: normal; font-weight: 800; flex: none; }
.list-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list-lines li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.list-lines li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }
.list-lines.near li::before { background: var(--primary); }
.sticky-card { position: sticky; top: 84px; padding: 22px; }
.sticky-card .from { font-size: 13px; color: var(--muted); font-weight: 600; }
.sticky-card .big { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.sticky-card .big small { font-size: 14px; color: var(--muted); font-weight: 600; }
.sticky-card .rows { margin: 16px 0; display: grid; gap: 10px; font-size: 14px; }
.sticky-card .rows div { display: flex; justify-content: space-between; }
.sticky-card .rows span { color: var(--muted); }

/* photo manager */
.dropzone { border: 2px dashed #c3d6d0; border-radius: 16px; padding: 26px; text-align: center; background: var(--surface-2); cursor: pointer; transition: background .15s, border-color .15s; }
.dropzone:hover, .dropzone.over { background: var(--primary-soft); border-color: var(--primary); }
.dropzone svg { width: 34px; height: 34px; color: var(--primary); margin: 0 auto 8px; display: block; }
.dropzone b { display: block; font-size: 15px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 16px; }
.ph-item { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); }
.ph-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.ph-item .cover-tag { position: absolute; left: 8px; top: 8px; background: var(--sun); color: #5c3b00; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 2px 9px; }
.ph-item .ph-tools { display: flex; gap: 4px; padding: 7px; justify-content: space-between; align-items: center; }
.ph-item .ph-tools .grp { display: flex; gap: 3px; }
.ph-item .ph-tools button { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-2); font-size: 14px; }
.ph-item .ph-tools button:hover { background: var(--surface-2); }
.ph-item .ph-tools button.del:hover { background: var(--bad-soft); color: var(--bad); }
.ph-item .ph-tools button svg { width: 16px; height: 16px; }
.ph-item .cap { font-size: 12px; color: var(--muted); padding: 0 10px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-status { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--primary-ink); }

/* owner property header */
.prop-banner { display: flex; gap: 18px; align-items: center; padding: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.prop-banner .pb-img { width: 120px; height: 88px; border-radius: 13px; overflow: hidden; flex: none; }
.prop-banner .pb-img img, .prop-banner .pb-img .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.prop-banner .pb-main { flex: 1; min-width: 200px; }
.prop-banner h2 { font-size: 21px; font-weight: 800; margin-top: 6px; }
.form-card { padding: 22px; }
.form-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.form-card .desc { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); align-items: center; }
.form-actions .saved { color: var(--ok); font-weight: 700; font-size: 13px; margin-right: auto; }
.loc-tools { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-results { list-style: none; margin: 6px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.search-results li { padding: 9px 12px; font-size: 13px; cursor: pointer; border-top: 1px solid var(--line); }
.search-results li:first-child { border-top: 0; }
.search-results li:hover { background: var(--primary-soft); }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(150deg, #087a69, #0a8f7a 50%, #19b89b); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .brand { color: #fff; }
.auth-side .brand .logo { background: rgba(255, 255, 255, .2); box-shadow: none; }
.auth-side h2 { font-size: 34px; font-weight: 800; max-width: 420px; line-height: 1.12; letter-spacing: -.03em; }
.auth-side p { color: rgba(255, 255, 255, .85); max-width: 400px; margin-top: 12px; }
.auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 196, 77, .18); right: -160px; bottom: -160px; }
.auth-main { display: grid; place-items: center; padding: 28px 18px; }
.auth-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 15px; }
.auth-card h2 { font-size: 26px; font-weight: 800; }
.demo-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); }
.demo-box > b { display: block; margin-bottom: 6px; }
.demo-box button { all: unset; cursor: pointer; display: flex; justify-content: space-between; width: 100%; padding: 6px 8px; border-radius: 8px; box-sizing: border-box; }
.demo-box button:hover { background: var(--primary-soft); }
.demo-box button b { color: var(--primary-ink); }

/* tenant home */
.room-hero { border-radius: 22px; padding: 0; display: grid; grid-template-columns: 260px 1fr; overflow: hidden; background: linear-gradient(135deg, #087a69, #0a8f7a 55%, #19b89b); color: #fff; box-shadow: var(--shadow); }
.room-hero .rh-img { min-height: 170px; }
.room-hero .rh-img img, .room-hero .rh-img .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.room-hero .rh-body { padding: 24px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.room-hero h2 { font-size: 28px; font-weight: 800; }
.room-hero .muted { color: rgba(255, 255, 255, .78); }
.room-hero .rh-grid { display: flex; gap: 10px 30px; font-size: 13px; flex-wrap: wrap; }
.room-hero .rh-grid b { display: block; font-size: 16px; color: #fff; }
.room-hero .rh-grid span { color: rgba(255, 255, 255, .75); }
.room-hero a { color: #fff; font-weight: 700; }
.bill { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bill:first-child { border-top: 0; }
.bill .amt { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(12, 24, 21, .45); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; z-index: 1000; animation: fade .15s ease; }
.modal { background: var(--surface); border-radius: 20px; width: 100%; max-width: 500px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .18s ease; }
.modal.wide { max-width: 700px; }
.modal.xwide { max-width: 920px; }
.modal header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal header h3 { font-size: 17px; font-weight: 800; }
.modal .x { all: unset; cursor: pointer; font-size: 22px; line-height: 1; color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; }
.modal .x:hover { background: var(--surface-2); }
.modal-body { padding: 20px 22px; overflow: auto; }
.modal footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 20px 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(8, 14, 12, .92); display: grid; grid-template-rows: auto 1fr auto; animation: fade .15s ease; color: #fff; }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; font-weight: 600; }
.lightbox .lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 70px; position: relative; }
.lightbox .lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox button { all: unset; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .prev { left: 14px; }
.lightbox .next { right: 14px; }
.lightbox .lb-cap { text-align: center; padding: 14px 18px 20px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.lightbox .lb-thumbs { display: flex; gap: 6px; justify-content: center; padding: 0 16px 16px; overflow-x: auto; }
.lightbox .lb-thumbs img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; opacity: .5; cursor: pointer; flex: none; }
.lightbox .lb-thumbs img.on { opacity: 1; outline: 2px solid #fff; }

#toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 1200; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: pop .2s ease; max-width: 360px; display: flex; gap: 8px; align-items: center; }
.toast::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: 12px; flex: none; }
.toast.err { background: var(--bad); }
.toast.err::before { content: "!"; background: rgba(255, 255, 255, .25); }

.site-foot { max-width: 1180px; margin: 0 auto; padding: 26px 20px 40px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }

/* ---------- extras ---------- */
.field-block { display: flex; flex-direction: column; gap: 8px; }
.field-block > .field-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field-block .hint { font-size: 12px; color: var(--muted); }
.searchbar.flat { margin: 0 0 6px; box-shadow: var(--shadow); }
.pin span { position: relative; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-row div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.stat-row b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat-row span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.info-rows { display: grid; gap: 0; }
.info-rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.info-rows > div:first-child { border-top: 0; }
.info-rows span { color: var(--muted); }
.info-rows b { text-align: right; font-weight: 700; }
.thumb-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb-strip img, .thumb-strip .ph-empty { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.people { list-style: none; margin: 0; padding: 0; }
.people li { display: flex; align-items: center; gap: 12px; padding: 10px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.people li:first-child { border-top: 0; }
.people .grow { flex: 1; min-width: 0; }
.people .grow span { display: block; font-size: 12.5px; color: var(--muted); }
.ktp-box { display: flex; flex-direction: column; gap: 10px; }
.ktp-box img { width: 100%; max-width: 440px; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; }
.ktp-empty { width: 100%; max-width: 440px; aspect-ratio: 85.6 / 54; border: 2px dashed #c3d6d0; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); font-size: 13px; font-weight: 600; text-align: center; padding: 10px; }
.ktp-empty svg { width: 34px; height: 34px; display: block; margin: 0 auto 6px; color: var(--primary); }
details.more { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: var(--surface-2); }
details.more summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 14px; color: var(--primary-ink); }
details.more[open] { padding-bottom: 14px; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.mini-label { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.name-link { all: unset; cursor: pointer; font-weight: 700; color: var(--ink); }
.name-link:hover { color: var(--primary); text-decoration: underline; }

/* ============ motion & modern public UI ============ */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --bn-h: 0px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal .track > * { opacity: 0; transform: translateX(26px); }
.reveal.in .track > * { animation: slideIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
@keyframes slideIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes floaty { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18px, -22px) scale(1.06); } }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(19, 138, 82, .45); } 100% { box-shadow: 0 0 0 10px rgba(19, 138, 82, 0); } }
.page-in { animation: pageIn .45s var(--ease) backwards; } /* backwards: jangan sisakan transform (merusak position:fixed) */
.grid-anim > * { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* skeleton */
.sk { background: linear-gradient(90deg, var(--surface-3) 0%, #f6f9f8 40%, var(--surface-3) 80%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: 12px; }
.sk-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.sk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: grid; gap: 10px; }
.sk-img { aspect-ratio: 16 / 10; }
.sk-line { height: 14px; }
.sk-line.short { width: 55%; }
.sk-hero { height: 300px; border-radius: 26px; margin-bottom: 24px; }

/* hero v2 */
.hero { background-size: 200% 200% !important; animation: gradShift 14s ease-in-out infinite; isolation: isolate; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; z-index: -1; animation: floaty 12s ease-in-out infinite; }
.hero .blob.b1 { width: 320px; height: 320px; background: #ffc44d; right: -60px; top: -80px; }
.hero .blob.b2 { width: 260px; height: 260px; background: #ff7657; left: -80px; bottom: -120px; animation-delay: -4s; }
.hero .blob.b3 { width: 200px; height: 200px; background: #5eead4; right: 30%; bottom: -90px; animation-delay: -8s; }
.hero .deco { animation: floaty 9s ease-in-out infinite; }
.hero > *:not(.blob):not(.deco) { animation: rise .8s var(--ease) both; }
.hero h1 { animation-delay: .08s !important; }
.hero p { animation-delay: .16s !important; }
.hero .hero-stats { animation-delay: .24s !important; }
.hero .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulseDot 1.6s infinite; }

/* finder (search + filter chips) */
.finder { position: relative; z-index: 2; margin: -54px 28px 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px; border: 1px solid var(--line); }
.finder.flat { margin: 0; box-shadow: var(--shadow); }
.finder-top { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-in { position: relative; }
.search-in svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.search-in input { padding: 13px 14px 13px 44px; border-radius: 14px; font-size: 15px; background: var(--surface-2); border-color: transparent; }
.search-in input:focus { background: var(--surface); }
.finder select { border-radius: 14px; padding: 12px 14px; font-weight: 600; background: var(--surface-2); border-color: transparent; }
.fchips { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; margin-top: 12px; padding: 2px 2px 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.fchips::-webkit-scrollbar { display: none; }
.fchips .lbl { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; padding: 0 2px 0 4px; }
.fchips .sep { width: 1px; height: 22px; background: var(--line); flex: none; margin: 0 4px; }
.fchip { flex: none; scroll-snap-align: start; font: inherit; font-size: 13.5px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); padding: 7px 14px; border-radius: 99px; cursor: pointer; transition: all .2s var(--ease); white-space: nowrap; }
.fchip:hover { border-color: #b3e3d6; background: var(--primary-soft); }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.result-bar b { color: var(--ink); }
.linkish { all: unset; cursor: pointer; color: var(--primary); font-weight: 700; font-size: 13.5px; }
.linkish:hover { text-decoration: underline; }

/* carousel */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 4px 18px; margin: -6px -4px -10px; scroll-padding-inline: 4px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track img, .track a { -webkit-user-drag: none; user-select: none; }
.track.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.track.dragging * { pointer-events: none; user-select: none; }
.carousel.rooms .track { grid-auto-columns: minmax(250px, calc((100% - 60px) / 4)); gap: 20px; }
.carousel::before, .carousel::after { content: ""; position: absolute; top: 0; bottom: 12px; width: 36px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s; }
.carousel::before { left: -4px; background: linear-gradient(90deg, var(--bg), transparent); }
.carousel::after { right: -4px; background: linear-gradient(-90deg, var(--bg), transparent); }
.carousel.can-l::before, .carousel.can-r::after { opacity: 1; }
.car-nav { display: flex; gap: 8px; }
.car-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; font-size: 20px; color: var(--ink); box-shadow: var(--shadow-sm); transition: all .2s var(--ease); }
.car-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.06); }
.car-nav button:disabled { opacity: .35; cursor: default; }
.car-nav.hidden button { display: none; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: #cfdcd8; transition: all .3s var(--ease); }
.dots i.on { width: 22px; background: var(--primary); }

/* cards motion */
.pcard, .room-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-card .rimg img { transition: transform .5s var(--ease); }
.room-card:hover .rimg img { transform: scale(1.05); }
.btn { position: relative; overflow: hidden; }
.btn.primary::after, .btn.accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn.primary:hover::after, .btn.accent:hover::after { transform: translateX(120%); }
.pcard .fav-price { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 5px 10px; font-weight: 800; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-sm); }
.pcard .fav-price small { color: var(--muted); font-weight: 600; font-size: 11px; }
.avail { display: inline-flex; align-items: center; gap: 6px; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail:not(.none)::before { animation: pulseDot 1.8s infinite; }

/* map + list */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.map-list { display: flex; flex-direction: column; gap: 10px; max-height: 380px; overflow-y: auto; scrollbar-width: thin; }
.map-item { all: unset; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease); }
.map-item:hover, .map-item.on { border-color: var(--primary); background: var(--primary-soft); transform: translateX(3px); }
.map-item .mi-img { width: 56px; height: 56px; border-radius: 11px; overflow: hidden; flex: none; }
.map-item .mi-img img, .map-item .mi-img .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.map-item b { display: block; font-size: 14px; }
.map-item span { font-size: 12.5px; color: var(--muted); }

/* empty state */
.empty-art { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-art svg { width: 120px; height: auto; margin: 0 auto 12px; display: block; }
.empty-art b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: calc(18px + var(--bn-h)); z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: all .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* mobile gallery + cta */
.gallery-m { display: none; position: relative; margin: 0 -16px; }
.gallery-m .track { grid-auto-columns: 100%; gap: 0; padding: 0; margin: 0; }
.gallery-m .track > * { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.gallery-m .counter { position: absolute; right: 14px; bottom: 14px; background: rgba(18, 32, 28, .7); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.m-cta { display: none; }

/* bottom nav (penghuni / calon penghuni di HP) */
.bottom-nav { display: none; }

/* booking stepper */
.bk-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; }
.bk-card + .bk-card { border-top: 1px solid var(--line); }
.bk-img { width: 120px; height: 96px; border-radius: 14px; overflow: hidden; }
.bk-img img, .bk-img .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.stepper { display: flex; align-items: center; margin: 14px 0 4px; max-width: 460px; }
.stepper .st { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; flex: none; width: 76px; }
.stepper .st i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: var(--surface-3); color: var(--muted); transition: all .3s var(--ease); }
.stepper .st.done i { background: var(--primary); color: #fff; }
.stepper .st.cur i { background: var(--sun); color: #5c3b00; animation: pulseDot 1.8s infinite; box-shadow: 0 0 0 0 rgba(255, 196, 77, .6); }
.stepper .st.bad i { background: var(--bad); color: #fff; }
.stepper .st.done, .stepper .st.cur { color: var(--ink); }
.stepper .ln { flex: 1; height: 3px; background: var(--surface-3); border-radius: 3px; margin-bottom: 20px; position: relative; overflow: hidden; }
.stepper .ln.done::after { content: ""; position: absolute; inset: 0; background: var(--primary); animation: grow .8s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.welcome { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 22px; margin-bottom: 18px; background: linear-gradient(120deg, var(--primary-soft), #fff 70%); }
.welcome h2 { font-size: 20px; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal .track > * { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .props { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .split { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .hero .deco { display: none; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: sticky; height: auto; padding: 10px 14px; z-index: 30; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand { padding: 0; font-size: 16px; flex: 1; }
  .side .brand small { display: none; }
  #nav { order: 3; flex-direction: row; overflow-x: auto; width: 100%; flex: none; padding-bottom: 2px; }
  #nav a { white-space: nowrap; padding: 7px 11px; font-size: 13px; }
  #nav a .ico { display: none; }
  #nav a.active::before { display: none; }
  .side-foot { border: 0; padding: 0; }
  .side-foot .who, .side-foot .avatar { display: none; }
  main#main { padding: 18px 16px 60px; }
  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 34px 22px 80px; border-radius: 20px; }
  .hero h1 { font-size: 30px; }
  .searchbar { margin: -50px 10px 0; grid-template-columns: 1fr; }
  .public { padding: 6px 16px 60px; }
  .pub-head .in { padding: 12px 16px; }
  .prop-grid { grid-template-columns: 1fr; }
  .gallery, .gallery.n2, .gallery.n3, .gallery.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .gallery > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery > :nth-child(n+4) { display: none; }
  .gallery.n2 > :nth-child(2) { grid-row: auto; grid-column: 1 / -1; }
  .gallery.n4 > :nth-child(2) { grid-row: auto; }
  .detail h1 { font-size: 26px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .room-hero { grid-template-columns: 1fr; }
  .room-hero .rh-img { height: 160px; }
  .kpi .value { font-size: 21px; }
  .lightbox .lb-stage { padding: 0 8px; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: -56px; }
}

/* ============ responsive v2 (public & calon penghuni) ============ */
@media (max-width: 1100px) {
  .track { grid-auto-columns: minmax(300px, calc((100% - 20px) / 2)); }
  .carousel.rooms .track { grid-auto-columns: minmax(240px, calc((100% - 40px) / 3)); }
  .map-wrap { grid-template-columns: 1fr; }
  .map-list { flex-direction: row; overflow-x: auto; max-height: none; scrollbar-width: none; padding-bottom: 4px; }
  .map-item { flex: none; width: 250px; }
  .map-item:hover, .map-item.on { transform: translateY(-2px); }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .track, .carousel.rooms .track { grid-auto-columns: 84%; gap: 14px; }
  .carousel.rooms .track { grid-auto-columns: 72%; }
  .car-nav { display: none; }
  .carousel::before, .carousel::after { display: none; }
  .hero { padding: 30px 20px 84px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero .hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 14px; justify-content: start; }
  .hero .hero-stats b { font-size: 20px; }
  .hero .hero-stats span { font-size: 11.5px; }
  .hero .blob.b1 { width: 200px; height: 200px; }
  .finder { margin: -60px 8px 0; padding: 12px; border-radius: 20px; }
  .finder-top { grid-template-columns: 1fr; }
  .fchips { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .section { margin-top: 30px; }
  .section-title h2 { font-size: 20px; }
  .pub-head .btn { padding: 7px 12px; font-size: 13px; }
  .pub-head .brand { font-size: 16px; }
  .pub-head .brand .logo { width: 32px; height: 32px; }
  .map-box { height: 300px; }
  .sk-row { grid-template-columns: 1fr; }

  /* detail */
  .gallery { display: none; }
  .gallery-m { display: block; }
  .detail { margin-top: 18px; gap: 0; }
  .detail aside { display: none; }
  .stat-row b { font-size: 19px; }
  .room-grid { grid-template-columns: 1fr; }
  .m-cta { display: flex; position: fixed; left: 0; right: 0; bottom: var(--bn-h); z-index: 45; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .3); animation: sheetUp .4s var(--ease) both; }
  .m-cta .p { flex: 1; min-width: 0; }
  .m-cta .p small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
  .m-cta .p b { font-size: 18px; font-weight: 800; }
  .has-mcta { padding-bottom: 86px !important; }
  .has-mcta ~ .to-top, body.mcta .to-top { bottom: calc(90px + var(--bn-h)); }

  /* modal = bottom sheet */
  .modal-bg { place-items: end stretch; padding: 0; }
  .modal, .modal.wide, .modal.xwide { max-width: none; border-radius: 22px 22px 0 0; max-height: 92vh; animation: sheetUp .35s var(--ease); }
  .modal header { position: relative; padding-top: 22px; }
  .modal header::before { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; border-radius: 9px; background: var(--line); transform: translateX(-50%); }
  .modal footer { border-radius: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .modal footer .btn { flex: 1; }

  /* shell penghuni / calon: bottom nav */
  .shell { align-content: start; }
  .shell.bn { --bn-h: calc(64px + env(safe-area-inset-bottom)); }
  .shell.bn #nav { display: none; }
  .shell.bn .side { padding: 10px 16px; }
  .shell.bn .side-foot .avatar { display: grid; width: 32px; height: 32px; font-size: 12px; }
  .shell.bn main#main { padding-bottom: calc(var(--bn-h) + 30px); }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--bn-h); padding: 6px 6px env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); justify-content: space-around; }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--muted); text-decoration: none !important; border-radius: 12px; position: relative; transition: color .2s; }
  .bottom-nav a .ico { width: 22px; height: 22px; transition: transform .25s var(--ease); }
  .bottom-nav a.active { color: var(--primary-ink); }
  .bottom-nav a.active .ico { transform: translateY(-2px); }
  .bottom-nav a.active::before { content: ""; position: absolute; top: 2px; width: 44px; height: 30px; border-radius: 10px; background: var(--primary-soft); z-index: -1; animation: rise .3s var(--ease); }
  .bottom-nav a .badge { position: absolute; top: 2px; right: calc(50% - 20px); background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; border-radius: 99px; padding: 0 5px; }
  #toasts { left: 16px; right: 16px; bottom: calc(16px + var(--bn-h, 0px)); align-items: center; }
  body.has-bn #toasts { bottom: calc(80px + env(safe-area-inset-bottom)); }

  .bk-card { grid-template-columns: 84px 1fr; gap: 12px; padding: 14px; }
  .bk-img { width: 84px; height: 84px; }
  .stepper .st { width: 60px; font-size: 10.5px; }
  .page-head h1 { font-size: 22px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .track, .carousel.rooms .track { grid-auto-columns: 88%; }
}

/* ============ UI/UX Pro Max refresh: publik & calon penghuni ============
   Sistem: Minimalism + Swiss, palet "trust teal" (Real Estate), Plus Jakarta Sans.
   Lihat design-system/kost-an/MASTER.md */
:root {
  --dur-1: 150ms; --dur-2: 240ms; --dur-3: 420ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sand: #f6efe4; --sand-ink: #7a4f12;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--primary);
  --z-head: 30; --z-float: 40; --z-sheet: 50; --z-modal: 100;
}
search { display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
.fchip:focus-visible, .btn:focus-visible, .car-nav button:focus-visible, .to-top:focus-visible { box-shadow: var(--focus); }
.pcard:focus-visible { box-shadow: var(--focus), var(--shadow-lg); border-radius: 20px; }
button, a, .fchip, .map-item { touch-action: manipulation; }
.public, .shell.bn main { -webkit-tap-highlight-color: transparent; }
.num, .price, .fav-price, .big { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }

/* skip link */
.skip-link { position: fixed; left: 12px; top: 10px; z-index: 200; transform: translateY(-160%); background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; cursor: pointer; transition: transform var(--dur-2) var(--ease-out); }
.skip-link:focus-visible { transform: none; }
#pub:focus, #main:focus { outline: none; }

/* placeholder foto: tonal, selaras brand */
.ph-empty { background: linear-gradient(160deg, hsl(var(--h, 168) 38% 94%), hsl(var(--h, 168) 30% 85%)); color: hsl(var(--h, 168) 32% 34%); }
.ph-empty::before { background: hsl(var(--h, 168) 40% 98% / .55); width: 60%; right: -14%; top: -26%; }
.ph-empty .ph-art { width: 46%; max-width: 150px; height: auto; position: relative; opacity: .75; }
.map-item .ph-empty .ph-art, .bk-img .ph-empty .ph-art { width: 74%; }

/* header */
.pub-head { z-index: var(--z-head); background: rgba(244, 247, 246, .78); transition: box-shadow var(--dur-2), background var(--dur-2); }
.pub-head.scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 8px 24px -18px rgba(18, 32, 28, .35); }
.pub-head .in { gap: 20px; }
.pub-links { display: flex; gap: 2px; margin-right: auto; margin-left: 18px; }
.pub-links button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer; min-height: 44px; transition: background var(--dur-1), color var(--dur-1); }
.pub-links button:hover { background: var(--surface-3); color: var(--ink); }
.pub-auth { display: flex; gap: 8px; }
.pub-auth .btn { min-height: 44px; }

/* hero */
.hero { background: radial-gradient(900px 380px at 92% -20%, rgba(255, 196, 77, .28), transparent 60%),
  radial-gradient(700px 360px at -10% 120%, rgba(255, 118, 87, .22), transparent 55%),
  linear-gradient(135deg, #053f37 0%, #076656 45%, #0a7f6b 100%) !important; background-size: 100% 100% !important; animation: none; padding-bottom: 104px; }
.hero .blob { opacity: .38; animation-duration: 18s; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 700px; }
.hero p { font-size: 17px; line-height: 1.6; max-width: 560px; color: rgba(255, 255, 255, .9); }
.hero-trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #a7f3d0; stroke-width: 3; flex: none; }
dl.hero-stats { margin: 26px 0 0; display: flex; gap: 0; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column-reverse; padding: 2px 26px; border-left: 1px solid rgba(255, 255, 255, .22); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dd { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats dt { font-size: 13px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.hero > *:not(.blob):not(.deco) { animation: rise .7s var(--ease-out) both; }
.hero .hero-trust { animation-delay: .2s !important; }
.hero .hero-stats { animation-delay: .28s !important; }

/* finder */
.finder { margin-top: -62px; padding: 16px; border-radius: 22px; }
.search-in input { min-height: 50px; font-size: 16px; }
.sort-in select { min-height: 50px; font-size: 15px; cursor: pointer; }
.fchips { gap: 6px; }
.fgroup { display: flex; align-items: center; gap: 6px; flex: none; }
.fchip { min-height: 40px; padding: 8px 15px; transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1), box-shadow var(--dur-2); }
.fchip.on { background: var(--primary); border-color: var(--primary); transform: none; box-shadow: 0 6px 14px -8px rgba(7, 122, 104, .8); }
.fchip:active { transform: scale(.97); }
.result-bar { margin-top: 20px; }
.linkish { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 6px; border-radius: 8px; }
.linkish svg { width: 15px; height: 15px; }

/* section heading */
.section { margin-top: 44px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.section-title h2 { font-size: 26px; letter-spacing: -.025em; }

/* carousel nav: target 44px */
.car-nav button { width: 44px; height: 44px; }
.car-nav button svg { width: 20px; height: 20px; }
.car-nav button:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); transform: none; }
.car-nav button:disabled { opacity: .3; }

/* kartu lokasi */
.pcard { border-radius: 20px; }
.pcard:hover { transform: translateY(-4px); }
.pcard .fav-price { display: inline-flex; align-items: baseline; gap: 4px; font-size: 15px; padding: 6px 11px; }
.pcard .fav-price small:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.pcard .loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .foot { align-items: center; gap: 10px; }
.pcard .foot .muted { margin-right: auto; }
.pcard .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); transition: background var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.pcard .go svg { width: 17px; height: 17px; }
.pcard:hover .go { background: var(--primary); color: #fff; transform: translateX(2px); }
.ph-art { transition: transform .5s var(--ease-out); }
.pcard:hover .img .ph-art, .room-card:hover .ph-art { transform: scale(1.06); }

/* kartu kamar */
.room-card .rimg { display: block; width: 100%; padding: 0; border: 0; font: inherit; color: inherit; background: none; text-align: left; cursor: default; }
button.rimg { cursor: zoom-in; }
.room-card .rimg .cnt { display: inline-flex; align-items: center; gap: 5px; }
.room-card .rimg .cnt svg { width: 13px; height: 13px; }
.room-card h3 { font-size: 17px; font-weight: 800; }
.room-card .rdesc { font-size: 13.5px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room-card .btn.block { min-height: 44px; }
.more-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; align-self: flex-start; padding: 4px 0; }
.more-link svg { width: 15px; height: 15px; transition: transform var(--dur-2) var(--ease-out); }
.more-link:hover svg { transform: translateX(3px); }
.map-item { min-height: 44px; }

/* cara booking */
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 22px; box-shadow: var(--shadow-sm); }
.how-step .how-n { position: absolute; right: 18px; top: 14px; font-size: 44px; font-weight: 800; color: var(--surface-3); line-height: 1; letter-spacing: -.04em; }
.how-ic, .why-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.how-ic svg, .why-ic svg { width: 22px; height: 22px; }
.how-step h3, .why-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.how-step p, .why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* kenapa */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
.why-card:hover { border-color: #b3e3d6; transform: translateY(-3px); box-shadow: var(--shadow); }
.why-card:nth-child(2) .why-ic { background: var(--sand); color: var(--sand-ink); }
.why-card:nth-child(3) .why-ic { background: var(--info-soft); color: var(--info); }
.why-card:nth-child(4) .why-ic { background: var(--ok-soft); color: var(--ok); }

/* CTA */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: 26px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 260px at 100% 0%, rgba(255, 196, 77, .25), transparent 60%), linear-gradient(135deg, #053f37, #077a68); }
.cta-band h2 { font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 6px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.light { background: #fff; color: var(--primary-ink); }
.btn.light:hover { background: var(--primary-soft); }
.btn.light svg { transition: transform var(--dur-2) var(--ease-out); }
.btn.light:hover svg { transform: translateX(3px); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .1); }

/* footer */
.site-foot { display: block; max-width: none; padding: 0; margin-top: 64px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; }
.sf-in { max-width: 1180px; margin: 0 auto; padding: 36px 20px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.sf-brand p { margin-top: 12px; max-width: 360px; line-height: 1.6; }
.sf-brand .brand { padding: 0; }
.sf-col { display: flex; flex-direction: column; gap: 8px; }
.sf-col b { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.sf-col a { color: var(--ink-2); font-weight: 600; padding: 2px 0; align-self: flex-start; }
.sf-bottom { max-width: 1180px; margin: 0 auto; padding: 16px 20px 28px; border-top: 1px solid var(--line); font-size: 13px; }
.to-top { display: grid; place-items: center; z-index: var(--z-float); }
.to-top svg { width: 20px; height: 20px; }

/* detail */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; min-width: 0; }
.crumbs .back { margin: 0; min-height: 40px; padding: 0 10px 0 6px; border-radius: 10px; flex: none; }
.crumbs .back:hover { background: var(--surface-3); text-decoration: none; }
.crumbs .back svg { width: 17px; height: 17px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-item { padding: 0; border: 0; background: var(--surface-3); cursor: zoom-in; overflow: hidden; display: block; border-radius: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-item:focus-visible { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--primary); border-radius: 0; }
.gallery-m .g-item { aspect-ratio: 4 / 3; width: 100%; }
.gallery .ph-empty .ph-art { max-width: 220px; }
.d-title { margin-top: 10px; }
.dsec h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; }
.fac-grid div i svg { width: 15px; height: 15px; stroke-width: 2.6; }
.sticky-card .btn { min-height: 44px; }

/* calon penghuni */
.welcome { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border-color: #cdeee5;
  background: radial-gradient(400px 160px at 100% 0%, rgba(255, 196, 77, .18), transparent 70%), linear-gradient(120deg, var(--primary-soft), #fff 75%); }
.welcome h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.welcome p { color: var(--ink-2); margin-top: 3px; }
.wel-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px rgba(7, 122, 104, .9); }
.wel-ic svg { width: 24px; height: 24px; }
.stepper .st i svg { width: 14px; height: 14px; stroke-width: 3; }
.reply.ok-reply { background: var(--ok-soft); color: var(--ok); }
.bottom-nav a { min-height: 44px; }

/* responsive */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-head .pub-links { display: none; }
}
@media (max-width: 760px) {
  input, select, textarea { font-size: 16px; } /* cegah auto-zoom iOS */
  .hero { padding: 30px 20px 92px; }
  .hero p { font-size: 15.5px; }
  .hero-trust { font-size: 13px; gap: 6px 14px; }
  dl.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .hero-stats > div { padding: 0 0 0 14px; }
  .hero-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-stats dd { font-size: 22px; }
  .hero-stats dt { font-size: 12px; }
  .finder { margin: -64px 6px 0; padding: 12px; }
  .section { margin-top: 36px; }
  .section-title h2 { font-size: 21px; }
  .how-grid, .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-step, .why-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .how-step .how-ic, .why-card .why-ic { grid-row: span 2; margin: 0; }
  .cta-band { padding: 28px 22px; border-radius: 22px; }
  .cta-band h2 { font-size: 21px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .sf-in { grid-template-columns: 1fr 1fr; padding: 28px 16px 18px; }
  .sf-brand { grid-column: 1 / -1; }
  .sf-bottom { padding: 14px 16px 24px; }
  .pub-auth .btn { min-height: 40px; }
  .welcome { grid-template-columns: auto 1fr; padding: 16px; }
  .welcome > .btn { grid-column: 1 / -1; }
  .welcome h1 { font-size: 19px; }
  .wel-ic { width: 42px; height: 42px; }
  .crumbs { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .blob { animation: none; }
  .skip-link { transition: none; }
}

/* tombol modal & galeri: target 44px + fokus terlihat (all:unset menghapus ring) */
.modal .x { width: 44px; height: 44px; margin: -6px -8px -6px 0; }
.modal .x:focus-visible, .lightbox button:focus-visible { box-shadow: var(--focus); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-stage img { touch-action: pan-y pinch-zoom; }
@media (max-width: 760px) { .modal footer .btn { min-height: 44px; } }

/* HP mendatar (landscape): ringkas elemen yang menempel supaya konten tetap terlihat */
@media (max-height: 480px) and (orientation: landscape) {
  .side, .pub-head { position: static; }
  .shell.bn { --bn-h: calc(50px + env(safe-area-inset-bottom)); }
  .bottom-nav { padding-top: 3px; padding-left: max(6px, env(safe-area-inset-left)); padding-right: max(6px, env(safe-area-inset-right)); }
  .bottom-nav a { flex-direction: row; gap: 7px; font-size: 12.5px; }
  .bottom-nav a .ico { width: 20px; height: 20px; }
  .bottom-nav a.active .ico { transform: none; }
  .bottom-nav a.active::before { top: 4px; bottom: 4px; height: auto; width: min(100%, 130px); }
  .bottom-nav a .badge { top: 4px; right: auto; left: calc(50% + 2px); }
  .m-cta { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .m-cta .p small:last-child { display: none; }
  .m-cta .p { display: flex; align-items: baseline; gap: 6px; }
  .has-mcta { padding-bottom: 64px !important; }
  .gallery-m .g-item, .gallery-m .track > .ph-empty { aspect-ratio: 16 / 7; }
  .modal, .modal.wide, .modal.xwide { max-height: 96vh; }
}
