/* SapaGo — lớp giao diện "Chàm & Mây" (05/12/2026), nạp SAU site.css.
   Bản sắc: vải chàm người Mông (xanh chàm sâu), chỉ thêu thổ cẩm (đồng thau + đỏ gạch, chỉ dùng ở hoa văn),
   giấy dó (nền kem), mây núi. Hoa văn: dải hình thoi – răng cưa của thổ cẩm vùng cao.
   Chữ: Fraunces (tiêu đề, nghiêng để nhấn) + Be Vietnam Pro (chữ thường). */
:root {
  --cham-dem: #0E1730;
  --cham: #1B2B57;
  --cham-2: #2B3F7A;
  --dong: #C39A4E;
  --dong-nhat: #E4C98F;
  --gach: #B4492F;
  --giay: #F5F0E6;
  --giay-2: #EAE3D3;
  --trang: #FCFAF5;
  --muc: #121A2C;
  --mo: #5B6170;
  --ke: #D8CFBB;
  --lua: #D9A441;
  --rong: 1240px;
  --bo: 6px;
  --bong: 0 24px 60px -24px rgba(14,23,48,.45);
  --tho-cam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cpath d='M0 7l6-6 6 6-6 6zM12 7l6-6 6 6-6 6zM24 7l6-6 6 6-6 6zM36 7l6-6 6 6-6 6z' fill='none' stroke='%23C39A4E' stroke-width='1.2'/%3E%3Cpath d='M6 4.500l2.500 2.500L6 9.500 3.500 7zM30 4.500l2.500 2.500L30 9.500 27.500 7z' fill='%23B4492F'/%3E%3Cpath d='M18 4.500l2.500 2.500L18 9.500 15.500 7zM42 4.500l2.500 2.500L42 9.500 39.500 7z' fill='%23C39A4E'/%3E%3C/svg%3E");
}
body { background: var(--giay); color: var(--muc); font-size: 1.02rem; }
body::before { opacity: .35; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 8vw, 5.2rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.08; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--dong); }
.khung { width: min(100% - 40px, var(--rong)); }
.nhan { font-size: .72rem; letter-spacing: .22em; color: var(--mo); font-weight: 600; }
.phan { padding: clamp(56px, 9vw, 120px) 0; }
.dau-phan { gap: 14px; margin-bottom: clamp(24px, 4vw, 48px); }
.dau-phan p { font-size: 1.05rem; }
.dai-tc { height: 14px; background: var(--tho-cam) center/48px 14px repeat-x; }
.dai-mau { display: none; }

