/* =============================================================
   NHÀ XE MẠNH CƯỜNG · Design System v4 — Cyan Utility
   Vibe   : Xanh SM cyan × giấy tờ vận tải × ảnh xe thật
   Layout : Split editorial + bảng dữ liệu + băng CTA brand
   Motion : Quiet Sophistication cubic-bezier(0.16,1,0.3,1)
   Fonts  : Be Vietnam Pro (Vietnamese-first typography)
   ============================================================= */

/* ─────────────────────────── Tokens ─────────────────────────── */
:root {
  /* Surface — trắng ngả cyan, không be ấm */
  --c-bg:          #F6FAFA;
  --c-bg-alt:      #EFF7F7;
  --c-surface:     #FFFFFF;
  --c-ink:         #0F1B1C;
  --c-ink-2:       #24393B;
  --c-muted:       #62777A;
  --c-line:        #DDE9E9;
  --c-line-strong: rgba(6,88,90,.18);

  /* Brand — Xanh SM cyan */
  --c-brand:       #28BDBF;   /* cyan nhận diện */
  --c-brand-2:     #1AA5A7;   /* hover */
  --c-brand-ink:   #06585A;   /* chữ trên nền cyan nhạt */
  --c-brand-50:    #E6F7F7;   /* nền section nhạt */
  --c-brand-100:   #C9EEEF;
  --c-primary:     #0E7C7E;   /* cyan đậm — nút chính, nền tối */
  --c-primary-2:   #0A6467;
  --c-accent:      #F09819;   /* cam nghệ — giá tiền, badge */
  --c-accent-2:    #C87A0C;
  --c-success:     #12866B;
  --c-zalo:        #0068FF;

  /* Pastel semantic */
  --p-amber-bg:  #FEF3E0; --p-amber-tx: #9A5B04;
  --p-green-bg:  #E3F6F1; --p-green-tx: #0B6E58;
  --p-blue-bg:   #E6F7F7; --p-blue-tx:  #06585A;
  --p-red-bg:    #FDECEC; --p-red-tx:   #A32A28;

  /* Layout */
  --container:        1200px;
  --container-narrow: 860px;

  /* Radii — nhỏ, dứt khoát, kiểu web dịch vụ thật */
  --r-xs: 3px; --r-sm: 5px; --r: 7px; --r-lg: 10px; --r-xl: 13px;
  --r-2xl: 15px;   /* nút, card */
  --r-3xl: 18px;   /* khung booking, hero */

  /* Shadow — ám cyan thay vì đen trung tính */
  --s-1: 0 0 0 1px var(--c-line), 0 2px 8px rgba(6,88,90,.04);
  --s-2: 0 0 0 1px var(--c-line), 0 4px 16px rgba(6,88,90,.05);
  --s-3: 0 0 0 1px var(--c-line), 0 8px 32px rgba(6,88,90,.06);
  --s-glow:  0 0 0 1px rgba(6,88,90,.10);
  --s-pill:  0 0 0 1px rgba(6,88,90,.09), 0 4px 20px rgba(6,88,90,.07),
             inset 0 1px 0 rgba(255,255,255,.9);
  --s-bezel: 0 0 0 1px var(--c-line);
  --s-hover: 0 0 0 1px rgba(40,189,191,.34), 0 4px 6px rgba(6,88,90,.04),
             0 12px 40px rgba(6,88,90,.10), 0 32px 80px rgba(6,88,90,.06);
  --s-showcase: 0 0 0 1px rgba(6,88,90,.07),
                0 1px 0 rgba(255,255,255,.95) inset,
                0 24px 48px -12px rgba(6,88,90,.14),
                0 48px 96px -24px rgba(6,88,90,.09),
                0 80px 160px -40px rgba(6,88,90,.06);
  --s-cta-hover: 0 1px 0 rgba(255,255,255,.16) inset,
                 0 8px 16px -4px rgba(6,88,90,.24),
                 0 16px 40px -8px rgba(6,88,90,.18);

  /* Motion — quiet, invisible */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.2, 0.64, 1);
  --ease-soft:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-1: 200ms; --t-2: 380ms; --t-3: 600ms;

  /* Typography — Vietnamese-first, consistent diacritics */
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);
  --font-mono: var(--font-sans);
}

/* ─────────────────────────── Reset ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-feature-settings: "kern", "liga", "calt";
  font-size: 16px; line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain overlay — fixed, pointer-events-none, no GPU hit on scroll */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .028;
  mix-blend-mode: multiply;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-accent); color: #04302F; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─────────────────────────── Typography ─────────────────────── */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.12; letter-spacing: -.018em;
  margin: 0 0 .5em; color: var(--c-ink);
}
h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700; line-height: 1.2; letter-spacing: -.012em;
  margin: 0 0 .5em; color: var(--c-ink);
}
h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
p  { margin: 0 0 1em; color: var(--c-ink-2); }

.grad {
  background: linear-gradient(120deg, var(--c-brand) 0%, var(--c-primary) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrow pill — muted per minimalist-ui spec */
.section--dark .grad,
.hero .grad {
  background: linear-gradient(120deg, var(--c-brand) 0%, #9FE8E9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans);
  font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-brand-ink);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  padding: .5em 1em; border-radius: 999px;
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: ""; width: 5px; height: 5px; background: var(--c-brand);
  border-radius: 50%;
}

/* ─────────────────────────── Layout ─────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(28px, 3vw, 44px) 0; position: relative; }
.section--alt {
  background-color: var(--c-bg-alt);
  background-image: radial-gradient(circle, rgba(6,88,90,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.section--dark {
  background: var(--c-primary);
  color: rgba(255,255,255,.85); position: relative; overflow: hidden;
  /* Subtle warm dot grid on dark */
  background-image:
    radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--c-primary);
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 500px at 10% 0%, rgba(40,189,191,.22), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(255,255,255,.03), transparent 60%);
}
.section--cta { padding: clamp(28px, 3vw, 40px) 0; }

/* DESIGN_VARIANCE=8 — Anti-center bias: section heads are LEFT aligned by default */
.section__head {
  max-width: 820px;
  margin: 0 0 24px;
  text-align: left;
  position: relative;
  padding-bottom: 16px;
}
/* Decorative editorial rule below section head */
.section__head::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 48px; height: 2px;
  background: var(--c-brand);
  border-radius: 2px;
}
.section__head--center::after { left: 50%; transform: translateX(-50%); }
.section__head p {
  color: var(--c-muted); font-size: 1.05rem;
  max-width: 58ch;
}
/* Optional center override for specific sections */
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center p { max-width: none; }
.section__head--light h2 { color: #fff; }
.section__head--light p  { color: rgba(255,255,255,.72); }

/* Oversized section index label — decorative depth */
.section__head[data-index]::before {
  content: attr(data-index);
  position: absolute;
  right: 0; top: -12px;
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(5rem, 9vw, 8rem); line-height: 1;
  letter-spacing: -.04em;
  color: var(--c-ink); opacity: .04;
  user-select: none; pointer-events: none;
}

/* ─────────────────────────── Buttons ────────────────────────── */
/*
  System rules:
  · Default `.btn`     → 22px squircle (premium soft rectangle)
  · `.btn--xl`         → full pill (showcase CTAs, hero, booking submit)
  · `.btn--mini`       → full pill (route quick-actions)
  · Magnetic press: hover lifts -2px with directional shadow,
    :active scales to 0.97 to simulate physical press
  · Trailing `.btn__icon` is its own circle that translates + scales on hover
*/
.btn {
  --bg: var(--c-primary); --fg: #fff; --bd: var(--c-primary);
  --btn-radius: var(--r-2xl);
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: .88em 1.5em;
  font-family: var(--font-sans); font-weight: 700;
  font-size: .94rem; letter-spacing: -.012em;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd); border-radius: var(--btn-radius);
  transition:
    transform   320ms var(--ease),
    box-shadow  420ms var(--ease),
    background  220ms var(--ease),
    border-color 220ms var(--ease),
    color       220ms var(--ease);
  white-space: nowrap; will-change: transform; user-select: none;
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: 120ms; }

