/* Palet clean: putih netral + tinta hampir hitam; emas tua (#8A6A2E) untuk tombol & aksen,
   emas champagne Vasanta Group (#E8D3AC) untuk detail kecil.
   Layout: hero asimetris (full-bleed di HP), kartu cluster bergambar (swipe di HP), bento fasilitas,
   halaman cluster dengan galeri swipe + lightbox dan penampil denah per lantai.
   Aturan bentuk: tombol & chip = pill penuh; media & panel = --r (16px). */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #1a1814;
  --muted: #5e5a53;
  --line: #eae6de;
  --accent: #8a6a2e;
  --accent-strong: #6b5122;
  --on-accent: #ffffff;
  --gold: #9f7b3f;
  --champagne: #e8d3ac;
  --tint: #f5f2ec;
  --deep: #1d1a16;
  --on-deep: #f7f5f0;
  --on-media: #ffffff;
  --scrim: rgba(20, 16, 10, 0.72);
  --overlay: rgba(14, 12, 9, 0.96);
  --ph-a: #f1eee8;
  --ph-b: #e3ded4;
  --ph-line: rgba(26, 24, 20, 0.06);
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mark: "Josefin Sans", "Plus Jakarta Sans", "Century Gothic", sans-serif;
  --r: 16px;
  --wrap: 1240px;
  --header-h: 68px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
/* Sengaja satu tema terang: tampilan tetap putih bersih walau perangkat memakai dark mode. */
:root, :root[data-theme="dark"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
body.lb-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.i { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 60; background: var(--surface); padding: 8px 14px; border-radius: 999px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer; background: transparent;
  transition: transform .2s cubic-bezier(.16,1,.3,1), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }

/* Header + wordmark (mengikuti logo: huruf geometris tipis, tracking lebar) */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.mark { display: inline-grid; justify-items: center; text-decoration: none; line-height: 1; gap: 5px; color: var(--ink); }
.mark b { font-family: var(--font-mark); font-weight: 300; font-size: 1.55rem; letter-spacing: .2em; margin-right: -.2em; }
.mark span { font-family: var(--font-mark); font-weight: 400; font-size: .5625rem; letter-spacing: .38em; margin-right: -.38em; padding-top: 4px; border-top: 1px solid var(--gold); }
.mark img { height: 40px; width: auto; }
.brandbar { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-div { width: 1px; height: 32px; background: var(--line); flex: none; }
.vg { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.vg img { height: 30px; width: auto; }
.vg-text { font-family: "Cinzel", "Trajan Pro", Georgia, serif; font-weight: 500; font-size: .6875rem; letter-spacing: .2em; line-height: 1.25; text-align: center; }
@media (max-width: 400px) { .brandbar { gap: 12px; } .vg img { height: 24px; } .vg-text { font-size: .625rem; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
@media (max-width: 880px) {
  .nav { display: none; }
  .header .btn { margin-left: auto; width: 44px; padding: 0; }
  .header .btn .lbl { display: none; }
}

/* Media + placeholder */
.media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--tint); max-width: 100%; }
.media img, .media picture { width: 100%; height: 100%; object-fit: cover; }
.media picture img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  background:
    repeating-radial-gradient(circle at 78% 30%, transparent 0 22px, var(--ph-line) 22px 23px),
    radial-gradient(120% 90% at 85% 20%, var(--ph-b), transparent 60%),
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
}
.ph-label { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.zoomable { cursor: zoom-in; }
.zoom-hint {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink);
  box-shadow: 0 4px 16px rgba(26, 20, 10, .12);
}

/* Hero */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-media { aspect-ratio: 5 / 4; }
@media (max-width: 860px) {
  .hero { padding-top: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media {
    order: -1; aspect-ratio: 1 / 1; border-radius: 0;
    margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r)); max-width: none;
  }
  .hero-media.media .ph-label { bottom: 18px; }
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(36px, 5vw, 64px); }
.fact { padding: 22px 20px 4px 0; display: grid; gap: 4px; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact strong { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.fact strong small { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-left: 4px; color: var(--gold); }
.fact span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Cluster price ladder */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--muted);
  font: 600 .9375rem/1 var(--font); cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.card { display: grid; gap: 14px; text-decoration: none; align-content: start; min-width: 0; }
.card[hidden] { display: none; }
.card .media { aspect-ratio: 4 / 3; }
.card .media > * { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.card:hover .media > * { transform: scale(1.04); }
.card .ph-label { font-size: .75rem; }
.card-body { display: grid; gap: 4px; }
.card-seg { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.card h3 { font-size: 1.375rem; }
.card-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-price span { font-size: .9375rem; color: var(--muted); }
.card-price strong { color: var(--ink); font-weight: 700; }
.card-go { width: 36px; height: 36px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: all .25s cubic-bezier(.16,1,.3,1); }
.card:hover .card-go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter-l); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter-l); scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 80%; scroll-snap-align: start; }
  .card .media { aspect-ratio: 1 / 1; }
}

