/* ============================================================
   STYLE — The Al Fath 3 · Nipah House (fokus GENUS)
   Mobile-first · tanpa framework · breakpoint 640 / 900 / 1200
   ============================================================ */

/* ---------- 1. Token desain ---------- */
:root {
  --navy: #0F5A99;          /* biru tua brand (dulu navy gelap) */
  --navy-2: #1877BE;
  --ink: #12283A;
  --ink-2: #14639F;
  --blue: #1877BE;
  --blue-dark: #12609B;
  --teal: #2CC5B6;
  --gold: #DFF7F3;         /* aksen terang di latar biru (dulu gold) */
  --gold-soft: #CDEFEA;
  --gold-ink: #12609B;     /* aksen di latar terang: biru tua (5,6:1 di putih) */
  --grad-gold-ink: linear-gradient(120deg, #12609B, #1877BE);
  --sand: #F4F9FC;
  --sand-2: #E6F0F7;
  --mist: #F2F7FB;
  --mist-2: #E3EDF5;
  --white: #FFFFFF;
  --wa: #15803D;           /* hijau WA: teks putih 5,0:1 (AA) */
  --wa-dark: #166534;      /* hover: 7,1:1 */
  --text: #16283A;
  --muted: #5B6B7A;
  --muted-dark: #DCEBF5;   /* teks sekunder di latar biru */
  --line: rgba(18, 40, 58, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --grad: linear-gradient(120deg, var(--blue), var(--teal));
  --grad-btn: linear-gradient(120deg, var(--blue), var(--blue-dark));   /* .btn-primary: #1877BE→#12609B, teks putih ≥ 4,7:1 */
  --grad-gold: linear-gradient(120deg, #FFFFFF, #DFF7F3 60%, #9FE7DC);

  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 46, .06), 0 1px 2px rgba(11, 31, 46, .05);
  --shadow-md: 0 12px 32px -8px rgba(11, 31, 46, .16), 0 2px 6px rgba(11, 31, 46, .06);
  --shadow-lg: 0 32px 64px -16px rgba(11, 31, 46, .28);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, .25), 0 24px 60px -20px rgba(11, 60, 100, .55);

  --gutter: 16px;
  --container: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .6s;

  /* Tipografi fluid */
  --fs-xs: clamp(.72rem, .7rem + .15vw, .8rem);
  --fs-sm: clamp(.84rem, .8rem + .2vw, .92rem);
  --fs-base: clamp(.96rem, .92rem + .25vw, 1.06rem);
  --fs-lg: clamp(1.08rem, 1rem + .4vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.9rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3.6vw, 4rem);
  --fs-price: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
}

/* ---------- 2. Reset ringan ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, .font-head { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ---------- 3. Utilitas & animasi ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Animasi reveal hanya bila JS aktif (<html class="js"> dipasang skrip inline di <head>); tanpa JS konten tetap tampil */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

@keyframes pulse-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes grow-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 4. Tipografi bersama ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-dark);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-dark .eyebrow { color: var(--teal); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }
.section-dark .lead { color: var(--muted-dark); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { color: var(--ink); }
.section-dark .section-head h2 { color: var(--white); }
.section-head--row { max-width: none; grid-template-columns: 1fr; align-items: end; }
.section-head--row .btn-row { justify-content: flex-start; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1fr auto; gap: 32px; }
  .section-head--row .btn-row { justify-content: flex-end; }
}

