/**
 * Dekorasi.me — gaya halaman depan (company profile).
 * Tema terang: gading hangat + aksen emas, mengikuti identitas logo.
 * Mandiri, tanpa framework.
 */

:root {
  /* Latar */
  --bg: #fbfaf7;
  --bg-soft: #f4f1ea;
  --bg-card: #ffffff;
  --bg-deep: #1c1a17;

  /* Emas */
  --gold: #b8862f;
  --gold-lite: #d9a441;
  --gold-deep: #8a6318;
  --gold-wash: #f7f0e1;

  /* Teks */
  --text: #211f1c;
  --text-soft: #4a453e;
  --muted: #7c756b;
  --on-dark: #f5f2ec;

  /* Garis */
  --line: rgba(184, 134, 47, 0.28);
  --line-soft: rgba(28, 26, 23, 0.1);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', Inter, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 14px;
  --header-h: 78px;

  --shadow-sm: 0 2px 10px rgba(28, 26, 23, 0.05);
  --shadow-md: 0 14px 38px rgba(28, 26, 23, 0.09);
  --shadow-lg: 0 26px 60px rgba(28, 26, 23, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================ Tipografi ============================ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1rem; }

.gold-text {
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.lead {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 62ch;
}

/* --- Teks deskriptif: rata kanan-kiri ---------------------------------
 *
 * Paragraf penjelasan dibuat rata kanan-kiri supaya tepi kolom lurus dan
 * halaman terasa lebih tertata.
 *
 * Yang ikut hanya paragraf uraian yang memang rata kiri. Blok yang sengaja
 * dibuat rata tengah — teks hero, ajakan di bagian CTA, dan kepala bagian
 * bergaya tengah — dikecualikan di aturan berikutnya supaya tetap seperti
 * semula. Judul, harga, dan teks pendek lain tidak ikut.
 *
 * text-wrap: pretty menjaga baris terakhir tidak menyisakan satu kata
 * sendirian, yang justru merusak kerapian saat teks diratakan.
 */
.lead,
.site-footer p,
.prose p,
.mission-item p,
.card-service p,
.pkg-excerpt {
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Yang sengaja dibuat rata tengah dikembalikan mengikuti perataan induknya
 * — perataan kanan-kiri hanya untuk teks yang memang rata kiri. */
.cta .lead,
.section-head.center .lead {
  text-align: inherit;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* ============================ Layout ============================ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: clamp(64px, 8.5vw, 116px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::before { display: none; }

/* ============================ Tombol ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border: 0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s, color 0.22s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-lite) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 134, 47, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--gold-deep);
  background: #fff;
}

.btn-dark {
  background: var(--bg-deep);
  color: var(--on-dark);
}

@media (hover: hover) {
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(184, 134, 47, 0.36); }
  .btn-ghost:hover { transform: translateY(-2px); background: var(--gold-wash); border-color: var(--gold); }
  .btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}

.btn:active { transform: scale(0.98); }

/* ============================ Header ============================ */

/* Header solid & tidak menimpa konten — hero mulai tepat di bawahnya.
 *
 * Sengaja TANPA backdrop-filter: properti itu menjadikan header sebagai
 * containing block bagi anak ber-position:fixed, dan di Safari/iOS drawer
 * menu mobile ikut terpotong setinggi header sehingga tampak tidak berfungsi.
 * Latar dibuat pekat penuh — tampilannya praktis sama. */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.22s;
  padding-block: 6px;
}

.nav a::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.28s;
}

.nav a:hover,
.nav a.active { color: var(--gold-deep); }

.nav a.active::after,
.nav a:hover::after { width: 100%; }

/* Kelompok kanan header: pemilih bahasa + tombol menu */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Pemilih bahasa: dua pil kecil ID / EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
}

.lang-switch a {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}

.lang-switch a:hover { color: var(--gold-deep); }

.lang-switch a.active {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #fff;
}

/* Versi di dalam drawer mobile — disembunyikan di desktop */
.lang-switch-mobile { display: none; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 20px; height: 20px; }

/* Tombol tutup di dalam drawer — hanya dipakai pada tampilan mobile */
.nav-close {
  display: none;
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.nav-close svg { width: 19px; height: 19px; }

/* ============================ Hero ============================ */

.hero {
  position: relative;
  /* Tinggi layar dikurangi header, sehingga gambar tidak pernah tertutup. */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 16s ease-out forwards;
}

/* Selubung terang agar teks gelap tetap terbaca di atas foto apa pun. */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(251, 250, 247, 0.97) 0%,
    rgba(251, 250, 247, 0.9) 34%,
    rgba(251, 250, 247, 0.55) 60%,
    rgba(251, 250, 247, 0.22) 100%
  );
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

/* Latar hero saat belum ada gambar diunggah.
   Dipakai bersamaan dengan .hero-slide, jadi lapisan foto & selubungnya
   dinetralkan agar pola dekoratif di bawah tampil bersih. */
.hero-slide.hero-fallback::before { content: none; }

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 620px at 78% 28%, rgba(217, 164, 65, 0.2), transparent 68%),
    radial-gradient(circle 520px at 15% 82%, rgba(184, 134, 47, 0.13), transparent 70%),
    linear-gradient(140deg, #fbfaf7 0%, #f3eee4 100%);
}

.hero-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 134, 47, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 134, 47, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 68% 62% at 50% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 45%, #000 25%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 { margin-bottom: 1.2rem; }

.hero .lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin-bottom: 2.1rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  position: absolute;
  inset-block-end: 38px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dots button {
  width: 32px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(28, 26, 23, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.hero-dots button.active {
  background: var(--gold);
  width: 50px;
}

/* ============================ Kartu layanan ============================ */

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card-service {
  position: relative;
  display: block;
  padding: 38px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}

.card-service:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.card-service .icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 22px;
  background: var(--gold-wash);
  border: 1px solid var(--line);
  color: var(--gold-deep);
}

.card-service h3 { margin-bottom: 10px; }

.card-service p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.card-link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.card-service:hover .card-link svg,
.card-link:hover svg { transform: translateX(4px); }

/* ============================ Visi & Misi ============================ */

/* Dua kolom berdampingan: Visi sebagai pernyataan di kiri,
   Misi sebagai daftar bernomor di kanan. */
.vm-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

/* Judul besar bergaya display, menggantikan label kecil sebelumnya */
.vm-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 6px;
}

.vm-lead {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.vm-rule {
  width: 68px;
  height: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 134, 47, 0));
}

