/* =====================================================================
   LANDING HANOI SEASONS GARDEN. Riêng HSG (hsg-*), không nạp site.css / landing.css.
   Gu đã chốt: khung "Tạp chí" (nền kem, lưới lệch, ảnh nguyên vẹn) + màn mở đầu "cửa sổ nở";
   ảnh chỉ phủ kín thoáng qua lúc chuyển cảnh, lúc dừng giữ ảnh nguyên (không cắt logo ở góc ảnh).
   Chốt giữ: mờ dần, thanh cuộn ẩn (QĐ 10) · máy tính giữ thanh menu, không nút X; điện thoại không thanh đầu trang (QĐ 13).
   Trạng thái tĩnh là mặc định (không JS / giảm chuyển động: đủ nội dung). Chuyển động chỉ bật khi <html> có lớp "dong".
   Lớp "san" = hsg-landing.js đã chạy (tab, gọn danh sách…).
   ===================================================================== */

/* ---------- Nền tảng ---------- */
:root {
  --kem: #f3efe7; --kem-2: #e9e3d8; --muc: #18201b; --muc-mo: #545d56; --reu: #3b5245;
  --dem: #131c17; --dem-chu: #ece6da; --dong-mau: #c9a66b;
  --nen: var(--kem); --chu: var(--muc); --chu-mo: var(--muc-mo); --nhan: var(--reu); --vien: rgba(24, 32, 27, .16);
  --sans: "HSG Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "HSG Cormorant Garamond", "Sitka Display", "Iowan Old Style", Georgia, serif;
  --le: clamp(20px, 4.4vw, 64px);
  --vao: cubic-bezier(.16, 1, .3, 1); --mem: cubic-bezier(.22, 1, .36, 1); --quet: cubic-bezier(.77, 0, .18, 1); --doi: cubic-bezier(.4, 0, .2, 1);
}
html { scrollbar-width: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--kem); }
html::-webkit-scrollbar { display: none; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; background: var(--nen); color: var(--chu); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: rgba(59, 82, 69, .25); }
:focus-visible { outline: 2px solid var(--nhan); outline-offset: 3px; border-radius: 4px; }
.toi { --nen: var(--dem); --chu: var(--dem-chu); --chu-mo: rgba(236, 230, 218, .7); --nhan: var(--dong-mau); --vien: rgba(236, 230, 218, .16); background: var(--nen); color: var(--chu); }
.toi ::selection { background: rgba(201, 166, 107, .35); }

.bo-qua { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--muc); color: var(--kem); text-decoration: none; transition: top .3s ease; }
.bo-qua:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Chữ ---------- */
.nhan { font: 500 11.5px/1.35 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.so-chuong { position: relative; padding-top: 14px; color: var(--nhan); align-self: start; }
.so-chuong::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--chu); transform-origin: left; }
.h-lon { font: 500 clamp(40px, 5.4vw, 92px)/.96 var(--sans); letter-spacing: -.045em; }
.h-lon em { font-size: 1.06em; letter-spacing: -.015em; }
.h-vua { font: 500 clamp(22px, 2vw, 30px)/1.15 var(--sans); letter-spacing: -.03em; }
.ghi-nho { font-size: 13px; line-height: 1.55; color: var(--chu-mo); }
.dong { display: block; }                 /* v5: không cắt khung dòng nữa – dấu hỏi, ngã, mũ, nặng luôn đủ (tiêu đề hiện bằng mờ dần) */
.dong > span, .dong > em { display: block; }
.tu { display: inline-block; white-space: nowrap; }
.lien-so { white-space: nowrap; }          /* khoảng số "35 – 46" không bị ngắt dòng giữa chừng */
.tq-tt dd, .gt-doan, .doan-dan, .ch-chu p, .mb-b p, .hd-hoi, .hd-dap, .dk-dy { text-wrap: pretty; }   /* tránh 1 chữ mồ côi cuối đoạn */
.chu { display: inline-block; }
.lien { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--nhan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: opacity .3s ease; }
.lien:hover { opacity: .75; }
.the-ds { display: flex; flex-wrap: wrap; gap: 8px; }
.the-ds li { padding: 7px 14px; border: 1px solid var(--vien); border-radius: 999px; font-size: 14px; line-height: 1.3; }

/* ---------- Nút ---------- */
.nut {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid currentColor; background: transparent; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease, transform .3s var(--mem);
}
.nut:active { transform: scale(.97); }
.nut-dac { background: var(--muc); color: var(--kem); border-color: var(--muc); }
.nut-dac:hover { background: var(--reu); border-color: var(--reu); }
.nut-sang { background: var(--dem-chu); color: var(--dem); border-color: var(--dem-chu); }
.nut-sang:hover { background: var(--dong-mau); border-color: var(--dong-mau); }
.nut[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Lưới ---------- */
.luoi { max-width: 1440px; margin: 0 auto; padding: 0 var(--le); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.luoi > .so-chuong { grid-column: 1 / 4; }

/* ---------- Ô ảnh: đúng tỉ lệ thật, không cắt ---------- */
.o-anh { position: relative; aspect-ratio: var(--tl); background: var(--kem-2); }
.toi .o-anh { background: #1d2822; }
.o-lop, .o-mo { display: block; width: 100%; height: 100%; overflow: hidden; }
.o-anh img { width: 100%; height: 100%; object-fit: cover; }        /* khung cùng tỉ lệ ảnh → không cắt gì */
.o-mo { cursor: zoom-in; }
.cho-anh {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center;
  border: 1px dashed rgba(24, 32, 27, .3); background: linear-gradient(135deg, #e6dfd2, #d9d1c2); color: var(--muc-mo); font-size: 14px;
}
.cho-anh small { font-size: 11.5px; opacity: .8; }

/* ---------- Thanh đầu trang (máy tính ≥ 900 px) ---------- */
.dau {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: clamp(24px, 3.4vw, 56px); color: var(--muc);
}
.dau::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(243, 239, 231, .86); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid rgba(24, 32, 27, .1); transition: opacity .5s ease; }
.dau.dac::before { opacity: 1; }
.dau-trai { display: flex; align-items: center; gap: 18px; min-width: 0; }
.dau-ve { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 13.5px/1 var(--sans); text-decoration: none; opacity: .78; white-space: nowrap; transition: opacity .3s ease; }
.dau-ve:hover { opacity: 1; }
.dau-ten { padding-left: 18px; border-left: 1px solid rgba(24, 32, 27, .2); font: 500 16px/1.1 var(--sans); letter-spacing: -.02em; white-space: nowrap; text-decoration: none; }
.dau-menu { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.dau-menu a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.dau-menu a:not(.nut)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--mem); }
.dau-menu a:not(.nut):hover::after, .dau-menu a.dang::after { transform: scaleX(1); transform-origin: left; }
.dau-menu .nut { min-height: 44px; padding: 0 20px; font-size: 14px; }
@media (max-width: 1199px) { .dau-ve span { display: none; } .dau-menu a:nth-child(n+4):not(.nut) { display: none; } }
@media (max-width: 899px) { .dau { display: none; } }

/* ---------- Vạch cuộn mờ (thanh cuộn máy đã ẩn) ---------- */
.vach { position: fixed; top: 0; right: 3px; z-index: 60; width: 3px; height: 64px; border-radius: 3px; background: var(--muc); opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.vach.hien { opacity: .32; }

/* =====================================================================
   1. MÀN ĐẦU – trạng thái cuối = bìa tạp chí: ảnh toàn cảnh nguyên vẹn bên phải, khẩu hiệu bên trái, tên lớn dưới đáy
   ===================================================================== */
.mo-san { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding: 92px var(--le) 26px; overflow: hidden; }
.mo-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--vien); color: var(--chu-mo); }
.mo-giua { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: flex-end; container-type: size; }
.mo-anh { position: relative; z-index: 3; width: 70%; aspect-ratio: 6001 / 3124; transform-origin: 50% 50%; }
@supports (width: 1cqw) { .mo-anh { width: min(100cqw, calc((100cqh - 36px) * 1.9209)); } }
.mo-nap, .mo-nap img { width: 100%; height: 100%; }
.mo-nap img { object-fit: cover; }
.mo-phu { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(12, 17, 15, .25), rgba(12, 17, 15, .55)); pointer-events: none; }
.mo-khau { display: none; position: absolute; left: 0; bottom: 18px; max-width: 13em; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.15; color: var(--chu); }
@container (min-aspect-ratio: 23 / 10) { .mo-khau { display: block; } }
.mo-loi { display: none; }
.mo-h1 { margin-top: 18px; font: 500 clamp(52px, 7.4vw, 140px)/.9 var(--sans); letter-spacing: -.055em; white-space: nowrap; }
.mo-h1 .dong { display: inline-block; vertical-align: top; }
.mo-h1 em { font-size: 1.08em; letter-spacing: -.02em; padding-right: .04em; }
.mo-h1 .dong-phu { vertical-align: baseline; margin-left: .12em; font-size: .34em; line-height: 1; letter-spacing: -.02em; }
.mo-goi { display: none; }

