:root {
  --brand-900: #3b1457;
  --brand-700: #5b2a86;
  --brand-600: #7c3aed;
  --brand-500: #8b5cf6;
  --brand-50:  #f6f1fc;
  --accent-500: #f43f5e;
  --accent-600: #e11d48;
  --ink-900: #1f1147;
  --ink-700: #43356b;
  --ink-500: #6b5e8c;
  --ink-300: #d8d0ec;
  --paper: #ffffff;
  --paper-soft: #f8f5fd;
  --shadow-sm: 0 1px 2px rgba(59, 20, 87, .06);
  --shadow-md: 0 6px 20px rgba(59, 20, 87, .10);
  --shadow-lg: 0 18px 50px rgba(59, 20, 87, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 999px;
  cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-700); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--accent-500); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent:hover { background: var(--accent-600); }
.btn-ghost { background: #fff; color: var(--brand-700); border: 2px solid var(--brand-600); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-300);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brand-900); font-size: 18px; letter-spacing: -.3px; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 4px rgba(244,63,94,.18); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 600; color: var(--ink-700); font-size: 14.5px; }
.nav-links a:hover { color: var(--brand-700); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--brand-900); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(139,92,246,.18), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(244,63,94,.14), transparent 55%),
    linear-gradient(180deg, var(--paper-soft), #fff);
  padding: 54px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; color: var(--ink-900); font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--brand-600); }
.hero p.lead { margin: 18px 0 26px; font-size: 17px; color: var(--ink-700); max-width: 520px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag { background: #fff; border: 1px solid var(--ink-300); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-700); box-shadow: var(--shadow-sm); }
.tag b { color: var(--brand-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Route selector card */
.route-card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 26px; border: 1px solid var(--ink-300);
}
.swap-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.swap-field { flex: 1; text-align: center; }
.swap-field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-500); margin-bottom: 6px; }
.swap-field .city { font-size: 22px; font-weight: 800; color: var(--brand-900); }
.swap-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand-50); border: 1px solid var(--brand-600);
  color: var(--brand-700); cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: .2s; flex-shrink: 0;
}
.swap-btn:hover { background: var(--brand-600); color: #fff; transform: rotate(180deg); }
.route-meta { display: flex; justify-content: space-between; background: var(--paper-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.route-meta b { color: var(--brand-900); }
.route-card .price-line { text-align: center; margin-bottom: 16px; }
.route-card .price-line .num { font-size: 30px; font-weight: 800; color: var(--accent-600); }
.route-card .price-line .lbl { font-size: 13px; color: var(--ink-500); }

/* ---------- Section base ---------- */
.section { padding: 64px 0; }
.section.soft { background: var(--paper-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--brand-700); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; font-size: 12.5px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--ink-900); font-weight: 800; margin: 8px 0 10px; letter-spacing: -.4px; }
.section-head p { color: var(--ink-500); font-size: 16px; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-500); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feat h3 { font-size: 16.5px; color: var(--ink-900); margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--ink-500); }

/* ---------- Price / Schedule ---------- */
.price-card {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--ink-300);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.price-head { background: var(--brand-900); color: #fff; padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; }
.price-head h3 { font-size: 18px; font-weight: 800; }
.price-body { padding: 8px 26px 22px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--ink-300); }
.price-row:last-child { border-bottom: none; }
.price-row .r-name { font-weight: 700; color: var(--ink-900); }
.price-row .r-sub { font-size: 12.5px; color: var(--ink-500); }
.price-row .r-price { font-weight: 800; color: var(--accent-600); font-size: 17px; }
.schedule-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-500); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 700; }