/* ---------- 5. Section latar ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); position: relative; }
.section-sand { background: var(--sand); }
.section-mist { background: var(--mist); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark.section { background: radial-gradient(1200px 600px at 100% -10%, rgba(24, 119, 190, .22), transparent 60%), var(--navy); }

/* ---------- 6. Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: var(--fs-base); }
.btn-sm { min-height: 42px; padding: 9px 16px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 24px -8px rgba(21, 128, 61, .6); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 14px 30px -8px rgba(21, 128, 61, .7); }
.btn-primary { background: var(--grad-btn); color: var(--white); box-shadow: 0 10px 24px -8px rgba(24, 119, 190, .55); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(217, 164, 65, .55); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
@media (max-width: 639px) {
  .btn-row .btn, .hero-cta .btn { width: 100%; }
}

/* ---------- 7. Intro sinematik (rumah terbentuk, lalu logo Tallasa) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; overflow: hidden; color: var(--white);
  background: linear-gradient(160deg, #0F5A99 0%, #1877BE 45%, #1FA0BE 100%);
  clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1), visibility 0s linear .9s;
}
.intro.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
body.intro-lock { overflow: hidden; }
.intro-house { position: absolute; inset: 0; z-index: 1; }
.intro-house canvas { z-index: 1 !important; }
.intro-vignette { z-index: 2; }
.intro-logo { z-index: 3; }
.intro-house .h3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.intro-house.h3d-fallback .h3d-poster { opacity: 1; animation: kenburns 6s ease-out forwards; }
.intro-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, transparent 30%, rgba(8, 40, 70, .55) 100%); transition: background .9s ease; }
.intro.is-logo .intro-vignette { background: radial-gradient(ellipse at 50% 50%, rgba(8, 40, 70, .42) 0%, rgba(8, 40, 70, .72) 100%); }
.intro-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 80vw); text-align: center; opacity: 0; transition: opacity .4s; }
.intro.is-logo .intro-logo { opacity: 1; }
.intro-logo-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 34px rgba(8, 40, 70, .5)); }
.il-mark { fill: var(--white); fill-opacity: 0; stroke: var(--white); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: var(--len, 2400); stroke-dashoffset: var(--len, 2400); }
.intro.is-logo .il-mark { animation: il-draw 1.5s cubic-bezier(.45, 0, .2, 1) forwards, il-fill .8s ease-out 1.2s forwards; }
.il-huruf { fill: var(--white); opacity: 0; transform: translateY(16px); }
.intro.is-logo .il-w1 .il-huruf { animation: il-up .55s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(1.25s + var(--i) * .07s); }
.intro.is-logo .il-w2 .il-huruf { animation: il-up .45s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(1.75s + var(--i) * .04s); }
.intro-tag { margin: 18px 0 0; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .88); opacity: 0; transform: translateY(10px); }
.intro-tag span { color: #BFF3EC; }
.intro.is-logo .intro-tag { animation: il-up .6s ease-out 2.3s forwards; }
.intro-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .18); }
.intro-bar span { display: block; height: 100%; width: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); transition: transform 4.8s linear; }
.intro.is-run .intro-bar span { transform: scaleX(1); }
.intro-skip {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 18px; z-index: 3; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); color: var(--white); font: 600 var(--fs-sm) var(--font-body);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; transition: background .2s;
}
.intro-skip:hover { background: rgba(255, 255, 255, .28); }
@keyframes il-draw { to { stroke-dashoffset: 0; } }
@keyframes il-fill { to { fill-opacity: 1; } }
@keyframes il-up { to { opacity: 1; transform: translateY(0); } }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- 8. Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(15, 90, 153, .45); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s;
}
.navbar.is-light { background: rgba(255, 255, 255, .82); border-color: var(--line); box-shadow: 0 8px 30px -14px rgba(11, 31, 46, .25); }
.navbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; height: 44px; }
.brand-logo { height: 40px; width: auto; }
.brand-logo--light { display: none; }
.navbar.is-light .brand-logo--dark { display: none; }
.navbar.is-light .brand-logo--light { display: block; }
.nav-menu { display: none; gap: 4px; }
.nav-menu a {
  display: inline-block; padding: 10px 12px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600;
  color: rgba(255, 255, 255, .86); transition: background .2s, color .2s;
}
.nav-menu a:hover, .nav-menu a.is-active { background: rgba(255, 255, 255, .12); color: var(--white); }
.navbar.is-light .nav-menu a { color: var(--ink); }
.navbar.is-light .nav-menu a:hover, .navbar.is-light .nav-menu a.is-active { background: var(--mist-2); color: var(--blue-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-wa { display: none; }
.nav-burger { width: 44px; height: 44px; display: grid; place-items: center; gap: 0; border-radius: 12px; position: relative; }
.nav-burger span { position: absolute; width: 22px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .3s; }
.navbar.is-light .nav-burger span { background: var(--ink); }
.nav-burger span:nth-child(1) { transform: translateY(-7px); }
.nav-burger span:nth-child(3) { transform: translateY(7px); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
@media (min-width: 640px) and (max-width: 899px) {
  .nav-wa { display: inline-flex; position: relative; width: 42px; padding: 0; justify-content: center; }
  .nav-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
@media (min-width: 900px) {
  .nav-wa { display: inline-flex; }
}
@media (min-width: 1200px) {
  .nav-menu { display: flex; }
  .nav-burger { display: none; }
}

/* Drawer HP */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 28, .6); opacity: 0; transition: opacity .35s; backdrop-filter: blur(4px); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: var(--navy); color: var(--white); padding: 18px var(--gutter) 28px; display: flex; flex-direction: column; gap: 20px;
  transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); overflow-y: auto;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 36px; width: auto; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.drawer-menu { display: grid; gap: 4px; flex: 1; }
