/* ==========================================================================
   Nawasena — components.css
   Kartu properti, filter, form, kalkulator, galeri, masterplan, artikel
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
}
.breadcrumb a { color: rgba(255, 255, 255, .72); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .sep { opacity: .45; }
.breadcrumb [aria-current="page"] { color: var(--gold-300); }
.breadcrumb--dark { color: var(--ink-3); }
.breadcrumb--dark a { color: var(--ink-2); }
.breadcrumb--dark a:hover { color: var(--gold-600); }
.breadcrumb--dark [aria-current="page"] { color: var(--gold-600); }

/* ---------- Kartu properti ---------- */
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  height: 100%;
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 166, 100, .45);
}
.p-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory);
}
.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 24, .28) 0%, transparent 38%, rgba(7, 14, 24, .18) 100%);
  pointer-events: none;
}
.p-card__badges {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.p-card__badges .tag {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .6);
  color: var(--navy-800);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px -8px rgba(7, 14, 24, .6);
}
.p-card__badges .tag--gold { color: var(--gold-600); border-color: rgba(198, 166, 100, .8); }
.p-card__badges .tag--sold { background: var(--danger); color: #fff; border-color: transparent; }
.p-card__save {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(7, 14, 24, .38);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.p-card__save:hover { background: rgba(7, 14, 24, .7); transform: scale(1.06); }
.p-card__save.is-saved { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.p-card__save.is-saved .ico { fill: currentColor; }
.p-card__body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
}
.p-card__loc {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.p-card__loc .ico { width: 12px; height: 12px; }
.p-card__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
}
.p-card__title a:hover { color: var(--gold-600); }
.p-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding-block: .55rem;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin-top: .15rem;
}
.p-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  color: var(--ink-3);
}
.p-card__meta-item .ico { width: 16px; height: 16px; color: var(--navy-600); opacity: .8; }
.p-card__meta-item strong { color: var(--ink-2); font-weight: 600; }
.p-card__footer { margin-top: auto; padding-top: .35rem; }
.p-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.2;
}
.p-card__price span { font-size: .74rem; font-family: var(--font-sans); font-weight: 500; color: var(--ink-3); letter-spacing: .04em; }
.p-card__install {
  display: block;
  margin-top: .1rem;
  font-size: .72rem;
  color: var(--ink-3);
}
.p-card__install strong { color: var(--success); font-weight: 600; }
.p-card__cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .9rem;
}
.p-card__cta .btn { flex: 1; }
.p-card__cta .icon-btn {
  width: 42px;
  height: 42px;
  border-color: var(--line);
  color: var(--navy-700);
}
.p-card__cta .icon-btn:hover { background: var(--navy-800); color: var(--gold-300); border-color: var(--navy-800); }

.p-card--row { flex-direction: row; }
.p-card--row .p-card__media { width: 40%; aspect-ratio: auto; flex: none; }
.p-card--row .p-card__body { padding: 1.4rem 1.6rem; }
@media (max-width: 640px) {
  .p-card--row { flex-direction: column; }
  .p-card--row .p-card__media { width: 100%; aspect-ratio: 4 / 3; }
}

/* ---------- Kartu wilayah ---------- */
.area-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
}
.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 14, 24, .05) 0%, rgba(7, 14, 24, .55) 58%, rgba(7, 14, 24, .9) 100%);
  transition: opacity .5s var(--ease);
}
.area-card:hover img { transform: scale(1.05); }
.area-card__body { padding: 1.5rem; width: 100%; }
.area-card__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  line-height: 1.1;
}
.area-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .6rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .76rem;
  color: rgba(255, 255, 255, .78);
}
.area-card__count { color: var(--gold-300); font-weight: 600; }

