/* ==========================================================================
   PT Era Sejahtera Asri — Design System
   Palet: hijau tua hutan + coklat earthy hangat + emas (diambil dari logo ESA)
   Ditulis manual tanpa build step: edit file ini lalu upload, langsung berlaku.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Token
   -------------------------------------------------------------------------- */
:root {
  /* Hijau — warna utama, diambil dari wordmark logo */
  --green-900: #06241D;
  --green-800: #07332A;
  --green-700: #0B4A3C;
  --green-600: #135C4A;
  --green-500: #1A6B57;
  --green-300: #5E9384;
  --green-100: #DCE8E3;

  /* Coklat earthy hangat */
  --brown-800: #3E2A1B;
  --brown-700: #5C3D26;
  --brown-600: #7A5233;
  --brown-500: #8B5E3C;
  --brown-400: #A9784F;
  --brown-300: #C29A73;
  --brown-100: #EADDCB;

  /* Emas — aksen, diambil dari monogram logo */
  --gold-600: #A8861F;
  --gold-500: #C9A227;
  --gold-400: #D9B851;
  --gold-200: #EFDDA6;

  /* Netral hangat */
  --sand-50:  #FDFBF7;
  --sand-100: #FAF6EE;
  --sand-200: #F3ECE0;
  --sand-300: #E7DCCA;

  --ink:        #241F1A;
  --ink-soft:   #4A423A;
  --ink-muted:  #756B60;
  --cream:      #F7F2E8;
  --cream-soft: rgba(247, 242, 232, .72);

  /* Tipografi */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ruang */
  --container: 1200px;
  --gutter: 1.5rem;
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Bayangan bernuansa coklat, bukan hitam — terasa lebih hangat */
  --shadow-sm: 0 1px 2px rgba(62, 42, 27, .06), 0 2px 6px rgba(62, 42, 27, .05);
  --shadow-md: 0 4px 12px rgba(62, 42, 27, .08), 0 12px 28px rgba(62, 42, 27, .07);
  --shadow-lg: 0 8px 24px rgba(62, 42, 27, .10), 0 24px 56px rgba(62, 42, 27, .10);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  /* Lengkung menyerupai bentuk oval pada monogram logo */
  --arch: 46% 46% var(--radius) var(--radius) / 26% 26% 3% 3%;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & dasar
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--gold-200); color: var(--green-800); }

/* --------------------------------------------------------------------------
   3. Tipografi
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-800);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Label kecil huruf kapital di atas judul */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  flex: none;
}
.eyebrow--light { color: var(--gold-400); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand-100); }
.section--cream { background: var(--sand-200); }
.section--green {
  background: var(--green-800);
  color: var(--cream-soft);
}
.section--green h2, .section--green h3 { color: var(--cream); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   5. Tombol
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease);
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--green-700); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-600); box-shadow: var(--shadow-md); }

.btn--gold { background: var(--gold-500); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-400); box-shadow: var(--shadow-md); }

.btn--outline { border-color: var(--green-700); color: var(--green-700); }
.btn--outline:hover { background: var(--green-700); color: var(--cream); }

.btn--ghost-light { border-color: rgba(247, 242, 232, .45); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--green-800); border-color: var(--cream); }

.btn--wa { background: #1FA855; color: #fff; box-shadow: var(--shadow-sm); }
.btn--wa:hover { background: #178a44; box-shadow: var(--shadow-md); }

.btn--sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Tautan dengan panah */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--green-700);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header::before {
  /* Gradasi tipis agar logo tetap terbaca di atas foto terang */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 36, 29, .55), rgba(6, 36, 29, 0));
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.header.is-stuck { background: var(--green-800); box-shadow: var(--shadow-md); }
.header.is-stuck::before { opacity: 0; }

.header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 34px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cream);
}
.brand__sub {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: .25rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.9rem; }
.nav__link {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--cream-soft);
  padding-block: .4rem;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--cream); font-weight: 600; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--cream);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: var(--green-900);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 36, 29, .93) 0%, rgba(6, 36, 29, .62) 45%, rgba(6, 36, 29, .34) 100%),
    linear-gradient(to right, rgba(6, 36, 29, .58), transparent 65%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 45rem; }
.hero h1 { color: var(--cream); margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}
.hero__text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--cream-soft);
  max-width: 36rem;
  margin-bottom: 2rem;
}

/* Baris statistik di bawah hero */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(247, 242, 232, .18);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-top: .45rem;
}

/* --------------------------------------------------------------------------
   8. Kartu proyek
   -------------------------------------------------------------------------- */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-300);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--green-800);
  overflow: hidden;
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.05); }