/* =====================================================================
   2. GIỚI THIỆU
   ===================================================================== */
.gt { padding: clamp(96px, 16vh, 200px) 0 clamp(80px, 12vh, 150px); }
.gt-chu { grid-column: 5 / 13; }
.gt-doan { margin-top: 36px; max-width: 38rem; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.45; letter-spacing: -.01em; }

/* =====================================================================
   3. TỔNG QUAN + CON SỐ
   ===================================================================== */
.tq { padding-bottom: clamp(96px, 14vh, 180px); }
.tq .luoi { row-gap: clamp(28px, 4.5vh, 52px); }
.tq-ten { grid-column: 1 / 13; font: 500 clamp(40px, 7vw, 126px)/.9 var(--sans); letter-spacing: -.055em; white-space: nowrap; }
.tq-ten .dong { display: inline-block; vertical-align: top; }
.tq-ten .dong-phu { vertical-align: baseline; margin-left: .12em; font-size: .34em; line-height: 1; letter-spacing: -.02em; }
.tq-lon { grid-column: 1 / 9; align-self: start; }
.tq-ben { grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.tq-tt > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--vien); font-size: 15px; line-height: 1.45; }
.tq-tt dt { color: var(--chu-mo); }
.tq-nho { display: flex; gap: 10px; align-items: flex-start; }
.tq-nho .o-anh { flex: var(--tl) 1 0; min-width: 0; }      /* cùng chiều cao, rộng theo tỉ lệ thật → không cắt */
.tq-so { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(16px, 4vh, 48px); }
.so-o { padding-top: 18px; border-top: 1px solid var(--chu); }
.so-o dt { display: flex; align-items: baseline; flex-wrap: wrap; font: 300 clamp(56px, 6.4vw, 112px)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.so-noi { margin: 0 .12em; font-size: .5em; color: var(--chu-mo); letter-spacing: 0; }
.so-dv { margin-left: .18em; font: italic 400 .36em/1 var(--serif); letter-spacing: 0; }
.so-o dd { margin-top: 12px; max-width: 22rem; color: var(--chu-mo); }
.quay-cot { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.quay-cuon { display: block; }
.quay-cuon > span { display: block; height: 1em; line-height: 1; text-align: center; }

/* =====================================================================
   CHƯƠNG TỐI – tấm nền đêm rêu trượt lên phủ (chuyển chương)
   ===================================================================== */
.chuong { position: relative; z-index: 2; }

/* =====================================================================
   4. VỊ TRÍ – sơ đồ tự vẽ, đường nối dự án → điểm đến
   ===================================================================== */
.vt { padding: clamp(96px, 15vh, 190px) 0 clamp(72px, 10vh, 120px); }
.vt-gt { grid-column: 5 / 13; }
.vt-dc { margin-top: 32px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; letter-spacing: -.01em; }
.vt-duong-chu { margin-top: 14px; max-width: 40rem; color: var(--chu-mo); }
.vt-than { margin-top: clamp(56px, 9vh, 110px); align-items: start; }
.vt-trai { grid-column: 1 / 6; }
.vt-trai > .nhan { color: var(--chu-mo); margin-bottom: 14px; }
.vt-ds li { border-top: 1px solid var(--vien); }
.vt-ds li:last-child { border-bottom: 1px solid var(--vien); }
.vt-muc {
  display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0;
  border: 0; background: none; text-align: left; cursor: pointer; transition: color .4s ease, opacity .4s ease;
}
.vt-ten { font: 500 clamp(18px, 1.55vw, 24px)/1.25 var(--sans); letter-spacing: -.02em; }
.vt-phut { flex: none; font: italic 400 clamp(26px, 2.5vw, 40px)/1 var(--serif); color: var(--nhan); white-space: nowrap; }
.vt-muc[aria-pressed="true"] .vt-ten { color: var(--nhan); }
.vt-trai .ghi-nho { margin-top: 16px; max-width: 30rem; }
.vt-ban { grid-column: 7 / 13; position: sticky; top: 92px; }
.vt-ban-khung { width: min(100%, calc(100svh - 190px)); aspect-ratio: 1; margin-left: auto; }
.vt-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vt-vong { fill: none; stroke: rgba(236, 230, 218, .18); stroke-dasharray: 2 6; }
.vt-vong-chu { fill: rgba(236, 230, 218, .5); font: 500 12px var(--sans); letter-spacing: .08em; }
.vt-pho { stroke: rgba(236, 230, 218, .14); stroke-width: 14; stroke-linecap: round; }
.vt-metro { stroke: rgba(201, 166, 107, .55); stroke-width: 2; stroke-dasharray: 10 6; }
.vt-pho-chu { fill: rgba(236, 230, 218, .55); font: 500 11px var(--sans); letter-spacing: .06em; }
.vt-duong { fill: none; stroke: var(--dong-mau); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.vt-cham { fill: var(--dem-chu); }
.vt-cham-vien { fill: none; stroke: rgba(236, 230, 218, .35); }
.vt-nhan-ten { fill: var(--dem-chu); font: 500 14px var(--sans); }
.vt-nhan-phut { fill: var(--dong-mau); font: italic 400 19px var(--serif); }
.vt-tam-cham { fill: var(--dong-mau); }
.vt-tam-song { fill: rgba(201, 166, 107, .22); transform-box: fill-box; transform-origin: center; }
.vt-tam-chu { fill: var(--dem-chu); font: 600 13px var(--sans); letter-spacing: .02em; }
.vt-diem.chon .vt-cham { fill: var(--dong-mau); }
.vt-duong.chon { opacity: 1; stroke-width: 2.6; }
.vt-ban figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 13px; color: var(--chu-mo); }
.vt-ban figcaption span { flex: 1 1 100%; }
.vt-quanh { margin-top: clamp(56px, 8vh, 96px); }
.vt-quanh .nhan { grid-column: 1 / 13; margin-bottom: 16px; color: var(--chu-mo); }
.vt-quanh .the-ds { grid-column: 1 / 13; }

/* ---------- Ảnh lớn ---------- */
.al { padding-bottom: clamp(96px, 14vh, 170px); overflow: hidden; }
.al-anh { width: 100%; }

/* =====================================================================
   5. TIỆN ÍCH
   ===================================================================== */
.ti { position: relative; z-index: 1; padding: clamp(96px, 15vh, 190px) 0 clamp(80px, 12vh, 150px); }
.ti-gt { grid-column: 5 / 13; }
.ti-chung { margin-top: 36px; }
.ti-chung .nhan { margin-bottom: 12px; color: var(--chu-mo); }
.ti-than { margin-top: clamp(56px, 9vh, 110px); }
.ti-cot-ngoai { grid-column: 1 / 9; }
.ti-cot-trong { grid-column: 10 / 13; }
.ti-cot .h-vua { margin-bottom: 18px; }
.ti-cot-ngoai .ti-ds { columns: 2; column-gap: 24px; }
.ti-ds li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--vien); break-inside: avoid; transition: transform .45s var(--mem), color .3s ease; }
.ti-so { flex: none; width: 1.8em; font-size: 12.5px; color: var(--nhan); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ti-ten { font-size: 16.5px; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .ti-ds li:hover { transform: translateX(6px); color: var(--nhan); } }
.ti-mo-them { display: none; padding: 0; border: 0; background: none; cursor: pointer; font-size: 15px; }

/* ---------- v6: điểm nhấn Clubhouse – tấm nền đêm rêu trong khối kem, ảnh nguyên tỉ lệ, 4 tầng xếp cột như mục lục tạp chí ---------- */
.ti-club-luoi { margin-top: clamp(56px, 9vh, 110px); }
.ti-club { grid-column: 1 / 13; padding: clamp(28px, 3.4vw, 56px); border-radius: 6px; }
.club-dau { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); column-gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.club-nhan { position: relative; padding-top: 14px; color: var(--nhan); }
.club-nhan::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 1px; background: var(--dong-mau); }
.club-h { margin-top: 18px; font: 500 clamp(30px, 3.1vw, 50px)/1.04 var(--sans); letter-spacing: -.04em; }
.club-h em { display: block; font-size: 1.06em; color: var(--dong-mau); }
.club-doan { margin-top: 22px; color: var(--chu-mo); font-size: 16.5px; line-height: 1.65; text-wrap: pretty; }
.club-tang { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; margin-top: clamp(36px, 5vh, 56px); }
.club-tang > div { padding-top: 16px; border-top: 1px solid var(--dong-mau); }
.club-tang dt { font: italic 400 clamp(23px, 1.9vw, 30px)/1.1 var(--serif); color: var(--dong-mau); }
.club-tang dd { margin: 12px 0 0; }
.club-tang li { padding: 9px 0; border-top: 1px solid var(--vien); font-size: 15.5px; line-height: 1.4; }
.club-tang li:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) and (max-width: 1099px) { .club-tang { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Hàng ảnh (tiện ích, căn hộ): cùng chiều cao mỗi hàng, rộng theo tỉ lệ → không cắt ---------- */
.hang-anh { max-width: 1440px; margin: clamp(64px, 10vh, 120px) auto 0; padding: 0 var(--le); display: flex; flex-direction: column; gap: 12px; }
.hang { display: flex; gap: 12px; }
.hang .o-anh { flex: var(--tl) 1 0; min-width: 0; }

/* =====================================================================
   6. CĂN HỘ – chữ / ảnh so le
   ===================================================================== */
.ch { padding: 0 0 clamp(96px, 15vh, 190px); }
.ch-dau { margin-bottom: clamp(48px, 8vh, 96px); }
.ch-dau .h-lon { grid-column: 5 / 13; }
.ch-cap { align-items: center; row-gap: 28px; }
.ch-cap + .ch-cap { margin-top: clamp(72px, 12vh, 140px); }
.ch-anh { grid-column: 1 / 8; }
.ch-chu { grid-column: 9 / 13; }
.ch-cap.dao .ch-anh { grid-column: 6 / 13; grid-row: 1; }
.ch-cap.dao .ch-chu { grid-column: 1 / 5; grid-row: 1; }
.ch-chu .h-vua { margin-bottom: 18px; }
.ch-chu p { color: var(--chu-mo); }
.bang-cuon { overflow-x: auto; }
.ch-bang, .cs-bang { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ch-bang caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: 13px; color: var(--chu-mo); }
.ch-bang th, .ch-bang td, .cs-bang th, .cs-bang td { padding: 10px 0; border-top: 1px solid var(--vien); text-align: left; vertical-align: top; }
.ch-bang thead th { font: 500 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--chu-mo); padding-right: 10px; }
.ch-bang tbody th { font-weight: 500; }
.ch-bang td + td, .ch-bang th + th { padding-left: 10px; }
.ch-chu .ghi-nho { margin-top: 10px; }

/* =====================================================================
   7. MẶT BẰNG – mở từng lớp
   ===================================================================== */
.mb-san { max-width: 1440px; margin: 0 auto; padding: clamp(96px, 15vh, 180px) var(--le); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.mb-chu { grid-column: 1 / 5; }
.mb-chu .h-lon { margin-top: 24px; font-size: clamp(36px, 4.2vw, 72px); }
.mb-chu .h-lon .dong { display: block; }
.mb-buoc { margin-top: 36px; display: grid; }
.mb-b { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--vien); }
.mb-so { flex: none; font: italic 400 26px/1 var(--serif); color: var(--nhan); }
.mb-b h3 { font: 500 19px/1.3 var(--sans); letter-spacing: -.01em; }
.mb-b p { margin-top: 6px; color: var(--chu-mo); font-size: 15px; }
.mb-b .the-ds { margin-top: 10px; }
.mb-tien { display: none; }
.mb-khung { grid-column: 6 / 13; position: relative; justify-self: end; width: 100%; aspect-ratio: var(--tl); }
.mb-nen, .mb-net, .mb-anh, .mb-phu { position: absolute; inset: 0; width: 100%; height: 100%; }
.mb-nen { overflow: hidden; border-radius: 4px; background: #1a241e; }
.mb-anh img { width: 100%; height: 100%; object-fit: cover; }
.mb-net { opacity: 0; }
.mb-luoi { stroke: rgba(236, 230, 218, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mb-ranh, .mb-goc { fill: none; stroke: var(--dong-mau); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mb-toi { fill: rgba(9, 13, 11, .62); opacity: 0; }
.mb-bloom { fill: none; stroke: var(--dong-mau); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.mb-duong { display: none; position: absolute; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dem-chu); white-space: nowrap; }
.mb-duong-tren { left: 50%; top: 4.2%; transform: translateX(-50%); }
.mb-duong-duoi { left: 50%; bottom: 3.6%; transform: translateX(-50%); }
.mb-duong-trai { left: 4.4%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.mb-duong-phai { right: 4.4%; top: 50%; transform: translate(50%, -50%) rotate(90deg); }
.mb-diem { position: absolute; inset: 0; pointer-events: none; }
.mb-diem li { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mb-diem i { width: 12px; height: 12px; border-radius: 50%; background: var(--dong-mau); box-shadow: 0 0 0 5px rgba(201, 166, 107, .3); }
.mb-diem span { order: -1; padding: 5px 10px; border-radius: 999px; background: rgba(19, 28, 23, .86); color: var(--dem-chu); font: 500 12px/1.2 var(--sans); white-space: nowrap; }
.mb-bloom-nhan { position: absolute; padding: 6px 12px; border-radius: 999px; background: var(--dong-mau); color: var(--dem); font: 600 12px/1.2 var(--sans); white-space: nowrap; }

/* =====================================================================
   8. CHÍNH SÁCH BÁN HÀNG
   ===================================================================== */
.cs { padding: clamp(96px, 15vh, 190px) 0; }
.cs-gt { grid-column: 5 / 13; }
.cs-hl { display: flex; gap: 12px; align-items: baseline; margin-top: 28px; max-width: 42rem; color: var(--chu-mo); }
.cs-hl i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--nhan); transform: translateY(-1px); }
.cs-khung { grid-column: 1 / 13; margin-top: clamp(48px, 8vh, 96px); }
.cs-the { position: relative; display: flex; gap: clamp(24px, 3.4vw, 56px); border-bottom: 1px solid var(--vien); overflow-x: auto; scrollbar-width: none; }
.cs-the::-webkit-scrollbar { display: none; }
.cs-the[hidden] { display: none; }
.cs-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 64px; padding: 14px 0 16px; border: 0; background: none; cursor: pointer; color: var(--chu-mo); text-align: left; white-space: nowrap; transition: color .35s ease; }
.cs-tab-ma { font: 500 clamp(18px, 1.6vw, 24px)/1.1 var(--sans); letter-spacing: -.02em; }
.cs-tab-ten { font-size: 13px; }
.cs-tab[aria-selected="true"] { color: var(--chu); }
.cs-tab:hover { color: var(--chu); }
.cs-vach { position: absolute; left: 0; bottom: -1px; width: 100px; height: 2px; background: var(--chu); transform-origin: 0 0; transform: translateX(var(--x, 0px)) scaleX(var(--w, 0)); }
.cs-pn { padding-top: clamp(32px, 5vh, 56px); }
.cs-pn + .cs-pn { margin-top: 56px; border-top: 1px solid var(--vien); }
.cs-pn-ten { margin-bottom: 24px; font: 500 22px/1.2 var(--sans); letter-spacing: -.02em; }
.cs-pn-ten span { color: var(--nhan); }
.cs-pn-than { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.cs-noi { grid-column: 1 / 5; }
.cs-so { font: 300 clamp(64px, 7.4vw, 128px)/.95 var(--sans); letter-spacing: -.05em; color: var(--nhan); }
.cs-so-chu { margin-top: 12px; font-size: 18px; line-height: 1.4; }
.cs-noi .ghi-nho { margin-top: 8px; }
.cs-pn-chi { grid-column: 6 / 13; }
.cs-thanh { display: flex; gap: 3px; height: 44px; }
.cs-thanh span { flex: var(--p) 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--reu); color: var(--kem); transform-origin: left; }
.cs-thanh span:nth-child(2n) { background: #556c5f; }
.cs-thanh b { font: 500 12px/1 var(--sans); white-space: nowrap; overflow: hidden; }
.cs-bang th { font-weight: 400; padding-right: 16px; }
.cs-bang td { text-align: right; white-space: nowrap; font-weight: 500; }
.cs-bang thead th, .cs-bang thead th + th { font: 500 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--chu-mo); }
.cs-bang thead th + th { text-align: right; padding-right: 0; }
.cs-pn-chi > * + * { margin-top: 28px; }
.cs-ghi-chon { margin-top: 28px; }
.cs-uu-ghi { grid-column: 2 / 4; margin-top: -8px; }
.cs-muc > div { display: grid; grid-template-columns: 10em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--vien); }
.cs-muc dt { color: var(--chu-mo); }
.cs-uu { grid-column: 1 / 13; display: grid; grid-template-columns: 3fr 4.5fr 4.5fr; gap: 24px; margin-top: clamp(64px, 10vh, 112px); padding-top: 22px; border-top: 1px solid var(--chu); }
.cs-uu > .nhan { color: var(--nhan); }
.cs-uu-so { font: 300 clamp(36px, 3.4vw, 56px)/1 var(--sans); letter-spacing: -.04em; margin-bottom: 8px; }
.cs-uu-o p:last-child { color: var(--chu-mo); }
.cs-cap { grid-column: 1 / 13; margin-top: 48px; padding: 22px 26px; border-radius: 6px; background: var(--kem-2); }
.cs-cap .nhan { color: var(--nhan); margin-bottom: 8px; }
.cs-cap .ghi-nho { margin-top: 6px; }
.cs-chu-tat { margin-top: 8px; }

/* ---------- Đoạn dẫn dưới H2 (Vị trí, Tiện ích, Chính sách, Đăng ký) · đoạn 2 Giới thiệu · H2 Tổng quan (v4) ---------- */
.doan-dan { margin-top: 28px; max-width: 40rem; color: var(--chu-mo); }
.vt-dan { margin-top: 14px; }
.dk-moi { margin-top: 0; max-width: 30rem; }
.gt-doan + .gt-doan { margin-top: 1em; }
h2[tabindex="-1"]:focus { outline: none; }   /* bấm menu: chuyển tiêu điểm tới tiêu đề khối, không vẽ khung */
@media (min-width: 900px) { html:not(.san) .tq, html:not(.san) .ch, html:not(.san) .hd { scroll-margin-top: 112px; } }   /* tắt JS: khối không có đệm trên vẫn dừng dưới thanh menu */

/* ---------- Giới thiệu – máy tính (v5): tiêu đề giữa, 2 đoạn văn cạnh nhau 2 cột đều, đọc lướt dễ. Điện thoại giữ như cũ ---------- */
@media (min-width: 900px) {
  .gt .luoi { row-gap: clamp(28px, 4.5vh, 52px); }
  .gt-chu { grid-column: 1 / 13; }
  .gt .h-lon { text-align: center; }
  .gt-cot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 96px); align-items: start; margin-top: clamp(40px, 6vh, 72px); }
  .gt-cot .gt-doan { margin-top: 0; max-width: none; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.65; letter-spacing: 0; }
}
.tq-h2 { grid-column: 5 / 13; }

/* =====================================================================
   8b. HỎI ĐÁP – mỗi câu hỏi là H3, câu trả lời nằm sẵn trong HTML (v4)
   ===================================================================== */
.hd { padding: 0 0 clamp(96px, 15vh, 190px); }
.hd-h2 { grid-column: 5 / 13; }
.hd-ds { grid-column: 1 / 13; margin-top: clamp(48px, 8vh, 96px); border-bottom: 1px solid var(--vien); }
.hd-muc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; padding: 28px 0 32px; border-top: 1px solid var(--vien); }
.hd-dau { grid-column: 1 / 5; display: flex; gap: 16px; align-items: baseline; }
.hd-so { flex: none; width: 1.6em; font: italic 400 26px/1 var(--serif); color: var(--nhan); }
.hd-hoi { font: 500 clamp(19px, 1.5vw, 22px)/1.3 var(--sans); letter-spacing: -.02em; }
.hd-dap { grid-column: 5 / 13; max-width: 44rem; color: var(--chu-mo); font-size: 16.5px; line-height: 1.65; }
.hd-dap a { color: var(--nhan); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: opacity .3s ease; }
.hd-dap a:hover { opacity: .75; }

