/* ===== AlUla Trip — gaya terinspirasi Traveloka ===== */
:root {
  --blue: #0194f3;
  --blue-600: #0770cd;
  --blue-50: #e6f4fe;
  --blue-100: #cfe9fd;
  --navy: #03121a;
  --text: #03121a;
  --muted: #687176;
  --line: #e4e9ed;
  --bg: #f2f5f7;
  --card: #ffffff;
  --orange: #ff5e1f;
  --orange-600: #e44c10;
  --green: #05a569;
  --green-50: #e3f7ee;
  --red: #e5484d;
  --red-50: #fdecec;
  --yellow: #ffb400;
  --yellow-50: #fff6de;
  --sand: #f6e3c7;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(3, 18, 26, 0.06), 0 2px 10px rgba(3, 18, 26, 0.06);
  --shadow-lg: 0 8px 30px rgba(3, 18, 26, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.5; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
svg.ic { display: inline-block; vertical-align: -0.2em; }
.art-box { position: relative; overflow: hidden; width: 100%; background: #f5c48a; }
.art-box > svg, svg.scene { display: block; width: 100%; height: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.bold { font-weight: 700; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 16px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; }
.ic-sm { width: 14px; height: 14px; }
.ic-lg { width: 24px; height: 24px; }

/* ===== Header ===== */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar .container { display: flex; align-items: center; height: 60px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -0.3px; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #00b4ff); display: grid; place-items: center; color: #fff; }
.logo b { color: var(--blue); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--navy); font-weight: 600; padding: 8px 12px; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
.nav a:hover, .nav a.active { background: var(--blue-50); color: var(--blue-600); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--navy); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); min-width: 200px; padding: 6px; z-index: 50; }
.menu-pop a, .menu-pop button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; color: var(--navy); border-radius: 8px; font-weight: 500; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; font-size: 14px; line-height: 1.2; transition: background 0.15s, box-shadow 0.15s, opacity 0.15s; white-space: nowrap; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--blue-600); }
.btn-cta { background: var(--orange); color: #fff; }
.btn-cta:hover:not(:disabled) { background: var(--orange-600); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover:not(:disabled) { background: var(--blue-50); }
.btn-outline { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn-outline:hover:not(:disabled) { background: var(--blue-50); }
.btn-light { background: var(--bg); color: var(--navy); }
.btn-light:hover:not(:disabled) { background: var(--line); }
.btn-danger { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.btn-danger:hover:not(:disabled) { background: var(--red-50); }
.btn-green { background: #25d366; color: #fff; }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-block { width: 100%; }

/* ===== Card ===== */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.card-head h3 { font-size: 16px; }
.card-body { padding: 20px; }
.section { padding: 36px 0; }
.section-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.section-sub { color: var(--muted); margin-bottom: 18px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.sec-head .btn { margin-bottom: 18px; }

/* ===== Badge ===== */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.badge.blue { background: var(--blue-50); color: var(--blue-600); }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.orange { background: #fff0e9; color: var(--orange-600); }
.badge.red { background: var(--red-50); color: var(--red); }
.badge.yellow { background: var(--yellow-50); color: #a46f00; }
.badge.navy { background: var(--navy); color: #fff; }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(180deg, #0179d0 0%, #0194f3 55%, #39b0ff 100%); }
.hero-dunes { position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none; }
.hero-dunes svg { width: 100%; height: 100%; }
.hero .container { position: relative; padding-top: 40px; padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero-visual { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(3, 18, 26, 0.25); border: 4px solid rgba(255, 255, 255, 0.35); }
.hero-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(3, 18, 26, 0.7); color: #fff; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; max-width: 640px; }
.hero p.lead { font-size: 16px; opacity: 0.92; margin-top: 8px; max-width: 560px; }
.search-card { margin-top: 26px; background: #fff; color: var(--navy); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-tabs { display: flex; gap: 4px; padding: 10px 10px 0; background: #fff; border-bottom: 1px solid var(--line); }
.search-tabs button { border: 0; background: none; padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; display: flex; align-items: center; gap: 8px; }
.search-tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }
.search-body { padding: 18px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: end; }
.search-hint { padding: 0 18px 16px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }

/* ===== Form ===== */
.field { display: block; }
.field > span, .label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.input, .select, .textarea { width: 100%; border: 1px solid #cdd5db; border-radius: 8px; padding: 11px 12px; background: #fff; outline: none; transition: border 0.15s, box-shadow 0.15s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input-icon { position: relative; }
.input-icon .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--blue); }
.input-icon .input { padding-left: 38px; }
.input-prefix { display: flex; border: 1px solid #cdd5db; border-radius: 8px; overflow: hidden; background: #fff; }
.input-prefix span { padding: 11px 12px; background: var(--bg); color: var(--muted); font-weight: 600; border-right: 1px solid #cdd5db; }
.input-prefix input { border: 0; outline: none; padding: 11px 12px; flex: 1; min-width: 0; }
.input-prefix:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.counter { display: flex; align-items: center; border: 1px solid #cdd5db; border-radius: 8px; height: 44px; background: #fff; }
.counter button { width: 44px; height: 100%; border: 0; background: none; color: var(--blue); font-size: 20px; font-weight: 700; }
.counter button:disabled { color: #c3cbd1; cursor: default; }
.counter .val { flex: 1; text-align: center; font-weight: 700; display: flex; gap: 6px; align-items: center; justify-content: center; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { display: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #cdd5db; border-radius: 8px; padding: 10px; font-weight: 600; cursor: pointer; }
.seg input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-600); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex: none; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }

/* ===== Summary bar (hasil pencarian) ===== */
.summary-bar { background: var(--blue); color: #fff; }
.summary-bar .container { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.summary-bar .title { font-weight: 800; font-size: 17px; }
.summary-bar .meta { opacity: 0.9; font-size: 13px; }
.summary-bar .tabs-pill { display: flex; background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 3px; }
.summary-bar .tabs-pill a { color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.summary-bar .tabs-pill a.active { background: #fff; color: var(--blue-600); }

/* ===== Layout halaman ===== */
.page { padding-top: 20px; padding-bottom: 48px; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
.layout-2 > .stack { align-self: start; }
.layout-cal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.layout-cal > .card { align-self: start; }
.sticky { position: sticky; top: 76px; }

/* ===== Kalender ===== */
.cal-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cal-head h3 { font-size: 16px; flex: 1; text-align: center; text-transform: capitalize; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); color: var(--navy); display: grid; place-items: center; }
.icon-btn:hover:not(:disabled) { background: var(--blue-50); color: var(--blue); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 12px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-dow.sun { color: var(--red); }
.cal-cell { min-height: 68px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; cursor: pointer; transition: border 0.12s, background 0.12s, transform 0.12s; position: relative; }
.cal-cell .d { font-weight: 700; font-size: 15px; }
.cal-cell .s { font-size: 10px; font-weight: 700; line-height: 1.2; }
.cal-cell .p { font-size: 10px; color: var(--muted); }
.cal-cell:hover:not(.off) { border-color: var(--blue); }
.cal-cell.empty { border: 0; background: none; cursor: default; }
.cal-cell.off { background: #f7f9fa; color: #b8c2c9; cursor: not-allowed; }
.cal-cell.off .s { color: #b8c2c9; }
.cal-cell.avail .s { color: var(--green); }
.cal-cell.join { background: var(--blue-50); border-color: var(--blue-100); }
.cal-cell.join .s { color: var(--blue-600); }
.cal-cell.join::after { content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.cal-cell.taken .s { color: var(--red); }
.cal-cell.sel { border: 2px solid var(--blue); background: var(--blue); color: #fff; }
.cal-cell.sel .s, .cal-cell.sel .p { color: #fff; }
.cal-cell.today .d { text-decoration: underline; text-underline-offset: 3px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 16px 14px; font-size: 11px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ===== Kartu trip ===== */
.trip-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; color: var(--navy); }
.trip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.trip-thumb { aspect-ratio: 2.4; position: relative; background: #f5c48a; overflow: hidden; }
.trip-thumb svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.trip-thumb .badge { position: absolute; top: 10px; left: 10px; }
.trip-thumb .date-pill { position: absolute; bottom: 10px; left: 10px; background: rgba(3, 18, 26, 0.72); color: #fff; padding: 4px 10px; border-radius: 8px; font-weight: 700; font-size: 12px; }
.trip-info { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.trip-info h4 { font-size: 15px; }
.progress { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; position: relative; }
.progress > i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--blue), #3fb6ff); border-radius: 999px; }
.progress > b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--orange); }
.progress.ok > i { background: linear-gradient(90deg, var(--green), #3fd39a); }
.price { font-weight: 800; color: var(--orange); font-size: 18px; }
.price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.strike { text-decoration: line-through; color: var(--muted); font-size: 12px; }
.cards-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.cards-scroll > * { scroll-snap-align: start; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

/* ===== Peserta ===== */
.people { display: flex; flex-direction: column; gap: 8px; }
.person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.person .avatar { width: 30px; height: 30px; font-size: 12px; }
.person .avatar.P { background: #e85d9a; }
.person .avatar.held { background: #b8c2c9; }

/* ===== Info box ===== */
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); font-size: 13px; }
.note.warn { background: var(--yellow-50); color: #8a5d00; }
.note.ok { background: var(--green-50); color: #047a4e; }
.note.err { background: var(--red-50); color: #b42318; }
.note .ic { margin-top: 1px; }

/* ===== Steps ===== */
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.stepper .st { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 13px; }
.stepper .st b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dfe5ea; color: #fff; font-size: 12px; }
.stepper .st.on { color: var(--navy); }
.stepper .st.on b { background: var(--blue); }
.stepper .st.done b { background: var(--green); }
.stepper .line { width: 28px; height: 2px; background: #dfe5ea; }

/* ===== Ringkasan harga ===== */
.price-lines { display: flex; flex-direction: column; gap: 8px; }
.price-lines .l { display: flex; justify-content: space-between; gap: 12px; }
.price-lines .l span:first-child { color: var(--muted); }
.price-lines .total { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-weight: 800; font-size: 16px; }
.price-lines .total span:last-child { color: var(--orange); }

/* ===== Pilihan (radio card) ===== */
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border 0.12s, background 0.12s; }
.opt:hover { border-color: var(--blue-100); }
.opt input { accent-color: var(--blue); width: 18px; height: 18px; margin-top: 2px; }
.opt.on { border-color: var(--blue); background: var(--blue-50); }
.opt .t { font-weight: 700; }

/* ===== S&K ===== */
.terms-box { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 14px 34px; background: #fbfcfd; }
.terms-box ol { margin: 0; padding: 0; }
.terms-box li { margin-bottom: 8px; }

/* ===== Pembayaran ===== */
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.pay-method:last-child { border-bottom: 0; }
.pay-method:hover { background: #fafcfd; }
.pay-method.on { background: var(--blue-50); }
.bank-logo { width: 54px; height: 30px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 11px; color: #fff; letter-spacing: 0.3px; flex: none; }
.va-box { background: var(--bg); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 12px; }
.va-num { font-size: 22px; font-weight: 800; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.countdown { display: inline-flex; gap: 6px; align-items: center; background: #fff0e9; color: var(--orange-600); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-variant-numeric: tabular-nums; }
.qr { width: 180px; height: 180px; margin: 0 auto; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }

/* ===== E-tiket ===== */
.ticket { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.ticket-head { background: linear-gradient(120deg, var(--blue), #2fb0ff); color: #fff; padding: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ticket-head .code { font-size: 26px; font-weight: 800; letter-spacing: 2px; }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 20px; }
.ticket-cut::before, .ticket-cut::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket-cut::before { left: -31px; }
.ticket-cut::after { right: -31px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kv .k { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.kv .v { font-weight: 700; margin-top: 2px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline .it { display: grid; grid-template-columns: 56px 16px 1fr; gap: 10px; padding-bottom: 14px; position: relative; }
.timeline .it .tm { font-weight: 700; font-size: 13px; color: var(--blue-600); }
.timeline .it .dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); margin-top: 3px; position: relative; z-index: 1; }
.timeline .it:not(:last-child)::before { content: ''; position: absolute; left: 71px; top: 14px; bottom: 0; width: 2px; background: var(--blue-100); }
.list-check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.list-check li { display: flex; gap: 8px; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ===== Booking list ===== */
.order { display: flex; gap: 14px; padding: 16px; align-items: center; color: var(--navy); }
.order + .order { border-top: 1px solid var(--line); }
.order:hover { background: #fafcfd; }
.order-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.order-ic.private { background: #fff0e9; color: var(--orange); }

/* ===== Auth ===== */
.auth-wrap { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 32px 16px; background: linear-gradient(180deg, var(--blue-50), var(--bg) 40%); }
.auth-card { width: 100%; max-width: 420px; }
.otp-input { letter-spacing: 12px; text-align: center; font-size: 26px; font-weight: 800; }

/* ===== Feature tiles ===== */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.tile .txt { padding: 12px 14px 16px; }
.tile .txt h4 { font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.step .num { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue); font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usp .card { display: flex; gap: 12px; padding: 18px; }
.usp .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--blue); }

/* ===== Harga sudah termasuk ===== */
.inc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.inc-item { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.inc-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex: none; }
.inc-mini { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.inc-mini > div { display: flex; gap: 8px; align-items: flex-start; }
.inc-mini .ic { color: var(--green); margin-top: 2px; }

/* ===== Bottom nav ===== */
.bottom-nav { display: none; }

/* ===== Toast & modal ===== */
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; width: min(92vw, 420px); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: pop 0.2s ease-out; }
.toast.err { background: #b42318; }
.toast.ok { background: #047a4e; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.modal-bg { position: fixed; inset: 0; background: rgba(3, 18, 26, 0.5); z-index: 90; display: grid; place-items: center; padding: 16px; animation: fade 0.15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.modal-head h3 { flex: 1; font-size: 17px; }
.modal-body { padding: 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }

.dev-banner { background: #fff6de; color: #8a5d00; border: 1px dashed #e0b44b; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.dev-banner b { font-size: 18px; letter-spacing: 3px; }
.skeleton { background: linear-gradient(90deg, #eef1f3 25%, #f7f9fa 50%, #eef1f3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .ic-lg { width: 48px; height: 48px; margin: 0 auto 10px; color: #b8c2c9; }

/* ===== Responsif ===== */
@media (max-width: 960px) {
  .layout-2, .layout-cal { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .sticky { position: static; }
  .tiles, .steps { grid-template-columns: repeat(2, 1fr); }
  .usp { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14px; padding-bottom: 64px; }
  .nav { display: none; }
  .topbar .container { height: 54px; }
  .hero .container { padding-top: 24px; padding-bottom: 56px; }
  .hero-dunes { height: 80px; }
  .hero-points span { font-size: 12px; padding: 5px 10px; }
  .inc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .inc-item { padding: 12px; gap: 10px; font-size: 13px; flex-direction: column; align-items: flex-start; }
  .inc-item .ico { width: 34px; height: 34px; }
  .sec-head .btn { margin-bottom: 14px; }
  .hero h1 { font-size: 24px; }
  .hero p.lead { font-size: 14px; }
  .search-body { grid-template-columns: 1fr; }
  .search-tabs button { flex: 1; justify-content: center; padding: 12px 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .cal-grid { gap: 3px; padding: 8px; }
  .cal-cell { min-height: 58px; padding: 5px 1px; border-radius: 8px; }
  .cal-cell .d { font-size: 13px; }
  .cal-cell .s, .cal-cell .p { font-size: 9px; }
  .cal-legend { gap: 8px; }
  .tiles, .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .section { padding: 26px 0; }
  .section-title { font-size: 19px; }
  .top-actions .btn-ghost { display: none; }
  .user-chip .nm { display: none; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 45; padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; color: var(--muted); font-size: 11px; font-weight: 600; }
  .bottom-nav a.active { color: var(--blue); }
  .page { padding-top: 16px; padding-bottom: 32px; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: calc(57px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; padding: 10px 16px; box-shadow: 0 -4px 16px rgba(3, 18, 26, 0.08); z-index: 44; display: flex; align-items: center; gap: 12px; }
  .ticket-head .code { font-size: 20px; }
  .va-num { font-size: 18px; }
}
@media (min-width: 721px) {
  .mobile-only { display: none !important; }
}


/* ===== Itinerary ringkas di panel private ===== */
.itin-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.itin-box summary { cursor: pointer; font-weight: 700; display: flex; gap: 6px; align-items: center; list-style: none; }
.itin-box summary::-webkit-details-marker { display: none; }

/* ===== Rute yang bisa digeser ===== */
.route-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.route-item { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; user-select: none; transition: box-shadow 0.12s, background 0.12s; }
.route-list.ro .route-item { padding-left: 10px; background: var(--bg); border-color: transparent; }
.route-item .grip { cursor: grab; touch-action: none; color: #9aa6ae; padding: 6px 4px; display: grid; place-items: center; border-radius: 6px; }
.route-item .grip:hover { background: var(--bg); color: var(--blue); }
.route-item .num { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.route-item .nm { flex: 1; font-weight: 600; }
.route-item .tog input { width: 18px; height: 18px; accent-color: var(--blue); }
.route-item .mv { display: flex; gap: 4px; }
.route-item .mv .icon-btn { width: 30px; height: 30px; }
.route-item.off { background: #f7f9fa; border-style: dashed; }
.route-item.off .nm { color: var(--muted); text-decoration: line-through; }
.route-item.off .num { background: #c3cbd1; }
.route-item.dragging { box-shadow: var(--shadow-lg); border-color: var(--blue); background: var(--blue-50); position: relative; z-index: 2; }
.route-item.dragging .grip { cursor: grabbing; }
.route-chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12px; color: var(--muted); }
.route-chips b { color: var(--navy); font-weight: 600; }

/* ===== Kartu pilihan Open / Private ===== */
.way-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.way-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== Penyesuaian HP ===== */
@media (max-width: 720px) {
  .stepper { flex-wrap: nowrap; gap: 6px; overflow-x: auto; }
  .stepper .st { font-size: 12px; gap: 6px; white-space: nowrap; }
  .stepper .st b { width: 22px; height: 22px; font-size: 11px; }
  .stepper .line { width: 14px; flex: none; }
  .card-head { padding: 14px 16px; }
  .card-body, .card-pad { padding: 16px; }
  .ticket-head { padding: 16px; }
  .ticket-cut { margin: 0 16px; }
  .ticket-cut::before { left: -27px; }
  .ticket-cut::after { right: -27px; }
}
.pax-row { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 10px 14px; align-items: end; }
.pax-row + .pax-row { padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 720px) {
  .pax-row { grid-template-columns: 1fr; }
  body.has-mcta { padding-bottom: 136px; }
  .mobile-cta .price { font-size: 17px; }
}
