/* ==========================================================================
   SC Umroh HTML — Desain 03 "Malam" (langit malam, bulan & bintang)
   Template oleh sharecode.id — MIT License
   Daftar isi:
   1. Font & variabel   2. Dasar   3. Utilitas & tombol   4. Header & menu
   5. Hero beranda      6. Komponen section   7. Kartu paket (lengkung mihrab)
   8. Halaman dalam     9. Galeri, lightbox & modal   10. Form & langkah
   11. Footer           12. Animasi & responsif
   ========================================================================== */

/* 1. Font & variabel ------------------------------------------------------ */
@font-face { font-family: "El Messiri"; src: url("../fonts/el-messiri-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "El Messiri"; src: url("../fonts/el-messiri-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "El Messiri"; src: url("../fonts/el-messiri-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "El Messiri"; src: url("../fonts/el-messiri-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Warna utama — ganti di sini untuk mengubah seluruh tema */
  --navy: #0c1b33;
  --navy-deep: #071226;
  --navy-2: #12264a;
  --navy-3: #1d3a66;
  --gold: #d4af37;
  --gold-2: #f0d77a;
  --gold-soft: rgba(212, 175, 55, .14);
  --cream: #f5ecd7;
  --text: #dde5f1;
  --muted: #9fb0cc;
  --line: rgba(212, 175, 55, .22);
  --line-soft: rgba(159, 176, 204, .16);
  --card: #0f2140;
  --ok: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  /* Font */
  --font-head: "El Messiri", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Ukuran */
  --wrap: 1200px;
  --radius: 18px;
  --arch: 999px 999px 18px 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --header-h: 76px;
}

/* 2. Dasar ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--navy);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy); }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Utilitas & tombol ---------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy) 100%); }
.section-deep { background: var(--navy-deep); }
.center { text-align: center; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
/* ornamen garis-bulan di bawah judul */
.ornament { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 6px 0 18px; }
.center .ornament, .ornament.center { justify-content: center; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament .icon { width: 18px; height: 18px; fill: var(--gold); stroke: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body); transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(212, 175, 55, .7); }
.btn-gold:hover { color: var(--navy); box-shadow: 0 14px 36px -10px rgba(240, 215, 122, .9); }
.btn-line { border-color: var(--line); color: var(--cream); background: rgba(255, 255, 255, .03); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-2); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .2s; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .03em; background: var(--gold-soft); color: var(--gold-2); border: 1px solid var(--line); }
.badge.ok { background: rgba(74, 222, 128, .12); color: var(--ok); border-color: rgba(74, 222, 128, .3); }
.badge.warn { background: rgba(251, 191, 36, .12); color: var(--warn); border-color: rgba(251, 191, 36, .3); }
.badge.full { background: rgba(248, 113, 113, .12); color: var(--danger); border-color: rgba(248, 113, 113, .3); }

/* langit berbintang (dipakai di hero, page-hero, CTA) */
.starfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.starfield i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite; }
.starfield i.g { background: var(--gold-2); width: 3px; height: 3px; box-shadow: 0 0 6px var(--gold-2); }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* 4. Header & menu -------------------------------------------------------- */
.topbar { background: var(--navy-deep); border-bottom: 1px solid var(--line-soft); font-size: .82rem; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.topbar-info a:hover { color: var(--gold-2); }
.topbar .hijri { color: var(--gold-2); display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 27, 51, .92); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(7, 18, 38, .97); border-color: var(--line); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand img { width: 46px; height: 46px; }
.brand strong { display: block; font-family: var(--font-head); font-size: 1.28rem; line-height: 1.05; font-weight: 700; letter-spacing: .01em; }
.brand small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav .sub-toggle { display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: var(--text); font-size: .9rem; font-weight: 500; border-radius: 999px; position: relative; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav .sub-toggle:hover { color: var(--gold-2); }
.nav a.active, .nav .has-sub.active > .sub-toggle { color: var(--gold-2); }
.nav a.active::after, .nav .has-sub.active > .sub-toggle::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 190px; list-style: none; margin: 0; padding: 8px; background: var(--navy-deep); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { border-radius: 10px; }
.sub a.active::after { display: none; }
.header-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--gold-2); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .icon { width: 22px; height: 22px; }

/* panel menu mobile — diletakkan di luar header */
.mobile-panel { position: fixed; inset: 0; z-index: 90; background: radial-gradient(circle at 80% 10%, rgba(240, 215, 122, .15), transparent 40%), var(--navy-deep); padding: 24px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s; }
.mobile-panel.open { opacity: 1; visibility: visible; transform: none; }
.mobile-panel .mp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-panel ul { list-style: none; padding: 0; margin: 0 0 24px; }
.mobile-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-family: var(--font-head); font-size: 1.3rem; color: var(--text); }
.mobile-panel li a.active { color: var(--gold-2); }
.mobile-panel li a.active::before { content: "☾"; margin-right: 10px; color: var(--gold); order: -1; }
.mobile-panel li.child a { padding-left: 24px; font-size: 1.1rem; }
.mobile-panel .mp-foot { margin-top: auto; color: var(--muted); font-size: .9rem; }