/* ---------- Fitur / trust ---------- */
.feature {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.feature:hover { border-color: rgba(198, 166, 100, .5); background: rgba(198, 166, 100, .07); transform: translateY(-2px); }
.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 166, 100, .4);
  color: var(--gold-300);
}
.feature__icon .ico { width: 22px; height: 22px; }
.feature__title {
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .25rem;
}
.feature__text { font-size: .82rem; line-height: 1.6; color: rgba(255, 255, 255, .6); }

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-2);
}
.trust-item:last-child { border-bottom: 0; }
.trust-item .ico { color: var(--gold-600); width: 22px; height: 22px; flex: none; margin-top: .15rem; }
.trust-item strong { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); }
.trust-item span { font-size: .8rem; color: var(--ink-3); }

/* ---------- Statistik ---------- */
.stat { text-align: center; padding: 1rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-300);
}
.stat__label {
  margin-top: .5rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.section--paper .stat__num, .section--white .stat__num { color: var(--navy-800); }
.section--paper .stat__label, .section--white .stat__label { color: var(--ink-3); }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label, .field__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field > label.check {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  line-height: 1.5;
}
.field__hint { font-size: .72rem; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%;
  padding: .78rem .9rem;
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(11, 22, 34, .18);
  border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #98A1AC; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 166, 100, .18);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C4753' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 16px;
  padding-right: 2.2rem;
  cursor: pointer;
}
.textarea { min-height: 110px; resize: vertical; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea {
  border-color: var(--danger);
  background: rgba(180, 69, 59, .04);
}
.field__error { display: none; font-size: .72rem; color: var(--danger); }
.field.is-invalid .field__error { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.5;
}
.check input {
  appearance: none;
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: .18rem;
  border: 1px solid rgba(11, 22, 34, .3);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.check input:checked {
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6A664' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
  border-color: var(--navy-800);
}

/* Range slider */
.range-field { display: flex; flex-direction: column; gap: .5rem; }
.range-field__head { display: flex; align-items: baseline; justify-content: space-between; }
.range-field__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-800);
}
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--fill, 40%), rgba(11, 22, 34, .16) var(--fill, 40%), rgba(11, 22, 34, .16) 100%);
}
input[type="range"]::-moz-range-track { height: 3px; background: rgba(11, 22, 34, .16); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-800); border: 2px solid var(--gold);
}
.on-dark input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--gold-300) 0%, var(--gold-300) var(--fill, 40%), rgba(255, 255, 255, .2) var(--fill, 40%), rgba(255, 255, 255, .2) 100%);
}
.on-dark input[type="range"]::-webkit-slider-thumb { background: var(--gold-300); border-color: var(--navy-900); }

/* Form success */
.form-success {
  display: none;
  padding: 1.6rem;
  text-align: center;
  border: 1px solid rgba(46, 125, 91, .35);
  background: rgba(46, 125, 91, .06);
}
.form-success.is-visible { display: block; }
.form-success .ico { width: 34px; height: 34px; color: var(--success); margin: 0 auto .6rem; }
.form-success h4 { color: var(--ink); margin-bottom: .3rem; }
.form-success p { font-size: .86rem; color: var(--ink-3); }

/* ---------- Filter panel (katalog) ---------- */
.filter-panel {
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 1.4rem;
}
.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .4rem;
}
.filter-panel__title {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.filter-panel__reset {
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--gold-600);
  border-bottom: 1px solid transparent;
}
.filter-panel__reset:hover { border-color: var(--gold-600); }
.filter-group {
  border-bottom: 1px solid var(--line-2);
  padding-block: .9rem;
}
.filter-group:last-child { border-bottom: 0; }
.filter-group > summary,
.filter-group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); color: var(--ink-3); }
.filter-group[open] > summary .ico { transform: rotate(180deg); }
.filter-group__body { display: grid; gap: .6rem; padding-top: .85rem; }
.filter-group__body--2 { grid-template-columns: 1fr 1fr; }
.filter-note { font-size: .72rem; color: var(--ink-3); }

.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-inputs .input { padding: .6rem .65rem; font-size: .8rem; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .36rem .7rem;
  font-size: .72rem;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid rgba(11, 22, 34, .16);
  border-radius: 99px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-600); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip .ico { width: 12px; height: 12px; }