/* Lake bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; }
.tile.xl { grid-column: span 2; grid-row: span 2; min-height: 460px; }
.tile .media { position: absolute; inset: 0; border-radius: 0; }
.tile .ph-label { display: none; }
.tile-body { position: relative; width: 100%; padding: 64px 22px 22px; display: grid; gap: 6px; color: var(--on-media); background: linear-gradient(to top, var(--scrim), transparent); }
.tile-body .i { width: 26px; height: 26px; color: var(--champagne); }
.tile-body p { font-size: .9375rem; opacity: .92; max-width: 40ch; }
.tile.xl h3 { font-size: 1.75rem; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.xl { min-height: 340px; } }
@media (max-width: 560px) {
  .bento { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--gutter-r)); padding-right: var(--gutter-r); scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .tile, .tile.xl { flex: 0 0 82%; min-height: 380px; scroll-snap-align: start; }
}

/* Partner band */
.band { background: var(--tint); }
.partners-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.partners-grid .section-head { margin-bottom: 0; }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; }
.partner-list div { display: grid; gap: 4px; padding-top: 16px; border-top: 1.5px solid var(--gold); }
.partner-list dt { font-weight: 700; }
.partner-list dd { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .partners-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .partner-list { grid-template-columns: 1fr; } }

/* Location + travel times */
.loc-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.loc-media { aspect-ratio: 6 / 5; }
.times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 28px; border-top: 1px solid var(--line); }
.times div { display: grid; gap: 2px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.times div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.times strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.times strong small { font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.times span { font-size: .9375rem; color: var(--muted); }
.addr { display: flex; gap: 12px; color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }
.addr .i { color: var(--accent); margin-top: 2px; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.faq-grid .section-head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--accent); transition: transform .3s cubic-bezier(.16,1,.3,1); margin-top: 2px; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }
.faq .tbd { font-style: italic; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* CTA band: terang dan bersih, tombol ungu Shila */
.cta { background: var(--tint); color: var(--ink); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.4); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; overflow: hidden; position: relative; }
.cta::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; background: repeating-radial-gradient(circle, transparent 0 26px, rgba(138, 106, 46, 0.10) 26px 27px); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 18ch; }
.cta p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* Footer */
.footer { padding-block: 48px 40px; border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer .mark { justify-items: start; }
.footer h4 { margin: 0 0 10px; font-size: .9375rem; }
.footer p, .footer a, .footer li { color: var(--muted); font-size: .9375rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 96ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Mobile sticky WhatsApp bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mbar .btn { width: 100%; }
  body { padding-bottom: 76px; }
}

/* ---------- Cluster detail ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.d-seg { font-weight: 600; color: var(--accent); }
.price-from { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-from span { color: var(--muted); font-size: .9375rem; }
.price-from strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 860px) { .d-hero .crumbs { display: none; } }

.hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hl li { list-style: none; display: flex; gap: 14px; align-items: flex-start; padding: 24px 20px 24px 0; }
.hl li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hl .i { color: var(--accent); width: 26px; height: 26px; }
@media (max-width: 760px) {
  .hl { grid-template-columns: 1fr; }
  .hl li { padding: 16px 0; }
  .hl li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Galeri: bento di desktop, swipe full-bleed di HP */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: 16 / 8; }