/* 5. Hero beranda --------------------------------------------------------- */
.hero { position: relative; min-height: clamp(640px, calc(100vh - 116px), 860px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--navy-deep); padding: 70px 0 0; }
.hero-bg { position: absolute; inset: 0; background: url("../img/hero-malam.svg") center bottom / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 28, .92) 0%, rgba(5, 13, 28, .55) 45%, rgba(5, 13, 28, 0) 75%), linear-gradient(0deg, var(--navy) 0%, transparent 25%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 em { font-style: normal; color: var(--gold-2); position: relative; white-space: nowrap; }
.hero-text h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .12em; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 4px; }
.hero-text .lead { font-size: 1.12rem; color: #c6d2e6; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.hero-trust .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); }
.hero-trust strong { color: #fff; display: block; font-size: .95rem; }

/* kalender fase bulan keberangkatan */
.moon-cal { background: rgba(7, 18, 38, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.moon-cal h2 { font-size: 1.35rem; margin: 0 0 4px; }
.moon-cal > p { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.moon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.moon-list a { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 16px; color: var(--text); border: 1px solid transparent; transition: .2s; }
.moon-list a:hover { border-color: var(--line); background: var(--gold-soft); color: var(--text); }
.moon-list b { display: block; font-family: var(--font-head); font-size: 1.05rem; color: #fff; font-weight: 600; }
.moon-list small { color: var(--muted); font-size: .8rem; }
.moon-list .seat { text-align: right; font-size: .78rem; color: var(--muted); }
.moon-list .seat strong { display: block; font-size: 1.05rem; color: var(--gold-2); }
/* ikon fase bulan murni CSS: --p = persentase terang (0–100) */
.phase { display: block; width: 42px; height: 42px; border-radius: 50%; background: #1b2c4f; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(240, 215, 122, .35); }
.phase::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px rgba(240, 215, 122, .6); clip-path: inset(0 0 0 calc(100% - var(--p, 50) * 1%)); }

/* bilah pencarian paket (menimpa bawah hero) */
.finder { position: relative; z-index: 3; margin-top: 60px; transform: translateY(50%); }
.finder form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; background: var(--cream); border-radius: 999px; padding: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.finder label { display: block; padding: 6px 24px; border-right: 1px solid rgba(12, 27, 51, .12); }
.finder label span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #7a6a3e; font-weight: 600; }
.finder select { width: 100%; border: 0; background: transparent; font: 600 1rem var(--font-body); color: var(--navy); padding: 2px 0; cursor: pointer; }
.finder select:focus-visible { outline: none; }
.finder label:focus-within { background: rgba(212, 175, 55, .15); border-radius: 999px; }
.finder .btn { background: var(--navy); color: var(--gold-2); padding: 16px 30px; }
.finder .btn:hover { background: var(--navy-3); }
.after-finder { padding-top: 150px; }

/* 6. Komponen section ----------------------------------------------------- */
/* rasi statistik: angka dihubungkan garis putus bintang */
.constellation { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.constellation::before { content: ""; position: absolute; left: 12%; right: 12%; top: 22px; border-top: 1px dashed var(--line); }
.stat { text-align: center; position: relative; padding: 0 12px; }
.stat .dot { width: 44px; height: 44px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--navy); position: relative; }
.stat .dot::before { content: ""; width: 18px; height: 18px; background: var(--gold-2); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px var(--gold)); }
.stat .num { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); color: #fff; line-height: 1; font-weight: 700; }
.stat .num sup { font-size: .45em; color: var(--gold); top: -.9em; }
.stat p { color: var(--muted); margin: 8px 0 0; font-size: .92rem; }

/* keunggulan: daftar bernomor bintang + panel bulan */
.virtue { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.virtue-visual { position: relative; aspect-ratio: 1; max-width: 480px; }
.virtue-visual .orbit { position: absolute; inset: 0; border: 1px dashed var(--line); border-radius: 50%; }
.virtue-visual .orbit.o2 { inset: 13%; border-style: solid; border-color: var(--line-soft); }
.virtue-visual .core { position: absolute; inset: 24%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 80px rgba(240, 215, 122, .25), inset 0 0 0 2px var(--gold); }
.virtue-visual .core img { width: 100%; height: 100%; object-fit: cover; }
.virtue-visual .chip { position: absolute; background: var(--navy-deep); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .82rem; display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: var(--shadow); }
.virtue-visual .chip .icon { color: var(--gold); }
.chip.c1 { top: 6%; left: 2%; } .chip.c2 { top: 44%; right: -6%; } .chip.c3 { bottom: 6%; left: 10%; }
.virtue-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.virtue-list li { position: relative; padding-left: 58px; }
.virtue-list .n { position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--navy); background: var(--gold-2); clip-path: polygon(50% 0, 64% 18%, 85% 15%, 82% 36%, 100% 50%, 82% 64%, 85% 85%, 64% 82%, 50% 100%, 36% 82%, 15% 85%, 18% 64%, 0 50%, 18% 36%, 15% 15%, 36% 18%); }
.virtue-list h3 { font-size: 1.15rem; margin-bottom: 6px; }
.virtue-list p { color: var(--muted); font-size: .93rem; margin: 0; }

/* alur perjalanan: fase bulan baru → purnama */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; position: relative; counter-reset: j; }
.journey::before { content: ""; position: absolute; top: 40px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.journey li { text-align: center; position: relative; }
.journey .phase { width: 80px; height: 80px; margin: 0 auto 20px; }
.journey h3 { font-size: 1.15rem; margin-bottom: 6px; }
.journey p { font-size: .88rem; color: var(--muted); margin: 0; }
.journey small { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }

/* tabel jadwal */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 33, 64, .6); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { font-family: var(--font-head); font-weight: 600; color: var(--gold-2); font-size: 1rem; background: rgba(7, 18, 38, .6); }
tbody tr:hover { background: var(--gold-soft); }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: #fff; }
.seatbar { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.seatbar .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.seatbar .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 6px; }
.seatbar.low .bar span { background: linear-gradient(90deg, #f59e0b, var(--danger)); }
.seatbar small { color: var(--muted); font-size: .8rem; min-width: 64px; }

/* testimoni slider */
.testi { position: relative; overflow: hidden; }
.testi-slider { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.testi-track { display: grid; }
.testi-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s, transform .6s, visibility .6s; }
.testi-slide.active { opacity: 1; visibility: visible; transform: none; }
.testi-slide blockquote { margin: 0 0 26px; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.55; color: var(--cream); }
.testi-slide blockquote::before { content: "“"; display: block; font-size: 4.5rem; line-height: .6; color: var(--gold); margin-bottom: 14px; }
.testi-who { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testi-who img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); }
.testi-who strong { display: block; color: #fff; }
.testi-who span { font-size: .85rem; color: var(--muted); }
.stars { color: var(--gold-2); letter-spacing: 3px; font-size: .95rem; }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 34px; }
.slider-nav button.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--gold-2); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.slider-nav button.arrow:hover { background: var(--gold); color: var(--navy); }
.dots { display: flex; gap: 10px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; padding: 0; transition: .3s; }
.dots button.active { background: var(--gold-2); box-shadow: 0 0 10px var(--gold); }

/* galeri ringkas beranda (mozaik) */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.mosaic a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: 220px 220px var(--radius) var(--radius); }
.mosaic a:nth-child(4), .mosaic a:nth-child(5), .mosaic a:nth-child(6) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic span { position: absolute; left: 14px; bottom: 12px; font-size: .82rem; background: rgba(7, 18, 38, .8); padding: 4px 12px; border-radius: 999px; color: var(--cream); }

/* daftar artikel bergaya "kalender bulan" */
.post-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.post:hover { border-color: var(--line); transform: translateY(-4px); }
.post-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .post-img img { transform: scale(1.05); }
.post-date { position: absolute; top: 14px; left: 14px; width: 60px; height: 60px; border-radius: 50%; background: var(--navy-deep); border: 1px solid var(--gold); display: grid; place-content: center; text-align: center; line-height: 1; }
.post-date b { font-family: var(--font-head); font-size: 1.35rem; color: var(--gold-2); }
.post-date small { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body .badge { align-self: flex-start; margin-bottom: 12px; }
.post-body h3 { font-size: 1.22rem; }
.post-body h3 a { color: #fff; }
.post-body h3 a:hover { color: var(--gold-2); }
.post-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.post-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* CTA lentera */
.cta { position: relative; overflow: hidden; border-radius: 36px; padding: 70px 60px; background: radial-gradient(circle at 85% 30%, rgba(240, 215, 122, .25), transparent 35%), linear-gradient(135deg, var(--navy-3), var(--navy-deep)); border: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: #c6d2e6; margin: 0; max-width: 560px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-moon { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; box-shadow: -30px 24px 0 0 var(--gold-2); opacity: .22; }

/* 7. Kartu paket (lengkung mihrab) ---------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; }
.pkg-grid.stagger > :nth-child(even) { margin-top: 50px; }
.pkg-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pkg { background: linear-gradient(180deg, var(--card), #0b1a33); border: 1px solid var(--line); border-radius: var(--arch); padding: 10px 10px 0; position: relative; transition: transform .35s, box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.pkg:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -25px rgba(240, 215, 122, .35); border-color: var(--gold); }
.pkg-img { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4/4.2; position: relative; }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.pkg:hover .pkg-img img { transform: scale(1.07); }
.pkg-img .badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(7, 18, 38, .85); white-space: nowrap; }
.pkg-body { padding: 20px 14px 22px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.pkg-body h3 a { color: #fff; }
.pkg-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pkg-body .sub-info { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.pkg-feat { list-style: none; padding: 14px 0; margin: 0 0 14px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); display: grid; gap: 6px; font-size: .84rem; text-align: left; }
.pkg-feat li { display: flex; gap: 8px; align-items: center; color: #c6d2e6; }
.pkg-feat .icon { color: var(--gold); width: 15px; height: 15px; }
.price { font-family: var(--font-head); line-height: 1.1; margin-top: auto; }
.price small { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.price b { font-size: 1.6rem; color: var(--gold-2); font-weight: 700; }
.price em { font-style: normal; font-size: .85rem; color: var(--muted); }

/* 8. Halaman dalam -------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 90px 0 120px; background: radial-gradient(ellipse at 70% 0%, rgba(42, 79, 133, .7), transparent 60%), var(--navy-deep); text-align: center; }
/* tepi bawah melengkung seperti kubah */
.page-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -70px; height: 130px; background: var(--navy); border-radius: 50% 50% 0 0 / 100% 100% 0 0; border-top: 1px solid var(--line); }
.page-hero .moon-deco { position: absolute; width: 120px; height: 120px; right: 12%; top: 40px; border-radius: 50%; box-shadow: -22px 16px 0 0 var(--gold-2); filter: drop-shadow(0 0 30px rgba(240, 215, 122, .4)); transform: rotate(-20deg); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { color: #c6d2e6; max-width: 640px; margin: 0 auto; }
.crumbs { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .84rem; color: var(--muted); flex-wrap: wrap; }
.crumbs li + li::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: .7rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
.arch-frame { border-radius: var(--arch); overflow: hidden; border: 1px solid var(--gold); padding: 10px; background: var(--card); }
.arch-frame img { border-radius: var(--arch); width: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.signature { margin-top: 20px; font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-2); }
.signature small { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; transition: border-color .3s; }
.card:hover { border-color: var(--line); }
.card-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); margin-bottom: 18px; border: 1px solid var(--line); }
.card-icon .icon { width: 24px; height: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* legalitas: kartu sertifikat */
.legal { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(212, 175, 55, .04) 0 10px, transparent 10px 20px), var(--card); }
.legal::before { content: ""; position: absolute; top: 12px; right: 12px; width: 56px; height: 56px; background: url("../img/pola-bintang.svg") center / contain no-repeat; opacity: .6; }
.legal small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 8px; }
.legal h3 { font-size: 1.15rem; margin-bottom: 8px; padding-right: 50px; }
.legal code { font-family: var(--font-body); background: rgba(7, 18, 38, .6); color: var(--gold-2); padding: 4px 10px; border-radius: 6px; font-size: .85rem; border: 1px dashed var(--line); }
.legal p { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }

/* visi misi */
.vm { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; }
.vm .card h3 { display: flex; gap: 10px; align-items: center; }
.vm blockquote { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.5; color: var(--cream); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--gold); margin-top: 4px; }
.x-list .icon { color: var(--danger); }

/* timeline sejarah */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--gold), transparent); }
.tl-item { position: relative; width: 50%; padding: 0 44px 44px 0; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 44px; text-align: left; }
.tl-item::before { content: ""; position: absolute; top: 6px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); box-shadow: 0 0 12px var(--gold); }
.tl-item:nth-child(even)::before { right: auto; left: -9px; }
.tl-item .year { font-family: var(--font-head); font-size: 1.8rem; color: var(--gold-2); line-height: 1; }
.tl-item h3 { font-size: 1.15rem; margin: 6px 0; }
.tl-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* tim */
.team { text-align: center; }
.team .ph { border-radius: var(--arch); overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; background: var(--card); aspect-ratio: 4/4.6; }
.team .ph img { width: 100%; height: 100%; object-fit: cover; }
.team h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team p { font-size: .85rem; color: var(--gold); margin: 0; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partners span { padding: 14px 26px; border: 1px dashed var(--line); border-radius: 999px; font-family: var(--font-head); font-size: 1.1rem; color: var(--cream); display: inline-flex; gap: 10px; align-items: center; }
.partners .icon { color: var(--gold); }

/* toolbar filter (paket, berita, jadwal, galeri) */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; margin-bottom: 36px; }
.toolbar .field { flex: 1 1 170px; margin: 0; }
.toolbar .count { margin-left: auto; color: var(--muted); font-size: .88rem; align-self: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chips.center { justify-content: center; }
.chips button { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 .9rem var(--font-body); cursor: pointer; transition: .2s; }
.chips button:hover { border-color: var(--gold); color: var(--gold-2); }
.chips button.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
[hidden] { display: none !important; }

/* detail paket */
.detail-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.detail-head .arch-frame img { aspect-ratio: 16/12; border-radius: 300px 300px 14px 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(15, 33, 64, .6); }
.fact .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); }
.fact small { display: block; color: var(--muted); font-size: .75rem; }
.fact b { color: #fff; font-weight: 600; font-size: .93rem; }
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; }
.tabs button { padding: 14px 20px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 600 .95rem var(--font-body); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button:hover { color: var(--gold-2); }
.tabs button[aria-selected="true"] { color: var(--gold-2); border-bottom-color: var(--gold); }
.tab-panel:not(.active) { display: none; }
.booking { position: sticky; top: calc(var(--header-h) + 20px); background: linear-gradient(180deg, var(--navy-3), var(--card)); border: 1px solid var(--gold); border-radius: 200px 200px 24px 24px; padding: 70px 26px 26px; text-align: center; }
.booking .crescent { width: 54px; height: 54px; margin: -40px auto 22px; border-radius: 50%; box-shadow: -10px 6px 0 0 var(--gold-2); transform: rotate(-30deg); }
.booking .price b { font-size: 2.1rem; }
.booking .field { text-align: left; }
.booking .note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* itinerary: perjalanan malam */
.itin { list-style: none; padding: 0; margin: 0; position: relative; }
.itin::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: repeating-linear-gradient(var(--gold) 0 4px, transparent 4px 10px); }
.itin > li { position: relative; padding-left: 76px; margin-bottom: 14px; }
.itin .day { position: absolute; left: 0; top: 6px; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); border: 1px solid var(--gold); display: grid; place-content: center; text-align: center; line-height: 1; }
.itin .day small { font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.itin .day b { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-2); }