/* Button-in-button trailing icon — tighter, more deliberate magnetic motion */
.btn__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-right: -8px;
  transition:
    transform  380ms var(--ease-bounce),
    background 220ms var(--ease);
}
.btn:hover .btn__icon {
  transform: translate(3px, -1px) scale(1.08);
  background: rgba(255,255,255,.28);
}

.btn--primary {
  --bg: var(--c-primary); --fg: #fff; --bd: var(--c-primary);
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 1px 2px rgba(6,88,90,.24),
    0 4px 12px -2px rgba(6,88,90,.22);
}
.btn--primary:hover  { --bg: var(--c-primary-2); --bd: var(--c-primary-2); box-shadow: var(--s-cta-hover); }
.btn--primary:active { box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 1px 2px rgba(6,88,90,.24); }

.btn--ghost {
  --bg: rgba(255,255,255,.62); --fg: var(--c-ink); --bd: rgba(0,0,0,.10);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}
.btn--ghost:hover { --bg: var(--c-primary); --fg: #fff; --bd: var(--c-primary); }

.btn--zalo {
  --bg: var(--c-zalo); --fg: #fff; --bd: var(--c-zalo);
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 1px 2px rgba(0,82,204,.30),
    0 4px 12px -2px rgba(0,82,204,.22);
}
.btn--zalo:hover {
  --bg: #0052CC; --bd: #0052CC;
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 8px 16px -4px rgba(0,82,204,.32),
    0 16px 40px -8px rgba(0,82,204,.28);
}

.zalo-icon {
  width: 1.25em; height: 1.25em;
  display: block; flex: 0 0 auto;
  object-fit: contain; border-radius: 50%;
}

/* Showcase pill — true 999px radius for hero/booking primary CTAs */
.btn--xl {
  padding: 1.1em 1.9em 1.1em 2.05em;
  font-size: 1rem; letter-spacing: -.014em;
  --btn-radius: 999px;
}
.btn--block { width: 100%; }
.btn--mini {
  padding: .5em 1.05em; font-size: .82rem;
  --btn-radius: 999px;
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
}
.btn--mini:hover { background: var(--c-brand); border-color: var(--c-brand); color: #04302F; }
.btn--phone { color: var(--c-brand-ink); border-color: var(--c-brand-100); background: var(--c-brand-50); }
.btn--phone:hover { background: var(--c-brand); color: #04302F; border-color: var(--c-brand); }

/* Nút CTA nhấn mạnh — cam nghệ, dùng cho "Đặt xe ngay" */
.btn--accent {
  --bg: var(--c-accent); --fg: #3D2503; --bd: var(--c-accent);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255,255,255,.30) inset, 0 4px 12px -2px rgba(240,152,25,.42);
}
.btn--accent:hover { --bg: #FFA928; --bd: #FFA928; }
/* Nút brand cyan */
.btn--brand { --bg: var(--c-brand); --fg: #04302F; --bd: var(--c-brand); font-weight: 700; }
.btn--brand:hover { --bg: var(--c-brand-2); --bd: var(--c-brand-2); color: #fff; }

/* ─────────────────────── Announcement ──────────────────────── */
.announcement {
  background: var(--c-primary);
  color: #fff; font-size: .86rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.announcement__inner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 24px; flex-wrap: wrap; text-align: center;
}
.announcement__badge {
  background: rgba(255,255,255,.12); color: #fff;
  font-weight: 700; font-size: .68rem; letter-spacing: .12em;
  padding: 3px 10px; border-radius: 5px;
  border: 1px solid rgba(255,255,255,.16);
}
.announcement p { margin: 0; color: rgba(255,255,255,.9); }
.announcement__cta { font-weight: 700; color: var(--c-accent); white-space: nowrap; flex-shrink: 0; }
.announcement__cta:hover { text-decoration: underline; }

/* Kinetic marquee */
.announcement__marquee {
  flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.announcement__track {
  display: inline-flex; gap: 0; white-space: nowrap;
  animation: marquee-scroll 26s linear infinite;
  will-change: transform;
}
.announcement__track:hover { animation-play-state: paused; }
.announcement__track > span { padding: 0 48px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────── Header / Nav ──────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  padding: 8px 20px 0;
  background: transparent;
  /* Full-width wrapper — the pill is .site-header__inner */
}
/* Header row: logo (standalone) + pill, side by side */
.site-header__bar {
  display: flex; align-items: center; gap: 16px;
}
.site-header__inner {
  /* The pill — now sits next to the logo, fills remaining width */
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 7px 6px 22px;
  min-height: unset;
  /* The floating pill */
  background: rgba(253,251,247,.92);
  backdrop-filter: saturate(220%) blur(24px);
  -webkit-backdrop-filter: saturate(220%) blur(24px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  box-shadow: var(--s-pill);
  transition: background var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  background: rgba(253,251,247,.98);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06),
              0 4px 8px rgba(0,0,0,.03),
              0 16px 48px rgba(0,0,0,.08),
              inset 0 1px 0 rgba(255,255,255,.95);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  height: 44px; width: auto; display: block; object-fit: contain;
  border-radius: 6px;
  transition: transform var(--t-1) var(--ease-bounce);
}
.brand:hover .brand__logo { transform: scale(1.04); }
/* Footer rộng nên hiển thị lockup đầy đủ (có tên nhà xe + hotline) đủ lớn
   để đọc được, thay vì ép xuống 70px thành vệt mờ. */
.brand__logo--footer { height: auto; width: 190px; max-width: 100%; }

/* Header logo — lifted fully out of the pill, standing on its own
   beside the pill on the same row, 50% larger than the base size. */
.site-header .brand { flex-shrink: 0; }
.site-header .brand__logo { height: 66px; width: auto; }
.site-header .brand:hover .brand__logo { transform: scale(1.05); }

.primary-nav { flex: 1; min-width: 0; overflow: hidden; }
.primary-nav ul {
  display: flex; gap: 2px; list-style: none; padding: 0; margin: 0;
  flex-wrap: nowrap; white-space: nowrap;
}
.primary-nav a {
  display: inline-block; padding: .42em .72em; border-radius: 999px;
  font-weight: 600; font-size: .83rem; letter-spacing: -.005em; color: var(--c-ink-2);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color var(--t-1) var(--ease), transform var(--t-1) var(--ease-bounce);
}
/* Directional fill — enter direction set by JS via --nav-fill-origin */
.primary-nav a::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--c-bg-alt);
  transform-origin: var(--nav-fill-origin, 50% 100%);
  transform: scale(0);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
}
.primary-nav a:hover::before { transform: scale(1); }
.primary-nav a:hover { color: var(--c-ink); transform: translateY(-1px); }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }

/* Hamburger — morphs to X */
.hamburger {
  display: none; position: relative;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--c-line-strong); border-radius: 999px;
  background: rgba(255,255,255,.7);
  transition: background var(--t-1) var(--ease), border-color var(--t-1) var(--ease);
}
.hamburger span {
  position: absolute; left: 50%; width: 18px; height: 1.5px;
  background: var(--c-ink); border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-2) var(--ease), opacity var(--t-1) var(--ease);
}
.hamburger span:nth-child(1) { transform: translate(-50%, -5px); }
.hamburger span:nth-child(2) { transform: translate(-50%, 0); }
.hamburger span:nth-child(3) { transform: translate(-50%, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translate(-50%, 0) scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }
.hamburger:hover { background: var(--c-bg-alt); }

/* Mobile menu — full-screen glass overlay */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; inset: 0; z-index: 39;
  padding: 100px 28px 40px;
  background: rgba(253,251,247,.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-top: 1px solid var(--c-line);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 16px 20px; border-radius: var(--r);
  font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em;
  color: var(--c-ink); opacity: 0;
  transform: translateY(16px);
  transition: background var(--t-1) var(--ease), color var(--t-1) var(--ease);
}
.mobile-menu a:hover { background: var(--c-bg-alt); }
/* Persistent call CTA inside the menu — the sticky bar is covered while open */
.mobile-menu a.mobile-menu__cta {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--c-success); color: #fff;
  font-size: 1.1rem; text-align: center;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(52,101,56,.3);
}
.mobile-menu a.mobile-menu__cta:hover { background: var(--c-success); color: #fff; }
.mobile-menu a.mobile-menu__cta svg { width: 20px; height: 20px; flex-shrink: 0; }
/* Dedicated close button — separate element so it survives nav re-render */
.mobile-menu__close {
  display: none;
  position: fixed; top: 14px; right: 16px; z-index: 41;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--c-line-strong); border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--c-ink); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transition: background var(--t-1) var(--ease), transform var(--t-1) var(--ease);
}
.mobile-menu.is-open ~ .mobile-menu__close { display: flex; }
.mobile-menu__close:hover { background: var(--c-bg-alt); }
.mobile-menu__close:active { transform: scale(.92); }
.mobile-menu.is-open a { animation: navItemReveal 500ms var(--ease-soft) forwards; }
.mobile-menu.is-open a:nth-child(1)  { animation-delay:  60ms; }
.mobile-menu.is-open a:nth-child(2)  { animation-delay: 100ms; }
.mobile-menu.is-open a:nth-child(3)  { animation-delay: 140ms; }
.mobile-menu.is-open a:nth-child(4)  { animation-delay: 180ms; }
.mobile-menu.is-open a:nth-child(5)  { animation-delay: 220ms; }
.mobile-menu.is-open a:nth-child(6)  { animation-delay: 260ms; }
.mobile-menu.is-open a:nth-child(7)  { animation-delay: 300ms; }
.mobile-menu.is-open a:nth-child(8)  { animation-delay: 340ms; }
@keyframes navItemReveal {
  to { opacity: 1; transform: none; }
}

/* ─────────────────────────── Hero ───────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #073B3D;
  padding: clamp(28px, 3.5vw, 56px) 0 clamp(36px, 4vw, 56px);
  color: #fff;
}
/* Ảnh xe thật làm nền — 3 slide đổi luân phiên */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1400ms var(--ease-soft), transform 9000ms linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* Lớp phủ để chữ luôn đọc được trên mọi ảnh */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,42,44,.94) 0%, rgba(4,42,44,.86) 38%, rgba(4,42,44,.42) 70%, rgba(4,42,44,.30) 100%),
    linear-gradient(180deg, rgba(4,42,44,.55) 0%, transparent 30%, rgba(4,42,44,.55) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; transform: none; }
}

