:root {
  --ink:          #08281F;
  --emerald:      #0C3B2E;
  --emerald-soft: #14523F;
  --gold:         #C9A961;
  --gold-text:    #7A5C22;
  --ivory:        #F6F1E7;
  --bone:         #FBF8F2;
  --line:         #E6DFD2;

  --ease-out:     cubic-bezier(.16,1,.3,1);
  --ease-inout:   cubic-bezier(.22,.61,.36,1);
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

section[id], [id] {
  scroll-margin-top: 84px;
}

.modals,
.lightbox,
.exit-popup,
.slider-overlay,
.brosur-dialog:not([open]) {
  display: none !important;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--ivory);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

@media (min-width: 900px) {
  body {
    font-size: 17.5px;
  }
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.625rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.18;
}

h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.0625rem, 1.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink);
}

p, li {
  color: var(--ink);
  font-size: inherit;
  line-height: 1.65;
}

small,
.small-meta,
figcaption {
  font-size: 0.8125rem;
  line-height: 1.45;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  padding: 64px 0;
}

@media (min-width: 900px) {
  section {
    padding: 80px 0;
  }
}

.section-bone {
  background-color: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  background-color: var(--bone);
  border: 1px solid var(--gold);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.badge-ilustrasi {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--bone);
  border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
}

/* ==========================================
   Tombol (Fase 2D & 9F: Hanya transform & opacity)
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  line-height: 1.25;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn--wa {
  background-color: var(--gold);
  color: var(--ink);
  border: 1.5px solid var(--gold);
}

.btn-secondary,
.btn--wa.btn-secondary {
  background-color: transparent;
  color: var(--gold-text);
  border: 1.5px solid var(--gold);
}

.on-dark .btn-secondary,
.on-dark .btn--wa.btn-secondary {
  color: var(--bone);
  border-color: var(--gold);
}

.floating-wa-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  z-index: 995;
}

.floating-wa {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0 4px;
  border-radius: 50%;
  font-size: 0.65rem;
  line-height: 1.1;
}

/* ==========================================
   Fase 2A-C: Header Shrink-on-Scroll & 5 Menu
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: transparent;
  color: var(--bone);
  z-index: 1000;
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 14%, transparent);
}

.header.scrolled {
  height: 56px;
  background-color: var(--emerald);
  border-bottom-color: color-mix(in srgb, var(--gold) 30%, transparent);
}

.header-inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 180px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}

@media (min-width: 900px) {
  .brand-logo-img {
    height: 44px;
  }
  .header.scrolled .brand-logo-img {
    transform: scale(0.86);
    transform-origin: left center;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bone);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  transition: opacity 180ms var(--ease-out);
}

.nav-link:hover {
  opacity: 0.8;
}

.header-cta-desktop {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.875rem;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--bone) 35%, transparent);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--bone);
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .hamburger {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--emerald);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .header.scrolled .nav-menu {
    top: 56px;
  }
  .nav-menu.active {
    display: flex;
  }
  .header-cta-desktop {
    display: inline-flex;
    margin-top: 8px;
  }
}

/* ==========================================
   Fase 3: Hero (Square 1:1, object-fit: contain, Blur Layer)
   ========================================== */
.hero-section {
  background-color: var(--emerald);
  color: var(--bone);
  padding: 108px 0 56px;
  position: relative;
}