/* ---------- Corridor / towns ---------- */
.corridor { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.corridor ol { counter-reset: step; list-style: none; }
.corridor li { position: relative; padding: 0 0 22px 42px; border-left: 2px solid var(--brand-500); margin-left: 14px; }
.corridor li:last-child { border-left-color: transparent; padding-bottom: 0; }
.corridor li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -16px; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-600); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center;
}
.corridor li h4 { color: var(--ink-900); font-size: 16px; font-weight: 700; }
.corridor li p { font-size: 14px; color: var(--ink-500); }
.town-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.town {
  text-align: left; background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius-sm);
  padding: 16px; cursor: pointer; transition: .18s; width: 100%;
}
.town:hover { border-color: var(--brand-600); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.town b { display: block; color: var(--brand-900); font-size: 15px; }
.town span { font-size: 12.5px; color: var(--ink-500); }

/* ---------- Fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fleet {
  background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.fleet .badge { display: inline-block; background: var(--accent-500); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.fleet h3 { color: var(--ink-900); font-size: 18px; margin-bottom: 6px; }
.fleet .cap { color: var(--brand-700); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.fleet ul li { font-size: 13.5px; color: var(--ink-700); padding-left: 22px; position: relative; margin-bottom: 6px; }
.fleet ul li::before { content: "✓"; color: var(--brand-600); font-weight: 800; position: absolute; left: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.testi .stars { color: var(--accent-500); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.testi p { font-size: 14.5px; color: var(--ink-700); font-style: italic; margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testi .who b { display: block; color: var(--ink-900); font-size: 14px; }
.testi .who span { font-size: 12.5px; color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .pm { color: var(--brand-600); font-size: 22px; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 20px 18px; font-size: 14.5px; color: var(--ink-700); }

/* ---------- Booking form ---------- */
.booking { background: linear-gradient(180deg, var(--brand-900), #2a0f40); color: #fff; }
.booking .section-head h2 { color: #fff; }
.booking .section-head p { color: rgba(255,255,255,.72); }
.booking-card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink-700); }
.bk-head { background: var(--brand-700); color: #fff; padding: 18px 26px; }
.bk-head h3 { font-size: 18px; font-weight: 800; }
.bk-steps { display: flex; align-items: center; justify-content: center; gap: 10px; background: #efeaf6; padding: 12px; border-bottom: 1px solid var(--ink-300); }
.bk-steps .st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-500); text-transform: uppercase; }
.bk-steps .st .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink-300); color: #fff; display: grid; place-items: center; font-size: 13px; }
.bk-steps .st.active { color: var(--ink-900); }
.bk-steps .st.active .n { background: var(--brand-600); }
.bk-steps .arrow { color: var(--ink-300); }
.bk-body { padding: 26px; }
.bk-body .err { background: #fef2f2; border-left: 4px solid #ef4444; color: #b91c1c; font-size: 13px; font-weight: 700; padding: 10px 12px; margin-bottom: 16px; border-radius: 6px; display: none; }
.bk-body .err.show { display: block; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-700); margin-bottom: 6px; }
.field label .req { color: #ef4444; }
.field input, .field select, .field textarea {
  width: 100%; background: #f8fafc; border: 1px solid var(--ink-300); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-900); font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); background: #fff; }
.field .pre { display: flex; }
.field .pre span { display: inline-flex; align-items: center; padding: 0 14px; background: #e2e8f0; border: 1px solid var(--ink-300); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-weight: 800; color: var(--ink-700); }
.field .pre input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.map-tools { display: flex; gap: 8px; margin-bottom: 8px; }
.map-tools input { flex: 1; }
.map-btn { background: var(--brand-700); color: #fff; border: none; border-radius: var(--radius-sm); padding: 0 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.map-btn.ghost { background: #f0e9f8; color: var(--brand-700); border: 1px solid var(--brand-500); }
#map-picker { width: 100%; height: 300px; border: 1px solid var(--ink-300); border-radius: var(--radius-sm); background: #eef2f2; margin-bottom: 8px; z-index: 1; }
.bk-nav { display: flex; gap: 12px; margin-top: 8px; }
.bk-nav .btn { flex: 1; }
.note { font-size: 12.5px; color: var(--ink-500); text-align: center; margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-500); color: #fff; text-align: center; padding: 44px 0; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { margin-bottom: 20px; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #cbd5e1; padding: 46px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-grid p, .foot-grid li { font-size: 13.5px; color: #94a3b8; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--brand-500); }
.foot-bottom { border-top: 1px solid #1e293b; margin-top: 30px; padding-top: 18px; text-align: center; font-size: 12.5px; color: #64748b; }

/* ---------- Floating WA ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.5); cursor: pointer;
  font-size: 28px; transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }

/* ---------- Steps (Cara Pesan) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.step { background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius); padding: 22px 18px; position: relative; box-shadow: var(--shadow-sm); }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; font-size: 15px; }
.step h3 { font-size: 15.5px; color: var(--ink-900); margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink-500); }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Info grid (Tips / Bagasi) ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.info-card { background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 16px; color: var(--brand-900); margin-bottom: 10px; }
.info-card ul li { font-size: 14px; color: var(--ink-700); padding-left: 22px; position: relative; margin-bottom: 8px; }
.info-card ul li::before { content: "✓"; color: var(--brand-600); font-weight: 800; position: absolute; left: 0; }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky Mobile Bar ---------- */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #ffffff;
  padding: 10px 14px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  border-top: 1px solid var(--ink-300);
}
.sticky-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 10px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.sticky-btn.tel {
  background: #ffffff;
  color: var(--brand-700);
  border: 1.5px solid var(--brand-600);
}
.sticky-btn.wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37,211,102,.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid, .testi-grid { grid-template-columns: 1fr; }
  .corridor { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .sticky-mobile-bar { display: block; }
  .float-wa { bottom: 74px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; padding: 18px 20px; gap: 16px; border-bottom: 1px solid var(--ink-300); box-shadow: var(--shadow-md);
  }
  .feat-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero { padding: 36px 0 44px; }
  .nav-cta .btn-ghost { display: none; }
}
