/* ============================================================
   AUTOSALES PRO: TRANG GIỚI THIỆU (26/09/2026)
   Vanilla CSS, mobile-first. Token lấy theo app (pwa/css/nen-tang.css):
   phông Be Vietnam Pro, một màu nhấn xanh #2563EB, chữ #101319.
   Điểm nhấn duy nhất: dải "showroom" tối (navy + champagne, lấy từ chính mẫu
   ảnh Sang trọng Navy) để trưng các mẫu ảnh báo giá.
   Tương thích iOS 15+ / Chrome 90+ / Samsung Internet 15+: khung ảnh dùng
   padding-top thay aspect-ratio, không CSS nesting, không :has().
   ============================================================ */
:root{
  --ink:#101319;
  --ink-2:#5A6472;
  --paper:#FFFFFF;
  --mist:#F2F3F6;
  --line:#E3E5EA;
  --blue:#2563EB;
  --blue-deep:#1B45B8;
  --blue-soft:#EEF3FF;
  --green:#05A65B;
  --green-soft:#E8F6EF;
  --night:#0B1A33;
  --night-ink:#AFC0D9;
  --gold:#D9BC84;
  --gold-ink:#E9D3A6;
  --r-card:18px;
  --r-btn:13px;
  --ease:cubic-bezier(.32,.72,0,1);
  --shadow-1:0 1px 2px rgba(16,19,25,.05), 0 10px 26px -14px rgba(16,19,25,.16);
  --gutter:16px;
  color-scheme:light;
}

*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
  scroll-behavior:smooth; scroll-padding-top:72px;
}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
}
html.khoa-cuon, html.khoa-cuon body{ overflow:hidden; }
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3{ margin:0; }
button{ font-family:inherit; }
:focus-visible{ outline:3px solid rgba(37,99,235,.5); outline-offset:2px; }

.khung{
  max-width:1160px; margin:0 auto;
  padding-left:max(var(--gutter), env(safe-area-inset-left));
  padding-right:max(var(--gutter), env(safe-area-inset-right));
}

.bo-qua{
  position:absolute; left:12px; top:-80px; z-index:300;
  background:var(--ink); color:#fff; padding:10px 14px; border-radius:10px; text-decoration:none; font-weight:600;
}
.bo-qua:focus{ top:12px; }