.hero__inner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start;
}
.hero__copy { max-width: 660px; position: relative; }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
  padding: 8px 16px 8px 12px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 26px;
  transition: transform 320ms var(--ease), background 220ms var(--ease);
}
.eyebrow:hover { transform: translateY(-1px); background: rgba(255,255,255,.18); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(40,189,191,.28);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }

.hero__title {
  margin-top: 0;
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -.028em;
  overflow-wrap: break-word;
}

/* Italic accent — editorial luxury punctuation in warm copper */
.hero__title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero__title em {
  font-style: normal; font-weight: 800;
  color: var(--c-brand);
  letter-spacing: -.03em;
}
/* Smaller weight subtitle line — humble counterweight to the bold display */
.hero__title-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.82);
  margin-top: .8em; line-height: 1.4;
}

.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: rgba(255,255,255,.86); max-width: 560px; line-height: 1.7;
  margin-top: 20px;
}
.hero__sub strong { color: #fff; font-weight: 700; }

.hero__usps {
  list-style: none; padding: 0; margin: 32px 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
}
.hero__usps li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .94rem; color: rgba(255,255,255,.92);
}
.hero__usps svg {
  width: 20px; height: 20px; padding: 3px;
  background: var(--c-brand); color: #04302F;
  border-radius: 50%; flex-shrink: 0;
}
.hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  align-items: center;
}
.hero__trust {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px dashed rgba(255,255,255,.22);
  font-size: .84rem; color: rgba(255,255,255,.66);
}
.hero__trust em { font-style: normal; font-weight: 700; color: rgba(255,255,255,.92); }

/* ── Booking form — Refined Double-Bezel (28px shell · 22px core) ── */
.booking {
  background: var(--c-bg-alt);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--r-3xl);
  padding: 6px;
  box-shadow: var(--s-showcase);
  position: relative;
  isolation: isolate;
}
/* Subtle inner ring to reinforce the bezel between shell and core */
.booking::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border-radius: calc(var(--r-3xl) - 6px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  z-index: 1;
}
.booking__inner {
  position: relative; z-index: 2;
  background: var(--c-surface);
  border-radius: calc(var(--r-3xl) - 6px);
  padding: 26px 28px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 2px rgba(0,0,0,.02);
}
.booking__head { margin-bottom: 16px; }
.booking__head h2 {
  font-size: 1.35rem; margin-bottom: 4px;
  letter-spacing: -.024em;
}
.booking__head p { font-size: .85rem; color: var(--c-muted); margin: 0; }

.booking__form { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; }
.field label {
  font-size: .68rem; font-weight: 700; color: var(--c-muted);
  letter-spacing: .12em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  padding: .78em 1.05em;
  color: var(--c-ink);
  font-weight: 500;
  border: 1.5px solid var(--c-line);
  background: #fff;
  border-radius: var(--r-lg); font-size: .92rem;
  transition:
    border-color 220ms var(--ease),
    box-shadow   220ms var(--ease),
    background   220ms var(--ease);
  width: 100%;
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: var(--c-brand);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--c-brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(40,189,191,.20);
}
.field input::placeholder, .field textarea::placeholder { color: #93A6A8; }
.field label { color: var(--c-ink-2); }
.field textarea { resize: vertical; min-height: 56px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.booking__form > .field-row:nth-of-type(2) { grid-template-columns: 1fr 1fr 1fr; }
.booking__legal { font-size: .72rem; color: var(--c-muted); text-align: center; margin: 2px 0 0; }
.booking__legal a { color: var(--c-ink-2); text-decoration: underline; }
.booking-handoff {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(48, 132, 78, .28);
  border-radius: var(--r-sm);
  background: rgba(48, 132, 78, .08);
}
.booking-handoff[hidden] { display: none; }
.booking-handoff__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.booking-handoff__head strong {
  font-size: .82rem;
  color: var(--c-ink);
}
.booking-handoff__copy {
  flex: 0 0 auto;
  border: 1px solid rgba(48, 132, 78, .32);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-ink);
  padding: .42em .75em;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}
.booking-handoff p {
  margin: 0;
  color: var(--c-muted);
  font-size: .78rem;
  line-height: 1.45;
}
.booking-handoff textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  border: 1px solid rgba(48, 132, 78, .3);
  border-radius: var(--r-sm);
  background: #fff;
  padding: .75em;
  color: var(--c-ink);
  font-size: .78rem;
  line-height: 1.45;
}