@media (min-width: 900px) {
  .hero-section {
    padding: 128px 0 72px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-content h1 {
  color: var(--bone);
  margin-bottom: 20px;
}

.hero-sub-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.hero-sub-list p {
  color: var(--bone);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-notes p {
  color: var(--ivory);
  font-size: 0.875rem;
}

.hero-media-square {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  background-color: var(--ink);
  contain: layout paint;
}

.hero-blur {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(26px) saturate(1.08);
  transform: scale(1.08);
  opacity: 0.85;
}

.hero-photo-contain {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-media-caption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 24px 16px 12px;
  background: linear-gradient(to top, var(--ink) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 60%, transparent 100%);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ==========================================
   Strip Fakta & Kartu Permukaan
   ========================================== */
.fact-strip {
  background-color: var(--ink);
  color: var(--bone);
  padding: 16px 0;
  border-bottom: 1px solid var(--emerald-soft);
}

.fact-strip-track {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 4px 0;
}

.fact-strip-track::-webkit-scrollbar {
  display: none;
}

.fact-pill {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bone);
  flex-shrink: 0;
}

.card-surface {
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.card-surface:hover {
  transform: translateY(-4px);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card h3 {
  font-family: 'Fraunces', Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--emerald);
  margin-bottom: 12px;
}

/* ==========================================
   Fase 5E: 5 Kartu Ikon Skema SVG Inline
   ========================================== */
.scheme-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 900px) {
  .scheme-icons-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.scheme-icon-card {
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.scheme-icon-card:hover {
  transform: translateY(-4px);
}

@media (max-width: 899px) {
  .scheme-icon-card:last-child {
    grid-column: 1 / -1;
  }
}

.scheme-svg-wrap {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  flex-shrink: 0;
}

.scheme-svg-wrap svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scheme-icon-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ==========================================
   Fase 9E: Blok Tipe 50/60 + Spesifikasi (13 Item + Fasilitas Umum)
   ========================================== */
.tipe-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .tipe-block-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.tipe-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--ivory);
}

.tipe-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--ivory);
}

.tipe-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 16px 14px;
  background: linear-gradient(to top, var(--ink) 0%, color-mix(in srgb, var(--ink) 72%, transparent) 60%, transparent 100%);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.specs-price-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.spec-pill {
  flex: 1 1 140px;
  background-color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
}

.spec-pill span {
  display: block;
  font-size: 0.8125rem;
  color: var(--gold-text);
  font-weight: 600;
}

.spec-pill strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.specs-grid-13 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 20px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .specs-grid-13 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.specs-grid-13 li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-grid-13 li::before {
  content: "•";
  color: var(--gold-text);
  font-weight: 700;
}

.fasilitas-strip-box {
  background-color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.fasilitas-strip-box strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* ==========================================
   Fase 7: Galeri Rumah (Tumpuk Dinamis 4:5, Diam Saat Scroll)
   ========================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-chip {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background-color: var(--bone);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.filter-chip.active,
.filter-chip:hover {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: var(--bone);
}

.stack-gallery-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.stack-stage-outer {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-stage {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
  user-select: none;
}

.stack-card {
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 620ms var(--ease-out), opacity 620ms var(--ease-out);
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-card[data-orient="landscape"] img {
  object-fit: contain;
  background-color: var(--ink);
}

.stack-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, var(--ink) 0%, color-mix(in srgb, var(--ink) 75%, transparent) 60%, transparent 100%);
  color: var(--bone);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.stack-card-caption span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bone);
}

.stack-card[data-pos="0"] {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 4;
}

.stack-card[data-pos="1"] {
  transform: translate3d(14px, 10px, 0) scale(0.94) rotate(2deg);
  opacity: 0.7;
  z-index: 3;
  pointer-events: none;
}

.stack-card[data-pos="2"] {
  transform: translate3d(-14px, 18px, 0) scale(0.88) rotate(-1deg);
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}

.stack-card[data-pos="hidden"] {
  transform: translate3d(0, 24px, 0) scale(0.84) rotate(0deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.stack-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stack-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bone);
  border: 1.5px solid var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.stack-nav-btn:hover {
  transform: translateY(-2px);
}

.stack-nav-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
}

.stack-counter {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 84px;
  text-align: center;
}

/* ==========================================
   Fase 9D: Brosur Asli (Dua Thumbnail + Dialog Lightbox)
   ========================================== */
.brosur-grid {
  max-width: 760px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.brosur-card {
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.brosur-card:hover {
  transform: translateY(-4px);
}

.brosur-thumb-btn {
  border: none;
  padding: 0;
  background: var(--ivory);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1.414;
  display: block;
  width: 100%;
}

.brosur-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brosur-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.brosur-dialog {
  margin: auto;
  max-width: 92vw;
  max-height: 92vh;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background-color: var(--ink);
  color: var(--bone);
  padding: 16px;
}

.brosur-dialog::backdrop {
  background-color: color-mix(in srgb, var(--ink) 82%, transparent);
}

.brosur-dialog-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brosur-dialog-inner img {
  max-height: 74vh;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.brosur-dialog-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ==========================================
   Fase 8A & 9D: Video Suasana Perumahan
   ========================================== */
.video-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--ink);
  border: 1px solid var(--line);
}

.video-poster-btn {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.video-poster-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 75%, transparent) 0%, color-mix(in srgb, var(--ink) 25%, transparent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms var(--ease-out);
}

.video-poster-btn:hover .video-play-circle {
  transform: scale(1.06);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   Fase 4: Skema Pembayaran & Tabel Zona Ready
   ========================================== */
.payment-hero-card {
  max-width: 820px;
  margin: 0 auto 32px;
  background-color: var(--emerald);
  color: var(--bone);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gold);
}

.payment-big-price {
  font-family: 'Fraunces', Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--bone);
  margin: 8px 0 14px;
}

.payment-hero-card p {
  color: var(--bone);
  margin-bottom: 6px;
}

.table-wrap {
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  overflow-x: auto;
}

.zona-table {
  width: 100%;
  border-collapse: collapse;
}

.zona-table th,
.zona-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.zona-table th {
  background-color: var(--ivory);
  color: var(--ink);
  font-weight: 700;
}

.zona-table td {
  color: var(--ink);
  font-weight: 600;
}

.table-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gold-text);
  font-weight: 700;
}

