/* ==========================================================================
   PANCAR NI'MAH tours and travel — Design System (emas & hitam premium)
   Warna dasar di bawah dapat ditimpa lewat Setelan Tampilan di panel admin
   (lihat css_tema() pada inc/brand.php).
   ========================================================================== */

:root {
  --ink-950: #0A0A08;
  --ink-960: #0E0E0C;
  --ink-900: #131210;
  --ink-800: #1B1A16;
  --ink-700: #262320;
  --ink-600: #34302A;
  --on-dark: #D9D2BE;
  --on-dark-soft: #BDB69F;
  --on-dark-muted: #A9A28C;
  --surface: #ffffff;
  --header-bg: rgba(19, 18, 16, .92);
  --nav-bg: rgba(12, 11, 9, .98);
  --gold: #c9a227;
  --gold-2: #e7c86b;
  --gold-3: #f6e6b4;
  --cream: #FAF7F0;
  --sand: #F2EBDC;
  --line: #e6ddc9;
  --ink: #191713;
  --muted: #6B6459;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 2px 10px rgba(20, 18, 14, .06);
  --shadow: 0 14px 40px rgba(20, 18, 14, .10);
  --shadow-lg: 0 26px 70px rgba(10, 9, 6, .22);
  --font-display: 'Marcellus', 'Times New Roman', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ok: #16794f;
  --warn: #b7791f;
  --danger: #b23b3b;
  --info: #2563a5;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23c9a227' stroke-opacity='.16'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3Cpath d='M30 12l18 18-18 18-18-18z'/%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink-700); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }


/* pratinjau gambar hero di panel Setelan */
.hero-preview {
  height: 150px; border-radius: 12px; border: 1px solid var(--line);
  background-size: cover !important; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  padding: 14px 16px; color: #fff;
}
.hero-preview strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-preview span { font-size: .78rem; color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: .93rem; font-weight: 600; letter-spacing: .2px;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2b2107; box-shadow: 0 10px 24px rgba(201, 162, 39, .28); }
.btn-gold:hover { color: #201804; box-shadow: 0 14px 30px rgba(201, 162, 39, .38); }
.btn-ink { background: linear-gradient(135deg, var(--ink-700), var(--ink-900)); color: #fff; box-shadow: 0 10px 24px rgba(10, 9, 6, .24); }
.btn-ink:hover { color: #fff; }
.btn-outline { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: var(--gold-2); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .3); color: #eef4f1; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-soft { background: var(--surface); border-color: var(--line); color: var(--ink-800); }
.btn-soft:hover { border-color: var(--gold); color: var(--ink-900); }
.btn-danger { background: var(--surface); border-color: #eccfcf; color: var(--danger); }
.btn-danger:hover { background: #fdf3f3; color: var(--danger); }
.btn-icon { padding: 8px 12px; font-size: .8rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Badges / alerts ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
}
.badge-ok { background: #e6f4ec; color: var(--ok); }
.badge-warn { background: #fdf3e0; color: var(--warn); }
.badge-danger { background: #fbeaea; color: var(--danger); }
.badge-info { background: #e8f0fa; color: var(--info); }
.badge-gold { background: var(--gold-3); color: #7a5c05; }
.badge-muted { background: #eef1ef; color: var(--muted); }

.alert { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; border: 1px solid; }
.alert-ok { background: #eefaf2; border-color: #c7e8d4; color: #14603f; }
.alert-error { background: #fdf1f1; border-color: #f0cfcf; color: #8e2b2b; }
.alert-info { background: #eef4fb; border-color: #cfdff2; color: #1d4d80; }
.alert-warn { background: #fdf7e8; border-color: #f0e0b4; color: #8a6412; }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.card-accent { border-top: 3px solid var(--gold); }
.card-tint { background: linear-gradient(160deg, #fff 0%, var(--sand) 100%); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(201, 162, 39, .28);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 106px; padding: 6px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .3)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; color: #fff; letter-spacing: .4px; }
.brand-text em { font-style: normal; font-size: .7rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-2); }
/* Logo asli yang diunggah admin — ditampilkan apa adanya, tanpa bingkai/latar */
.brand-logo { display: inline-flex; align-items: center; flex: none; }
.brand-logo img {
  display: block; max-height: 78px; width: auto; max-width: 300px; object-fit: contain;
  background: transparent; border: 0; border-radius: 0; padding: 0;
}
.login-card .brand-logo img { max-height: 104px; max-width: 340px; }
.admin-brand .brand-logo img { max-height: 50px; max-width: 180px; }
.footer-brand .brand-logo img { max-height: 96px; max-width: 320px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #dbe7e2; font-size: .89rem; font-weight: 500; padding: 9px 12px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.main-nav a:hover { color: var(--gold-2); background: rgba(255, 255, 255, .07); }
.main-nav a.is-active { color: var(--gold-2); background: rgba(201, 162, 39, .14); }
/* tombol CTA di dalam menu (hanya layar sangat kecil) */
.nav-cta-mobile { display: none; }
/* tombol login admin (header, menu mobile, footer) */
.btn-admin, .nav-admin-mobile, .btn-admin-footer { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.btn-admin svg, .nav-admin-mobile svg, .btn-admin-footer svg { flex: none; }
.nav-admin-mobile { display: none; }
.btn-admin-footer {
  background: transparent; border-color: rgba(255, 255, 255, .35); color: #eef4f1;
  font-size: .82rem; padding: 8px 15px;
}
.btn-admin-footer:hover { border-color: var(--gold-2); color: var(--gold-2); }


.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--surface); border-radius: 2px; display: block; }

@media (max-width: 760px) {
  .brand-logo img { max-height: 62px; max-width: 220px; }
  .footer-brand .brand-logo img { max-height: 76px; max-width: 250px; }
  /* header di layar kecil: rapatkan agar logo besar tetap muat satu baris */
  .header-inner { gap: 10px; min-height: 84px; }
  .brand { gap: 8px; }
  .brand-text strong { font-size: .92rem; letter-spacing: .2px; }
  .brand-text em { font-size: .56rem; letter-spacing: 1px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: .78rem; white-space: nowrap; }
  .header-actions .btn-admin { display: none; }
  .nav-admin-mobile { display: inline-flex; justify-content: center; margin-top: 8px; }
  .burger { padding: 6px; }
}

/* Navigasi header pindah ke menu lebih awal, karena header kini memuat 3 tombol
   (Cek Pesanan, Login Admin, Daftar Sekarang) di samping logo yang besar. */
@media (max-width: 1280px) {
  .burger { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--nav-bg);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 5vw 22px; display: none;
    border-bottom: 1px solid rgba(201, 162, 39, .3);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(201, 162, 39, .20), transparent 62%),
    radial-gradient(700px 420px at 8% 92%, rgba(201, 162, 39, .22), transparent 60%),
    linear-gradient(155deg, var(--ink-950) 0%, var(--ink-900) 48%, var(--ink-800) 100%);
  padding: 74px 0 86px;
}
.hero::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); opacity: .5; }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(250, 247, 240, .06));
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: rgba(201, 162, 39, .16); border: 1px solid rgba(201, 162, 39, .45);
  color: var(--gold-2); font-size: .78rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.hero h1 { color: #fff; margin: 20px 0 18px; }
.hero h1 span { color: var(--gold-2); font-style: normal; }
.hero-lead { font-size: 1.05rem; color: var(--on-dark); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-2); }
.hero-stats div span { font-size: .82rem; color: var(--on-dark-soft); letter-spacing: .4px; }

.hero-card {
  position: relative; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px; padding: 26px; backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; margin-bottom: 6px; }
.hero-card p { color: #c8dbd4; font-size: .88rem; }

/* quick search */
.quick-form { display: grid; gap: 12px; margin-top: 16px; }
.quick-form label { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-2); font-weight: 600; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.kicker { display: block; font-size: .76rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.ornament { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); margin: 6px 0 14px; }
.ornament i { display: block; width: 52px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.section-sub { color: var(--muted); margin: 0; }

/* ---------- Feature cards ---------- */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--ink-900), var(--ink-700)); color: var(--gold-2);
}
.feature h3 { font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Kartu paket model brosur (kotak) ---------- */
.brosur {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.brosur:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.brosur-top {
  position: relative; padding: 17px 21px 16px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--ink-950) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
}
.brosur-top::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .5; }
.brosur-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.brosur-tagrow { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.brosur-brandline { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brosur-brandline svg, .brosur-brandline img { flex: none; }
/* logo asli versi kecil (kartu brosur & pratinjau) */
.brand-mini { display: block; background: transparent; border: 0; padding: 0; border-radius: 0; max-width: 150px; object-fit: contain; }

.brosur-brandline strong {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--gold-2); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.brosur-badge {
  flex: none; padding: 4px 11px; border-radius: 999px; font-size: .64rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2B2107;
}
.brosur-title {
  position: relative; margin: 0 0 6px; font-family: var(--font-display);
  font-size: 1.32rem; line-height: 1.16; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  min-height: 2.32em;
}
.brosur-meta { position: relative; margin: 0; font-size: .79rem; color: var(--on-dark-soft); }
.brosur-orn { position: absolute; right: -16px; bottom: -30px; opacity: .3; pointer-events: none; }

.brosur-body { padding: 16px 21px; display: grid; gap: 12px; flex: 1; align-content: start; }
.brosur-priceblock {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding-bottom: 13px; border-bottom: 1px dashed var(--line);
}
.brosur-priceblock small { display: block; font-size: .67rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.brosur-priceblock strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; color: var(--ink-800); }
.brosur-priceblock em { font-style: normal; font-size: .72rem; color: var(--muted); }

.brosur-rooms { display: grid; gap: 7px; }
.brosur-room {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 12px; border-radius: 9px; background: var(--cream);
  font-size: .82rem; color: #4A4438;
}
.brosur-room strong { font-weight: 600; color: var(--ink-800); }
.brosur-room.is-featured { background: linear-gradient(135deg, #FFFBF0, var(--gold-3)); border: 1px solid #EBD9A6; }

.brosur-fas { display: grid; gap: 7px; }
.brosur-fas li { display: flex; gap: 9px; min-width: 0; font-size: .82rem; color: #4A4438; line-height: 1.5; }
.brosur-fas li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brosur-fas li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: none; }

.brosur-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 21px; border-top: 1px solid var(--line); background: var(--sand);
}
.brosur-kontak { font-size: .72rem; color: var(--muted); line-height: 1.4; }
.brosur-kontak strong { display: block; font-size: .78rem; color: var(--ink-800); letter-spacing: .2px; }
.brosur-foot .btn { flex: none; }

/* brosur dari gambar unggahan admin */
.brosur-imgwrap {
  position: relative; display: block; background: var(--cream);
  border-bottom: 1px solid var(--line); aspect-ratio: 6 / 5; min-height: 230px; flex: 1;
}
/* Gambar diposisikan absolut agar tinggi kartu benar-benar mengikuti kotaknya
   (height:100% pada anak di dalam kotak ber-aspect-ratio diabaikan browser). */
.brosur-imgwrap img {
  position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
  object-fit: contain;
}
/* strip harga ringkas khusus kartu bergambar brosur */
.brosur-strip {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 11px 21px; border-bottom: 1px dashed var(--line);
}
.brosur-strip small { display: block; font-size: .66rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.brosur-strip strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; color: var(--ink-800); }
.brosur-strip em { font-style: normal; font-size: .71rem; color: var(--muted); }

/* filter bar */
.filter-bar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.filter-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; color: #3c5148; letter-spacing: .2px; }
.field .hint { font-size: .76rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=password], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); font-family: var(--font-body); font-size: .93rem; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
textarea { min-height: 108px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .16); }
input[type=file] {
  width: 100%; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  background: var(--cream); font-size: .86rem; cursor: pointer;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d7268' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .col-span { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.inline-check { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #3A352C; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--ink-700); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 640px; }
table.data th {
  text-align: left; padding: 14px 16px; background: var(--sand); color: #3A352C;
  font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; white-space: nowrap;
}
table.data td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:hover { background: #fdfbf6; }
table.data .num { text-align: right; white-space: nowrap; }
table.data tfoot td { font-weight: 700; background: #fdfbf6; border-top: 2px solid var(--line); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold);
}
.step h3 { font-size: 1.02rem; margin: 6px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Schedules ---------- */
.sched-list { display: grid; gap: 14px; }
.sched-item {
  display: grid; grid-template-columns: 116px minmax(0, 1fr) auto auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.sched-date { text-align: center; border-right: 1px dashed var(--line); padding-right: 12px; }
.sched-date strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-800); line-height: 1; }
.sched-date span { font-size: .78rem; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; }
.sched-info h4 { margin: 0 0 3px; font-family: var(--font-body); font-size: .98rem; font-weight: 700; }
.sched-info span { font-size: .84rem; color: var(--muted); }
.sched-price strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-800); }
.sched-price small { display: block; font-size: .74rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote p { font-size: .95rem; color: #35504a; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--ink-800), var(--ink-600)); }
.who strong { display: block; font-size: .92rem; }
.who span { font-size: .8rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: .96rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 66px 0;
  background: linear-gradient(150deg, var(--ink-900), var(--ink-700) 60%, var(--ink-800));
}
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); opacity: .45; }
.cta-band > .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); max-width: 620px; margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Detail page ---------- */
.detail-hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 70px; background: linear-gradient(150deg, var(--ink-950), var(--ink-800) 78%); }
.detail-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); opacity: .4; }
.detail-hero .wrap { position: relative; }
.crumbs { font-size: .82rem; color: #a9c2b9; margin-bottom: 16px; }
.crumbs a { color: var(--on-dark); }
.crumbs span { color: var(--gold-2); }
.detail-hero h1 { color: #fff; margin-bottom: 14px; }
.detail-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tag { padding: 6px 14px; border-radius: 999px; font-size: .78rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #e4efe9; }
.detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.fact { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm); padding: 16px 18px; backdrop-filter: blur(8px); }
.fact span { display: block; font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.fact strong { font-size: .95rem; color: #fff; font-weight: 600; }

.price-table { display: grid; gap: 12px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.price-row.is-active { border-color: var(--gold); background: #fffdf5; box-shadow: 0 0 0 3px rgba(201, 162, 39, .12); }
.price-row .pname { font-weight: 600; font-size: .95rem; }
.price-row .pname small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.price-row .pval { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-800); white-space: nowrap; }

.itinerary { display: grid; gap: 10px; }
.itin-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.itin-item > summary { list-style: none; cursor: pointer; padding: 15px 20px; display: flex; align-items: center; gap: 14px; }
.itin-item > summary::-webkit-details-marker { display: none; }
.itin-day { flex: none; width: 46px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--sand); color: var(--ink-800); font-weight: 700; font-size: .78rem; }
.itin-item > summary strong { font-size: .94rem; font-weight: 600; flex: 1; }
.itin-item > summary::after { content: '+'; color: var(--gold); font-size: 1.2rem; }
.itin-item[open] > summary::after { content: '–'; }
.itin-body { padding: 0 20px 18px 80px; color: var(--muted); font-size: .9rem; }
.itin-item[open] { border-color: var(--gold); }

.inc-exc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.inc-list li, .exc-list li { display: flex; gap: 10px; padding: 9px 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.inc-list li::before { content: '✓'; color: var(--ok); font-weight: 700; }
.exc-list li::before { content: '×'; color: var(--danger); font-weight: 700; }
.inc-list li:last-child, .exc-list li:last-child { border-bottom: 0; }

/* booking sidebar */
.booking-box { position: sticky; top: 96px; }
.booking-box .price-big { font-family: var(--font-display); font-size: 2rem; color: var(--ink-800); line-height: 1.1; }
.booking-box .price-big small { display: block; font-family: var(--font-body); font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.summary-lines { display: grid; gap: 10px; margin: 18px 0; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.summary-lines div { display: flex; justify-content: space-between; font-size: .88rem; gap: 12px; }
.summary-lines div span:last-child { font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.summary-total strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }

.jamaah-block { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; background: #fdfbf6; display: grid; gap: 14px; }
.jamaah-block + .jamaah-block { margin-top: 14px; }
.jamaah-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jamaah-title strong { font-size: .93rem; }
.jamaah-title .badge { background: var(--ink-900); color: var(--gold-2); }

/* ---------- Order / status page ---------- */
.order-hero { background: linear-gradient(150deg, var(--ink-950), var(--ink-800)); color: #fff; padding: 46px 0 54px; position: relative; overflow: hidden; }
.order-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); opacity: .35; }
.order-hero .wrap { position: relative; }
.order-hero h1 { color: #fff; margin-bottom: 8px; }
.kode-box {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 20px;
  border: 1px dashed rgba(201, 162, 39, .6); border-radius: var(--radius-sm); background: rgba(201, 162, 39, .12);
}
.kode-box strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 3px; color: var(--gold-2); }

.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; }
.tl-dot { position: relative; display: flex; justify-content: center; }
.tl-dot i { width: 14px; height: 14px; border-radius: 50%; background: #d9d3c4; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); margin-top: 5px; z-index: 1; }
.tl-item.is-done .tl-dot i { background: var(--ok); }
.tl-item.is-current .tl-dot i { background: var(--gold); }
.tl-dot::after { content: ''; position: absolute; top: 8px; bottom: -6px; width: 2px; background: var(--line); }
.tl-item:last-child .tl-dot::after { display: none; }
.tl-body { padding-bottom: 22px; }
.tl-body strong { font-size: .95rem; }
.tl-body span { display: block; font-size: .84rem; color: var(--muted); }

.doc-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.doc-item:last-child { border-bottom: 0; }
.doc-name { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; }
.doc-name small { font-weight: 500; color: var(--muted); font-size: .78rem; display: block; }
.doc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.pay-row:last-child { border-bottom: 0; }
.pay-amount { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink-800); }

.bank-card { background: linear-gradient(150deg, var(--ink-900), var(--ink-700)); color: #fff; border-radius: var(--radius); padding: 22px; }
.bank-card h4 { color: var(--gold-2); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.bank-card .norek { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 2px; }
.bank-card .an { font-size: .85rem; color: var(--on-dark); }
.bank-card + .bank-card { margin-top: 14px; }

.progress { height: 10px; border-radius: 999px; background: #ece5d5; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--ok)); }
.progress-legend { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* ---------- Check page ---------- */
.check-card { max-width: 520px; margin-inline: auto; }
.check-form { display: flex; gap: 12px; }
.check-form input { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--ink-960), var(--ink-950)); color: var(--on-dark-soft); padding: 66px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); opacity: .25; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: .89rem; color: var(--on-dark-muted); margin-top: 16px; }
.brand-light .brand-text strong { color: #fff; }
.izin-list { display: grid; gap: 8px; margin-top: 16px; }
.izin-list li { font-size: .82rem; color: var(--on-dark); }
.izin-list span { display: inline-block; min-width: 54px; font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-2); }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-soft); font-size: .89rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li { font-size: .87rem; }
.footer-col .btn { margin-top: 16px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .82rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--on-dark-soft); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; background: #25d366; color: #08301a; font-weight: 700; font-size: .9rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .35);
}
.wa-float:hover { color: var(--ink-950); transform: translateY(-2px); }

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body { background: var(--cream); }
.admin-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  background: linear-gradient(180deg, var(--ink-960), var(--ink-950)); color: var(--on-dark); padding: 24px 18px;
  display: flex; flex-direction: column; gap: 26px; position: sticky; top: 0; height: 100vh;
}
.admin-brand { display: flex; align-items: center; gap: 10px; }
.admin-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.admin-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.admin-brand em { font-style: normal; font-size: .72rem; color: var(--gold-2); letter-spacing: .6px; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 11px; color: #c3d6cf; font-size: .91rem; font-weight: 500; }
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.is-active { background: rgba(201, 162, 39, .16); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .35); }
.nav-dot { margin-left: auto; background: var(--gold); color: #2b2107; font-size: .72rem; font-weight: 700; font-style: normal; padding: 2px 8px; border-radius: 999px; }
.admin-side-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.side-link { font-size: .85rem; color: var(--on-dark-muted); padding: 6px 4px; }
.side-link:hover { color: var(--gold-2); }
.side-link-danger { color: #f0b4b4; }
.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar { display: flex; align-items: center; gap: 16px; padding: 22px 30px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 20; }
.admin-topbar h1 { margin: 0; font-size: 1.45rem; }
.admin-date { margin-left: auto; font-size: .84rem; color: var(--muted); }
.admin-content { padding: 28px 30px; display: grid; gap: 22px; align-content: start; }
.admin-footer { margin-top: auto; padding: 18px 30px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.burger-dark span { background: var(--ink-900); }
.burger-dark { display: none; }

.stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.stat span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.stat strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink-800); }
.stat small { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.stat.is-gold { background: linear-gradient(150deg, #fffdf5, #fdf3d8); border-color: #ecdba6; }
.stat.is-ink { background: linear-gradient(150deg, var(--ink-900), var(--ink-700)); border-color: transparent; }
.stat.is-ink span { color: var(--gold-2); }
.stat.is-ink strong, .stat.is-ink small { color: #fff; }

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.toolbar .field { min-width: 170px; }
.toolbar .grow { flex: 1; }

.pilgrim-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 18px; display: grid; gap: 14px; }
.pilgrim-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pilgrim-head h4 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.kv div { font-size: .89rem; }
.kv span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 2px; }
.kv strong { font-weight: 600; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(800px 500px at 20% 10%, rgba(201, 162, 39, .16), transparent 60%), linear-gradient(150deg, var(--ink-950), var(--ink-800)); }
.login-card { width: min(420px, 100%); background: var(--surface); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); }
.login-card .brand-text strong { color: var(--ink-900); }
.login-card .brand-text em { color: var(--gold); }
.login-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-800); margin-bottom: 6px; }

.pagination { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 8px 13px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-size: .85rem;
}
.pagination .is-current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .85rem; color: #3A352C; }
.chip.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.chip:hover { border-color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; }
  .booking-box { position: static; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 80; width: 264px; transform: translateX(-100%); transition: transform .25s ease; }
  .admin-side.is-open { transform: translateX(0); }
  .burger-dark { display: flex; }
}

@media (max-width: 420px) {
  .header-actions .btn-gold { display: none; }
  .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 8px; }
  .nav-admin-mobile { margin-top: 6px; }
  .brand-logo img { max-height: 58px; max-width: 200px; }
  .brand-text em { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .inc-exc { grid-template-columns: 1fr; }
  .sched-item { grid-template-columns: 96px minmax(0, 1fr); row-gap: 12px; }
  .sched-price, .sched-item .btn { grid-column: 2; }
  .check-form { flex-direction: column; }
  .header-actions .btn-outline { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .hero-stats { gap: 22px; }
  .admin-content { padding: 20px 16px; }
  .admin-topbar { padding: 16px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .no-print, .admin-side, .admin-topbar { display: none !important; }
  body { background: var(--surface); }
  .card { box-shadow: none; border-color: #ddd; }
}