/* --- Kolom kiri: Visi --- */

.vision {
  position: relative;
  padding: clamp(32px, 4vw, 44px) clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle 420px at 12% 0%, rgba(217, 164, 65, 0.14), transparent 70%),
    var(--bg-card);
  box-shadow: var(--shadow-sm);
}

/* Tanda kutip dekoratif — diletakkan di sudut kanan atas agar tidak
   menimpa garis emas di bawah judul "Visi". */
.vision::before {
  content: '\201C';
  position: absolute;
  inset-block-start: -20px;
  inset-inline-end: 30px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #fff;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  padding-block-start: 22px;
  box-shadow: 0 8px 22px rgba(184, 134, 47, 0.3);
}

.vision p {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
}

/* --- Kolom kanan: Misi --- */

.mission-list {
  display: grid;
  gap: 16px;
}

/* Tiap misi berupa kartu, senada dengan panel Visi di kolom kiri */
.mission-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.mission-item:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.mission-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gold-wash);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-deep);
  transition: background 0.3s, color 0.3s;
}

.mission-item:hover .mission-no {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #fff;
}

.mission-item h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.mission-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

@media (max-width: 880px) {
  .vm-split { grid-template-columns: 1fr; gap: 52px; }
}

/* ============================ Paket layanan ============================ */

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
  align-items: start;
}

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 34px 34px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pkg:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

/* Paket unggulan — disorot dengan bingkai emas & sedikit lebih tinggi */
.pkg.featured {
  border-color: var(--gold);
  box-shadow: 0 18px 46px rgba(184, 134, 47, 0.18);
  background: linear-gradient(180deg, #fffdf8 0%, var(--bg-card) 46%);
}

.pkg.featured::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--gold-lite), var(--gold), transparent);
}

.pkg-badge {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #fff;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(184, 134, 47, 0.32);
}

.pkg-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  background: var(--gold-wash);
  border: 1px solid var(--line);
  color: var(--gold-deep);
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 4px;
}

.pkg-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.pkg-excerpt {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-deep);
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

/* Daftar isi paket */
.pkg-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 13px;
  flex-grow: 1;
}

.pkg-features li {
  position: relative;
  padding-inline-start: 30px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.pkg-features li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold-wash);
  border: 1px solid var(--line);
}

/* Tanda centang */
.pkg-features li::after {
  content: '';
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: 8px;
  width: 7px;
  height: 4px;
  border-inline-start: 1.8px solid var(--gold-deep);
  border-block-end: 1.8px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.pkg .btn { width: 100%; }

/* ============================ Portofolio ============================ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  border-color: var(--line);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.project-card:hover img { transform: scale(1.06); }

/* Overlay gelap hanya di area teks kartu — halaman tetap terang. */
.project-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.9) 0%, rgba(20, 18, 15, 0.45) 40%, transparent 72%);
}

.project-card .cat {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lite);
  margin-bottom: 7px;
}

.project-card h3 {
  font-size: 1.34rem;
  color: #fff;
  margin-bottom: 4px;
}

.project-card .meta {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.76);
}

