/* Tour Konsorsium Domestik dan Luar Negeri
   Palet dari brosur: hijau tua + krem kertas, satu aksen emas kunyit.
   Motif: tumpal (deret segitiga) dan bintang delapan. */

:root {
  --g9: #0E2F22;
  --g8: #14412F;
  --g7: #1E5A43;
  --paper: #F4EEE1;
  --paper-2: #EAE1CC;
  --card: #FBF8F1;
  --ink: #1C1B17;
  --muted: #5A564B;
  --line: #D6CBB2;
  --gold: #E0A63A;
  --gold-ink: #7A4E00;
  --on-g: #F4EEE1;
  --on-g-muted: #BFCDC3;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 3px;
  --r-md: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --tumpal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 14L14 0L28 14Z'/%3E%3C/svg%3E");
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23E0A63A' stroke-opacity='.22' stroke-width='1.2'%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3Crect x='18' y='18' width='20' height='20' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Tumpal: tepi segitiga khas kain Nusantara, dipakai di batas section */
.tumpal-up, .sched::before, .foot::before, .signup::after {
  content: ""; display: block; height: 14px;
  -webkit-mask: var(--tumpal) repeat-x left bottom / 28px 14px;
          mask: var(--tumpal) repeat-x left bottom / 28px 14px;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-sm); border: 2px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #EBB651; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(20, 65, 47, .08); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--g8); font-weight: 700; cursor: pointer; min-height: 44px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244, 238, 225, .96);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g8); min-height: 44px; }
.brand-mark { width: 30px; height: 30px; color: var(--gold-ink); flex: none; }
.brand-text { font-family: var(--serif); font-size: 1.3rem; line-height: 1; }
.brand-text small { display: block; margin-top: 4px; font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.brand-text em, .foot-brand em { font-style: normal; color: var(--gold-ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 600; color: var(--ink); border-radius: var(--r-sm);
}
.nav a:not(.btn):hover { background: var(--paper-2); }
.nav-wa { margin-left: 8px; }
.menu-btn {
  display: none; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--g8); background: transparent; color: var(--g8);
  border-radius: var(--r-sm); font-weight: 700; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.2rem, 1.1rem + 3.4vw, 3.7rem);
  color: var(--g8); letter-spacing: -0.01em; text-wrap: balance;
}
.lead { margin-top: 22px; font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn-line { color: var(--g8); }
.hero-agent { margin-top: 18px; color: var(--muted); }
.hero-agent a { font-weight: 700; color: var(--g8); display: inline-block; padding: 10px 0; }

.collage {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  padding-bottom: 28px;
}
.ph { margin: 0; background: var(--card); padding: 6px 6px 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.ph img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 2px; }
.ph figcaption { font-size: .82rem; color: var(--muted); padding: 6px 2px 8px; line-height: 1.3; }
.ph-b, .ph-d { transform: translateY(36px); }

/* Tiket: satu-satunya elemen yang terangkat, penanda fokus di hero */
.ticket {
  position: absolute; left: -18px; bottom: -6px; z-index: 2;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: baseline;
  width: min(340px, 92%);
  background: var(--g8); color: var(--on-g); text-decoration: none;
  padding: 16px 18px 18px; border-radius: var(--r-md);
  box-shadow: 0 14px 30px -12px rgba(14, 47, 34, .55);
}
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--g8);
  -webkit-mask: var(--tumpal) repeat-x left bottom / 20px 14px; mask: var(--tumpal) repeat-x left bottom / 20px 14px;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.ticket-label { grid-column: 1 / -1; font-size: .85rem; color: var(--on-g-muted); font-weight: 600; }
.ticket-date { grid-row: span 2; font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--gold); white-space: nowrap; }
.ticket-name { font-weight: 700; line-height: 1.25; }
.ticket-status { font-size: .95rem; color: var(--on-g-muted); }
.ticket:hover .ticket-name { text-decoration: underline; }