/* akordeon (FAQ, itinerary, karier) */
.acc { border: 1px solid var(--line-soft); border-radius: 16px; background: var(--card); margin-bottom: 12px; overflow: hidden; transition: border-color .3s; }
.acc.open { border-color: var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: 0; color: #fff; font: 600 1.02rem var(--font-body); text-align: left; cursor: pointer; }
.acc-btn .icon { color: var(--gold); transition: transform .3s; }
.acc.open .acc-btn .icon { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel .inner { padding: 0 22px 20px; color: #c6d2e6; font-size: .95rem; }
.acc-panel .inner p:last-child { margin-bottom: 0; }
.acc-btn small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 2px; }

.hotel-card { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; }
.hotel-card img { border-radius: 100px 100px 12px 12px; aspect-ratio: 1; object-fit: cover; }
.price-table td:not(:first-child), .price-table th:not(:first-child) { text-align: right; }

/* testimoni grid */
.testi-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 26px 26px 26px 4px; padding: 28px; position: relative; }
.testi-card::before { content: "“"; position: absolute; right: 22px; top: 6px; font-family: var(--font-head); font-size: 4.5rem; color: var(--gold); opacity: .25; line-height: 1; }
.testi-card p { color: #c6d2e6; font-size: .95rem; }
.testi-card .testi-who img { width: 48px; height: 48px; }
.rating-sum { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: var(--card); margin-bottom: 50px; }
.rating-sum .big { font-family: var(--font-head); font-size: 4.5rem; line-height: 1; color: var(--gold-2); text-align: center; }
.rating-bars { display: grid; gap: 8px; }
.rating-bars div { display: grid; grid-template-columns: 40px 1fr 50px; gap: 12px; align-items: center; font-size: .85rem; color: var(--muted); }
.rating-bars .bar { height: 8px; background: var(--line-soft); border-radius: 8px; overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: var(--gold); }

/* artikel */
.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--card); margin-bottom: 40px; }
.featured-post img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.featured-post .post-body { padding: 40px; justify-content: center; }
.featured-post h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.featured-post h2 a { color: #fff; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.article { font-size: 1.05rem; }
.article .cover { border-radius: 200px 200px 20px 20px; overflow: hidden; margin-bottom: 34px; border: 1px solid var(--line); }
.article h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { color: #cdd7e8; }
.article li { margin-bottom: 8px; }
.article blockquote { margin: 30px 0; padding: 24px 28px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 16px 16px 0; font-family: var(--font-head); font-size: 1.3rem; color: var(--cream); }
.article blockquote small { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted); margin-top: 8px; }
.doa { text-align: center; padding: 26px; border: 1px dashed var(--gold); border-radius: 20px; margin: 26px 0; }
.doa .latin { font-style: italic; color: var(--gold-2); }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin: 36px 0; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-2); background: transparent; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--gold); color: var(--navy); }
.sidebar { display: grid; gap: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.widget h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.toc { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 0; color: #c6d2e6; font-size: .92rem; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--gold); font-weight: 600; }
.toc a:hover { color: var(--gold-2); }
.mini-post { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.mini-post img { border-radius: 40px 40px 8px 8px; aspect-ratio: 1; object-fit: cover; }
.mini-post a { color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.4; display: block; }
.mini-post a:hover { color: var(--gold-2); }
.mini-post small { color: var(--muted); font-size: .78rem; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.author-box img { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--gold); }

/* kontak */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.contact-cards .card { text-align: center; }
.contact-cards .card-icon { margin-inline: auto; }
.contact-cards h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-cards p { color: var(--muted); font-size: .9rem; margin: 0; }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: url("../img/peta.svg") center / cover; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-size: .93rem; }
.hours li span:last-child { color: var(--gold-2); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 80px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); display: flex; align-items: center; justify-content: center; gap: .1em; }
.notfound .big i { width: .8em; height: .8em; border-radius: 50%; box-shadow: -.12em .08em 0 0 var(--gold-2); transform: rotate(-25deg); display: inline-block; }

/* 9. Galeri, lightbox & modal --------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; display: block; border: 1px solid var(--line-soft); padding: 0; background: var(--card); aspect-ratio: 1; }
.g-item:nth-child(5n+1) { border-radius: 200px 200px var(--radius) var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption, .g-item .cap { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(5, 13, 28, .92)); color: var(--cream); font-size: .88rem; text-align: left; transform: translateY(40%); opacity: 0; transition: .3s; }
.g-item:hover .cap, .g-item:focus-visible .cap { transform: none; opacity: 1; }
.lightbox, .modal { position: fixed; inset: 0; z-index: 100; background: rgba(3, 8, 18, .94); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.open, .modal.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); }
.lightbox figcaption { margin-top: 14px; color: var(--cream); }
.lightbox figcaption small { color: var(--muted); margin-left: 8px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(12, 27, 51, .8); color: var(--gold-2); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lb-btn:hover { background: var(--gold); color: var(--navy); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.video-box { width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.v-item { display: block; text-align: left; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; cursor: pointer; padding: 0; color: inherit; font: inherit; width: 100%; transition: border-color .3s, transform .3s; }
.v-item:hover { border-color: var(--gold); transform: translateY(-4px); }
.v-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v-thumb .play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(212, 175, 55, .92); color: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(212, 175, 55, .25); transition: transform .3s; }
.v-item:hover .play { transform: scale(1.1); }
.v-thumb .play .icon { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.v-thumb .dur { position: absolute; right: 12px; bottom: 12px; background: rgba(5, 13, 28, .85); color: #fff; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.v-body { padding: 18px 20px 20px; }
.v-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.v-body p { font-size: .85rem; color: var(--muted); margin: 0; }
.video-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.video-feature .v-item { border-radius: 200px 200px 22px 22px; }

/* 10. Form & langkah ------------------------------------------------------ */
.field { display: block; margin-bottom: 18px; }
.field > span, .field legend { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--cream); }
.field > span em { color: var(--gold); font-style: normal; }
input, select, textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(7, 18, 38, .6); color: #fff; font: 400 .95rem var(--font-body); transition: border-color .2s, box-shadow .2s; }
select option { background: var(--navy); color: #fff; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .2); }
input::placeholder, textarea::placeholder { color: #6f82a3; }
input[type="range"] { padding: 0; accent-color: var(--gold); background: none; border: 0; box-shadow: none; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--gold); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { display: none; color: var(--danger); font-size: .8rem; margin-top: 5px; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 38px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #c6d2e6; }
.check input { margin-top: 4px; }

/* langkah pendaftaran (fase bulan) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 40px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.steps li { text-align: center; position: relative; font-size: .85rem; color: var(--muted); }
.steps .phase { width: 48px; height: 48px; margin: 0 auto 10px; --p: 0; transition: .4s; }
.steps li.done .phase { --p: 100; }
.steps li.current .phase { --p: 50; box-shadow: inset 0 0 0 2px var(--gold-2), 0 0 0 6px rgba(212, 175, 55, .15); }
.steps li.current, .steps li.done { color: var(--gold-2); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeUp .4s ease; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.radio-cards label { position: relative; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards .rc { display: block; padding: 18px; border: 1px solid var(--line-soft); border-radius: 18px; background: rgba(7, 18, 38, .5); height: 100%; transition: .2s; }
.radio-cards .rc b { display: block; font-family: var(--font-head); color: #fff; font-size: 1.1rem; }
.radio-cards .rc small { color: var(--muted); }
.radio-cards .rc em { display: block; font-style: normal; color: var(--gold-2); font-weight: 600; margin-top: 6px; }
.radio-cards input:checked + .rc { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold); }
.radio-cards input:focus-visible + .rc { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.summary { list-style: none; padding: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.summary li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.summary li:last-child { border: 0; background: var(--gold-soft); }
.summary li span:first-child { color: var(--muted); }
.summary li span:last-child { color: #fff; text-align: right; font-weight: 600; }
.success-box { text-align: center; padding: 30px 10px; }
.success-box .phase { width: 90px; height: 90px; --p: 100; margin: 0 auto 20px; }
.ticket { display: inline-block; font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .12em; color: var(--gold-2); border: 1px dashed var(--gold); padding: 8px 22px; border-radius: 12px; margin: 10px 0 18px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; transform: translate(-50%, 30px); background: var(--navy-deep); border: 1px solid var(--gold); color: var(--cream); padding: 14px 22px; border-radius: 999px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .35s; max-width: calc(100% - 30px); font-size: .93rem; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { color: var(--gold-2); }

/* tombol kembali ke atas & WA melayang */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold); background: var(--navy-deep); color: var(--gold-2); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy); }