/* ============================ Filter kategori ============================ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.filters a {
  padding: 10px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  font-size: 0.84rem;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.filters a:hover,
.filters a.active {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-wash);
}

/* ============================ Statistik ============================ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  border-block: 1px solid var(--line-soft);
  padding-block: 40px;
}

.stat { text-align: center; }

.stat .value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--gold);
}

.stat .label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================ Split (gambar + teks) ============================ */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-media.stacked { aspect-ratio: auto; border: 0; overflow: visible; box-shadow: none; }

.split-media.stacked .primary,
.split-media.stacked .secondary {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}

.split-media.stacked .primary { aspect-ratio: 4 / 5; }

.split-media.stacked .primary img { height: 100%; }

.split-media.stacked .secondary {
  position: absolute;
  inset-block-end: -34px;
  inset-inline-end: -22px;
  width: 52%;
  aspect-ratio: 1;
  box-shadow: var(--shadow-lg);
}

.split-media.stacked .secondary img { height: 100%; }

/* ============================ Halaman dalam ============================ */

.page-hero {
  position: relative;
  /* Wajib: lapisan foto diperbesar scale(1.04) untuk animasi zoom, tanpa ini
     luapannya terlihat sebagai pita gambar di bawah banner. */
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle 520px at 82% 25%, rgba(217, 164, 65, 0.16), transparent 68%),
    var(--bg-soft);
}

/* Banner berfoto: cukup tinggi agar terbaca sebagai banner, dengan selubung
   terang di sisi kiri supaya teks gelap tetap jelas di atas foto apa pun. */
/* Banner berfoto.
 *
 * Foto sengaja dibiarkan tampil UTUH — tidak ditutup selubung terang seperti
 * sebelumnya. Keterbacaan teks dijaga oleh gradasi gelap tipis yang hanya
 * pekat di bagian bawah, tempat teks berada, dan hilang sama sekali di
 * bagian atas sehingga foto tetap terlihat jelas. */
.page-hero.with-image {
  min-height: clamp(400px, 54vh, 580px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(56px, 7vw, 84px);
  border-bottom: 0;
}

.page-hero.with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.page-hero.with-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Sapuan gelap dari bawah — pekat tepat di belakang teks, sirna di atas */
    linear-gradient(
      to top,
      rgba(16, 14, 11, 0.86) 0%,
      rgba(16, 14, 11, 0.62) 24%,
      rgba(16, 14, 11, 0.28) 48%,
      rgba(16, 14, 11, 0.06) 72%,
      rgba(16, 14, 11, 0) 100%
    ),
    /* Sedikit dari kiri agar judul panjang tetap aman di layar lebar */
    linear-gradient(
      100deg,
      rgba(16, 14, 11, 0.34) 0%,
      rgba(16, 14, 11, 0.12) 45%,
      rgba(16, 14, 11, 0) 75%
    );
}

/* ---- Teks di atas foto: terang, dengan aksen emas ---- */

.page-hero.with-image .breadcrumbs {
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.page-hero.with-image .breadcrumbs a:hover { color: var(--gold-lite); }

.page-hero.with-image .eyebrow {
  color: var(--gold-lite);
  /* Eyebrow tipis dan berukuran kecil — bayangan menjaganya tetap terbaca
     bila kebetulan jatuh di bagian foto yang terang. */
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.page-hero.with-image .eyebrow::before { background: var(--gold-lite); }

.page-hero.with-image h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Judul memakai kelas .gold-text; di atas foto dipakai emas terang
   agar tetap kontras terhadap latar gelap. */
.page-hero.with-image h1.gold-text {
  color: var(--gold-lite);
}

.page-hero.with-image .lead {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.page-hero .wrap { position: relative; z-index: 2; }

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs a:hover { color: var(--gold-deep); }

.prose { max-width: 74ch; }
.prose p { color: var(--text-soft); }
.prose h3 { margin-block: 1.9rem 0.7rem; }
.prose ul { color: var(--text-soft); padding-inline-start: 1.2rem; }

/* Spesifikasi proyek */
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  /* Latar disamakan dengan sel, bukan warna garis. Bila jumlah item tidak
     habis dibagi jumlah kolom, sisa ruang di baris terakhir ikut putih —
     bukan blok abu yang terlihat seperti sel kosong. Garis pemisahnya
     digambar tiap sel lewat box-shadow, jadi hanya muncul di antara sel
     yang benar-benar terisi. */
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-list div {
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--line-soft);
  padding: 24px 22px;
}

.spec-list dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.spec-list dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 500;
}

/* Galeri */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery figure:hover img { transform: scale(1.05); }

/* Ikon kaca pembesar saat kartu galeri disorot */
.gallery figure { position: relative; }

.gallery-zoom {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 14, 11, 0.55);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s, transform 0.28s;
  pointer-events: none;
}

.gallery-zoom svg { width: 18px; height: 18px; }

@media (hover: hover) {
  .gallery figure:hover .gallery-zoom { opacity: 1; transform: none; }
}