/* Metrics strip — editorial document style */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(24px, 3vw, 36px); padding: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.metric { text-align: center; padding: 32px 16px; border-right: 1px solid var(--c-line); position: relative; }
.metric:last-child { border-right: 0; }
/* Subtle warm accent line at top of each metric */
.metric::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--c-accent); opacity: .5;
}
.metric strong {
  display: block;
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.03em;
  color: var(--c-ink);
}
.metric span { font-size: .82rem; color: var(--c-muted); font-weight: 500; }

/* ─────────────────────── Services — Bento ───────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
  align-items: start;
}

/* Bento spans */
.service:nth-child(1) { grid-column: span 7; }
.service:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.service:nth-child(3) { grid-column: span 4; }
.service:nth-child(4) { grid-column: span 3; }
.service:nth-child(5) { grid-column: span 6; }
.service:nth-child(6) { grid-column: span 6; }

.service {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--s-bezel);
  transition: transform var(--t-3) var(--ease), box-shadow var(--t-3) var(--ease);
  height: 100%;
  /* Outer shell — inset ring simulates double-bezel depth */
  outline: 4px solid var(--c-bg-alt);
  outline-offset: -5px;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--s-hover);
  outline-color: transparent;
}

/* Featured dark bento card */
.service--feat {
  background: var(--c-primary);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10);
  display: flex; flex-direction: column;
}
.service--feat h3 { color: #fff; }
.service--feat p  { color: rgba(255,255,255,.86); }
.service--feat .ribbon { background: var(--c-accent); color: #3D2503; }
.service--feat .service__more { color: var(--c-accent); }
.service--feat .service__icon {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--c-accent);
}

.service__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  color: var(--c-ink-2);
  border-radius: var(--r);
  margin-bottom: 20px;
  transition: transform var(--t-1) var(--ease-bounce), background var(--t-1) var(--ease);
}
.service:hover .service__icon { transform: scale(1.08) rotate(-3deg); }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service p  { color: var(--c-muted); font-size: .93rem; line-height: 1.6; }
.service__more { color: var(--c-accent-2); font-weight: 700; font-size: .88rem; letter-spacing: -.005em; }
.service__more:hover { text-decoration: underline; }

/* Ribbon badge */
.ribbon {
  position: absolute; top: 20px; right: 20px;
  background: var(--p-amber-bg); color: var(--p-amber-tx);
  font-weight: 700; font-size: .65rem; letter-spacing: .12em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
  border: 1px solid rgba(149,100,0,.15);
}

/* ─────────────────────────── Routes v2 — Transport Ticket ───── */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.route {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-bezel);
  display: flex; flex-direction: column;
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.route:hover { transform: translateY(-4px); box-shadow: var(--s-hover); }

/* Dark rail header */
.route__rail {
  background: #111;
  padding: 16px 18px 14px;
  display: flex; align-items: center; gap: 8px;
  position: relative;
}
.route__rail::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-2));
}

.route__terminal {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0;
}
.route__terminal--end { align-items: flex-end; text-align: right; }

.route__pin {
  display: inline-grid; place-items: center;
  min-width: 36px; height: 24px; padding: 0 7px;
  background: var(--c-accent); color: #fff;
  font-family: var(--font-mono);
  font-weight: 800; font-size: .68rem; letter-spacing: .05em;
  border-radius: 4px;
}
.route__pin--airport { background: var(--c-zalo); }

.route__city {
  color: rgba(255,255,255,.82);
  font-size: .78rem; font-weight: 600;
  font-family: var(--font-sans);
}

/* Track connector */
.route__track {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 5px; padding: 0 6px;
}

.route__track-info {
  display: flex; gap: 6px; align-items: center;
  color: rgba(255,255,255,.48);
  font-size: .62rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}

.route__track-line {
  width: 100%; height: 2px; position: relative;
  background: repeating-linear-gradient(
    90deg,
    rgba(200,104,12,.65) 0px, rgba(200,104,12,.65) 5px,
    transparent 5px, transparent 10px
  );
}
.route__track-line::before,
.route__track-line::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; background: var(--c-accent); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200,104,12,.22);
}
.route__track-line::before { left: -2px; }
.route__track-line::after  { right: -2px; }

/* Price grid — 1 ghế · Bao xe 5 chỗ · Bao xe 7 chỗ */
.route__prices {
  display: grid; grid-template-columns: repeat(3, 1fr);
  flex: 1;
}

.route__price-item {
  padding: 13px 9px;
  display: flex; flex-direction: column; gap: 3px;
  border-bottom: 1px solid var(--c-line);
}
.route__price-item + .route__price-item { border-left: 1px solid var(--c-line); }