.drawer-menu a { display: block; padding: 14px 12px; border-radius: 12px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--white); border-bottom: 1px solid var(--line-dark); }
.drawer-menu a.is-active { color: var(--teal); }
.drawer-note { color: var(--muted-dark); font-size: var(--fs-sm); }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px;
  background: linear-gradient(135deg, #1465A8 0%, #1877BE 48%, #1FA0BE 100%); min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; gap: 36px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 119, 190, .18) 0%, transparent 45%),
    linear-gradient(0deg, rgba(11, 31, 46, .9) 0%, transparent 40%),
    radial-gradient(900px 500px at 80% 0%, rgba(44, 197, 182, .14), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-glow--a { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(24, 119, 190, .55), transparent 70%); }
.hero-glow--b { width: 420px; height: 420px; left: -160px; bottom: -80px; background: radial-gradient(circle, rgba(44, 197, 182, .32), transparent 70%); }
.hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
.hero-title { font-size: var(--fs-h1); color: var(--white); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.hero-genus { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted-dark); font-size: var(--fs-lg); max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .92);
}
.chips li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; padding-top: 4px; }
.hero-price .price-main { font-family: var(--font-head); font-size: var(--fs-price); font-weight: 800; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-price .price-sub { display: grid; gap: 2px; font-size: var(--fs-sm); color: var(--muted-dark); }
.hero-price .price-sub b { color: var(--white); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: var(--fs-xs); color: var(--muted-dark); }

.hero-visual { display: grid; gap: 12px; }
.h3d {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #1a3f5a 0%, #0f2a3d 55%, var(--navy) 100%);
  box-shadow: var(--shadow-glow), var(--shadow-lg); isolation: isolate;
}
.h3d::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -40px 60px -30px rgba(0, 0, 0, .45);
}
.h3d picture, .h3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.h3d-poster { object-fit: cover; object-position: center 60%; transition: opacity .8s ease; z-index: 1; }
.h3d.h3d-ready .h3d-poster { opacity: 0; }
.h3d.h3d-ready picture { pointer-events: none; }
.h3d-loading { position: absolute; left: 14px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 31, 46, .55); backdrop-filter: blur(6px); font-size: var(--fs-xs); color: rgba(255, 255, 255, .85); }
.h3d-loading::after { content: "Memuat model 3D…"; }
.h3d-loading span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--teal); animation: spin 1s linear infinite; }
.h3d.h3d-ready .h3d-loading, .h3d.h3d-fallback .h3d-loading { display: none; }
.h3d-canvas { z-index: 2; cursor: grab; }
.h3d-canvas:active { cursor: grabbing; }

/* Hotspot dibuat modul 3D — CSS di sini */
.h3d-hotspot {
  position: absolute; z-index: 5; transform: translate(-50%, -50%); display: none; align-items: center; gap: 8px;
  padding: 0; transition: opacity .3s;
}
.h3d.h3d-ready .h3d-hotspot { display: flex; }
.h3d-hotspot.is-behind { opacity: 0; pointer-events: none; }
.h3d-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(44, 197, 182, .3); flex: 0 0 auto; }
.h3d-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--teal); animation: pulse-ring 1.8s ease-out infinite; }
.h3d-label {
  padding: 5px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; color: var(--white);
  background: rgba(11, 31, 46, .55); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.h3d-hotspot:hover .h3d-label { background: rgba(24, 119, 190, .75); }
@media (max-width: 639px) { .h3d-hotspot { display: none !important; } }

.h3d-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.h3d-controls, .h3d-views { display: flex; flex-wrap: wrap; gap: 6px; }
.h3d-btn, .h3d-view {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, color .2s;
}
.h3d-btn:hover, .h3d-view:hover { background: rgba(255, 255, 255, .14); }
.h3d-btn.is-on, .h3d-view.is-on { background: rgba(44, 197, 182, .18); border-color: rgba(44, 197, 182, .55); color: var(--white); }
.h3d-hint { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted-dark); }
.hero-visual.h3d-off .h3d-bar, .hero-visual.h3d-off .h3d-hint .ico { display: none; }
@media (max-width: 639px) { .h3d-btn span { display: none; } .h3d-btn { width: 44px; height: 44px; justify-content: center; padding: 0; } }
@media (min-width: 640px) { .h3d { min-height: 360px; } }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px);
}
.hero-stats li { background: rgba(255, 255, 255, .14); padding: 18px 16px; display: grid; gap: 4px; }
.hero-stats b { font-family: var(--font-head); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; color: var(--white); line-height: 1; }
.hero-stats b small { font-size: .55em; color: var(--gold); margin-left: 2px; }
.hero-stats li > span { font-size: var(--fs-xs); color: var(--muted-dark); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hero-stats li { padding: 22px 24px; } }
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; }
}
@media (min-width: 1200px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } .hero-cta { flex-wrap: nowrap; } .hero-cta .btn-lg { padding-inline: 22px; } }
.eyebrow-lokasi { display: contents; }   /* tetap satu runtutan teks agar eyebrow bisa membungkus */
@media (max-width: 399px) { .eyebrow-lokasi { display: none; } }

/* ---------- 10. Mitra ---------- */
.mitra { background: var(--ink); color: var(--white); padding-block: 18px; border-block: 1px solid var(--line-dark); }
.mitra-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.mitra-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.mitra-strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.mitra-strip .mitra-label { border: 0; color: var(--muted-dark); font-weight: 600; letter-spacing: .12em; }
.mitra-strip .mitra-label::before { display: none; }