/* 11. Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); position: relative; margin-top: 90px; color: var(--muted); font-size: .92rem; }
.footer-skyline { position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; width: 100%; color: var(--navy-deep); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 50px 0 40px; }
.site-footer h3 { font-size: 1.15rem; color: var(--gold-2); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .brand { margin-bottom: 16px; color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .icon { color: var(--gold); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-2); }
.socials a:hover { background: var(--gold); color: var(--navy); }
.izin { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 8px 14px; border: 1px dashed var(--line); border-radius: 10px; font-size: .8rem; color: var(--cream); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { border-radius: 999px; padding: 11px 16px; }
.newsletter .btn { padding: 11px 16px; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 20px 0; font-size: .84rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* 12. Animasi & responsif ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .nav a, .nav .sub-toggle { padding: 10px 8px; font-size: .86rem; }
  .header-cta { display: none; }
}
@media (max-width: 1024px) {
  .nav, .topbar .hijri { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .header-cta + .menu-btn { margin-left: 0; }
  .hero-inner, .virtue, .split, .split.wide-left, .detail-head, .video-feature, .featured-post { grid-template-columns: 1fr; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(5, 13, 28, .5), rgba(5, 13, 28, .85) 60%, var(--navy)); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid.stagger > :nth-child(even) { margin-top: 0; }
  .post-row, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .journey::before { display: none; }
  .detail-layout, .article-layout { grid-template-columns: 1fr; }
  .booking, .sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .virtue-visual { margin: 0 auto; width: 100%; }
  .cta { grid-template-columns: 1fr; padding: 50px 34px; }
  .vm { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .topbar-info span:nth-child(n+2) { display: none; }
  .header-cta { display: none; }
  .menu-btn { margin-left: auto !important; }
  .finder { transform: none; margin-top: 40px; margin-bottom: 40px; }
  .finder form { grid-template-columns: 1fr; border-radius: 24px; }
  .finder label { border-right: 0; border-bottom: 1px solid rgba(12, 27, 51, .12); padding: 10px 16px; }
  .finder .btn { margin-top: 8px; }
  .after-finder { padding-top: 60px; }
  .constellation { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .constellation::before { display: none; }
  .virtue-list, .grid-2, .form-grid, .facts { grid-template-columns: 1fr; }
  .pkg-grid, .pkg-grid.cols-3, .post-row, .grid-3, .grid-4, .contact-cards { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic a:nth-child(4), .mosaic a:nth-child(5) { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; }
  .timeline::before { left: 9px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 34px 40px; text-align: left; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
  .steps { margin-bottom: 30px; }
  .steps li span { font-size: .72rem; }
  .radio-cards { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .rating-sum { grid-template-columns: 1fr; gap: 20px; }
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-card img { max-width: 220px; }
  .virtue-visual .chip { font-size: .72rem; padding: 6px 10px; }
  .chip.c2 { right: 0; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .page-hero { padding: 60px 0 100px; }
  .page-hero .moon-deco { width: 70px; height: 70px; right: 6%; top: 20px; }
  .toolbar .count { margin-left: 0; }
  .featured-post .post-body { padding: 26px; }
}
