/* =====================================================================
 * TravelMap – SITE.CSS: nền tảng dùng chung mọi trang
 * (token màu/font, reset, nút, header, section, form tư vấn, card tour, footer).
 * Nạp TRƯỚC các file CSS riêng của từng trang (tour-detail.css, pages.css).
 * ===================================================================== */

:root {
  /* Bảng màu Easy Trip 2026-11: trắng + xanh dương dịu + be (theo giao diện mẫu) */
  --ink: #1d3349;           /* chữ chính – xanh than */
  --ink-2: #4a5e71;
  --muted: #6e8091;
  --line: #e0e7ee;
  --line-2: #edf2f6;
  --bg: #ffffff;
  --paper: #ffffff;
  --sand: #f6f4ee;          /* be – nền các mục xen kẽ */
  --sky: #eaf2f8;           /* xanh rất nhạt – khung form, dải ghi chú */
  --sky-2: #f3f7fb;
  --accent: #357ca8;        /* xanh dương chủ đạo (dịu hơn bản cũ #357ca8) */
  --accent-dark: #2b6790;
  --accent-soft: #e5eff7;
  --accent-rgb: 53, 124, 168;
  --coral: #d6825e;         /* điểm nhấn nhỏ (thanh tiến trình slider) */
  --blossom: #b9dcf0;       /* chữ/nhấn sáng trên nền xanh */
  --forest: #357ca8;
  --forest-soft: #e5eff7;
  --gold: #c39a4e;
  --danger: #b23b3b;

  --font-sans: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; /* tiêu đề: cùng họ chữ sans, đậm */

  --radius: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(29, 51, 73, .05), 0 2px 8px rgba(29, 51, 73, .04);
  --shadow: 0 18px 40px -20px rgba(29, 51, 73, .22), 0 2px 6px rgba(29, 51, 73, .04);
  --shadow-lg: 0 30px 60px -24px rgba(29, 51, 73, .3);

  --container: 1320px;
  --gutter: 24px;
  --subnav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1em 1.9em; font-size: 16px; }