.route__price-label {
  font-size: .56rem; color: var(--c-muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}

.route__price-value {
  font-size: .9rem; font-weight: 800; color: var(--c-ink);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}

/* Footer CTA row */
.route__footer {
  padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.route__schedule {
  font-size: .68rem; color: var(--c-muted); font-weight: 600;
}

.routes__note {
  text-align: center; margin-top: 24px; padding: 16px 22px;
  background: rgba(255,255,255,.7);
  border-radius: var(--r); border: 1px dashed rgba(0,0,0,.14);
  color: var(--c-muted); font-size: .94rem;
}
.routes__note strong { color: var(--c-ink); }
.routes__note a { color: var(--c-accent-2); font-weight: 700; }
.routes__note p { margin: 0; }

/* ─────────────────────────── Pricing ────────────────────────── */
.pricing-tabs {
  display: inline-flex; gap: 4px; padding: 6px;
  background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.07);
  border-radius: 999px; margin: 0 auto 24px;
  box-shadow: var(--s-1);
  width: max-content; max-width: 100%;
}
.pricing-panel-wrap { display: block; }

/* Swipe hint — only shown on screens where the table overflows */
.pricing-hint {
  display: none;
  text-align: right;
  font-size: .78rem; font-weight: 600;
  color: var(--c-muted);
  margin: 0 2px 8px;
}
.pricing-tabs { display: flex; justify-content: center; flex-wrap: wrap; margin-left: auto; margin-right: auto; }
.pricing-tab {
  padding: .72em 1.4em; border-radius: 999px; font-weight: 700; font-size: .9rem;
  color: var(--c-muted);
  transition: background var(--t-1) var(--ease), color var(--t-1) var(--ease), transform var(--t-1) var(--ease-bounce);
}
.pricing-tab:hover { color: var(--c-ink); }
.pricing-tab.is-active { background: var(--c-primary); color: #fff; transform: scale(1.02); }

.pricing-panel { display: none; }
.pricing-panel.is-active { display: block; animation: fadeSlideUp var(--t-3) var(--ease); }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pricing-table-wrap {
  background: var(--c-surface); border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 32px rgba(0,0,0,.04), 0 32px 64px rgba(0,0,0,.03);
  overflow: hidden; overflow-x: auto;
}
.pricing-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.pricing-table thead {
  background: linear-gradient(180deg, var(--c-bg), var(--c-bg-alt));
  border-bottom: 1px solid var(--c-line);
}
.pricing-table th, .pricing-table td { padding: 14px 20px; text-align: left; }
.pricing-table th { font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 700; }
.pricing-table tbody tr { border-bottom: 1px solid var(--c-line); transition: background var(--t-1) var(--ease); }
.pricing-table tbody tr:hover { background: var(--c-bg-alt); }
.pricing-table tbody tr:last-child { border-bottom: 0; }
.pricing-table td { font-size: .95rem; }
.pricing-table td b { color: var(--c-ink); font-weight: 800; }
.pricing-foot {
  margin-top: 16px; padding: 16px 20px;
  background: var(--p-amber-bg); border-radius: var(--r);
  border: 1px solid rgba(149,100,0,.12); color: var(--c-ink-2); font-size: .9rem;
}
.pricing-foot strong { color: var(--c-accent-2); }
.pricing-foot p { margin: 0; }

/* ─────────────────────────── Why Us ─────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform var(--t-2) var(--ease), background var(--t-2) var(--ease), border-color var(--t-2) var(--ease);
}
.why:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.why__num {
  font-family: var(--font-mono); font-weight: 700; font-size: 2rem;
  color: rgba(255,255,255,.25);
  margin-bottom: 14px; display: block;
}
.why h3 { color: rgba(255,255,255,.92); font-size: 1.05rem; margin-bottom: 8px; }
.why p  { color: rgba(255,255,255,.55); font-size: .9rem; margin: 0; line-height: 1.65; }
.why b  { color: rgba(255,255,255,.85); }

/* ─────────────────────── Fleet — Z-Axis Cascade ─────────────── */
.fleet {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-top: 8px;
}
.fleet-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--s-bezel);
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
/* Z-axis cascade — more dramatic tilt per high-end-visual-design v2 */
.fleet-card:nth-child(2) { transform: rotate(.8deg) translateY(-3px); }
.fleet-card:nth-child(3) { transform: rotate(-1deg) translateY(2px); }
.fleet-card:nth-child(4) { transform: rotate(.6deg) translateY(-1px); }
.fleet-card:hover { transform: translateY(-8px) rotate(0deg) !important; box-shadow: var(--s-hover); }
.fleet-card--feat { border: 1px solid rgba(0,0,0,.12); }
.fleet-card__media { aspect-ratio: 16 / 9; background: var(--c-bg-alt); overflow: hidden; }
.fleet-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-3) var(--ease); }
.fleet-card:hover .fleet-card__media img { transform: scale(1.04); }
.fleet-card h3 { padding: 20px 22px 0; font-size: 1.1rem; margin-bottom: 6px; }
.fleet-card p  { padding: 0 22px; color: var(--c-muted); font-size: .9rem; }
.fleet-card__feats {
  list-style: none; padding: 0 22px; margin: 14px 0 18px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.fleet-card__feats li {
  background: var(--c-bg-alt); color: var(--c-ink-2);
  padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600;
}
.fleet-card__foot {
  margin-top: auto; padding: 16px 22px;
  border-top: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.fleet-card__foot span { font-size: .84rem; color: var(--c-muted); }
.fleet-card__foot b { color: var(--c-ink); font-size: 1.05rem; font-family: var(--font-sans); font-weight: 800; }

/* ─────────────────────────── Steps ──────────────────────────── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: var(--c-surface); border-radius: var(--r-lg);
  padding: 24px 22px;
  border: 1px solid var(--c-line);
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--s-hover); }
.steps li::after {
  content: ""; position: absolute; top: 50%; right: -18px;
  width: 36px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0px, var(--c-line) 4px, transparent 4px, transparent 8px);
}
.steps li:last-child::after { display: none; }
.steps__num {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--c-primary);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 18px;
  border: 1px solid var(--c-line);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.steps p  { color: var(--c-muted); font-size: .9rem; margin: 0; line-height: 1.6; }
.steps a  { color: var(--c-accent-2); font-weight: 700; }

/* ─────────────────────────── Places ─────────────────────────── */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.place {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-bezel);
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.place:hover { transform: translateY(-3px); box-shadow: var(--s-hover); }
.place__media { aspect-ratio: 16 / 10; overflow: hidden; }
.place__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-3) var(--ease); }
.place:hover .place__media img { transform: scale(1.05); }
.place__body { padding: 22px 24px 26px; }
.place__body h3 { font-size: 1.1rem; }
.place__body p  { color: var(--c-muted); font-size: .9rem; margin: 0 0 16px; line-height: 1.6; }
.place__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.place__meta span, .place__tag {
  background: var(--c-bg-alt); padding: 5px 12px;
  border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--c-ink-2);
}
/* Semantic place tag variants (no emojis) */
.place__tag--dist::before  { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink-2); margin-right: 5px; vertical-align: middle; }
.place__tag--time::before  { content: ""; display: inline-block; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.place__tag--price { background: var(--p-amber-bg); color: var(--p-amber-tx); font-weight: 700; }

/* ─────────────────────── Testimonials — CSS Masonry 2-col ───── */
/* DESIGN_VARIANCE=8: No 3-equal-column card layouts */
.testimonials {
  columns: 2; column-gap: 20px;
  display: block;
}
.testimonial {
  background: #fff; border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--s-bezel);
  break-inside: avoid; margin-bottom: 20px;
  display: block;
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--s-hover); }
/* Editorial quote mark */
.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem; line-height: 1;
  color: var(--c-line);
  display: block; margin-bottom: -12px;
  margin-left: -4px;
}
.testimonial__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testimonial__head strong { display: block; font-size: .95rem; }
.testimonial__head span  { font-size: .78rem; color: var(--c-muted); display: block; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-primary);
  display: grid; place-items: center;
  font-family: var(--font-sans); font-weight: 700; color: #fff; font-size: .9rem;
  flex-shrink: 0;
  border: 1px solid var(--c-line);
}
.stars { color: #FFB020; font-size: .8rem; letter-spacing: 1px; }
.testimonial p  {
  font-size: .97rem; color: var(--c-ink-2); line-height: 1.75;
  font-family: var(--font-display);
  font-style: italic;
}
.testimonial em {
  font-style: normal; font-size: .78rem; color: var(--c-muted);
  border-top: 1px solid var(--c-line); padding-top: 14px; display: block; margin-top: 4px;
}

/* ─────────────────────────── FAQ ────────────────────────────── */
/* Stripped to border-bottom dividers per minimalist-ui spec */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq__item {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--c-line);
  box-shadow: none;
  transition: none;
}
.faq__item:first-child { border-top: 1px solid var(--c-line); }
.faq__item[open] { box-shadow: none; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  color: var(--c-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* Sharp + / − toggle per minimalist-ui spec */
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem; font-weight: 300; line-height: 1;
  color: var(--c-muted); flex-shrink: 0;
  transition: color var(--t-1) var(--ease);
}
.faq__item[open] summary::after { content: "−"; color: var(--c-ink); }
.faq__body { padding: 0 0 20px; color: var(--c-ink-2); animation: fadeSlideUp var(--t-2) var(--ease); }
.faq__body p:last-child { margin-bottom: 0; }
.faq__body ul, .faq__body ol { margin: 0 0 10px; padding-left: 20px; }
.faq__body a { color: var(--c-accent-2); font-weight: 600; }
.faq__body a:hover { text-decoration: underline; }

/* ─────────────────────────── CTA card ──────────────────────── */
.cta-card {
  background: var(--c-primary);
  color: #fff; border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 0% 100%, rgba(255,255,255,.03), transparent 65%);
}
.cta-card__copy { padding: clamp(32px, 4.5vw, 64px); position: relative; z-index: 1; }
.cta-card__copy h2 { color: #fff; }
.cta-card__copy p  { color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.7; }
.cta-card__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.cta-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; color: rgba(255,255,255,.82); }
.cta-card__list b { color: var(--c-accent); margin-right: 6px; }
.cta-card__list a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,.28); }
.cta-card__list a:hover { color: var(--c-accent); }
.cta-card__map { background: #04302F; min-height: 420px; }
.cta-card__map iframe { width: 100%; height: 100%; border: 0; min-height: 420px; }

/* ─────────────────────────── Footer ─────────────────────────── */
.site-footer {
  background: var(--c-primary);
  color: rgba(255,255,255,.65);
  padding: 72px 0 28px;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col h4 { color: rgba(255,255,255,.95); margin-bottom: 16px; font-family: var(--font-sans); letter-spacing: .1em; font-size: .72rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.68); font-size: .92rem; transition: color var(--t-1) var(--ease), transform var(--t-1) var(--ease); display: inline-block; }
.footer-col a:hover { color: var(--c-accent); transform: translateX(3px); }
.footer-col p { color: rgba(255,255,255,.58); font-size: .9rem; max-width: 360px; line-height: 1.7; }
.footer-col--brand .brand { color: #fff; margin-bottom: 18px; }

/* Nền sáng phía sau logo trên footer tối — logo có nền trắng sẵn nên chỉ cần bo góc */
.brand__logo--footer {
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.14);
  filter: none;
}

.footer-contact b { color: var(--c-accent); font-weight: 700; }

.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-sm); color: rgba(255,255,255,.8);
  transition: background var(--t-2) var(--ease), color var(--t-1) var(--ease),
              transform var(--t-1) var(--ease-bounce), border-color var(--t-1) var(--ease);
}
.socials a:hover { transform: translateY(-3px) scale(1.05); border-color: transparent; }
.socials a[aria-label="Facebook"]:hover  { background: #1877F2; color: #fff; }
.socials a[aria-label="Zalo"]:hover      { background: #0068FF; color: #fff; }
.socials a[aria-label="TikTok"]:hover    { background: #010101; color: #fff; }
.socials a[aria-label="YouTube"]:hover   { background: #FF0000; color: #fff; }
.socials .zalo-icon--social { width: 24px; height: 24px; }

.site-footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.site-footer__bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__bottom a:hover { color: var(--c-accent); }

/* ─────────────────────── Sticky mobile CTA ──────────────────── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 38;
  background: rgba(253,251,247,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 -8px 40px rgba(0,0,0,.10);
  padding: 10px 14px env(safe-area-inset-bottom);
  gap: 8px;
}
.sticky-cta__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 8px; border-radius: var(--r);
  font-weight: 700; font-size: .9rem; letter-spacing: -.005em; white-space: nowrap;
}
.sticky-cta__btn--call { background: var(--c-success); color: #fff; }
.sticky-cta__btn--zalo { background: var(--c-zalo); color: #fff; }
.sticky-cta__btn--book { background: var(--c-primary); color: #fff; }

/* ─────────────────────── FAB Stack (phone + zalo) ──────────────── */
.fab-stack {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  /* sits directly above scroll-top: scroll-top.bottom(28) + scroll-top.h(52) + gap(8) = 88px */
  bottom: 88px;
  z-index: 39;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow:
    0 4px 14px rgba(0,0,0,.2),
    0 0 0 1px rgba(255,255,255,.12);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
.fab:hover  { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.12); }
.fab:active { transform: translateY(0) scale(.96); }

.fab--phone { background: var(--c-success); color: #fff; }
.fab--zalo  { background: var(--c-zalo); color: #fff; overflow: hidden; }
.fab--zalo img { width: 30px; height: 30px; object-fit: contain; display: block; }

/* Hide FABs on mobile — sticky-cta bar already covers these actions */
@media (max-width: 720px) { .fab-stack { display: none; } }

/* ───────────────────────── Scroll to top ───────────────────────── */
.scroll-top {
  position: fixed; right: clamp(18px, 3vw, 34px); bottom: 28px; z-index: 39;
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-primary); color: #fff;
  box-shadow: 0 10px 34px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.96);
  transition:
    opacity var(--t-2) var(--ease),
    transform var(--t-2) var(--ease),
    visibility var(--t-2) var(--ease),
    background var(--t-1) var(--ease);
}
.scroll-top.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.scroll-top:hover { background: var(--c-accent-2); transform: translateY(-2px) scale(1.02); }
.scroll-top:active { transform: translateY(0) scale(.98); }

/* ─────────────────────────── Toast ──────────────────────────── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-ink); color: #fff;
  padding: 14px 22px; border-radius: var(--r); box-shadow: var(--s-3);
  font-weight: 600; font-size: .92rem;
  opacity: 0;
  transition: opacity var(--t-2) var(--ease), transform var(--t-2) var(--ease);
  z-index: 100;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-success { background: var(--c-success); }

/* ─────────────────── Booking Success Modal ──────────────────── */
.booking-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.booking-modal[hidden] { display: none; }

.booking-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(17,17,17,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.booking-modal__box {
  position: relative; z-index: 1;
  background: var(--c-surface);
  border-radius: var(--r-3xl);
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 32px 80px rgba(0,0,0,.2);
  width: 100%; max-width: 440px;
  overflow: hidden;
  animation: modal-in 300ms cubic-bezier(.34,1.4,.64,1) both;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(28px) scale(.93); }
  to   { opacity: 1; transform: none; }
}

/* ── Close button ── */
.booking-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 30px; height: 30px;
  border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--c-muted);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.booking-modal__close:hover { background: var(--c-bg-alt); color: var(--c-ink); border-color: var(--c-line-strong); }

/* ── Head — subtle success tint ── */
.booking-modal__head {
  background: linear-gradient(170deg, rgba(52,101,56,.08) 0%, rgba(52,101,56,.02) 55%, transparent 100%);
  border-bottom: 1px solid var(--c-line);
  padding: 36px 28px 24px;
  text-align: center;
}

.booking-modal__icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  background: var(--c-success); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(52,101,56,.32);
}

.booking-modal__title {
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -.025em; color: var(--c-ink);
  margin: 0 0 6px;
}

.booking-modal__message {
  font-size: .9rem; color: var(--c-muted); line-height: 1.6;
  margin: 0;
}
.booking-modal__message strong { color: var(--c-ink-2); font-weight: 700; }

/* ── Summary list ── */
.booking-modal__summary {
  margin: 0;
  padding: 0 28px;
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 0;
}
.booking-modal__summary dt,
.booking-modal__summary dd {
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: .875rem; line-height: 1.45;
}
.booking-modal__summary dt {
  color: var(--c-muted); font-weight: 500;
  padding-right: 12px; white-space: nowrap;
}
.booking-modal__summary dd {
  margin: 0; font-weight: 600; color: var(--c-ink-2);
  word-break: break-word;
}
.booking-modal__summary dt:last-of-type,
.booking-modal__summary dd:last-of-type { border-bottom: none; }

/* ── Footer ── */
.booking-modal__footer { padding: 20px 28px; }
.booking-modal__btn { width: 100%; }

/* ─────────────────────── Scroll Reveals ─────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
  transition:
    opacity     900ms var(--ease),
    transform   900ms var(--ease),
    filter      700ms var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; filter: blur(0); }

/* ─────────────── Spotlight Border Card (MOTION_INTENSITY=6) ──── */
/* JS sets --spotlight-x and --spotlight-y on mousemove */
.spotlight {
  position: relative; isolation: isolate;
}
.spotlight::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(0,0,0,.06) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 380ms var(--ease);
  pointer-events: none; z-index: 1;
}
.spotlight:hover::after { opacity: 1; }

/* Shimmer loading skeleton */
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}
.shimmer {
  background: linear-gradient(90deg, var(--c-bg-alt) 25%, rgba(255,255,255,.7) 50%, var(--c-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

/* ─────────────────────────── Responsive ─────────────────────── */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(6, 1fr); }
  .service:nth-child(1) { grid-column: span 4; }
  .service:nth-child(2) { grid-column: span 2; grid-row: span 2; }
  .service:nth-child(3) { grid-column: span 3; }
  .service:nth-child(4) { grid-column: span 1; }
  .service:nth-child(5) { grid-column: span 3; }
  .service:nth-child(6) { grid-column: span 3; }
  .why-grid, .fleet, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .metric { border-right: 0; border-bottom: 1px dashed var(--c-line); padding-bottom: 16px; }
  .metric:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; padding-top: 12px; }
  .routes, .testimonials, .places { grid-template-columns: repeat(2, 1fr); }
  /* Menu nhiều mục — chỉ hiện số, giấu icon để header không tràn */
  .primary-nav .has-sub .submenu { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy  { max-width: none; }
  .hero__usps  { grid-template-columns: 1fr; }
  .services    { grid-template-columns: 1fr 1fr; }
  .service:nth-child(1), .service:nth-child(2), .service:nth-child(3),
  .service:nth-child(4), .service:nth-child(5), .service:nth-child(6) {
    grid-column: span 1; grid-row: span 1;
  }
  .section__head { padding-bottom: 14px; }
}

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .header-cta .btn--phone, .header-cta .btn--primary { display: none; }
  .hamburger { display: inline-flex; width: 44px; height: 44px; }

  /* ── Mobile header — drop the floating pill, use a clean flat bar ── */
  .site-header { padding: 0; }
  .site-header__bar {
    padding: 7px 16px;
    background: rgba(253,251,247,.9);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.07);
    transition: background var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
  }
  .site-header__inner {
    flex: 1; min-height: 0; padding: 0;
    background: none; border: 0; border-radius: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-header.is-scrolled .site-header__bar {
    background: rgba(253,251,247,.98);
    box-shadow: 0 2px 18px rgba(0,0,0,.08);
  }
  .site-header.is-scrolled .site-header__inner { box-shadow: none; background: none; }
  .site-header .brand__logo { height: 48px; }

  .booking__inner { padding: 22px; }
  .booking__form > .field-row:nth-of-type(2) { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card__map { min-height: 300px; }
  .cta-card__map iframe { min-height: 300px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; }
  .scroll-top {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: 46px; height: 46px;
  }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* iOS Safari auto-zooms when a focused input has font-size < 16px */
  .field input, .field select, .field textarea { font-size: 16px; }
  /* Larger touch targets for inline quick-action buttons (≥44px tall) */
  .btn--mini { padding: .72em 1.2em; font-size: .86rem; }
  .route__footer .btn--mini,
  .pricing-table .btn--mini { min-height: 40px; }
  .pricing-hint { display: block; }
  /* Remove z-axis cascade rotations on mobile — touch targets */
  .fleet-card:nth-child(2),
  .fleet-card:nth-child(3),
  .fleet-card:nth-child(4) { transform: none; }
  /* Remove dot-grid on mobile — performance */
  .section--alt { background-image: none; }
  .section--dark { background-image: none; }
}

@media (max-width: 600px) {
  .services, .routes, .why-grid { grid-template-columns: 1fr; }
  /* Quy trình — 2×2 grid instead of a 4-tall stack */
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps li { padding: 18px 15px; }
  .steps__num { width: 34px; height: 34px; font-size: .95rem; }
  .field-row, .booking__form > .field-row:nth-of-type(2) { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .pricing-tab { padding: .62em 1em; font-size: .84rem; }
  .pricing-table th, .pricing-table td { padding: 12px 14px; font-size: .87rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { flex: none; width: 100%; }
  .section__head { margin-bottom: 24px; }
  .site-header__bar { padding-left: 13px; padding-right: 13px; }

  /* ── Swipeable carousels — replace tall vertical stacks ──
     Đội xe / Du lịch / Đánh giá become horizontal swipe galleries.
     A slice of the next card peeks in to signal "vuốt ngang". */
  .fleet, .places, .testimonials {
    display: flex; flex-wrap: nowrap;
    columns: auto; grid-template-columns: none;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin: 0 -28px; padding: 8px 28px 20px;
    scroll-padding: 0 28px;
    scrollbar-width: none;
  }
  .fleet::-webkit-scrollbar,
  .places::-webkit-scrollbar,
  .testimonials::-webkit-scrollbar { display: none; }
  .fleet-card, .place, .testimonial {
    flex: 0 0 81%; scroll-snap-align: start; margin: 0;
    /* Stay visible — carousel cards sit off-viewport until swiped, so the
       scroll-reveal observer would otherwise keep them at opacity 0. */
    opacity: 1; transform: none; filter: blur(0);
  }
}

@media (max-width: 480px) {
  /* Keep the promo marquee visible — it carries the offer text.
     Hide the badge instead to free up room on narrow screens. */
  .announcement { font-size: .8rem; }
  .announcement__inner { gap: 8px; padding: 8px 12px; }
  .announcement__badge { display: none; }
  .announcement__track > span { padding: 0 26px; }
  .announcement__cta { font-size: .82rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { filter: none; }
}

/* Print */
@media print {
  .site-header, .sticky-cta, .scroll-top, .announcement, .booking, .cta-card__map, .site-footer { display: none; }
  body { background: #fff; }
}

/* ===== Cẩm nang chi tiết từng tuyến (#tuyen-chi-tiet) ===== */
.route-guide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.route-guide__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.route-guide__item h3 {
  font-size: 1.16rem;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.route-guide__item p {
  color: var(--c-muted);
  font-size: .97rem;
  line-height: 1.65;
  margin: 0 0 10px;
}
.route-guide__cta {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-accent);
  text-decoration: none;
}
.route-guide__cta:hover { text-decoration: underline; }
.route-guide__foot {
  margin: 18px 0 0;
  padding: 16px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  color: var(--c-muted);
  font-size: .97rem;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .route-guide { grid-template-columns: 1fr; }
}

/* =============================================================
   COMPONENT v4 — bổ sung cho bố cục mới
   ============================================================= */

/* ───────────── Dropdown tuyến đường trong menu ───────────── */
.primary-nav .has-sub { position: relative; }
.primary-nav .has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.primary-nav .has-sub .caret { transition: transform 220ms var(--ease); }
.primary-nav .has-sub:hover .caret,
.primary-nav .has-sub:focus-within .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 8px);
  display: grid; grid-template-columns: repeat(3, minmax(210px, 1fr)); gap: 4px 26px;
  padding: 20px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: 0 18px 48px -12px rgba(6,88,90,.22), 0 2px 8px rgba(6,88,90,.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms var(--ease), transform 240ms var(--ease), visibility 240ms;
  z-index: 60;
}
/* Cầu nối vô hình để chuột đi từ menu xuống submenu không bị mất hover */
.primary-nav .has-sub::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px;
}
.primary-nav .has-sub:hover .submenu,
.primary-nav .has-sub.is-open .submenu,
.primary-nav .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.submenu__col { display: flex; flex-direction: column; gap: 2px; }
.submenu__title {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--c-brand-ink); padding: 4px 8px 8px;
  border-bottom: 1px solid var(--c-line); margin-bottom: 6px;
}
.submenu a {
  font-size: .88rem; font-weight: 500; color: var(--c-ink-2);
  padding: 7px 9px; border-radius: var(--r-sm); white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.submenu a:hover { background: var(--c-brand-50); color: var(--c-brand-ink); }

.mobile-menu__sub {
  font-size: .92rem !important; font-weight: 500 !important;
  padding-left: 28px !important; color: var(--c-muted) !important;
  border-left: 2px solid var(--c-brand-100); margin-left: 12px;
}

/* ───────────── Khối 2 hình thức đi (ghép ghế / bao xe) ───────────── */
.offer {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
}
.offer + .offer { border-top: 1px dashed var(--c-line); }
.offer--reverse .offer__media { order: 2; }

.offer__media { position: relative; }
.offer__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--s-2);
}
.offer__tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--c-brand); color: #04302F;
  font-size: .76rem; font-weight: 800; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(6,88,90,.28);
}
.offer__tag--alt { background: var(--c-accent); color: #3D2503; }

.offer__copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2;
  letter-spacing: -.02em; margin: 0 0 14px;
}
.price-hl { color: var(--c-accent-2); white-space: nowrap; }
.offer__copy > p { color: var(--c-muted); margin: 0 0 20px; max-width: 56ch; }