/* Papan keberangkatan */
.board {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px;
  border-top: 2px solid var(--g8); border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.board-h { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--g8); }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.board-list button {
  width: 100%; height: 100%; min-height: 56px; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  background: transparent; border: 0; border-left: 1px solid var(--line); padding: 6px 10px 6px 14px;
}
.board-list button:hover .b-name { text-decoration: underline; }
.b-date { font-size: .85rem; color: var(--gold-ink); font-weight: 700; text-transform: uppercase; line-height: 1; text-align: center; flex: none; }
.b-date b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--g8); line-height: 1; }
.b-name { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.b-status { display: block; font-size: .85rem; font-weight: 600; color: var(--gold-ink); }
.board-more { font-weight: 700; color: var(--g8); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Paket ---------- */
.packages { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); background: var(--paper-2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.sec-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); color: var(--g8); }
.sec-head p { color: var(--muted); max-width: 30em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.filter {
  min-height: 44px; padding: 8px 16px; cursor: pointer;
  border: 1.5px solid var(--g8); background: transparent; color: var(--g8);
  border-radius: var(--r-sm); font-weight: 700;
}
.filter span { font-weight: 400; margin-left: 4px; opacity: .8; }
.filter[aria-pressed="true"] { background: var(--g8); color: var(--on-g); }
.filter:hover:not([aria-pressed="true"]) { background: rgba(20, 65, 47, .08); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: transform .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--g7); }
.card:focus-within { border-color: var(--g8); }
.card-wide { grid-column: span 2; }
.card-band { grid-column: 1 / -1; flex-direction: row; }
.card[hidden] { display: none; }

.cover { position: relative; height: 210px; flex: none; overflow: hidden; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .cover-photo img { transform: scale(1.03); }

.cover-umrah {
  background: var(--g8) var(--stars) center / 56px 56px;
  color: var(--on-g); display: flex; align-items: flex-end; gap: 10px; padding: 22px 24px;
}
.cover-alt { background-color: var(--g9); }
.cover-num { font-family: var(--serif); font-size: 5.4rem; line-height: .8; color: var(--gold); }
.cover-unit { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.cover-route { margin-left: auto; align-self: flex-start; max-width: 15em; text-align: right; font-size: .95rem; color: var(--on-g-muted); line-height: 1.35; }
.cover-ziarah {
  background: var(--paper); color: var(--g8);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 12px; padding: 22px 24px 34px;
  border-bottom: 1px solid var(--line);
}
.cover-ziarah::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--g8);
  -webkit-mask: var(--tumpal) repeat-x left bottom / 28px 14px; mask: var(--tumpal) repeat-x left bottom / 28px 14px;
}
.cover-ziarah .cover-num { color: var(--gold-ink); }
.cover-ziarah .cover-route { position: absolute; top: 20px; right: 24px; color: var(--muted); }
.cover-asean {
  height: auto; width: 42%; min-height: 220px;
  background: var(--g9) var(--stars) center / 56px 56px; color: var(--on-g);
  display: flex; flex-direction: column; justify-content: center; padding: 28px 32px;
  font-family: var(--serif); font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); line-height: 1.12;
}
.cover-asean span:nth-child(2) { color: var(--gold); padding-left: .8em; }
.cover-asean span:nth-child(3) { padding-left: 1.6em; }

.chip {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  background: var(--card); color: var(--ink); font-size: .85rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-sm); line-height: 1.4;
}
.cover-umrah .chip { left: auto; right: 14px; }
.chip .soon { color: var(--gold-ink); }