/* =====================================================================
   9. ĐĂNG KÝ – form chưa nối nơi nhận (QĐ 12)
   ===================================================================== */
.dk { padding: clamp(96px, 15vh, 190px) 0 clamp(80px, 12vh, 140px); }
.dk-gt { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.dk-gt .h-lon { margin-top: 4px; }
.dk-lh { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.dk-form { grid-column: 7 / 13; display: grid; gap: 22px; align-content: start; }
.o-nhap { position: relative; }
.o-nhap input, .o-nhap select, .o-nhap textarea {
  display: block; width: 100%; min-height: 56px; padding: 22px 0 8px; border: 0; border-bottom: 1px solid rgba(236, 230, 218, .32); border-radius: 0;
  background: transparent; font-size: 17px; outline: none; transition: border-color .3s ease;
}
.o-nhap textarea { resize: vertical; min-height: 92px; }
.o-nhap select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.o-nhap select option { color: var(--muc); }
.o-chon::after { content: ""; position: absolute; right: 4px; top: 30px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; opacity: .7; }
.o-nhap label { position: absolute; left: 0; top: 20px; color: var(--chu-mo); pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--mem), color .3s ease; }
.o-nhap input:focus + label, .o-nhap input:not(:placeholder-shown) + label,
.o-nhap textarea:focus + label, .o-nhap textarea:not(:placeholder-shown) + label,
.o-chon label { transform: translateY(-16px) scale(.78); }
.o-nhap input:focus, .o-nhap select:focus, .o-nhap textarea:focus { border-bottom-color: var(--dong-mau); }
.o-nhap .sai { border-bottom-color: #f0a88f; }
.dk-dy { font-size: 13px; color: var(--chu-mo); }
.dk-gui { justify-self: start; min-width: 200px; }
.dk-gui.dang-gui { opacity: .7; pointer-events: none; }
.dk-bao { min-height: 1.6em; font-size: 15px; transition: opacity .4s ease; }
.dk-bao.sai { color: #f4b8a4; }
.cuoi { padding: 40px 0 120px; border-top: 1px solid var(--vien); }
.cuoi .luoi > * { grid-column: 1 / 13; }
.cuoi a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.cuoi-lk { display: flex; flex-wrap: wrap; gap: 0 24px; }
.cuoi-dd ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 13px; color: var(--chu-mo); }
.cuoi-dd li + li::before { content: "›"; margin-right: 10px; }
.cuoi-dd a { font-weight: 400; }

/* ---------- Nút đăng ký nổi (chỉ điện thoại) ---------- */
.cta-dt { display: none; }

/* ---------- Hộp xem ảnh lớn ---------- */
.hop { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 12, .95); color: var(--dem-chu); opacity: 0; transition: opacity .35s ease; }
.hop[open] { display: flex; align-items: center; justify-content: center; }
.hop.mo-hop { opacity: 1; }
.hop::backdrop { background: transparent; }
.hop figure { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 94vw; }
.hop img { max-width: 94vw; max-height: 82vh; max-height: 82dvh; width: auto; height: auto; object-fit: contain; }
.hop figcaption { font-size: 14px; color: rgba(236, 230, 218, .75); text-align: center; max-width: 60ch; }
.hop-nut { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(236, 230, 218, .3); border-radius: 50%; background: rgba(19, 28, 23, .6); color: inherit; font-size: 20px; cursor: pointer; transition: background-color .3s ease; }
.hop-nut:hover { background: rgba(236, 230, 218, .15); }
.hop-dong { top: 18px; right: 18px; }
.hop-truoc { left: 18px; top: 50%; transform: translateY(-50%); }
.hop-sau { right: 18px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   ĐIỆN THOẠI (< 900 px)
   ===================================================================== */
@media (max-width: 899px) {
  .luoi { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .luoi > * { grid-column: 1 / -1 !important; }
  .h-lon { font-size: clamp(38px, 11.5vw, 60px); }

  .mo-san { padding: 22px 20px 22px; min-height: 520px; }
  .mo-meta .an-dt { display: none; }
  .mo-giua { flex-direction: column; justify-content: center; align-items: stretch; gap: 16px; }
  .mo-khau { display: block; position: static; max-width: none; font-size: 22px; }
  .mo-anh { order: -1; }
  .mo-h1 { white-space: normal; font-size: clamp(46px, 15vw, 84px); line-height: .92; }
  .mo-h1 .dong { display: block; }
  .mo-h1 .dong-phu { margin: .14em 0 0 .06em; font-size: .46em; }

  .gt { padding: 80px 0 72px; }
  .gt-doan { margin-top: 20px; font-size: 21px; }

  .tq-ten { white-space: normal; font-size: clamp(40px, 13vw, 64px); }
  .tq-ten .dong { display: block; }
  .tq-ten .dong-phu { margin: .14em 0 0 .06em; font-size: .46em; }
  .tq-tt > div { grid-template-columns: 7.5em 1fr; }
  .tq-so { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .so-o { padding: 18px 0 22px; }
  .so-o dt { font-size: clamp(56px, 17vw, 76px); }

  .vt { padding: 80px 0 64px; }
  .vt-dc { margin-top: 18px; }
  .vt-than { margin-top: 40px; }
  .vt-ban { grid-row: 1; position: sticky; top: 0; z-index: 2; padding: 10px 0 8px; background: var(--nen); }
  .vt-ban-khung { width: min(100%, 44svh); margin: 0 auto; }
  .vt-nhan-ten { font-size: 17px; }
  .vt-nhan-phut { font-size: 22px; }
  .vt-ban figcaption { font-size: 12px; gap: 0 14px; }
  .vt-nhan-ten { font-size: 21px; }
  .vt-nhan-phut { font-size: 26px; }
  .vt-tam-chu { font-size: 19px; }
  .vt-vong-chu { font-size: 17px; }
  .vt-pho-chu { font-size: 15px; }
  .vt-trai { grid-row: 2; }

  .ti { padding: 80px 0 72px; }
  .ti-cot-ngoai .ti-ds { columns: 1; }
  .ti-cot-trong { margin-top: 32px; }
  html.san .ti-ds[data-gon]:not(.mo-het) li:nth-child(n+9) { display: none; }
  html.san .ti-mo-them { display: inline-flex; margin-top: 8px; }
  .ti-club-luoi { margin-top: 48px; }
  .ti-club { padding: 20px 20px 26px; }
  .club-dau { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .club-h { font-size: clamp(28px, 8.4vw, 40px); }
  .club-doan { font-size: 16px; }
  .club-tang { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 28px; }
  .club-tang > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top-color: var(--vien); }
  .club-tang-phu { display: block; margin-top: 2px; font-size: 15px; }   /* "(tầng mái)" xuống dòng gọn dưới "Tầng 4", không gãy giữa ngoặc */
  .club-tang > div:first-child { border-top-color: var(--dong-mau); }
  .club-tang dt { font-size: 20px; line-height: 1.2; }
  .club-tang dd { margin: 0; }
  .club-tang li { padding: 6px 0; font-size: 15px; border-top: 0; }
  .club-tang li:first-child { padding-top: 2px; }

  /* lưới ảnh → dải ảnh vuốt ngang, cùng chiều cao, không cắt */
  .hang-anh { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 0 20px 4px; gap: 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .hang-anh::-webkit-scrollbar { display: none; }
  .hang { display: contents; }
  .hang .o-anh { flex: 0 0 auto; height: 230px; width: auto; scroll-snap-align: start; }

  .ch-dau { margin-bottom: 40px; }
  .ch-cap.dao .ch-anh, .ch-cap.dao .ch-chu { grid-row: auto; }
  .ch-cap + .ch-cap { margin-top: 64px; }

  .mb-san { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 80px 20px; }
  .mb-chu, .mb-khung { grid-column: 1; }
  .mb-diem span { font-size: 11px; padding: 3px 7px; }
  .mb-diem i { width: 9px; height: 9px; box-shadow: 0 0 0 3px rgba(201, 166, 107, .3); }
  .mb-bloom-nhan { font-size: 11px; padding: 4px 8px; }
  .mb-duong { font-size: 10px; letter-spacing: .04em; }

  .cs { padding: 80px 0; }
  .cs-the { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 0; overflow: visible; }
  .cs-tab { min-height: 72px; padding: 12px 14px; border: 1px solid var(--vien); border-radius: 8px; white-space: normal; transition: color .35s ease, background-color .35s ease, border-color .35s ease; }
  .cs-tab[aria-selected="true"] { background: var(--muc); border-color: var(--muc); color: var(--kem); }
  .cs-tab-ma { font-size: 16px; }
  .cs-tab-ten { font-size: 12px; line-height: 1.35; }
  .cs-vach { display: none; }
  .cs-thanh .hep b { display: none; }
  .cs-pn-than { grid-template-columns: minmax(0, 1fr); }
  .cs-noi, .cs-pn-chi { grid-column: 1; }
  .cs-muc > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cs-uu { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cs-uu-ghi { grid-column: 1; margin-top: 0; }
  .doan-dan { margin-top: 18px; }
  .vt-dan { margin-top: 12px; }
  .dk-moi { margin-top: 0; }

  .hd { padding-bottom: 80px; }
  .hd-ds { margin-top: 32px; }
  .hd-muc { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 22px 0 24px; }
  .hd-dau, .hd-dap { grid-column: 1; }
  .hd-so { font-size: 22px; }
  .hd-dap { font-size: 16px; }

  .dk { padding: 80px 0 64px; }
  .dk-form { margin-top: 24px; }
  .dk-gui { width: 100%; }
  .cuoi { padding-bottom: 110px; }

  .cta-dt {
    display: inline-flex; align-items: center; justify-content: center; position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
    min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--muc); color: var(--kem); font: 500 15px/1 var(--sans); text-decoration: none;
    box-shadow: 0 10px 30px rgba(9, 13, 11, .28); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .5s ease, transform .6s var(--mem);
  }
  .cta-dt.hien { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  .hop-truoc, .hop-sau { top: auto; bottom: 22px; transform: none; }
}

/* =====================================================================
   TAB CHÍNH SÁCH khi JS chạy: chỉ hiện gói đang chọn
   ===================================================================== */
html.san .cs-pn-sau { display: none; }
html.san .cs-pn + .cs-pn { margin-top: 0; border-top: 0; }
html.san .cs-pn-ten { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* =====================================================================
   CHUYỂN ĐỘNG – chỉ khi <html> có lớp "dong" (đã có JS, máy không bật giảm chuyển động).
   Phần theo cuộn do GSAP ScrollTrigger điều khiển (hsg-landing.js); phần hiện một lần dùng transition + lớp "vao".
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* ---- màn đầu. Mặc định (lớp mo-tinh, 01/12/2026): ảnh đứng yên ở trạng thái cuối, chỉ mờ dần khi tải.
     Lớp mo-no (giaoDien.moDau = "no"): ghim sân khấu, cửa sổ ảnh nở → phủ kín thoáng qua → thu về ảnh nguyên ---- */
  html.dong .mo-no { height: 330vh; }
  html.dong .mo-no .mo-san { position: sticky; top: 0; }
  html.dong .mo-no .mo-anh { will-change: transform, clip-path; }
  html.dong .mo-no .mo-loi {
    display: block; position: absolute; left: 50%; top: 50%; z-index: 4; width: min(90%, 16em); transform: translate(-50%, -50%); text-align: center;
    font-size: clamp(34px, 4.6vw, 76px); line-height: 1.05; color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none;
  }
  html.dong .mo-no .mo-goi { display: flex; position: absolute; right: var(--le); bottom: 104px; z-index: 2; flex-direction: column; align-items: center; gap: 10px; color: var(--chu-mo); }
  html.dong .mo-goi i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--chu-mo), transparent); }
  html.dong .mo-nap { opacity: 0; transition: opacity 1.4s var(--mem) .3s; }
  html.dong .mo-no .mo-nap { transform: scale(1.1); transition: opacity 1.4s var(--mem) .3s, transform 2s var(--vao) .3s; }
  html.dong.da-mo .mo-nap { opacity: 1; transform: none; }
  html.dong .mo-h1 .tu { overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  html.dong .mo-h1 .chu { transform: translateY(108%); transition: transform 1s var(--vao) calc(var(--i) * 30ms + .25s); }
  html.dong .mo-h1 .dong + .dong .chu { transition-delay: calc(var(--i) * 30ms + .6s); }
  html.dong.da-mo .mo-h1 .chu { transform: none; }
  html.dong .mo-meta, html.dong .mo-goi, html.dong .mo-tinh .mo-khau { opacity: 0; transition: opacity 1s ease 1.1s; }
  html.dong.da-mo .mo-meta, html.dong.da-mo .mo-goi, html.dong.da-mo .mo-tinh .mo-khau { opacity: 1; }
  html.dong.da-mo.da-cuon .mo-goi { opacity: 0; transition-delay: 0s; transition-duration: .4s; }
  html.dong .dau { opacity: 0; transform: translateY(-12px); transition: opacity .9s var(--mem), transform .9s var(--mem); }
  html.dong.da-mo .dau { opacity: 1; transform: none; transition-delay: .9s; }

  /* ---- hiện một lần khi cuộn tới ---- */
  html.dong .so-chuong[data-vao] { opacity: 0; transition: opacity .8s ease; }
  html.dong .so-chuong[data-vao]::before { transform: scaleX(0); transition: transform 1.1s var(--vao) .1s; }
  html.dong .so-chuong.vao { opacity: 1; }
  html.dong .so-chuong.vao::before { transform: none; }
  /* tiêu đề lớn: từng dòng mờ dần và dâng nhẹ (v5 – bỏ khung che dòng vì cắt mất dấu tiếng Việt) */
  html.dong .h-lon[data-vao] .dong > span { opacity: 0; transform: translateY(.3em); transition: opacity .9s ease, transform 1s var(--vao); }
  html.dong .h-lon[data-vao] .dong + .dong > span { transition-delay: .12s; }
  html.dong .h-lon.vao .dong > span { opacity: 1; transform: none; }
  html.dong p[data-vao], html.dong div[data-vao]:not(.so-o), html.dong form[data-vao] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease .15s, transform .9s var(--vao) .15s; }
  html.dong p.vao, html.dong div.vao:not(.so-o), html.dong form.vao { opacity: 1; transform: none; }
  html.dong .tq-ten .tu { overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
  html.dong .tq-ten .chu { transform: translateY(106%); transition: transform .9s var(--vao) calc(var(--i) * 28ms); }
  html.dong .tq-ten.vao .chu { transform: none; }
  @media (min-width: 900px) { html.dong .gt-doan + .gt-doan { transition-delay: .3s; } }   /* Giới thiệu máy tính: 2 đoạn mờ dần lần lượt */

  /* ảnh: quét mở lớp trong (không che khối được theo dõi), ảnh lắng từ 1,12 về 1 */
  html.dong .o-anh[data-vao] .o-lop { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--quet) calc(var(--i, 0) * 70ms); }
  html.dong .o-anh[data-vao] img { transform: scale(1.12); transition: transform 1.8s var(--vao) calc(var(--i, 0) * 70ms); }
  html.dong .o-anh.vao .o-lop { clip-path: inset(0 0 0 0); }
  html.dong .o-anh.vao img { transform: none; }
  html.dong .tq-lon[data-vao] .o-lop { clip-path: inset(0 100% 0 0); }
  html.dong .ch-anh[data-vao] .o-lop { clip-path: inset(0 100% 0 0); transition-duration: 1.35s; }
  html.dong .ch-cap.dao .ch-anh[data-vao] .o-lop { clip-path: inset(0 0 0 100%); }
  html.dong .ch-anh.vao .o-lop, html.dong .ch-cap.dao .ch-anh.vao .o-lop, html.dong .tq-lon.vao .o-lop { clip-path: inset(0 0 0 0); }
  html.dong .ch-chu[data-vao] { transition-delay: .3s; }

  html.dong .so-o { opacity: 0; transform: translateY(24px); transition: opacity .9s ease calc(var(--i) * .12s), transform .9s var(--vao) calc(var(--i) * .12s); }
  html.dong .so-o.vao { opacity: 1; transform: none; }

  html.dong .ti-ds li { opacity: 0; transform: translateY(14px); transition: opacity .7s ease calc(var(--i) * 32ms), transform .8s var(--vao) calc(var(--i) * 32ms), color .3s ease; }
  html.dong .ti-ds.vao li { opacity: 1; transform: none; }
  @media (hover: hover) and (pointer: fine) { html.dong .ti-ds.vao li:hover { transform: translateX(6px); transition-delay: 0s; } }
  /* Clubhouse: tấm nền mờ dần (luật chung div[data-vao]) → ảnh lắng 1,06 → 1 (lúc dừng nguyên khung) → chữ → 4 tầng lần lượt */
  html.dong .ti-club .club-anh img { transform: scale(1.06); transition: transform 1.8s var(--vao) .15s; }
  html.dong .ti-club .club-chu, html.dong .ti-club .club-tang > div { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .35s, transform .9s var(--vao) .35s; }
  html.dong .ti-club .club-tang > div { transition-delay: calc(var(--i) * .1s + .5s); }
  html.dong .ti-club.vao .club-anh img { transform: none; }
  html.dong .ti-club.vao .club-chu, html.dong .ti-club.vao .club-tang > div { opacity: 1; transform: none; }

  html.dong .cs-uu-o { transition-delay: calc(var(--i) * .1s + .1s); }

  /* ---- vị trí: chỉ đường đang chọn được vẽ ra (0,9 giây), điểm khác lùi lại ---- */
  html.dong .vt-duong { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 1; transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1), stroke-width .4s ease; }
  html.dong .vt-duong.chon { stroke-dashoffset: 0; }
  html.dong .vt-diem { opacity: .42; transition: opacity .5s ease; }
  html.dong .vt-diem.chon { opacity: 1; }
  html.dong .vt-diem .vt-nhan-phut { opacity: 0; transition: opacity .5s ease .5s; }
  html.dong .vt-diem.chon .vt-nhan-phut { opacity: 1; }
  html.dong .vt-tam-song { animation: hsg-song 2.4s var(--mem) 3; }     /* nhịp 3 lần rồi đứng yên – không lặp vô hạn */
  html.dong .vt-muc { opacity: .5; }
  html.dong .vt-muc[aria-pressed="true"], html.dong .vt-muc:hover { opacity: 1; }
  html.dong .vt-ds li { min-height: 17vh; display: flex; align-items: center; }
  @keyframes hsg-song { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

  /* ---- mặt bằng: ghim sân khấu, mỗi đoạn cuộn mở một lớp ---- */
  html.dong .mb { height: 340vh; }
  html.dong .mb-san { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 96px; padding-bottom: 40px; }
  html.dong .mb-buoc { grid-template-areas: "b"; }
  html.dong .mb-b { grid-area: b; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s ease, transform .7s var(--vao); }
  html.dong .mb[data-buoc="1"] .mb-b[data-b="1"], html.dong .mb[data-buoc="2"] .mb-b[data-b="2"],
  html.dong .mb[data-buoc="3"] .mb-b[data-b="3"], html.dong .mb[data-buoc="4"] .mb-b[data-b="4"] { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
  html.dong .mb-tien { display: block; margin-top: 18px; height: 2px; background: var(--vien); }
  html.dong .mb-tien i { display: block; height: 100%; background: var(--nhan); transform-origin: left; transform: scaleX(var(--mbp, 0)); }
  html.dong .mb-khung { width: min(100%, calc((100svh - 150px) * var(--tl))); }
  html.dong .mb-net { opacity: 1; transition: opacity .8s ease; }
  html.dong .mb-luoi, html.dong .mb-ranh, html.dong .mb-goc { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.65, 0, .35, 1); }
  html.dong .mb-ranh { transition-delay: .3s; }
  html.dong .mb-goc { transition-delay: .9s; }
  html.dong .mb[data-buoc] .mb-luoi, html.dong .mb[data-buoc] .mb-ranh, html.dong .mb[data-buoc] .mb-goc { stroke-dashoffset: 0; }
  html.dong .mb-duong { display: block; opacity: 0; transition: opacity .7s ease .6s; }
  html.dong .mb[data-buoc="1"] .mb-duong { opacity: 1; }
  html.dong .mb-anh { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--quet); }
  html.dong .mb-anh img { transform: scale(1.08); transition: transform 1.8s var(--vao); }
  html.dong .mb[data-buoc="2"] .mb-anh, html.dong .mb[data-buoc="3"] .mb-anh, html.dong .mb[data-buoc="4"] .mb-anh { clip-path: inset(0 0 0 0); }
  html.dong .mb[data-buoc="2"] .mb-anh img, html.dong .mb[data-buoc="3"] .mb-anh img, html.dong .mb[data-buoc="4"] .mb-anh img { transform: none; }
  html.dong .mb-diem li { opacity: 0; transform: translate(-50%, -30%); transition: opacity .5s ease, transform .7s var(--vao); }
  html.dong .mb[data-buoc="3"] .mb-diem li { opacity: 1; transform: translate(-50%, -50%); transition-delay: calc(var(--i) * 90ms + .2s); }
  html.dong .mb-toi { transition: opacity .8s ease; }
  html.dong .mb[data-buoc="4"] .mb-toi { opacity: 1; }
  html.dong .mb-bloom { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .35, 1) .2s; }
  html.dong .mb[data-buoc="4"] .mb-bloom { stroke-dashoffset: 0; }
  html.dong .mb-bloom-nhan { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--vao); }
  html.dong .mb[data-buoc="4"] .mb-bloom-nhan { opacity: 1; transform: none; transition-delay: .8s; }

  /* ---- chính sách: đổi gói mờ ra 0,2 giây, gói mới dâng 0,4 giây; thanh tỉ lệ mọc từ trái ---- */
  html.dong .cs-vach { transition: transform .55s cubic-bezier(.34, 1.3, .64, 1); }
  html.dong .cs-pn { transition: opacity .2s ease; }
  html.dong .cs-pn.ra { opacity: 0; }
  html.dong .cs-pn.vao-pn { animation: hsg-dang .45s var(--vao) both; }
  html.dong .cs-thanh span { transform: scaleX(0); transition: transform .9s var(--vao) calc(var(--i) * 60ms + .1s); }
  html.dong .cs-pn.hien-thanh .cs-thanh span { transform: none; }
  @keyframes hsg-dang { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  /* ---- hỏi đáp: từng câu dâng lên mờ dần khi cuộn tới (cùng nhịp các đoạn chữ khác) ---- */
  html.dong .hd-muc[data-vao] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--vao); }
  html.dong .hd-muc.vao { opacity: 1; transform: none; }

  @media (max-width: 899px) {
    html.dong .gt-doan .tu { opacity: .14; }                                 /* Giới thiệu điện thoại: giữ từng chữ sáng dần theo cuộn */
    html.dong .gt-doan[data-vao] { opacity: 1; transform: none; transition: none; }
    html.dong .mo-no { height: 240vh; height: 240svh; }
    html.dong .mo-goi { right: 20px; bottom: auto; top: 22px; display: none; }
    html.dong .vt-ds li { min-height: 13svh; }
    html.dong .mb { height: 300svh; }
    html.dong .mb-san { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 16px; padding: 20px 20px 24px; }
    html.dong .vt-diem:not(.chon) .vt-nhan { opacity: 0; }
    html.dong .vt-nhan { transition: opacity .5s ease; }
    html.dong .mb-chu { display: contents; }
    html.dong .mb-chu .so-chuong { order: 0; }
    html.dong .mb-chu .h-lon { order: 1; margin-top: 0; font-size: 30px; }
    html.dong .mb-chu .h-lon .dong { display: inline-block; }
    html.dong .mb-khung { order: 2; width: 100%; max-height: 52svh; }
    html.dong .mb-buoc { order: 3; margin-top: 0; }
    html.dong .mb-tien { order: 4; margin-top: 0; }
  }
}