.project-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.project-card__title { font-size: 1.35rem; margin-bottom: .5rem; }
.project-card__loc {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--ink-muted); margin-bottom: .9rem;
}
.project-card__loc svg { width: 1em; height: 1em; flex: none; color: var(--brown-400); }
.project-card__desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.25rem; flex: 1; }
.project-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.1rem; border-top: 1px solid var(--sand-300);
}
.project-card__types { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Kartu proyek yang belum punya foto */
.project-card--placeholder .project-card__media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, var(--green-600), transparent 55%),
    linear-gradient(140deg, var(--green-800), var(--green-900));
}
.project-card__placeholder-mark { width: 76px; opacity: .55; }

/* Lencana */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--selesai { background: var(--green-100); color: var(--green-700); }
.badge--berjalan { background: var(--brown-100); color: var(--brown-700); }
.badge--tipe { background: var(--sand-200); color: var(--brown-700); font-weight: 600; letter-spacing: .02em; }
.badge--subsidi { background: var(--green-100); color: var(--green-700); }
.badge--komersial { background: var(--brown-100); color: var(--brown-700); }

.badge--float {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(6, 36, 29, .82);
  color: var(--cream);
  backdrop-filter: blur(6px);
}

/* Penanda gambar ilustrasi/render */
.render-note {
  position: absolute;
  bottom: .7rem; right: .7rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(6, 36, 29, .72);
  color: var(--cream-soft);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   9. Kartu fitur / nilai
   -------------------------------------------------------------------------- */
.feature {
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--green-700), var(--green-500));
  color: var(--gold-400);
  margin-bottom: 1.2rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.feature p { font-size: .93rem; margin: 0; }

.section--green .feature {
  background: rgba(247, 242, 232, .05);
  border-color: rgba(247, 242, 232, .14);
  box-shadow: none;
}
.section--green .feature__icon { background: rgba(201, 162, 39, .16); }
.section--green .feature p { color: var(--cream-soft); }

/* --------------------------------------------------------------------------
   10. Split media + teks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
  box-shadow: var(--shadow-lg);
}
.split__media--wide img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }

/* Kartu kecil menumpuk di atas gambar */
.split__badge {
  position: absolute;
  right: -1rem; bottom: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold-500);
  max-width: 15rem;
}
.split__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-700);
  line-height: 1;
}
.split__badge span { font-size: .78rem; color: var(--ink-muted); letter-spacing: .05em; text-transform: uppercase; }

/* Pernyataan visi — kutipan besar di tengah */
.visi-statement {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.9vw, 2.05rem);
  line-height: 1.42;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.visi-statement::before,
.visi-statement::after {
  content: '';
  display: block;
  width: 54px;
  height: 2px;
  margin: 0 auto 1.75rem;
  background: var(--gold-500);
}
.visi-statement::after { margin: 1.75rem auto 0; }

/* Daftar misi bernomor */
.misi-list {
  counter-reset: misi;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem clamp(1.5rem, 4vw, 3rem);
}
.misi-list li {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  font-size: .95rem;
  line-height: 1.65;
}
.misi-list li::before {
  counter-increment: misi;
  content: counter(misi, decimal-leading-zero);
  flex: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400);
  padding-bottom: .15rem;
  border-bottom: 1.5px solid rgba(201, 162, 39, .38);
  min-width: 1.75rem;
}

/* Daftar bercentang */
.check-list { display: grid; gap: .8rem; margin: 1.5rem 0 0; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .95rem; }
.check-list svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .22rem; color: var(--gold-500); }

/* --------------------------------------------------------------------------
   11. Halaman detail proyek
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: var(--green-800);
  overflow: hidden;
}
.page-hero--media { min-height: min(66vh, 560px); display: flex; align-items: flex-end; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 36, 29, .94), rgba(6, 36, 29, .55) 55%, rgba(6, 36, 29, .35));
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); margin-bottom: .75rem; }
.page-hero__text { color: var(--cream-soft); max-width: 40rem; font-size: 1.05rem; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  margin-top: 1.4rem;
  color: var(--cream-soft);
  font-size: .9rem;
}
.page-hero__meta-item { display: flex; align-items: center; gap: .45rem; }
.page-hero__meta-item svg { width: 1.05em; height: 1.05em; color: var(--gold-400); flex: none; }

/* Remah roti */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .82rem; color: var(--cream-soft); margin-bottom: 1.1rem; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span { opacity: .55; }

/* Tabel spesifikasi */
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table tr { border-bottom: 1px solid var(--sand-300); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: left;
  font-weight: 600;
  color: var(--green-700);
  padding: .85rem 1rem .85rem 0;
  width: 40%;
  vertical-align: top;
}
.spec-table td { padding: .85rem 0; color: var(--ink-soft); }