.table-disclaimer {
  margin-top: 6px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink);
}

/* ==========================================
   Fase 5A-D: Legalitas, Ketentuan, Promo Free Biaya & Persyaratan
   ========================================== */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .legal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ketentuan-banner {
  background-color: var(--emerald);
  color: var(--bone);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 22px 24px;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-bottom: 24px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.legal-list li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================
   Fase 9A: Galeri Konsumen (Auto-Slider 3D, 32 Foto Square 1:1)
   ========================================== */
.kslider {
  position: relative;
  perspective: 1600px;
  overflow: hidden;
  padding: 20px 0 28px;
  touch-action: pan-y;
  user-select: none;
}

.kslider__viewport {
  position: relative;
  width: 100%;
  perspective: 1600px;
}

.kslider__track {
  display: flex;
  align-items: center;
  gap: 20px;
  will-change: transform;
}

@media (max-width: 480px) {
  .kslider__track {
    gap: 14px;
  }
}

.kslide {
  flex: 0 0 360px;
  width: 360px;
  transform-style: preserve-3d;
  transition: transform 620ms var(--ease-out), opacity 620ms var(--ease-out);
  will-change: transform, opacity;
}

@media (max-width: 480px) {
  .kslide {
    flex: 0 0 268px;
    width: 268px;
  }
}

.kslide[data-pos="center"] {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 4;
}

.kslide[data-pos="left"] {
  transform: translate3d(28px, 0, 0) rotateY(15deg) scale(0.86);
  opacity: 0.72;
  z-index: 3;
}

.kslide[data-pos="right"] {
  transform: translate3d(-28px, 0, 0) rotateY(-15deg) scale(0.86);
  opacity: 0.72;
  z-index: 3;
}

.kslide[data-pos="far"] {
  transform: scale(0.78);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 480px) {
  .kslide[data-pos="left"] {
    transform: translate3d(16px, 0, 0) rotateY(9deg) scale(0.9);
  }
  .kslide[data-pos="right"] {
    transform: translate3d(-16px, 0, 0) rotateY(-9deg) scale(0.9);
  }
}

.kslide__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--ink) 45%, transparent);
  contain: layout paint;
}

.kslide__blur {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(26px) saturate(1.08);
  transform: scale(1.08);
}

.kslide__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kslider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.kslider__note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--gold-text);
  font-weight: 600;
}

/* ==========================================
   Fase 6 & 9C: Lokasi & Peta Kantor Pemasaran
   ========================================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.access-card {
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.access-card:hover {
  transform: translateY(-4px);
}

.access-card svg {
  width: 34px;
  height: 34px;
  stroke: var(--emerald);
  stroke-width: 1.65;
  fill: none;
  flex-shrink: 0;
}

.office-map-box {
  max-width: 880px;
  margin: 0 auto;
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
}

.office-copy {
  text-align: center;
  margin-bottom: 22px;
}

.office-copy p {
  margin-bottom: 6px;
  font-weight: 600;
}

.static-map-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--ivory);
  margin-bottom: 20px;
}

.static-map-stage img,
.static-map-stage iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.office-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================
   FAQ Akordeon (Fase 9F: 320ms UI)
   ========================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 54px;
  padding: 16px 20px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--emerald);
  transition: transform 320ms var(--ease-out);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================
   Kontak, CTA Penutup, Footer & Sticky Bar
   ========================================== */
.closing-cta-card {
  background-color: var(--emerald);
  color: var(--bone);
  border-radius: 16px;
  padding: 44px 28px;
  text-align: center;
  border: 1px solid var(--gold);
}

.closing-cta-card h2 {
  color: var(--bone);
  margin-bottom: 14px;
}

.closing-cta-card p {
  color: var(--ivory);
  margin-bottom: 18px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer {
  background-color: var(--ink);
  color: var(--bone);
  padding: 48px 0 calc(92px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--emerald-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer p,
.footer a {
  color: var(--ivory);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--emerald-soft);
  font-size: 0.8125rem;
}

.sticky-wa-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  background-color: var(--ink);
  color: var(--bone);
  border-top: 1px solid var(--gold);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translate3d(0, 0, 0);
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}

@media (min-width: 768px) {
  .sticky-wa-bar {
    display: none;
  }
}

.sticky-wa-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-wa-text strong {
  display: block;
  color: var(--bone);
  font-size: 0.9rem;
}

.sticky-wa-text span {
  color: var(--ivory);
  font-size: 0.8125rem;
}

/* ==========================================
   Fase 9F: Scroll Reveal (620ms, stagger 70ms, .is-in)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 620ms var(--ease-out), opacity 620ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal.is-in,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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