/* =====================================================================
   NÚT CHỌN CĂN (vòng chọn căn 29/11/2026) – như nút "Chọn căn ngay" của landing Maison Privée / Lumière:
   máy tính trên thanh đầu trang (cạnh Đăng ký tư vấn) + ở khối Mặt bằng; điện thoại (không thanh đầu trang) ở khối Mặt bằng.
   Trang chọn căn riêng: chon-can.html. Khối Đăng ký: dòng liên kết sang trang chọn căn.
   ===================================================================== */
.dau-menu .dau-chon:hover { background: var(--muc); color: var(--kem); border-color: var(--muc); }
.mb-chon { margin-top: 28px; }
.dk-chon { margin-top: 10px; }
/* thêm nút → thanh chật: 1200–1499 px bớt "Tổng quan" (bấm tên dự án cũng về đầu trang) và "Hỏi đáp"; 1200–1279 px bớt thêm "Chính sách"; 900–1023 px bớt "Tổng quan" */
@media (min-width: 1200px) and (max-width: 1499px) { .dau-menu a[href="#tong-quan"], .dau-menu a[href="#hoi-dap"] { display: none; } }
@media (min-width: 1200px) and (max-width: 1279px) { .dau-menu a[href="#chinh-sach"] { display: none; } }
@media (min-width: 900px) and (max-width: 1023px) { .dau-menu a[href="#tong-quan"] { display: none; } }
@media (max-width: 899px) {
  html.dong .mb-chon { order: 2; margin-top: 0; }          /* ngay dưới tiêu đề, trên ảnh: đáy khung đã có nút nổi "Đăng ký tư vấn" */
  html.dong .mb-chon .nut { min-height: 44px; }
}