.gallery .media { height: 100%; }
.gallery .media:first-child { grid-row: span 2; }
.gallery .media:nth-child(4) { grid-column: span 1; }
.gallery-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.gallery-foot .btn { margin-left: auto; }
.swipe-count { display: none; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; aspect-ratio: auto;
    margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter-l); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter-l); scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .media, .gallery .media:first-child { flex: 0 0 86%; aspect-ratio: 4 / 5; height: auto; scroll-snap-align: start; }
  .swipe-count { display: block; }
}

/* Tipe rumah: pemilih tipe + denah per lantai */
.tchips { margin-bottom: 18px; }
.tpanel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tpanel[hidden] { display: none; }
.plan { display: grid; gap: 12px; }
.ptabs { display: flex; gap: 6px; background: var(--tint); padding: 4px; border-radius: 999px; justify-self: start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ptab { flex: none; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .875rem; cursor: pointer; }
.ptab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(26, 20, 10, .10); }
.plan-stage { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--surface); }
.plan-stage.ph { background: var(--surface); }
.plan-stage.ph::before {
  content: ""; position: absolute; inset: 14%;
  background:
    linear-gradient(var(--ph-line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--ph-line) 1px, transparent 1px) 0 0 / 24px 24px;
  border: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 4px;
}
.plan-stage img { object-fit: contain; background: #ffffff; padding: 12px; }
.plan-stage.is-photo img { object-fit: cover; padding: 0; }
.plan-stage[hidden] { display: none; }
.tinfo { display: grid; gap: 22px; }
.tinfo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tinfo-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.tinfo-head p { color: var(--muted); margin-top: 4px; }
.badge { flex: none; font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; gap: 2px; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .8125rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.specs dt .i { width: 16px; height: 16px; color: var(--accent); }
.specs dd { margin: 0; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.feat-title { font-size: .9375rem; font-weight: 700; }
.feat { list-style: none; margin: -10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.feat li { display: flex; gap: 8px; font-size: .9375rem; color: var(--muted); }
.feat .i { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.type-note { font-size: .9375rem; color: var(--muted); }
.tinfo .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tpanel.is-out .plan { opacity: .72; }
@media (max-width: 900px) {
  .tpanel { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: 1fr; }
  .plan-stage { aspect-ratio: 1 / 1; }
}

.others { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.other { flex: none; scroll-snap-align: start; width: 250px; text-decoration: none; display: grid; gap: 10px; }
.other .media { aspect-ratio: 4 / 3; }
.other b { font-size: 1.0625rem; }
.other span { color: var(--muted); font-size: .9375rem; }
.other:hover b { color: var(--accent); }

/* Lightbox (foto & denah), swipe di HP, panah & keyboard di desktop */
.lb { position: fixed; inset: 0; z-index: 50; background: #13110e; color: var(--on-media); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb[hidden] { display: none; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter-r) 12px var(--gutter-l); }
.lb-title { font-size: .9375rem; font-weight: 600; opacity: .9; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { font-size: .875rem; opacity: .7; font-variant-numeric: tabular-nums; margin-left: auto; }
.lb-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: inherit; display: grid; place-items: center; cursor: pointer; flex: none; }
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 8px var(--gutter-r) 8px var(--gutter-l); min-width: 0; }
.lb-slide .media { width: min(100%, 1400px); height: 100%; max-height: 100%; border-radius: 12px; background: transparent; }
.lb-slide .media.ph { background: linear-gradient(160deg, #23201c, #2e2b26); }
.lb-slide .media img, .lb-slide .media picture img, .lb-slide .plan-stage.is-photo img { object-fit: contain; padding: 0; background: transparent; touch-action: pinch-zoom; }
.lb-slide .plan-stage:not(.is-photo) img { background: #ffffff; padding: 12px; }
.lb-slide .plan-stage { border: 0; aspect-ratio: auto; }
.lb-slide .plan-stage.is-photo { background: transparent; }
.lb-slide .ph-label { color: rgba(255,255,255,.75); }
.lb-slide .plan-stage { background: var(--surface); }
.lb-nav { display: flex; justify-content: center; gap: 12px; padding: 12px var(--gutter-r) calc(16px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
@media (max-width: 760px) { .lb-nav { display: none; } }

/* Motion: konten tetap terlihat saat diam; motion hanya menambah gerak naik singkat. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d, 0) * 90ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal { from { transform: translateY(28px); } to { transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Harga per tipe & promo ---------- */
.price-from em { flex-basis: 100%; font-style: normal; font-size: .9375rem; font-weight: 600; color: var(--accent); }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 40px; align-items: start; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.promo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: #7a5c2b; background: #faf5ec; border-radius: 999px; padding: 6px 12px; }
.promo-tag .i { width: 16px; height: 16px; }
.promo-head h2 { margin: 12px 0 8px; }
.promo-head p { font-size: .9375rem; }
.promo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.promo-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.promo-list .i { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.promo .actions { grid-column: 2; }
@media (max-width: 760px) {
  .promo { grid-template-columns: 1fr; }
  .promo-list { grid-template-columns: 1fr; }
  .promo .actions { grid-column: auto; }
}
.promo-head { grid-row: span 2; }
.promo .actions { align-self: start; }
@media (max-width: 760px) { .promo-head { grid-row: auto; } }

/* ---------- Revisi 26 Okt: kartu, chip, fasilitas, footer ---------- */
.chips { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
.card-price { align-items: flex-end; }
.card-prices { display: grid; gap: 3px; }
.card-from { font-size: .9375rem; color: var(--muted); }
.card-from strong { color: var(--ink); font-weight: 700; }
.card-kpr { font-size: .875rem; color: var(--muted); }
.card-kpr b { color: var(--accent-strong); font-weight: 700; }
.card-promo { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card-promo li { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: #7a5c2b; background: #faf5ec; border: 1px solid #efe2c8; border-radius: 999px; padding: 4px 10px 4px 8px; }
.card-promo .i { width: 14px; height: 14px; color: var(--gold); }
@media (max-width: 640px) {
  .cards { display: grid; grid-template-columns: 1fr; gap: 36px; overflow: visible; margin: 0; padding: 0; }
  .card { flex: none; }
  .card .media { aspect-ratio: 4 / 3; }
}
.swipe-hint { display: none; }
@media (max-width: 560px) {
  .swipe-hint { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .875rem; color: var(--muted); }
  .swipe-hint .i { width: 16px; height: 16px; color: var(--accent); animation: nudge 1.6s ease-in-out infinite; }
  .swipe-hint .swipe-count { display: block; margin-left: auto; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .swipe-hint .i { animation: none; } }
.foot-brand { display: flex; align-items: center; gap: 16px; }

/* ---------- Beranda: section per tipe rumah ---------- */
.ts-list { display: grid; }
.ts { display: grid; gap: clamp(20px, 3vw, 32px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.ts:first-child { border-top: 0; padding-top: 8px; }
.ts-photo { aspect-ratio: 21 / 9; }
.ts-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); }
.ts-top { align-items: end; }
.ts-seg { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.ts-name h3 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -0.035em; margin: 4px 0 8px; }
.ts-cluster { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.ts-cluster .i { width: 16px; height: 16px; }
.ts-cluster:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.ts-deal { display: grid; gap: 8px; justify-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.ts-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.ts-price span { font-size: .875rem; color: var(--muted); }
.ts-price strong { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; color: var(--accent-strong); }
.ts-kpr { font-size: .9375rem; color: var(--muted); }
.ts-kpr b { color: var(--ink); font-weight: 700; }
.ts-deal .card-promo { margin-top: 4px; }
.ts-more { font-size: .875rem; font-weight: 600; color: var(--accent); text-underline-offset: 3px; }
.ts-bottom { align-items: start; }
.ts-plan .plan-stage { aspect-ratio: 4 / 3; }
.ts-plan .ptabs { margin-bottom: 12px; }
.ts-spec { display: grid; gap: 16px; }
.ts-spec .feat-title .muted { font-weight: 500; }
.ts-spec .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 760px) {
  .ts-row { grid-template-columns: 1fr; }
  .ts-photo { aspect-ratio: 4 / 3; width: calc(100% + var(--gutter-l) + var(--gutter-r)); max-width: none; margin-left: calc(-1 * var(--gutter-l)); border-radius: 0; }
  .ts-deal { padding: 16px 18px; }
  .ts-spec .actions .btn { flex: 1 1 auto; justify-content: center; }
}
.others-types { padding-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.tcard { display: grid; gap: 10px; text-decoration: none; align-content: start; min-width: 0; }
.tcard .media { aspect-ratio: 4 / 3; }
.tcard .ph-label { font-size: .6875rem; }
.tcard .media > * { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.tcard:hover .media > * { transform: scale(1.04); }
.tcard-body { display: grid; gap: 2px; }
.tcard h4 { margin: 0; font-size: 1.125rem; }
.tcard-facts { font-size: .8125rem; color: var(--muted); }
.tcard-price { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.tcard-price b { color: var(--ink); }
@media (max-width: 900px) { .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .tcard h4 { font-size: 1rem; } }
.ts-kpr .nw { white-space: nowrap; }

.ts-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.ts-col { display: grid; gap: clamp(20px, 2.4vw, 28px); align-content: start; }
.ts-name { padding-top: 6px; }
@media (max-width: 760px) {
  .ts-cols { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .ts-col { display: contents; }
  .ts-name { order: 1; padding-top: 0; } .ts-deal { order: 2; } .ts-plan { order: 3; } .ts-spec { order: 4; }
}

/* ---------- Beranda: section per cluster ---------- */
.cs-list { display: grid; }
.cs { display: grid; gap: clamp(20px, 3vw, 32px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.cs:first-child { border-top: 0; padding-top: 8px; }
.cs[hidden] { display: none; }
.cs .ts-cols { align-items: start; }
.cs-tag { color: var(--muted); max-width: 46ch; margin: 0 0 12px; }
.cs-types { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.cs-label { font-weight: 700; }
.cs-label .muted { font-weight: 500; }
.cs-tabs { margin: 0; }
.cs-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.cs-panel[hidden] { display: none; }
@media (max-width: 760px) {
  .cs-panel { grid-template-columns: 1fr; }
  .cs-types { padding: 16px; border-radius: 18px; }
}

.tab-note { font-size: .6875rem; font-weight: 600; opacity: .7; margin-left: 4px; }
.cs-type-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cs-panel:has(.badge) .plan-stage { opacity: .75; }
.ts-sim { font-size: .8125rem; color: var(--muted); margin-top: -4px; }
.cs-panel:has(.badge) .plan-stage { opacity: 1; }
.cs-panel.is-out .plan-stage { opacity: .75; }

/* ---------- Area komersial ---------- */
.com-card { cursor: default; }
.com-spec { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.com-note { font-size: .9375rem; color: var(--muted); }
.com-btn { justify-self: start; margin-top: 8px; }
.com-card:hover .media > * { transform: none; }

/* ---------- Foto potret: galeri extra & tampak depan utuh ---------- */
@media (min-width: 761px) { .gallery .gal-extra { display: none; } }
.plan-stage.is-photo.is-contain img, .plan-stage.is-photo.is-contain picture img { object-fit: contain; background: var(--tint); }
.lb-slide .media img { max-height: 100%; }
/* Denah selalu utuh (mengalahkan .media picture img yang memotong) */
.plan-stage img, .plan-stage picture img { object-fit: contain; background: #ffffff; padding: 12px; }
.plan-stage.is-photo img, .plan-stage.is-photo picture img { object-fit: cover; padding: 0; }
.plan-stage.is-photo.is-contain img, .plan-stage.is-photo.is-contain picture img { object-fit: contain; background: var(--tint); }

/* Tipe ditumpuk (halaman cluster): harga + cicilan per tipe */
.tlist { display: grid; }
.tlist .tpanel + .tpanel { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.tlist .tpanel { scroll-margin-top: 88px; }
.tprice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tprice > div { display: grid; gap: 2px; }
.tprice span { font-size: .8125rem; color: var(--muted); }
.tprice strong { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--accent-strong); line-height: 1.15; }
.tprice strong small { font-size: .6em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.tprice-note { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); }
.tprice strong { white-space: nowrap; }
@media (max-width: 520px) { .tprice { padding: 14px 16px; gap: 12px 14px; } .tprice strong { font-size: 1.2rem; } }
@media (max-width: 340px) { .tprice { grid-template-columns: 1fr; } }
.tpanel.is-solo { grid-template-columns: 1fr; }
.tpanel.is-solo .tinfo { max-width: 640px; }

/* ---------- Beranda versi HP (desain Nov 2026): ringkas, satu halaman ---------- */
.show-m { display: none; }
.cs-jump, .cs-m { display: none; }
@media (max-width: 760px) {
  .show-m { display: inline; }
  p.show-m { display: block; }
  .show-d { display: none; }
  .hero-copy .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy .actions .btn { justify-content: center; }

  /* Angka kawasan: 4 kolom kecil */
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
  .fact, .fact + .fact, .fact:nth-child(3) { padding: 14px 6px 0 0; border-left: 0; }
  .fact strong { font-size: 1.35rem; }
  .fact span { font-size: .75rem; line-height: 1.3; }

  /* Simulasi KPR cukup sekali di judul section */
  .cs-simnote { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
  .cs .ts-sim { display: none; }

  /* Chip navigasi cluster, menempel di bawah header saat scroll */
  .cs-jump {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 15;
    margin: 4px calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l));
    padding: 10px var(--gutter-r) 10px var(--gutter-l);
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .cs-jump::-webkit-scrollbar { display: none; }
  .cs-jump a {
    flex: 0 0 auto; display: grid; gap: 1px; padding: 7px 14px; border-radius: 14px; text-decoration: none;
    background: #fff; border: 1px solid var(--line); color: var(--ink);
  }
  .cs-jump b { font-size: .8125rem; font-weight: 700; white-space: nowrap; }
  .cs-jump span { font-size: .6875rem; color: var(--muted); white-space: nowrap; }
  .cs-jump a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .cs-jump a[aria-current="true"] span { color: color-mix(in srgb, var(--bg) 80%, transparent); }
  .cs { scroll-margin-top: 60px; } /* + scroll-padding header = tepat di bawah chip */
  .cs:first-child { padding-top: 20px; }

  /* Tiap cluster (HP): nama + promo, tab tipe, geser foto fasad -> denah, ringkasan tipe */
  .cs > .ts-photo, .cs > .ts-cols, .cs-types { display: none; }
  .cs { gap: 0; }
  .cs-m { display: grid; gap: 14px; }
  .cs-m-head { display: grid; gap: 4px; }
  .cs-m-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); }
  .cs-m-head .card-promo { margin-top: 6px; }
  .cs-m-tabs { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter-r)); padding-right: var(--gutter-r); }
  .cs-m-tabs::-webkit-scrollbar { display: none; }
  .cs-m-tabs .chip { flex: 0 0 auto; }
  .cs-m-panel { display: grid; gap: 14px; }
  .cs-m-panel[hidden] { display: none; }
  .cs-m-slides {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter-l); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter-l);
  }
  .cs-m-slides::-webkit-scrollbar { display: none; }
  .cs-m-slide { flex: 0 0 86%; aspect-ratio: 4 / 5; border-radius: 16px; scroll-snap-align: start; }
  .cs-m-slides > .cs-m-slide:only-child { flex-basis: 100%; }
  .cs-m-slide.is-plan { background: #fff; border: 1px solid var(--line); }
  .cs-m-slide.is-plan img, .cs-m-slide.is-plan picture img { object-fit: contain; padding: 10px; background: #fff; }
  .swipe-hint.cs-m-hint { display: flex; align-items: center; gap: 6px; margin-top: -4px; font-size: .8125rem; color: var(--muted); }
  .swipe-hint.cs-m-hint .i { width: 16px; height: 16px; color: var(--accent); animation: nudge 1.6s ease-in-out infinite; }
  .swipe-hint.cs-m-hint .swipe-count { display: block; margin-left: auto; }
  .cs-m-type { display: grid; gap: 12px; }
  .cs-m-title { font-size: .9375rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
  .cs-m-title b { color: var(--ink); }
  .cs-m-spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cs-m-spec dt { font-size: .6875rem; color: var(--muted); }
  .cs-m-spec dd { margin: 2px 0 0; font-weight: 700; }
  .cs-m-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: .8125rem; color: var(--muted); }
  .cs-m-price strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-strong); }
  .cs-m-price b { color: var(--ink); }
  .cs-m-actions { display: flex; gap: 10px; }
  .cs-m-actions .btn-primary { flex: 1 1 auto; justify-content: center; }
  .cs-m-actions .btn-primary .i { width: 18px; height: 18px; }
  .btn-icon { flex: 0 0 auto; width: 50px; padding: 0; justify-content: center; }
  .btn-icon .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* Komersial & kavling: baris geser seperti fasilitas */
  .cards.com-cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter-l); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter-l); scrollbar-width: none;
  }
  .cards.com-cards::-webkit-scrollbar { display: none; }
  .com-cards .card { flex: 0 0 78%; scroll-snap-align: start; }
  .com-cards .card .media { aspect-ratio: 16 / 10; }
  .swipe-hint.com-hint { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .875rem; color: var(--muted); }
  .swipe-hint.com-hint .i { width: 16px; height: 16px; color: var(--accent); animation: nudge 1.6s ease-in-out infinite; }
  .swipe-hint.com-hint .swipe-count { display: block; margin-left: auto; }

  /* Bar WhatsApp bawah baru muncul setelah tombol hero terlewati */
  .mbar-wait .mbar { transform: translateY(110%); transition: transform .3s cubic-bezier(.16,1,.3,1); }
  .mbar-wait.mbar-show .mbar { transform: none; }
}

/* Tipe tanpa denah/foto di beranda: spesifikasi saja, satu kolom */
.cs-panel:not(:has(.ts-plan)) { grid-template-columns: minmax(0, 1fr); }
.cs-panel:not(:has(.ts-plan)) .ts-spec { max-width: 640px; }

/* Galeri dengan foto kurang dari 5 (data menyusul): kolom sama rata di desktop */
@media (min-width: 761px) {
  .gallery:not(:has(> .media:nth-child(5))) { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); aspect-ratio: 16 / 7; }
  .gallery:not(:has(> .media:nth-child(5))) .media:first-child { grid-row: auto; }
}

/* Video hero beranda */
.hero-media.is-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-toggle { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border: 0; border-radius: 999px; display: grid; place-items: center; color: #fff; background: rgba(20, 18, 14, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; }
.vid-toggle:hover { background: rgba(20, 18, 14, .7); }
.vid-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vid-toggle .i { width: 18px; height: 18px; }
.vid-toggle .i-play, .vid-toggle[aria-pressed="false"] .i-pause { display: block; }
.vid-toggle .i-pause, .vid-toggle[aria-pressed="false"] .i-play { display: none; }
/* Video hero tampil utuh (5:4) juga di HP, supaya logo dan sisi video tidak terpotong */
@media (max-width: 860px) { .hero-media.is-video { aspect-ratio: 5 / 4; } }

/* Harga di atas video hero */
.hero-badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: grid; gap: 1px; padding: 9px 14px 10px; border-radius: 14px; color: #fff; background: rgba(20, 18, 14, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); line-height: 1.2; }
.hero-badge span { font-size: .75rem; opacity: .85; }
.hero-badge b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.hero-badge small { font-size: .75rem; opacity: .85; }

/* Tombol WhatsApp melayang (desktop) */
.fab-wa { display: none; }
@media (min-width: 761px) {
  .fab-wa {
    position: fixed; right: 28px; bottom: 28px; z-index: 30;
    display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 28px 0 22px;
    border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
    font-size: 1.1875rem; font-weight: 700; letter-spacing: -.005em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .12);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .fab-wa .i { width: 30px; height: 30px; }
  .fab-wa:hover { background: var(--wa-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, .26), 0 3px 8px rgba(0, 0, 0, .14); }
  .fab-wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--wa); }
}
@media (prefers-reduced-motion: reduce) { .fab-wa { transition: none; } .fab-wa:hover { transform: none; } }

/* Semua tombol WhatsApp berwarna hijau supaya langsung dikenali (kontras teks putih 5:1) */
:root { --wa: #15803d; --wa-strong: #116b33; }
.btn.is-wa.btn-primary { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.is-wa.btn-primary:hover { background: var(--wa-strong); border-color: var(--wa-strong); color: #fff; }
.btn.is-wa.btn-ghost { color: var(--wa); border-color: color-mix(in srgb, var(--wa) 45%, transparent); }
.btn.is-wa.btn-ghost:hover { color: var(--wa-strong); background: color-mix(in srgb, var(--wa) 8%, transparent); border-color: var(--wa); }
