/* Be Vietnam Pro tự host (Google Fonts, SIL OFL 1.1): chỉ tải subset cần theo unicode-range */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/be-vietnam-pro-800-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/be-vietnam-pro-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/be-vietnam-pro-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Hình khối: nút và chip bo tròn hẳn (999px), ô nhập / ô lịch / ô giờ 12px, thẻ / ảnh / bảng 16px. */
:root {
  color-scheme: light dark;
  --bg: #f5f8f6;
  --surface: #ffffff;
  --surface-2: #ecf5ef;
  --field: #ffffff;
  --ink: #14221c;
  --ink-strong: #0a2a1d;
  --muted: #56675f;
  --line: #d9e4dd;
  --link: #0d6b45;
  --price: #0b5d3b;
  --accent: #11834f;
  --accent-hover: #0d6b45;
  --brand-dark: #0b3a28;
  --brand-darker: #062a1c;
  --yellow: #ffc93c;
  --yellow-hover: #f0b51f;
  --on-yellow: #10241a;
  --zalo: #0068ff;
  --zalo-hover: #0057d6;
  --hot: #fff8e1;
  --warn-bg: #fff8e6;
  --warn-line: #f2dca0;
  --danger: #c0392b;
  --cal-open-bg: #ecf5ef;
  --cal-open-ring: #cde4d6;
  --cal-full-bg: #eef1ef;
  --cal-full-ink: #93a39b;
  --cal-off-ink: #bcc7c1;
  --cal-closed-bg: #fbefec;
  --cal-closed-ink: #b4675b;
  --header-bg: rgba(255, 255, 255, .92);
  --shadow: 0 1px 2px rgba(6, 42, 28, .06), 0 10px 28px rgba(6, 42, 28, .08);
  --dock-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1712;
    --surface: #122019;
    --surface-2: #18291f;
    --field: #0f1b15;
    --ink: #dce7e1;
    --ink-strong: #f0f6f2;
    --muted: #9aada3;
    --line: #26392f;
    --link: #6fd6a2;
    --price: #7fe0ae;
    --hot: #262414;
    --warn-bg: #262111;
    --warn-line: #4a3f1c;
    --danger: #ef8a7d;
    --cal-open-bg: #18291f;
    --cal-open-ring: #2c4a39;
    --cal-full-bg: #141e19;
    --cal-full-ink: #5a6d63;
    --cal-off-ink: #3a4b43;
    --cal-closed-bg: #2b1b18;
    --cal-closed-ink: #e09a8e;
    --header-bg: rgba(12, 23, 18, .9);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: var(--dock-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink-strong); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-call { background: var(--accent); color: #fff; }
.btn-call:hover { background: var(--accent-hover); }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { background: var(--zalo-hover); }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-primary { background: var(--brand-dark); color: #fff; font-size: 1.05rem; min-height: 54px; }
.btn-primary:hover { background: var(--brand-darker); }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.btn-outline { background: var(--surface); color: var(--link); box-shadow: inset 0 0 0 1.5px var(--line); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-strong); text-decoration: none; font-size: 1.05rem; }
.logo img { border-radius: 10px; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--link); }
.topbar-call { margin-left: auto; min-height: 42px; padding: 0 14px; font-size: .92rem; }
.topbar-call span { display: none; }

/* ---------- hero ---------- */
.hero {
  color: #fff;
  background:
    radial-gradient(720px 380px at 100% 0%, rgba(255, 201, 60, .12), transparent 60%),
    linear-gradient(160deg, var(--brand-dark), var(--brand-darker));
  padding: 28px 0 36px;
}
.hero-in { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.95rem, 7vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .4em; }
.hero .lead { font-size: 1.06rem; color: rgba(255, 255, 255, .84); max-width: 34em; margin-bottom: 22px; }
.hero .btn-call { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.eyebrow { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 14px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.crumbs a { color: #fff; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.hero-media figcaption { margin-top: 8px; font-size: .74rem; color: rgba(255, 255, 255, .6); }
.hero-media figcaption a { color: inherit; }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 24px; max-width: 46rem; }
.sec-head p { color: var(--muted); margin: 0; }
.note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.note .ic { margin-top: 2px; color: var(--accent); }

/* tuyến đi nhiều: cuộn ngang trên điện thoại, 5 cột trên máy tính */
.strip { padding: 28px 0 8px; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.strip-head h2 { font-size: 1.2rem; margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; font-size: .94rem; }
.hot-routes {
  list-style: none; margin: 0 -16px; padding: 2px 16px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.hot-routes li { scroll-snap-align: start; }
.hot-routes a { display: flex; flex-direction: column; height: 100%; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.hot-routes a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.hot-to { font-weight: 700; color: var(--ink-strong); }
.hot-km { font-size: .8rem; color: var(--muted); }
.hot-routes strong { margin-top: 10px; font-size: 1.12rem; color: var(--price); font-variant-numeric: tabular-nums; }
.hot-routes strong small { font-size: .78rem; font-weight: 500; color: var(--muted); margin-right: 4px; }

/* dịch vụ: bento 6 ô (1 ô lớn, 3 ô ngang có ảnh, 2 ô màu) */
.bento { display: grid; gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; isolation: isolate; }
.tile h3 { margin: 0 0 4px; font-size: 1.15rem; }
.tile p { margin: 0; font-size: .95rem; }
.tile-img { justify-content: flex-end; min-height: 230px; color: #fff; background: var(--brand-darker); }
.tile-img img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.tile-img:hover img { transform: scale(1.04); }
.tile-body { padding: 56px 18px 18px; background: linear-gradient(to top, rgba(4, 22, 14, .9) 10%, rgba(4, 22, 14, .55) 60%, rgba(4, 22, 14, 0)); }
.tile-img h3 { color: #fff; }
.tile-img p { color: rgba(255, 255, 255, .86); }
.tile-tone { justify-content: space-between; gap: 18px; padding: 20px; min-height: 180px; }
.tile-tone .ic { width: 30px; height: 30px; }
.tone-green { background: var(--accent-hover); color: #fff; }
.tone-green h3 { color: #fff; }
.tone-green p { color: rgba(255, 255, 255, .86); }
.tone-yellow { background: var(--yellow); color: var(--on-yellow); }
.tone-yellow h3 { color: var(--on-yellow); }
a.tile-tone:hover { filter: brightness(1.05); }
.credits { margin: 12px 0 0; font-size: .74rem; color: var(--muted); }
.credits a { color: inherit; }

/* bảng giá: 2 nhóm */
.price-groups { display: grid; gap: 22px; align-items: start; }
.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
table.price { width: 100%; border-collapse: collapse; }
table.price caption { text-align: left; padding: 14px 16px 12px; font-weight: 800; font-size: 1.05rem; color: var(--ink-strong); background: var(--surface-2); }
table.price th, table.price td { padding: 11px 12px; text-align: left; }
table.price thead th { font-size: .8rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
table.price tbody tr + tr > * { border-top: 1px solid var(--line); }
table.price tbody th { font-weight: 600; }
table.price tbody th small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
table.price .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; width: 1%; }
table.price td.num { font-weight: 700; color: var(--price); }
table.price tr.hot { background: var(--hot); }
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow); font-size: .72rem; font-weight: 700; vertical-align: 2px; }

/* lý do chọn: tiêu đề trái, 4 ý phải, không đóng khung */
.why-wrap { display: grid; gap: 8px; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.why li { display: flex; gap: 14px; }
.why li > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.why h3 { margin-bottom: .2em; }
.why p { margin: 0; color: var(--muted); }

/* khu vực: 3 nhóm */
.area-groups { display: grid; gap: 22px; }
.area-groups h3 { font-size: 1rem; margin-bottom: 10px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 500; font-size: .93rem; }

/* hỏi đáp */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; position: relative; color: var(--ink-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--muted); }
.more-routes { margin-top: 22px; color: var(--muted); }

/* trang tuyến */
.intro { display: grid; gap: 22px; }
.intro-lead { font-size: 1.1rem; margin: 0; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; color: var(--ink-strong); }
.prose h2 { font-size: clamp(1.35rem, 3.6vw, 1.8rem); }
.prose p { color: var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { margin-top: 3px; color: var(--accent); }
.photo { margin: 22px 0 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--surface-2); }
.photo figcaption { margin-top: 6px; font-size: .74rem; color: var(--muted); }
.photo figcaption a { color: inherit; }

/* ---------- đặt xe ---------- */
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--surface-2); border-radius: 999px; margin-bottom: 18px; }
.mode button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--link); cursor: pointer; }
.mode button[aria-selected="true"] { background: var(--brand-dark); color: #fff; }
.booking-grid { display: grid; gap: 18px; }
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field ::placeholder { color: var(--muted); opacity: .85; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(17, 131, 79, .18); }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(192, 57, 43, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--field); font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip input:checked + span { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 600; font-size: .92rem; margin: 0 0 10px; }

.now-note { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.now-note .ic { margin-top: 3px; color: var(--accent); }
.when-now .cta-row .btn { flex: 1 1 160px; }
.when-now .muted { margin-top: 14px; }

.cal { border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-size: 1.02rem; color: var(--ink-strong); }
.cal-nav { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); display: grid; place-items: center; cursor: pointer; color: var(--link); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: .74rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-grid button, .cal-grid .pad { aspect-ratio: 1 / 1; min-height: 38px; border-radius: 12px; border: 0; background: transparent; font-weight: 600; font-size: .95rem; position: relative; color: inherit; }
.cal-grid button { cursor: pointer; }
.cal-grid .d-open { background: var(--cal-open-bg); color: var(--ink-strong); box-shadow: inset 0 0 0 1.5px var(--cal-open-ring); }
.cal-grid .d-open:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-grid .d-full { color: var(--cal-full-ink); background: var(--cal-full-bg); text-decoration: line-through; cursor: not-allowed; }
.cal-grid .d-off { color: var(--cal-off-ink); cursor: not-allowed; }
.cal-grid .d-closed { color: var(--cal-closed-ink); background: var(--cal-closed-bg); cursor: not-allowed; }
.cal-grid .d-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-grid button[aria-pressed="true"] { background: var(--brand-dark); color: #fff; box-shadow: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.lg::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.lg-open::before { background: var(--cal-open-bg); box-shadow: inset 0 0 0 1.5px var(--cal-open-ring); }
.lg-full::before { background: var(--cal-full-bg); box-shadow: inset 0 0 0 1px var(--line); }
.lg-off::before { background: var(--cal-closed-bg); }
.cal-status { margin: 8px 0 0; min-height: 1.2em; }
.cal.loading .cal-grid { opacity: .45; pointer-events: none; }

.slots-wrap { margin-top: 14px; }
.slots-title { font-weight: 700; margin-bottom: 8px; font-size: .95rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; max-height: 236px; overflow-y: auto; padding: 2px; }
.slots button { min-height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; color: inherit; }
.slots button:hover:not(:disabled) { border-color: var(--accent); }
.slots button:disabled { color: var(--cal-full-ink); background: var(--cal-full-bg); text-decoration: line-through; cursor: not-allowed; }
.slots button[aria-pressed="true"] { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.slots-empty { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin: 0; }

.result { margin-top: 18px; border-radius: 16px; padding: 18px; background: var(--surface-2); border: 1.5px solid var(--cal-open-ring); }
.result.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.result h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.result h3 .ic { width: 26px; height: 26px; color: var(--accent); }
.result.warn h3 .ic { color: #d79a08; }
.result textarea { width: 100%; min-height: 150px; margin: 10px 0 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); font-size: .9rem; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.result .cta-row .btn { flex: 1 1 150px; }
.copied { display: inline-block; margin-top: 8px; font-size: .88rem; font-weight: 600; color: var(--link); }

/* ---------- footer ---------- */
.footer { background: var(--brand-darker); color: rgba(255, 255, 255, .78); padding: 44px 0 20px; font-size: .94rem; }
.footer-in { display: grid; gap: 28px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: .7em; }
.footer a { color: #fff; }
.footer p { margin-top: 12px; }
.footer .logo { color: #fff; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plain li { display: flex; gap: 8px; align-items: center; }
.plain .ic { color: var(--yellow); }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ---------- thanh liên hệ dưới (điện thoại) / nút nổi (máy tính) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(6, 42, 28, .1);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
}
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: .82rem; }
.dock .ic { width: 22px; height: 22px; }
.dock-call { background: var(--accent); color: #fff; }
.dock-zalo { background: var(--zalo); color: #fff; }
.dock-book { background: var(--yellow); color: var(--on-yellow); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile-img img, .btn { transition: none; }
}

/* ---------- màn hình lớn ---------- */
@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-lg, .tile-wide { grid-column: span 2; }
  .tile-img { min-height: 260px; }
  .footer-in { grid-template-columns: 1.4fr 1fr 1fr; }
  .topbar-call span { display: inline; }
  .booking { padding: 22px; }
  .hot-routes { grid-auto-columns: minmax(170px, 30%); }
  table.price th, table.price td { padding: 12px 16px; }
  .area-groups { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  body { --dock-h: 0px; }
  .wrap { padding: 0 24px; }
  .dock {
    left: auto; right: 22px; bottom: 22px; grid-template-columns: none; grid-auto-flow: row; gap: 10px;
    background: transparent; border: 0; box-shadow: none; padding: 0;
  }
  .dock a { width: 58px; height: 58px; min-height: 0; border-radius: 999px; box-shadow: 0 8px 22px rgba(6, 42, 28, .28); }
  .dock span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav { display: flex; }
  .topbar-call { margin-left: 8px; }
  .hero { padding: 56px 0 64px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero h1 { font-size: clamp(2.4rem, 3.9vw, 2.9rem); }
  .section { padding: 72px 0; }
  .strip { padding: 36px 0 12px; }
  .hot-routes { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
  .tile-lg { grid-column: span 2; grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
  .tile-img, .tile-tone { min-height: 0; }
  .tile-lg h3 { font-size: 1.5rem; }
  .price-groups { grid-template-columns: 1fr 1fr; gap: 28px; }
  .why-wrap { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
  .area-groups { grid-template-columns: 1fr 1.5fr 1fr; gap: 32px; }
  .intro { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
  .booking { padding: 28px; }
  .booking-grid { grid-template-columns: 1fr 1.15fr 1fr; gap: 26px; }
}

/* ---------- bố cục 27/10/2026: hero ảnh tràn + báo giá nhanh, đội xe, chọn xe, giá theo km, thiện nguyện ---------- */
:root { --heart: #e11d48; --heart-bg: #fff0f2; --heart-ink: #b4321c; }
@media (prefers-color-scheme: dark) { :root { --heart: #fb7185; --heart-bg: #2a1519; --heart-ink: #fdba74; } }
.field input[type="number"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); font-size: 16px; }

/* thanh liên hệ trên cùng: chỉ hiện trên máy tính (điện thoại đã có thanh dock) */
.topstrip { display: none; background: var(--brand-darker); color: rgba(255, 255, 255, .86); font-size: .86rem; }
.topstrip-in { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topstrip a, .topstrip span { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.topstrip a:hover { color: #fff; }
.topstrip .ic { color: var(--yellow); }
.topstrip .topstrip-heart { margin-left: auto; font-weight: 700; color: #ffe3a1; }
.topstrip .topstrip-heart .ic { color: #ff8a9b; }

/* hero ảnh tràn: ảnh thật (img + srcset, giữ preload) nằm dưới lớp phủ xanh đậm */
.hero-photo { position: relative; isolation: isolate; background: var(--brand-darker); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 26, 17, .8), rgba(4, 26, 17, .62) 45%, rgba(4, 26, 17, .88)); }
.hero-credit { margin: 16px auto 0; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.hero-credit a { color: inherit; }

/* khung báo giá nhanh */
.quote { background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); padding: 18px; }
.quote-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 800; font-size: 1.1rem; color: var(--ink-strong); }
.quote-title .ic { color: var(--accent); }
.q-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.q-row.with-km { grid-template-columns: .8fr 1.2fr; }
.q-out { display: grid; gap: 2px; margin: 2px 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.q-label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.q-price { font-size: 1.6rem; font-weight: 800; line-height: 1.25; color: var(--price); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.q-note { font-size: .8rem; color: var(--muted); }

/* 3 thẻ dưới hero */
.highlights { padding: 22px 0 0; }
.hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hl a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s; }
.hl a:hover { border-color: var(--accent); }
.hl .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.hl li:last-child .ic { background: var(--heart-bg); color: var(--heart); }
.hl strong { display: block; color: var(--ink-strong); font-size: 1.02rem; }
.hl span span { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); }

/* đội xe: cuộn ngang trên điện thoại, 4 cột trên máy tính; ảnh xe luôn trên nền trắng ở cả 2 chế độ màu */
.fleet { list-style: none; margin: 0 -16px; padding: 2px 16px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
.car-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.car-stage { background: #fff; padding: 10px 8px 0; border-bottom: 1px solid var(--line); }
.car-stage img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.car-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.car-body h3 { margin: 0; font-size: 1.12rem; }
.car-type { margin: 0; font-size: .88rem; color: var(--muted); }
.car-pax { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-weight: 700; color: var(--ink-strong); }
.car-pax .ic { color: var(--accent); }
.car-fit { flex: 1; margin: 0 0 12px; font-size: .92rem; color: var(--muted); }

/* chọn xe trong form đặt (radio name="vehicle" giữ nguyên cho app.js) */
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-in { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 6px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); text-align: center; }
.pick-img { display: block; width: 100%; border-radius: 10px; background: #fff; }
.pick-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.pick-name { font-weight: 800; font-size: .95rem; color: var(--ink-strong); }
.pick-pax { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.pick input:checked + .pick-in { border-color: var(--brand-dark); box-shadow: inset 0 0 0 1.5px var(--brand-dark); background: var(--surface-2); }
.pick input:focus-visible + .pick-in { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-color-scheme: dark) { .pick input:checked + .pick-in { border-color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); } }

/* giá theo km */
.rates { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.section-alt .rates li { background: var(--bg); }
.rates span { font-size: .92rem; color: var(--muted); }
.rates strong { white-space: nowrap; font-size: 1.05rem; color: var(--price); }

/* địa điểm du lịch */
.places { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.places li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.section-alt .places li { background: var(--bg); }
.places .ic { margin-top: 3px; color: var(--accent); }
.places h3 { margin: 0 0 2px; font-size: 1rem; }
.places p { margin: 0; font-size: .93rem; color: var(--muted); }

/* xe thiện nguyện */
.eyebrow-heart { color: var(--heart-ink); }
.eyebrow-heart .ic { color: var(--heart); }
.charity li > .ic { background: var(--heart-bg); color: var(--heart); }

@media (min-width: 640px) {
  .hl { grid-template-columns: repeat(3, 1fr); }
  .fleet { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; overflow: visible; }
  .pick-grid { grid-template-columns: repeat(4, 1fr); }
  .rates { grid-template-columns: repeat(3, 1fr); }
  .rates li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .places { grid-template-columns: 1fr 1fr; }
  .charity { grid-template-columns: repeat(3, 1fr); }
  .quote { padding: 22px; }
}
@media (min-width: 960px) {
  .topstrip { display: block; }
  .hero-photo { padding: 64px 0 44px; }
  .fleet { grid-template-columns: repeat(4, 1fr); }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .hot-routes { grid-template-columns: repeat(4, 1fr); }
}
