/* =====================================================================
 * TOUR DETAIL – CSS riêng trang Chi tiết Tour (hero, lịch trình, bản đồ…)
 * Cần nạp site.css trước (token màu, nút, header, form, card tour, footer).
 * Breakpoint chính: 992px (desktop 2 cột lịch trình + bản đồ sticky)
 * ===================================================================== */

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: #1d3349; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 34, 52, .55) 0%, rgba(17, 34, 52, 0) 26%),
    linear-gradient(0deg, rgba(17, 34, 52, .88) 0%, rgba(17, 34, 52, .35) 45%, rgba(17, 34, 52, 0) 70%);
}
.hero__content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 128px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; opacity: .8; margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12.5px; font-weight: 600; color: var(--blossom); margin-bottom: 14px; }
.hero__title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(44px, 7.2vw, 96px); line-height: 1; letter-spacing: -.01em; margin-bottom: 18px; }
.hero__tagline { font-size: clamp(17px, 1.8vw, 21px); font-weight: 300; max-width: 620px; opacity: .92; margin-bottom: 22px; }
.hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0 0 36px; font-size: 15px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero__price { display: flex; flex-direction: column; }
.hero__price-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.hero__price-value { font-family: var(--font-serif); font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; line-height: 1.15; }
.hero__price-note { font-size: 14px; opacity: .75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__caption { position: absolute; z-index: 2; right: var(--gutter); bottom: 84px; margin: 0; font-size: 12px; font-style: italic; opacity: .6; max-width: 320px; text-align: right; }

/* ---------- 2. Quick facts ---------- */
.facts { position: relative; z-index: 5; margin-top: -60px; }
.facts__list {
  list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.fact + .fact { border-left: 1px solid var(--line-2); }
.fact__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.fact__icon .ic { width: 20px; height: 20px; }
.fact__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.fact__value { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.fact__value small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.diff-dots { display: inline-flex; gap: 4px; margin-top: 6px; }
.diff-dots i { width: 14px; height: 4px; border-radius: 2px; background: var(--line); }
.diff-dots i.on { background: var(--accent); }

/* ---------- Sticky section nav ---------- */
.subnav {
  position: sticky; top: 0; z-index: 40; margin-top: 40px; height: var(--subnav-h);
  background: rgba(251, 253, 254, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.subnav.is-stuck { border-color: var(--line); box-shadow: 0 6px 18px -14px rgba(29, 51, 73, .4); }
.subnav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subnav__links { display: flex; gap: 6px; height: 100%; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  display: flex; align-items: center; padding: 0 14px; height: 100%; white-space: nowrap; text-decoration: none;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.subnav__links a:hover { color: var(--ink); }
.subnav__links a.is-active { color: var(--ink); border-color: var(--accent); }
.subnav__cta { display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: .3s var(--ease); }
.subnav.is-stuck .subnav__cta { opacity: 1; transform: none; pointer-events: auto; }
.subnav__price { font-size: 14px; color: var(--muted); white-space: nowrap; }
.subnav__price strong { color: var(--ink); font-size: 16px; }

/* ---------- 3. Overview ---------- */
.overview { padding-top: 64px; }
.overview__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
.overview__lead p { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.overview__lead p:first-child::first-letter {
  font-family: var(--font-serif); float: left; font-size: 64px; line-height: .9; padding: 6px 10px 0 0; color: var(--accent);
}
.overview__route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 500; }
.overview__route span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.overview__route i { width: 14px; height: 1px; background: var(--muted); }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.highlight { background: var(--paper); padding: 26px 24px; transition: background .25s; }
.highlight:hover { background: #fbfdff; }
.highlight__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--forest-soft); color: var(--forest); margin-bottom: 16px; }
.highlight__icon .ic { width: 22px; height: 22px; }
.highlight h3 { font-size: 16px; margin-bottom: 6px; }
.highlight p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 4. Itinerary + Map ---------- */
.itinerary { padding-top: 40px; }
.itinerary__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.itinerary__head .section__title { margin-bottom: 20px; }
.itinerary__head .btn { margin-bottom: 26px; }
.itinerary__head .btn .ic { transition: transform .3s var(--ease); }
.itinerary__head .btn[aria-pressed="true"] .ic { transform: rotate(180deg); }
.itinerary__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }

/* timeline + day accordion */
.itinerary__days { position: relative; min-width: 0; }
.day { position: relative; padding-left: 76px; scroll-margin-top: calc(var(--subnav-h) + 16px); }
.day::before { /* đường timeline */
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.day:first-child::before { top: 36px; }
.day:last-child::before { bottom: auto; height: 36px; }
.day__head {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: none; border: 0;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.day__num {
  position: absolute; left: 0; top: 10px; width: 56px; height: 56px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.day__num small { font-size: 9.5px; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--muted); transition: color .3s; }
.day__num b { font-family: var(--font-serif); font-size: 21px; line-height: 1.1; font-weight: 600; }
.day.is-active .day__num { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 6px var(--accent-soft); }
.day.is-active .day__num small { color: rgba(255, 255, 255, .8); }
.day__titles { flex: 1; min-width: 0; }
.day__date { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.day__title { font-family: var(--font-serif); font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; line-height: 1.3; transition: color .2s; }
.day__head:hover .day__title { color: var(--accent); }
.day__stops { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.day__stop { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.day__stop:hover { color: var(--accent); }
.day__stop b { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 10px; font-size: 10.5px; font-weight: 700; background: var(--ink); color: #fff; }
.day.is-active .day__stop b { background: var(--accent); }
.day__chev { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: transform .35s var(--ease), background .2s; }
.day.is-open .day__chev { transform: rotate(180deg); background: var(--sand); }

.day__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.day.is-open .day__body { grid-template-rows: 1fr; }
.day__inner { overflow: hidden; min-height: 0; }
.day__inner > :first-child { margin-top: 28px; }
.day__inner > :last-child { margin-bottom: 44px; }

.day__highlights { list-style: none; margin: 0 0 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--accent-soft); display: grid; gap: 8px; }
.day__highlights-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-dark); margin-bottom: 4px; }
.day__highlights li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.day__highlights li .ic { color: var(--accent); margin-top: 3px; width: 16px; height: 16px; fill: currentColor; stroke: none; }

.day__content { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.day__content p { margin: 0 0 1.1em; }
.day__content strong { color: var(--ink); font-weight: 600; }
.day__content ul { padding-left: 1.2em; }
.day__content .note { font-size: 15px; line-height: 1.65; padding: 14px 18px; border-left: 3px solid var(--gold); background: #fbf6ea; border-radius: 0 8px 8px 0; color: var(--ink-2); }
.day__content figure, .figure { margin: 30px 0; }
.figure__img { position: relative; overflow: hidden; border-radius: 8px; background: var(--line-2); cursor: zoom-in; }
.figure__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
html.js .figure__img img:not(.is-loaded) { opacity: 0; } /* chỉ fade-in khi JS chạy; tắt JS ảnh vẫn hiện */
.figure__img:hover img { transform: scale(1.03); }
.day__content figcaption, .figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; font-style: italic; color: var(--muted); }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.figure-pair .figure { margin: 0; }
.figure-pair .figure__img img { aspect-ratio: 4 / 5; }
/* ảnh chèn trực tiếp từ rich-text editor (contentHtml) */
.day__content figure img { width: 100%; height: auto; border-radius: 8px; cursor: zoom-in; }

.day__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day__info > div { background: var(--paper); padding: 18px 20px; }
.day__info-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.day__info-label .ic { color: var(--forest); width: 17px; height: 17px; }
.meals { display: flex; flex-wrap: wrap; gap: 8px; }
.meal { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.meal .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.meal--yes { background: var(--forest-soft); color: var(--forest); }
.meal--no { background: var(--line-2); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 129, 149, .5); }
.hotel-name { font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.stars { display: inline-flex; gap: 2px; margin-top: 4px; color: var(--gold); }
.stars .ic { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.hotel-none { color: var(--muted); font-size: 15px; }

/* map panel */
.itinerary__map { position: sticky; top: var(--subnav-h); height: calc(100vh - var(--subnav-h)); height: calc(100dvh - var(--subnav-h)); padding: 20px 0; min-width: 0; }
.map-card { position: relative; height: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #e3ecf2; isolation: isolate; }
.map-card__map { position: absolute; inset: 0; z-index: 0; }
.map-card__label {
  position: absolute; z-index: 500; left: 14px; top: 14px; right: 140px; max-width: 360px;
  padding: 10px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; pointer-events: none;
}
.map-card__label-day { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.map-card__label-title { font-weight: 600; font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-card__btn {
  position: absolute; z-index: 500; top: 14px; right: 14px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s;
}
.map-card__btn:hover { background: var(--ink); color: #fff; }
.map-card__close { display: none; width: 44px; height: 44px; padding: 0; justify-content: center; }

/* Leaflet markers & tooltip */
.tm-marker { background: none !important; border: 0 !important; }
.tm-marker__dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 700 12px/1 var(--font-sans); color: var(--ink); background: #fff; border: 2px solid var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.tm-marker.is-past .tm-marker__dot { background: var(--ink); color: #fff; }
.tm-marker.is-active { z-index: 1000 !important; }
.tm-marker.is-active .tm-marker__dot { background: var(--accent); border-color: #fff; color: #fff; transform: scale(1.28); box-shadow: 0 0 0 4px rgba(53, 124, 168, .3), 0 4px 12px rgba(0, 0, 0, .3); }
.tm-marker:hover .tm-marker__dot { transform: scale(1.2); }
.tm-marker.is-active:hover .tm-marker__dot { transform: scale(1.36); }
.leaflet-tooltip.tm-tip { border: 0; border-radius: 8px; padding: 7px 11px; font: 500 13px/1.35 var(--font-sans); color: var(--ink); box-shadow: var(--shadow); }
.leaflet-tooltip.tm-tip small { display: block; color: var(--accent); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.leaflet-container { font-family: var(--font-sans); background: #e3ecf2; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-bar a { color: var(--ink); }

/* ---------- 5. Inclusions ---------- */
.inclusions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.incl-card { background: var(--paper); border-radius: var(--radius-lg); padding: 32px 34px; box-shadow: var(--shadow-sm); }
.incl-card h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.incl-card h3 .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; stroke-width: 2.4; }
.incl-card--yes h3 .ic { background: var(--forest-soft); color: var(--forest); }
.incl-card--no h3 .ic { background: #f6e3e3; color: var(--danger); }
.incl-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.incl-card li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.incl-card li .ic { margin-top: 3px; stroke-width: 2.4; width: 16px; height: 16px; }
.incl-card--yes li .ic { color: var(--forest); }
.incl-card--no li .ic { color: var(--danger); }

/* ---------- 6. Departures ---------- */
.dep-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.dep-row { display: grid; grid-template-columns: 1.3fr 1.3fr 1.2fr 1.2fr 150px; align-items: center; gap: 16px; padding: 20px 28px; }
.dep-row + .dep-row, #depRows .dep-row { border-top: 1px solid var(--line-2); }
.dep-row--head { background: var(--sand); padding-top: 14px; padding-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dep-date { font-weight: 600; font-size: 16px; }
.dep-date small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.dep-price { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.dep-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.dep-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dep-status--available { color: var(--forest); }
.dep-status--limited { color: #b87412; }
.dep-status--soldout { color: var(--muted); }
.dep-row.is-soldout .dep-date, .dep-row.is-soldout .dep-price { color: var(--muted); }
.dep-row .btn { justify-self: end; }
.dep-label { display: none; }
.departures__foot { margin: 22px 0 0; color: var(--ink-2); }
.departures__foot a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---------- 7. Notes ---------- */
.notes__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.notes__intro { color: var(--ink-2); font-size: 16px; }
.notes__list { border-top: 1px solid #d2dee8; }
.note-item { border-bottom: 1px solid #d2dee8; }
.note-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 17px;
}
.note-item summary::-webkit-details-marker { display: none; }
.note-item summary .ic { transition: transform .3s var(--ease); color: var(--ink-2); }
.note-item[open] summary .ic { transform: rotate(180deg); }
.note-item summary:hover { color: var(--accent); }
.note-item__body { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.note-item__body ul { margin: 0; padding-left: 1.2em; }
.note-item__body li + li { margin-top: 6px; }

/* ---------- Mobile-only bits (hidden on desktop) ---------- */
.map-fab, .mobile-cta { display: none; }

/* ---------- Lightbox ---------- */
.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; }
@keyframes fadeIn { from { opacity: 0; } }

/* =====================================================================
 * RESPONSIVE
 * ===================================================================== */
@media (max-width: 1199.98px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line-2); }
}

@media (max-width: 991.98px) {
  :root { --subnav-h: 54px; }
  .overview__grid, .notes__grid { grid-template-columns: 1fr; gap: 40px; }

  /* Lịch trình 1 cột, bản đồ thu nhỏ đặt phía trên */
  .itinerary__layout { display: flex; flex-direction: column; gap: 28px; }
  .itinerary__map { order: -1; position: relative; top: auto; height: 300px; padding: 0; width: 100%; }
  .map-card__fit span { display: none; }
  .map-card__label { right: 70px; }

  /* Bản đồ toàn màn hình (mở bằng nút "Xem bản đồ") */
  .itinerary__map.is-fullscreen { position: fixed; inset: 0; z-index: 1500; height: 100vh; height: 100dvh; background: #000; }
  .itinerary__map.is-fullscreen .map-card { border-radius: 0; }
  .itinerary__map.is-fullscreen .map-card__close { display: inline-flex; }
  .itinerary__map.is-fullscreen .map-card__fit { right: 68px; top: 16px; }
  .itinerary__map.is-fullscreen .map-card__close { top: 14px; }
  .itinerary__map.is-fullscreen .map-card__label { right: 124px; top: 16px; }
  body.map-open { overflow: hidden; }

  .subnav__cta { display: none; }

  /* nút nổi + thanh CTA dưới đáy */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    display: flex; align-items: center; gap: 10px; position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(29, 51, 73, .25);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta__price { flex: 1; line-height: 1.2; }
  .mobile-cta__price small { display: block; font-size: 12px; color: var(--muted); }
  .mobile-cta__price strong { font-family: var(--font-serif); font-size: 20px; }
  .mobile-cta__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--forest); }
  .mobile-cta .btn { padding: .85em 1.6em; }

  .map-fab {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 1001; left: 50%;
    bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    padding: 12px 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: opacity .3s, transform .3s var(--ease);
  }
  .map-fab.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
  body.map-open .map-fab, body.map-open .mobile-cta { display: none; }
}

@media (max-width: 767.98px) {

  .hero { min-height: 86vh; min-height: 86svh; }
  .hero__content { padding-top: 100px; padding-bottom: 92px; }
  .breadcrumb { display: none; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__actions .btn { flex: 1; padding-left: 1em; padding-right: 1em; }
  .hero__caption { display: none; }

  .facts { margin-top: -48px; }
  .facts__list { grid-template-columns: 1fr 1fr; padding: 4px; }
  .fact { padding: 14px 12px; gap: 10px; flex-direction: column; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line-2); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .fact:last-child { grid-column: 1 / -1; border-left: 0; flex-direction: row; align-items: center; }
  .fact__icon { width: 36px; height: 36px; }
  .subnav { margin-top: 24px; }
  .subnav__links a { padding: 0 11px; font-size: 14px; }

  .overview { padding-top: 40px; }
  .highlights { grid-template-columns: 1fr; }
  .highlight { display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; padding: 20px; }
  .highlight__icon { grid-row: span 2; margin: 0; }

  .itinerary__head { flex-direction: column; align-items: flex-start; gap: 0; }
  .itinerary__head .btn { margin-bottom: 4px; }
  .itinerary__map { height: 240px; }

  .day { padding-left: 0; }
  .day::before { display: none; }
  .day__num { position: static; width: 50px; height: 50px; flex: none; align-self: flex-start; }
  .day__head { align-items: flex-start; gap: 14px; padding: 20px 0; }
  .day__chev { width: 32px; height: 32px; }
  .day__content { font-size: 16.5px; }
  .day__highlights { padding: 16px 18px; }
  .day__highlights li { font-size: 15.5px; }
  .figure-pair { grid-template-columns: 1fr; gap: 24px; }
  .figure-pair .figure__img img { aspect-ratio: 3 / 2; }
  .day__content figure, .figure, .figure-pair { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .figure-pair .figure { margin-left: 0; margin-right: 0; }
  .figure__img, .day__content figure img { border-radius: 0; }
  .figure figcaption, .day__content figcaption { padding: 0 var(--gutter); }
  .day__info { grid-template-columns: 1fr; }

  .inclusions__grid { grid-template-columns: 1fr; gap: 18px; }
  .incl-card { padding: 24px 22px; }

  .dep-row--head { display: none; }
  .dep-row { grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 20px; }
  .dep-label { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  #depRows .dep-row:first-child { border-top: 0; }
  .dep-row .btn { grid-column: 1 / -1; justify-self: stretch; }

}

/* =====================================================================
 * MOBILE POLISH (kiểm tra thực tế ở 390×844 – iPhone 12–15)
 * ===================================================================== */
.hero { overflow: hidden; } /* ảnh hero có hiệu ứng phóng to – không để tràn ngang trên Safari iOS */

@media (max-width: 767.98px) {
  /* Thông tin nhanh: bỏ ô "Giá từ" (đã có ở hero + thanh Đặt tour dưới đáy) => lưới 2×2 gọn */
  .fact:last-child { display: none; }
  .fact { padding: 14px 14px 16px; }

  /* Điểm nổi bật: lưới 2 cột gọn thay vì 6 hàng dài */
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlight { display: block; padding: 18px 14px; }
  .highlight__icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 10px; }
  .highlight__icon .ic { width: 19px; height: 19px; }
  .highlight h3 { font-size: 14.5px; line-height: 1.35; margin-bottom: 4px; }
  .highlight p { font-size: 13px; line-height: 1.5; }

  /* Lịch trình */
  .day__num small { font-size: 10.5px; }
  .day__title { font-size: 19px; }
  .day__stops { gap: 6px 10px; }
  .day__stop { font-size: 13px; }

  /* Form đặt tour: bỏ khung tóm tắt (lặp thông tin ngay phía trên) */
  .booking__summary { display: none; }

  /* Thanh Đặt tour dưới đáy + nút bản đồ: chừa vùng an toàn của iPhone */
  .mobile-cta .btn { padding: .85em 1.3em; }
}

@media (max-width: 359.98px) {
  .highlights { grid-template-columns: 1fr; }
  .mobile-cta__price strong { font-size: 18px; }
}

/* ---------- Phát hành trình (nút ▶ trên bản đồ) ---------- */
.map-player {
  position: absolute; z-index: 500; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 4px;
  padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.map-player[hidden] { display: none; }
.map-player__play {
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; transition: transform .2s var(--ease), background .2s;
}
.map-player__play:hover { background: var(--accent); transform: scale(1.06); }
.map-player__play .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.map-player__play .ic-play { margin-left: 2px; }
.map-player .ic-pause, .map-player.is-playing .ic-play { display: none; }
.map-player.is-playing .ic-pause { display: block; }
.map-player.is-playing .map-player__play { background: var(--accent); box-shadow: 0 0 0 0 rgba(53, 124, 168, .5); animation: playerPulse 1.6s infinite; }
@keyframes playerPulse { 70% { box-shadow: 0 0 0 10px rgba(53, 124, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(53, 124, 168, 0); } }
.map-player__nav { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink-2); }
.map-player__nav:hover:not(:disabled) { background: var(--sand); color: var(--ink); }
.map-player__nav:disabled { opacity: .3; }
.map-player__day { min-width: 74px; text-align: center; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.map-player__day b { font-size: 15px; color: var(--ink); }
.map-player__day small { color: var(--muted); }
.map-player__hint { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-left: 6px; border-left: 1px solid var(--line); margin-left: 2px; }
.map-player.is-playing .map-player__hint { color: var(--muted); }
@media (max-width: 1199.98px) { .map-player__hint { display: none; } }
@media (max-width: 991.98px) {
  .map-player { left: 10px; bottom: 10px; }
  .itinerary__map:not(.is-fullscreen) .map-player__nav, .itinerary__map:not(.is-fullscreen) .map-player__day { display: none; }
  .itinerary__map:not(.is-fullscreen) .map-player { padding: 5px; }
  .itinerary__map.is-fullscreen .map-player { left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* Nền bản đồ dịu màu, hợp tông website (map-tiles.js) */
.tm-tiles--osm { filter: saturate(.7) contrast(.96) brightness(1.03); }
.tm-tiles--opentopo { filter: grayscale(.6) sepia(.22) saturate(.9) contrast(.88) brightness(1.1); } /* địa hình nhiều màu => dịu kiểu bản đồ minh hoạ */

/* =====================================================================
 * GIAO DIỆN 2026-11 – trang tour theo phong cách trang chủ (anh1–6):
 * hero bo góc, card trắng bo tròn, icon nền xanh nhạt, form nền xanh nhạt.
 * ===================================================================== */
/* ---------- Hero bo góc ---------- */
#tourPage { background: linear-gradient(180deg, var(--sky-2) 0, #fff 520px); }
.hero { margin: 32px clamp(16px, 3.2vw, 96px) 0; border-radius: 30px; min-height: min(82vh, 860px); background: var(--ink); }
.hero__shade { background: linear-gradient(90deg, rgba(17, 34, 52, .55) 0%, rgba(17, 34, 52, .2) 55%, rgba(17, 34, 52, 0) 80%), linear-gradient(0deg, rgba(17, 34, 52, .82) 0%, rgba(17, 34, 52, .25) 45%, rgba(17, 34, 52, 0) 70%); }
.hero__content { padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); max-width: none; padding-bottom: 120px; }
.hero__eyebrow { color: #fff; font-weight: 700; letter-spacing: .26em; font-size: 13.5px; }
.hero__title { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__tagline { font-weight: 400; }
.hero__price-value { font-weight: 800; letter-spacing: -.02em; }
.hero__caption { right: clamp(24px, 4vw, 72px); }

/* ---------- Thông tin nhanh ---------- */
.facts__list { padding: 12px; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(29, 51, 73, .4); }
.fact__icon { width: 48px; height: 48px; background: var(--sky); }
.fact__icon .ic { width: 22px; height: 22px; }
.fact__label { font-weight: 600; letter-spacing: .08em; }
.fact__value { font-weight: 700; font-size: 16px; }

/* ---------- Thanh mục lục ---------- */
.subnav { background: rgba(255, 255, 255, .94); }
.subnav__links a { font-size: 15px; font-weight: 600; color: var(--muted); }
.subnav__links a:hover, .subnav__links a.is-active { color: var(--accent); }

/* ---------- Tổng quan ---------- */
.overview__lead p { font-size: 18px; }
.overview__lead p:first-child::first-letter { font-family: var(--font-sans); font-weight: 800; font-size: 68px; line-height: .85; }
.overview__route span { padding: 8px 16px; border-color: var(--line); background: var(--sky-2); font-weight: 600; color: var(--ink-2); }
.overview__route i { background: var(--accent); opacity: .5; }
.highlights { gap: 14px; background: none; border: 0; border-radius: 0; overflow: visible; }
.highlight { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.highlight:hover { background: #fff; border-color: #c9d8e5; transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(29, 51, 73, .4); }
.highlight__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--sky); color: var(--accent); }
.highlight h3 { font-size: 17px; font-weight: 700; }
.highlight p { color: var(--ink-2); }

/* ---------- Lịch trình ---------- */
.itinerary__head .btn--outline { border-color: var(--line); }
.itinerary__head .btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.day__num { border-color: #cfdde8; }
.day__num b { font-family: var(--font-sans); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.day.is-active .day__num { box-shadow: 0 0 0 6px var(--sky); }
.day__title { font-weight: 700; letter-spacing: -.015em; }
.day__stop b { background: var(--ink-2); }
.day__chev { border-color: var(--line); color: var(--accent); }
.day.is-open .day__chev { background: var(--sky); border-color: var(--sky); }
.day__highlights { background: var(--sky); border-radius: 18px; padding: 22px 24px; }
.day__highlights-title { color: var(--accent); }
.day__info { border-radius: 18px; }
.day__info-label .ic { color: var(--accent); }
.meal--yes { background: var(--sky); color: var(--accent-dark); }
.figure__img, .day__content figure img { border-radius: 16px; }
.map-card { border-radius: 26px; box-shadow: 0 30px 60px -34px rgba(29, 51, 73, .5); }
.map-card__label { border-radius: 14px; }
.map-card__btn:hover { background: var(--accent); }
.map-player__play { background: var(--accent); }
.map-player__play:hover { background: var(--accent-dark); }

/* ---------- Giá bao gồm ---------- */
.incl-card { padding: 36px 38px; border-radius: 26px; box-shadow: 0 20px 44px -32px rgba(29, 51, 73, .4); }
.incl-card h3 { font-size: 20px; font-weight: 700; }
.incl-card--yes h3 .ic { background: var(--sky); color: var(--accent); }
.incl-card--yes li .ic { color: var(--accent); }
.incl-card--no h3 .ic { background: #f8e9e1; color: var(--coral); }
.incl-card--no li .ic { color: var(--coral); }

/* ---------- Ngày khởi hành ---------- */
.dep-table { border-radius: 26px; box-shadow: 0 20px 44px -34px rgba(29, 51, 73, .35); }
.dep-row--head { background: var(--sky-2); }
.dep-price { font-family: var(--font-sans); font-weight: 800; font-size: 19px; color: var(--accent-dark); letter-spacing: -.01em; }
.dep-status--available { color: var(--accent); }
.dep-empty { border-radius: 26px; border-color: #c4d4e1; }

/* ---------- Lưu ý: thẻ xổ ra giống mục quốc gia ---------- */
.notes__list { border-top: 0; display: grid; gap: 12px; }
.note-item { border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.note-item[open] { border-color: #9fc0d8; box-shadow: 0 20px 40px -32px rgba(29, 51, 73, .4); }
.note-item summary { padding: 22px 26px; font-weight: 700; }
.note-item summary .ic { width: 22px; height: 22px; color: var(--accent); }
.note-item__body { padding: 0 26px 24px; }

/* ---------- Đặt tour / tư vấn ---------- */
.booking .booking__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.booking .booking__summary { margin: 6px 0 22px; padding: 22px 24px; border-radius: 20px; background: var(--sky-2); }
.booking .booking__summary strong { text-align: right; }
.booking .booking__contacts { margin: 0 0 22px; }
.booking .contact-btn { border-radius: 16px; }
.booking .contact-btn:hover { border-color: var(--accent); }
.booking .booking__form { padding: 44px 46px; border-radius: 28px; background: var(--sky-2); box-shadow: none; gap: 18px; }
.booking .field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.booking .field input, .booking .field textarea { padding: 16px 20px; border-radius: 14px; background: #fff; border-color: var(--line); font-size: 16.5px; }
.booking .field input:focus, .booking .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.booking .stepper { border-radius: 14px; background: #fff; }
.booking .stepper button { color: var(--accent); }
.booking .stepper button:hover { background: var(--sky); }
.booking .booking__form .btn[type="submit"] { padding: 1.15em 1.9em; font-size: 18px; }
.booking .booking__success { background: var(--sky-2); }

/* ---------- Hành trình liên quan ---------- */
.related__head .section__title { margin-bottom: 36px; }
.related__nav { gap: 14px; margin-bottom: 40px; }
.related__track { grid-auto-columns: calc((100% - 3 * 28px) / 4); gap: 28px; }

/* ---------- Mobile ---------- */
.mobile-cta__price strong { font-family: var(--font-sans); font-weight: 800; color: var(--accent-dark); }
.mobile-cta__icon { color: var(--accent); }
.map-fab { background: var(--accent); }

@media (max-width: 1199.98px) {
  .related__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
  .booking .booking__grid { gap: 48px; }
}
@media (max-width: 991.98px) {
  .booking .booking__grid { grid-template-columns: 1fr; }
  .related__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 767.98px) {
  .hero { margin: 16px 12px 0; border-radius: 22px; min-height: 0; }
  .hero__content { padding: 64px 22px 92px; }
  .hero__title { font-size: 40px; }
  .hero__shade { background: linear-gradient(0deg, rgba(17, 34, 52, .85) 0%, rgba(17, 34, 52, .35) 60%, rgba(17, 34, 52, .2) 100%); }
  .facts { margin-top: -44px; }
  .facts .container { padding: 0 24px; }
  .facts__list { border-radius: 20px; padding: 6px; }
  .highlights { gap: 10px; }
  .highlight { padding: 18px 14px; }
  .highlight__icon { width: 40px; height: 40px; }
  .incl-card { padding: 26px 22px; border-radius: 22px; }
  .note-item summary { padding: 18px 18px; font-size: 16px; }
  .note-item__body { padding: 0 18px 20px; }
  .booking .booking__form { padding: 28px 20px; border-radius: 22px; }
  .related__track { grid-auto-columns: 82%; gap: 16px; }
}

/* =====================================================================
 * CHẶNG DI CHUYỂN 2026-11-20: icon phương tiện + km · thời gian giữa các điểm
 * ===================================================================== */
/* Chip giữa chặng trên bản đồ: icon tròn luôn hiện; ngày đang xem / rê chuột => mở ra chữ km · giờ */
.tm-leg-wrap { background: none !important; border: 0 !important; width: 0 !important; height: 0 !important; }
.tm-leg {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0; height: 26px; padding: 0 4px; border-radius: 999px;
  background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(17, 34, 52, .22), 0 0 0 1px rgba(17, 34, 52, .06);
  white-space: nowrap; font: 600 11.5px/1 var(--font-sans); cursor: default; transition: background .25s, color .25s, gap .25s, padding .25s;
}
.tm-leg__ic { display: grid; place-items: center; width: 18px; height: 18px; }
.tm-leg__ic .ic { width: 15px; height: 15px; }
.tm-leg__txt { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .3s var(--ease), opacity .2s; }
.tm-leg-wrap:hover .tm-leg, .tm-leg-wrap.is-active .tm-leg { gap: 6px; padding: 0 10px 0 6px; }
.tm-leg-wrap:hover .tm-leg__txt, .tm-leg-wrap.is-active .tm-leg__txt { max-width: 180px; opacity: 1; }
.tm-leg-wrap.is-active .tm-leg { background: var(--ink); color: #fff; }
.tm-leg-wrap:hover { z-index: 2000 !important; }
.tm-leg-wrap.is-hidden { visibility: hidden; }
/* chặng ngắn trên màn hình: chỉ icon (km · giờ vẫn hiện khi rê chuột + trong danh sách lịch trình) */
.tm-leg-wrap.is-active.is-compact:not(:hover) .tm-leg { gap: 0; padding: 0 5px; }
.tm-leg-wrap.is-active.is-compact:not(:hover) .tm-leg__txt { max-width: 0; opacity: 0; }

/* Tổng km / giờ trong khung tên ngày trên bản đồ */
.map-card__label-meta { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }
.map-card__label-meta[hidden] { display: none; }
.map-card__label-meta .ic { width: 15px; height: 15px; color: var(--accent); flex: none; }
.map-card__label-meta span { margin-left: 3px; }

/* Dòng điểm đến trong lịch trình: "① Huế  [xe] ≈ 95 km · 2h  ② Hội An" */
.day__leg { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.day__leg .ic { width: 14px; height: 14px; color: var(--accent); }
@media (max-width: 767.98px) {
  .day__leg { font-size: 11.5px; }
  .tm-leg { height: 24px; font-size: 11px; }
}

/* =====================================================================
 * NỀN BẢN ĐỒ TỐI GIẢN 2026-11-20 (map-tiles.js, style 'clean')
 * Địa hình Esri không chữ, ngả be cho hợp tông; biển xanh nhạt; nhãn tự đặt.
 * ===================================================================== */
.tm-map--relief.leaflet-container { background: #b4c8da; } /* = màu biển của nền, ô chưa tải không bị loang */
.tm-tiles--relief { filter: sepia(.18) saturate(.95) brightness(1.05) contrast(.94); }
.tm-tiles--detail { mix-blend-mode: multiply; opacity: .35; filter: sepia(.2); }

.tm-geo { pointer-events: none; }
.tm-geo span { display: block; transform: translate(-50%, -50%); white-space: nowrap; text-align: center; transition: opacity .4s; }
.tm-geo--country span { font: 600 11px/1 var(--font-sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(77, 62, 44, .5); }
.tm-geo--sea span { font-family: var(--font-sans); font-style: italic; font-weight: 400; font-size: 18px; letter-spacing: .08em; color: rgba(36, 86, 128, .62); }
.tm-geo--sm span { font-size: 13.5px; }
.tm-geo--isle span { font: 600 10.5px/1.2 var(--font-sans); letter-spacing: .08em; color: rgba(36, 86, 128, .7); }
.tm-geo--isle span::before { content: ""; display: block; width: 5px; height: 5px; margin: 0 auto 5px; border-radius: 50%; background: currentColor; }
.tm-zoom-near .tm-geo--country span, .tm-zoom-near .tm-geo--sm span, .tm-zoom-far .tm-geo--sm span, .tm-zoom-far .tm-geo--isle span { opacity: 0; }
.tm-zoom-near .tm-geo--sea span { font-size: 15px; }

/* =====================================================================
 * TRANG SẢN PHẨM 2026-11-20: ALBUM ẢNH · CÂU HỎI THƯỜNG GẶP · BANNER THƯƠNG HIỆU
 * Theo góp ý: sang hơn, ít đóng khung – tiêu đề chữ mảnh, đường kẻ mảnh thay cho hộp.
 * ===================================================================== */

/* ---------- Album ảnh: dải nền xanh than, lưới ảnh 1 lớn + 4 nhỏ ---------- */
.album { background: #12263a; color: #fff; }
.album .section__kicker { color: var(--blossom); }
.album__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.album__title { color: #fff; font-weight: 300; letter-spacing: -.03em; margin: 0; }
.album__title em, .faq__title em { font-style: italic; font-weight: 300; color: var(--blossom); }
.faq__title em { color: var(--accent); }
.album__all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font: 500 14.5px var(--font-sans); cursor: pointer; transition: background .25s, border-color .25s; }
.album__all:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.album__all .ic { width: 16px; height: 16px; }

.album__grid { display: grid; gap: 14px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 240px; }
.album__grid--n1 { grid-template-columns: 1fr; grid-auto-rows: 520px; }
.album__grid--n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 420px; }
.album__grid--n3 { grid-template-columns: 2fr 1fr; }
.album__grid--n3 .album__item:first-child,
.album__grid--n4 .album__item:first-child,
.album__grid--n5 .album__item:first-child { grid-row: span 2; }
.album__grid--n4 .album__item:nth-child(2) { grid-column: span 2; }

.album__item { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #1c3650; cursor: zoom-in; isolation: isolate; }
.album__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .4s; }
.album__item:hover img { transform: scale(1.05); }
.album__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 32, .65), rgba(8, 20, 32, 0) 45%); opacity: 0; transition: opacity .4s; }
.album__item:hover::after, .album__item:focus-visible::after { opacity: 1; }
.album__item:focus-visible { outline: 2px solid var(--blossom); outline-offset: 3px; }
.album__cap { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; text-align: left; color: #fff; font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.album__item:hover .album__cap, .album__item:focus-visible .album__cap { opacity: 1; transform: none; }
.album__more { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(8, 20, 32, .55); color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(2px); transition: background .3s; }
.album__more strong { font-size: 40px; font-weight: 300; letter-spacing: -.02em; text-transform: none; line-height: 1; }
.album__item:hover .album__more { background: rgba(8, 20, 32, .4); }

/* ---------- Câu hỏi thường gặp: 2 cột, danh sách kẻ mảnh, dấu +/− ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--subnav-h) + 32px); }
.faq__title { font-weight: 300; letter-spacing: -.03em; }
.faq__lead { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; margin: 0 0 28px; max-width: 34ch; }
.faq__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.faq__tel { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.faq__tel .ic { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.faq__tel small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.faq__tel:hover { color: var(--accent); }

.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 12px; align-items: center; padding: 26px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.faq-item__q { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; transition: color .2s; }
.faq-item summary:hover .faq-item__q { color: var(--accent); }
.faq-item__pm { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq-item__pm::before, .faq-item__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease), background .3s; }
.faq-item__pm::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__pm { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-item__pm::before, .faq-item[open] .faq-item__pm::after { background: #fff; }
.faq-item[open] .faq-item__pm::after { transform: rotate(0deg); }
.faq-item__a { padding: 0 44px 28px 60px; color: var(--ink-2); font-size: 16px; line-height: 1.75; max-width: 70ch; }
.faq-item[open] .faq-item__a { animation: faqIn .45s var(--ease); }
.faq-item__a p { margin: 0; }
.faq-item__a p + p { margin-top: 12px; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Banner thương hiệu: ảnh tràn viền, chữ trắng ---------- */
.brand-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 128px 0 112px; background: #12263a; }
.brand-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.brand-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 24, 38, .9) 0%, rgba(10, 24, 38, .62) 52%, rgba(10, 24, 38, .25) 100%); }
.brand-banner--plain::after { background: radial-gradient(circle at 85% 20%, rgba(var(--accent-rgb), .45), transparent 60%); }
.brand-banner__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 80px; align-items: end; }
.brand-banner__kicker { margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blossom); }
.brand-banner__title { margin: 0; font-size: clamp(40px, 5.2vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; }
.brand-banner__title em { font-style: italic; color: var(--blossom); }
.brand-banner__text { margin: 26px 0 38px; max-width: 54ch; font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.brand-banner__points { list-style: none; margin: 0; padding: 0; }
.brand-banner__points li { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 18px; font-weight: 400; }
.brand-banner__points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.brand-banner__num { flex: 0 0 24px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--blossom); font-variant-numeric: tabular-nums; }

/* ---------- Lightbox: chuyển ảnh trước / sau ---------- */
.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: 991.98px) {
  .faq__grid, .brand-banner__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq__intro { position: static; }
  .album__grid { grid-auto-rows: 190px; }
}
@media (max-width: 767.98px) {
  .album__head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  /* mobile: dải ảnh vuốt ngang */
  .album__grid, .album__grid--n1, .album__grid--n2, .album__grid--n3 { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; grid-auto-rows: 300px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .album__grid::-webkit-scrollbar { display: none; }
  .album__grid .album__item { grid-row: auto !important; grid-column: auto !important; scroll-snap-align: start; }
  .album__grid--n1 { grid-auto-columns: 100%; }
  .album__cap { opacity: 1; transform: none; }
  .album__item::after { opacity: 1; }
  .faq-item summary { grid-template-columns: 34px minmax(0, 1fr) 28px; padding: 20px 0; }
  .faq-item__q { font-size: 16.5px; }
  .faq-item__pm { width: 28px; height: 28px; }
  .faq-item__a { padding: 0 0 22px 46px; font-size: 15.5px; }
  .brand-banner { padding: 80px 0 72px; }
  .brand-banner::after { background: linear-gradient(180deg, rgba(10, 24, 38, .55), rgba(10, 24, 38, .9)); }
  .brand-banner__points li { font-size: 16px; padding: 16px 0; }
  .lightbox__nav { top: auto; bottom: 14px; margin-top: 0; width: 46px; height: 46px; }
  .lightbox__count { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .album__item img, .faq-item[open] .faq-item__a { transition: none; animation: none; }
}