.offer__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.offer__list li {
  position: relative; padding-left: 30px;
  font-size: .95rem; color: var(--c-ink-2); line-height: 1.6;
}
.offer__list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-brand-50);
  box-shadow: inset 0 0 0 1.5px var(--c-brand);
}
.offer__list li::after {
  content: ""; position: absolute; left: 5.5px; top: .75em;
  width: 7px; height: 3.5px;
  border-left: 2px solid var(--c-brand-ink); border-bottom: 2px solid var(--c-brand-ink);
  transform: rotate(-45deg);
}
.offer__list b { font-weight: 700; color: var(--c-ink); }
.offer__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ───────────── Điểm đón phổ biến ───────────── */
.pickup { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pickup__group h3 {
  font-size: .95rem; margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.pickup__group h3::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-50);
}
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: .85rem; color: var(--c-ink-2);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  padding: 7px 13px; border-radius: 999px;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.chips li:hover { border-color: var(--c-brand); background: var(--c-brand-50); }

/* ───────────── Hotline nổi (vòng sóng lan toả) ───────────── */
.hotline-ring { position: fixed; left: 18px; bottom: 18px; z-index: 90; }
.hotline-ring__link { position: relative; display: flex; align-items: center; }
.hotline-ring__btn {
  position: relative; z-index: 2;
  width: 54px; height: 54px; flex: 0 0 54px;
  display: grid; place-items: center;
  background: var(--c-accent); color: #3D2503;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(240,152,25,.42);
  animation: hotlineShake 2.4s ease-in-out infinite;
}
.hotline-ring__wave {
  position: absolute; left: 0; top: 50%; z-index: 1;
  width: 54px; height: 54px; margin-top: -27px;
  border-radius: 50%; background: rgba(240,152,25,.34);
  animation: hotlineWave 2.2s ease-out infinite;
}
.hotline-ring__wave--2 { animation-delay: 1.1s; }
.hotline-ring__label {
  margin-left: -18px; padding: 8px 16px 8px 26px;
  background: var(--c-primary); color: #fff;
  font-size: .78rem; line-height: 1.25; font-weight: 500;
  border-radius: 0 999px 999px 0;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(6,88,90,.24);
}
.hotline-ring__label b { display: block; font-size: .95rem; font-weight: 800; letter-spacing: .01em; }
@keyframes hotlineWave {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes hotlineShake {
  0%, 55%, 100% { transform: rotate(0); }
  60%, 70%, 80% { transform: rotate(-13deg); }
  65%, 75%, 85% { transform: rotate(13deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hotline-ring__btn, .hotline-ring__wave { animation: none; }
  .hotline-ring__wave { opacity: 0; }
}

.fab--msg { background: var(--c-primary); color: #fff; }
.fab--msg:hover { background: var(--c-primary-2); }

/* ───────────── Responsive cho khối mới ───────────── */
@media (max-width: 1100px) {
  .submenu { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
}
@media (max-width: 900px) {
  .offer { grid-template-columns: 1fr; gap: 24px; }
  .offer--reverse .offer__media { order: 0; }
  .schedule, .pickup { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* Sticky bar dưới cùng đã lo phần gọi — tránh chồng nút */
  .hotline-ring { display: none; }
}


/* Tiêu đề hero trên máy nhỏ — tránh chữ tràn khỏi mép màn hình */
@media (max-width: 560px) {
  .hero__title { font-size: clamp(1.85rem, 8vw, 2.4rem); letter-spacing: -.02em; }
  .hero__title em { display: inline-block; }
  .offer__copy h3 { font-size: clamp(1.35rem, 6.4vw, 1.8rem); }
  .btn--xl { padding: 1em 1.35em; font-size: .95rem; }
  .hero__cta .btn--xl { width: 100%; justify-content: center; }
}


/* ───────────── Xe chạy liên tục (thay bảng lịch trình) ───────────── */
.runtime { display: grid; gap: 22px; }

.runtime__lead {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-brand);
  border-radius: var(--r-lg);
  padding: 18px 22px;
}
.runtime__lead strong { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.runtime__lead span   { display: block; color: var(--c-muted); font-size: .92rem; margin-top: 2px; }

/* Chấm nhịp — gợi ý "đang chạy", không phải trang trí vô nghĩa */
.runtime__pulse {
  position: relative; flex: 0 0 14px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--c-brand);
}
.runtime__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--c-brand); animation: runtimePulse 2s ease-out infinite;
}
@keyframes runtimePulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Dải khung giờ trong ngày */
.runtime__band {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--c-line);
}
.runtime__band li {
  background: var(--c-surface);
  padding: 16px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 3px;
}
.runtime__band b    { font-size: .9rem; color: var(--c-ink); }
.runtime__band span { font-size: .78rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.runtime__band em {
  font-style: normal; font-size: .76rem; font-weight: 700;
  color: var(--c-brand-ink); background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  padding: 3px 10px; border-radius: 999px;
  margin: 6px auto 0;
}
/* Khung đêm — vẫn phục vụ nhưng cần gọi trước, đánh dấu bằng màu cam */
.runtime__band li:last-child em {
  color: var(--p-amber-tx); background: var(--p-amber-bg); border-color: #F5D9A8;
}

.runtime__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.runtime__card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.runtime__card:hover { border-color: var(--c-brand); box-shadow: var(--s-2); }
.runtime__card h3 { margin: 0 0 7px; font-size: .98rem; letter-spacing: -.01em; }
.runtime__card p  { margin: 0; font-size: .89rem; color: var(--c-muted); line-height: 1.6; }
.runtime__card b  { color: var(--c-ink); font-weight: 700; }

.schedule__note {
  margin: 22px 0 0; padding: 14px 18px;
  background: var(--p-amber-bg); border-left: 3px solid var(--c-accent);
  border-radius: var(--r-sm);
  font-size: .92rem; color: var(--c-ink-2);
}
.schedule__note a { color: var(--c-accent-2); font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
  .runtime__cards { grid-template-columns: repeat(2, 1fr); }
  .runtime__band  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .runtime__cards { grid-template-columns: 1fr; }
  .runtime__band  { grid-template-columns: repeat(2, 1fr); }
  .runtime__lead  { flex-direction: row; align-items: flex-start; padding: 16px; }
}


/* ───────────── Anchor không bị header dính che ───────────── */
/* Header sticky cao ~92px trên desktop, ~72px trên mobile. Không có
   scroll-margin thì bấm link #bang-gia sẽ nhảy tới chỗ tiêu đề bị khuất. */
:target,
section[id],
article[id],
aside[id] { scroll-margin-top: 104px; }

@media (max-width: 900px) {
  :target,
  section[id],
  article[id],
  aside[id] { scroll-margin-top: 84px; }
}


/* ───────────── Ghi công ảnh (bắt buộc với giấy phép CC BY-SA) ───────────── */
.place__media { position: relative; }
.place__credit {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 12px 7px;
  font-size: .66rem; line-height: 1.3; color: rgba(255,255,255,.82);
  background: linear-gradient(to top, rgba(4,42,44,.78), transparent);
  pointer-events: none;
}