/* ---------- 11. Kenapa Genus ---------- */
.fitur-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--white); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.fitur-card { display: grid; gap: 14px; align-content: start; transform-style: preserve-3d; }
.fitur-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(24, 119, 190, .12), rgba(44, 197, 182, .16)); color: var(--blue); }
.fitur-icon .ico { width: 26px; height: 26px; }
.fitur-card h3 { color: var(--ink); font-size: 1.2rem; }
.fitur-card p { color: var(--muted); font-size: var(--fs-sm); }
.angka-strip {
  margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  padding: 22px; border-radius: var(--r-lg); background: var(--navy); color: var(--white);
  background-image: radial-gradient(600px 200px at 10% 0%, rgba(44, 197, 182, .22), transparent 70%);
}
.angka-strip li { display: grid; gap: 2px; text-align: center; }
.angka-strip b { font-family: var(--font-head); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); line-height: 1; color: var(--gold-soft); }
.angka-strip span { font-size: var(--fs-xs); color: var(--muted-dark); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
@media (min-width: 640px) { .fitur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 899px) { .angka-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .angka-strip b { white-space: nowrap; } }
@media (min-width: 900px) { .fitur-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .angka-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } .angka-strip b { white-space: nowrap; } }

/* ---------- 12. Detail Genus ---------- */
.genus-grid { display: grid; gap: 28px; align-items: start; }
.genus-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.genus-visual img { width: 100%; aspect-ratio: 1400 / 991; object-fit: cover; }
.genus-visual figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 31, 46, .7); color: var(--white); font-size: var(--fs-xs); backdrop-filter: blur(6px); }
.genus-visual .zoom-btn { position: absolute; inset: 0; width: 100%; display: grid; place-items: center; opacity: 0; transition: opacity .25s; background: rgba(11, 31, 46, .18); color: var(--white); }
.genus-visual:hover .zoom-btn, .genus-visual .zoom-btn:focus-visible { opacity: 1; }
.genus-visual .zoom-btn .ico { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.genus-detail { display: grid; gap: 22px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--fs-sm); }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table td.gold { color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; box-shadow: inset 3px 0 0 var(--gold); padding-left: 10px; }
.spec-table td .muted { display: inline; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table--2 { column-count: 1; }
@media (min-width: 640px) { .spec-table--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; } .spec-table--2 tbody { display: contents; } .spec-table--2 tr { display: grid; grid-template-columns: minmax(120px, 36%) 1fr; } .spec-table--2 th { white-space: nowrap; width: auto; } }

.tabs { display: grid; gap: 14px; min-width: 0; }
.tab-panel, .sim-hasil, .sim-kontrol { min-width: 0; }
.tab-list { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand-2); width: fit-content; max-width: 100%; }
.section-dark .tab-list { background: rgba(255, 255, 255, .08); }
.tab { min-height: 42px; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: var(--fs-sm); color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.tab.is-on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.section-dark .tab { color: var(--muted-dark); }
.section-dark .tab.is-on { background: var(--white); color: var(--ink); }
.tab-list--pill .tab { padding: 10px 22px; }
@media (max-width: 639px) { .tab-list--pill { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 20px; } .tab-list--pill .tab { white-space: normal; padding: 10px 12px; border-radius: 16px; } }
.ruang-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.ruang-list li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; padding: 8px 12px; background: var(--white); border-radius: var(--r-sm); border: 1px solid var(--line); }
.ruang-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); flex: 0 0 auto; }

