:root {
  /* Warna utama brand */
  --brand: #002F6D;
  --brand-soft: #0a4c93;
  --brand-dark: #001b3f;
  --accent: #0b5cab;
  --amber: #ffc23d;
  --amber-dark: #e5a516;
  --wa: #1fa855;
  --ink: #14243a;
  --muted: #5c6b7f;
  --line: #dfe5f0;
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 47, 109, .12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: background .2s, transform .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--brand); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-accent { background: var(--amber); color: var(--brand); }
.btn-accent:hover { background: var(--amber-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn-block { width: 100%; padding: 14px; font-size: 1.05rem; }

/* Top bar */
.topbar { background: var(--brand); color: #cfe0e8; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; margin-right: 18px; }
.topbar-social a { margin: 0 0 0 16px; }
.topbar a:hover { color: var(--amber); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { display: block; width: auto; height: 44px; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav > ul { display: flex; gap: 4px; }
.nav a { text-decoration: none; }
.nav > ul > li > a { display: block; padding: 10px 12px; font-weight: 600; border-radius: 8px; font-size: .95rem; }
.nav > ul > li > a:hover { background: var(--bg-alt); color: var(--accent); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; margin-left: 5px; font-size: .75em; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
.sub a:hover { background: var(--bg-alt); color: var(--accent); }
.nav-cta { padding: 10px 18px; font-size: .9rem; white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--brand); transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 55%, var(--brand-dark) 100%); color: #fff; padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; margin-bottom: .4em; }
.lead { font-size: 1.1rem; color: #d6e6ec; max-width: 56ch; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 8px; max-width: 520px; }
.chips li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.hero-art { margin-top: 28px; max-width: 520px; }

/* Booking card */
.booking { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.booking-kicker { color: var(--accent); font-weight: 700; font-size: .85rem; margin-bottom: 2px; }
.booking h2 { font-size: 1.5rem; margin-bottom: 16px; }
.service { border: 0; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; padding: 0; grid-column: 1 / -1; }
.service-opt { position: relative; cursor: pointer; }
.service-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.service-opt span { display: block; border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; transition: .15s; }
.service-opt b { display: block; }
.service-opt small { color: var(--muted); }
.service-opt input:checked + span { border-color: var(--accent); background: #e8f0fa; }
.service-opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.service-note { color: var(--muted); font-size: .88rem; margin: 6px 0 14px; }

.field { margin-bottom: 14px; }
.field label, .field .label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field select, .field input[type="date"], .field input[type="text"], .field input[type="time"] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.field select:focus, .field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 47, 109, .18); }
.field.invalid select, .field.invalid input { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field input::placeholder { color: #9aa7b0; }

.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 52px; height: 46px; border: 0; background: var(--bg-alt); font-size: 1.3rem; cursor: pointer; font-family: inherit; }
.stepper button:hover { background: #e3edf0; }
.stepper output { flex: 1; text-align: center; font-weight: 700; }

.total { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; margin: 18px 0 14px; }
.total p { margin: 0; }
.total-label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.total-price { font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height: 1.2; }
.total-sub { font-size: .82rem; color: var(--muted); }
.allin { text-align: right; font-size: .8rem; color: var(--muted); }
.allin b { display: block; color: var(--accent); font-size: .9rem; }
.form-error { color: #b03024; font-size: .9rem; font-weight: 600; margin: 0 0 10px; }
.help { text-align: center; font-size: .88rem; margin: 12px 0 0; color: var(--muted); }
.help a { color: var(--accent); font-weight: 700; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .icon { width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.4rem; background: #e8f0fa; border-radius: 12px; margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.group-title { font-size: 1.2rem; margin: 36px 0 16px; }
.group-title:first-of-type { margin-top: 0; }
.route { display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.route:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.route h4 { font-size: 1.05rem; color: var(--brand); }
.route p { color: var(--muted); font-size: .92rem; flex: 1; }
.price { display: inline-block; font-weight: 800; color: var(--accent); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: block; text-decoration: none; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.pills a:hover { border-color: var(--accent); color: var(--accent); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--brand); color: #fff; font-size: .9rem; }
tbody th { font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
tbody td:nth-child(2) { font-weight: 800; color: var(--accent); }

.section-dark { background: var(--brand); color: #e3eef3; }
.section-dark h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-dark p { font-size: 1.05rem; margin-bottom: 1.6em; }
.section-dark strong { color: var(--amber); }

/* Quotes */
.quote { margin: 0; display: flex; flex-direction: column; }
.stars { color: var(--amber-dark); letter-spacing: 3px; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 16px; flex: 1; }
.quote figcaption { font-weight: 700; font-size: .92rem; }
.quote figcaption span { color: var(--muted); font-weight: 500; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--accent); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 72px 0; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { color: #d3e6ea; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* Footer */
.footer { background: var(--brand-dark); color: #a9bdd8; padding-top: 56px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr .9fr .8fr; gap: 36px; padding-bottom: 36px; }
.footer h3 { color: #fff; font-size: 1rem; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo .logo-img { height: 32px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer li { margin-bottom: 8px; }
.footer address { font-style: normal; line-height: 1.9; }
.legal { font-size: .85rem; }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn { background: var(--wa); color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.wa-btn:hover { background: #178a45; }
.wa-panel { width: 290px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; }
.wa-panel[hidden] { display: none; }
.wa-panel p { font-size: .88rem; color: var(--muted); }
.wa-panel a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; text-decoration: none; font-weight: 700; }
.wa-panel a:hover { border-color: var(--wa); }
.wa-panel small { color: var(--wa); font-weight: 600; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 12px; max-height: calc(100vh - 110px); overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .topbar-social { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .logo-img { height: 38px; }
  .grid-4 { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .booking { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .wa-panel { width: min(290px, 100vw - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Kartu Tarif Carter Drop (pengganti select jenis mobil) ---------- */
.tarif { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(20, 36, 58, .14); position: relative; }
.tarif[hidden] { display: none; }
.tarif-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tarif-head { background: linear-gradient(90deg, #2d2f47 0%, #6b7b8c 100%); color: #fff; text-align: center; padding: 18px 12px 16px; }
.tarif-title { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.tarif-sub { margin: 4px 0 0; font-size: .92rem; font-weight: 500; opacity: .95; }
.tarif-list { padding: 8px 12px 12px; }
.tarif-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 8px; margin-top: 6px; border: 2px solid transparent; border-radius: 16px; cursor: pointer; transition: .15s; }
.tarif-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tarif-info { min-width: 0; }
.tarif-info b { display: block; font-size: 1.05rem; font-weight: 800; color: #000; line-height: 1.25; }
.tarif-info small { display: block; font-size: .85rem; color: var(--muted); }
.tarif-price { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-width: 150px; background: #2d2f47; color: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 800; font-size: 1rem; }
.tarif-price i, .tarif-price em { font-style: normal; }
.tarif-row:hover { background: var(--bg-alt); }
.tarif-row:has(input:checked) { border-color: var(--amber); background: #fffaf0; }
.tarif-row:has(input:checked) .tarif-price { box-shadow: 0 0 0 3px var(--amber); }
.tarif-row:has(input:checked) .tarif-info b::before { content: "✓ "; color: var(--wa); }
.tarif-row:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (max-width: 480px) {
  .tarif-title { font-size: 1.15rem; }
  .tarif-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .tarif-price { min-width: 0; }
}

/* ---------- Armada ---------- */
.armada-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.armada-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(20, 36, 58, .12); transition: transform .2s, box-shadow .2s; }
.armada-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.armada-item img { display: block; width: 100%; height: auto; aspect-ratio: 493 / 503; object-fit: cover; }
@media (max-width: 1020px) { .armada-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .armada-grid { grid-template-columns: 1fr; } }

/* ---------- Jadwal Malang - Juanda ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jadwal-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 6px 20px rgba(20, 36, 58, .08); }
.jadwal-title { font-size: 1.4rem; font-weight: 800; color: #2d3a4f; margin: 0 0 20px; }
.jadwal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jadwal-row { display: grid; grid-template-columns: minmax(96px, 150px) 1fr 1fr; align-items: stretch; background: #f2f4f7; border-radius: 14px; overflow: hidden; }
.jadwal-jam { display: flex; align-items: center; justify-content: center; background: #2d2f47; color: #fff; font-size: 1.5rem; font-weight: 700; padding: 14px 10px; border-radius: 14px; }
.jadwal-slot { display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; font-size: 1.05rem; color: #2d3a4f; line-height: 1.5; }
.jadwal-slot small { font-size: inherit; color: inherit; }
@media (max-width: 560px) {
  .jadwal-card { padding: 18px 14px; border-radius: 20px; }
  .jadwal-title { font-size: 1.15rem; }
  .jadwal-row { grid-template-columns: 84px 1fr 1fr; }
  .jadwal-jam { font-size: 1.15rem; padding: 12px 6px; }
  .jadwal-slot { padding: 8px 10px; font-size: .9rem; }
}

/* ---------- #harga: muat dalam 1 layar HP ---------- */
@media (max-width: 560px) {
  #harga.section { padding: 18px 0; }
  #harga .section-head { margin-bottom: 10px; }
  #harga .section-head h2 { font-size: 1.15rem; margin-bottom: .2em; }
  #harga .section-head p { font-size: .78rem; line-height: 1.35; margin: 0; }
  #harga table { min-width: 0; font-size: .8rem; }
  #harga th, #harga td { padding: 6px 10px; line-height: 1.25; }
  #harga thead th { padding: 7px 10px; font-size: .78rem; }
  #harga tbody th { font-size: .78rem; font-weight: 600; }
  #harga tbody td:nth-child(2) { font-size: .82rem; white-space: nowrap; }
}