.card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.card-cat { font-size: .9rem; font-weight: 700; color: var(--gold-ink); }
.card h3 { font-size: 1.45rem; color: var(--g8); }
.card-wide h3 { font-size: 1.8rem; }
.card-link {
  background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit; line-height: inherit;
}
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--r-md); }
.card-meta { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.card-price { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-price small, .detail-price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.card-price del, .detail-price del { font-weight: 400; font-size: .95rem; color: var(--muted); margin-right: 6px; }
.card-price-ask, .detail-price-ask { font-size: 1.05rem; color: var(--g7); }
.cards-empty { margin-top: 24px; color: var(--muted); }

/* ---------- Jadwal ---------- */
.sched { background: var(--g8); color: var(--on-g); padding-bottom: clamp(64px, 8vw, 112px); position: relative; }
.sched::before { background: var(--g8); position: absolute; left: 0; right: 0; top: -13px; }
.sched-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(56px, 8vw, 104px); }
.sched-head { position: sticky; top: 100px; align-self: start; }
.sched-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.sched-head p { margin-top: 14px; color: var(--on-g-muted); }
.sched-note { border-top: 1px solid rgba(244, 238, 225, .2); padding-top: 14px; }

.month { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid rgba(244, 238, 225, .2); }
.month:first-child { border-top: 0; padding-top: 0; }
.month-name { font-size: 1rem; font-family: var(--sans); font-weight: 600; color: var(--on-g-muted); }
.month-name span { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.month-open .month-name span { font-size: 1.7rem; line-height: 1.1; }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  width: 100%; cursor: pointer; text-align: left; color: inherit; background: transparent; border: 0;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 168px; gap: 6px 18px; align-items: baseline;
  padding: 12px 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: var(--r-sm);
}
.row:hover { background: rgba(244, 238, 225, .07); }
.row:hover .row-name { text-decoration: underline; text-underline-offset: 3px; }
.row-name { font-weight: 600; line-height: 1.35; }
.row-name small { display: block; font-size: .8rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.row-dates { display: flex; flex-wrap: wrap; gap: 4px 10px; font-variant-numeric: tabular-nums; font-size: 1.15rem; font-weight: 700; }
.row-dates-text { font-size: 1rem; font-weight: 400; color: var(--on-g-muted); font-style: italic; }
.row-price { font-size: 1rem; color: var(--on-g-muted); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
time.is-past { opacity: .4; text-decoration: line-through; text-decoration-thickness: 1px; }
time.is-next { color: var(--gold); }

/* ---------- Daftar ---------- */
/* ---------- Dua cara memesan ---------- */
.partner { padding: clamp(64px, 8vw, 104px) 0; }
.partner-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 56px; align-items: end; margin-bottom: 36px; }
.partner-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); color: var(--g8); }
.partner-head p { color: var(--muted); }
.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 22px; align-items: stretch; }
.path { border-radius: var(--r-md); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.path h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.path .btn { align-self: flex-start; margin-top: auto; }
.path-tag { font-weight: 700; font-size: .95rem; }
.path-direct { background: var(--card); border: 1px solid var(--line); }
.path-direct h3 { color: var(--g8); }
.path-direct .path-tag { color: var(--gold-ink); }
.path-direct p:not(.path-tag) { color: var(--muted); }
.path-direct .btn-line { color: var(--g8); }
.path-agent { background: var(--g9) var(--stars) center / 56px 56px; color: var(--on-g); }
.path-agent .path-tag { color: var(--gold); }
.flow { list-style: none; margin: 6px 0 14px; padding: 0; counter-reset: f; display: grid; gap: 0; }
.flow li { counter-increment: f; position: relative; padding: 14px 0 14px 56px; border-top: 1px solid rgba(244, 238, 225, .18); color: var(--on-g-muted); }
.flow li:first-child { border-top: 0; }
.flow li::before { content: counter(f); position: absolute; left: 4px; top: 12px; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--gold); }
.flow b { color: var(--on-g); }

.signup { padding: clamp(64px, 8vw, 104px) 0 0; position: relative; background: var(--paper-2); }
.signup::after { background: var(--g9); margin-top: clamp(64px, 8vw, 104px); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.signup-copy h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); color: var(--g8); }
.signup-copy > p { margin-top: 16px; color: var(--muted); max-width: 30em; }
.contact { margin: 32px 0 0; display: grid; gap: 18px; }
.contact div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact dt { font-weight: 700; color: var(--gold-ink); }
.contact dd { margin: 0; }
.contact a { font-weight: 700; color: var(--g8); display: inline-block; padding: 10px 0; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; }
.field[hidden] { display: none; }
.role { border: 0; margin: 0; padding: 0; min-width: 0; }
.role legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--g8); border-radius: var(--r-sm); overflow: hidden; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; font-weight: 700; color: var(--g8); cursor: pointer; text-align: center; }
.seg label + label { border-left: 1.5px solid var(--g8); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--g8); color: var(--on-g); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: -3px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  background: #fff; border: 1.5px solid #9C927C; border-radius: var(--r-sm);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--g8); }
.field [aria-invalid="true"] { border-color: #A3241A; border-width: 2px; }
.err { color: #A3241A; font-size: .95rem; font-weight: 600; }
.form-status { font-weight: 600; color: var(--g7); min-height: 1.6em; }
.form-status a { color: var(--g8); }
.form-status.is-error { color: #A3241A; }

/* ---------- Footer ---------- */
.foot { background: var(--g9); color: var(--on-g-muted); padding: 40px 0 56px; }
.foot::before { display: none; }
.foot-inner { display: grid; gap: 8px; }
.foot-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--on-g); margin-bottom: 8px; }
.foot-brand em { color: var(--gold); }
.foot-brand span { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--on-g-muted); margin-top: 4px; }
.foot a { color: var(--on-g); display: inline-block; padding: 11px 0; }
.foot-small { margin-top: 14px; font-size: .95rem; }