.genus-bawah { margin-top: 40px; display: grid; gap: 24px; }
.acc { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); overflow: hidden; margin-bottom: 12px; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 52px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { transition: transform .3s var(--ease); color: var(--blue); }
.acc[open] summary .ico { transform: rotate(180deg); }
.acc-body { padding: 0 20px 20px; }
.acc--dark { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); margin-top: 20px; }
.acc--dark summary { color: var(--white); }
.acc--dark summary .ico { color: var(--teal); }
.check-list, .termasuk-card ul { display: grid; gap: 10px; }
.check-list li, .termasuk-card li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink); }
.check-list li::before, .termasuk-card--ya li::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(44, 197, 182, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2312609B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.termasuk-card--belum li::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(217, 164, 65, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%239C6F1C' stroke-width='3' stroke-linecap='round' d='M12 7v6m0 3.5v.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.termasuk-grid { display: grid; gap: 16px; align-content: start; }
.termasuk-card { border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; align-content: start; }
.termasuk-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .02em; }
.termasuk-card--ya { background: linear-gradient(160deg, rgba(44, 197, 182, .16), rgba(24, 119, 190, .08)); border: 1px solid rgba(44, 197, 182, .35); }
.termasuk-card--ya h3 { color: var(--blue-dark); }
.termasuk-card--belum { background: var(--white); border: 1px solid var(--line); }
.termasuk-card--belum h3 { color: var(--gold-ink); }
@media (min-width: 900px) {
  .genus-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .genus-visual { grid-column: 1; }
  .genus-detail { grid-column: 2; grid-row: 1 / span 2; }
  .genus-bawah { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .termasuk-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 899px) { .termasuk-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 13. Simulasi KPR ---------- */
.sim-grid { display: grid; gap: 24px; }
.sim-kontrol { display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field-label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.section-dark .field-label { color: var(--white); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); }
.seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg button { min-height: 46px; padding: 8px 6px; border-radius: 12px; display: grid; gap: 1px; place-items: center; color: var(--muted-dark); font-weight: 700; font-size: var(--fs-sm); transition: background .25s, color .25s, box-shadow .25s; }
.seg button small { font-size: var(--fs-xs); font-weight: 500; opacity: .85; }
.seg button:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.seg button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg button[aria-checked="true"] small { color: var(--blue-dark); opacity: 1; }
.sim-catatan { font-size: var(--fs-sm); color: var(--muted-dark); padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.sim-catatan--syariah { border-color: rgba(217, 164, 65, .35); background: rgba(217, 164, 65, .08); color: var(--gold-soft); }
.sim-hasil { display: grid; gap: 16px; align-content: start; }
.hasil-card { border-radius: var(--r-lg); background: var(--white); color: var(--text); padding: 26px 24px; box-shadow: var(--shadow-lg); display: grid; gap: 20px; position: relative; overflow: hidden; }
.hasil-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.hasil-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; }
.hasil-head h3 { color: var(--ink); font-size: 1.35rem; }
.hasil-head span { font-size: var(--fs-xs); font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .1em; }
.hasil-utama { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--mist), var(--white)); border: 1px solid var(--mist-2); }
.hasil-utama > span { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hasil-utama b { font-family: var(--font-head); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); line-height: 1.05; color: var(--ink); }
.hasil-utama b .per-bulan { font-size: .4em; font-family: var(--font-body); font-weight: 600; color: var(--muted); }
.hasil-utama > small { font-size: var(--fs-sm); color: var(--muted); }
.hasil-angka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hasil-angka div { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--sand); }
.hasil-angka span { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.hasil-angka b { color: var(--ink); font-size: var(--fs-base); }
.angsuran-tabel th, .angsuran-tabel td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.angsuran-tabel th { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; }
.angsuran-tabel td:last-child, .angsuran-tabel th:last-child { text-align: right; }
.angsuran-tabel td:last-child { font-weight: 700; color: var(--ink); }
.angsuran-tabel tr.is-utama td { color: var(--blue-dark); }
.angsuran-tabel tr:last-child td { border-bottom: 0; }
.hasil-catatan { font-size: var(--fs-xs); color: var(--muted); }
.skema-grid { display: grid; gap: 16px; }
.skema-card { border-radius: var(--r-lg); padding: 24px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); display: grid; gap: 18px; }
.skema-card h3 { color: var(--white); display: flex; align-items: center; gap: 10px; }
.skema-card h3 .ico { color: var(--teal); }
.skema-steps { display: grid; gap: 0; position: relative; }
.skema-steps li { position: relative; padding: 0 0 18px 34px; color: rgba(255, 255, 255, .9); font-size: var(--fs-sm); }
.skema-steps li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 164, 65, .2); }
.skema-steps li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(217, 164, 65, .15)); }
.ketentuan-list { display: grid; gap: 10px; padding-left: 0; counter-reset: k; }
.ketentuan-list li { counter-increment: k; display: flex; gap: 12px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .88); }
.ketentuan-list li::before { content: counter(k); flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(44, 197, 182, .2); color: var(--teal); font-weight: 700; font-size: var(--fs-xs); }
@media (min-width: 640px) { .skema-grid { grid-template-columns: 1fr 1fr; } .hasil-angka { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sim-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; } .hasil-angka { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hasil-angka b { white-space: nowrap; }

/* ---------- 14. Bandingkan tipe ---------- */
.tipe-grid { display: grid; gap: 20px; }
.tipe-card { position: relative; display: grid; gap: 0; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tipe-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tipe-card--utama { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-md); }
.tipe-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--grad-gold); color: var(--navy); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.tipe-badge--muted { background: rgba(255, 255, 255, .9); color: var(--ink); }
.tipe-img { aspect-ratio: 1 / 1; background: linear-gradient(180deg, var(--mist), var(--mist-2)); overflow: hidden; }
.tipe-img img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .6s var(--ease); }
.tipe-card:hover .tipe-img img { transform: scale(1.04); }
.tipe-body { padding: 22px 22px 24px; display: grid; gap: 16px; }
.tipe-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tipe-title h3 { font-size: 1.6rem; color: var(--ink); letter-spacing: .02em; }
.tipe-title span { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.tipe-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tipe-spec li { display: grid; gap: 1px; padding: 10px 6px; border-radius: var(--r-sm); background: var(--sand); text-align: center; }
.tipe-spec b { color: var(--ink); font-size: var(--fs-sm); }
.tipe-spec span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.tipe-harga { display: grid; gap: 4px; padding-top: 6px; border-top: 1px dashed var(--line); }
.tipe-harga b { font-family: var(--font-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: var(--ink); line-height: 1.1; }
.tipe-card--utama .tipe-harga { border-top-color: rgba(217, 164, 65, .55); }
.tipe-card--utama .tipe-harga > b { color: var(--ink); }
.tipe-harga small { color: var(--muted); font-size: var(--fs-sm); }
.tipe-card .tipe-harga small b { font-family: var(--font-body); font-size: inherit; color: var(--ink); }
.tipe-cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.tipe-tabel-wrap { margin-top: 36px; overflow-x: auto; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: none; }
.tipe-tabel th, .tipe-tabel td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); white-space: nowrap; }
.tipe-tabel thead th { background: var(--mist); color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tipe-tabel tbody th { color: var(--muted); font-weight: 600; }
.tipe-tabel td { color: var(--ink); font-weight: 600; }
.tipe-tabel td.is-utama { background: rgba(44, 197, 182, .07); color: var(--blue-dark); }
.tipe-tabel tr:last-child th, .tipe-tabel tr:last-child td { border-bottom: 0; }
@media (min-width: 640px) { .tipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .tipe-title h3 { font-size: 1.35rem; } .tipe-body { padding: 18px 16px 20px; } .tipe-cta { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .tipe-tabel-wrap { display: block; } .tipe-grid { gap: 20px; } .tipe-body { padding: 22px 22px 24px; } .tipe-title h3 { font-size: 1.6rem; } .tipe-cta { grid-template-columns: 1fr auto; } }
@media (min-width: 900px) { .tipe-card--utama { transform: translateY(-10px); } .tipe-card--utama:hover { transform: translateY(-14px); } }

/* ---------- 15. Galeri ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn { min-height: 42px; padding: 8px 16px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); background: var(--white); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-row--dark .filter-btn { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: var(--muted-dark); }
.filter-row--dark .filter-btn:hover { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.filter-row--dark .filter-btn[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.galeri-grid { columns: 1; column-gap: 14px; }
.galeri-item { position: relative; display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; background: var(--mist-2); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.galeri-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.galeri-item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.galeri-item:hover img { transform: scale(1.03); }
.galeri-item .cap { display: block; position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; font-size: var(--fs-xs); font-weight: 600; color: var(--white); text-align: left; background: linear-gradient(transparent, rgba(11, 31, 46, .8)); }
.galeri-item .tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .9); color: var(--ink); }
.galeri-item.is-hidden { display: none; }
.galeri-more { display: none; margin-top: 6px; }
@media (max-width: 639px) {
  .galeri-grid.is-collapsed .galeri-item:nth-child(n + 7) { display: none; }
  .galeri-grid.is-collapsed + .galeri-more { display: flex; }
  #deck-filter { display: none; }   /* HP: cukup scroll-snap, filter kategori disembunyikan */
}
@media (min-width: 400px) { .galeri-grid { columns: 2; } }
@media (min-width: 900px) { .galeri-grid { columns: 3; column-gap: 18px; } .galeri-item { margin-bottom: 18px; } }

/* ---------- 16. Deck / brosur ---------- */
.deck-wrap { position: relative; }
.deck-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; -webkit-overflow-scrolling: touch; }
.deck-track::-webkit-scrollbar { height: 6px; }
.deck-track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 3px; }
.deck-item { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; display: grid; gap: 8px; text-align: left; border-radius: var(--r-md); padding: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.deck-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.deck-item.is-hidden { display: none; }
.deck-item img { width: 100%; aspect-ratio: 480 / 340; object-fit: cover; border-radius: 10px; background: var(--ink-2); }
.deck-item .deck-meta { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 0 4px 4px; }
.deck-item .deck-judul { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--white); padding: 0 4px; line-height: 1.35; }
.deck-item .deck-meta span { font-size: var(--fs-xs); font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.deck-item .deck-meta em { font-style: normal; font-size: var(--fs-xs); color: var(--muted-dark); }
.deck-nav { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: none; place-items: center; background: var(--white); color: var(--ink); box-shadow: var(--shadow-md); transition: transform .25s; }
.deck-nav:hover { transform: scale(1.06); }
.deck-nav--prev { left: -10px; }
.deck-nav--next { right: -10px; }
@media (min-width: 900px) { .deck-nav { display: grid; } .deck-nav--prev { left: -22px; } .deck-nav--next { right: -22px; } }
.siteplan-card { margin-top: 32px; display: grid; gap: 24px; border-radius: var(--r-lg); padding: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.siteplan-img { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); }
.siteplan-img img { width: 100%; aspect-ratio: 1400 / 991; object-fit: cover; }
.siteplan-img .zoom-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-md); }
.siteplan-body { display: grid; gap: 18px; align-content: center; }
.siteplan-body h3 { color: var(--white); }
.siteplan-body p { color: var(--muted-dark); font-size: var(--fs-sm); }
.legenda { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.legenda li { display: grid; gap: 2px; padding: 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); text-align: center; }
.legenda b { font-family: var(--font-head); font-size: 1.7rem; line-height: 1; color: var(--white); }
.legenda li.is-utama b { color: var(--gold-soft); }
.legenda li.is-utama { border-color: rgba(217, 164, 65, .45); background: rgba(217, 164, 65, .08); }
.legenda span { font-size: var(--fs-xs); color: var(--muted-dark); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fasilitas-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fasilitas-list li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); font-size: var(--fs-xs); color: rgba(255, 255, 255, .9); }
@media (min-width: 900px) { .siteplan-card { grid-template-columns: 1.15fr 1fr; padding: 28px; gap: 32px; } }

