/* ==========================================================================
   FAST CAR — Xe đưa đón sân bay Nội Bài
   style.css — mobile-first, không phụ thuộc build step
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Màu lấy từ logo: navy nền, đỏ nhấn, vàng phụ, bạc chữ phụ */
  --navy-900: #050a18;
  --navy-800: #0a1230;
  --navy-700: #111b3d;
  --navy-600: #1a2650;
  --red: #e01e26;
  --red-dark: #b7161d;
  --red-soft: #fdeaeb;
  --gold: #f5b301;
  --silver: #c7d2e5;

  --text: #1a2138;
  --text-muted: #5b6780;
  --border: #e2e7f0;
  --surface: #ffffff;
  --surface-alt: #f4f6fb;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 18, 48, 0.06);
  --shadow: 0 6px 20px rgba(10, 18, 48, 0.1);
  --shadow-lg: 0 16px 40px rgba(10, 18, 48, 0.16);
  --shadow-red: 0 8px 22px rgba(224, 30, 38, 0.32);

  --header-h: 64px;
  --section-y: 52px;

  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 992px) {
  :root {
    --header-h: 76px;
    --section-y: 84px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* chừa chỗ cho thanh CTA cố định ở mobile */
@media (max-width: 991.98px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 14px;
}

@media (min-width: 992px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 35px;
  }

  h3 {
    font-size: 21px;
  }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--navy-800);
  color: #fff;
}

.section--dark h2 {
  color: #fff;
}

.section--dark p {
  color: var(--silver);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 16px;
}

.section--dark .section-head p {
  color: var(--silver);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section--dark .eyebrow {
  color: var(--gold);
}

.text-red {
  color: var(--red);
}

.text-gold {
  color: var(--gold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Bỏ qua tới nội dung chính — cho người dùng bàn phím và trình đọc màn hình */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Số điện thoại hiển thị dạng 0584 730 000: không cho ngắt dòng giữa các nhóm số */
a[href^="tel:"] {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn--red:hover {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(224, 30, 38, 0.42);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
}

.btn--gold:hover {
  background: #e0a400;
  color: var(--navy-900);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-height: 56px;
  font-size: 17px;
  padding: 14px 30px;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. Topbar + Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: var(--silver);
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

.topbar a:hover {
  color: var(--gold);
}

/* Hàng chữ chạy ngang liên tục.
   JS nhân đôi nội dung rồi thêm .is-ready, nên khi không có JS thanh này
   vẫn hiển thị bình thường (đứng yên) thay vì chạy nửa vời. */
.marquee {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee.is-ready .marquee__track {
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}

/* dừng lại để khách kịp đọc và bấm được số điện thoại */
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding-right: 19px;
}

.marquee__item svg {
  flex: none;
  color: var(--gold);
}

.marquee__item::after {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--red);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee.is-ready .marquee__track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }

  .marquee__group[aria-hidden="true"] {
    display: none;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
}

.brand__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand__tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.02em;
}

@media (min-width: 992px) {
  .brand__logo {
    width: 52px;
    height: 52px;
  }

  .brand__name {
    font-size: 21px;
  }
}

.nav {
  display: none;
}

@media (min-width: 992px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 600;
    padding: 4px 0;
  }

  .nav a:hover {
    color: var(--gold);
  }

  /* gạch chân báo section đang xem */
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
  }

  .nav a.is-active {
    color: var(--gold);
  }

  .nav a.is-active::after {
    transform: scaleX(1);
  }
}

.header__cta {
  display: none;
}

@media (min-width: 992px) {
  .header__cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1080;
  visibility: hidden;
  opacity: 0;
  /* visibility đổi tức thì khi mở, chỉ trễ khi đóng — nếu để nó cùng
     transition với opacity thì phần tử vẫn là hidden lúc gọi focus() */
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease, visibility 0s linear 0s;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 24, 0.6);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--navy-800);
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.drawer__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.drawer__nav a {
  color: #fff;
  font-weight: 600;
  padding: 13px 12px;
  border-radius: 10px;
}

.drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(900px 460px at 82% 12%, rgba(224, 30, 38, 0.24), transparent 62%),
    radial-gradient(760px 420px at 8% 88%, rgba(26, 79, 160, 0.32), transparent 60%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 40px 0 46px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    padding: 68px 0 76px;
  }
}

/* Ảnh nền hero. Đặt ở ::before với z-index âm nên nằm trên lớp gradient nền
   nhưng vẫn dưới chữ. Mask lo phần chuyển mờ, không cần lớp phủ riêng. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 300px;
  z-index: -1;
  background-image: url("../img/hero-san-bay-960.jpg");
  background-size: cover;
  background-position: 62% center;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
}

@media (min-width: 992px) {

  /* desktop: ảnh phủ toàn hero, mờ dần về trái để chữ trắng luôn đọc được */
  .hero::before {
    inset: 0;
    height: auto;
    background-image: url("../img/hero-san-bay.jpg");
    background-position: 58% center;
    opacity: 0.72;
    -webkit-mask-image: linear-gradient(96deg, transparent 0%, transparent 20%, rgba(0, 0, 0, 0.5) 40%, #000 66%);
    mask-image: linear-gradient(96deg, transparent 0%, transparent 20%, rgba(0, 0, 0, 0.5) 40%, #000 66%);
  }
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}

.hero__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 46px;
    align-items: center;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.hero__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero h1 {
  color: #fff;
  margin-bottom: 16px;
}

.hero__lead {
  color: var(--silver);
  font-size: 17px;
  margin-bottom: 22px;
  max-width: 560px;
}

.hero__points {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}

@media (min-width: 576px) {
  .hero__points {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  color: #eef2f9;
}

.hero__points svg {
  flex: none;
  margin-top: 3px;
  color: var(--gold);
}

@media (min-width: 480px) {
  .hero__actions {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }
}

/* nút chính hơi to hơn nút phụ để mắt bắt đúng thứ tự ưu tiên */
.hero__actions .btn--red {
  padding-inline: 34px;
  box-shadow: 0 12px 30px rgba(224, 30, 38, 0.42);
  width: 100%;
  height: 56px;
}

.hero__actions .btn--red:hover {
  transform: translateY(-2px);
}

.hero__actions .btn--red:active {
  transform: translateY(1px);
}

.hero__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--silver);
}

.hero__note svg {
  flex: none;
  color: #22c55e;
}

.hero__trust {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.hero__trust b {
  display: block;
  font-size: 22px;
  color: var(--gold);
  line-height: 1.2;
}

.hero__trust span {
  font-size: 12.5px;
  color: var(--silver);
}

/* --------------------------------------------------------------------------
   6. Booking form card
   -------------------------------------------------------------------------- */
.bookcard {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
}

.bookcard__head {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  padding: 16px 20px;
}

.bookcard__head h2,
.bookcard__head h3 {
  color: #fff;
  font-size: 19px;
  margin: 0 0 2px;
}

.bookcard__head p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.bookcard__body {
  padding: 18px 20px 22px;
}

/* Section Liên hệ chỉ còn một thẻ form: giới hạn bề ngang và căn giữa cho khỏi
   bị kéo dài hết container, đồng thời nới padding một chút cho thoáng. */
.bookcard-solo {
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bookcard-solo .bookcard__head {
    padding: 20px 26px;
    text-align: center;
  }

  .bookcard-solo .bookcard__head h3 {
    font-size: 21px;
  }

  .bookcard-solo .bookcard__body {
    padding: 24px 26px 28px;
  }
}

.form-grid {
  display: grid;
  gap: 13px;
}

@media (min-width: 480px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field>label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.field .req {
  color: var(--red);
}

.field .opt {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12.5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 16px;
  /* <16px làm iOS tự zoom khi focus */
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 30, 38, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa5ba;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  background: var(--red-soft);
}

.field__error {
  display: none;
  font-size: 12.5px;
  color: var(--red);
  font-weight: 600;
}

.field.has-error .field__error {
  display: block;
}

/* honeypot — bot điền vào thì bỏ qua submit */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 12px 0 0;
  text-align: center;
}

.form-alert {
  display: none;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: 1.5px solid transparent;
}

.form-alert.is-visible {
  display: block;
}

.form-alert--ok {
  background: #e9f9ef;
  border-color: #1eb85a;
  color: #10693a;
}

.form-alert--err {
  background: var(--red-soft);
  border-color: var(--red);
  color: #9c1219;
}

.form-alert a {
  text-decoration: underline;
}

.spinner {
  width: 17px;
  height: 17px;
  flex: none;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2s;
  }

  html {
    scroll-behavior: auto;
  }

  /* bỏ chuyển động cho người dùng nhạy cảm, nhưng giữ visibility để focus vẫn ăn */
  .drawer,
  .modal,
  .drawer__panel,
  .modal__dialog,
  .to-top,
  .card,
  .btn {
    transition-duration: 0.01ms !important;
  }

  .card:hover,
  .btn:active,
  .float-zalo:hover {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   6c. Modal form đầy đủ
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
  visibility: hidden;
  opacity: 0;
  /* xem ghi chú ở .drawer — visibility phải bật ngay để focus() ăn */
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease, visibility 0s linear 0s;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 24, 0.66);
}

.modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 0.22s ease;
}

.modal.is-open .modal__dialog {
  transform: none;
}

@media (min-width: 576px) {
  .modal {
    padding: 24px 16px;
    overflow-y: auto;
  }

  .modal__dialog {
    max-height: none;
    border-radius: 18px;
    margin: auto;
  }
}

/* mobile: chiếm trọn màn hình cho dễ điền */
@media (max-width: 575.98px) {
  .modal__dialog {
    height: 100dvh;
  }
}

.modal__head {
  position: relative;
  flex: none;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  padding: 16px 56px 16px 20px;
}

.modal__head h2 {
  color: #fff;
  font-size: 19px;
  margin: 0 0 2px;
}

.modal__head p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal__body {
  padding: 18px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
  .modal__body {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

/* --------------------------------------------------------------------------
   7. Cards / grids dùng chung
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 16px;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 576px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfd8e8;
}

.card h3 {
  margin-bottom: 7px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  margin-bottom: 14px;
}

.icon-badge--navy {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}

.icon-badge--gold {
  background: linear-gradient(135deg, var(--gold), #d99a00);
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   7b. Ảnh trong gallery
   -------------------------------------------------------------------------- */
.photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.photo:hover {
  box-shadow: var(--shadow);
}

.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.photo:hover img {
  transform: scale(1.04);
}

.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(to top, rgba(5, 10, 24, 0.92) 15%, rgba(5, 10, 24, 0.6) 55%, transparent);
}

@media (prefers-reduced-motion: reduce) {

  .photo img,
  .photo:hover img {
    transition: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   8. Bảng giá
   -------------------------------------------------------------------------- */
.price-table {
  display: none;
}

@media (min-width: 768px) {
  .price-table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .price-table th,
  .price-table td {
    padding: 15px 18px;
    text-align: left;
    font-size: 15.5px;
  }

  .price-table thead th {
    background: var(--navy-800);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
  }

  .price-table tbody tr+tr td {
    border-top: 1px solid var(--border);
  }

  .price-table tbody tr:nth-child(even) {
    background: #fafbfe;
  }

  .price-table tbody th[scope="row"] {
    font-weight: 700;
    color: var(--navy-800);
    text-align: left;
  }

  .price-table .price {
    font-weight: 800;
    color: var(--red);
    white-space: nowrap;
  }

  .price-table .price a {
    color: var(--red);
    text-decoration: underline;
  }
}

/* tên các dòng xe tiêu biểu, nhỏ và nhạt hơn để không tranh chú ý với giá */
.price-models {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* mobile: mỗi tuyến là 1 card, không scroll ngang */
.price-cards {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .price-cards {
    display: none;
  }
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.price-card__route {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.price-card__models {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: -5px 0 8px;
}

.price-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
}

.price-card__row+.price-card__row {
  border-top: 1px dashed var(--border);
}

.price-card__row span {
  color: var(--text-muted);
}

.price-card__row b {
  color: var(--red);
  font-size: 16px;
}

.price-notes {
  margin-top: 20px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}

.price-notes ul {
  margin: 0;
  padding-left: 20px;
}

.price-notes li {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.price-notes li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Quy trình
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px 20px;
  box-shadow: var(--shadow-sm);
}

.step__num {
  counter-increment: step;
  position: absolute;
  top: -16px;
  left: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 17px;
  box-shadow: var(--shadow-red);
}

.step__num::before {
  content: counter(step);
}

.step h3 {
  margin: 10px 0 6px;
  font-size: 17px;
}

.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Đánh giá
   -------------------------------------------------------------------------- */
.review {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review__stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review__text {
  flex: 1;
  font-size: 15px;
  color: var(--text);
  margin: 0 0 14px;
}

.review__who {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review__avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-700);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.review__name {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
}

.review__meta {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.faq__item[open] .faq__q::after {
  content: "−";
  background: var(--red);
  color: #fff;
}

.faq__a {
  padding: 0 18px 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.faq__a p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. CTA cuối
   -------------------------------------------------------------------------- */
.cta-final {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(224, 30, 38, 0.3), transparent 65%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff;
  text-align: center;
}

.cta-final h2 {
  color: #fff;
}

.cta-final p {
  color: var(--silver);
  max-width: 620px;
  margin: 0 auto 24px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.cta-phone:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .cta-phone {
    font-size: 42px;
  }
}

.cta-final__actions {
  display: grid;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 480px) {
  .cta-final__actions {
    grid-auto-flow: column;
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: var(--silver);
  padding: 44px 0 24px;
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

.footer h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer p {
  color: var(--silver);
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 9px;
}

.footer a {
  color: var(--silver);
}

.footer a:hover {
  color: var(--gold);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.footer__brand b {
  color: #fff;
  font-size: 19px;
  display: block;
  line-height: 1.2;
}

.footer__brand span {
  font-size: 12px;
}

.footer__bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   14. Floating CTA
   -------------------------------------------------------------------------- */
.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 18px rgba(5, 10, 24, 0.28);
}

.floatbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
}

.floatbar a:first-child {
  background: var(--red);
  color: #fff;
}

.floatbar a:last-child {
  background: #0068ff;
  color: #fff;
}

@media (min-width: 992px) {
  .floatbar {
    display: none;
  }
}

.float-zalo {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1030;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0068ff;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(0, 104, 255, 0.42);
}

.float-zalo:hover {
  color: #fff;
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .float-zalo {
    display: flex;
  }
}

/* Cuộn lên đầu trang — chỉ hiện sau khi đã cuộn một đoạn */
.to-top {
  position: fixed;
  z-index: 1029;
  right: 16px;
  bottom: calc(66px + env(safe-area-inset-bottom, 0px) + 14px);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 48, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 10, 24, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.15s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (min-width: 992px) {
  .to-top {
    right: 20px;
    bottom: 94px;
    width: 50px;
    height: 50px;
  }
}

/* --------------------------------------------------------------------------
   15. Trang nội dung (chính sách / điều khoản / liên hệ)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff;
  padding: 40px 0;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 6px;
}

.page-hero p {
  color: var(--silver);
  margin: 0;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--silver);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: var(--silver);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 22px;
  margin-top: 32px;
}

.prose h3 {
  font-size: 18px;
  margin-top: 22px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.prose li {
  margin-bottom: 7px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-size: 15px;
  text-align: left;
}

.prose th {
  background: var(--surface-alt);
  font-weight: 700;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.error-page {
  text-align: center;
  padding: 70px 0;
}

.error-page .code {
  font-size: 76px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}