/* Toolbar katalog */
.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-2);
}
.listing-toolbar__count { font-size: .86rem; color: var(--ink-3); }
.listing-toolbar__count strong { color: var(--ink); font-weight: 600; }
.listing-toolbar__right { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.toolbar-select { width: auto; min-width: 180px; padding: .55rem 2rem .55rem .8rem; font-size: .8rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); }
.view-toggle button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  color: var(--ink-3);
  transition: all .25s var(--ease);
}
.view-toggle button.is-active { background: var(--navy-800); color: var(--gold-300); }
.view-toggle .ico { width: 17px; height: 17px; }

.active-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .55rem .3rem .7rem;
  font-size: .72rem;
  background: rgba(198, 166, 100, .12);
  border: 1px solid rgba(198, 166, 100, .4);
  color: var(--gold-600);
}
.filter-pill button { display: grid; place-items: center; color: inherit; opacity: .7; }
.filter-pill button:hover { opacity: 1; }
.filter-pill .ico { width: 12px; height: 12px; }

.empty-state {
  padding: 3.5rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(11, 22, 34, .18);
  background: var(--white);
}
.empty-state .ico { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 1rem; }
.empty-state h3 { margin-bottom: .4rem; }
.empty-state p { color: var(--ink-3); font-size: .9rem; margin-bottom: 1.2rem; }

/* ---------- Kalkulator ---------- */
.calc { display: grid; gap: 1.5rem; }
.calc__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
@media (max-width: 900px) { .calc__grid { grid-template-columns: 1fr; } }

.calc__fields { display: grid; gap: 1.35rem; }
.calc__result {
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  background: var(--navy-800);
  color: rgba(255, 255, 255, .72);
  position: relative;
  overflow: hidden;
}
.calc__result::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(198, 166, 100, .22);
  border-radius: 50%;
}
.calc__result-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.calc__amount {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-block: .3rem .2rem;
}
.calc__amount small { font-size: .8rem; font-family: var(--font-sans); color: rgba(255, 255, 255, .55); letter-spacing: .06em; }
.calc__rows { display: grid; gap: .55rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.calc__row dt { color: rgba(255, 255, 255, .58); }
.calc__row dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__note { margin-top: 1.1rem; font-size: .68rem; line-height: 1.6; color: rgba(255, 255, 255, .42); }

.calc-mini { display: grid; gap: 1rem; }
.calc-mini__row { display: grid; gap: .4rem; }

.donut { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.donut svg { width: 150px; height: 150px; flex: none; }
.donut__legend { display: grid; gap: .5rem; font-size: .8rem; }
.donut__legend li { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.donut__dot { width: 10px; height: 10px; border-radius: 2px; flex: none; }

.amort { margin-top: 1.6rem; }
.amort table { font-size: .84rem; }
.amort th, .amort td { padding: .6rem .7rem; text-align: right; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.amort th:first-child, .amort td:first-child { text-align: left; }
.amort thead th {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.amort tbody tr:hover { background: rgba(198, 166, 100, .06); }
.amort__scroll { max-height: 340px; overflow: auto; }

/* ---------- Galeri & lightbox ---------- */
.gallery { display: grid; gap: .6rem; }
.gallery__main {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-800);
  cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform 1.2s var(--ease); }
.gallery__main:hover img { transform: scale(1.02); }
.gallery__counter {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  padding: .3rem .6rem;
  font-size: .7rem;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(7, 14, 24, .6);
  backdrop-filter: blur(6px);
}
.gallery__badges { position: absolute; top: .9rem; left: .9rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 2; }
.gallery__badges .tag {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .6);
  color: var(--navy-800);
  backdrop-filter: blur(6px);
}
.gallery__badges .tag--navy { background: rgba(11, 22, 34, .88); color: #fff; }
.gallery__badges .tag--gold { color: var(--gold-600); border-color: rgba(198, 166, 100, .8); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.gallery__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: .72;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--gold); }
.gallery__thumb--more::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 14, 24, .66);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(3, 8, 14, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 78vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(7, 14, 24, .4);
}
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.lightbox__caption { margin-top: .8rem; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .6); }

/* Panorama 360 (drag) */
.pano {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1622;
  cursor: grab;
  touch-action: pan-y;
}
.pano.is-dragging { cursor: grabbing; }
.pano__img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.pano__hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: .45rem .9rem;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 14, 24, .6);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* ---------- Spesifikasi ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.spec {
  background: var(--white);
  padding: 1rem;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.spec .ico { color: var(--gold-600); width: 20px; height: 20px; margin-top: .1rem; flex: none; }
.spec__label { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.spec__value { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
@media (max-width: 760px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

.spec-table { font-size: .88rem; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-3);
  padding: .7rem 1rem .7rem 0;
  width: 45%;
  vertical-align: top;
}
.spec-table td { padding: .7rem 0; color: var(--ink); font-weight: 500; }

/* ---------- Kartu lead (sticky) ---------- */
.lead-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.lead-card__agent {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-2);
}
.lead-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex: none;
}
.lead-card__agent strong { display: block; font-size: .9rem; color: var(--ink); }
.lead-card__agent span { font-size: .74rem; color: var(--ink-3); }
.lead-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.lead-card__price { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy-800); margin-bottom: 1rem; }
.lead-card .form-grid { gap: .8rem; }
.lead-card .btn + .btn { margin-top: .6rem; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 980px) { .sticky-col { position: static; } }