/* Kartu tipe unit */
.unit-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--sand-300);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.unit-card__tipe {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
  min-width: 5.5rem;
}
.unit-card__info { flex: 1; min-width: 14rem; }
.unit-card__detail { font-size: .88rem; color: var(--ink-muted); margin-top: .3rem; }
.unit-card__status { font-size: .85rem; font-weight: 600; color: var(--brown-600); }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--green-800);
  box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(6, 36, 29, 0);
  transition: background .3s var(--ease);
}
.gallery__item:hover::after { background: rgba(6, 36, 29, .18); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 36, 29, .95);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: grid; }
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  color: var(--cream-soft);
  text-align: center;
  font-size: .88rem;
  margin-top: 1rem;
  max-width: 40rem;
  margin-inline: auto;
}
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(247, 242, 232, .12);
  color: var(--cream);
  transition: background .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(247, 242, 232, .26); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* Navigasi proyek sebelumnya/berikutnya */
.project-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.project-nav__item {
  padding: 1.35rem 1.6rem;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.project-nav__item:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.project-nav__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.project-nav__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-700); margin-top: .3rem; }
.project-nav__item--next { text-align: right; }

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: .85rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--green-800);
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  margin-top: .42rem;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__body { padding: 0 1.5rem 1.4rem; font-size: .95rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Kontak
   -------------------------------------------------------------------------- */
.contact-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.contact-card p { font-size: .92rem; margin: 0; }
.contact-card a:hover { color: var(--green-700); text-decoration: underline; }

/* Pilihan proyek untuk pesan WhatsApp */
.wa-picker { display: grid; gap: .7rem; }
.wa-picker__item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--green-800);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.wa-picker__item:hover { border-color: #1FA855; background: #F3FBF6; transform: translateX(3px); }
.wa-picker__item svg { width: 1.2rem; height: 1.2rem; color: #1FA855; flex: none; }
.wa-picker__loc { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-muted); margin-top: .15rem; }

/* --------------------------------------------------------------------------
   14. Pita CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--cream-soft);
  overflow: hidden;
}
.cta::before {
  /* Bentuk lengkung samar mengambil motif oval logo */
  content: '';
  position: absolute;
  right: -8%;
  top: -35%;
  width: 40rem; height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 62%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 44rem; margin-inline: auto; }
.cta h2 { color: var(--cream); }
.cta p { margin-bottom: 2rem; }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--green-900); color: var(--cream-soft); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer__brand img { width: 42px; }
.footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; color: var(--cream); line-height: 1; }
.footer__brand-sub { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-top: .3rem; }
.footer__desc { font-size: .9rem; max-width: 24rem; }

.footer__title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}
.footer__list { display: grid; gap: .65rem; font-size: .9rem; }
.footer__list a { transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--gold-400); }
.footer__contact-item { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; }
.footer__contact-item svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .28rem; color: var(--gold-500); }

.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(247, 242, 232, .08);
  color: var(--cream);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }

.footer__bank {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.4rem; padding: .6rem 1rem;
  border: 1px solid rgba(247, 242, 232, .16);
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.footer__bank strong { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid rgba(247, 242, 232, .12);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  font-size: .82rem;
}

/* --------------------------------------------------------------------------
   16. Tombol WhatsApp mengambang
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  background: #1FA855;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(31, 168, 85, .38);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.wa-float:hover { background: #178a44; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(31, 168, 85, .45); }
.wa-float svg { width: 1.35rem; height: 1.35rem; flex: none; }

/* --------------------------------------------------------------------------
   17. Muncul saat digulir
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Responsif
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .nav__toggle { display: flex; }

  .nav__list {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-800);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    padding: .95rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(247, 242, 232, .1);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.1rem; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .misi-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__media img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .split__badge { right: 1rem; bottom: -1.25rem; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .gallery__item--wide { grid-column: span 2; }

  .project-nav { grid-template-columns: 1fr; }
  .project-nav__item--next { text-align: left; }

  .footer__grid { grid-template-columns: 1fr; }

  .wa-float { right: 1rem; bottom: 1rem; padding: .8rem; }
  .wa-float span { display: none; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.15rem; }
  .hero { min-height: 82vh; }
  .hero__stats { gap: 1.5rem 2rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
  .unit-card { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

/* --------------------------------------------------------------------------
   19. Aksesibilitas & cetak
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.skip-link {
  position: absolute;
  left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 300;
  padding: .75rem 1.5rem;
  background: var(--gold-500);
  color: var(--green-900);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.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;
}

@media print {
  .header, .wa-float, .footer__social, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