.wa-bar { display: none; }

/* ---------- Dialog detail paket ---------- */
.detail {
  padding: 0; border: 0; border-radius: var(--r-md);
  width: min(780px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  background: var(--card); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(14, 47, 34, .6);
  overflow: hidden;
}
.detail[open] { display: flex; flex-direction: column; animation: rise .22s ease-out; }
.detail::backdrop { background: rgba(14, 47, 34, .62); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.detail-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.detail-head { position: relative; padding: 28px clamp(20px, 4vw, 36px) 26px; }
.head-umrah { background: var(--g8) var(--stars) center / 56px 56px; color: var(--on-g); }
.head-asean { background: var(--g9) var(--stars) center / 56px 56px; color: var(--on-g); }
.head-ziarah { background: var(--paper-2); color: var(--g8); padding-bottom: 40px; }
.head-ziarah::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--g8);
  -webkit-mask: var(--tumpal) repeat-x left bottom / 28px 14px; mask: var(--tumpal) repeat-x left bottom / 28px 14px;
}
.head-photos { background: var(--paper-2); color: var(--g8); padding-top: 0; }
.strip { display: grid; gap: 4px; margin: 0 calc(-1 * clamp(20px, 4vw, 36px)) 22px; }
.strip-2 { grid-template-columns: 1fr 1fr; }
.strip-3 { grid-template-columns: 1fr 1fr 1fr; }
.strip img { width: 100%; height: 170px; object-fit: cover; }
.detail-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  min-height: 44px; padding: 0 16px; cursor: pointer;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-weight: 700;
}
.detail-close:hover { background: #fff; }
.detail-cat { font-weight: 700; font-size: .95rem; color: var(--gold-ink); padding-right: 96px; }
.head-umrah .detail-cat, .head-asean .detail-cat { color: var(--gold); }
.detail-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.4rem); margin-top: 6px; padding-right: 8px; }
.head-photos h2, .head-ziarah h2 { color: var(--g8); }
.detail-sub { margin-top: 10px; max-width: 36em; }
.head-umrah .detail-sub, .head-asean .detail-sub { color: var(--on-g-muted); }
.head-photos .detail-sub, .head-ziarah .detail-sub { color: var(--muted); }

.detail-body { padding: 8px clamp(20px, 4vw, 36px) 32px; }
.detail-body h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--g8); margin: 26px 0 10px; }
.detail-body .small { font-size: .95rem; color: var(--muted); margin: -4px 0 8px; }
.facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.facts div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: .85rem; font-weight: 700; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; line-height: 1.35; }
.status { display: block; font-size: .85rem; font-weight: 700; color: var(--gold-ink); }