/* ---------- Đầu trang ---------- */
.dau { background: rgba(245,240,230,.9); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(18,26,44,.1); transition: background .3s, border-color .3s, color .3s; }
.dau .khung { height: 68px; }
.ten-hieu { font-size: 1.5rem; letter-spacing: -.02em; align-items: center; gap: 10px; color: inherit; }
.ten-hieu svg { width: 30px; height: 30px; flex: none; }
.ten-hieu small { display: none; }
.dau nav { gap: 2px; align-items: center; }
.dau nav a { border-radius: 0; padding: 10px 16px; font-size: .96rem; letter-spacing: .01em; font-weight: 600; position: relative; color: inherit; }
.dau nav a:hover { background: transparent; }
.dau nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px; background: var(--dong); transform: scaleX(0); transform-origin: left; transition: transform .25s ease-out; }
.dau nav a:hover::after, .dau nav a[aria-current="page"]::after { transform: scaleX(1); }
.dau nav a[aria-current="page"] { background: transparent; color: inherit; }
.dau nav a.vao { border: 1.5px solid currentColor; margin-left: 10px; padding: 9px 18px; }
.dau nav a.vao::after { display: none; }
.dau nav a.vao:hover { background: var(--muc); color: var(--giay); border-color: var(--muc); }
/* Trang có ảnh mở đầu tràn màn hình: đầu trang trong suốt, chữ sáng, cuộn xuống thì đặc lại */
body.co-bia .dau { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
body.co-bia .dau.dac { background: rgba(245,240,230,.94); border-color: rgba(18,26,44,.1); color: var(--muc); backdrop-filter: blur(14px); }
body.co-bia .dau:not(.dac) nav a.vao:hover { background: #fff; color: var(--muc); border-color: #fff; }

.duoi { background: rgba(252,250,245,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--ke); }
.duoi a { font-size: .68rem; letter-spacing: .04em; color: var(--mo); }
.duoi a[aria-current="page"] { color: var(--cham); }
.duoi a[aria-current="page"]::before { content: ""; width: 22px; height: 2px; background: var(--dong); position: absolute; margin-top: -9px; }

/* ---------- Nút ---------- */
.nut { border-radius: 2px; min-height: 52px; padding: 14px 28px; font-size: .94rem; letter-spacing: .01em; font-weight: 600; border: 1.5px solid var(--muc); transition: background .25s, color .25s, border-color .25s, transform .15s; }
.nut:hover { background: var(--muc); color: var(--giay); }
.nut.chinh { background: var(--dong); border-color: var(--dong); color: var(--cham-dem); }
.nut.chinh:hover { background: var(--dong-nhat); border-color: var(--dong-nhat); color: var(--cham-dem); }
.nut.reu { background: var(--cham); border-color: var(--cham); color: #fff; }
.nut.reu:hover { background: var(--cham-2); border-color: var(--cham-2); color: #fff; }
.nut.sang { border-color: rgba(255,255,255,.7); color: #fff; }
.nut.sang:hover { background: #fff; color: var(--muc); border-color: #fff; }
.nut.nho-chu { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; }
.lien { display: inline-flex; align-items: center; gap: 10px; font-size: .94rem; letter-spacing: .01em; font-weight: 600; text-decoration: none; padding: 12px 0; border-bottom: 1.5px solid var(--dong); }
.lien svg { width: 18px; height: 18px; transition: transform .25s ease-out; }
.lien:hover svg { transform: translateX(6px); }

/* ---------- Ảnh mở đầu ---------- */
.bia-lon { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--cham-dem); isolation: isolate; }
.bia-lon.thap { min-height: min(78svh, 720px); }
.bia-lon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: tho 18s ease-out both; }
@keyframes tho { from { transform: scale(1.08); } to { transform: scale(1); } }
.bia-lon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,23,48,.55) 0%, rgba(14,23,48,.08) 30%, rgba(14,23,48,.25) 55%, rgba(14,23,48,.9) 100%); }
.bia-lon .trong { padding: 120px 0 clamp(36px, 6vw, 72px); display: grid; gap: clamp(18px, 2.5vw, 30px); }
.bia-lon .nhan { color: var(--dong-nhat); display: flex; align-items: center; gap: 14px; }
.bia-lon .nhan::before { content: ""; width: 44px; height: 1px; background: var(--dong-nhat); }
.bia-lon h1 { max-width: 13ch; text-wrap: balance; }
.bia-lon h1 em { color: var(--dong-nhat); }
.bia-lon .loi { max-width: 46ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); }
.bia-lon .hang-nut { display: flex; flex-wrap: wrap; gap: 12px; }
.bia-lon .day { display: grid; gap: 22px; align-items: end; }
.bia-lon .nguon-bia { position: absolute; right: 14px; top: 84px; font-size: .68rem; color: rgba(255,255,255,.7); writing-mode: vertical-rl; letter-spacing: .08em; }
.bia-lon .nguon-bia a { color: inherit; }
.the-troi { border-top: 1px solid rgba(255,255,255,.3); padding-top: 16px; display: grid; gap: 6px; font-size: .92rem; color: rgba(255,255,255,.88); max-width: 420px; }
.the-troi .nhan { color: rgba(255,255,255,.7); }
.the-troi .nhan::before { display: none; }
.the-troi .hang { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.the-troi .so { font-family: var(--de); font-size: 2rem; font-weight: 600; color: #fff; }
.the-troi .nguon { font-size: .74rem; color: rgba(255,255,255,.6); }
@media (min-width: 960px) { .bia-lon .day { grid-template-columns: 1fr auto; } }

/* ---------- Hai hành trình ---------- */
.hai-nga { display: grid; gap: 18px; }
.nga { position: relative; display: grid; align-items: end; min-height: clamp(420px, 62vw, 640px); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; background: var(--cham-dem); }
.nga img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: filter .25s ease-out; }
.nga::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,23,48,.1) 30%, rgba(14,23,48,.88) 100%); }
.nga:hover img { filter: brightness(1.08); }
.nga .trong { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 12px; }
.nga .stt { font-family: var(--de); font-style: italic; font-size: 1.1rem; color: var(--dong-nhat); }
.nga h3 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.05; }
.nga p { max-width: 40ch; color: rgba(255,255,255,.85); }
.nga .chi-tiet { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .87rem; letter-spacing: .01em; color: rgba(255,255,255,.8); border-top: 1px solid rgba(255,255,255,.28); padding-top: 14px; margin-top: 6px; }
.nga .lien { color: #fff; justify-self: start; }
@media (min-width: 860px) { .hai-nga { grid-template-columns: 1.15fr 1fr; } .hai-nga .nga:nth-child(2) { margin-top: 72px; } }

/* ---------- Mảng tối ---------- */
.toi { background: var(--cham-dem); color: var(--giay); position: relative; }
.toi .nhan { color: var(--dong-nhat); }
.toi .dau-phan p, .toi .mo { color: rgba(245,240,230,.72); }
.toi .ban-do { border-radius: 4px; border: 1px solid rgba(195,154,78,.45); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }

/* ---------- Thẻ điểm ---------- */
.loc { gap: 6px 22px; margin-bottom: 28px; }
.loc button { border: 0; border-bottom: 1.5px solid transparent; border-radius: 0; background: transparent; padding: 8px 0; font-size: .9rem; letter-spacing: .01em; font-weight: 600; color: var(--mo); }
.loc button[aria-pressed="true"] { background: transparent; color: var(--muc); border-color: var(--dong); }
.luoi { column-gap: 14px; }
.the { border: 0; border-radius: 3px; background: var(--cham-dem); margin-bottom: 14px; position: relative; color: #fff; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.the:hover { transform: translateY(-4px); box-shadow: var(--bong); }
.the .anh img, .the .anh svg { transition: filter .25s ease-out; }
.the:hover .anh img { filter: brightness(1.08); }
.the .anh { overflow: hidden; }
.the .anh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,23,48,0) 45%, rgba(14,23,48,.86) 100%); pointer-events: none; }
.the .chu { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 14px; gap: 6px; z-index: 1; }
.the .chu h3 { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: #fff; }
.the .chu .phu { color: rgba(255,255,255,.75); font-size: .82rem; letter-spacing: .01em; }
.the .mau-anh { display: none; }
.the .do-cao { right: auto; left: 12px; top: 12px; bottom: auto; background: transparent; color: #fff; font-family: var(--de); font-style: italic; font-size: .92rem; padding: 0; text-shadow: 0 1px 8px rgba(0,0,0,.6); z-index: 1; }
.the .huy-hieu, .the [data-tt] > * { backdrop-filter: blur(6px); }

/* ---------- Ba điều giữ ---------- */
.hua ul { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: h; border-top: 1px solid var(--ke); }
.hua li { counter-increment: h; display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; padding: 28px 0; border-bottom: 1px solid var(--ke); align-items: baseline; background: transparent; border-radius: 0; border-left: 0; border-right: 0; }
.hua li > svg { display: none; }
.hua li::before { content: "0" counter(h); font-family: var(--de); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--dong); }
.hua li h3 { font-size: clamp(1.25rem, 2.6vw, 1.8rem); margin-bottom: 6px; }
.hua li p { max-width: 58ch; }

/* ---------- Ô mở chuyến ---------- */
.mo-chuyen { display: grid; gap: 28px; align-items: center; }
.mo-chuyen form { display: flex; gap: 0; max-width: 520px; border-bottom: 1.5px solid var(--dong); }
.mo-chuyen input { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; font-size: 1.15rem; padding: 14px 4px; letter-spacing: .08em; text-transform: uppercase; }
.mo-chuyen input::placeholder { color: rgba(245,240,230,.45); text-transform: none; letter-spacing: 0; }
.mo-chuyen input:focus:not(:focus-visible) { outline: none; }
.mo-chuyen button { background: transparent; border: 0; color: var(--dong-nhat); font-weight: 600; letter-spacing: .01em; font-size: .94rem; padding: 0 6px; min-height: 52px; cursor: pointer; }
.mo-chuyen .loi-ma { color: #F3B6A6; font-size: .9rem; min-height: 1.4em; }
@media (min-width: 900px) { .mo-chuyen { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- Chân trang ---------- */
.chan-lon { background: var(--cham-dem); color: rgba(245,240,230,.75); font-size: .9rem; padding-bottom: 96px; }
.chan-lon .luoi-chan { display: grid; gap: 34px; padding: 56px 0 34px; }
.chan-lon .ten-hieu { color: var(--giay); font-size: 1.9rem; }
.chan-lon h4 { font-family: var(--chu); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dong-nhat); margin: 0 0 14px; font-weight: 600; }
.chan-lon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.chan-lon a { color: inherit; text-decoration: none; }
.chan-lon a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--dong); text-underline-offset: 5px; }
.chan-lon .nho { border-top: 1px solid rgba(245,240,230,.16); padding-top: 20px; font-size: .78rem; color: rgba(245,240,230,.5); display: grid; gap: 6px; }
@media (min-width: 860px) { .chan-lon .luoi-chan { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .chan-lon { padding-bottom: 30px; } }

/* ---------- Nút hỗ trợ, thẻ, ô chung ---------- */
.ht-nut { border-radius: 2px; background: var(--cham); color: #fff; letter-spacing: .01em; font-size: .87rem; box-shadow: 0 14px 34px -10px rgba(14,23,48,.6); }
.ht.mo .ht-nut { background: var(--dong); color: var(--cham-dem); }
.ht-muc { border-radius: 3px; }
.ht-muc .v { border-radius: 2px; }
.ht-muc .v.xanh { background: var(--cham); }
dialog.chat header { background: var(--cham-dem); }
.o, .o-nut a, .trang-con .o { border-radius: 4px; }
.duong-dan { font-size: .83rem; letter-spacing: .01em; color: var(--mo); padding-top: 22px; }
.duong-dan a { color: inherit; }

/* ---------- Trang Trung Quốc ---------- */
.giay-to { display: grid; gap: 18px; }
.gt { background: var(--trang); border: 1px solid var(--ke); border-top: 3px solid var(--dong); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.gt.sau { border-top-color: var(--cham); }
.gt h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.gt .can { font-family: var(--de); font-style: italic; font-size: 1.15rem; color: var(--cham); }
.gt ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--mo); }
.gt ul b { color: var(--muc); }
@media (min-width: 860px) { .giay-to { grid-template-columns: 1fr 1fr; } }
.tuyen-day { position: relative; display: grid; gap: 0; }
.tram { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; }
.tram .cot { display: grid; justify-items: center; grid-template-rows: auto 1fr; }
.tram .cham { width: 15px; height: 15px; transform: rotate(45deg); border: 1.5px solid var(--dong); background: var(--cham-dem); margin-top: 8px; }
.tram.sau .cham { background: var(--dong); }
.tram .day-noi { width: 1px; background: rgba(195,154,78,.45); }
.tram:last-child .day-noi { display: none; }
.tram .nd { padding: 0 0 42px; display: grid; gap: 12px; }
.tram .nd h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.tram .nd h3 small { font-family: var(--chu); font-size: .78rem; letter-spacing: .12em; color: var(--dong-nhat); font-weight: 500; margin-left: 10px; }
.tram .nd .tt { font-size: .83rem; letter-spacing: .01em; color: rgba(245,240,230,.7); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tram .nd .tt b { color: var(--dong-nhat); font-weight: 600; }
.tram .anh-hang { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.tram figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 16/10; background: #0A1022; }
.tram figure img { width: 100%; height: 100%; object-fit: cover; transition: filter .25s ease-out; }
.tram figure:hover img { filter: brightness(1.08); }
.tram figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; font-size: .66rem; color: rgba(255,255,255,.78); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.tram figcaption a { color: inherit; }
.goi { display: grid; gap: 14px; }
.goi-the { background: var(--trang); border: 1px solid var(--ke); padding: 24px; display: grid; gap: 10px; align-content: start; }
.goi-the .loai { font-size: .82rem; letter-spacing: .01em; font-weight: 600; color: var(--cham); }
.goi-the.bien .loai { color: var(--lua-dam, #9A6E12); }
.goi-the h3 { font-size: 1.3rem; }
.goi-the dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.goi-the dt { color: var(--mo); }
.goi-the dd { margin: 0; font-weight: 500; }
@media (min-width: 720px) { .goi { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .goi { grid-template-columns: repeat(3, 1fr); } }
.ghi-chu { border-left: 2px solid var(--dong); padding: 4px 0 4px 18px; color: var(--mo); font-size: .92rem; max-width: 70ch; }

/* ---------- Trang chuyến của khách, cổng đối tác ---------- */
.ve { background: var(--cham-dem); color: var(--giay); position: relative; overflow: hidden; }
.ve .trong { padding: clamp(96px, 12vw, 140px) 0 clamp(34px, 5vw, 60px); display: grid; gap: 22px; }
.ve h1 { font-size: clamp(2.1rem, 6vw, 4rem); }
.ve .so-lieu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; border-top: 1px solid rgba(245,240,230,.2); padding-top: 22px; }
.ve .so-lieu div { display: grid; gap: 4px; }
.ve .so-lieu span { font-size: .82rem; letter-spacing: .01em; color: var(--dong-nhat); }
.ve .so-lieu b { font-family: var(--de); font-size: 1.25rem; font-weight: 600; }
@media (min-width: 760px) { .ve .so-lieu { grid-template-columns: repeat(4, 1fr); } }
.mau-nhan { display: inline-block; font-size: .82rem; letter-spacing: .01em; font-weight: 600; padding: 5px 10px; border: 1px solid var(--gach); color: var(--gach); background: rgba(180,73,47,.07); }
.ve .mau-nhan { color: #F3B6A6; border-color: #F3B6A6; background: transparent; }
.hai-cot { display: grid; gap: 34px; }
@media (min-width: 980px) { .hai-cot { grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; } .hai-cot aside { position: sticky; top: 92px; } }
.khoi { display: grid; gap: 14px; margin-bottom: 44px; }
.khoi > h2 { font-size: clamp(1.4rem, 3vw, 2rem); padding-bottom: 12px; border-bottom: 1px solid var(--ke); }
.viec { list-style: none; margin: 0; padding: 0; display: grid; }
.viec li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--ke); }
.viec .o-tich { width: 22px; height: 22px; border: 1.5px solid var(--ke); display: grid; place-items: center; margin-top: 2px; font-size: .8rem; }
.viec li.xong .o-tich { background: var(--tot, #2A6646); border-color: var(--tot, #2A6646); color: #fff; }
.viec li.gap .o-tich { border-color: var(--gach); }
.viec small { display: block; color: var(--mo); font-size: .84rem; }
.viec .han { font-size: .83rem; letter-spacing: .01em; color: var(--mo); white-space: nowrap; }
.viec li.gap .han { color: var(--gach); font-weight: 700; }
.ngay-di { display: grid; gap: 0; }
.ngay-di details { border-bottom: 1px solid var(--ke); }
.ngay-di summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; }
.ngay-di summary::-webkit-details-marker { display: none; }
.ngay-di summary i { font-family: var(--de); font-size: 1.5rem; color: var(--dong); }
.ngay-di summary b { font-family: var(--de); font-size: 1.2rem; font-weight: 600; }
.ngay-di summary span { font-size: .78rem; color: var(--mo); letter-spacing: .06em; }
.ngay-di ol { list-style: none; margin: 0 0 20px; padding: 0 0 0 4px; display: grid; gap: 10px; }
.ngay-di ol li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; }
.ngay-di ol time { font-weight: 600; color: var(--cham); font-variant-numeric: tabular-nums; }
.the-ben { background: var(--trang); border: 1px solid var(--ke); padding: 22px; display: grid; gap: 10px; margin-bottom: 16px; }
.the-ben h3 { font-size: 1.15rem; }
.the-ben dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; }
.the-ben dt { color: var(--mo); }
.the-ben dd { margin: 0; font-weight: 500; text-align: right; }
.bang-cuon { overflow-x: auto; border: 1px solid var(--ke); background: var(--trang); }
.bang-cuon table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.bang-cuon th { text-align: left; font-size: .82rem; letter-spacing: .01em; color: var(--mo); padding: 12px 14px; border-bottom: 1px solid var(--ke); background: var(--giay-2); }
.bang-cuon td { padding: 12px 14px; border-bottom: 1px solid var(--ke); vertical-align: top; }
.bang-cuon tr:last-child td { border-bottom: 0; }
.bang-cuon code { font-size: .82rem; background: var(--giay-2); padding: 2px 6px; }
.the-thu { background: var(--trang); border: 1px solid var(--ke); display: grid; }
.the-thu header { padding: 14px 18px; border-bottom: 1px solid var(--ke); display: grid; gap: 4px; font-size: .86rem; color: var(--mo); }
.the-thu header b { color: var(--muc); font-size: 1rem; }
.the-thu .than { padding: 18px; white-space: pre-line; font-size: .95rem; }
.tab-hang { display: flex; gap: 6px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--ke); margin-bottom: 26px; }
.tab-hang button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; font: inherit; font-size: .9rem; letter-spacing: .01em; font-weight: 600; color: var(--mo); cursor: pointer; margin-bottom: -1px; }
.tab-hang button[aria-selected="true"] { color: var(--muc); border-color: var(--dong); }

@media (max-width: 719px) { .luoi { columns: 2; } .bia-lon .nguon-bia { display: none; } }
@media (prefers-reduced-motion: reduce) { .bia-lon > img { animation: none; } .nga img, .the .anh img, .tram figure img { transition: none; } }

/* Điện thoại: chữ mở đầu nằm đè lên phần sáng của ảnh (tuyết, mây) nên phủ tối dày hơn ở nửa dưới */
@media (max-width: 719px) {
  .bia-lon::after { background: linear-gradient(180deg, rgba(14,23,48,.6) 0%, rgba(14,23,48,.18) 20%, rgba(14,23,48,.66) 46%, rgba(14,23,48,.95) 100%); }
  .bia-lon h1, .bia-lon .nhan, .bia-lon .loi { text-shadow: 0 1px 14px rgba(14,23,48,.55); }
}

/* ===== Bản đồ Vân Nam: vùng, điểm chơi, số km ===== */
.tq-chip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; }
.tq-chip::-webkit-scrollbar { display: none; }
.tq-chip button { flex: none; min-height: 44px; padding: 9px 16px; border: 1px solid rgba(195,154,78,.55); background: transparent; color: var(--giay); font: 600 .87rem/1 var(--chu); letter-spacing: .01em; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; transition: background .2s, color .2s; }
.tq-chip button i { width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid var(--dong-nhat); }
.tq-chip button.sau i { background: var(--dong-nhat); }
.tq-chip button:hover { background: rgba(195,154,78,.16); }
.tq-chip button[aria-pressed="true"] { background: var(--dong-nhat); color: var(--cham-dem); border-color: var(--dong-nhat); }
.tq-chip button[aria-pressed="true"] i { border-color: var(--cham-dem); }
.tq-chip button[aria-pressed="true"].sau i { background: var(--cham-dem); }
.tq-bo { display: grid; gap: 22px; }
.tq-map { height: min(68svh, 560px); border: 1px solid rgba(195,154,78,.45); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); background: #0A1022; }
.tq-chu-thich { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .78rem; color: rgba(245,240,230,.7); margin: 10px 0 0; }
.tq-chu-thich span { display: inline-flex; align-items: center; gap: 8px; }
.tq-chu-thich i { width: 22px; height: 10px; border: 1px solid #F3DFB0; background: rgba(228,201,143,.45); }
.tq-chu-thich i.sau { background: rgba(195,154,78,.6); }
.tq-chu-thich i.duong { height: 0; border: 0; border-top: 2px dotted #fff; background: none; }
.tq-pan { color: var(--giay); display: grid; gap: 14px; align-content: start; }
.tq-pan .cho { border: 1px dashed rgba(195,154,78,.5); padding: 26px 22px; display: grid; gap: 8px; }
.tq-pan .cho h3 { font-size: 1.35rem; }
.tq-pan .cho p { color: rgba(245,240,230,.75); margin: 0; }
.tq-pan .tt { font-size: .83rem; letter-spacing: .01em; color: rgba(245,240,230,.7); display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.tq-pan .tt b { color: var(--dong-nhat); font-weight: 600; }
.tq-pan h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); outline: none; }
.tq-pan h3 small { font-family: var(--chu); font-size: .78rem; letter-spacing: .12em; color: var(--dong-nhat); font-weight: 500; margin-left: 10px; }
.tq-pan h4 { font: 600 .83rem/1.3 var(--chu); letter-spacing: .01em; color: var(--dong-nhat); margin: 14px 0 0; padding-top: 16px; border-top: 1px solid rgba(195,154,78,.3); }
.tq-pan h4 small { letter-spacing: .04em; text-transform: none; color: rgba(245,240,230,.65); font-weight: 400; margin-left: 8px; font-size: .82rem; }
.tq-pan .tom { color: rgba(245,240,230,.85); margin: 0; max-width: 60ch; }
.tq-pan .xa { margin: 0; font-size: .95rem; color: rgba(245,240,230,.85); }
.tq-pan .xa b { font-family: var(--tieu-de, 'Fraunces', serif); font-size: 1.3rem; color: var(--dong-nhat); font-weight: 600; }
.tq-pan .anh-hang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tq-pan figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4/3; background: #0A1022; }
.tq-pan figure img { width: 100%; height: 100%; object-fit: cover; }
.tq-pan figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 5px; font-size: .62rem; color: rgba(255,255,255,.78); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.tq-pan figcaption a { color: inherit; }
.tq-pan ol, .tq-pan ul { list-style: none; margin: 0; padding: 0; display: grid; }
.tq-pan .ds-diem li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(245,240,230,.12); }
.tq-pan .ds-diem .so { font: 600 .8rem/1 var(--chu); color: var(--dong-nhat); }
.tq-pan .ds-diem .km { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--dong-nhat); white-space: nowrap; font-size: .92rem; }
.tq-pan .lich li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(245,240,230,.12); font-size: .95rem; }
.tq-pan .lich b { font-size: .83rem; letter-spacing: .01em; color: var(--dong-nhat); font-weight: 600; padding-top: 3px; }
.tq-pan .lich span { color: rgba(245,240,230,.88); }
.tq-pan .ds-goi li { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid rgba(245,240,230,.12); }
.tq-pan .ds-goi span { font-size: .86rem; color: rgba(245,240,230,.7); }
.tq-pan .nho { font-size: .8rem; color: rgba(245,240,230,.6); margin: 0; }
.tq-pan .luu-y { font-size: .9rem; color: var(--dong-nhat); margin: 0; }
.tq-pan .hang-nut { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.tq-nhan { display: inline-flex; align-items: center; gap: 0; border: 0; padding: 0; background: none; cursor: pointer; font-family: var(--chu); filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); }
.tq-nhan b { width: 26px; height: 26px; display: grid; place-items: center; background: var(--dong-nhat); color: var(--cham-dem); font-size: .78rem; font-weight: 700; }
.tq-nhan.bien b { background: var(--cham-dem); color: var(--dong-nhat); box-shadow: inset 0 0 0 1.5px var(--dong-nhat); }
.tq-nhan span { background: rgba(14,23,48,.92); color: #fff; font-size: .83rem; font-weight: 600; letter-spacing: .01em; padding: 0 10px; height: 26px; display: inline-flex; align-items: center; white-space: nowrap; }
.tq-nhan:hover span, .tq-nhan:focus-visible span { background: var(--dong-nhat); color: var(--cham-dem); }
.tq-nhan.lc { cursor: default; } .tq-nhan.lc span { background: #fff; color: var(--cham-dem); height: 22px; font-size: .66rem; }
.tq-km { background: #fff; color: var(--cham-dem); font: 700 .7rem/1 var(--chu); padding: 4px 7px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.5); font-variant-numeric: tabular-nums; pointer-events: none; }
.tq-diem { display: inline-flex; align-items: center; font-family: var(--chu); filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); pointer-events: none; transform-origin: left center; }
.tq-diem i { font-style: normal; width: 22px; height: 22px; margin-left: -11px; display: grid; place-items: center; background: var(--dong-nhat); color: var(--cham-dem); font-size: .72rem; font-weight: 700; border-radius: 50%; border: 2px solid #fff; flex: none; }
.tq-diem.tam i { background: var(--cham-dem); color: var(--dong-nhat); border-color: var(--dong-nhat); }
.tq-diem span { background: rgba(14,23,48,.9); color: #fff; font-size: .72rem; font-weight: 500; padding: 4px 8px; margin-left: 4px; white-space: nowrap; }
.tq-diem span b { color: var(--dong-nhat); font-weight: 700; }
@media (min-width: 960px) {
  .tq-bo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .tq-trai { position: sticky; top: 92px; }
  .tq-map { height: min(calc(100svh - 190px), 680px); }
}
@media (max-width: 559px) { .tq-pan .lich li { grid-template-columns: 1fr; gap: 2px; } .tq-diem span { font-size: .66rem; padding: 3px 6px; } }
.maplibregl-marker.tq-nhan { margin-left: -13px; }
.tq-diem.tam { flex-direction: row-reverse; }
.tq-diem.tam i { margin-left: 0; margin-right: -11px; }
.tq-diem.tam span { margin-left: 0; margin-right: 4px; }
.maplibregl-marker.tq-nhan.v-kien-thuy { flex-direction: row-reverse; margin-left: 13px; }

/* =====================================================================
   BỘ MÀU THƯƠNG HIỆU — một bộ duy nhất cho mọi trang (chốt 06/12/2026)
   Chàm đêm  #0E1730  nền tối, chữ trên nền sáng
   Chàm      #1B2B57  nút, liên kết
   Đồng thau #C39A4E  nhấn trên nền sáng   ·  #E4C98F nhấn trên nền tối
   Gạch      #B4492F  chỉ dùng ở hoa văn và phân biệt ngày 2
   Mây       #9DB8F2  phân biệt ngày 3, tuyến biên giới trên bản đồ
   Giấy      #F5F0E6  nền sáng
   Trang Sa Pa và trang Trung Quốc dùng CHUNG khuôn: ảnh mở đầu → bản đồ nền chàm
   (hàng nút chọn + bản đồ + bảng bên phải) → phần đọc thêm nền giấy.
   Màu cũ của bản "Sổ tay đường núi" (xanh rêu, vàng lúa) được trỏ về bộ này.
   ===================================================================== */
:root { --may: #9DB8F2; --gach-nhat: #F08A6B; --reu: var(--cham); --reu-2: var(--cham-2); --ngay1: #9A7430; --ngay2: #B4492F; --ngay3: #2B3F7A; }
.ban-do { border-radius: 0; background: #0A1022; border-color: rgba(195,154,78,.45); }
.so-do { border-radius: 0; }
.bd-loc button { border-radius: 0; background: rgba(14,23,48,.92); color: #fff; border: 1px solid rgba(195,154,78,.6); font: 600 .83rem/1 var(--chu); letter-spacing: .01em; box-shadow: none; }
.bd-loc button i { width: 9px; height: 9px; border: 0; box-shadow: none; }
.bd-loc button[aria-pressed="true"] { background: var(--dong-nhat); color: var(--cham-dem); border-color: var(--dong-nhat); }
.ghim .so { width: 26px; height: 26px; border-radius: 50%; transform: none; border: 2px solid #fff; color: var(--cham-dem); font-size: .74rem; box-shadow: 0 2px 6px rgba(0,0,0,.6); }
.ghim .so b { transform: none; }
.ghim:hover .so, .ghim:focus-visible .so { transform: scale(1.18); }
.ghim .ten { background: rgba(14,23,48,.9); border-radius: 0; font-weight: 500; font-size: .72rem; padding: 4px 8px; }
.ghim.hn .ten { background: #fff; color: var(--cham-dem); font-weight: 600; letter-spacing: .01em; font-size: .82rem; }
.bd-pop .maplibregl-popup-content { border-radius: 0; padding: 0; overflow: hidden; }
.tq-map .bd-loc { display: none; }
.tq-chip button i[style] { background: var(--mau); border-color: var(--mau); border-radius: 50%; transform: none; }
.tq-chip button[aria-pressed="true"] i[style] { border-color: var(--cham-dem); }
.buoc-3 { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: rgba(245,240,230,.85); }
.buoc-3 li { display: flex; align-items: center; gap: 10px; }
.buoc-3 b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--dong-nhat); color: var(--dong-nhat); display: grid; place-items: center; font-size: .78rem; font-weight: 600; flex: none; }
.tq-pan .ds-chon li button { width: 100%; min-height: 60px; display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 12px 6px; background: none; border: 0; border-bottom: 1px solid rgba(245,240,230,.14); color: inherit; font: inherit; cursor: pointer; transition: background .2s; }
.tq-pan .ds-chon li:first-child button { border-top: 1px solid rgba(245,240,230,.14); }
.tq-pan .ds-chon li button:hover, .tq-pan .ds-chon li button:focus-visible { background: rgba(195,154,78,.14); }
.tq-pan .ds-chon .so { font-family: var(--de); font-size: 1.35rem; color: var(--dong-nhat); font-weight: 600; text-align: center; }
.tq-pan .ds-chon .ten { font-weight: 600; display: grid; gap: 1px; }
.tq-pan .ds-chon .ten small { font-weight: 400; font-size: .82rem; color: rgba(245,240,230,.66); }
.tq-pan .ds-chon .km { color: var(--dong-nhat); font-weight: 600; white-space: nowrap; font-size: .92rem; }
.tq-pan .ds-chon .km::after { content: " ›"; opacity: .7; }
.tq-pan .lich.co-anh li { grid-template-columns: 62px 1fr; align-items: center; }
.tq-pan .lich.co-anh a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.tq-pan .lich.co-anh a:hover .ten { color: var(--dong-nhat); }
.tq-pan .lich.co-anh .anh { width: 56px; height: 56px; overflow: hidden; background: #0A1022; }
.tq-pan .lich.co-anh .anh > * { width: 100%; height: 100%; }
.tq-pan .lich.co-anh .anh img, .tq-pan .lich.co-anh .anh svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.tq-pan .lich.co-anh .chu { display: grid; gap: 1px; }
.tq-pan .lich.co-anh .ten { font-weight: 600; color: var(--giay); }
.tq-pan .lich.co-anh .phu { font-size: .8rem; color: rgba(245,240,230,.65); }
.tq-pan .lich.co-anh li.chang span { font-size: .88rem; color: rgba(245,240,230,.72); }
@media (max-width: 559px) { .tq-pan .lich.co-anh li { grid-template-columns: 54px 1fr; } }
.tq-chu-thich i.bien { background: rgba(157,184,242,.5); }
.tq-chu-thich i.sau { background: rgba(228,201,143,.55); }
.tq-nhan.bien b { background: var(--may); color: var(--cham-dem); box-shadow: none; }
.tq-chip button.bien i { border-color: var(--may); background: var(--may); }

/* Hai thẻ hành trình: thẻ dọc. Màn hình hẹp thì xếp một hàng, lướt ngang, thẻ sau ló ra để biết còn nữa. */
.nga { min-height: 0; aspect-ratio: 3 / 4; }
.luot-goi-y { display: none; }
@media (min-width: 860px) { .hai-nga { grid-template-columns: 1fr 1fr; } .nga { aspect-ratio: 4 / 5; max-height: 760px; width: 100%; } }
@media (max-width: 859px) {
  .hai-nga { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; scroll-padding-left: 20px; }
  .hai-nga::-webkit-scrollbar { display: none; }
  .hai-nga .nga { flex: 0 0 min(80vw, 420px); scroll-snap-align: start; }
  .nga h3 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .luot-goi-y { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: .83rem; letter-spacing: .01em; color: var(--mo); font-weight: 600; }
  .luot-goi-y::after { content: ""; flex: 1; height: 1px; background: var(--ke); }
}


/* ============ NÂNG CẤP 06/12/2026 — sửa theo bộ chấm taste skill / hallmark ============ */
:root { --dong-dam: #86611F; --mo: #474D5C; }
/* Chữ nghiêng màu đồng: trên nền giấy dùng đồng đậm cho đủ tương phản, trên nền tối giữ đồng sáng */
h1 em, h2 em, .hua li::before { color: var(--dong-dam); }
.toi h1 em, .toi h2 em, .ve h1 em, .ve h2 em, .bia-lon h1 em { color: var(--dong-nhat); }
/* Vòng focus thấy rõ trên nền tối */
.toi :focus-visible, .ve :focus-visible, .chan-lon :focus-visible, .bia-lon :focus-visible, .dau :focus-visible { outline-color: var(--dong-nhat); }
.mo-chuyen input:focus-visible { outline: 2px solid var(--dong-nhat); outline-offset: 4px; border-radius: 2px; }
.nhan-o { display: block; font-size: .9rem; font-weight: 600; color: rgba(245,240,230,.8); margin-bottom: 4px; }
/* Hai thẻ hành trình trên máy tính: đứng ngang hàng */
@media (min-width: 860px) { .hai-nga .nga:nth-child(2) { margin-top: 0; } }
/* Ba điều: ảnh một bên, ba cam kết một bên */
.hua { display: grid; grid-template-columns: 1fr; gap: 28px; }
.hua-anh { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.hua-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) {
  .hua { grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
  .hua-anh { aspect-ratio: auto; min-height: 100%; }
  .hua ul { align-content: center; }
  /* Danh sách không kèm ảnh: trải hết bề ngang, chia hai cột */
  .hua > ul:only-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; }
  .hua > ul:only-child > li { border-top: 1px solid var(--ke); border-bottom: 0; }
}
/* Nhãn ghim: rê chuột hoặc focus thì luôn hiện, nổi lên trên */
.ghim:hover, .ghim:focus-visible { z-index: 5; }
.ghim:hover .ten, .ghim:focus-visible .ten { visibility: visible !important; }
/* Vùng bấm trên điện thoại */
@media (pointer: coarse) { .maplibregl-ctrl-group button { width: 44px; height: 44px; } }
@media (max-width: 700px) {
  .chan-lon li a { display: inline-flex; align-items: center; min-height: 44px; }
  .the-troi > p:not(.nhan):not(.nguon) { display: none; }
}
.hua li { grid-template-columns: 3.4rem 1fr; }
/* Chữ trên ảnh thẻ điểm đến: thêm lớp tối ở mép trên cho số độ cao đọc được */
.the .anh::after { background: linear-gradient(180deg, rgba(14,23,48,.62) 0%, rgba(14,23,48,0) 26%, rgba(14,23,48,0) 42%, rgba(14,23,48,.9) 100%); }
.goi-the.bien .loai { color: var(--dong-dam); }
/* Nhãn vùng trên bản đồ Vân Nam: vùng bấm cao 44px */
.tq-nhan::before { content: ""; position: absolute; inset: -9px 0; }
/* Thẻ kiểu chuyến Vân Nam: ảnh điểm xa nhất của chuyến ở đầu thẻ */
.goi-the > img { width: calc(100% + 48px); max-width: none; margin: -24px -24px 0; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.goi-the .nguon-the { font-size: .72rem; color: var(--mo); margin: -4px 0 4px; }
.goi-the .nguon-the a { color: inherit; }

/* Ghim điểm Trung Quốc bấm được, mở khung ảnh */
button.tq-diem { pointer-events: auto; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
button.tq-diem:hover span, button.tq-diem:focus-visible span { background: var(--dong-nhat); color: var(--cham-dem); }
button.tq-diem:hover span b, button.tq-diem:focus-visible span b { color: var(--cham-dem); }
button.tq-diem:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bd-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-chu h3 { font-size: 1.15rem; }

/* Dải ảnh lướt ngang: bảng vùng và khung nổi của điểm Trung Quốc */
.tq-pan .anh-hang.luot { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--dong) transparent; padding-bottom: 6px; }
.tq-pan .anh-hang.luot > figure { flex: 0 0 72%; scroll-snap-align: start; margin: 0; }
.tq-pan .anh-hang.luot figcaption b { font-weight: 600; }
.luot-so { font-size: .78rem; color: var(--dong-nhat); margin: 6px 0 0; }
.bd-luot { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; aspect-ratio: 3 / 2; }
.bd-luot > figure { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; }
.bd-luot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px; font-size: .66rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.bd-luot figcaption a { color: #fff; }
.anh-hang.luot:focus-visible, .bd-luot:focus-visible { outline: 2px solid var(--dong-nhat); outline-offset: 2px; }