/* ---------------- Paginasi galeri ---------------- */

.gallery-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.gallery-pager button {
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.gallery-pager button:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.gallery-pager button.active {
  background: var(--gold-wash);
  border-color: var(--gold);
  color: var(--gold-deep);
  font-weight: 600;
}

.gallery-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---------------- Modal galeri ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(16px, 4vw, 40px);
  background: rgba(14, 12, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.open { display: flex; }

.lb-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  /* Disisakan ruang di kiri-kanan supaya panah tidak menempel tepi layar. */
  max-width: min(1080px, 100%);
}

.lb-stage img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  /* Pergantian foto terasa lembut, bukan melompat */
  animation: lbMasuk 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes lbMasuk {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.lb-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.lb-caption {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  max-width: 60ch;
}

.lb-counter {
  color: var(--gold-lite);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Tombol panah & tutup */
.lb-nav,
.lb-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.lb-nav { width: 54px; height: 54px; }
.lb-nav svg { width: 24px; height: 24px; }

.lb-close {
  position: absolute;
  inset-block-start: clamp(16px, 3vw, 28px);
  inset-inline-end: clamp(16px, 3vw, 28px);
  width: 46px;
  height: 46px;
}

.lb-close svg { width: 20px; height: 20px; }

@media (hover: hover) {
  .lb-nav:hover,
  .lb-close:hover {
    background: rgba(217, 164, 65, 0.22);
    border-color: var(--gold-lite);
    transform: scale(1.06);
  }
}

.lb-nav:active,
.lb-close:active { transform: scale(0.95); }

/* ============================ CTA ============================ */

/* Satu-satunya blok gelap — sebagai jeda visual sebelum footer. */
.cta {
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle 520px at 50% 40%, rgba(217, 164, 65, 0.16), transparent 68%),
    var(--bg-deep);
}

.cta h2 { color: var(--on-dark); margin-bottom: 1rem; }
.cta h2 .gold-text { color: var(--gold-lite); }
.cta .eyebrow { color: var(--gold-lite); }
.cta .eyebrow::before { background: var(--gold-lite); }

.cta .lead {
  color: rgba(245, 242, 236, 0.72);
  margin-inline: auto;
  margin-bottom: 2.2rem;
}

.cta .btn-ghost {
  background: transparent;
  border-color: rgba(245, 242, 236, 0.28);
  color: var(--on-dark);
}

@media (hover: hover) {
  .cta .btn-ghost:hover { background: rgba(217, 164, 65, 0.14); border-color: var(--gold-lite); }
}

/* ============================ Peta Kontak ============================ */

.map-block {
  position: relative;
  margin-top: clamp(44px, 6vw, 68px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}

.map-block iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 48vh, 520px);
  border: 0;
  /* Diredam agar menyatu dengan palet halaman; jernih saat disorot. */
  filter: grayscale(0.85) contrast(1.05) brightness(1.03);
  transition: filter 0.5s ease;
}

.map-block:hover iframe {
  filter: grayscale(0) contrast(1) brightness(1);
}

/* Kartu alamat mengambang di atas peta.
   Diletakkan di KANAN karena Google selalu menaruh panel info alamatnya
   sendiri di kiri atas peta sematan, dan panel itu tidak bisa dimatikan. */
.map-card {
  position: absolute;
  inset-block-start: 26px;
  inset-inline-end: 26px;
  width: min(340px, calc(100% - 52px));
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(28, 26, 23, 0.18);
}

.map-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.map-address {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.map-hours {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 500;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-actions .btn {
  flex: 1 1 auto;
  padding: 11px 18px;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  /* Kartu dipindah ke bawah peta agar tidak menutupi wilayahnya */
  .map-block { overflow: visible; border: 0; box-shadow: none; background: none; }

  .map-block iframe {
    height: 300px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    filter: grayscale(0.4) contrast(1.03);
  }

  .map-card {
    position: static;
    width: 100%;
    margin-top: 16px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
  }
}

/* ============================ Group Kami ============================ */

/* Diletakkan setelah blok CTA gelap, sebelum footer. Latar terang penuh
   agar logo berwarna-warni tetap tampil bersih. */
.group-section {
  background: var(--bg);
  border-block-end: 1px solid var(--line-soft);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.group-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 22px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* Tinggi kotak dilebihkan agar logo berorientasi tinggi (mis. Bawono,
   ArahInn) tidak tampak kecil; lebar dibatasi supaya logo yang sangat
   melebar (mis. AKR) tidak mendominasi deretan. */
.group-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  width: 100%;
}

/* Logo dibuat abu-abu agar deretannya terasa satu kesatuan;
   warna aslinya muncul saat disorot. */
.group-logo img {
  max-height: 100%;
  max-width: 86%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.35s, opacity 0.35s, transform 0.35s;
}

.group-name {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  transition: color 0.3s;
}

@media (hover: hover) {
  .group-item:hover {
    transform: translateY(-4px);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
  }

  .group-item:hover .group-logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
  }

  .group-item:hover .group-name {
    color: var(--gold-deep);
  }
}

/* Perangkat sentuh tidak punya hover — tampilkan warna aslinya langsung */
@media (hover: none) {
  .group-logo img { filter: grayscale(0); opacity: 1; }
}

/* ============================ Properti ============================ */

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

@media (hover: hover) {
  .property-card:hover {
    transform: translateY(-6px);
    border-color: var(--line);
    box-shadow: var(--shadow-lg);
  }

  .property-card:hover .property-media img { transform: scale(1.06); }
}

/* --- Bagian gambar --- */

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Label status & jenis dibuat menempel di sudut gambar */
.property-status,
.property-type {
  position: absolute;
  inset-block-start: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.property-status {
  inset-inline-start: 14px;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 134, 47, 0.35);
}

/* Terjual / tersewa: warna diredam supaya tidak lagi menarik perhatian. */
.property-status.is-done {
  background: rgba(43, 40, 36, 0.82);
  box-shadow: none;
}

.property-type {
  inset-inline-end: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

/* --- Bagian teks --- */

.property-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.property-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.property-card h3 {
  font-size: 1.16rem;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--text);
}

.property-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.property-loc svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); }