/* ---------- 17. Lokasi ---------- */
.lokasi-grid { display: grid; gap: 20px; margin-bottom: 28px; }
.lokasi-peta { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy); min-height: 260px; display: grid; }
.lokasi-peta iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
/* Facade peta: poster peta resmi (pk-04) + lapisan navy agar teks & tombol tetap kontras; iframe baru dimuat saat tombol ditekan */
.peta-facade { position: relative; display: grid; gap: 10px; justify-items: center; align-content: center; text-align: center; padding: 28px 20px; color: var(--white); background: linear-gradient(180deg, rgba(11, 31, 46, .74), rgba(11, 31, 46, .88)), var(--poster, none) center / cover no-repeat, var(--navy); }
.peta-facade > * { position: relative; }
.peta-pin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--white); box-shadow: 0 12px 24px -8px rgba(24, 119, 190, .7); }
.peta-pin .ico { width: 28px; height: 28px; }
.peta-facade b { font-family: var(--font-head); font-size: 1.2rem; }
.peta-facade p { color: var(--muted-dark); font-size: var(--fs-sm); max-width: 40ch; }
.peta-facade .btn-row { margin-top: 6px; }
@media (min-width: 900px) { .lokasi-peta { min-height: 320px; } }
.lokasi-resmi { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.lokasi-resmi img { width: 100%; aspect-ratio: 1400 / 991; object-fit: cover; }
.lokasi-resmi figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 31, 46, .7); color: var(--white); font-size: var(--fs-xs); }
.lokasi-resmi .zoom-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-md); }
.akses-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.akses-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.akses-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--blue); }
.akses-icon .ico { width: 20px; height: 20px; }
.akses-item .akses-teks { display: grid; gap: 1px; min-width: 0; }
.akses-item b { font-size: var(--fs-sm); color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.akses-item span { font-size: var(--fs-xs); color: var(--muted); }
.akses-item .jarak { justify-self: end; font-family: var(--font-head); font-weight: 700; color: var(--blue-dark); font-size: 1.05rem; text-align: right; }
.alamat-grid { display: grid; gap: 16px; }
.alamat-card { display: grid; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.alamat-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; color: var(--ink); }
.alamat-card h3 .ico { color: var(--blue); }
.alamat-card p { color: var(--muted); font-size: var(--fs-sm); }
.alamat-card .btn { justify-self: start; }
@media (max-width: 639px) { .akses-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .akses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .alamat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .lokasi-grid { grid-template-columns: 1.1fr 1fr; } .akses-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 18. Proses akad ---------- */
.timeline { display: grid; gap: 14px; position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tl-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: var(--white); box-shadow: 0 10px 20px -8px rgba(24, 119, 190, .6); }
.tl-icon .ico { width: 26px; height: 26px; }
.tl-body { display: grid; gap: 6px; }
.tl-step { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); }
.tl-body h3 { font-size: 1.15rem; color: var(--ink); }
.tl-body p { color: var(--muted); font-size: var(--fs-sm); }
.tl-waktu { display: inline-flex; justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--sand-2); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .timeline::before { content: ""; position: absolute; left: 5%; right: 5%; top: 48px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .35; }
  .timeline li { grid-template-columns: 1fr; text-align: center; justify-items: center; align-content: start; padding: 24px 18px; }
  .tl-body { justify-items: center; }
  .tl-waktu { justify-self: center; }
}
.akad-momen { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 20px; }
.akad-momen-title { color: var(--ink); text-align: center; }
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.akad-card { flex: 0 0 auto; width: 190px; }
.akad-btn { width: 100%; display: grid; gap: 8px; text-align: left; border-radius: var(--r-md); padding: 8px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.akad-foto { position: relative; display: block; aspect-ratio: 506 / 900; border-radius: 10px; overflow: hidden; background: var(--sand-2); }
.akad-card img { width: 100%; height: 100%; object-fit: cover; }
.akad-card .cap { display: block; padding: 0 4px 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); line-height: 1.3; }
.akad-card .tag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--blue-dark); color: var(--gold-soft); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) { .akad-card { width: 220px; } }