.list-in, .list-out, .stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.list-in li, .list-out li { position: relative; padding-left: 24px; line-height: 1.45; }
.list-in li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; background: var(--g7);
  -webkit-mask: var(--tumpal) no-repeat left bottom / 12px 7px; mask: var(--tumpal) no-repeat left bottom / 12px 7px;
}
.list-out li::before { content: ""; position: absolute; left: 3px; top: .78em; width: 10px; height: 2px; background: #A3241A; }
.list-out li { color: #3E3B33; }
.stops { counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 18px; }
.stops li { counter-increment: s; display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.stops li::before { content: counter(s); font-family: var(--serif); color: var(--gold-ink); font-size: 1.2rem; min-width: 1em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.inline-list { line-height: 1.55; }
.note { margin-top: 14px; padding: 10px 14px; background: var(--paper-2); border-radius: var(--r-sm); font-size: 1rem; }

.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 700; color: var(--g8); white-space: nowrap; }
.tbl thead th { font-size: .85rem; color: var(--muted); }
.tbl-price td:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stars { color: var(--gold-ink); letter-spacing: 1px; white-space: nowrap; text-align: right !important; }

.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.days li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.days li:first-child { border-top: 0; }
.days b { font-family: var(--serif); font-weight: 400; color: var(--gold-ink); font-size: 1.15rem; }

.datelist { display: grid; gap: 8px; }
.datelist p { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; }
.datelist b { min-width: 86px; color: var(--muted); font-size: .95rem; }
.datelist time { font-weight: 700; padding: 2px 8px; background: var(--paper-2); border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }
.datelist time.is-next { background: var(--g8); color: var(--on-g); }

.quote {
  margin: 24px 0 16px; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--g8);
}

.detail-foot {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 14px clamp(20px, 4vw, 36px); border-top: 1px solid var(--line); background: var(--card);
}
.detail-price { font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions .btn-line { color: var(--g8); }

/* ---------- Gerak: muncul sekali saat discroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet dan laptop kecil ---------- */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: 1fr auto; }
  .board-h { grid-column: 1; grid-row: 1; }
  .board-list { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-more { grid-row: 1; grid-column: 2; }
  .sched-grid { grid-template-columns: 1fr; }
  .sched-head { position: static; max-width: 40em; }
}

@media (max-width: 880px) {
  .partner-head, .paths { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
  .signup-grid { grid-template-columns: 1fr; }
}

/* ---------- HP ---------- */
@media (max-width: 760px) {
  body { font-size: 1.0625rem; padding-bottom: 64px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { min-height: 52px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
  .nav-wa { margin: 14px 0 0; }

  .collage { padding-bottom: 0; }
  .ph-c, .ph-d { display: none; }
  .ph-b { transform: translateY(24px); }
  .ticket { position: relative; left: 0; bottom: 0; width: 100%; grid-column: 1 / -1; margin-top: 44px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card-wide, .card-band { grid-column: auto; }
  .card-band { flex-direction: column; }
  .cover { height: 190px; }
  .cover-asean { width: auto; min-height: 0; padding: 24px; }
  .cover-num { font-size: 4.4rem; }
  .card-wide h3 { font-size: 1.5rem; }

  .board-list { grid-template-columns: 1fr; }
  .board-list button { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0; }

  .month { grid-template-columns: 1fr; gap: 6px; }
  .month-name span { display: inline; font-size: 2rem; margin-right: 6px; }
  .row { grid-template-columns: 1fr auto; }
  .row-dates { grid-column: 1 / -1; grid-row: 2; }
  .row-price { grid-column: 2; grid-row: 1; align-self: start; padding-top: 18px; font-size: .9rem; }

  .field-row { grid-template-columns: 1fr; }
  .contact div { grid-template-columns: 1fr; gap: 2px; }

  .detail { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .two { grid-template-columns: 1fr; }
  .strip img { height: 120px; }
  .detail-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .detail-price { width: 100%; }
  .detail-actions { width: 100%; }
  .detail-actions .btn { flex: 1 1 140px; padding-inline: 10px; font-size: 1rem; }
  .days li { grid-template-columns: 1fr; gap: 2px; }

  .wa-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--g8); color: var(--on-g); font-weight: 700; text-decoration: none;
    border-top: 2px solid var(--gold);
  }
}

@media (max-width: 420px) {
  .collage { gap: 10px; }
  .ph figcaption { font-size: .75rem; }
  .brand-text { font-size: 1.12rem; }
  .brand-text small { font-size: .72rem; }
  .path .btn { align-self: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Brosur di detail paket dan unduhan untuk agen ---------- */
.brochure { margin-top: 28px; padding-top: 4px; border-top: 1px solid var(--line); }
.brochure .small { margin: -2px 0 10px; }
.brochure-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brochure .btn-line { color: var(--g8); }
.brochure-view { margin: 16px 0 0; }
.brochure-view img { width: 100%; max-width: 520px; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper-2); }
.brochure-status { font-size: .95rem; color: var(--muted); margin-top: 6px; }
.brochure-status.is-error { color: #A3241A; font-weight: 600; }
.brochure-view[hidden] { display: none; }

.path-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.path-actions .btn { margin-top: 0; }
.path-link { display: inline-block; padding: 12px 0; font-weight: 700; color: var(--on-g); }
.path-link span { font-weight: 400; color: var(--on-g-muted); }

/* ---------- Daftar layanan di bawah judul hero ---------- */
.services { list-style: none; margin: 22px 0 0; padding: 16px 0 0; display: grid; gap: 8px; border-top: 2px solid var(--g8); max-width: 30em; }
.services li { position: relative; padding-left: 28px; font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.25; color: var(--g7); }
.services li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px; background: var(--gold-ink);
  -webkit-mask: var(--tumpal) no-repeat left bottom / 16px 9px; mask: var(--tumpal) no-repeat left bottom / 16px 9px;
}