/* Ringkasan kamar & luas, dipisah garis tipis di atasnya */
.property-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0 0;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line-soft);
  /* Selalu menempel di dasar kartu supaya antar kartu sejajar walau
     panjang judulnya berbeda. */
  margin-block-start: auto;
}

.property-specs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.property-specs svg { width: 17px; height: 17px; color: var(--gold); }

/* --- Penyaring di halaman daftar --- */

.property-filters {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 4vw, 46px);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* .filters bawaan punya margin bawah 42px untuk dipakai berdiri sendiri di
   halaman portofolio. Di sini jaraknya sudah diatur .property-filters. */
.filter-row .filters { margin-bottom: 0; flex: 1; }

.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  min-width: 108px;
}

/* --- Panel harga di halaman detail --- */

.price-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-wash) 0%, var(--bg-card) 68%);
  box-shadow: var(--shadow-sm);
}

.price-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.price-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.price-badge {
  display: inline-block;
  margin-inline-start: 14px;
  vertical-align: middle;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
}

.price-badge.is-done { background: rgba(43, 40, 36, 0.82); }

.price-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .property-grid { grid-template-columns: 1fr; gap: 22px; }
  .property-body { padding: 20px; }
  .property-price { font-size: 1.34rem; }
  .property-specs { gap: 14px; }
  .filter-label { min-width: 100%; }
  /* Panel harga menumpuk: sisi kanan dibuat selebar penuh dulu, baru
     tombolnya bisa ikut memenuhi lebar. */
  .price-panel { flex-direction: column; align-items: stretch; }
  .price-side { width: 100%; }
  .price-panel .btn { width: 100%; }
  .price-badge { margin-inline-start: 0; margin-block-start: 10px; }
}

/* ============================ Video ============================ */

.video-section { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

/* Satu video sendirian tidak perlu melebar penuh — dibatasi agar tetap
   proporsional dan terasa disengaja, bukan sisa kolom. */
.video-grid.is-single { grid-template-columns: minmax(0, 860px); justify-content: center; }

.video-item { margin: 0; }

.video-item video,
.video-item iframe,
.video-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #14120f;
  box-shadow: var(--shadow-sm);
}

.video-item video { object-fit: cover; }
.video-item iframe { border: 0; }

/* --- Sampul video sematan (belum jadi iframe) --- */

.video-embed {
  position: relative;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Cadangan saat video sematan belum punya gambar sampul */
.video-blank {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #23201b 0%, #14120f 100%);
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(184, 134, 47, 0.92);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  transition: transform 0.3s, background 0.3s;
}

.video-play svg { width: 30px; height: 30px; margin-inline-start: 3px; }

@media (hover: hover) {
  .video-embed:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
  }

  .video-embed:hover img { transform: scale(1.05); }
  .video-embed:hover .video-play { transform: scale(1.09); background: var(--gold); }
}

.video-embed:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.video-item figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; gap: 22px; }
  .video-play { width: 60px; height: 60px; }
  .video-play svg { width: 25px; height: 25px; }
}

/* ============================ Footer ============================ */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding-block: 66px 0;
}

