/* =========================================================
   Svarna Land — hero developer properti
   Polos seperti situs developer sungguhan: header putih,
   foto proyek selebar layar yang berganti, titik slide,
   bar pencarian unit sederhana di bawahnya.
   ========================================================= */
:root {
  --navy: #14294a;
  --navy-900: #0c1c35;
  --gold: #c4933f;
  --gray: #5d6878;
  --line: #e3e7ed;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html { -webkit-tap-highlight-color: transparent; }
body { overflow-x: hidden; }
::selection { background: var(--navy); color: #fff; }
[hidden] { display: none !important; }
.container-x { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .container-x { padding-inline: 40px; } }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Animasi pembuka ---------- */
.fx { opacity: 0; transform: translateY(16px); }
body.is-loaded .fx { animation: fadeUp .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; opacity: 0; transition: box-shadow .3s ease; }
body.is-loaded .site-header { animation: fadeIn .6s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(20, 41, 74, .1); }
/* logo, menu, dan telepon muncul bergantian dari atas */
.logo, .nav > li, .nav-phone, .menu-btn { opacity: 0; transform: translateY(-10px); }
body.is-loaded .logo, body.is-loaded .nav > li, body.is-loaded .nav-phone, body.is-loaded .menu-btn { animation: dropIn .6s var(--ease) forwards; }
body.is-loaded .logo { animation-delay: .1s; }
body.is-loaded .nav > li:nth-child(1) { animation-delay: .18s; }
body.is-loaded .nav > li:nth-child(2) { animation-delay: .24s; }
body.is-loaded .nav > li:nth-child(3) { animation-delay: .3s; }
body.is-loaded .nav > li:nth-child(4) { animation-delay: .36s; }
body.is-loaded .nav > li:nth-child(5) { animation-delay: .42s; }
body.is-loaded .nav > li:nth-child(6) { animation-delay: .48s; }
body.is-loaded .nav-phone, body.is-loaded .menu-btn { animation-delay: .54s; }
@keyframes dropIn { to { opacity: 1; transform: none; } }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { font-family: Outfit, sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--navy); transition: color .15s; }
.logo:hover .logo-mark { color: var(--gold); }
.logo-line { width: 1.5px; height: 34px; background: var(--navy); }
.logo-name { display: block; font-family: Outfit, sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.logo-sub { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.nav { gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 16px; color: #1f2d44; white-space: nowrap; transition: color .15s ease; }
.nav-link:hover { color: var(--gold); }
.nav-link:active { opacity: .7; }
.nav-link.is-active { color: #2f5d8f; font-weight: 700; }
.chev { width: 15px; height: 15px; transition: transform .2s var(--ease); }

.has-drop { position: relative; }
.dropdown { position: absolute; top: calc(100% + 12px); left: 0; width: 280px; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 34px -18px rgba(20, 41, 74, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .2s var(--ease), visibility .15s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .chev, .has-drop:focus-within .chev { transform: rotate(180deg); }
.dropdown button { display: block; width: 100%; padding: 10px 18px; text-align: left; transition: background-color .12s; }
.dropdown b { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.dropdown small { display: block; font-size: 13px; color: var(--gray); }
.dropdown button:hover { background: #f5f7fa; }
.dropdown button:hover b { color: var(--gold); }

.nav-phone { padding: 8px 12px; font-size: 15px; font-weight: 700; color: var(--navy); transition: color .15s; }
.nav-phone:hover { color: var(--gold); }

.menu-btn { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border-radius: 6px; transition: background-color .15s; }
.menu-btn:hover { background: #f3f5f8; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Tombol ---------- */
/* warna tombol mengisi dari kiri saat disorot */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: color .25s ease, border-color .25s ease, transform .12s ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(.97); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy::before { background: var(--gold); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white::before { background: var(--gold); }
.btn-white:hover { color: #fff; }
.btn-line { border: 1.5px solid #fff; color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: 78px; height: clamp(520px, calc(100svh - 78px - 96px), 860px); background: #203250; }
/* Tirai putih yang terangkat saat halaman dibuka */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 6; background: #fff; transform-origin: top; pointer-events: none; }
body.is-loaded .hero::after { animation: curtain 1s cubic-bezier(.76, 0, .24, 1) .25s forwards; }
@keyframes curtain { to { transform: scaleY(0); } }

.slides { position: absolute; inset: -40px 0 0; will-change: transform; transform: translateY(var(--py, 0px)); }
.slide { position: absolute; inset: 0; margin: 0; overflow: hidden; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 2; }
.slide.is-leaving { visibility: visible; z-index: 1; }
/* slide baru menyapu masuk dari samping */
.slide.is-active.wipe-next { animation: wipeNext .8s cubic-bezier(.77, 0, .18, 1) both; }
.slide.is-active.wipe-prev { animation: wipePrev .8s cubic-bezier(.77, 0, .18, 1) both; }
@keyframes wipeNext { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipePrev { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.slide.is-active img { animation: kenburns 4s ease-out forwards; }
.slide.is-leaving img { transform: scale(1.02); filter: brightness(.55); transition: filter .8s ease; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 34, .72) 0%, rgba(8, 18, 34, .25) 38%, transparent 62%); }

.cap { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 2; color: #fff; }
.cap-kicker, .cap-info, .cap-actions { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero.is-ready .slide.is-active .cap-kicker, .hero.is-ready .slide.is-active .cap-info, .hero.is-ready .slide.is-active .cap-actions { opacity: 1; transform: none; }
.hero.is-ready .slide.is-active .cap-kicker { transition-delay: .35s; }
.hero.is-ready .slide.is-active .cap-info { transition-delay: .65s; }
.hero.is-ready .slide.is-active .cap-actions { transition-delay: .78s; }
.cap-kicker { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .88); }
.cap-line { display: block; width: 28px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.hero.is-ready .slide.is-active .cap-line { transform: scaleX(1); transition-delay: .45s; }
.cap-title { margin-top: 6px; overflow: hidden; padding-bottom: .08em; font-family: Outfit, sans-serif; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
/* nama proyek naik dari balik garis */
.cap-title span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.hero.is-ready .slide.is-active .cap-title span { transform: none; transition-delay: .45s; }
.cap-info { margin-top: 10px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .9); }
.cap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.pager-wrap { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 10px; }
.pager-wrap { opacity: 0; }
.hero.is-ready .pager-wrap { animation: fadeUp .7s var(--ease) .9s both; }
.dot { position: relative; overflow: hidden; width: 11px; height: 11px; padding: 0; border-radius: 6px; background: rgba(255, 255, 255, .5); transition: background-color .15s, width .4s var(--ease); }
.dot:hover { background: rgba(255, 255, 255, .85); }
.dot.is-active { width: 44px; background: rgba(255, 255, 255, .4); }
/* garis progres di titik aktif */
.dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-active::after { animation: dotFill var(--dur, 6000ms) linear forwards; }
.hero.is-paused .dot.is-active::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.counter { margin-left: 16px; font-family: Outfit, sans-serif; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.counter b { display: inline-block; min-width: 1.4em; font-weight: 600; color: #fff; }
.counter b.is-flip { animation: flip .5s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(10px); } }
.arrows { display: flex; gap: 8px; }
.arrows button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; transition: background-color .15s, color .15s, transform .12s; }
.arrows svg { width: 19px; height: 19px; }
.arrows button:hover { background: #fff; color: var(--navy); }
.arrows button:active { transform: scale(.92); }

/* ---------- Bar cari unit ---------- */
.search-band { border-bottom: 1px solid var(--line); background: #fff; }
.search { display: grid; gap: 12px; padding-top: 18px; padding-bottom: 10px; align-items: end; }
@media (min-width: 900px) { .search { grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; gap: 18px; } }
@media (min-width: 900px) and (max-width: 1440px) { .search { padding-right: 96px; } }
.search-title { align-self: center; font-family: Outfit, sans-serif; font-size: 20px; font-weight: 600; }
.s-field { display: grid; gap: 5px; min-width: 0; }
/* kolom pencarian muncul bergantian */
.search > * { opacity: 0; transform: translateY(14px); }
body.is-loaded .search > * { animation: fadeUp .6s var(--ease) forwards; }
body.is-loaded .search > :nth-child(1) { animation-delay: 1s; }
body.is-loaded .search > :nth-child(2) { animation-delay: 1.08s; }
body.is-loaded .search > :nth-child(3) { animation-delay: 1.16s; }
body.is-loaded .search > :nth-child(4) { animation-delay: 1.24s; }
body.is-loaded .search > :nth-child(5) { animation-delay: 1.32s; }
.s-result b.count { display: inline-block; }
.s-result.is-swap b.count { animation: flip .5s var(--ease); }
.s-field > label { font-size: 13px; font-weight: 700; color: var(--gray); }
.s-btn { height: 46px; }
.s-result { padding-bottom: 16px; min-height: 1.5em; font-size: 15px; color: var(--gray); }
.s-result b { color: var(--navy); }
.s-result a { font-weight: 700; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.s-result a:hover { color: var(--navy); }
.s-result.is-swap { animation: fadeUp .35s var(--ease); }

/* Dropdown kustom */
.cs { position: relative; }
.cs-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cfd6df; border-radius: 6px; background: #fff; font: inherit; font-size: 15px; color: var(--navy); text-align: left; transition: border-color .15s, box-shadow .15s; }
.cs-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-btn svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gray); transition: transform .2s var(--ease); }
.cs-btn:hover { border-color: var(--navy); }
.cs.is-open .cs-btn { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 41, 74, .12); }
.cs.is-open .cs-btn svg { transform: rotate(180deg); }
/* position: fixed + left/top/bottom/width diisi oleh JS (lihat enhanceSelect),
   supaya penempatannya selalu akurat di HP walau ada transform/animasi di induknya */
.cs-list { position: fixed; z-index: 60; max-height: min(300px, calc(100vh - 32px)); overflow-y: auto; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 34px -16px rgba(20, 41, 74, .35); }
.cs-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: 15px; color: #2a3950; cursor: pointer; }
.cs-opt svg { width: 15px; height: 15px; color: var(--gold); opacity: 0; }
.cs-opt.is-active { background: #f3f5f8; }
.cs-opt[aria-selected="true"] { font-weight: 700; color: var(--navy); }
.cs-opt[aria-selected="true"] svg { opacity: 1; }

/* =========================================================
   SECTION HALAMAN
   ========================================================= */
[id] { scroll-margin-top: 90px; }
.btn.nav-phone:hover { color: #fff; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-gray { background: #f5f7fa; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* muncul saat di-scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

.kicker { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a67a2d; }
.kicker-line { width: 28px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .25s; }
.rv.is-in .kicker-line { transform: scaleX(1); }
.sec-title { margin-top: 10px; max-width: 760px; font-family: Outfit, sans-serif; font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.sec-text { margin-top: 14px; max-width: 600px; font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.75; color: var(--gray); }
.sec-text-sm { max-width: 380px; margin-top: 0; font-size: 15px; }
.sec-head { margin-bottom: 36px; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }

.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline::before { background: var(--navy); }
.btn-outline:hover { color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold::before { background: var(--navy); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.link-btn { font-size: 14.5px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.link-btn:hover { color: var(--gold); }

/* ---------- Tentang ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; } }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s; }
.stat dd { font-family: Outfit, sans-serif; font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; line-height: 1; transition: color .2s; }
.stat dt { margin-top: 8px; font-size: 14.5px; color: var(--gray); }
.stat:hover { background: #f5f7fa; }
.stat:hover dd { color: var(--gold); }

/* ---------- Proyek ---------- */
.proj-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .proj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proj { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.proj:hover { transform: translateY(-4px); border-color: #cfd6df; box-shadow: 0 20px 40px -24px rgba(20, 41, 74, .35); }
.proj-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #dfe4ea; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .proj-img img { transform: scale(1.05); }
.proj-status { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 4px; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.proj-status.soon { background: var(--navy); color: #fff; }
.proj-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.proj-kind { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a67a2d; }
.proj-name { margin-top: 4px; font-family: Outfit, sans-serif; font-size: 21px; font-weight: 600; }
.proj-desc { flex: 1; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--gray); }
.proj-price { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--gray); }
.proj-price b { display: block; margin-top: 2px; font-size: 17px; color: var(--navy); }
.proj-actions { display: flex; gap: 8px; margin-top: 14px; }
.proj-actions .btn { flex: 1; padding: 10px 12px; font-size: 14px; }

/* ---------- Filter & kartu unit ---------- */
.filter { display: grid; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
@media (min-width: 640px) { .filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .filter { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.f-field { display: grid; gap: 6px; min-width: 0; }
.f-field > label, .f-field > legend { font-size: 13px; font-weight: 700; color: var(--gray); }
.f-field > legend { margin-bottom: 8px; }
.optional { font-weight: 500; color: #8a94a3; }

.money, .stepper { display: flex; align-items: stretch; height: 46px; overflow: hidden; background: #fff; border: 1px solid #cfd6df; border-radius: 6px; transition: border-color .15s, box-shadow .15s; }
.money:hover, .stepper:hover { border-color: var(--navy); }
.money:focus-within, .stepper:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 41, 74, .12); }
.money span, .stepper span { display: grid; place-items: center; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--gray); }
.money input, .stepper input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--navy); }
.money-lg { height: 56px; }
.money-lg input { font-family: Outfit, sans-serif; font-size: 22px; font-weight: 600; }
.money-unit { flex-shrink: 0; height: 100%; padding: 0 8px; border: 0; border-left: 1px solid var(--line); outline: none; background: #f6f7f9; font: inherit; font-size: 13px; font-weight: 700; color: var(--gray); cursor: pointer; }
.money-unit:focus-visible { background: #eef0f3; }
.stepper input { text-align: right; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper span { padding: 0 8px 0 4px; }
.stepper button { width: 42px; flex-shrink: 0; font-size: 20px; font-weight: 700; color: var(--navy); transition: background-color .12s, color .12s; }
.stepper button:hover { background: var(--navy); color: #fff; }
.stepper button:active { background: var(--gold); }
.input { width: 100%; height: 46px; padding: 0 12px; background: #fff; border: 1px solid #cfd6df; border-radius: 6px; font: inherit; font-size: 15px; color: var(--navy); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--navy); }
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 41, 74, .12); }
.input.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }

.unit-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 14px; font-size: 15px; color: var(--gray); }
.unit-meta b { color: var(--navy); }
.unit-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .unit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.unit { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.unit:hover { transform: translateY(-4px); border-color: #cfd6df; box-shadow: 0 20px 40px -24px rgba(20, 41, 74, .35); }
.unit.is-enter { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.unit-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #dfe4ea; }
.unit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.unit:hover .unit-img img { transform: scale(1.05); }
.unit-stock { position: absolute; right: 12px; top: 12px; padding: 4px 9px; border-radius: 4px; background: rgba(12, 28, 53, .85); font-size: 12.5px; font-weight: 700; color: #fff; }
.unit-stock.low { background: var(--gold); }
.unit-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.unit-proj { font-size: 13.5px; font-weight: 600; color: var(--gray); }
.unit-name { margin-top: 2px; font-family: Outfit, sans-serif; font-size: 22px; font-weight: 600; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border-block: 1px solid var(--line); }
.specs > div { padding: 10px 4px; text-align: center; }
.specs > div + div { border-left: 1px solid var(--line); }
.specs dt { font-size: 12px; color: var(--gray); }
.specs dd { font-size: 15px; font-weight: 700; }
.unit-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; }
.unit-price b { font-family: Outfit, sans-serif; font-size: 24px; font-weight: 600; white-space: nowrap; }
.unit-price span { font-size: 13.5px; text-align: right; color: var(--gray); }
.unit-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.unit-actions .btn { padding: 10px 8px; font-size: 14px; }
.more-wrap { margin-top: 26px; text-align: center; }
.empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; border: 1px dashed #cfd6df; border-radius: 8px; color: var(--gray); }

/* ---------- Denah ---------- */
.plan { display: grid; gap: 22px; padding: clamp(16px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
@media (min-width: 1024px) { .plan { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; } }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.floor-tabs { display: flex; gap: 6px; }
.floor-tab { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--gray); transition: border-color .15s, color .15s, background-color .15s; }
.floor-tab:hover { border-color: var(--navy); color: var(--navy); }
.floor-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan-hint { font-size: 13px; color: var(--gray); }
.plan-canvas { display: grid; place-items: center; min-height: 340px; margin-top: 14px; padding: clamp(12px, 2vw, 24px); background: #fafbfc; border: 1px solid var(--line); border-radius: 6px; }
#planSvg { width: 100%; height: auto; max-height: 470px; }
.room { cursor: pointer; }
.room rect { fill: #fff; stroke: var(--navy); stroke-width: 3; transition: fill .15s; }
.room text { fill: var(--navy); font-family: "Nunito Sans", sans-serif; pointer-events: none; }
.room .r-name { font-weight: 700; }
.room .r-size { fill: var(--gray); }
.room:hover rect, .room.is-active rect { fill: #f6ebd7; }
.room.is-enter { animation: roomIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); transform-box: fill-box; transform-origin: center; }
@keyframes roomIn { from { opacity: 0; transform: scale(.9); } }
.room-info { min-height: 1.5em; margin-top: 12px; font-size: 15px; color: var(--gray); }
.room-info b { color: var(--navy); }
.plan-side { display: flex; flex-direction: column; gap: 16px; }
.plan-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.plan-spec > div { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.plan-spec > div:nth-child(odd) { border-right: 1px solid var(--line); }
.plan-spec > div.wide { grid-column: 1 / -1; border-right: 0; border-bottom: 0; background: #f5f7fa; }
.plan-spec dt { font-size: 12.5px; color: var(--gray); }
.plan-spec dd { font-size: 15.5px; font-weight: 700; }
.plan-spec .wide dd { font-family: Outfit, sans-serif; font-size: 24px; font-weight: 600; }
.room-list { display: grid; gap: 2px; max-height: 250px; overflow: auto; }
.room-list button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 6px; font-size: 14.5px; text-align: left; transition: background-color .12s; }
.room-list button span { color: var(--gray); }
.room-list button:hover, .room-list button.is-active { background: #f6ebd7; }
.room-list button.is-active { font-weight: 700; }
.plan-actions { display: grid; gap: 8px; }

/* ---------- Simulasi KPR ---------- */
.kpr { display: grid; gap: 20px; }
@media (min-width: 1024px) { .kpr { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; } }
.kpr-form { display: grid; align-content: start; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 8px; }
.kpr-unit { font-size: 14.5px; color: var(--gray); }
.kpr-unit b { color: var(--navy); }
.kpr-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .kpr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpr-out { align-self: start; padding: clamp(20px, 2.6vw, 32px); border-radius: 8px; background: var(--navy); color: #fff; }
.out-k { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.out-big { margin-top: 4px; font-family: Outfit, sans-serif; font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1.1; }
.out-big.is-flip { animation: flip .45s var(--ease); }
.out-list { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); }
.out-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.out-list dt { color: rgba(255, 255, 255, .72); }
.out-list dd { font-weight: 700; text-align: right; }
.check { margin: 20px 0; }
.check-bar { position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .15); }
.check-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: #6fcf97; transition: width .6s var(--ease), background-color .3s; }
.check-mark { position: absolute; left: 50%; top: -4px; width: 2px; height: 18px; background: #fff; opacity: .6; }
.check.warn .check-bar span { background: #f2c94c; }
.check.bad .check-bar span { background: #eb5757; }
.check-text { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.check-text b { color: #fff; }
.kpr-out .btn-gold::before { background: #fff; }
.kpr-out .btn-gold:hover { color: var(--navy); }
.out-note { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* ---------- Fasilitas ---------- */
.fac-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fac { position: relative; overflow: hidden; margin: 0; aspect-ratio: 3 / 4; border-radius: 8px; background: #dfe4ea; }
@media (max-width: 1023px) { .fac { aspect-ratio: 4 / 3; } }
.fac img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 34, .75), transparent 55%); }
.fac figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; color: #fff; }
.fac b { display: block; font-family: Outfit, sans-serif; font-size: 19px; font-weight: 600; }
.fac span { font-size: 13.5px; opacity: .85; }
.fac:hover img { transform: scale(1.06); }
.fac-list { display: grid; gap: 12px 28px; margin-top: 28px; }
@media (min-width: 640px) { .fac-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fac-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fac-list li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.fac-list li::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; background: var(--gold); }

/* ---------- Tab (lokasi & galeri) ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 12px 16px; font-size: 15px; font-weight: 700; color: var(--gray); white-space: nowrap; transition: color .15s; }
.tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.tab:hover { color: var(--navy); }
.tab.is-active { color: var(--navy); }
.tab.is-active::after { transform: scaleX(1); }
.tabs-inline { margin-bottom: 0; border-bottom: 0; gap: 6px; }
.tabs-inline .tab { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.tabs-inline .tab::after { display: none; }
.tabs-inline .tab:hover { border-color: var(--navy); }
.tabs-inline .tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Lokasi ---------- */
.loc { display: grid; gap: 20px; }
@media (min-width: 1024px) { .loc { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; } }
.loc-map { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #e9edf2; }
.loc-map iframe { display: block; width: 100%; height: clamp(300px, 36vw, 440px); border: 0; }
.loc-name { font-family: Outfit, sans-serif; font-size: 24px; font-weight: 600; }
.loc-addr { margin-top: 4px; font-size: 15px; color: var(--gray); }
.places { margin-top: 18px; border-top: 1px solid var(--line); }
.places li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: padding-left .2s var(--ease); }
.places li:hover { padding-left: 6px; }
.pl-ic { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 6px; background: #f1f4f8; color: var(--navy); transition: background-color .15s, color .15s; }
.pl-ic svg { width: 18px; height: 18px; }
.places li:hover .pl-ic { background: var(--navy); color: #fff; }
.pl-name { flex: 1; }
.pl-time { font-weight: 700; white-space: nowrap; }
.loc-info.is-swap > * { animation: cardIn .45s var(--ease) both; }

/* ---------- Galeri ---------- */
/* Kartu dengan caption selalu tampil (bukan hover-only), supaya rapi juga di HP (tanpa hover) */
.gal-grid { column-count: 2; column-gap: 12px; }
@media (min-width: 640px) { .gal-grid { column-count: 3; } }
@media (min-width: 1024px) { .gal-grid { column-count: 4; } }
.gal-item { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: zoom-in; break-inside: avoid; transition: border-color .2s, box-shadow .2s; }
.gal-item:hover, .gal-item:focus-visible { border-color: #cfd6df; box-shadow: 0 14px 30px -18px rgba(20, 41, 74, .35); }
.gal-ph { position: relative; display: block; overflow: hidden; background: #dfe4ea; border-radius: 8px 8px 0 0; }
.gal-item img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.05); }
.gal-cap { display: block; padding: 10px 12px; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--navy); text-align: left; }
.gal-item.is-enter { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }

.lightbox { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px; background: rgba(8, 14, 26, .94); animation: fadeIn .25s ease; }
.lb-figure { margin: 0; max-width: min(1100px, 100%); }
.lb-figure img { display: block; max-width: 100%; max-height: 76vh; margin-inline: auto; border-radius: 4px; }
.lb-figure img.is-swap { animation: cardIn .35s var(--ease); }
.lb-figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lb-close, .lb-nav { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 50%; color: #fff; transition: background-color .15s, color .15s, transform .12s; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-close:hover, .lb-nav:hover { background: #fff; color: var(--navy); }
.lb-close:active, .lb-nav:active { transform: scale(.92); }
.lb-close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 767px) { .lb-nav { position: absolute; bottom: 16px; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* ---------- Survei ---------- */
.survey { display: grid; gap: 36px; }
@media (min-width: 1024px) { .survey { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.survey-points { margin-top: 24px; border-top: 1px solid var(--line); }
.survey-points li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--gray); }
.survey-points b { margin-right: 6px; color: var(--navy); }
.survey-form { display: grid; gap: 18px; padding: clamp(20px, 2.6vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 50px -36px rgba(20, 41, 74, .35); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 9px 16px; border: 1px solid #cfd6df; border-radius: 6px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.choice span:hover { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.kpr-attach { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.kpr-attach input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-msg { padding: 12px 14px; border-radius: 6px; font-size: 14.5px; font-weight: 600; }
.form-msg.is-error { background: #fdecec; color: #b3261e; }
.form-msg.is-ok { background: #eaf6ee; color: #1e7a45; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.faq-list details { border-bottom: 1px solid #d9dfe7; }
.faq-list details:first-child { border-top: 1px solid #d9dfe7; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; transition: color .15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { padding-bottom: 20px; font-size: 15.5px; line-height: 1.7; color: var(--gray); animation: cardIn .35s var(--ease); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); }
.footer-grid { display: grid; gap: 36px; padding-block: 64px 44px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1fr 1.2fr; } }
.logo-light .logo-mark, .logo-light .logo-name { color: #fff; }
.logo-light .logo-line { background: #fff; }
.footer-about { max-width: 340px; margin-top: 18px; font-size: 15px; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .15s, transform .15s; }
.socials svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--gold); transform: translateY(-2px); }
.footer h3 { margin-bottom: 14px; font-family: Outfit, sans-serif; font-size: 17px; font-weight: 600; color: #fff; }
.footer-links { display: grid; gap: 10px; font-size: 15px; }
.footer-links a { display: inline-block; transition: color .15s, transform .2s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { gap: 14px; }
.footer-contact li { line-height: 1.5; }
.fc-row { display: flex; align-items: flex-start; gap: 10px; }
.fc-ic { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.fc-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer-copy { padding: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; text-align: center; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); opacity: 0; transition: transform .2s var(--ease), background-color .15s; }
body.is-loaded .wa-float { animation: fadeIn .5s ease 1.4s forwards; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); background: #1ebe5b; }
.wa-float:active { transform: scale(.95); }

@media (max-width: 767px) {
  .hero { height: clamp(460px, 78svh, 640px); }
  .cap { bottom: 76px; }
  .cap-actions .btn { flex: 1 1 auto; }
  .pager-wrap { bottom: 22px; }
  .arrows button { width: 38px; height: 38px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* =========================================================
   Halaman detail: Tipe Unit, Denah, Simulasi KPR, Lokasi.
   Memakai ulang komponen yang sudah ada (section, sec-title,
   unit, plan, kpr, tabs, cs). Ini hanya tambahan kecil.
   ========================================================= */
.page-head { position: relative; padding-block: 140px 44px; background: var(--navy); color: #fff; overflow: hidden; }
.page-head-bg { position: absolute; inset: 0; z-index: 0; opacity: .3; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 18%, rgba(20, 41, 74, .55) 80%); }
.crumb { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .62); }
.crumb a { color: rgba(255, 255, 255, .88); transition: color .15s; }
.crumb a:hover { color: var(--gold); }
.page-head h1 { position: relative; z-index: 1; margin-top: 12px; max-width: 760px; font-family: Outfit, sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 600; line-height: 1.15; color: #fff; }
.page-head h1 em { font-style: normal; color: var(--gold); }
.page-head p { position: relative; z-index: 1; margin-top: 12px; max-width: 580px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); }

/* Tipe unit: bar filter & banding */
.filter-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; margin-bottom: 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
@media (min-width: 900px) { .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; } }
.filter-bar label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--gray); }
.budget-field output { display: inline-block; margin-left: 6px; font-weight: 700; color: var(--navy); }
.budget-field input[type="range"] { width: 100%; accent-color: var(--gold); }
.unit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.unit-head b { font-family: Outfit, sans-serif; font-size: 20px; font-weight: 600; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--gray); cursor: pointer; }
.cmp-toggle input { width: 16px; height: 16px; accent-color: var(--gold); }
.cmp-box { margin-top: 36px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.cmp-box > h3 { font-family: Outfit, sans-serif; font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.cmp-row { display: grid; grid-template-columns: 150px repeat(3, minmax(120px, 1fr)); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.cmp-row > span:first-child { font-weight: 700; color: var(--gray); }
.cmp-head { font-family: Outfit, sans-serif; font-weight: 600; font-size: 16px; color: var(--navy); }
.cmp-head span { display: flex; align-items: center; gap: 8px; }
.cmp-del { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f1f4f8; font-size: 15px; line-height: 1; color: var(--gray); transition: background-color .15s, color .15s; }
.cmp-del:hover { background: var(--navy); color: #fff; }
.cmp-row .btn { padding: 8px 14px; font-size: 13px; }

/* KPR: perbandingan skema & tabel angsuran */
.bank-table, .amor-table { margin-top: 18px; border-top: 2px solid var(--navy); }
.bank-row, .amor-row { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 12px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.bank-head, .amor-head { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); background: #f5f7fa; }
.bank-name b { display: block; font-size: 15px; }
.bank-name small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--gray); }
.bank-row b { color: var(--navy); }
.amor-row span:not(:first-child), .amor-head span:not(:first-child) { text-align: right; }
.amor-row span:first-child { font-weight: 700; }
@media (max-width: 767px) {
  .bank-head { display: none; }
  .bank-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-name { grid-column: 1 / -1; }
  .bank-row > span[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); }
  .amor-row, .amor-head { grid-template-columns: 1fr repeat(3, minmax(0, 1fr)); font-size: 12.5px; gap: 6px; }
}

/* Lokasi: kartu proyek + jarak bertingkat */
.loc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .loc-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
.loc-photo { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: #e7ecf2; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; }
.loc-meta { margin-top: 22px; }
.loc-meta h2 { font-family: Outfit, sans-serif; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; }
.loc-meta .loc-kind { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--gold-600, #a67a2d); }
.loc-meta .loc-addr2 { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--gray); }
.loc-meta .loc-status { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 99px; background: #f1f4f8; font-size: 12.5px; font-weight: 700; }
.loc-desc { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--gray); }
.places-full { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.places-full li { display: grid; grid-template-columns: 34px minmax(0, 1.4fr) minmax(60px, 1fr) 58px; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.places-full .pl-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #f1f4f8; color: var(--navy); }
.places-full .pl-ic svg { width: 18px; height: 18px; }
.places-full .pl-name { font-size: 14.5px; font-weight: 600; }
.pl-bar { display: block; height: 6px; border-radius: 99px; background: #eaeef4; overflow: hidden; }
.pl-bar i { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
.places-full .pl-time { font-size: 13.5px; font-weight: 700; text-align: right; color: var(--navy); }
.loc-map-full { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.loc-map-full iframe { width: 100%; height: 100%; border: 0; }
.loc-units { display: grid; gap: 10px; margin-top: 20px; }
.loc-unit { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, transform .2s; }
.loc-unit:hover { border-color: var(--gold); transform: translateY(-2px); }
.loc-unit b { grid-column: 1; grid-row: 1; font-size: 15px; font-weight: 700; }
.loc-unit span { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--gray); }
.loc-unit em { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-family: Outfit, sans-serif; font-size: 16px; font-weight: 600; color: var(--navy); white-space: nowrap; }

@media (max-width: 639px) { .page-head { padding-block: 108px 32px; } }

@media (prefers-reduced-motion: reduce) {
  .fx, .site-header, .wa-float, .logo, .nav > li, .nav-phone, .menu-btn, .search > *, .pager-wrap { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero::after { display: none; }
  .slide, .slide img, .cap-kicker, .cap-info, .cap-actions, .cap-title span, .cap-line { transition: none !important; animation: none !important; }
  .slides { transform: none !important; }
  .dot.is-active::after { animation: none; transform: scaleX(1); }
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .kicker-line { transform: none !important; transition: none !important; }
  .unit.is-enter, .room.is-enter, .gal-item.is-enter, .loc-info.is-swap > *, .faq-list details p, .out-big.is-flip, .lb-figure img.is-swap { animation: none !important; }
}

/* ---------- Menu samping (mobile): panel geser dari kanan ---------- */
.m-drawer { position: fixed; inset: 0; z-index: 90; --dw-bg: #14294A; --dw-fg: #fff; --dw-muted: rgba(255, 255, 255, .55); --dw-line: rgba(255, 255, 255, .1); --dw-line-strong: rgba(255, 255, 255, .25); --dw-accent: #C4933F; --dw-accent-text: #DDB36B; --dw-accent-hover: #A67A2D; --dw-on-accent: #fff; --dw-font: Outfit, sans-serif; --dw-weight: 600; --dw-size: 26px; --dw-radius: 6px; }
.m-drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s ease; }
.m-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain; padding: 90px 32px 40px; background: var(--dw-bg); color: var(--dw-fg); transform: translateX(100%); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.m-drawer.is-open .m-drawer-backdrop { opacity: 1; }
.m-drawer.is-open .m-drawer-panel { transform: none; }
.m-drawer-close { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--dw-line-strong); border-radius: var(--dw-radius, 0); color: var(--dw-fg); transition: background-color .15s, border-color .15s, color .15s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.m-drawer-close svg { width: 22px; height: 22px; }
.m-drawer-close:hover { background: var(--dw-accent); border-color: var(--dw-accent); color: var(--dw-on-accent); transform: rotate(90deg); }
.m-drawer-close:active { transform: rotate(90deg) scale(.9); }
.m-drawer-k { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--dw-muted); }
.m-drawer-links { margin: 14px 0 0; padding: 0; list-style: none; }
.m-drawer-links a { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--dw-line); font-family: var(--dw-font); font-size: var(--dw-size, 28px); font-weight: var(--dw-weight, 700); line-height: 1.15; letter-spacing: var(--dw-tracking, normal); text-transform: var(--dw-case, none); color: var(--dw-fg); transition: color .15s, padding-left .25s cubic-bezier(.22, 1, .36, 1); }
.m-drawer-links i { flex-shrink: 0; width: 20px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--dw-accent-text, var(--dw-accent)); }
.m-drawer-links a:hover, .m-drawer-links a:active { color: var(--dw-accent-text, var(--dw-accent)); padding-left: 10px; }
.m-drawer.is-open .m-drawer-links li, .m-drawer.is-open .m-drawer-contact { animation: mdIn .5s cubic-bezier(.22, 1, .36, 1) both; }
.m-drawer.is-open .m-drawer-links li:nth-child(2) { animation-delay: .04s; }
.m-drawer.is-open .m-drawer-links li:nth-child(3) { animation-delay: .08s; }
.m-drawer.is-open .m-drawer-links li:nth-child(4) { animation-delay: .12s; }
.m-drawer.is-open .m-drawer-links li:nth-child(5) { animation-delay: .16s; }
.m-drawer.is-open .m-drawer-links li:nth-child(6) { animation-delay: .2s; }
.m-drawer.is-open .m-drawer-links li:nth-child(7) { animation-delay: .24s; }
.m-drawer.is-open .m-drawer-links li:nth-child(8) { animation-delay: .28s; }
.m-drawer.is-open .m-drawer-contact { animation-delay: .3s; }
@keyframes mdIn { from { opacity: 0; transform: translateY(18px); } }
.m-drawer-contact { margin-top: 36px; }
.m-drawer-phone { display: block; margin-top: 8px; font-family: var(--dw-font); font-size: 26px; font-weight: 700; color: var(--dw-fg); transition: color .15s; }
.m-drawer-phone:hover { color: var(--dw-accent-text, var(--dw-accent)); }
.m-drawer-contact p:not(.m-drawer-k) { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--dw-muted); }
.m-drawer-cta { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 24px; padding: 16px 20px; border-radius: var(--dw-radius, 0); background: var(--dw-accent); color: var(--dw-on-accent); font-size: 15px; font-weight: 700; letter-spacing: .02em; transition: background-color .15s, transform .12s; }
.m-drawer-cta:hover { background: var(--dw-accent-hover); }
.m-drawer-cta:active { transform: scale(.98); }
@media (max-width: 480px) { .m-drawer-panel { padding: 84px 24px 32px; } .m-drawer-close { top: 20px; right: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .m-drawer-panel, .m-drawer-backdrop { transition: none; }
  .m-drawer.is-open .m-drawer-links li, .m-drawer.is-open .m-drawer-contact { animation: none; }
}

/* ---------- Halaman Legalitas ---------- */
.lg-docs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.lg-doc { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; }
.lg-doc b { display: block; font-family: Outfit, sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); }
.lg-doc span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--gray); }
.lg-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.lg-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lg-card header { padding: 18px 22px 14px; border-bottom: 1px solid var(--line); }
.lg-card h3 { font-family: Outfit, sans-serif; font-size: 19px; font-weight: 600; color: var(--navy); }
.lg-card header p { margin-top: 2px; font-size: 14px; color: var(--gray); }
.lg-scroll { overflow-x: auto; }
.lg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lg-table th, .lg-table td { padding: 12px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lg-table thead th { font-size: 13px; font-weight: 700; color: var(--gray); background: #f7f8fa; }
.lg-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; }
.lg-table tbody tr:last-child th, .lg-table tbody tr:last-child td { border-bottom: 0; }
.lg-table td:last-child { color: var(--gray); min-width: 170px; }
.lg-ok { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(196, 147, 63, .14); color: #7d5a1c; font-weight: 700; font-size: 13px; white-space: nowrap; }