/* ---------- Nút ---------- */
.nut{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:50px; padding:0 22px; border-radius:var(--r-btn);
  font-size:16px; font-weight:600; line-height:1.2; text-decoration:none; text-align:center;
  border:1px solid transparent; cursor:pointer;
  transition:background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.nut:active{ transform:scale(.98); }
.nut-chinh{ background:var(--blue); color:#fff; }
.nut-chinh:hover{ background:var(--blue-deep); }
.nut-phu{ background:#fff; color:var(--ink); border-color:var(--line); }
.nut-phu:hover{ border-color:var(--blue); color:var(--blue-deep); }
.nut-nho{ min-height:44px; padding:0 16px; font-size:15px; }

.hang-nut{ display:flex; flex-wrap:wrap; gap:10px; }

/* ---------- Thanh đầu ---------- */
.dau{
  position:-webkit-sticky; position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(1.6) blur(14px); backdrop-filter:saturate(1.6) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.dau.da-cuon{ border-bottom-color:var(--line); box-shadow:0 6px 18px -14px rgba(16,19,25,.35); }
.dau-trong{ display:flex; align-items:center; gap:12px; height:62px; }
.thuong-hieu{
  display:inline-flex; align-items:center; gap:10px; margin-right:auto;
  min-height:44px; text-decoration:none; font-weight:800; font-size:17px; letter-spacing:-.01em;
}
.thuong-hieu img{ width:32px; height:32px; border-radius:9px; }
.dau-nav{ display:none; }
.dau-nav a{
  display:inline-flex; align-items:center; min-height:44px; padding:0 12px; border-radius:10px;
  color:var(--ink-2); font-weight:400; font-size:15px; text-decoration:none;
}
.dau-nav a:hover{ color:var(--ink); background:var(--mist); }

/* Dải báo khi CHÍNH trang giới thiệu bị thêm nhầm ra màn hình chính */
.bang-nham{ background:#FFF7E6; border-bottom:1px solid #F3D9A4; color:#4A3200; font-size:14.5px; }
.bang-nham-trong{ display:flex; align-items:center; gap:12px; padding-top:10px; padding-bottom:10px; }
.bang-nham p{ margin:0; flex:1; }

/* ---------- Chữ dùng chung ---------- */
.nhan-nho{
  display:inline-block; margin:0 0 14px; padding:6px 12px; border-radius:999px;
  background:var(--blue-soft); color:var(--blue-deep); font-size:13.5px; font-weight:600;
}
h1{
  font-size:clamp(30px, 8.2vw, 56px); line-height:1.12; letter-spacing:-.028em; font-weight:800;
  margin-bottom:16px; text-wrap:balance;
}
h2{
  font-size:clamp(27px, 6.6vw, 42px); line-height:1.16; letter-spacing:-.024em; font-weight:800;
  margin-bottom:12px; text-wrap:balance;
}
.dan{ font-size:17px; color:var(--ink-2); margin:0 0 24px; max-width:36em; }
.ghi-chu{ font-size:14px; color:var(--ink-2); margin:16px 0 0; max-width:40em; }
.muc{ padding:64px 0; }

/* ---------- Xuất hiện nhẹ khi cuộn tới (chỉ khi có JS) ---------- */
.co-js .hien{ opacity:0; transform:translateY(16px); transition:opacity .65s var(--ease), transform .65s var(--ease); }
.co-js .hien.da-hien{ opacity:1; transform:none; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, #FFFFFF 0%, #F6F8FF 58%, #EEF3FF 100%);
  padding:28px 0 36px;
}
.hero-luoi{ display:grid; gap:34px; }
.hero-chu{ max-width:620px; }
.hero-chu h1{ text-wrap:wrap; }   /* ngắt theo cụm đã nối bằng &nbsp;, không cân dòng */
.hero-chu h1 span{ display:block; }

.hero-hinh{ position:relative; width:100%; max-width:400px; margin:0 auto; padding-bottom:6px; }
.quang{
  position:absolute; left:-10%; right:-10%; top:6%; bottom:0;
  background:radial-gradient(closest-side, rgba(37,99,235,.20), rgba(37,99,235,0));
  pointer-events:none;
}

/* Khung điện thoại dựng bằng CSS, bên trong là ảnh chụp màn hình thật của app */
.dt{
  position:relative; margin:0; padding:8px; border-radius:36px; background:#14171D;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.07), 0 34px 64px -28px rgba(16,19,25,.55), 0 14px 26px -16px rgba(16,19,25,.3);
}
.dt::before{
  content:''; position:absolute; z-index:2; top:15px; left:50%; width:28%; height:17px; margin-left:-14%;
  border-radius:999px; background:#14171D;
}
.dt img{ width:100%; height:auto; border-radius:28px; background:var(--mist); }

.dt-hero{ position:relative; margin-left:3%; width:57%; }
.the-anh{
  position:absolute; right:1%; top:56px; width:43%; margin:0; z-index:3;
  transform:rotate(4deg); transform-origin:50% 0;
}
.the-anh img{
  width:100%; height:auto; border-radius:10px;
  box-shadow:0 0 0 1px rgba(217,188,132,.35), 0 26px 44px -18px rgba(11,26,51,.6);
}
.the-anh figcaption{
  position:absolute; left:-14px; top:-15px;
  display:inline-flex; align-items:center; gap:6px; padding:6px 11px; border-radius:999px;
  background:#fff; color:var(--ink); font-size:12.5px; font-weight:600; white-space:nowrap;
  box-shadow:0 8px 20px -10px rgba(16,19,25,.35);
  transform:rotate(-4deg);
}
.the-anh figcaption::before{ content:''; width:8px; height:8px; border-radius:50%; background:var(--green); }

@media (prefers-reduced-motion: no-preference){
  .co-js .dt-hero{ animation:hero-len .9s var(--ease) .05s both; }
  .co-js .the-anh{ animation:hero-the 1s var(--ease) .38s both; }
}
@keyframes hero-len{ from{ opacity:0; transform:translateY(28px); } to{ opacity:1; transform:none; } }
@keyframes hero-the{
  from{ opacity:0; transform:translate(-18px, 26px) rotate(-2deg) scale(.94); }
  to{ opacity:1; transform:rotate(4deg); }
}

/* ============================================================
   PHẦN 1a: BÁO GIÁ NHANH, CHÍNH XÁC
   ============================================================ */
.bao-gia{ background:var(--paper); overflow:hidden; }
.bao-gia-luoi{ display:grid; gap:40px; }
.ds-tinh-nang{ list-style:none; margin:8px 0 0; padding:0; display:grid; gap:22px; }
.ds-tinh-nang li{ display:grid; grid-template-columns:44px minmax(0,1fr); gap:14px; align-items:start; }
.bieu-tuong{
  width:44px; height:44px; border-radius:12px; background:var(--blue-soft); color:var(--blue);
  display:flex; align-items:center; justify-content:center;
}
.ds-tinh-nang h3{ font-size:18px; line-height:1.35; font-weight:700; margin:1px 0 4px; }
.ds-tinh-nang p{ margin:0; font-size:15.5px; color:var(--ink-2); }

.bao-gia-hinh{ position:relative; width:100%; max-width:420px; margin:0 auto; padding-top:40px; }
.dt-truoc{ position:relative; margin-left:2%; width:52%; z-index:2; }
.dt-sau{ position:absolute; right:2%; top:0; width:47%; z-index:1; }
.dt-sau::after{
  content:''; position:absolute; inset:8px; border-radius:28px; background:rgba(242,243,246,.18); pointer-events:none;
}

/* ============================================================
   PHẦN 1b: MẪU ẢNH (dải showroom tối)
   ============================================================ */
.mau-anh{
  position:relative; overflow:hidden; color:#E8EEF8;
  background:
    radial-gradient(70% 38% at 50% 0%, rgba(111,155,209,.20), rgba(111,155,209,0) 70%),
    linear-gradient(180deg, #0B1A33 0%, #0A1730 55%, #081226 100%);
}
.mau-anh h2{ color:#fff; }
.mau-anh .dan{ color:var(--night-ink); margin-bottom:0; }
.mau-anh-dau{ position:relative; z-index:1; }

.dai-mau{
  display:flex; gap:16px; overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; scrollbar-width:none;
  padding:52px max(var(--gutter), env(safe-area-inset-right)) 34px max(var(--gutter), env(safe-area-inset-left));
  scroll-padding-left:var(--gutter);
}
.dai-mau::-webkit-scrollbar{ display:none; }
.mau{ position:relative; flex:0 0 74%; max-width:300px; scroll-snap-align:start; }
/* Đèn rọi trên đầu mỗi mẫu, như xe trưng trong showroom */
.mau::before{
  content:''; position:absolute; left:-6%; right:-6%; top:-52px; height:230px; pointer-events:none;
  background:radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255,232,194,.2), rgba(255,232,194,0) 72%);
}
.mau-khung{
  position:relative; display:block; width:100%; padding:0; border:0; background:none;
  border-radius:14px; cursor:zoom-in; color:inherit;
}
.mau-khung::after{
  content:''; position:absolute; left:10%; right:10%; bottom:-20px; height:26px; pointer-events:none;
  background:radial-gradient(closest-side, rgba(217,188,132,.30), rgba(217,188,132,0));
}
.mau-khung-trong{
  position:relative; display:block; padding-top:176%; border-radius:14px; overflow:hidden;
  background:#0E1F3D;
  box-shadow:0 0 0 1px rgba(217,188,132,.2), 0 34px 54px -26px rgba(0,0,0,.8);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mau-khung-trong img{
  position:absolute; top:0; left:0; width:100%; height:100%;
  object-fit:cover; object-position:top center; transition:opacity .3s ease;
}
.mau-khung:hover .mau-khung-trong{ transform:translateY(-4px); box-shadow:0 0 0 1px rgba(217,188,132,.35), 0 40px 60px -26px rgba(0,0,0,.85); }
.mau-khung:focus-visible{ outline-color:var(--gold-ink); outline-offset:4px; }
.mau-ten{ display:flex; align-items:center; gap:8px; margin:22px 0 4px; }
.mau-ten h3{ font-size:18px; font-weight:700; color:#fff; }
.the-goi{
  display:inline-block; padding:2px 9px; border-radius:999px; font-size:12.5px; font-weight:700;
  color:var(--gold-ink); background:rgba(217,188,132,.14); border:1px solid rgba(217,188,132,.38);
}
.the-goi--free{ color:#8EE5BA; background:rgba(5,166,91,.14); border-color:rgba(142,229,186,.38); }
.mau p{ margin:0; font-size:14.5px; color:var(--night-ink); }
.mau p b{ color:#fff; font-weight:600; }

.tong-mau{ display:flex; gap:2px; margin:6px 0 0 -9px; }
.tong-mau button{
  position:relative; width:44px; height:44px; padding:0; border:0; background:none; cursor:pointer; border-radius:50%;
}
.tong-mau button::before{
  content:''; position:absolute; left:50%; top:50%; width:24px; height:24px; margin:-12px 0 0 -12px; border-radius:50%;
  background:linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);
  transition:box-shadow .2s ease, transform .2s ease;
}
.tong-mau button[aria-checked="true"]::before{ box-shadow:0 0 0 2px var(--night), 0 0 0 4px var(--gold-ink); transform:scale(1.05); }
.tong-mau button:focus-visible{ outline:2px solid var(--gold-ink); outline-offset:-2px; }

.goi-y-vuot{ margin:-8px 0 0; font-size:13.5px; color:#8FA3C2; }
.gui-zalo{
  display:grid; gap:16px; align-items:center; margin-top:34px;
}
.gui-zalo > img{
  width:100%; max-width:400px; height:auto; border-radius:16px;
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 24px 40px -22px rgba(0,0,0,.8);
}
.gui-zalo h3{ font-size:20px; line-height:1.3; font-weight:700; color:#fff; margin-bottom:6px; text-wrap:balance; }
.gui-zalo p{ margin:0; font-size:15.5px; color:var(--night-ink); max-width:34em; }
.ghi-chu--toi{ color:#8FA3C2; font-size:13.5px; margin-top:26px; }

/* ============================================================
   PHẦN 2: CÀI APP RA MÀN HÌNH CHÍNH
   ============================================================ */
.cai-app{ background:var(--mist); }
.cai-app .dan{ margin-bottom:18px; }
.nhan-dien{
  display:flex; align-items:flex-start; gap:10px; width:-webkit-fit-content; width:fit-content; max-width:100%;
  margin:0 0 14px; padding:9px 16px 9px 14px; border-radius:16px;
  background:#fff; border:1px solid var(--line); font-size:14.5px; color:var(--ink-2); line-height:1.45;
}
.nhan-dien::before{ content:''; flex:none; width:8px; height:8px; margin-top:7px; border-radius:50%; background:var(--green); }
.nhan-dien b{ color:var(--ink); font-weight:600; }

.tab-may{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px;
  padding:6px; border-radius:17px; background:#E4E6EB; margin:0 0 18px;
}
.tab-may button{
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  min-height:58px; padding:6px 4px; border:0; border-radius:12px; background:transparent; cursor:pointer;
  color:var(--ink-2); font-size:14.5px; font-weight:600; line-height:1.25;
  transition:background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.tab-may button:hover{ color:var(--ink); }
.tab-may button[aria-selected="true"]{ background:#fff; color:var(--ink); box-shadow:var(--shadow-1); }
.tab-may button[aria-selected="true"] svg{ color:var(--blue); }
.the-may{
  position:absolute; top:-9px; right:6px; padding:1px 7px; border-radius:999px;
  background:var(--green); color:#fff; font-size:11px; font-style:normal; font-weight:700; line-height:1.5;
}

.pn:focus-visible{ outline-offset:6px; border-radius:12px; }
@media (prefers-reduced-motion: no-preference){
  .pn:not([hidden]), .pn [role="tabpanel"]:not([hidden]){ animation:pn-hien .32s var(--ease); }
}
@keyframes pn-hien{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

.canh-bao{
  margin:0 0 16px; padding:16px; border-radius:16px;
  background:#FFF7E6; border:1px solid #F3D9A4; color:#4A3200;
}
.canh-bao h3{ font-size:16.5px; font-weight:700; margin:0 0 6px; color:#3A2700; }
.canh-bao p{ margin:0 0 10px; font-size:15px; }
.canh-bao .link-app{ font-size:13px; color:#6B5320; }
.canh-bao .link-app span{
  display:block; margin-top:2px; font-size:13.5px; font-weight:600; color:#3A2700; word-break:break-all;
  -webkit-user-select:all; user-select:all;
}

.tab-tinh{
  display:inline-flex; gap:4px; padding:4px; border-radius:13px; background:#E4E6EB; margin:0 0 16px; max-width:100%;
}
.tab-tinh button{
  min-height:44px; padding:0 16px; border:0; border-radius:10px; background:transparent; cursor:pointer;
  color:var(--ink-2); font-size:15px; font-weight:600;
}
.tab-tinh button[aria-selected="true"]{ background:#fff; color:var(--ink); box-shadow:var(--shadow-1); }

.cai-ngay{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:0 0 16px; padding:14px 16px;
  border-radius:16px; background:var(--blue-soft);
}
.cai-ngay p{ margin:0; font-size:14.5px; color:var(--blue-deep); }

.buoc-ds{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.buoc{
  display:grid; grid-template-columns:minmax(0,1fr); gap:14px; min-width:0; align-content:start; padding:12px 12px 16px; border-radius:var(--r-card);
  background:#fff; border:1px solid var(--line);
}
.buoc-chu{ display:grid; grid-template-columns:30px minmax(0,1fr); column-gap:10px; align-items:start; padding:0 4px; }
.buoc-so{
  grid-column:1; grid-row:1; width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--blue); color:#fff; font-size:14.5px; font-weight:700;
}
.buoc-chu h3{ grid-column:2; grid-row:1; align-self:center; font-size:17px; line-height:1.35; font-weight:700; }
.buoc-chu > p, .buoc-chu > .hang-nut{ grid-column:2; }
.buoc-chu > p{ margin:6px 0 0; font-size:15px; color:var(--ink-2); }
.buoc-chu > p.nho{ font-size:13.5px; margin-top:6px; }
.buoc-chu > p b{ color:var(--ink); font-weight:600; }
.hang-nut--nho{ margin-top:12px; gap:8px; }

/* ---- Hình minh hoạ từng bước: dựng bằng HTML/CSS, không phải ảnh chụp giao diện hãng ---- */
.mh{
  position:relative; height:132px; border-radius:12px; overflow:hidden;
  background:linear-gradient(180deg, #F4F5F8, #ECEEF2); color:var(--ink);
  font-size:12.5px; line-height:1.3;
}
.mh-ic{ display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; color:#3B4350; flex:none; }
.mh-mo-nhat{ opacity:.35; }
.mh-cham{ color:var(--blue); background:var(--blue-soft); box-shadow:0 0 0 2px rgba(37,99,235,.9), 0 0 0 7px rgba(37,99,235,.14); }
.mh-chon{ background:var(--blue-soft) !important; color:var(--blue-deep) !important; font-weight:600; box-shadow:0 0 0 2px rgba(37,99,235,.85); }
.mh-chon svg{ color:var(--blue); }

.mh-mo{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:0 12px; }
.mh-app img{ width:44px; height:44px; border-radius:11px; box-shadow:0 6px 14px -8px rgba(16,19,25,.5); }
.mh-dia-chi{
  display:inline-flex; align-items:center; gap:6px; max-width:100%; padding:7px 12px; border-radius:999px;
  background:#fff; color:var(--ink-2); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  box-shadow:0 1px 2px rgba(16,19,25,.08);
}
.mh-dia-chi svg{ flex:none; color:var(--green); }
.mh-dia-chi span{ min-width:0; overflow:hidden; text-overflow:ellipsis; }

.mh-thanh{
  position:absolute; left:10px; right:10px; bottom:10px; height:46px; padding:0 6px;
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border-radius:16px; box-shadow:0 2px 8px -4px rgba(16,19,25,.25);
}

.mh-bang{
  position:absolute; left:10px; right:10px; top:14px; bottom:0; padding:12px 10px 8px;
  display:flex; flex-direction:column; gap:3px;
  background:#fff; border-radius:14px 14px 0 0; box-shadow:0 -2px 10px -6px rgba(16,19,25,.25);
}
.mh-tay-nam{ position:absolute; top:5px; left:50%; width:34px; height:4px; margin-left:-17px; border-radius:4px; background:#D5D8DE; }
.mh-dong{
  display:flex; align-items:center; gap:10px; padding:6px 9px; border-radius:9px; font-size:12.5px; color:var(--ink);
  white-space:nowrap; overflow:hidden;
}
.mh-dong svg{ flex:none; color:#5A6472; }

.mh-luoi{
  position:absolute; left:10px; right:10px; bottom:0; top:22px; padding:10px 8px;
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; align-content:start;
  background:#fff; border-radius:14px 14px 0 0; box-shadow:0 -2px 10px -6px rgba(16,19,25,.25);
}
.mh-o{ display:flex; flex-direction:column; align-items:center; gap:5px; padding:10px 2px; border-radius:10px; font-size:11.5px; text-align:center; }
.mh-o svg{ color:#5A6472; }

/* ---- Ảnh minh hoạ thật (iPhone, Android Chrome): ảnh điện thoại ở trên, nhãn bước ở góc trên trái,
   tiêu đề và 1-2 câu ở dưới. Ảnh giữ đúng tỉ lệ 561:701 nhờ width/height của thẻ img + height:auto
   (không cắt ảnh, không dùng aspect-ratio). Bước 1 giữ hình vẽ nhỏ, cũng gắn nhãn bước. ---- */
.buoc-ds--anh .buoc-chu{ display:block; }
.anh-buoc{
  position:relative; border-radius:12px; overflow:hidden;
  background:#F7F8FA;   /* gần đúng màu nền sẵn có của ảnh, để ảnh nền trong suốt và ảnh nền trắng trông đồng đều */
}
.anh-buoc::after{
  content:''; position:absolute; top:0; right:0; bottom:0; left:0; border-radius:inherit; pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(16,19,25,.06);
}
.anh-buoc img{ width:100%; height:auto; }
.nhan-buoc{
  position:absolute; z-index:1; top:10px; left:10px; padding:3px 10px; border-radius:999px;
  background:rgba(16,19,25,.82); color:#fff; font-size:12.5px; font-weight:700; line-height:1.5; white-space:nowrap;
}
.nhan-buoc--xong{ background:var(--green); }

.xong{
  display:flex; align-items:flex-start; gap:12px; margin:14px 0 0; padding:14px 16px; border-radius:16px;
  background:var(--green-soft); border:1px solid #BFE6D2; color:#0B3D25;
}
.xong p{ margin:0; font-size:15px; }
.xong-dau{ flex:none; width:34px; height:34px; border-radius:50%; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; }

.hoi-dap{ margin-top:14px; display:grid; gap:8px; }
.hoi-dap details{ background:#fff; border:1px solid var(--line); border-radius:14px; }
.hoi-dap summary{
  position:relative; list-style:none; cursor:pointer; min-height:52px; padding:14px 48px 14px 16px;
  font-weight:600; font-size:15.5px; line-height:1.45;
}
.hoi-dap summary::-webkit-details-marker{ display:none; }
.hoi-dap summary::after{
  content:''; position:absolute; right:18px; top:50%; width:9px; height:9px; margin-top:-7px;
  border-right:2px solid var(--ink-2); border-bottom:2px solid var(--ink-2); transform:rotate(45deg);
  transition:transform .2s ease;
}
.hoi-dap details[open] summary::after{ transform:rotate(-135deg); margin-top:-2px; }
.hoi-dap details p{ margin:0; padding:0 16px 16px; font-size:15px; color:var(--ink-2); }

.pc-luoi{ display:grid; gap:12px; }
.buoc-ds--pc .buoc{ padding:16px 12px; }
.qr-the{
  display:flex; align-items:center; gap:16px; padding:16px; border-radius:var(--r-card);
  background:#fff; border:1px solid var(--line);
}
.qr-the h3{ font-size:17px; font-weight:700; margin-bottom:4px; }
.qr-the p{ margin:0; font-size:15px; color:var(--ink-2); }
.qr-o{ flex:none; width:128px; height:128px; padding:6px; border-radius:12px; border:1px solid var(--line); background:#fff; }
.qr-o svg{ display:block; width:100%; height:100%; }

.ho-tro{ margin:22px 0 0; font-size:15px; color:var(--ink-2); }
.ho-tro a{ color:var(--blue-deep); font-weight:600; }

/* ============================================================
   CHÂN TRANG
   ============================================================ */
.chan{ background:#fff; border-top:1px solid var(--line); padding:40px 0 calc(24px + env(safe-area-inset-bottom)); }
.chan-luoi{ display:grid; gap:24px; }
.chan-thuong-hieu p{ margin:8px 0 0; font-size:15px; color:var(--ink-2); max-width:26em; }
.chan-cot h2{ font-size:14.5px; font-weight:700; letter-spacing:0; margin:0 0 4px; }
.chan-cot a{ display:block; padding:10px 0; font-size:15px; color:var(--ink-2); text-decoration:none; }
.chan-cot a:hover{ color:var(--blue-deep); text-decoration:underline; }
.chan-cuoi{ margin-top:24px; padding-top:18px; border-top:1px solid var(--line); font-size:13.5px; color:var(--ink-2); }
.chan-cuoi p{ margin:0 0 6px; }
/* Link Điều khoản · Chính sách dữ liệu (trang tĩnh dieu-khoan.html bên app): cùng cỡ, cùng màu dòng chữ nhỏ, gạch chân
   để nhận ra là link; đệm dọc cho dễ bấm trên điện thoại */
.chan-phap-ly{
  display:inline-block; padding:8px 0; color:var(--ink-2);
  text-decoration:underline; text-underline-offset:3px; transition:color .16s ease;
}
.chan-phap-ly:hover{ color:var(--blue-deep); }

/* ============================================================
   XEM LỚN ẢNH MẪU
   ============================================================ */
.xem-lon{
  position:fixed; top:0; left:0; right:0; bottom:0; z-index:100;
  display:flex; flex-direction:column; background:rgba(6,10,20,.95); color:#fff;
}
@media (prefers-reduced-motion: no-preference){
  .xem-lon:not([hidden]){ animation:xem-hien .22s ease; }
}
@keyframes xem-hien{ from{ opacity:0; } to{ opacity:1; } }
.xem-lon-dau{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:calc(8px + env(safe-area-inset-top)) 12px 8px 18px;
}
.xem-lon-dau p{ margin:0; font-weight:600; font-size:16px; }
.xem-lon-cuon{
  flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain;
  display:flex; justify-content:center; align-items:flex-start; padding:6px 16px 16px;
}
.xem-lon-cuon img{ width:100%; max-width:520px; height:auto; border-radius:12px; box-shadow:0 30px 60px -30px rgba(0,0,0,.9); }
.xem-lon-chan{
  display:flex; align-items:center; justify-content:center; gap:22px;
  padding:8px 12px calc(10px + env(safe-area-inset-bottom)); color:#C9D4E6; font-size:14.5px;
}
.xem-lon-nut{
  width:48px; height:48px; border-radius:50%; border:0; cursor:pointer; flex:none;
  display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.12); color:#fff;
  transition:background-color .15s ease;
}
.xem-lon-nut:hover{ background:rgba(255,255,255,.22); }

.bao-nho{
  position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom)); z-index:120;
  max-width:calc(100% - 32px); width:max-content; padding:12px 16px; border-radius:14px;
  background:var(--ink); color:#fff; font-size:14.5px; line-height:1.45; text-align:center; word-break:break-word;
  transform:translate(-50%, 18px); opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .25s var(--ease);
}
.bao-nho.hien{ opacity:1; transform:translate(-50%, 0); }

/* ============================================================
   MÀN RỘNG HƠN
   ============================================================ */
@media (max-width: 399px){
  .hero .hang-nut .nut{ padding:0 18px; }
}
@media (min-width: 640px){
  :root{ --gutter:24px; }
  .hero{ padding:40px 0 48px; }
  .hero-hinh{ max-width:460px; }
  .mau{ flex-basis:40%; }
  .tab-may{ max-width:560px; }
  .tab-may button{ flex-direction:row; gap:8px; min-height:52px; }
  .buoc-ds{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .buoc-ds--pc{ grid-template-columns:1fr; }
  /* 3 thẻ ảnh nằm ngang; bước 1 thành dải ngang phía trên, hình vẽ thẳng cột ảnh đầu, chữ thẳng cột thứ hai */
  .buoc-ds--anh{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .buoc-ds--anh > .buoc:first-child{ grid-column:1 / -1; grid-template-columns:calc(33.333% - 25px) minmax(0,1fr); column-gap:38px; align-items:center; }
  .gui-zalo{ grid-template-columns:minmax(0,400px) minmax(0,1fr); gap:28px; }
  .chan-luoi{ grid-template-columns:1.4fr 1fr 1fr; }
  .bao-gia-hinh{ max-width:460px; }
}

@media (min-width: 960px){
  :root{ --gutter:32px; }
  html{ scroll-padding-top:80px; }
  .dau-trong{ height:70px; gap:8px; }
  .dau-nav{ display:flex; align-items:center; gap:2px; margin-right:12px; }
  .muc{ padding:104px 0; }
  .dan{ font-size:18.5px; }

  .hero{ padding:56px 0 72px; }
  .hero-luoi{ grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr); align-items:center; gap:40px; }
  .hero-chu h1{ font-size:clamp(42px, 3.9vw, 54px); }
  .hero-hinh{ max-width:560px; margin-right:0; }

  .bao-gia-luoi{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:56px; }
  .bao-gia-hinh{ max-width:500px; margin-right:0; }
  .ds-tinh-nang{ gap:26px; margin-top:12px; }

  .dai-mau{
    display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:28px;
    max-width:1160px; margin:0 auto; overflow:visible;
    padding:64px var(--gutter) 34px;
  }
  .mau{ max-width:none; }
  .goi-y-vuot{ display:none; }
  .gui-zalo{ margin-top:44px; }

  .buoc-ds{ grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
  .buoc-ds--pc{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .buoc-ds--anh{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .buoc-ds--anh > .buoc:first-child{ grid-template-columns:calc(33.333% - 27px) minmax(0,1fr); column-gap:40px; }
  .pc-luoi{ grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); align-items:stretch; }
  .qr-the{ flex-direction:column; align-items:flex-start; }
  .qr-o{ width:150px; height:150px; }
  .xem-lon-cuon img{ max-width:560px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .co-js .hien{ opacity:1; transform:none; transition:none; }
  *,*::before,*::after{ animation-duration:.001s !important; animation-delay:0s !important; transition-duration:.001s !important; }
}