.footer-grid {
  display: grid;
  /* Porsi kolom sengaja digeser: kolom deskripsi dilebarkan dan kolom
     navigasi sedikit dirampingkan. Jarak antar kolom diambil dari lebar
     kolom itu sendiri, jadi menambah jarak saja justru membuat deskripsi
     menyempit dan celah antar katanya melebar. */
  grid-template-columns: 1.9fr 0.95fr 0.95fr 1.2fr;
  column-gap: clamp(40px, 4.5vw, 64px);
  row-gap: 44px;
  padding-bottom: 52px;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a:hover { color: var(--gold-deep); }

.socials { display: flex; gap: 10px; margin-top: 20px; }

.socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: #fff;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}

.socials a:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Tombol WhatsApp mengambang */
.wa-float {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #fff;
  box-shadow: 0 12px 30px rgba(184, 134, 47, 0.36);
  transition: transform 0.25s;
}

.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 27px; height: 27px; }

/* ============================ Animasi masuk ============================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

/* ============================ Paginasi ============================ */

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-top: 48px;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.pagination .page-link:hover { border-color: var(--gold); color: var(--gold-deep); }

.pagination .active .page-link {
  background: var(--gold-wash);
  border-color: var(--gold);
  color: var(--gold-deep);
}

.pagination .disabled .page-link { opacity: 0.4; }

/* ============================ Theme Toggle ============================ */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

/* Default (light): tampilkan matahari */
html:not([data-theme="dark"]) .theme-toggle .icon-sun { display: block; }

/* Dark: tampilkan bulan */
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ============================ Dark Mode ============================ */

html[data-theme="dark"] {
  --bg: #0d1b2a;
  --bg-soft: #132035;
  --bg-card: #162240;
  --bg-deep: #070f19;
  --text: #e8ecf0;
  --text-soft: #c0c8d4;
  --muted: #7f8da0;
  --on-dark: #f5f2ec;
  --line: rgba(184, 134, 47, 0.32);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 14px 38px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.44);
}

/* --- Dark mode: komponen yang butuh override --- */

html[data-theme="dark"] .site-header {
  background: var(--bg);
}

html[data-theme="dark"] .brand { color: var(--text); }

html[data-theme="dark"] .nav a { color: var(--muted); }
html[data-theme="dark"] .nav a:hover,
html[data-theme="dark"] .nav a.active { color: var(--gold); }

html[data-theme="dark"] .theme-toggle {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--muted);
}
html[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

html[data-theme="dark"] .lang-switch {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .nav-toggle {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--text);
}

html[data-theme="dark"] .nav-close {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--text);
}

/* --- Hero --- */

html[data-theme="dark"] .hero-slide::after {
  background: linear-gradient(
    100deg,
    rgba(13, 27, 42, 0.95) 0%,
    rgba(13, 27, 42, 0.82) 34%,
    rgba(13, 27, 42, 0.5) 60%,
    rgba(13, 27, 42, 0.18) 100%
  );
}

html[data-theme="dark"] .hero-fallback {
  background:
    radial-gradient(circle 620px at 78% 28%, rgba(217, 164, 65, 0.15), transparent 68%),
    radial-gradient(circle 520px at 15% 82%, rgba(184, 134, 47, 0.1), transparent 70%),
    linear-gradient(140deg, #0d1b2a 0%, #0f2438 100%);
}

html[data-theme="dark"] .hero h1 { color: var(--text); }
html[data-theme="dark"] .hero .lead { color: var(--text-soft); }

html[data-theme="dark"] .hero-dots button {
  background: rgba(255, 255, 255, 0.18);
}

/* --- Buttons --- */

html[data-theme="dark"] .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--gold);
}

html[data-theme="dark"] .btn-ghost:hover {
  background: rgba(184, 134, 47, 0.1);
  border-color: var(--gold);
}

/* --- Cards --- */

