/* Trang chủ giới thiệu + 7 trang chính sách (đặc tả bước 9, mục 4, 5) — lấy từ <helmet><style> của
   Docs/mockup/trang-chu.mockup.html và trang-chinh-sach.mockup.html; @container → @media. Mốc: 760px, 1000px (chính sách), 1100px.
   Trang công khai chỉ nạp file này (không nạp app.css). */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: #EEF2F7; font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; color: #1E293B; line-height: 1.55; }
a { color: #1D4ED8; }
a:hover { color: #1E3A8A; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.an-di { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; width: 100%; }
.dan { flex: 1; }

/* ---------- Đầu trang ---------- */
.top { background: #fff; border-bottom: 1px solid #E2E8F0; position: sticky; top: 0; z-index: 5; }
.topin { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1E293B; font-weight: 800; font-size: 17px; white-space: nowrap; }
.logo:hover { color: #1E293B; }
.logo i { width: 36px; height: 36px; border-radius: 10px; background: #1E3A8A; display: flex; align-items: center; justify-content: center; flex: none; }
.nav { display: none; gap: 4px; margin-left: 24px; }
.nav a { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 10px; color: #334155; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav a:hover { background: #F1F5F9; color: #1E293B; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font: inherit; font-size: 15.5px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer; }
.b-xt { background: #0B8577; color: #fff; }
.b-xt:hover { background: #0B6B60; color: #fff; }
.b-zl { background: #fff; color: #1D4ED8; border-color: #2563EB; }
.b-zl:hover { background: #E3EDFD; color: #1D4ED8; }
.b-dn { min-height: 44px; padding: 0 16px; font-size: 14.5px; background: #fff; color: #1E293B; border-color: #CBD5E1; }
.b-dn:hover { background: #F8FAFC; color: #1E293B; }
.b-mua { width: 100%; margin-top: 8px; background: #2563EB; color: #fff; }
.b-mua:hover { background: #1D4ED8; color: #fff; }
.b-xt-nhat { color: #0B6B60; background: #F0FBF9; border-color: #0B8577; }
.b-xt-nhat:hover { background: #E0F5F2; color: #0B6B60; }
.b-trang { background: #fff; color: #0B6B60; }
.b-trang:hover { background: #E0F5F2; color: #065F55; }
.b-vien-trang { border-color: #fff; color: #fff; }
.b-vien-trang:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.rong { width: 100%; }
.rong + .rong { margin-top: 10px; }

/* ---------- Mở đầu ---------- */
.hero { padding: 32px 0 40px; }
.hgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.eye { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: 15px; background: #fff; border: 1px solid #E2E8F0; font-size: 12.5px; font-weight: 600; color: #334155; }
.eye svg { flex: none; }
h1 { font-size: 32px; line-height: 1.2; margin: 16px 0 14px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lead { font-size: 16.5px; color: #334155; margin: 0 0 22px; max-width: 560px; }
.cta { display: flex; flex-direction: column; gap: 10px; }
.cta.giua { justify-content: center; }
.small { font-size: 13px; color: #475569; }

/* Hình điện thoại (HTML/CSS, aria-hidden) */
.mini { width: 280px; max-width: 100%; margin: 0 auto; border-radius: 36px; background: #0F172A; padding: 12px; box-shadow: 0 24px 60px rgba(30, 58, 138, .25); }
.mscr { border-radius: 26px; background: #EEF2F7; overflow: hidden; font-size: 11px; }
.m-dau { background: #fff; padding: 12px 12px 8px; font-weight: 700; font-size: 13px; }
.m-tong { padding: 8px 10px; display: flex; gap: 10px; font-weight: 700; font-size: 10.5px; background: #fff; border-top: 1px solid #E2E8F0; }
.m-tab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: #E2E8F0; border-radius: 9px; padding: 3px; margin-bottom: 10px; font-weight: 600; text-align: center; }
.m-tab span { padding: 6px 0; }
.m-tab .on { background: #2563EB; color: #fff; border-radius: 7px; }
.m-form { background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.m-o { border: 1px solid #CBD5E1; border-radius: 7px; padding: 6px 8px; }
.m-luu { background: #2563EB; color: #fff; text-align: center; border-radius: 8px; padding: 7px; font-weight: 700; }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; }
.m-no { color: #B45309; background: #FEF3C7; padding: 1px 5px; border-radius: 5px; }

/* ---------- Khối ---------- */
.sec { padding: 48px 0; }
.sec.white { background: #fff; }
h2 { font-size: 26px; line-height: 1.25; margin: 0 0 8px; font-weight: 800; overflow-wrap: anywhere; }
.sub { font-size: 15.5px; color: #475569; margin: 0 0 28px; max-width: 640px; }
.giua { text-align: center; margin-left: auto; margin-right: auto; }
.hep { max-width: 980px; }
.hep-hd { max-width: 860px; }
.g2, .g3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(30, 41, 59, .06); padding: 20px; margin: 0; min-width: 0; }
.sec.white .card { background: #F8FAFC; box-shadow: none; border: 1px solid #E2E8F0; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.card p { margin: 0; font-size: 14.5px; color: #475569; }

/* Ảnh chụp app */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #334155; cursor: pointer; }
.tab[aria-selected="true"] { background: #1E3A8A; color: #fff; border-color: #1E3A8A; }
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; justify-items: center; }
.shot { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid #CBD5E1; background: #F8FAFC; }
.shot-may { display: none; }
.shot-dt { max-width: 320px; border-radius: 22px; }

/* Đúng mẫu S2a-HKD */
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 0 0 10px; }
.chk svg { flex: none; margin-top: 3px; }
.fig { margin: 0; min-width: 0; }
.paper { background: #fff; border: 1px solid #CBD5E1; border-radius: 6px; box-shadow: 0 10px 30px rgba(30, 41, 59, .10); padding: 22px 20px; font-size: 11.5px; color: #1E293B; overflow-x: auto; }
.paper table { width: 100%; border-collapse: collapse; min-width: 420px; }
.paper th, .paper td { border: 1px solid #94A3B8; padding: 5px 6px; text-align: left; }
.paper th { background: #F1F5F9; font-weight: 700; }
.paper .r { text-align: right; }
.p-dau { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.p-ten { text-align: center; font-weight: 800; font-size: 13px; margin: 10px 0 2px; }

/* Video */
.video { position: relative; border-radius: 16px; background: #1E293B; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: relative; width: 76px; height: 76px; border-radius: 38px; background: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.play:hover { transform: scale(1.05); }

/* Ý kiến khách */
.quote { font-size: 15px; color: #334155; margin: 0 0 14px; }
.who { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.who .mo { color: #475569; }
.av { width: 40px; height: 40px; border-radius: 20px; background: #E3EDFD; color: #1D4ED8; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }

/* Bảng giá */
.price { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 900px; }
.pcard { background: #fff; border-radius: 20px; padding: 24px; border: 2px solid #2563EB; position: relative; min-width: 0; }
.pcard.alt { border: 1px solid #E2E8F0; }
.pcard h3 { font-size: 18px; margin: 0; font-weight: 700; }
.p-tren { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 13px; background: #FEF3C7; color: #92400E; font-size: 12.5px; font-weight: 700; }
.gia-so { margin: 14px 0 4px; }
.big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.big.bao-gia { font-size: 24px; letter-spacing: 0; display: block; margin-bottom: 16px; }
.old { font-size: 17px; color: #64748B; text-decoration: line-through; margin-left: 8px; font-weight: 600; }

/* Hỏi đáp */
details { background: #fff; border-radius: 14px; border: 1px solid #E2E8F0; margin-bottom: 10px; }
summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-weight: 700; font-size: 15.5px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid #64748B; border-bottom: 2px solid #64748B; transform: rotate(45deg); margin-top: -4px; }
details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
details p { margin: 0; padding: 0 18px 16px; font-size: 14.5px; color: #475569; }

/* Kêu gọi cuối trang */
.final { background: #1E3A8A; color: #fff; border-radius: 24px; padding: 32px 22px; text-align: center; }
.final h2 { color: #fff; margin-bottom: 10px; }
.final p { margin: 0 auto 22px; color: #DBE4F5; max-width: 560px; font-size: 15.5px; }

/* ---------- Chân trang ---------- */
.foot { background: #fff; border-top: 1px solid #E2E8F0; padding: 32px 0 96px; font-size: 13.5px; color: #475569; }
.foot a { color: #334155; }
.foot-in { display: flex; gap: 24px 48px; flex-wrap: wrap; align-items: flex-start; }
.foot-info { flex: 1 1 320px; min-width: 0; line-height: 1.7; overflow-wrap: anywhere; }
.foot-info b { color: #1E293B; font-size: 15px; }
.foot-cot { flex: 0 1 220px; display: flex; flex-direction: column; gap: 2px; }
.foot-cot a { min-height: 32px; display: flex; align-items: center; }
.foot-h { color: #1E293B; font-weight: 700; margin: 0 0 4px; }
.bct { flex: none; display: block; }
.bct img { display: block; width: 160px; height: auto; }
.foot-cr { margin-top: 20px; padding-top: 16px; border-top: 1px solid #E2E8F0; }

/* Thanh dính đáy (< 760px) */
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: #fff; border-top: 1px solid #E2E8F0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.stick .btn { flex: 1; min-height: 48px; padding: 0 10px; font-size: 14.5px; }

/* ---------- Trang chính sách ---------- */
body.cs { min-height: 100vh; display: flex; flex-direction: column; line-height: 1.65; }
.cs .foot { padding-bottom: 28px; }
.cs-body { flex: 1; padding: 20px 0 40px; }
.cs-lay { display: flex; flex-direction: column; gap: 16px; }
.cs-side { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pl { flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font-size: 14px; font-weight: 600; color: #334155; white-space: nowrap; text-decoration: none; }
.pl:hover { background: #F8FAFC; color: #1E293B; }
.pl[aria-current="page"] { background: #E3EDFD; color: #1D4ED8; border-color: #93B4F5; }
.doc { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(30, 41, 59, .06); padding: 22px 18px; min-width: 0; flex: 1; max-width: 820px; overflow-wrap: anywhere; }
.doc h1 { font-size: 26px; line-height: 1.25; margin: 0 0 6px; }
.doc h2 { font-size: 18px; margin: 26px 0 8px; font-weight: 700; }
.doc p { margin: 0 0 12px; font-size: 15.5px; color: #334155; }
.doc ul { margin: 0 0 12px; padding-left: 22px; font-size: 15.5px; color: #334155; }
.doc li { margin-bottom: 6px; }
.doc .cap-nhat { font-size: 13px; color: #64748B; }
.crumb { font-size: 13px; color: #64748B; margin-bottom: 12px; }
.crumb a { color: #475569; }
.lh-ds { list-style: none; padding: 14px 16px !important; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; }

@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .nav { display: flex; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero { padding: 56px 0 64px; }
  .cta { flex-direction: row; flex-wrap: wrap; }
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .sec { padding: 72px 0; }
  .stick { display: none; }
  .foot { padding-bottom: 28px; }
  .final { padding: 48px; }
  .shots { grid-template-columns: minmax(0, 3.3fr) minmax(0, 1fr); }
  .shot-may { display: block; }
  .shot-dt { max-width: none; }
  .cs-body { padding: 32px 0 64px; }
  .doc { padding: 36px 44px; }
  .doc h1 { font-size: 32px; }
}
@media (min-width: 1000px) {
  .cs-lay { flex-direction: row; align-items: flex-start; gap: 28px; }
  .cs-side { flex-direction: column; width: 250px; flex: none; overflow: visible; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 1px 3px rgba(30, 41, 59, .06); position: sticky; top: 84px; }
  .pl { border: 0; width: 100%; white-space: normal; padding: 10px 14px; }
}
@media (min-width: 1100px) {
  .hgrid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
}
@media (max-width: 1099px) {
  .split > * + * { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