/* ---------- 19. Sosial ---------- */
.sosial-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.sosial-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.sosial-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.sosial-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--white); }
.sosial-icon .ico { width: 26px; height: 26px; }
.sosial-icon--ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.sosial-icon--tt { background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.sosial-icon--fb { background: #1877F2; }
.sosial-icon--mail { background: var(--grad); }
.sosial-card div { display: grid; gap: 2px; min-width: 0; }
.sosial-card b { color: var(--white); font-size: var(--fs-base); }
.sosial-card span { color: var(--muted-dark); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.sosial-card .ico-go { color: var(--teal); }
@media (min-width: 640px) { .sosial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sosial-card .sosial-email { overflow-wrap: break-word; }
@media (min-width: 1200px) { .sosial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sosial-card { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; } .sosial-card .ico-go { display: none; } .sosial-card .sosial-email { font-size: var(--fs-xs); letter-spacing: -.01em; } }

/* ---------- 20. Kontak / form ---------- */
.kontak-grid { display: grid; gap: 28px; align-items: start; }
.section-head--left { margin-bottom: 24px; }
.form { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--sand); border: 1px solid var(--line); }
.form-row { display: grid; gap: 16px; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24, 119, 190, .15); }
.form input.is-invalid { border-color: #C6412F; }
.form-error { color: #A8321F; font-size: var(--fs-sm); font-weight: 600; }
.form-note { font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.kontak-card { display: grid; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); background-image: radial-gradient(500px 240px at 100% 0%, rgba(44, 197, 182, .25), transparent 70%); }
.kontak-card h3 { color: var(--white); }
.kontak-card p { color: var(--muted-dark); font-size: var(--fs-sm); }
.kontak-list { display: grid; gap: 14px; }
.kontak-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.kontak-list .k-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--teal); }
.kontak-list .k-icon .ico { width: 22px; height: 22px; }
.kontak-list div { display: grid; gap: 2px; min-width: 0; }
.kontak-list span { font-size: var(--fs-xs); color: var(--muted-dark); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.kontak-list a, .kontak-list b { color: var(--white); font-weight: 600; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.kontak-list a:hover { color: var(--teal); }
.kontak-list .k-wa { font-family: var(--font-head); font-size: 1.35rem; color: var(--gold-soft); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .kontak-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; } .kontak-card { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- 21. CTA & footer ---------- */
.cta { padding-block: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; background: linear-gradient(135deg, #1465A8 0%, #1877BE 50%, #23B4BC 100%); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 820px; }
.cta-inner h2 { color: var(--white); font-size: var(--fs-h2); }
.cta-inner .eyebrow { color: var(--gold); }
.cta-inner .eyebrow::before { background: var(--gold); }
.cta-inner .lead { text-align: center; }
.cta-hashtag { color: var(--teal); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .04em; }
.footer { background: var(--navy); border-top: 1px solid var(--line-dark); padding-block: 48px 96px; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: grid; gap: 14px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { color: var(--muted-dark); font-size: var(--fs-sm); max-width: 38ch; }
.footer h4 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col p, .footer-col a { color: var(--muted-dark); font-size: var(--fs-sm); }
.footer-col > a { display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--white); }
.footer-col b { color: var(--white); font-weight: 600; font-size: var(--fs-sm); }
.footer-col .f-item { display: grid; gap: 2px; }
.footer-sosial { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-sosial a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); color: var(--white); transition: background .2s; }
.footer-sosial a:hover { background: rgba(255, 255, 255, .16); }
.footer-bottom { padding-top: 20px; display: grid; gap: 8px; color: var(--muted-dark); font-size: var(--fs-xs); }
.footer-bottom a { color: var(--white); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } .footer-bottom { grid-template-columns: auto 1fr; align-items: center; gap: 8px 32px; } .footer-bottom p:first-child { white-space: nowrap; } .footer-bottom p:last-child { max-width: 70ch; justify-self: end; text-align: right; } }

/* ---------- 22. WA mengambang ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  min-width: 58px; height: 58px; padding: 0 16px 0 15px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 700; font-size: var(--fs-sm);
  box-shadow: 0 16px 36px -10px rgba(21, 128, 61, .7), 0 2px 6px rgba(0, 0, 0, .18); transition: transform .3s var(--ease), background .25s;
}
.wa-float:hover { background: var(--wa-dark); transform: translateY(-3px); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float-label { display: none; }
.wa-float-pulse { position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--wa); animation: pulse-ring 2.2s ease-out infinite; pointer-events: none; }
@media (min-width: 900px) { .wa-float-label { display: inline; } .wa-float { right: 24px; bottom: 24px; } }
@media (max-width: 899px) { .wa-float { padding: 0; width: 58px; justify-content: center; } }

/* ---------- 23. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 28, .92); backdrop-filter: blur(8px); }
.lightbox-figure { position: relative; display: grid; gap: 12px; justify-items: center; max-width: min(1200px, 100%); max-height: 100%; }
.lightbox-figure img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); background: var(--ink); object-fit: contain; }
.lightbox-figure figcaption { color: var(--white); font-size: var(--fs-sm); font-weight: 600; text-align: center; padding: 0 56px; }
.lightbox-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: var(--white); backdrop-filter: blur(6px); transition: background .2s; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; top: 24px; left: 16px; color: var(--muted-dark); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-count { display: none; }
@media (min-width: 900px) { .lightbox { padding: 40px 72px; } .lightbox-prev { left: 20px; } .lightbox-next { right: 20px; } }
body.is-locked { overflow: hidden; }

/* ---------- 24. Noscript ---------- */
.noscript { position: fixed; inset: auto 0 0 0; z-index: 2000; padding: 14px var(--gutter); background: var(--gold); color: var(--navy); font-size: var(--fs-sm); text-align: center; }
.noscript a { text-decoration: underline; font-weight: 700; }

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; overflow-x: auto; width: auto; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .wa-float-pulse, .h3d-dot::after { display: none; }
}

.galeri-item img.op-center { object-position: center; }