/* ---------- Accordion ---------- */
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { width: 18px; height: 18px; color: var(--gold-600); transition: transform .3s var(--ease); flex: none; }
.acc[open] summary .ico { transform: rotate(45deg); }
.acc__body { padding-bottom: 1.2rem; font-size: .9rem; line-height: 1.75; color: var(--ink-2); }
.acc__body p + p { margin-top: .7rem; }

/* ---------- Testimoni ---------- */
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line-2);
  height: 100%;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: .6;
  color: var(--gold);
  opacity: .45;
}
.quote__text { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.55; color: var(--ink); font-style: italic; }
.quote__author { display: flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-2); }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ivory); color: var(--navy-700);
  display: grid; place-items: center;
  font-weight: 600; font-size: .82rem; flex: none;
  border: 1px solid rgba(198, 166, 100, .4);
}
.quote__name { font-size: .84rem; font-weight: 600; color: var(--ink); }
.quote__role { font-size: .72rem; color: var(--ink-3); }
.quote__stars { display: flex; gap: .1rem; color: var(--gold); }
.quote__stars .ico { width: 13px; height: 13px; fill: currentColor; stroke: none; }

.quote--video { padding: 0; overflow: hidden; }
.quote__poster { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.quote__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.quote:hover .quote__poster img { transform: scale(1.04); }
.quote__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7, 14, 24, .28);
  transition: background .35s var(--ease);
}
.quote__play .ico { width: 52px; height: 52px; stroke-width: 1.1; }
.quote:hover .quote__play { background: rgba(7, 14, 24, .45); }
.quote--video .quote__body { padding: 1.2rem 1.4rem 1.4rem; }

