/* =============================================================
   CS Việt Nam Travel — landing page
   Kể chuyện theo từng chương, dẫn bằng ảnh thật.
   Màu thương hiệu lấy từ logo gốc — xem docs/BRAND.md
   ============================================================= */

:root {
  /* thương hiệu */
  --forest: #027441;
  --jade: #15915D;
  --leaf: #5CB43C;
  --deep: #006786;
  --gold: #F2AD07;

  /* nền & chữ */
  --paper: #FBF8F0;      /* cream */
  --paper-2: #F1E9D8;    /* sand */
  --white: #FFFFFF;
  --ink: #07271D;
  --ink-2: #3B5A4C;
  --ink-3: #5B7469;
  --line: #E2DED1;
  --forest-deep: #02301F;
  --deep-night: #042A33;
  --forest-night: #02301F;
  --bg-forest:
    radial-gradient(90% 70% at 15% 0%, rgba(92, 180, 60, .22), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(0, 103, 134, .35), transparent 60%),
    linear-gradient(160deg, #02402A, #02301F 60%, #021C13);
  --bg-deep:
    radial-gradient(80% 60% at 85% 0%, rgba(0, 103, 134, .5), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(21, 145, 93, .4), transparent 60%),
    linear-gradient(170deg, #063744, #042A33 55%, #021A20);

  /* khung trang */
  --frame: 22px;
  --radius-page: 28px;
  --head-h: 70px;
  --head-top: 41px;   /* khoảng cách thanh điều hướng tới mép trên (~0,5cm thấp hơn trước) */
  --gold-ink: #8A5F00;   /* vàng đủ tương phản để làm chữ trên nền sáng */

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--forest-deep);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; }
h3 { font-size: 24px; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-family: var(--serif); font-style: italic; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

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

/* ───────── chữ dùng chung ───────── */
.kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--forest);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.lead { font-size: 19px; line-height: 1.7; color: var(--ink-2); }


.tagline {
  font: italic 500 20px/1.4 var(--serif);
  color: var(--gold);
  margin: 0;
}


/* ───────── nút ───────── */
.btn {
  --bg: var(--forest); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd); border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn--green { --bg: var(--forest); }
.btn--green:hover { --bg: #01603A; }
.btn--gold { --bg: var(--gold); --fg: #1D2A23; }
.btn--gold:hover { --bg: #FFC02A; }
.btn--line { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .7); }
.btn--line:hover { --bg: rgba(255, 255, 255, .12); --bd: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); }
.btn[hidden] { display: none; }

/* ───────── header: thanh viên thuốc trong suốt ───────── */
.top {
  position: fixed; z-index: 50;
  top: var(--head-top); left: var(--gut); right: var(--gut);
  color: var(--ink);
  pointer-events: none;
}
.top__in {
  pointer-events: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: 1320px; margin: 0 auto;
  height: var(--head-h); padding: 0 10px 0 30px;
  background: rgba(250, 247, 240, .5);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(2, 30, 20, .35);
  -webkit-backdrop-filter: saturate(1.3) blur(5px);
  backdrop-filter: saturate(1.3) blur(5px);
  transition: background .3s, box-shadow .3s;
}
.top.is-solid .top__in { background: rgba(250, 247, 240, .58); box-shadow: 0 14px 36px -14px rgba(2, 30, 20, .45); }
.top__brand { justify-self: start; display: flex; align-items: center; }
.top__brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 38px); }
.navlink {
  position: relative;
  font: 500 15px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding: 10px 0;
  transition: color .2s;
}
.navlink::after {
  content: ""; position: absolute; left: 0; right: .14em; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.navlink:hover { color: var(--forest); }
.navlink:hover::after, .navlink.is-active::after { transform: scaleX(1); }
.navlink.is-active { color: var(--forest); font-weight: 600; }

.top__tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.top__tools .btn--sm { min-height: 50px; padding: 0 28px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; }
.top__tools .btn--sm:hover { transform: none; }

.search { position: relative; display: flex; align-items: center; }
.search__input {
  width: 0; padding: 0; border: 0; opacity: 0;
  height: 40px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font: 400 14px var(--sans);
  transition: width .35s var(--ease), opacity .2s, padding .35s;
}
.search.is-open .search__input { width: 220px; background: #fff; padding: 0 44px 0 16px; opacity: 1; border: 1px solid var(--line); }
.iconbtn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; color: inherit; border: 0; cursor: pointer;
}
.search.is-open .iconbtn { position: absolute; right: 0; color: var(--ink); }
.iconbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ───────── trang: lật mở kiểu iPhone ─────────
   Trang đang xem nằm TRÊN và trượt lên đi; trang kế đã nằm sẵn bên dưới,
   ghim ở mép trên màn hình, sáng dần và giãn ra khi được hé lộ (JS đặt --ty, --q). */
main { padding: var(--frame); display: flex; flex-direction: column; }
:root { --overlap: 26px; }
main > .page + .page {            /* trang sau đè nhẹ lên trang trước */
  margin-top: calc(var(--overlap) * -1);
}
main > .page {
  position: relative;
  border-radius: var(--radius-page);
  overflow: hidden;
  box-shadow: 0 -16px 40px -14px rgba(0, 0, 0, .5), 0 30px 60px -24px rgba(0, 0, 0, .45);
  transform-origin: 50% 0;
}
main > .page::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: #021C13; opacity: calc(var(--q, 0) * .55);
}
.stack main > .page {
  transform: translate3d(0, var(--ty, 0px), 0) scale(calc(1 - var(--q, 0) * .06));
}

/* ───────── hero ───────── */
.hero {
  isolation: isolate;
  min-height: calc(100svh - var(--frame) * 2);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  background: #1a2b33;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  animation: settle 2.4s var(--ease) both;
}
@keyframes settle { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }

/* slide ảnh nền của trang đầu: tự chuyển, mờ dần thật chậm (3,6s) + phóng nhẹ (20s) */
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide { z-index: 0; opacity: 0; animation: none; transition: opacity 3.6s cubic-bezier(.4, 0, .2, 1); will-change: opacity, transform; }
.hero__slide.is-on { opacity: 1; z-index: 1; animation: heroZoom 20s linear both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* page Đặt vé: nền là 3 ảnh hoàng hôn sân bay, tự chuyển chậm; phủ tối để chữ trắng đọc được */
.page__bg.page__bg--photos img {
  position: absolute; inset: 0; filter: none; transform: none;
  opacity: 0; transition: opacity 3.6s cubic-bezier(.4, 0, .2, 1); will-change: opacity, transform;
}
.page__bg.page__bg--photos img.is-on { opacity: 1; z-index: 1; animation: heroZoom 26s linear both; }
.page__bg.page__bg--photos::after { z-index: 2; background: linear-gradient(180deg, rgba(8, 18, 14, .58) 0%, rgba(8, 18, 14, .5) 50%, rgba(8, 18, 14, .68) 100%); }
#dat-ve.has-photo > .wrap { position: relative; z-index: 3; }
#dat-ve.has-photo .enq__intro .kicker { color: #fff; }
#dat-ve.has-photo .enq__intro h2 { color: #fff; }
#dat-ve.has-photo .enq__intro .lead { color: rgba(255, 255, 255, .88); }

/* chữ bên trái dàn ra cân với khung điền: đầu (nhãn + tiêu đề) · giữa (mô tả) · cuối (3 bước) */
#dat-ve.has-photo .enq__intro { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(18px, 3.4vh, 40px); }
#dat-ve.has-photo .enq__intro h2 { font-size: clamp(30px, min(3.8vw, 5.8vh), 54px); line-height: 1.1; margin-bottom: 0; }
#dat-ve.has-photo .enq__intro .lead { max-width: 34ch; margin: 0; }
.enq__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 2vh, 18px); }
.enq__steps li { display: flex; gap: 16px; align-items: baseline; padding-top: clamp(10px, 1.8vh, 16px); border-top: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .88); font-size: 14.5px; line-height: 1.45; }
.enq__steps b { min-width: 30px; font: 600 14px/1 var(--sans); letter-spacing: .12em; color: var(--gold); }
.enq__steps strong { display: block; margin-bottom: 2px; font: 500 clamp(18px, 2.4vh, 22px)/1.2 var(--serif); color: #fff; }

/* khung điền kiểu kính mờ: thấy ảnh nền xuyên qua nhưng được làm mờ + phủ tối nhẹ để chữ trắng luôn rõ */
#dat-ve.has-photo .formcard {
  background-color: rgba(8, 18, 14, .32);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 14px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .38);
  color: #fff;
}
#dat-ve.has-photo .stp { color: rgba(255, 255, 255, .66); }
#dat-ve.has-photo .stp span { border-color: rgba(255, 255, 255, .42); }
#dat-ve.has-photo .stp.is-reached { color: #fff; }
#dat-ve.has-photo .stp.is-reached span { border-color: var(--gold); color: var(--gold); }
#dat-ve.has-photo .stp.is-current span { background: var(--gold); border-color: var(--gold); color: #1D2A23; }
#dat-ve.has-photo .steps__track { background: rgba(255, 255, 255, .22); }
#dat-ve.has-photo .lbl { color: rgba(255, 255, 255, .9); }
#dat-ve.has-photo .fld {
  background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .38); color: #fff;
  color-scheme: dark;
}
#dat-ve.has-photo .fld::placeholder { color: rgba(255, 255, 255, .55); }
#dat-ve.has-photo .fld:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 173, 7, .28); background: rgba(255, 255, 255, .16); }
#dat-ve.has-photo .fld option { color: #10201A; background: #fff; }
#dat-ve.has-photo .pillbtn { background: transparent; border-color: rgba(255, 255, 255, .42); color: rgba(255, 255, 255, .92); }
#dat-ve.has-photo .pillbtn:hover { border-color: #fff; }
#dat-ve.has-photo .pillbtn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1D2A23; }
#dat-ve.has-photo .chk { color: rgba(255, 255, 255, .9); }
#dat-ve.has-photo .chk input { accent-color: var(--gold); }
#dat-ve.has-photo .pax { border-bottom-color: rgba(255, 255, 255, .22); }
#dat-ve.has-photo .pax small { color: rgba(255, 255, 255, .68); }
#dat-ve.has-photo .cnt { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .42); color: #fff; }
#dat-ve.has-photo .cnt:hover { border-color: var(--gold); color: var(--gold); }
#dat-ve.has-photo .err { background: rgba(142, 42, 20, .82); color: #fff; }
#dat-ve.has-photo .formnav .btn--green { --bg: var(--gold); --fg: #1D2A23; }
#dat-ve.has-photo .formnav .btn--green:hover { --bg: #FFC02A; }
#dat-ve.has-photo .btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); }
#dat-ve.has-photo .btn--ghost:hover { --bg: rgba(255, 255, 255, .14); --bd: #fff; }
#dat-ve.has-photo .done h3, #dat-ve .done p { color: #fff; }
#dat-ve.has-photo .done__ico svg { stroke: var(--gold); }
#dat-ve.has-photo .sum { background: rgba(255, 255, 255, .13); color: #fff; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 18, .55) 0%, rgba(10, 22, 18, 0) 22%),
    linear-gradient(0deg, rgba(10, 22, 18, .88) 0%, rgba(10, 22, 18, .5) 38%, rgba(10, 22, 18, 0) 70%),
    linear-gradient(90deg, rgba(10, 22, 18, .5) 0%, rgba(10, 22, 18, 0) 60%);
}
.hero__in { padding-top: calc(var(--head-h) + 90px); padding-bottom: clamp(56px, 9vh, 96px); }
.hero .kicker { color: #fff; }
.hero__title { max-width: 900px; letter-spacing: -.02em; }
.hero__pre {
  display: block; max-width: 30ch;
  font: 400 clamp(22px, 2.2vw, 30px)/1.35 var(--serif);
  color: rgba(255, 253, 248, .92);
}
.hero__title em {
  display: block; margin-top: .12em;
  font-size: clamp(52px, 6.4vw, 92px); line-height: 1.02; font-weight: 500;
  color: var(--gold);
}
.hero__sub {
  max-width: 600px; margin-top: 30px;
  font-size: 17.5px; line-height: 1.7; color: rgba(255, 253, 248, .9);
  text-align: justify; text-justify: inter-word; hyphens: none;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ───────── chương ───────── */
.chapter { padding: clamp(80px, 11vw, 150px) 0; }
.chapter--paper { background: var(--paper); }
.chapter { padding-top: clamp(96px, 11vw, 150px); }
.chapter--white { background: var(--white); }
.chapter--forest { background: var(--bg-forest); color: var(--paper); }

.chead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.chead .chead__lead { padding-top: 34px; }
.chead--short { grid-template-columns: 1fr; }

/* — album ảnh nỗi nhớ — */
.album {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.print {
  margin: 0;
  background: #fff;
  padding: 12px 12px 18px;
  box-shadow: 0 1px 2px rgba(40, 30, 10, .08), 0 14px 34px -14px rgba(40, 30, 10, .28);
  transform: rotate(var(--rot, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s;
}
.print:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 1px 2px rgba(40, 30, 10, .08), 0 24px 44px -18px rgba(40, 30, 10, .35); }
.print--a { --rot: -1.6deg; margin-top: 10px; }
.print--b { --rot: 1.1deg; margin-top: 64px; }
.print--c { --rot: -.6deg; margin-top: 0; }
.print--d { --rot: 1.3deg; margin-top: 40px; }
.print--e { --rot: -1deg; margin-top: 10px; }
/* màn rộng: cả năm tấm ảnh trên một hàng */
@media (min-width: 1101px) {
  /* album rộng hơn vùng chữ (gần chạm hai mép page) → mỗi tấm ảnh to ra ~1cm chiều ngang */
  .album {
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px);
    width: min(calc(100vw - var(--frame) * 2 - 28px), 1360px);
    position: relative; left: 50%; transform: translateX(-50%);
  }
  .print figcaption p { font-size: 16px; line-height: 1.45; }
}
.print__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.print__img img { width: 100%; height: 100%; object-fit: cover; }
.print figcaption { padding: 16px 6px 0; }
.print figcaption p { font: italic 400 19px/1.5 var(--serif); color: var(--ink); margin-bottom: 12px; }

.ask {
  max-width: 820px; margin: clamp(64px, 8vw, 110px) auto 0;
  text-align: center;
  font: 400 clamp(22px, 2.4vw, 30px)/1.5 var(--serif);
  color: var(--ink-2);
}
.ask em { color: var(--forest); }

/* — ảnh dải rộng — */

/* — nền mờ máy bay (trang Hành trình) — */
.page__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* page Hành trình: nền TỐI hẳn (ảnh máy bay mờ + lớp phủ xanh đen) để chữ trắng nổi lên */
.page__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: blur(4px) saturate(1.1) brightness(.75); transform: scale(1.08); opacity: 1; }
.page__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 16, 12, .72) 0%, rgba(5, 16, 12, .8) 50%, rgba(5, 16, 12, .9) 100%); }
#hanh-trinh > .wrap { position: relative; z-index: 1; }
#hanh-trinh .kicker { color: #fff; }
#hanh-trinh h2 { color: #fff; }
#hanh-trinh .lead { color: rgba(255, 255, 255, .9); }
#hanh-trinh .from { border-color: rgba(255, 255, 255, .22); }
#hanh-trinh .from__lbl { color: rgba(255, 255, 255, .72); }
#hanh-trinh .code { color: var(--gold); border-left-color: rgba(255, 255, 255, .24); }
#hanh-trinh .code small { color: rgba(255, 255, 255, .8); }
#hanh-trinh .from__more { color: rgba(255, 255, 255, .82); }
#hanh-trinh .dests__lbl { color: rgba(255, 255, 255, .72); }
#hanh-trinh .closing { border-color: rgba(255, 255, 255, .22); }
#hanh-trinh .closing p { color: #fff; }
#hanh-trinh .closing .btn--green { --bg: var(--gold); --fg: #1D2A23; }
#hanh-trinh .closing .btn--green:hover { --bg: #FFC02A; }