html[data-theme="dark"] .card-service {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .card-service .icon {
  background: rgba(184, 134, 47, 0.12);
  border-color: rgba(184, 134, 47, 0.2);
  color: var(--gold);
}

html[data-theme="dark"] .pkg {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .pkg.featured {
  background: linear-gradient(180deg, rgba(184, 134, 47, 0.06) 0%, var(--bg-card) 46%);
}

html[data-theme="dark"] .pkg-icon {
  background: rgba(184, 134, 47, 0.12);
  border-color: rgba(184, 134, 47, 0.2);
  color: var(--gold);
}

html[data-theme="dark"] .pkg-features li::before {
  background: rgba(184, 134, 47, 0.12);
  border-color: rgba(184, 134, 47, 0.2);
}

/* --- Vision & Mission --- */

html[data-theme="dark"] .vision {
  background:
    radial-gradient(circle 420px at 12% 0%, rgba(217, 164, 65, 0.08), transparent 70%),
    var(--bg-card);
  border-color: rgba(184, 134, 47, 0.2);
}

html[data-theme="dark"] .mission-no {
  background: rgba(184, 134, 47, 0.12);
  border-color: rgba(184, 134, 47, 0.2);
}

/* --- Filters --- */

html[data-theme="dark"] .filters a {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--muted);
}

html[data-theme="dark"] .filters a:hover,
html[data-theme="dark"] .filters a.active {
  background: rgba(184, 134, 47, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Project Cards --- */

html[data-theme="dark"] .project-card {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

/* --- Property Cards --- */

html[data-theme="dark"] .property-card {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .property-type {
  background: rgba(13, 27, 42, 0.88);
  color: var(--text);
}

/* --- Spec List --- */

html[data-theme="dark"] .spec-list {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .spec-list div {
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--line-soft);
}

/* --- Gallery --- */

html[data-theme="dark"] .gallery figure {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .gallery-pager button {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--muted);
}

html[data-theme="dark"] .gallery-pager button:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

html[data-theme="dark"] .gallery-pager button.active {
  background: rgba(184, 134, 47, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Pagination --- */

html[data-theme="dark"] .pagination .page-link {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--muted);
}

html[data-theme="dark"] .pagination .page-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

html[data-theme="dark"] .pagination .active .page-link {
  background: rgba(184, 134, 47, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Price Panel --- */

html[data-theme="dark"] .price-panel {
  background: linear-gradient(135deg, rgba(184, 134, 47, 0.08) 0%, var(--bg-card) 68%);
  border-color: rgba(184, 134, 47, 0.2);
}

/* --- Map Card --- */

html[data-theme="dark"] .map-block {
  background: var(--bg-soft);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .map-card {
  background: rgba(13, 27, 42, 0.94);
  border-color: rgba(184, 134, 47, 0.2);
}

html[data-theme="dark"] .map-card h3 { color: var(--text); }

/* --- Video --- */

html[data-theme="dark"] .video-item video,
html[data-theme="dark"] .video-item iframe,
html[data-theme="dark"] .video-embed {
  border-color: var(--line-soft);
  background: #070f19;
}

/* --- Group Section --- */

html[data-theme="dark"] .group-item {
  background: var(--bg-card);
  border-color: var(--line-soft);
}

html[data-theme="dark"] .group-name { color: var(--muted); }
html[data-theme="dark"] .group-item:hover .group-name { color: var(--gold); }

/* --- CTA --- */

html[data-theme="dark"] .cta {
  background:
    radial-gradient(circle 520px at 50% 40%, rgba(217, 164, 65, 0.1), transparent 68%),
    var(--bg-deep);
}

html[data-theme="dark"] .cta .btn-ghost {
  background: transparent;
  border-color: rgba(245, 242, 236, 0.15);
  color: var(--on-dark);
}

html[data-theme="dark"] .cta .btn-ghost:hover {
  background: rgba(217, 164, 65, 0.12);
  border-color: var(--gold-lite);
}

/* --- Page Hero (with image) --- */

html[data-theme="dark"] .page-hero {
  background:
    radial-gradient(circle 520px at 82% 25%, rgba(217, 164, 65, 0.08), transparent 68%),
    var(--bg-soft);
}

/* --- Footer --- */

html[data-theme="dark"] .site-footer {
  background: var(--bg-soft);
}

html[data-theme="dark"] .socials a {
  background: var(--bg-card);
  border-color: var(--line-soft);
  color: var(--muted);
}

html[data-theme="dark"] .socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ============================ Responsive ============================ */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 42px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline-end: 0;
    z-index: 120;
    width: min(310px, 82vw);
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px 34px;
    background: #fff;
    border-inline-start: 1px solid var(--line-soft);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  .nav.open { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-close { display: inline-flex; }

  /* Dark mode: drawer background */
  html[data-theme="dark"] .nav {
    background: var(--bg);
    border-color: var(--line-soft);
  }
  html[data-theme="dark"] .nav-close {
    background: var(--bg-card);
    border-color: var(--line-soft);
    color: var(--text);
  }
  html[data-theme="dark"] .theme-toggle {
    background: var(--bg-card);
    border-color: var(--line-soft);
  }

  /* Di layar sempit pemilih bahasa pindah ke dalam drawer agar header lega */
  .header-right > .lang-switch { display: none; }

  .lang-switch-mobile {
    display: inline-flex;
    margin-top: 10px;
    align-self: flex-start;
  }

  .lang-switch-mobile a { font-size: 0.78rem; padding: 7px 16px; }

  /* Harus DI BAWAH .site-header (z-index 100). Sebabnya .nav berada di dalam
     header, dan header adalah stacking context — jadi z-index .nav hanya
     berlaku di dalamnya. Kalau backdrop diberi nilai lebih tinggi dari header,
     backdrop menutupi drawer dan setiap tap pada menu justru menutup menu. */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(28, 26, 23, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-backdrop.open { opacity: 1; pointer-events: auto; }

  /* Selubung hero dibuat lebih rata agar teks tetap terbaca di layar sempit */
  .hero-slide::after {
    background: linear-gradient(
      180deg,
      rgba(251, 250, 247, 0.9) 0%,
      rgba(251, 250, 247, 0.86) 55%,
      rgba(251, 250, 247, 0.7) 100%
    );
  }
  html[data-theme="dark"] .hero-slide::after {
    background: linear-gradient(
      180deg,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(13, 27, 42, 0.86) 55%,
      rgba(13, 27, 42, 0.72) 100%
    );
  }

  /* Banner halaman di layar sempit: teks memakai seluruh lebar, jadi
     gradasi bawah dipekatkan sedikit dan sapuan kiri ditiadakan. */
  .page-hero.with-image {
    min-height: clamp(320px, 46vh, 420px);
    padding-block: clamp(40px, 8vw, 56px);
  }

  .page-hero.with-image::after {
    background: linear-gradient(
      to top,
      rgba(16, 14, 11, 0.9) 0%,
      rgba(16, 14, 11, 0.68) 30%,
      rgba(16, 14, 11, 0.32) 58%,
      rgba(16, 14, 11, 0.08) 80%,
      rgba(16, 14, 11, 0) 100%
    );
  }
  html[data-theme="dark"] .page-hero.with-image::after {
    background: linear-gradient(
      to top,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(13, 27, 42, 0.72) 30%,
      rgba(13, 27, 42, 0.36) 58%,
      rgba(13, 27, 42, 0.1) 80%,
      rgba(13, 27, 42, 0) 100%
    );
  }

  .split-media.stacked .secondary {
    inset-block-end: -20px;
    inset-inline-end: -10px;
    width: 46%;
  }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }

  .wrap { padding-inline: 20px; }

  .brand { font-size: 1.02rem; letter-spacing: 0.06em; }
  .brand img { height: 34px; }

  /* Hero dibatasi 82% tinggi layar supaya bagian berikutnya sedikit terlihat
     — mengundang untuk di-scroll, dan tidak terasa kosong. */
  .hero {
    min-height: min(calc(100dvh - var(--header-h)), 82dvh);
    padding-block: 52px 70px;
  }

  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .hero .lead { font-size: 0.98rem; margin-bottom: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 11px; }
  .hero-actions .btn { width: 100%; }
  .hero-dots { inset-block-end: 22px; }

  .eyebrow { font-size: 0.66rem; letter-spacing: 0.18em; margin-bottom: .8rem; }

  .section-head { margin-bottom: 30px; }

  .card-service { padding: 28px 22px; }
  .card-service .icon { width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; }

  /* Kartu proyek dibuat lebih pendek agar tidak perlu banyak scroll */
  .project-card { aspect-ratio: 5 / 4; }
  .project-card .overlay { padding: 20px; }
  .project-card h3 { font-size: 1.18rem; }

  .filters { gap: 8px; margin-bottom: 30px; }
  .filters a { padding: 8px 16px; font-size: 0.79rem; }

  .stats { padding-block: 30px; gap: 18px; }

  .split-media.stacked .secondary { inset-block-end: -14px; inset-inline-end: 0; width: 42%; }

  .spec-list div { padding: 18px 18px; }

  .page-hero { padding-block: 44px 52px; }

  /* Dua kolom di HP — lima logo dalam satu kolom terlalu panjang */
  .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .group-item { padding: 22px 14px 20px; gap: 12px; }
  .group-logo { height: 68px; }
  .group-name { font-size: 0.7rem; letter-spacing: 0.06em; }

  /* Menumpuk satu kolom: jarak antar blok dilebihkan karena tidak ada lagi
     pemisah kolom, dan deskripsi dibiarkan selebar layar. */
  .footer-grid { grid-template-columns: 1fr; row-gap: 40px; padding-bottom: 40px; }
  .site-footer { padding-block: 48px 0; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }


  /* Modal galeri di layar sempit: panah turun ke bawah foto supaya tidak
     memakan lebar gambar, dan ukurannya tetap nyaman disentuh. */
  .lightbox {
    flex-wrap: wrap;
    align-content: center;
    gap: 14px;
  }

  .lb-stage {
    order: 1;
    flex: 1 0 100%;
  }

  .lb-stage img { max-height: 62vh; }

  .lb-prev { order: 2; }
  .lb-next { order: 3; }

  .lb-nav { width: 48px; height: 48px; }
  .lb-caption { font-size: 0.88rem; }

  .gallery-pager { gap: 6px; margin-top: 26px; }
  .gallery-pager button { min-width: 38px; height: 38px; padding-inline: 9px; font-size: 0.82rem; }

  /* Layar sentuh tidak punya hover — ikon zoom ditampilkan tetap, samar */
  .gallery-zoom { opacity: 0.85; transform: none; width: 34px; height: 34px; }

  .wa-float { inset-block-end: 18px; inset-inline-end: 18px; width: 52px; height: 52px; }
}

/* Judul tidak tertutup header saat menuju tautan #anchor */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
}