.btn--sm { padding: .6em 1.15em; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(53, 124, 168, .6); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn--outline { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }

.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  display: inline-grid; place-items: center; transition: .2s;
}
.round-btn:hover:not([disabled]) { border-color: var(--ink); background: var(--ink); color: #fff; }
.round-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- Site header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.brand__mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-serif); font-size: 18px; font-weight: 600;
}
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.site-nav a { text-decoration: none; opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.is-current { opacity: 1; border-color: currentColor; }
.site-header__hotline { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; }
/* ---------- Sections ---------- */
.section { padding: 96px 0; scroll-margin-top: calc(var(--subnav-h) - 1px); }
.section--sand { background: var(--sand); }
.section__kicker { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.section__title { font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.005em; margin-bottom: 28px; }
.section__title em { font-style: italic; font-weight: 500; color: var(--ink-2); }
/* ---------- 8. Booking ---------- */
.booking__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.booking__intro > p { color: var(--ink-2); font-size: 16.5px; }
.booking__contacts { display: grid; gap: 12px; margin: 28px 0; }
.contact-btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper); text-decoration: none; transition: .2s;
}
.contact-btn:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.contact-btn small { display: block; font-size: 12.5px; color: var(--muted); }
.contact-btn strong { font-size: 17px; }
.contact-btn__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.contact-btn--zalo .contact-btn__icon { background: #0068ff; }
.contact-btn--phone .contact-btn__icon { background: var(--forest); }
.contact-btn--whatsapp .contact-btn__icon { background: #25d366; }
.booking__summary { display: grid; gap: 12px; padding: 22px 24px; border-radius: var(--radius); background: var(--sand); }
.booking__summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.booking__summary small { color: var(--muted); font-size: 14px; }
.booking__form {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 40px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field abbr { color: var(--accent); text-decoration: none; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(29, 51, 73, .07); }
.field__error { display: none; font-size: 13px; color: var(--danger); }
.field.is-invalid input { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.stepper { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); }
.stepper button { width: 48px; border: 0; background: transparent; font-size: 20px; color: var(--ink-2); }
.stepper button:hover { background: var(--line-2); }
.stepper input { border: 0; border-radius: 0; text-align: center; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { box-shadow: none; }
.booking__privacy { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.booking__success {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
}
.booking__success[hidden] { display: none; }
.booking__success-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-soft); color: var(--forest); margin-bottom: 20px; }
.booking__success-icon .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.booking__success h3 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 10px; }
.booking__success p { color: var(--ink-2); max-width: 360px; }
.booking__success a { color: var(--accent); }
.booking__alert { padding: 12px 16px; border-radius: 8px; background: #f8e6e6; color: var(--danger); font-size: 14.5px; line-height: 1.5; }
.booking__alert[hidden] { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* bẫy spam */
.btn[type="submit"][disabled] { opacity: .7; cursor: progress; }
.dep-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border: 1px dashed #cad8e3; border-radius: var(--radius-lg); background: var(--paper); }
.dep-empty p { margin: 0; color: var(--ink-2); line-height: 1.7; }

/* ---------- 9. Related ---------- */
.related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.related__nav { display: flex; gap: 10px; margin-bottom: 28px; }
.related__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px;
}
.related__track::-webkit-scrollbar { display: none; }
.tour-card { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; }
.tour-card__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--line-2); aspect-ratio: 4 / 5; }
.tour-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tour-card:hover .tour-card__img img { transform: scale(1.05); }
.tour-card__tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; }
.tour-card__body { padding: 16px 4px 0; }
.tour-card__meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 6px; }
.tour-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.tour-card__name { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }
.tour-card:hover .tour-card__name { color: var(--accent); }
.tour-card__price { font-size: 14px; color: var(--muted); }
.tour-card__price strong { color: var(--ink); font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 14px; padding: 36px 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .brand__mark { width: 28px; height: 28px; font-size: 15px; vertical-align: middle; }
.site-footer strong, .site-footer a { color: #fff; }
.site-footer__copy { opacity: .6; }
/* ---------- Responsive (phần dùng chung) ---------- */
@media (max-width: 1199.98px) {
  .related__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
}

@media (max-width: 991.98px) {
  .site-nav { display: none; }
  .site-header__hotline { margin-left: auto; }
  .section { padding: 72px 0; }
  .booking__grid { grid-template-columns: 1fr; gap: 40px; }
  .related__track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 767.98px) {
  :root { --gutter: 16px; }
  .site-header__inner { height: 64px; }
  .site-header__hotline span { display: none; }
  .site-header__hotline { padding: 10px; }
  .section { padding: 56px 0; }
  .booking__form { grid-template-columns: 1fr; padding: 26px 20px; gap: 18px; }
  .related__track { grid-auto-columns: 80%; gap: 16px; }
  .related__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Biểu ngữ "bản xem trước" (admin xem tour đang ẩn) */
.preview-banner { position: fixed; z-index: 3000; left: 50%; top: 12px; transform: translateX(-50%); padding: 8px 18px; border-radius: 999px; background: #c39a4e; color: #fff; font-size: 13.5px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .4); white-space: nowrap; }

/* ---------- Trang lỗi 404 / 500 ---------- */
.error-page {
  position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 10%, rgba(53, 124, 168, .45), transparent 60%), linear-gradient(160deg, #1d3349, #15283a);
}
.error-page__inner { position: relative; padding-top: 120px; padding-bottom: 80px; max-width: 760px; }
.error-page__code { font-family: var(--font-serif); font-size: clamp(96px, 16vw, 180px); line-height: .9; font-weight: 600; margin: 0 0 12px; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); }
.error-page__title { font-family: var(--font-serif); font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; margin-bottom: 18px; }
.error-page__title em { font-style: italic; font-weight: 500; color: #cdeefb; }
.error-page__text { font-size: 17px; font-weight: 300; opacity: .85; max-width: 560px; margin-bottom: 32px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767.98px) { .error-page__actions .btn { flex: 1 1 100%; } }

/* =====================================================================
 * MOBILE POLISH (dùng chung)
 * ===================================================================== */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a { display: inline-block; padding: 6px 0; } /* vùng chạm đủ lớn */

@media (max-width: 767.98px) {
  /* Zalo / Hotline: 2 ô cạnh nhau thay vì 2 hàng */
  .booking__contacts { grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
  .booking__contacts > .contact-btn:nth-child(3):last-child { grid-column: 1 / -1; }
  .contact-btn { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .contact-btn__icon { width: 38px; height: 38px; font-size: 12px; }
  .contact-btn strong { font-size: 15px; }

  .site-footer { padding: 28px 0 32px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Ô nhập trên iOS: 16px để Safari không tự phóng to khi chạm */
  .field input, .field textarea, .field select { font-size: 16px; }
}

/* =====================================================================
 * LIÊN HỆ & MẠNG XÃ HỘI (Zalo · Hotline · Facebook · TikTok)
 * ===================================================================== */
.ic--fill { fill: currentColor; stroke: none; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social__link {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.social__link .ic { width: 20px; height: 20px; }
.social__link--zalo .ic { width: 24px; height: 24px; }
.social__link:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.social__link--zalo:hover { background: #0068ff; border-color: #0068ff; }
.social__link--phone:hover { background: var(--forest); border-color: var(--forest); }
.social__link--facebook:hover { background: #1877f2; border-color: #1877f2; }
.social__link--tiktok:hover { background: #111; border-color: #111; }
.social__link--whatsapp:hover { background: #25d366; border-color: #25d366; }
.social__link--instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 95%); border-color: #d6249f; }
.social__link--threads:hover { background: #000; border-color: #000; }
.social--light .social__link { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.booking__social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: -8px 0 26px; }
.booking__social > span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact-band .booking__social > span { color: rgba(255, 255, 255, .6); }

/* ---------- Footer mới ---------- */
.site-footer { padding: 56px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer__brand .brand { color: #fff; margin-bottom: 14px; }
.site-footer__brand p { max-width: 340px; color: rgba(255, 255, 255, .65); margin-bottom: 20px; line-height: 1.7; }
.site-footer__col h2 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__col a { color: #fff; text-decoration: none; }
.site-footer__col a:hover { color: var(--blossom); }
.site-footer__copy { padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; opacity: 1; color: rgba(255, 255, 255, .45); }

/* ---------- Cụm nút liên hệ nổi ---------- */
.float-contact { position: fixed; z-index: 900; right: 18px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.float-contact__btn {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease);
  animation: floatIn .5s var(--ease) both;
}
.float-contact__btn:nth-child(2) { animation-delay: .08s; }
.float-contact__btn:nth-child(3) { animation-delay: .16s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.float-contact__btn:hover { transform: scale(1.08); }
.float-contact__btn .ic { width: 24px; height: 24px; }
.float-contact__btn--zalo { background: #0068ff; }
.float-contact__btn--zalo .ic { width: 30px; height: 30px; }
.float-contact__btn--phone { background: var(--accent); animation: floatIn .5s var(--ease) .08s both, ring 2.4s 1.5s infinite; }
.float-contact__btn--facebook { background: #1877f2; }
.float-contact__btn--whatsapp { background: #25d366; }
.float-contact__btn:nth-child(4) { animation-delay: .24s; }
@keyframes ring { 0%, 100% { box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45), 0 0 0 0 rgba(53, 124, 168, .5); } 50% { box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45), 0 0 0 12px rgba(53, 124, 168, 0); } }
.float-contact__tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); padding: 6px 12px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.float-contact__btn:hover .float-contact__tip { opacity: 1; transform: translate(0, -50%); }

@media (max-width: 991.98px) {
  body.has-mobile-cta .float-contact { display: none; } /* trang tour: đã có thanh Đặt tour + nút gọi */
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .float-contact { right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); gap: 8px; }
  .float-contact__btn { width: 48px; height: 48px; }
  .float-contact__tip { display: none; }
  .site-footer { padding-top: 40px; }
  .site-footer__grid { gap: 28px 20px; padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { .float-contact__btn { animation: none !important; } }

/* =====================================================================
 * THƯƠNG HIỆU EASY TRIP (logo xanh da trời) · SONG NGỮ · VĂN PHÒNG
 * ===================================================================== */
.brand__logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; box-shadow: 0 6px 16px -8px rgba(53, 124, 168, .7); }
.site-header .brand__text { font-family: var(--font-serif); font-size: 21px; font-weight: 600; letter-spacing: 0; }
.site-footer .brand__logo { width: 48px; height: 48px; }

/* Nút chuyển ngôn ngữ VI | EN */
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang-switch a { min-width: 38px; padding: 6px 10px; border-radius: 999px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: #fff; color: var(--accent-dark, #2b6790); }
.site-header__inner { gap: 20px; }
.site-header .site-nav { margin-left: auto; }

/* Thông báo bản tiếng Anh chưa dịch đủ */
.lang-notice { margin: 28px 0 0; padding: 10px 16px; border-radius: 10px; background: var(--accent-soft); color: var(--ink-2); font-size: 14px; }

/* Văn phòng trong khối liên hệ */
.contact-btn__icon .ic--fill { width: 26px; height: 26px; }
.booking__office { list-style: none; margin: -10px 0 24px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.booking__office li { display: flex; align-items: flex-start; gap: 10px; }
.booking__office .ic { margin-top: 3px; color: var(--accent); flex: none; }
.booking__office a { color: inherit; text-decoration: none; }
.booking__office a:hover { text-decoration: underline; }
.contact-band .booking__office { color: rgba(255, 255, 255, .8); }
.contact-band .booking__office .ic { color: var(--blossom); }

/* Footer 4 cột: thương hiệu · hành trình · văn phòng · khám phá */
.site-footer__grid { grid-template-columns: 1.4fr 1fr 1.15fr .8fr; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .ic { margin-top: 4px; color: var(--blossom); flex: none; }
@media (max-width: 1199.98px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .lang-switch { margin-left: auto; }
  .site-header .site-nav { margin-left: 0; }
}
@media (max-width: 767.98px) {
  .brand__logo { width: 40px; height: 40px; border-radius: 10px; }
  .site-header .brand__text { font-size: 19px; }
  .lang-switch a { min-width: 34px; padding: 6px 8px; font-size: 12px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 359.98px) { .site-header .brand__text { display: none; } }

/* =====================================================================
 * GIAO DIỆN 2026-11 (theo mẫu anh1–6): header trắng, nút bo tròn,
 * card hành trình nền trắng, footer xanh dương. Đặt cuối file để ghi đè.
 * ===================================================================== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; }
.section__kicker { font-weight: 700; letter-spacing: .22em; font-size: 12.5px; color: var(--accent); margin-bottom: 14px; }
.section__title { font-weight: 800; letter-spacing: -.025em; line-height: 1.12; font-size: clamp(30px, 3.6vw, 50px); }
.section__title em { font-style: normal; font-weight: inherit; color: var(--accent); }

/* ---------- Nút ---------- */
.btn { font-weight: 700; }
.btn .ic { width: 1.05em; height: 1.05em; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(var(--accent-rgb), .9); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45); }
.btn--white:hover { background: var(--sky); }
.btn--white .ic { transition: transform .25s var(--ease); }
.btn--white:hover .ic { transform: translateX(3px); }
.round-btn { width: 52px; height: 52px; border-color: var(--line); background: #fff; color: var(--ink); }
.round-btn .ic { width: 22px; height: 22px; }
.round-btn:hover:not([disabled]) { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ---------- Header trắng (không đè lên ảnh) ---------- */
.site-header { position: relative; inset: auto; z-index: 50; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.site-header__inner { height: 96px; gap: 28px; }
.site-header .brand { gap: 14px; min-width: 0; }
.site-header .brand__logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: none; }
.brand__tagline { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); line-height: 1.4; white-space: nowrap; }
.site-header .site-nav { margin-left: auto; gap: 30px; font-size: 16px; font-weight: 500; }
.site-header .site-nav a { white-space: nowrap; }
.site-header__cta { white-space: nowrap; }
.site-nav a { opacity: 1; color: var(--ink); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover, .site-nav a.is-current { color: var(--accent); border-color: var(--accent); }
.site-nav__hotline { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; margin-left: 12px; }
.site-header__cta { padding: .95em 1.6em; font-size: 16px; }
.site-header__cta .ic { width: 18px; height: 18px; }
.lang-switch { border-color: var(--line); background: var(--sky-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--accent); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; padding: 0; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1439.98px) {
  .brand__tagline { display: none; }
  .site-header .site-nav { gap: 24px; }
}
@media (max-width: 1099.98px) {
  .site-header__inner { height: 80px; }
  .site-header .brand__logo { width: 54px; height: 54px; }
  .nav-toggle { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .lang-switch { margin-left: 0; }
  .site-header .site-nav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(29, 51, 73, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-header .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-header .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
  .site-header .site-nav a:hover, .site-header .site-nav a.is-current { border-color: var(--line-2); }
  .site-nav__hotline { display: flex; align-items: center; gap: 10px; color: var(--accent) !important; font-weight: 700; border-bottom: 0 !important; }
}
@media (max-width: 767.98px) {
  .site-header__inner { height: 68px; gap: 12px; }
  .site-header .brand__logo { width: 46px; height: 46px; }
  .site-header__cta { display: none; }
  .site-header__actions { gap: 8px; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* Trang có ảnh hero tràn viền (chi tiết tour, về chúng tôi): header không còn đè lên => bớt khoảng trên */
.hero__content, .page-hero__content { padding-top: 96px; }
@media (max-width: 767.98px) { .hero__content, .page-hero__content { padding-top: 72px; } }

/* ---------- Card hành trình (nền trắng, ảnh trên) ---------- */
.tour-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px -26px rgba(29, 51, 73, .35); transition: transform .35s var(--ease), box-shadow .35s; color: var(--ink); height: 100%; }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(29, 51, 73, .45); }
.tour-card__img { border-radius: 0; aspect-ratio: 5 / 4; }
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 24px; }
.tour-card__eyebrow { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-card__name { font-size: 21px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; letter-spacing: -.01em; }
.tour-card:hover .tour-card__name { color: var(--ink); }
.tour-card__place { margin: 0; font-size: 15px; color: var(--muted); }
.tour-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; font-size: 14.5px; }
.tour-card__duration { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.tour-card__duration .ic { width: 15px; height: 15px; }
.tour-card__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.tour-card__more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.tour-card:hover .tour-card__more .ic { transform: translate(2px, -2px); }
.related__track { padding: 4px 4px 34px; margin: 0 -4px; }

/* ---------- Footer xanh dương ---------- */
.site-footer { background: var(--accent); color: rgba(255, 255, 255, .88); border-top: 0; padding-top: 72px; font-size: 15px; }
.site-footer__grid { grid-template-columns: 1.7fr 1fr 1.1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.site-footer__wordmark { display: inline-flex !important; align-items: center; gap: 10px; color: #fff; font-size: 44px; font-weight: 800; letter-spacing: .01em; line-height: 1; text-decoration: none; margin-bottom: 22px; padding: 0 !important; }
.site-footer__wordmark .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.site-footer__brand p { color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.75; max-width: 360px; margin-bottom: 22px; }
.site-footer__col h2 { font-size: 16px; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 700; margin-bottom: 16px; }
.site-footer__col ul { gap: 4px; }
.site-footer__col a { color: rgba(255, 255, 255, .9); }
.site-footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__contact .ic { color: #fff; opacity: .85; }
.site-footer .social--light .social__link { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.site-footer__copy { border-top-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); font-size: 14px; padding-top: 22px; padding-bottom: 26px; }
@media (max-width: 1199.98px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .site-footer { padding-top: 48px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__wordmark { font-size: 36px; }
}

/* =====================================================================
 * LIGHTBOX XEM ẢNH – dùng chung Trang chủ + Trang tour (partial _Lightbox, Scripts/gallery.js) 2026-11-21
 * ===================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 14, 24, .94); display: flex; align-items: center; justify-content: center; padding: 48px 24px; animation: fadeIn .25s; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox__figure img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox__figure figcaption { color: rgba(255, 255, 255, .8); font-style: italic; margin-top: 14px; font-size: 15px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__close .ic { width: 22px; height: 22px; }
.lightbox__figure img { opacity: 0; transition: opacity .35s; }
.lightbox__figure img.is-in { opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav .ic { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
  .lightbox__nav { top: auto; bottom: 14px; margin-top: 0; width: 46px; height: 46px; }
  .lightbox__count { bottom: 30px; }
}
@keyframes fadeIn { from { opacity: 0; } }