/* — khởi hành: nhãn bên trái · sáu sân bay chia đều 6 cột · "và các điểm khác" bên phải — */
.from {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 0 clamp(18px, 2.6vw, 40px);
  padding: 20px 0; margin-bottom: 28px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.from__lbl { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.from__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.code { padding: 4px 6px; text-align: center; font: 600 22px/1 var(--sans); letter-spacing: .04em; color: var(--deep); border-left: 1px solid rgba(7, 39, 29, .16); }
.from__list .code:first-child { border-left: 0; }
.code small { display: block; margin: 7px 0 0; font: 400 14px/1.2 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.from__more { white-space: nowrap; }

/* — điểm đến — */
.from__more { font: 400 15px/1 var(--sans); font-style: italic; color: var(--ink-2); }
.dests__lbl { margin: 0 0 14px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* dải điểm đến cuộn ngang: --dcols thẻ hiện cùng lúc, hai nút ở hai bên */
.dests-wrap { position: relative; --dgap: clamp(16px, 2.4vw, 28px); --dcols: 3; }
.dests {
  display: flex; gap: var(--dgap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
}
.dests::-webkit-scrollbar { display: none; }
.dests:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; }
.dest {
  display: block; text-decoration: none; position: relative;
  flex: 0 0 calc((100% - (var(--dcols) - 1) * var(--dgap)) / var(--dcols));
  scroll-snap-align: start;
}
.dests__nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 48px; height: 48px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(7, 39, 29, .12); background: rgba(255, 255, 255, .94); color: var(--forest);
  box-shadow: 0 8px 24px rgba(7, 39, 29, .28);
  transition: opacity .2s, background .2s, color .2s;
}
.dests__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dests__nav:hover:not([disabled]), .dests__nav:focus-visible { background: var(--forest); color: #fff; }
/* tự chạy từ phải sang trái (JS thêm .is-auto): bỏ khớp-từng-thẻ để cuộn mượt liên tục */
.dests-wrap.is-auto .dests { scroll-snap-type: none; scroll-behavior: auto; }
.dests__nav--prev { left: -24px; }
.dests__nav--next { right: -24px; }
.dests__nav[disabled] { opacity: 0; pointer-events: none; }
.dest__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.dest__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dest:hover .dest__img img { transform: scale(1.04); }
.dest__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 18, .72) 0%, rgba(10, 22, 18, 0) 50%); }
.dest__txt { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.dest__txt b { font: 600 14px/1 var(--sans); letter-spacing: .16em; color: var(--gold); }
.dest__txt span { font: 500 30px/1.15 var(--serif); }

.closing {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line);
}
.closing p { font: italic 400 22px/1.5 var(--serif); color: var(--ink); max-width: 620px; margin: 0; }

/* — người đồng hành — */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.duo__pics { position: relative; min-height: 600px; }
.duo__pic { position: absolute; margin: 0; }
.duo__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.duo__pic figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.duo__pic figcaption b { font: italic 500 22px/1 var(--serif); color: #fff; }
.duo__pic--nl { left: 0; top: 0; width: 66%; height: 62%; }
.duo__pic--vn { right: 0; bottom: 0; width: 58%; height: 60%; box-shadow: 0 0 0 10px #02331F; border-radius: var(--r); }
.duo__pic::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%); pointer-events: none; }
.duo__pic figcaption { z-index: 1; }

.chapter--forest .kicker { color: #9FD8B3; }
.chapter--forest h2 { color: #fff; margin-bottom: 36px; }
.chapter--forest .story p { font-size: 17.5px; line-height: 1.75; color: rgba(243, 238, 227, .86); padding-left: 22px; border-left: 1px solid rgba(242, 173, 7, .45); margin-bottom: 22px; }
.chapter--forest .tagline { margin-top: 34px; }

/* — dịch vụ — */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.svc__item { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.svc__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc__body p { color: var(--ink-2); margin: 0; }
.svc__vna { height: 18px; width: auto; align-self: flex-start; }
.svc__tag { font: 600 12px/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--forest) !important; }
.svc__item--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; }
.svc__item--wide .svc__img { aspect-ratio: auto; min-height: 340px; }
.svc__item--wide .svc__body { padding: clamp(28px, 4vw, 48px); justify-content: center; gap: 16px; }
.svc__item--wide h3 { font-size: 34px; }
.svc__item--wide p { font-size: 18px; }

.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tiers li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tiers i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* — đặt vé — */
.enq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.enq__intro .enq__intro h2 { margin-bottom: 22px; }
.enq__pic { margin: 34px 0 0; }
.enq__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.note { font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }

.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(28px, 3.6vw, 48px);
  box-shadow: 0 30px 60px -40px rgba(7, 39, 29, .4);
  display: flex; flex-direction: column;
}
#form { display: flex; flex-direction: column; flex: 1; }
.formcard .panelstep.is-on { flex: 1; justify-content: space-between; }
.done.is-on { margin: auto 0; }
/* 3 bước chia đều bề ngang khung điền, mỗi bước canh giữa cột của nó (khớp với thanh tiến trình bên dưới) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 0; }
.stp { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.stp span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 600; }
.stp.is-reached { color: var(--ink); }
.stp.is-reached span { border-color: var(--forest); color: var(--forest); }
.stp.is-current span { background: var(--forest); color: #fff; }
.steps__track { height: 3px; background: var(--paper-2); margin-bottom: 34px; border-radius: 2px; }
.steps__track i { display: block; height: 100%; width: 33%; background: var(--gold); transition: width .45s var(--ease); }

.panelstep { display: none; flex-direction: column; gap: 26px; }
.panelstep.is-on { display: flex; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row > [hidden] { display: none; }
.lbl { display: block; margin: 0 0 7px; font: 600 13px/1.3 var(--sans); color: var(--ink-2); }
.fld {
  width: 100%; min-height: 54px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); color: var(--ink);
  font: 400 15.5px/1.4 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.fld:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(2, 116, 65, .14); }
textarea.fld { min-height: 104px; resize: vertical; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pillbtn {
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
  font: 500 14px var(--sans); cursor: pointer; transition: all .2s;
}
.pillbtn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.chk input { margin-top: 5px; accent-color: var(--forest); width: 16px; height: 16px; }

.paxlist { display: grid; gap: 2px; }
.pax { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--paper-2); }
.pax b { display: block; font-weight: 600; }
.pax small { color: var(--ink-3); font-size: 13px; }
.ctl { display: flex; align-items: center; gap: 14px; }
.ctl output { min-width: 18px; text-align: center; font-weight: 600; }
.cnt { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 18px; cursor: pointer; }
.cnt:hover { border-color: var(--forest); color: var(--forest); }

.err { margin: 18px 0 0; padding: 10px 14px; background: #FBEDE8; color: #8E2A14; border-radius: var(--r); font-size: 14px; }
.formnav { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; padding-top: 32px; }
.formnav .btn { min-height: 54px; padding: 0 32px; }

.done { display: none; text-align: center; padding: 20px 0; }
.done.is-on { display: block; animation: fade .5s var(--ease); }
.done__ico svg { width: 56px; height: 56px; fill: none; stroke: var(--forest); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 16px; }
.done h3 { font-size: 30px; margin-bottom: 10px; }
.sum { display: flex; flex-direction: column; gap: 4px; margin: 20px auto; padding: 18px; background: var(--paper); border-radius: var(--r); max-width: 440px; }
#form[hidden] { display: none; }

/* — lời hẹn / liên hệ — */
.finale { isolation: isolate; color: var(--paper); padding: clamp(100px, 13vw, 180px) 0 0; background: var(--bg-deep); }
.finale__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.finale__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 42, 51, .55) 0%, rgba(4, 42, 51, .84) 45%, rgba(2, 26, 32, .98) 100%); }
.finale .kicker { color: #9FD8B3; }
.finale h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.contact__head .tagline { margin-top: 18px; }

.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(56px, 7vw, 90px) 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.cgrid > div { padding: 24px 24px 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.cgrid dt { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 238, 227, .6); margin-bottom: 10px; }
.cgrid dd { margin: 0; font: 500 18px/1.4 var(--sans); color: #fff; }
.cgrid a { text-decoration: none; border-bottom: 1px solid rgba(242, 173, 7, .6); }
.cgrid a:hover { color: var(--gold); }

.foot { display: grid; grid-template-columns: auto 1fr; gap: 28px 56px; align-items: start; padding: 56px 0 44px; margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot__logos { display: flex; flex-direction: column; gap: 18px; }
.foot__plate { display: inline-flex; background: var(--paper); border-radius: 16px; padding: 12px 18px; align-self: flex-start; }
.foot__logo { height: 52px; width: auto; }
.foot__vna { height: 18px; width: auto; opacity: .85; }
.foot__txt { font-size: 13.5px; line-height: 1.65; color: rgba(243, 238, 227, .66); }
.foot__txt p { margin-bottom: 8px; }

/* ───────── mỗi trang vừa đúng một khung hình (màn hình lớn) ───────── */
@media (min-width: 901px) and (min-height: 600px) {
  main > .page {
    height: calc(100svh - var(--frame) * 2);
    scroll-margin-top: var(--frame);
  }
  main > .chapter, main > .finale {
    display: flex; flex-direction: column; justify-content: safe center;
    padding: calc(var(--head-top) + var(--head-h) + clamp(4px, 1.8vh, 32px)) 0 clamp(18px, 3.4vh, 48px);
  }
  main > .finale { height: calc((100svh - var(--frame) * 2) * .75); }
  main > .page.is-tall { height: auto; }
  .hero__in { padding-top: calc(var(--head-top) + var(--head-h) + 24px); padding-bottom: clamp(28px, 7vh, 88px); }
  .hero__pre { font-size: clamp(20px, min(2.2vw, 3.4vh), 30px); }
  .hero__title em { font-size: clamp(48px, min(6.4vw, 10vh), 92px); }
  .hero__sub { margin-top: clamp(16px, 3vh, 30px); font-size: clamp(15px, 2vh, 17.5px); }
  .hero__cta { margin-top: clamp(18px, 3.4vh, 34px); }

  .chapter h2 { font-size: clamp(28px, min(3.3vw, 5.4vh), 50px); }
  .chead { margin-bottom: clamp(18px, 3.6vh, 48px); gap: 16px clamp(24px, 4vw, 64px); }
  .chead__lead { padding-top: 26px; }
  .chead .lead, .enq .lead { font-size: clamp(15px, 2vh, 18px); line-height: 1.65; margin-bottom: .7em; }
  .kicker { margin-bottom: clamp(10px, 1.6vh, 18px); }

  /* nỗi nhớ */
  .print { padding: 10px 10px 14px; }
  .print__img { aspect-ratio: auto; height: clamp(120px, 27vh, 320px); }
  .print figcaption { padding-top: 12px; }
  .print figcaption p { font-size: clamp(15px, 2vh, 18px); margin: 0; }
  .print--a { margin-top: 0; }
  .print--b { margin-top: clamp(10px, 4vh, 44px); }
  .print--d { margin-top: clamp(8px, 3vh, 32px); }
  .print--e { margin-top: 0; }
  .ask { margin-top: clamp(18px, 4vh, 56px); font-size: clamp(18px, 2.7vh, 26px); }

  /* hành trình */
  .from { padding: clamp(10px, 1.6vh, 18px) 0; margin-bottom: clamp(12px, 2.2vh, 24px); }
  .dest__img { aspect-ratio: auto; height: clamp(110px, 19vh, 300px); }
  #hanh-trinh .chead__lead { padding-top: 0; align-self: end; }
  .dests__lbl { margin-bottom: clamp(6px, 1.1vh, 12px); }
  .code small { margin-top: 4px; }
  .closing { margin-top: clamp(16px, 3vh, 40px); padding-top: clamp(14px, 2.4vh, 28px); }
  .closing p { font-size: clamp(17px, 2.3vh, 21px); }

  /* về chúng tôi */
  .duo__pics { min-height: 0; height: min(58vh, 560px); }
  .chapter--forest h2 { margin-bottom: clamp(16px, 3vh, 34px); }
  .story p { font-size: clamp(14.5px, 1.95vh, 17.5px); margin-bottom: clamp(10px, 1.8vh, 22px); }
  .chapter--forest .tagline { margin-top: clamp(12px, 2.4vh, 32px); }

  /* dịch vụ: 4 thẻ một hàng */
  .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc__img { aspect-ratio: auto; height: clamp(120px, 28vh, 300px); }
  .svc__body { padding: clamp(16px, 2.4vh, 26px) 22px; gap: 10px; }
  .svc__body h3 { font-size: clamp(19px, 2.6vh, 24px); }
  .svc__body p { font-size: 15px; line-height: 1.6; }
  .tiers { gap: 6px; font-size: 15px; }

  /* đặt vé */
  .enq__intro h2 { margin-bottom: clamp(12px, 2vh, 22px); }
  .enq__pic { margin-top: clamp(14px, 3vh, 34px); }
  .enq__pic img { aspect-ratio: auto; height: clamp(110px, 24vh, 260px); }
  .note { margin-top: 12px; }
  .formcard { padding: clamp(20px, 3.2vh, 44px) clamp(24px, 3vw, 44px); }
  .steps__track { margin-bottom: clamp(16px, 3vh, 34px); }
  .panelstep { gap: clamp(12px, 2.2vh, 26px); }
  .fld { min-height: clamp(42px, 5.6vh, 54px); padding-top: 10px; padding-bottom: 10px; }
  .pax { padding: clamp(6px, 1.2vh, 14px) 0; }
  .formnav { padding-top: clamp(16px, 3vh, 32px); }
  .formnav .btn { min-height: clamp(44px, 5.6vh, 54px); }

  /* liên hệ */
  main > .finale { padding-top: calc(var(--head-top) + var(--head-h) + clamp(8px, 2vh, 24px)); padding-bottom: clamp(16px, 3vh, 36px); }
  .finale h2 { font-size: clamp(26px, min(3.6vw, 4.6vh), 48px); }
  .finale .kicker { margin-bottom: 8px; }
  .contact__head .tagline { margin-top: 10px; }
  .cgrid { margin-top: clamp(14px, 2.6vh, 36px); }
  .cgrid > div { padding: clamp(8px, 1.5vh, 18px) 24px clamp(8px, 1.5vh, 18px) 0; }
  .cgrid dd { font-size: clamp(15px, 2vh, 18px); }
  .cgrid dt { margin-bottom: 6px; }
  .foot { margin-top: clamp(12px, 2.4vh, 32px); padding: clamp(12px, 2.2vh, 28px) 0 0; }
  .foot__logo { height: clamp(34px, 5vh, 52px); }
}

/* ───────── nền: chính trang đang xem, phóng to & làm mờ ───────── */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--forest-deep); }
.backdrop__layer {
  position: absolute; inset: -12%;
  background-size: cover; background-position: center;
  filter: blur(40px) saturate(1.25);
  transform: scale(1.25);
  opacity: 0; transition: opacity 1.2s ease;
}
.backdrop__layer.is-on { opacity: 1; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(2, 30, 20, .42); }

/* ───────── vào trang: khung trang hiện trước, chữ hiện sau ───────── */
@keyframes pageIn {
  from { opacity: 0; transform: scale(1.04); filter: blur(12px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.entering .backdrop { animation: fadeIn .8s ease both; }
.entering main > .page.hero { animation: pageIn 1.2s cubic-bezier(.2, .7, .2, 1) .15s both; }
.entering .top { animation: fadeIn .9s ease .9s both; }
.entering main > .page:not(.hero) { animation: fadeIn .9s ease 1s both; }
.entering .hero .reveal { transition-duration: 1.3s; transition-delay: calc(1s + var(--d, 0) * 220ms); }

/* ───────── hiện dần khi cuộn ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .print.reveal { transform: translateY(18px) rotate(var(--rot, 0deg)); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .print.reveal.is-in { transform: rotate(var(--rot, 0deg)); }
.js .print.reveal.is-in:hover { transform: rotate(0deg) translateY(-4px); }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .chead { grid-template-columns: 1fr; gap: 20px; }
  .chead__lead { grid-column: 1; padding-top: 0; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(var(--head-h) + 8px);
    border-radius: 20px;
    flex-direction: column; gap: 0;
    background: var(--paper); color: var(--ink);
    padding: 8px var(--gut) 20px;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .navlink { padding: 16px 14px; font-size: 14.5px; border-radius: 12px; }
  .navlink::after { display: none; }
  .navlink.is-active { background: var(--paper-2); }
  .top__in { position: relative; display: flex; padding: 0 8px 0 22px; }
  .top__tools { margin-left: auto; }
  .top__tools .btn--sm { min-height: 44px; padding: 0 20px; }

  .album { grid-template-columns: 1fr 1fr; }
  .print--b { margin-top: 40px; }
  .print--c { grid-column: 1 / -1; max-width: 70%; justify-self: center; margin-top: 10px; }
  .print--c .print__img { aspect-ratio: 3 / 2; }
  .print--d { margin-top: 10px; }
  .print--e { margin-top: 40px; }

  .dests-wrap { --dgap: 12px; }
  .dests__nav--prev { left: 6px; }
  .dests__nav--next { right: 6px; }
  .dest__txt { left: 14px; bottom: 16px; }
  .dest__txt span { font-size: 22px; }

  .duo { grid-template-columns: 1fr; }
  .duo__pics { min-height: 0; aspect-ratio: 1 / .9; }

  .svc { grid-template-columns: 1fr 1fr; }
  .svc__item--wide { grid-template-columns: 1fr; }
  .svc__item--wide .svc__img { min-height: 0; aspect-ratio: 16 / 9; }

  .enq { grid-template-columns: 1fr; }
  .enq__pic { display: none; }
  .enq__steps { display: none; }   /* khung điền đã có thanh 3 bước của riêng nó */
  .cgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --frame: 8px; --radius-page: 20px; --head-h: 64px; }
  .top__in { gap: 10px; padding: 0 8px 0 18px; }
  .top__tools .btn--sm { min-height: 48px; }
  .top { left: 10px; right: 10px; }
  :root { --head-top: 29px; }
  .top__brand img { height: 38px; }
  .top__tools .btn--sm { min-height: 48px; padding: 0 16px; font-size: 12.5px; }
  .search { display: none; }
  .btn--sm { min-height: 36px; padding: 0 16px; }

  .hero__in { padding-top: calc(var(--head-h) + 60px); }
  .hero__sub { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 auto; }

  .chead { grid-template-columns: 1fr; gap: 6px; }
  .chead__lead { grid-column: 1; margin-top: 14px; }
    .lead { font-size: 17px; }

  .album { grid-template-columns: 1fr; gap: 28px; }
  .print { --rot: 0deg !important; margin-top: 0 !important; }
  .print--a { transform: rotate(-1deg); }
  .print--c { max-width: none; }
  .print__img { aspect-ratio: 4 / 3; }

  .from { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .from__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .from__list .code:nth-child(3n + 1) { border-left: 0; }
  .code { font-size: 18px; }
  .code small { font-size: 13px; }

  /* một thẻ rưỡi: thấy lấp ló thẻ kế để biết còn vuốt được */
  .dests-wrap { --dgap: 14px; --dcols: 1.25; }
  .dests__nav { width: 42px; height: 42px; }
  .dest__img { aspect-ratio: 4 / 3; }

  .duo__pics { aspect-ratio: 1 / 1.05; }
  .duo__pic--nl { width: 78%; height: 58%; }
  .duo__pic--vn { width: 68%; height: 56%; }

  .svc { grid-template-columns: 1fr; }
  .svc__item--wide h3 { font-size: 28px; }

  .row { grid-template-columns: 1fr; }
  .steps { gap: 12px; font-size: 13px; }
  .stp { font-size: 12.5px; }
  .formnav .btn { flex: 1; }

  .cgrid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__slide.is-on { animation: none; }
  /* slide ảnh vẫn tự chuyển (chỉ mờ dần, không phóng/dịch) nhưng chậm hơn nữa */
  .hero__slide { transition: opacity 4.5s ease; }
  .page__bg.page__bg--photos img, .page__bg.page__bg--photos img.is-on { animation: none; }
  .page__bg.page__bg--photos img { transition: opacity 4.5s ease; }
  /* giảm chuyển động: chỉ giữ hiệu ứng mờ dần, bỏ dịch chuyển */
  .js .reveal, .js .print.reveal { transform: rotate(var(--rot, 0deg)) !important; transition-property: opacity; }

}

/* ───────── trang Du lịch & khám phá: biến thể cho nội dung dài (chỉ du-lich.html dùng) ───────── */
.hero__title--long em { font-size: clamp(34px, min(4.6vw, 7.6vh), 66px); line-height: 1.08; }
.hero__sub--cols { max-width: 980px; }
@media (min-width: 901px) {
  .hero__sub--cols { columns: 2; column-gap: 44px; }
  .hero__sub--cols p { break-inside: avoid; }
  .chead--long { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .chead--long .chead__lead { columns: 2; column-gap: 34px; }
  .chead--long .chead__lead .lead { break-inside: avoid; font-size: clamp(13.5px, 1.8vh, 16.5px); line-height: 1.6; margin-bottom: .6em; }
}
/* bốn câu chuyện: mỗi ảnh có tiêu đề + một đoạn kể */
.album--4 .print figcaption h3 { margin: 0 0 6px; font: 500 clamp(17px, 2.3vh, 21px)/1.25 var(--serif); color: var(--ink); }
.album--4 .print figcaption p { margin: 0; font: 400 clamp(13.5px, 1.85vh, 15.5px)/1.55 var(--sans); color: var(--ink-2); }
@media (min-width: 1101px) { .album--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1100px) { .album--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .album--4 .print--c { grid-column: auto; max-width: none; justify-self: stretch; margin-top: 10px; }
  .album--4 .print--d { margin-top: 40px; }
}
@media (min-width: 641px) and (max-width: 900px) { .album--4 .print--c .print__img { aspect-ratio: 4 / 5; } }
@media (min-width: 901px) and (min-height: 600px) { .album--4 .print__img { height: clamp(100px, 21vh, 250px); } }

/* du-lich.html: ép các page chữ dài vẫn vừa một khung hình (màn rộng) */
@media (min-width: 901px) and (min-height: 600px) {
  .album--4 .print__img { height: clamp(90px, 17vh, 220px); }
  .album--4 .print figcaption { padding-top: 10px; }
  .album--4 .print figcaption h3 { font-size: clamp(15.5px, 2.1vh, 19px); margin-bottom: 4px; }
  .album--4 .print figcaption p { font-size: clamp(12.5px, 1.7vh, 14.5px); line-height: 1.5; }
  .album--4 + .ask { margin-top: clamp(10px, 2vh, 24px); font-size: clamp(16px, 2.3vh, 23px); }
  .chead--long .chead__lead .lead { font-size: clamp(12.5px, 1.62vh, 15px); line-height: 1.55; margin-bottom: .45em; }
  .duo--long { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 4.5vw, 64px); }
  .duo--long .duo__txt h2 { font-size: clamp(26px, min(3vw, 4.6vh), 42px); margin-bottom: clamp(12px, 2vh, 20px); }
  .duo--long .story p { font-size: clamp(13.5px, 1.8vh, 16px); line-height: 1.65; margin-bottom: clamp(8px, 1.5vh, 16px); }
}
/* câu punchline (thẻ <em class="hl">): nổi bằng màu riêng so với phần chữ còn lại —
   xanh thương hiệu trên nền sáng, vàng trên nền tối */
.hl { color: var(--forest); font-style: italic; }
.hero .hl, #hanh-trinh .hl, .chapter--forest .hl, #dat-ve.has-photo .hl, .finale .hl { color: var(--gold); }
/* ô tự điền khi chọn "Khác" ở Đi từ / Đến */
.fld--other { margin-top: 8px; }
/* điện thoại: số bước nằm trên, chữ nằm dưới để ba bước vẫn vừa một hàng */
@media (max-width: 640px) {
  .stp { flex-direction: column; gap: 6px; font-size: 13.5px; white-space: normal; text-align: center; }
}
/* khung điền: bước 2 (hành khách) dài nhất — thu khoảng cách để page vẫn vừa một khung hình */
@media (min-width: 901px) and (min-height: 600px) {
  .panelstep { gap: clamp(10px, 1.8vh, 22px); }
  .pax { padding: clamp(4px, .9vh, 12px) 0; }
}
/* ───────── thanh điều hướng: các mục chia đều, khoảng trống hai đầu bằng khoảng giữa các mục ───────── */
@media (min-width: 901px) {
  .top__in { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 0; }
  /* space-evenly chia đều khoảng trống; lề 7px mỗi bên chữ + 7px trong nav giữ tối thiểu 14px ở màn hẹp mà hai đầu vẫn bằng khoảng giữa */
  .nav { justify-content: space-evenly; gap: 0; padding-inline: 7px; }
  .navlink { margin: 0 calc(7px - .14em) 0 7px; }   /* -.14em: bù khoảng trống sau chữ cuối do letter-spacing */
}

/* ───────── page 2 (album ảnh): nền tối hơn một chút cho ảnh và chữ nổi lên ───────── */
#noi-nho { background: #EAE0CC; }

/* ───────── khung điền: nhiều chặng (4 dòng Đi từ / Đến / Ngày đi) ───────── */
#form [hidden] { display: none !important; }
.legs { display: grid; gap: 8px; }
.legs__head, .leg { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 8px; align-items: start; }
.legs__head span { font: 600 13px/1.3 var(--sans); color: var(--ink-2); }
.leg__no { display: grid; place-items: center; height: 44px; font: 600 13px/1 var(--sans); color: var(--ink-3); }
.leg .fld { min-height: 44px; padding: 8px 10px; font-size: 14.5px; }
.leg > div { position: relative; }
.leg .fld--other { margin-top: 0; padding-right: 34px; }
.leg__back {
  position: absolute; right: 7px; top: 22px; transform: translateY(-50%);
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(127, 127, 127, .25); color: inherit; font: 600 15px/24px var(--sans); cursor: pointer;
}
.leg__back:hover { background: rgba(127, 127, 127, .45); }
#dat-ve.has-photo .legs__head span { color: rgba(255, 255, 255, .9); }
#dat-ve.has-photo .leg__no { color: var(--gold); }
@media (max-width: 640px) {
  .legs__head { display: none; }
  .leg { grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 8px; border-bottom: 1px solid rgba(127, 127, 127, .25); }
  .leg__date { grid-column: 2 / -1; }
}

/* ───────── căn đều hai bên các đoạn mô tả ───────── */
.page-cong-viec #hanh-trinh .lead,
.page-du-lich #noi-nho .chead__lead,
.page-du-lich #noi-nho .print figcaption p,
.page-du-lich #hanh-trinh .lead,
.page-du-lich #dong-hanh .story p { text-align: justify; text-justify: inter-word; }

/* trang du lịch, page 1: đoạn cuối được nhấn và trải ngang hết hai cột chữ phía trên */
.hero__sub--cols .hero__note {
  column-span: all;
  margin-top: .9em; padding-top: .85em; border-top: 1px solid rgba(255, 255, 255, .3);
  font: italic 500 clamp(16px, 2.2vh, 20px)/1.55 var(--serif); color: #fff;
}

/* trang công việc, page 2: ảnh to hơn */
@media (min-width: 901px) and (min-height: 600px) {
  .page-cong-viec #noi-nho .print__img { height: clamp(140px, 33vh, 400px); }
}
.navlink { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .navlink { font-size: 13px; letter-spacing: .08em; margin: 0 calc(7px - .08em) 0 7px; }
}@media (min-width: 901px) and (max-width: 1000px) {
  .navlink { font-size: 12px; letter-spacing: .04em; margin: 0 calc(5px - .04em) 0 5px; }
  .nav { padding-inline: 5px; }
}
/* ---- Dịch vụ: 5 thẻ + link Vietnam Airlines ---- */
.svc__img { position: relative; }
.svc__badge { position: absolute; top: 10px; right: 10px; background: var(--forest); color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.svc__gift { background: #FFF4D6; border-left: 3px solid #F2AD07; padding: 8px 10px; border-radius: 6px; color: var(--forest) !important; font-weight: 600; }
.svc__more { margin: clamp(14px, 2.4vh, 26px) 0 0; text-align: center; }
.svc__more a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--forest); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.svc__more a:hover span { transform: translateX(4px); }
.svc__more a span { transition: transform .2s; }
.svc--5 .svc__body p { text-align: justify; hyphens: auto; }
@media (min-width: 1101px) {
  .svc--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);
    width: min(calc(100vw - var(--frame) * 2 - 28px), 1360px); position: relative; left: 50%; transform: translateX(-50%); }
}
@media (min-width: 901px) and (max-width: 1100px) { .svc--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 901px) and (min-height: 600px) {
  .svc--5 .svc__img { height: clamp(86px, 15vh, 200px); }
  .svc--5 .svc__body { padding: clamp(12px, 1.8vh, 20px) 16px; gap: 8px; }
  .svc--5 .svc__body h3 { font-size: clamp(17px, 2.3vh, 21px); }
  .svc--5 .svc__body p { font-size: 13.5px; line-height: 1.55; }
  .svc--5 .svc__vna { height: 15px; }
}
/* ---- ô ngày: gõ được DD/MM/YYYY + nút lịch ---- */
.dpick { position: relative; display: block; }
.dpick input[type="date"] {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; border: 0; padding: 0; min-height: 0;
}
.dpick .dtext { padding-right: 46px; letter-spacing: .02em; }
.dpick__btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: inherit; opacity: .75; cursor: pointer;
}
.dpick__btn:hover { opacity: 1; background: rgba(127, 127, 127, .15); }
.leg .dpick .dtext { padding-right: 38px; }
.leg .dpick__btn { right: 3px; width: 32px; height: 32px; }
.dtext.is-bad { border-color: #E4572E !important; box-shadow: 0 0 0 3px rgba(228, 87, 46, .2) !important; }
#dat-ve.has-photo .dpick__btn { color: #fff; }
/* ---- mobile: Khứ hồi / Một chiều / Nhiều chặng trên 1 hàng ---- */
@media (max-width: 640px) {
  #trip { flex-wrap: nowrap; gap: 6px; }
  #trip .pillbtn { flex: 1 1 auto; min-width: 0; padding: 0 4px; font-size: 13px; letter-spacing: -.01em; white-space: nowrap; }
}

/* ---- mobile: thanh điều hướng trong suốt hơn 30% ---- */
@media (max-width: 900px) {
  .top__in { background: rgba(250, 247, 240, .35); }
  .top.is-solid .top__in { background: rgba(250, 247, 240, .41); }
}
/* ---- bản EN/NL: chữ dài hơn tiếng Việt, gọn lại để vẫn vừa một khung ---- */
@media (min-width: 901px) and (min-height: 600px) {
  html:not([lang="vi"]) .svc--5 .svc__body p { line-height: 1.5; }
  html:not([lang="vi"]) .page-gia-dinh #noi-nho .print figcaption p { line-height: 1.45; }
}