:root {
  --ink: #0f1b2d;
  --ink-2: #1a2a42;
  --ink-3: #2b3d58;
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --card: #ffffff;
  --text: #17202e;
  --muted: #5a6474;
  --line: #ddd5c8;
  --accent: #f5b301;      /* airport-sign yellow */
  --accent-ink: #1a1400;
  --accent-soft: #fff4cf;
  --good: #1f8a5b;
  --bad: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .08);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* Be Vietnam Pro has no Chinese characters, so name good Chinese fonts next. */
:lang(zh-Hans) body, [lang="zh-Hans"] {
  font-family: "Be Vietnam Pro", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

.proto-banner {
  background: var(--accent-soft);
  color: #6b5200;
  font-size: .82rem;
  text-align: center;
  padding: 6px 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: inherit; font-weight: 700;
  border: 2px solid transparent; border-radius: 999px;
  padding: .75em 1.4em; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffc21f; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--text); }
.btn-small { padding: .45em 1em; font-size: .9rem; }
.btn-large { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 500; text-decoration: none; letter-spacing: -.02em;
}
.logo strong { font-weight: 800; color: var(--accent); }
.logo-text { line-height: 1.1; }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--accent); color: var(--ink); font-size: 1rem;
}
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; opacity: .8; font-weight: 500; }
.nav a:hover { opacity: 1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; background: var(--ink-3); border-radius: 999px; padding: 3px; }
.lang-toggle button {
  font: inherit; font-size: .82rem; font-weight: 700; color: #cfd6e0;
  background: none; border: 0; border-radius: 999px; padding: .35em .8em; cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(245,179,1,.18), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 72px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
/* Savings badge: the main selling point, first thing in the hero. */
.savings-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 24px; padding: 6px 18px 6px 6px; max-width: 100%;
  background: rgba(245, 179, 1, .10); border: 1px solid rgba(245, 179, 1, .45);
  border-radius: 999px;
}
.savings-pct {
  flex: none; background: var(--accent); color: var(--accent-ink);
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; line-height: 1;
  padding: 10px 14px; border-radius: 999px; white-space: nowrap;
}
.savings-text { color: #fff; font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
/* Very narrow screens: stack the % above the words so it stays tidy. */
@media (max-width: 340px) {
  .savings-badge { flex-direction: column; align-items: flex-start; gap: 8px; border-radius: 18px; padding: 10px 14px 12px; }
  .savings-pct { font-size: 1.2rem; padding: 8px 12px; }
  .savings-text { font-size: .95rem; }
}
.quote-save {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .92rem;
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
.hero-sub { font-size: 1.15rem; color: #c9d1dc; max-width: 46ch; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c9d1dc; font-size: .92rem; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

/* Departure board */
.board {
  background: #0a121f;
  border: 1px solid #22324a;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  font-family: var(--mono);
}
.board-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8a97ab;
  padding-bottom: 12px; border-bottom: 1px dashed #22324a; margin-bottom: 6px;
}
.board-clock { color: var(--accent); font-weight: 700; font-size: .95rem; }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-rows li {
  display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 10px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid #16233a; font-size: .9rem;
}
.b-from, .b-to { color: #e6ebf2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-arrow { color: #55657d; }
.b-price {
  color: var(--accent); font-weight: 700; background: #1a1505; border: 1px solid #3a2e05;
  padding: 2px 10px; border-radius: 6px; min-width: 64px; text-align: right;
}
.board-note { margin: 12px 0 0; font-size: .74rem; color: #6c7a90; font-family: "Be Vietnam Pro", sans-serif; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--paper-2); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--accent-soft); color: #8a6400; border-radius: 12px; font-size: 1.3rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }

/* Prices */
.prices-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.rate-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rates {
  width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.rates caption {
  caption-side: top; text-align: left; font-weight: 800; font-size: 1.05rem;
  padding: 0 0 10px;
}
.rates th, .rates td { padding: 12px 16px; border-bottom: 1px solid var(--paper-2); font-size: .94rem; }
.rates th { text-align: left; font-weight: 500; color: var(--muted); }
.rates td { text-align: right; font-weight: 700; font-family: var(--mono); white-space: nowrap; }
.rates tr:last-child th, .rates tr:last-child td { border-bottom: 0; background: var(--accent-soft); color: var(--text); }

/* ---------- Booking ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.steps li {
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: .9rem;
}
.steps li span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; font-weight: 700; font-size: .85rem;
}
.steps li b { font-weight: 600; }
.steps li.active { background: var(--ink); color: #fff; }
.steps li.active span { background: var(--accent); color: var(--ink); }
.steps li.complete span { background: var(--good); color: #fff; }

.book-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.book-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
[hidden] { display: none !important; }

.type-toggle {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2);
  border-radius: 12px; padding: 4px; margin-bottom: 22px;
}
.type-toggle label {
  text-align: center; padding: 10px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted);
}
.type-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.type-toggle label:has(input:checked) { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.type-toggle label:has(input:focus-visible) { outline: 2px solid var(--ink); }

.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input:not([type=radio]):not([type=checkbox]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .7em .85em;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245,179,1,.35); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.size-options { display: grid; gap: 8px; }
.size-options label, .check {
  display: flex; align-items: center; gap: 10px; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .65em .85em; cursor: pointer;
}
.size-options label:has(input:checked), .check:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.check { margin-bottom: 16px; }
input[type=radio], input[type=checkbox] { accent-color: var(--ink); width: 18px; height: 18px; }
/* Address search dropdown */
.place { position: relative; }
.suggest {
  position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 4px);
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  max-height: 280px; overflow-y: auto;
}
.suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; line-height: 1.3; }
.suggest li span { display: block; color: var(--muted); font-size: .85rem; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: var(--accent-soft); }
.suggest .suggest-empty { color: var(--muted); cursor: default; }
.suggest .suggest-empty:hover { background: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: wait; }
.form-error { color: var(--bad); font-weight: 600; min-height: 1.2em; margin: 4px 0 12px; font-size: .92rem; }
.row-buttons { display: flex; justify-content: space-between; gap: 12px; }

.quote {
  position: sticky; top: 88px;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.quote-label { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #8a97ab; font-family: var(--mono); }
.quote-price { font-size: 3.4rem; font-weight: 800; margin: 4px 0 2px; color: var(--accent); letter-spacing: -.03em; line-height: 1.1; }
.quote-meta { margin: 0 0 16px; color: #c9d1dc; font-size: .95rem; min-height: 1.4em; }
.quote-lines { list-style: none; margin: 0 0 16px; padding: 0; font-size: .9rem; }
.quote-lines li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px dashed #2b3d58; color: #c9d1dc; }
.quote-lines li span:last-child { font-family: var(--mono); }
.quote-locked { margin: 0; font-size: .82rem; color: #8a97ab; border-top: 1px solid #2b3d58; padding-top: 14px; }

.done-panel { text-align: center; padding: 24px 0; }
.done-tick {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--good); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 800;
}
.done-ref { font-family: var(--mono); margin-bottom: 22px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.car-card { margin: 0; text-align: center; }
.car-card img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 18px rgba(15, 27, 45, .18)); }
.car-card figcaption { display: grid; gap: 2px; margin-top: 14px; color: var(--muted); }
.car-card .car-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #8a6400; }
.car-card strong { font-size: 1.2rem; color: var(--text); }
.done-car { margin: 8px auto 22px; max-width: 320px; }
.done-car img { width: 100%; height: auto; display: block; }
.done-car figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.photo-slot {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 2px dashed var(--line);
  display: grid; place-items: center; color: var(--muted); font-weight: 600; background: var(--card);
}

/* Footer */
.site-footer { background: var(--ink); color: #c9d1dc; padding: 40px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 4px 0; }
.logo-footer { color: #fff; margin-bottom: 10px !important; }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .prices-grid, .book-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .cards { grid-template-columns: 1fr; }
  .quote { position: static; order: -1; }
  .about { grid-template-columns: 1fr; }
  .photo-slot { max-width: 240px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .header-inner { gap: 12px; }
  .site-header .logo { font-size: 1.02rem; }
  .site-header .logo-text { max-width: 9.5em; }
  .rate-tables { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .book-form { padding: 20px; }
  .board-rows li { font-size: .8rem; gap: 6px; }
  .b-price { min-width: 52px; padding: 2px 6px; }
}