/* ---------- Artikel ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: .6rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.article-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.article-card__title { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.25; color: var(--ink); }
.article-card:hover .article-card__title { color: var(--gold-600); }
.article-card__excerpt { font-size: .86rem; color: var(--ink-3); line-height: 1.65; }
.article-card__more { margin-top: auto; padding-top: .8rem; }
.article-card--featured { flex-direction: row; }
.article-card--featured .article-card__media { width: 52%; aspect-ratio: auto; }
.article-card--featured .article-card__body { padding: clamp(1.4rem, 3vw, 2.4rem); justify-content: center; }
@media (max-width: 760px) {
  .article-card--featured { flex-direction: column; }
  .article-card--featured .article-card__media { width: 100%; aspect-ratio: 16 / 10; }
}

.article-body { max-width: 72ch; font-size: 1.02rem; line-height: 1.85; color: var(--ink-2); }
.article-body > * + * { margin-top: 1.15rem; }
.article-body h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 2.4rem; }
.article-body h3 { font-size: 1.35rem; margin-top: 1.9rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; display: grid; gap: .55rem; }
.article-body ul li { list-style: none; position: relative; padding-left: 1rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--gold); }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: .4rem 0 .4rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
}
.article-body strong { color: var(--ink); }

/* ---------- Masterplan ---------- */
.siteplan-wrap {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: clamp(.6rem, 1.5vw, 1.2rem);
}
.siteplan { width: 100%; height: auto; display: block; }
.plot {
  fill: #22394d;
  stroke: rgba(255, 255, 255, .35);
  stroke-width: 1.2;
  cursor: pointer;
  transition: fill .25s var(--ease), stroke .25s var(--ease);
}
.plot--available { fill: #2E7D5B; }
.plot--reserved { fill: #B78638; }
.plot--sold { fill: #6E3B36; }
.plot:hover { stroke: var(--gold-300); stroke-width: 2.4; }
.plot.is-selected { stroke: var(--gold-300); stroke-width: 3; }
.plot-label {
  font-family: var(--font-sans);
  font-size: 7px;
  fill: rgba(255, 255, 255, .92);
  pointer-events: none;
  text-anchor: middle;
  font-weight: 600;
}
.road-line { stroke: rgba(255, 255, 255, .16); stroke-width: 9; }
.road-label { font-family: var(--font-sans); font-size: 8px; fill: rgba(255, 255, 255, .45); letter-spacing: .12em; }
.green-area { fill: rgba(46, 125, 91, .18); stroke: rgba(46, 125, 91, .5); stroke-width: 1; }
.water-area { fill: rgba(60, 120, 160, .25); stroke: rgba(120, 180, 220, .5); stroke-width: 1; }

.legend { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: .78rem; color: var(--ink-2); }
.legend__item { display: inline-flex; align-items: center; gap: .45rem; }
.legend__swatch { width: 12px; height: 12px; border-radius: 2px; }
.on-dark .legend, .siteplan-wrap + .legend { color: rgba(255, 255, 255, .65); }

.plot-info {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.3rem;
}
.plot-info__empty { font-size: .84rem; color: var(--ink-3); }
.plot-info__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.plot-info table { font-size: .84rem; margin-top: .8rem; }
.plot-info td { padding: .4rem 0; border-bottom: 1px solid var(--line-2); }
.plot-info td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.status-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.status-summary__item { background: #fff; padding: 1rem; text-align: center; }
.status-summary__num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--navy-800); line-height: 1; }
.status-summary__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }

/* ---------- Peta ---------- */
.map-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ivory);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.15) contrast(1.02); }
.map-frame__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: .5rem;
  padding: 2rem;
  font-size: .84rem;
  color: var(--ink-3);
  background: var(--ivory);
  z-index: -1;
}
.map-card { display: grid; gap: .4rem; }

/* ---------- Tabel biaya ---------- */
.cost-table { font-size: .88rem; background: #fff; border: 1px solid var(--line-2); }
.cost-table th, .cost-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); text-align: left; }
.cost-table thead th { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--ivory); }
.cost-table tbody tr:last-child td { border-bottom: 0; }
.cost-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }

/* ---------- Langkah proses ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.step {
  background: #fff;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-600);
  line-height: 1;
}
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .86rem; color: var(--ink-3); }

/* ---------- Tab ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  padding: .9rem 1.2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--navy-800); border-color: var(--gold); }
.tab-panel[hidden] { display: none; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(3, 8, 14, .72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  transform: translateY(14px);
  transition: transform .35s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
}
.modal__close:hover { color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .5rem;
  font-size: .82rem;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-600); }
.pagination .is-current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- Badge diskon / promo ---------- */
.ribbon {
  position: absolute;
  left: 0;
  top: 1.1rem;
  z-index: 3;
  padding: .3rem .7rem .3rem .85rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold);
}
