/* Traveller Transportation — lead landing page. Shared by /, /cn/ and /bm/.
   Palette and type follow travellertransportation.com: #0170B9 blue, #4B4F58 text,
   #F5F5F5 panels, Volvo Novum Light/Medium. Separation is 1px rules, never shadows. */

@font-face { font-family: "Volvo Novum"; src: url("fonts/VolvoNovum-Light.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Volvo Novum"; src: url("fonts/VolvoNovum-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --blue: #0170B9;
  --blue-d: #015A95;
  --blue-l: #6FB6E6;      /* blue on the dark hero, where #0170B9 is too dim */
  --ink: #3A3A3A;
  --text: #4B4F58;
  --muted: #6A6E77;
  --line: #E1E1E1;
  --panel: #F5F5F5;
  --dark: #202225;
  --dark-line: #3A3D42;
  --wa: #1FAF53;
  --err: #B3261E;
  --sans: "Volvo Novum", Helvetica, Arial, sans-serif;
  --wrap: 1140px;
}
html[lang^="zh"] { --sans: "Volvo Novum", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 52px); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
section { scroll-margin-top: 72px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.kicker { display: block; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Buttons: square corners, like the live site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font: 500 15px/1 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #178F43; border-color: #178F43; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { margin-right: auto; font-weight: 500; font-size: 17px; line-height: 1.1; color: var(--ink); text-decoration: none; }
.logo span { display: block; }
.nav { display: none; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.lang { display: flex; font-size: 14px; white-space: nowrap; }
.lang a { padding: 6px 7px; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { color: var(--ink); font-weight: 500; }
.top .btn { display: none; white-space: nowrap; min-height: 40px; padding: 10px 18px; font-size: 13px; }
@media (min-width: 720px) { .top .btn { display: inline-flex; } }
@media (min-width: 1100px) { .nav { display: flex; } }
@media (min-width: 1100px) and (max-width: 1239px) { html[lang^="ms"] .nav { display: none; } }
@media (min-width: 1240px) { html[lang^="ms"] .nav { gap: 18px; } }

/* Hero: dark, like the live site's night-skyline header */
.hero { background: var(--dark); color: #D9DBDF; }
.hero .wrap { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 48px; }
.hero .kicker { color: var(--blue-l); }
.hero h1 { color: #fff; }
.hero .lede { font-size: 18px; max-width: 34em; }
.facts { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--dark-line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--dark-line); }
.facts b { color: #fff; font-weight: 500; white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-cta .tel { color: #fff; text-decoration: none; }
.hero-cta .tel small { display: block; color: #9EA2A9; font-size: 13px; }
.hero figure { margin: 0; }
.hero figcaption { font-size: 13px; color: #9EA2A9; padding-top: 10px; border-top: 1px solid var(--dark-line); margin-top: 12px; }
.inc { font-size: 14px; color: #9EA2A9; margin: 18px 0 0; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 72px; }
}

/* Generic section rhythm */
.sec { padding: 64px 0; border-bottom: 1px solid var(--line); }
.sec.panel { background: var(--panel); }
.sec-head { max-width: 40em; margin-bottom: 28px; }
.sec-head p { color: var(--muted); }
.notes { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.notes li { padding: 3px 0 3px 14px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; border-top: 1px solid var(--muted); }

/* Airport: header left, table right */
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* Rate tables */
.rates { width: 100%; border-collapse: collapse; font-size: 16px; }
.rates th, .rates td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.rates thead th { font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.rates tbody th { font-weight: 500; color: var(--ink); }
.rates tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.rates .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rates td.num { color: var(--ink); }
.rates .big { font-size: 20px; font-weight: 500; }
.panel .rates th, .panel .rates td { border-bottom-color: #DADADA; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px; }
.scroll-x .rates { min-width: 560px; }
.scroll-hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (min-width: 640px) { .scroll-hint { display: none; } }

/* Fleet: one row per vehicle, photos then specs */
.fleet { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.car { display: grid; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.car-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.car-pics figcaption { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.car h3 { margin-bottom: 2px; }
.car .model { color: var(--muted); margin-bottom: 12px; }
.car dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 15px; }
.car dt { color: var(--muted); }
.car dd { margin: 0; color: var(--ink); }
.car .from { margin-top: 12px; font-size: 15px; }
.car .from b { font-weight: 500; color: var(--blue); font-size: 18px; }
@media (min-width: 820px) {
  .car { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
}

/* Outstation: two-column list with dotted leaders */
.dest { list-style: none; margin: 0 0 24px; padding: 0; columns: 1; column-gap: 56px; }
.dest li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dest .name { color: var(--ink); }
.dest .lead { flex: 1; border-bottom: 1px dotted #B9BCC2; transform: translateY(-4px); }
.dest .price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dest .price b { font-weight: 500; color: var(--ink); }
@media (min-width: 760px) { .dest { columns: 2; } }
.tours { display: grid; gap: 0; border: 1px solid var(--line); margin-bottom: 20px; }
.tours div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tours div:last-child { border-bottom: 0; }
.tours span { display: block; font-size: 14px; color: var(--muted); }
.tours b { font-weight: 500; font-size: 20px; color: var(--ink); }
@media (min-width: 700px) {
  .tours { grid-template-columns: repeat(3, 1fr); }
  .tours div { border-bottom: 0; border-right: 1px solid var(--line); }
  .tours div:last-child { border-right: 0; }
}

/* Why us: a short note beside three numbered points */
.why { display: grid; gap: 36px; }
.why .note { border-left: 2px solid var(--blue); padding-left: 22px; font-size: 18px; color: var(--ink); max-width: 30em; }
.why .note p:last-child { margin: 0; }
.why ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.why li { counter-increment: n; display: grid; grid-template-columns: 52px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.why li:last-child { border-bottom: 1px solid var(--line); }
.why li::before { content: "0" counter(n); color: var(--blue); font-weight: 500; font-size: 20px; line-height: 1.3; }
.why h3 { margin-bottom: 4px; }
.why li p { margin: 0; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* Booking steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; }
.steps .n { font-weight: 500; font-size: 22px; color: var(--blue); line-height: 1.2; }
.steps h3 { margin-bottom: 4px; font-size: 18px; }
.steps p { margin: 0; }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--ink); padding: 18px 28px 0 0; }
  .steps .n { margin-bottom: 8px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; color: var(--ink); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; max-width: 42em; }

/* Booking form */
.book { background: var(--panel); padding: 64px 0; border-bottom: 1px solid var(--line); }
.book-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1.3fr .7fr; gap: 56px; } }
.form { background: #fff; border: 1px solid var(--line); padding: 24px 20px; display: grid; gap: 16px; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; padding: 32px; } .field.wide, .form .btn, .form .note, .fallback { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.3 var(--sans); color: var(--ink); background: #fff; border: 1px solid #C4C7CC; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234B4F58' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.err { display: none; font-size: 13px; color: var(--err); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.invalid .err { display: block; }
.form .note { font-size: 13px; color: var(--muted); margin: 0; }
.fallback { display: none; font-size: 14px; }
.fallback.show { display: block; }
.contact { margin: 0; border-top: 1px solid var(--ink); }
.contact div { padding: 14px 0; border-bottom: 1px solid #DADADA; }
.contact dt { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 2px 0 0; color: var(--ink); }
.contact a { color: var(--ink); text-decoration: none; }
.contact a:hover { color: var(--blue); }

/* Footer */
.foot { background: var(--dark); color: #9EA2A9; font-size: 14px; padding: 28px 0 96px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot p { margin: 0; }
.foot a { color: #C9CCD1; }
.foot .credit { color: var(--blue-l); font-weight: 600; text-decoration: none; }
.foot .credit:hover { text-decoration: underline; }
@media (min-width: 720px) { .foot { padding-bottom: 28px; } }

/* Floating WhatsApp button — scrolls to the form; hidden once the form is on screen */
.wabar { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; background: var(--wa); color: #fff; text-decoration: none; font: 500 15px/1 var(--sans); border-radius: 26px; transition: opacity .2s, transform .2s; }
.wabar svg { width: 24px; height: 24px; fill: #fff; }
.wabar.is-off { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 719px) { .wabar { left: 16px; justify-content: center; } }
