/* Quýt Bio — web dịch vụ. Gốc phong cách: Apple (refero a73148b9): nền trắng, dải #f5f5f7, 1 màu nhấn xanh,
   thẻ bo 28px không bóng, khoảng khối lớn. Màu/chữ/khoảng cách chỉ đặt ở :root. */
:root {
  --bg: #fff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --slate: #6e6e73;
  --hair: #d2d2d7;
  --ctl: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --launch: #b64400;
  --ok: #34c759;
  --night: #000;
  --night-2: #161617;
  --night-ink: #f5f5f7;
  --night-slate: #a1a1a6;
  --brand: #f28c28;
  --leaf: #34a853;
  --frame: #1d1d1f;
  --zalo-bg: #e3e9f0;   /* nền chat lấy từ ảnh chụp thật, để ảnh liền với khung */
  --mess-bg: #0c1015;
  /* cam cho chữ gradient và nền kem. Mã màu: radix-ui/colors v3.0.0 (MIT) — orange 2, orange 10, tomato 10, amber 9, orange 9 */
  --zest: #fff7ed;
  --g-a: #ef5f00;
  --g-b: #dd4425;
  --gn-a: #ffc53d;
  --gn-b: #f76b15;
  /* màu nhận diện 3 trang mẫu */
  --t-man: #2b44d6;
  --t-hung: #1f7a43;
  --t-hang: #7b5a2f;

  --r-card: 28px;
  --r-pill: 980px;
  --gap: 20px;
  --sec: clamp(72px, 10vw, 140px);
  --wrap: 1068px;
  --nav-h: 52px;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.47 var(--f);
  letter-spacing: -.01em; /* vừa cho Be Vietnam Pro (rộng hơn); Safari có SF thì siết như Apple ở dưới */
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@supports (font: -apple-system-body) { body { letter-spacing: -.022em; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
svg.i { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- thanh điều hướng ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgb(0 0 0 / .08);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 40px; height: 40px; } /* dấu logo nền trong (anh/logo.png); thanh cao 52px */
.nav nav { display: flex; align-items: center; gap: clamp(14px, 3.5vw, 32px); }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 14px; }
.nav nav a[aria-current="page"] { font-weight: 600; }
.nav nav a:hover { text-decoration: none; color: var(--link); }
.nav nav .nav-cta span { padding: 6px 13px; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; }
.nav nav .nav-cta:hover span { background: var(--blue-hover); }
.nav a, .nav a span { white-space: nowrap; } /* Android (Be Vietnam Pro rộng hơn SF) ở 360px: 4 mục không vỡ 2 dòng */
.logo, .nav nav a { flex: none; }

/* ---------- chữ ---------- */
.kicker { font-size: clamp(17px, 2vw, 21px); font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(44px, 8.6vw, 84px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h2, .h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: .004em; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; letter-spacing: -.01em; color: var(--slate); text-wrap: pretty; }
.lead b { color: var(--ink); font-weight: 600; }
.sub { margin-top: 16px; max-width: 680px; }
.center .sub, .page-hero .sub { margin-inline: auto; }

/* ---------- nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--blue); color: #fff; font-size: 17px; font-weight: 400;
  transition: background .2s, color .2s, scale .2s var(--ease);
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { scale: .97; }
.btn-line { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
@media (hover: hover) { .btn-line:hover { background: var(--blue); color: #fff; } } /* máy cảm ứng: không dính nền xanh sau khi chạm */
.lnk { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 17px; color: var(--link); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 32px; }
.chip:active, .seg label:active, .step:active, .faq summary:active { opacity: .6; } /* phản hồi khi nhấn cho ô chọn và câu hỏi */

/* ---------- khối ---------- */
.band { padding-block: var(--sec); }
.mist { background: var(--mist); }
.zest { background: var(--zest); } /* nền kem ấm cho lời mời cuối */
.night { background: var(--night); color: var(--night-ink); }
.night .lead { color: var(--night-slate); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }

/* ---------- khung iPhone vẽ bằng CSS ---------- */
.phone {
  --w: 280px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .17);
  background: var(--frame);
  box-shadow: inset 0 0 0 calc(var(--w) * .007) #4a4a4d, 0 40px 80px -30px rgb(0 0 0 / .35);
}
.phone::after {
  content: ""; position: absolute; z-index: 3;
  top: calc(var(--w) * .062); left: 50%; translate: -50% 0;
  width: 30%; height: calc(var(--w) * .088);
  border-radius: 99px; background: #000;
}
.phone > img, .screen {
  width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top;
  border-radius: calc(var(--w) * .135); background: var(--mist);
}
.screen { position: relative; overflow: hidden; }

/* ---------- trang chủ: hero ---------- */
.hero { padding-top: clamp(40px, 4.5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); text-align: center; overflow-x: clip; }
@supports not (overflow: clip) { .hero { overflow: hidden; } } /* trình duyệt cũ: không để 2 điện thoại nghiêng làm trang kéo ngang được */
.hero .kicker { margin-bottom: 10px; color: var(--launch); }
.nw { white-space: nowrap; }
/* chữ đổi vòng: 7 cụm "cho …" chồng 1 ô, lần lượt mờ-hiện tại chỗ; cả cụm nằm giữa ô ⇒ dòng 2 của tiêu đề luôn giữa màn */
.rot { display: inline-grid; justify-items: center; vertical-align: top; }
.rot > span { grid-area: 1 / 1; opacity: 0; }
.rot > span:first-child { opacity: 1; }
@keyframes word {
  0% { opacity: 0; translate: 0 .12em; }
  3%, 12.5% { opacity: 1; translate: 0 0; }
  15.5%, 100% { opacity: 0; translate: 0 -.12em; } /* chồng 0,2s với chữ sau ⇒ không có lúc trống; không blur để máy yếu không giật */
}
.hero .lead { max-width: 760px; margin: 20px auto 0; }
.hero .ctas { margin-top: 26px; }
/* chữ gradient: chỉ tiêu đề lớn, đứng yên, tối đa 2 chỗ mỗi trang; dải cam không đặt trên nền xám (tương phản chỉ 3,06:1) */
.grad { color: var(--launch); }
.night .grad { color: var(--brand); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad {
    background-image: linear-gradient(90deg, var(--g-a), var(--g-b));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    padding-block: .14em .1em; /* dấu chồng (ề, ẳ) và chân chữ (g, ọ) không bị cắt */
  }
  .night .grad { background-image: linear-gradient(90deg, var(--gn-a), var(--brand) 50%, var(--gn-b)); }
  .grad::selection { background: Highlight; color: HighlightText; -webkit-text-fill-color: HighlightText; }
}
.grad-b { width: fit-content; margin-block: -.14em -.1em; } /* phần tử dạng khối: bù phần đệm để bố cục đứng yên */
@media (forced-colors: active), print { .grad { background-image: none; -webkit-text-fill-color: currentColor; } }
/* nút "Tạm dừng" mọi thứ tự chạy (WCAG 2.2.2); chỉ hiện khi máy cho phép chuyển động */
/* Chủ dự án (11/11/2026): ẩn nút, mặc định chạy. Nút vẫn nằm trong trang cho người dùng bàn phím và trình đọc màn hình: Tab tới thì hiện ra dưới hàng nút. */
.hero .ctas { position: relative; }
.dung-nut { position: absolute; top: 100%; left: 50%; translate: -50% 0; opacity: 0; pointer-events: none; display: none; align-items: center; gap: 7px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--slate); font: 400 14px/1 var(--f); letter-spacing: 0; cursor: pointer; }
.dung-nut:focus-visible { opacity: 1; pointer-events: auto; }
.dung-nut::before { content: ""; width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.dung .dung-nut::before { width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 10px; border-left-color: currentColor; }

.fan { --wc: clamp(210px, 56vw, 320px); display: grid; justify-items: center; margin-top: clamp(44px, 5vw, 56px); animation: rise 1.1s var(--ease) .15s both; }
.fan .phone { grid-area: 1 / 1; }
.fan .p-c { --w: var(--wc); z-index: 2; }
.fan .p-l, .fan .p-r { --w: calc(var(--wc) * .86); margin-top: calc(var(--wc) * .16); }
.fan .p-l { translate: -60% 0; rotate: -8deg; }
.fan .p-r { translate: 60% 0; rotate: 8deg; }
@keyframes rise { from { opacity: 0; transform: translateY(80px); } }
@keyframes fanL { from { translate: -36% 2%; rotate: -4deg; } to { translate: -70% 6%; rotate: -11deg; } }
@keyframes fanR { from { translate: 36% 2%; rotate: 4deg; } to { translate: 70% 6%; rotate: 11deg; } }
@keyframes fanC { to { translate: 0 -3%; } }
.p-c .screen img { width: 100%; }
@keyframes cuon { to { translate: 0 -40%; } } /* màn điện thoại giữa "lướt" trang Tiểu Mẫn khi khách cuộn web */

/* ---------- trang chủ: câu sáng dần khi cuộn ---------- */
.say p { max-width: 920px; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.17; font-weight: 600; letter-spacing: -.012em; }

/* ---------- trang chủ: trang mẫu có tab ----------
   Chọn trang mẫu (.who) và chọn tab (.tabs) là ô chọn radio + :has(), không JS. Mỗi thẻ mang nền kem, màu và kiểu chữ của trang mẫu đó (màu đo từ poster anh gửi). */
.story input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.who { display: flex; gap: 8px; margin: 22px 0 14px; }
.who label { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px 10px 6px 6px; border-radius: 99px; background: var(--ctl); font-size: 14px; font-weight: 600; line-height: 1.15; cursor: pointer; transition: background .2s, color .2s; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.who label:has(:checked) { background: var(--ink); color: #fff; }
.who label:has(:focus-visible), .tabs label:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.k { display: none; }
.story:has([name=k][value=man]:checked) .k-man, .story:has([name=k][value=hang]:checked) .k-hang, .story:has([name=k][value=hung]:checked) .k-hung { display: block; }
.k-the { display: grid; position: relative; overflow: hidden; border-radius: var(--r-card); padding: 20px 20px 0; background: var(--k-bg); color: var(--k-ink); }
.k-man  { --k-bg: #fff1d8; --k-ink: #16182c; --acc: #1d3cc9; --acc2: #ff6a24; --rule: #1d3cc9; --soft: #1d3cc9; }
.k-hang { --k-bg: #f5eee4; --k-ink: #20293c; --acc: #79562e; --acc2: #986f40; --rule: #a99a86; --soft: #c7b9a7; }
.k-hung { --k-bg: #eaf5ee; --k-ink: #16241b; --acc: #1f7a43; --acc2: #1f7a43; --rule: #1f7a43; --soft: #b9d8c5; }
.k-man .k-the { background-image: linear-gradient(#f0e5d7 1px, transparent 1px), linear-gradient(90deg, #f0e5d7 1px, transparent 1px); background-size: 24px 24px; background-position: 12px 12px; }
.mast { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.k-man .mast { border-bottom-width: 2px; color: var(--acc); }
.mast span + span { color: var(--acc); }
.txt { display: grid; margin-top: 22px; }
.txt > div { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease); }
.kick { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.k-hang .kick, .k-hung .kick { padding: 7px 14px; border: 1px solid var(--soft); border-radius: 99px; color: var(--acc); }
.k-man .kick { padding: 7px 12px; border-radius: 4px; background: var(--acc2); color: var(--k-ink); rotate: -5deg; letter-spacing: .06em; font-weight: 800; }
.k h3 { margin-top: 16px; font-size: clamp(40px, 11.5vw, 68px); }
.k-hang h3 { font-family: ui-serif, "New York", Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.08; letter-spacing: -.035em; } /* giãn dòng 1,08: dấu "ặ" không chạm dấu "ằ" ở dòng dưới */
.k-man h3 { font-weight: 800; line-height: 1.06; letter-spacing: -.055em; color: var(--acc); }
.k-hung h3 { font-weight: 700; line-height: 1.06; letter-spacing: -.035em; font-size: clamp(34px, 9.6vw, 60px); }
.txt p { margin-top: 12px; max-width: 22em; font-size: 17px; line-height: 1.4; }
.k-man .txt p { font-weight: 600; }
.tabs { display: flex; margin-top: 20px; border-top: 1px solid var(--soft); }
.k-man .tabs { border-top-width: 2px; }
.tabs label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-size: 15px; cursor: pointer; border-bottom: 1px solid var(--soft); }
.tabs label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; opacity: .6; }
.tabs label:has(:checked) { font-weight: 700; }
.tabs label:has(:checked)::before { background: var(--acc2); box-shadow: none; opacity: 1; }
.k-man .tabs label::before { display: none; }
.k-man .tabs label:has(:checked) { background: var(--acc); color: #fff; }
.ph { display: grid; justify-items: center; height: clamp(300px, 86vw, 380px); margin-top: 22px; overflow: hidden; } /* điện thoại ló từ đáy thẻ, không có vùng cuộn lồng */
.k .phone { --w: min(250px, 66vw); }
.story .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.k:has([value=a]:checked) :is(.t-a, .s-a), .k:has([value=b]:checked) :is(.t-b, .s-b), .k:has([value=c]:checked) :is(.t-c, .s-c) { opacity: 1; visibility: visible; }
.k-ghi { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--slate); }
.k-ghi a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
/* trình duyệt cũ không hiểu :has(): hiện cả 3 thẻ, mỗi thẻ tab đầu; giấu hàng chọn không chạy được */
@supports not selector(:has(*)) { .k { display: block; margin-bottom: 20px; } .who, .tabs { display: none; } .txt > div:first-child, .k .screen img:first-child { opacity: 1; visibility: visible; } }
/* Lưới 9 giao diện mẫu thu nhỏ: 3 cột × 3 hàng ở điện thoại, 1 hàng 9 ở màn rộng. Không cuộn ngang, không JS; mỗi ô dẫn tới thẻ #m-<ma> ở trang Giao diện. */
.tam { margin-top: 28px; }
.tam-k { color: var(--slate); font-size: 15px; font-weight: 600; }
.tam ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; margin-top: 14px; }
.tam a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; }
.tam a:active { opacity: .6; }
.tam .phone { --w: clamp(72px, 23vw, 104px); box-shadow: inset 0 0 0 1px #4a4a4d, 0 12px 20px -14px rgb(0 0 0 / .4); transition: translate .4s var(--ease); }
@media (hover: hover) { .tam a:hover .phone { translate: 0 -4px; } }
/* thẻ mời có ô gõ tên */
.ten { margin-top: 20px; padding: 26px 22px 22px; border-radius: var(--r-card); background: #fff; }
.ten-k { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.ten h3 { margin-top: 6px; font-size: 28px; }
.ten-mo { margin-top: 8px; color: var(--slate); }
.ten-o { display: flex; align-items: center; min-height: 52px; margin-top: 16px; padding: 0 16px; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px #86868b; /* viền ô nhập từ 3:1 trên nền trắng */ font-size: 17px; cursor: text; }
.ten-o:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.ten-o input { flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; outline: 0; background: none; font: inherit; letter-spacing: inherit; color: var(--ink); text-align: right; } /* chữ 17px: iPhone không tự phóng to khi chạm ô */
.ten-o input::placeholder { color: var(--slate); opacity: 1; }
.ten-o b { flex: none; font-weight: 600; }
.ten-tin { margin-top: 12px; color: var(--slate); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; } /* chạm giữ là chọn trọn tin, phòng khi trình duyệt không cho chép */
.ten-tin b { color: var(--ink); font-weight: 600; }
.ten .btn { width: 100%; min-height: 52px; margin-top: 14px; }
.ten-ghi { margin-top: 10px; color: var(--slate); font-size: 13px; text-align: center; }

/* ---------- trang chủ: thẻ xem trước khi gửi link ---------- */
.dim { color: var(--slate); }
.share h2 { margin-top: 8px; }
.share-grid { display: grid; gap: 48px; align-items: center; margin-top: 56px; }
.share-grid h3 { font-size: clamp(24px, 2.8vw, 32px); }
.ticks { margin-top: 28px; border-top: 1px solid var(--hair); }
.ticks li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-weight: 600; }
.ticks span { color: var(--launch); font-weight: 700; }
.share-ph { display: grid; justify-items: center; }
.share-ph .phone { --w: clamp(220px, 60vw, 300px); }
/* ảnh chat phóng 1,3 lần, neo góc phải-dưới: thẻ xem trước (tin đã gửi, nằm bên phải) đủ to để đọc */
.shot { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; background: var(--zalo-bg); transition: opacity .45s var(--ease); }
.shot img { flex: none; width: 130%; max-width: none; }
.cm { background: var(--mess-bg); opacity: 0; }
.share:has([value="mess"]:checked) .cm { opacity: 1; }
.cards-k { margin-top: 48px; color: var(--slate); font-weight: 600; }
/* cặp "ảnh bìa → thẻ hiện trong Zalo" */
.doi { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; max-width: 640px; margin-top: 20px; }
.doi img { width: 100%; border-radius: 22px; }
.doi figcaption { margin-top: 10px; color: var(--slate); font-size: 14px; text-align: center; }
.doi > span { color: var(--slate); font-size: 28px; }

/* ---------- trang chủ: 4 bước ---------- */
.steps { display: grid; gap: 40px; margin-top: 56px; align-items: center; }
.steps-list { display: flex; flex-direction: column; gap: 6px; }
.step {
  position: relative; display: grid; grid-template-columns: 34px 1fr; padding: 18px 20px;
  border-radius: 22px; cursor: pointer; transition: background .3s;
}
.step input { position: absolute; opacity: 0; pointer-events: none; }
.step:has(input:checked) { background: var(--mist); }
.step:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.step-n { padding-top: 3px; font-size: 14px; font-weight: 600; color: var(--slate); }
.step-n i { display: none; font-style: normal; } /* nhãn ngắn của nút bước, chỉ hiện trên điện thoại */
.step-t { font-size: 21px; font-weight: 600; line-height: 1.3; }
/* mở/đóng bằng hàng lưới 0fr→1fr: chiều cao thật, mở bước này đóng bước kia cùng nhịp ⇒ khối không giật */
.step-d { grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0; color: var(--slate); transition: grid-template-rows .45s var(--ease), opacity .3s, margin-top .45s var(--ease); }
.step-d > span { overflow: hidden; min-height: 0; }
.step:has(input:checked) .step-d { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
.step:not(:has(input:checked)) .step-d a { visibility: hidden; } /* link trong mô tả đang gập không nhận phím Tab */
.step-bar { grid-column: 2; display: none; height: 3px; margin-top: 14px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.step-bar::after { content: ""; display: block; width: 0; height: 100%; background: var(--ink); }
.steps.in:not(.user) .step:has(input:checked) .step-bar { display: block; }
.steps.in:not(.user) .step:has(input:checked) .step-bar::after { animation: fill 5.5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.steps-ph { display: grid; justify-items: center; }
.steps-ph .phone { --w: clamp(230px, 62vw, 320px); }
.scr { position: absolute; inset: 0; opacity: 0; scale: .96; transition: opacity .5s var(--ease), scale .5s var(--ease); }
.scr > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.steps:has([value="1"]:checked) .s1,
.steps:has([value="2"]:checked) .s2,
.steps:has([value="3"]:checked) .s3,
.steps:has([value="4"]:checked) .s4 { opacity: 1; scale: 1; }
/* trình duyệt cũ không hiểu :has(): màn 1 không trắng, mở sẵn 4 mô tả bước, giấu các ô chọn không chạy được */
@supports not selector(:has(*)) { .s1 { opacity: 1; scale: 1; } .step-d { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; } .seg, .chips { display: none !important; } } /* !important: luật display của .seg, .chips nằm phía sau trong file */
/* màn 1: tin nhắn */
.chat { display: flex; flex-direction: column; gap: 9px; padding: calc(var(--w) * .36) 12px 12px; background: #eef1f5; font-size: 13px; line-height: 1.35; letter-spacing: 0; }
.chat-top { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: calc(var(--w) * .19) 14px 10px; background: #fff; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ctl); }
.chat-top img { width: 28px; height: 28px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 16px; background: #fff; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; }
.msg.pics { display: flex; gap: 4px; padding: 0; background: none; }
.msg.pics span { width: 62px; height: 82px; border-radius: 12px; background: var(--hair); }
.msg.pics span + span { background: var(--ctl); }
/* màn 2: đang dựng */
.sk { display: flex; flex-direction: column; gap: 10px; padding: calc(var(--w) * .2) 14px 14px; background: #f3efe9; }
.sk i { display: block; border-radius: 12px; background: #e3d9ca; }
.sk .a { height: 44%; border-radius: 18px; }
.sk .b { height: 22px; width: 72%; }
.sk .c { height: 14px; width: 46%; }
.sk .d { display: flex; gap: 8px; background: none; }
.sk .d::before, .sk .d::after { content: ""; flex: 1; height: 38px; border-radius: 99px; background: #e3d9ca; }
.sk .d::before { background: var(--t-hang); }
.sk .e { flex: 1; }
.swatch { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; box-shadow: 0 6px 20px rgb(0 0 0 / .12); }
.swatch b { width: 16px; height: 16px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
/* màn 3–4: nhãn nổi */
.tag, .url { position: absolute; left: 50%; translate: -50% 0; top: calc(var(--w) * .19); padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.tag { background: rgb(29 29 31 / .82); color: #fff; }
.url { display: flex; align-items: center; gap: 5px; background: rgb(255 255 255 / .92); color: var(--ink); box-shadow: 0 4px 14px rgb(0 0 0 / .12); }
.url svg { width: 12px; height: 12px; stroke-width: 2.4; }
.note { position: absolute; left: 12px; right: 12px; padding: 10px 12px; border-radius: 16px; background: #fff; font-size: 13px; line-height: 1.35; letter-spacing: 0; box-shadow: 0 8px 24px rgb(0 0 0 / .14); }
.note.n1 { bottom: 74px; }
.note.n2 { bottom: 18px; left: auto; width: max-content; max-width: 78%; background: var(--blue); color: #fff; }
.toast { position: absolute; left: 12px; right: 12px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgb(29 29 31 / .9); color: #fff; font-size: 13px; letter-spacing: 0; }
.toast i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ok); font-style: normal; font-weight: 700; }
.toast small { display: block; color: var(--night-slate); font-size: 12px; }

/* ---------- trang chủ: dải đen thông số ---------- */
.specs { display: grid; gap: 36px 24px; margin-top: 64px; }
.specs li { border-top: 1px solid #333336; padding-top: 22px; }
.specs b { display: block; font-size: clamp(48px, 6.4vw, 80px); line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.specs span { display: block; margin-top: 12px; color: var(--night-slate); }
/* dải tên kênh: mặc định là danh sách tĩnh; máy hỗ trợ thì trượt theo ngón tay cuộn (ý từ marquee của Magic UI, viết lại; không tự chạy nên không cần nút dừng) */
.kenh { container-type: inline-size; overflow-x: clip; margin-top: 56px; font-size: clamp(28px, 6vw, 44px); font-weight: 600; letter-spacing: -.01em; color: var(--night-slate); }
.kenh ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; white-space: nowrap; }
@keyframes kenh { to { transform: translateX(calc(100cqw - 100%)); } }

/* ---------- trang chủ: lưới tính năng ---------- */
.bento { display: grid; gap: var(--gap); margin-top: 56px; }
.bcard { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: var(--r-card); background: #fff; }
.bcard h3 { font-size: 24px; }
.bcard p { color: var(--slate); }
.bcard svg.i { width: 40px; height: 40px; margin-bottom: 14px; }
.bcard .goi { margin-top: auto; padding-top: 8px; color: var(--launch); font-size: 13px; font-weight: 600; } /* nhãn quyền lợi của gói, khớp Bảng giá */
.bento-big .goi { margin-top: 16px; }
.bento-big { grid-column: 1 / -1; display: grid; gap: 32px; align-items: center; overflow: hidden; min-height: 0; }
.bento-big h3 { margin-top: 0; font-size: clamp(28px, 3.4vw, 40px); }
.minis { display: flex; justify-content: center; }
.minis .phone { --w: clamp(110px, 26vw, 170px); margin-inline: calc(var(--w) * -.08); }
.minis .phone:nth-child(2) { z-index: 2; translate: 0 -8%; }

/* ---------- hỏi đáp ---------- */
.faq { max-width: 840px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 30px; font-weight: 300; line-height: 1; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { max-width: 700px; padding-bottom: 26px; color: var(--slate); }
.faq-them { max-width: 840px; margin: 8px auto 0; }

/* ---------- lời mời cuối ---------- */
.cta h2 { font-size: clamp(40px, 7vw, 80px); }
.contact-line { margin-top: 20px; color: var(--slate); font-size: 14px; }
.contact-line a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- thanh "Nhắn Zalo" dưới đáy (chỉ điện thoại) ---------- */
.dock { display: none; }
@media (max-width: 733px) {
  .dock {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 22px;
    background: rgb(255 255 255 / .86);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 10px 30px rgb(0 0 0 / .14), inset 0 0 0 1px rgb(0 0 0 / .06);
    translate: 0 calc(100% + 24px); visibility: hidden;
    transition: translate .4s var(--ease), visibility .4s;
  }
  .dock.hien { translate: 0 0; visibility: visible; }
  .dock p { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
  .dock p span { color: var(--slate); }
  .dock .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
}

/* ---------- chân trang ---------- */
.foot { overflow: hidden; background: var(--mist); color: var(--slate); font-size: 12px; line-height: 1.4; padding-top: 28px; border-top: 1px solid var(--hair); }
/* chữ thương hiệu cỡ lớn, mép trang cắt nửa dưới (ý từ superdesign "wordmark cropped by the page edge") */
.wordmark {
  height: .6em; margin-top: 28px; overflow: hidden;
  font-size: clamp(72px, 21vw, 300px); font-weight: 700; line-height: .82; letter-spacing: -.05em;
  text-align: center; white-space: nowrap; color: var(--brand); user-select: none;
}
.foot-note { padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 8px; }
.foot nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.foot nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); font-size: 14px; }

/* ---------- trang Giao diện ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 104px); text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 4px 16px; margin-top: 40px; } /* xuống hàng, không cuộn ngang: nút lọc nào cũng thấy */
.chip { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--ctl); font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.gd-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 40px; }
/* data-n là danh sách nhóm cách nhau dấu cách (một mẫu có thể thuộc 2 nhóm), nên so bằng ~= */
.gd:has(#f-tt:checked) .gcard:not([data-n~="tt"], .khac),
.gd:has(#f-nd:checked) .gcard:not([data-n~="nd"], .khac),
.gd:has(#f-dv:checked) .gcard:not([data-n~="dv"], .khac),
.gd:has(#f-cn:checked) .gcard:not([data-n~="cn"], .khac) { display: none; }
.gcard { display: flex; flex-direction: column; align-items: center; padding: 40px 28px 30px; border-radius: var(--r-card); background: var(--mist); text-align: center; animation: pop .45s var(--ease) both; }
.gcard .phone { --w: min(240px, 64vw); transition: translate .5s var(--ease); }
@media (hover: hover) { .gcard:hover .phone { translate: 0 -10px; } }
.gcard .nganh { margin-top: 32px; color: var(--launch); font-size: 14px; font-weight: 600; }
.gcard h2 { margin-top: 4px; font-size: 28px; }
.gcard .mo { margin-top: 8px; color: var(--slate); }
.gcard .co { margin-top: 10px; font-size: 14px; color: var(--slate); }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.gcard { scroll-margin-top: calc(var(--nav-h) + 16px); } /* tới từ lưới thu nhỏ ở trang chủ (#m-<ma>): thẻ không chui dưới thanh trên */
.gcard:target { box-shadow: inset 0 0 0 2px var(--ink); }
.gcard .phi { margin-top: auto; padding-top: 20px; color: var(--slate); font-size: 15px; } /* phí giao diện, số lấy từ du-lieu-giao-dien.js */
.gcard .phi b { color: var(--ink); font-size: 17px; }
.gcard .ctas { margin-top: auto; padding-top: 22px; gap: 4px 20px; }
.gcard .phi + .ctas { margin-top: 0; padding-top: 8px; }
.gcard .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.gcard .lnk { font-size: 15px; }
.khac { justify-content: center; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }
.khac-plus { font-size: 120px; font-weight: 200; line-height: .8; color: var(--brand); }
.khac .ctas { margin-top: 8px; }
/* Ô "Ngành khác" luôn khép kín hàng cuối dù có bao nhiêu mẫu: lưới 2 cột (dưới 1032px) và 3 cột (từ 1032px). */
@media (max-width: 1031px) { .khac:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1032px) { .khac:nth-child(3n+1) { grid-column: 1 / -1; } .khac:nth-child(3n+2) { grid-column: span 2; } }
/* Điện thoại: trang Giao diện là danh mục để lướt và so mẫu, nên xếp 2 cột, mỗi màn thấy 4 mẫu.
   Ảnh màn hình dẫn đầu, tên và phí đi kèm, một nút chính; mô tả dài, tên tab và chấm màu chỉ hiện từ 734px. */
@media (max-width: 733px) {
  .gd-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .gcard { padding: 14px 10px 6px; border-radius: 22px; }
  .gcard .phone { --w: 36vw; }
  .gcard .nganh { margin-top: 14px; font-size: 13px; line-height: 1.3; }
  .gcard h2 { margin-top: 2px; font-size: 19px; }
  .gcard:not(.khac) .mo, .gcard :is(.co, .dots, .phi span) { display: none; }
  .gcard .phi { padding-top: 6px; font-size: 13px; }
  .gcard .phi b { font-size: 15px; }
  .gcard .ctas, .gcard .phi + .ctas { flex-direction: column; align-items: stretch; align-self: stretch; gap: 0; padding-top: 8px; }
  .gcard .btn { padding: 0 8px; }
  .gcard .lnk { justify-content: center; font-size: 14px; }
  .khac { padding: 18px 12px 14px; }
  .khac-plus { font-size: 64px; }
  .khac .mo { font-size: 14px; line-height: 1.4; }
}
@media (max-width: 379px) { .gcard .phi b { display: block; } } /* máy hẹp: số tiền một dòng, "thu một lần" một dòng, khỏi gãy giữa chừng */
.count { margin-top: 18px; color: var(--slate); font-size: 14px; }

/* ---------- trang Bảng giá ---------- */
.seg { display: inline-flex; gap: 4px; padding: 4px; margin-top: 36px; border-radius: var(--r-pill); background: var(--ctl); }
.seg label { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-size: 15px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .12); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
/* viên trắng trượt sang nhãn vừa chọn (ý từ Fluid Tabs của Animata, viết lại): app.js đo nhãn rồi ghi --x, --w và bật lớp "truot"; không có JS thì ô chọn như cũ */
.seg { position: relative; isolation: isolate; }
.seg.truot::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; width: var(--w); translate: var(--x) 0; border-radius: var(--r-pill); background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .12); transition: translate .28s var(--ease), width .28s var(--ease); }
.seg.truot label:has(input:checked) { background: none; box-shadow: none; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 28px; border-radius: var(--r-card); background: var(--mist); }
.plan-n { font-size: 28px; }
.plan-d { color: var(--slate); min-height: 3em; }
.price { margin-top: 8px; font-size: clamp(40px, 4.6vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.price small { font-size: 17px; font-weight: 400; letter-spacing: -.02em; color: var(--slate); }
.plan .btn { margin-top: 8px; }
.feat { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--hair); }
.feat li { display: flex; gap: 10px; }
.feat li::before { content: "✓"; content: "✓" / ""; flex: none; color: var(--blue); font-weight: 600; }

/* ---------- trang Chính sách ---------- */
.cs { padding-block: clamp(40px, 6vw, 80px) var(--sec); }
.cs .wrap { max-width: 760px; overflow-wrap: anywhere; } /* địa chỉ web dài không đẩy trang rộng hơn màn */
.cs h1 { font-size: clamp(36px, 6vw, 56px); }
.cs h2 { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: clamp(26px, 3.4vw, 34px); }
.cs h3 { margin-top: 32px; font-size: 21px; }
.cs :is(h2, h3, .ml) { scroll-margin-top: calc(var(--nav-h) + 16px); } /* nhảy neo không chui dưới thanh trên */
.cs p, .cs ul, .cs ol { margin-top: 12px; }
.cs ul, .cs ol { padding-left: 1.25em; list-style: disc; }
.cs ol { list-style: decimal; }
.cs li + li { margin-top: 8px; }
.cs code { font: inherit; font-weight: 600; }
.ml, .tt { margin-top: 24px; padding: 20px 22px; border-radius: 22px; background: var(--mist); }
.ml-k, .tt-k { margin-top: 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--launch); }
.ml ul { list-style: none; padding-left: 0; }
.ml a { display: block; padding-block: 11px; } /* vùng bấm cao từ 44px */
.cs a[href="#muc-luc"], .cs ul a:not([href^="#"]) { display: inline-flex; align-items: center; min-height: 44px; } /* link Zalo, email: vùng bấm cao từ 44px */

/* ---------- chuyển động (chỉ khi máy cho phép) ---------- */
@keyframes pop { from { opacity: 0; translate: 0 14px; } }
@keyframes ink { from { color: var(--slate); } }
@keyframes blurin { from { opacity: 0; filter: blur(14px); translate: 0 .2em; } }
@keyframes rv { from { opacity: 0; translate: 0 48px; } }
@keyframes pulse { 50% { opacity: .55; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .dung-nut:not([hidden]) { display: inline-flex; }
  .rot > span { animation: word 17.5s var(--ease) calc(var(--i) * 2.5s) infinite backwards; }
  /* tiêu đề lớn hiện từ mờ, 1 lần khi mở trang */
  .hero h1, .page-hero h1 { animation: blurin .9s var(--ease) both; }
  .hero .lead, .page-hero .lead { animation: blurin .9s var(--ease) .12s both; }
  .hero .ctas { animation: blurin .9s var(--ease) .24s both; }
  .steps:has([value="1"]:checked) .s1 .msg { animation: pop .45s var(--ease) both; animation-delay: calc(var(--i) * .55s + .25s); }
  /* màn bước 2–4: chỉ chạy khi bước đó đang hiện (trước đây chạy lúc không ai thấy; bộ chọn ".s2 .sk i" còn không khớp) */
  .steps:has([value="2"]:checked) .s2 i { animation: pulse 1.4s ease-in-out 3; }
  .steps:has([value="3"]:checked) .s3 .note, .steps:has([value="4"]:checked) .s4 .toast { animation: pop .5s var(--ease) both .6s; }
  .steps:has([value="3"]:checked) .s3 .n2 { animation-delay: 1.4s; }
  .price > span { transition: opacity .32s var(--ease), translate .32s var(--ease); }
  @starting-style { .price > span { opacity: 0; translate: 0 .3em; } }
  details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  details[open]::details-content { block-size: auto; }

  @supports (animation-timeline: scroll()) {
    .fan .p-l { animation: fanL linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .fan .p-r { animation: fanR linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .fan .p-c { animation: fanC linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .fan .p-c .screen img { animation: cuon linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .kenh ul { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-inline: 16px; animation: kenh linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .say span { animation: ink linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .fan, .gcard { animation: none; }
  .tam .phone, .gcard .phone { transition: none; }
  .rot > span:first-child { opacity: 0; }
  .rot > span:last-child { opacity: 1; } /* đứng yên thì hiện "mọi nghề." — đúng thông điệp nhất */
  .dock, .txt > div, .story .screen img, .seg.truot::before { transition: none; }
  .step-bar { display: none !important; } /* không thanh chạy ⇒ không tự chuyển bước */
}
/* đã bấm "Tạm dừng": chữ đổi vòng đứng ở "mọi nghề.", 4 bước thôi tự chuyển */
.dung .rot > span { animation: none; opacity: 0; }
.dung .rot > span:last-child { opacity: 1; }
.dung .step-bar { display: none !important; }

/* ---------- màn rộng ---------- */
@media (min-width: 734px) {
  .specs { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > :last-child { grid-column: span 2; } /* 5 ô nhỏ: ô cuối lấp chỗ trống ở cả lưới 2 và 3 cột */
  .bcard { min-height: 260px; }
  .ten { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: center; padding: 36px 40px; }
  .tam ul { grid-template-columns: repeat(9, 1fr); }
  .tam .phone { --w: clamp(60px, 8.4vw, 98px); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 64px; }
  .share-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  /* thẻ trang mẫu: hai cột như poster — chữ và danh sách tab bên trái, điện thoại bên phải */
  .k-the { grid-template-columns: 1fr 1.1fr; column-gap: 48px; padding: 36px 48px 0; }
  .mast { grid-column: 1 / -1; font-size: 15px; padding-bottom: 16px; }
  .txt { grid-column: 1; align-self: start; margin-top: 48px; }
  .kick { font-size: 14px; }
  .txt p { font-size: 21px; }
  .tabs { grid-column: 1; align-self: end; flex-direction: column; width: 320px; margin-bottom: 48px; }
  .tabs label { justify-content: flex-start; padding-inline: 12px; font-size: 19px; min-height: 52px; }
  .ph { grid-column: 2; grid-row: 2 / span 2; height: auto; padding: 36px 0 48px; overflow: visible; }
  .k .phone { --w: 300px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-big { grid-template-columns: 1fr 1.1fr; padding: 48px; }
}
/* ---------- điện thoại ---------- */
@media (max-width: 733px) {
  body:has(.dock.hien) .nav-cta { visibility: hidden; } /* một nút Zalo dính: thanh đáy hiện thì viên trên thanh trên ẩn, vẫn giữ chỗ */
  .chi-rong { display: none; }        /* nửa sau câu dẫn chỉ hiện ở màn rộng */
  .say { display: none; }             /* đoạn chữ sáng dần: chỉ giữ ở màn rộng */
  /* 4 bước: điện thoại ở trên, 4 nút bước một hàng, 1 ô mô tả (4 mô tả chồng cùng một ô ⇒ khối cao cố định, không giật khi tự chuyển) */
  .steps { gap: 12px; margin-top: 28px; }
  .steps-ph { order: -1; }
  .steps-ph .phone { --w: 242px; scale: .8; margin-block: calc(var(--w) * -.216); }
  .steps-list { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 11px; gap: 0 6px; } /* hàng 2 luôn giữ chỗ cho thanh tiến trình: thanh hiện hay ẩn thì phía dưới không nhảy */
  .step { display: contents; }
  /* ô chọn ẩn nằm trùng đúng nút của nó: khung trỏ của trình đọc màn hình và dò bằng ngón tay khớp với nút đang thấy */
  .step input { position: static; grid-row: 1; width: 100%; height: 52px; margin: 0; }
  .step:nth-child(1) :is(input, .step-n) { grid-column: 1; }
  .step:nth-child(2) :is(input, .step-n) { grid-column: 2; }
  .step:nth-child(3) :is(input, .step-n) { grid-column: 3; }
  .step:nth-child(4) :is(input, .step-n) { grid-column: 4; }
  .step-n { grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 0 2px; border-radius: 14px; background: var(--ctl); color: var(--ink); font-size: 13px; line-height: 1.2; cursor: pointer; transition: background .3s, color .3s; }
  .step-n i { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .step:has(input:checked) .step-n { background: var(--ink); color: #fff; }
  .step:has(input:focus-visible) .step-n { outline: 2px solid var(--blue); outline-offset: 2px; }
  .step-bar { grid-area: 2 / 1 / 3 / -1; align-self: end; margin-top: 0; }
  .step-t { grid-area: 3 / 1 / 4 / -1; margin-top: 16px; }
  .step-d { grid-area: 4 / 1 / 5 / -1; grid-template-rows: 1fr; margin-top: 6px; }
  .step .step-t, .step .step-d { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .step:has(input:checked) .step-t, .step:has(input:checked) .step-d { opacity: 1; visibility: visible; }
  @supports not selector(:has(*)) { .steps-list { display: flex; } .step { display: grid; } .step input { position: absolute; } .step:nth-child(n) .step-n { grid-column: auto; } .step-n i { display: none; } .step-n { display: block; min-height: 0; background: none; } .step .step-t, .step .step-d { opacity: 1; visibility: visible; grid-area: auto; grid-column: 2; } .step-bar { display: none; } }
  .minis { display: none; }           /* 3 điện thoại mini lặp lại 3 màn đã thấy */
  .bento { gap: 10px; }
  .bcard:not(.bento-big) { display: grid; grid-template-columns: 30px 1fr; gap: 4px 14px; padding: 20px; border-radius: 22px; }
  .bcard:not(.bento-big) svg.i { grid-row: 1 / span 3; width: 28px; height: 28px; margin: 0; }
  .bcard:not(.bento-big) h3 { font-size: 19px; line-height: 1.25; }
  .bcard:not(.bento-big) .goi { padding-top: 2px; }
}
@media (max-width: 733px) and (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead { animation: pop .45s var(--ease) both; } /* điện thoại: không nhoè (blur nặng máy yếu), hàng nút hiện ngay */
  .hero .ctas { animation: none; }
}
@media (max-width: 480px) {
  .hero .btn, .cta .btn { flex: 1 0 100%; min-height: 52px; } /* nút chính rộng hết hàng, vừa ngón cái */
  .hero .ctas { row-gap: 4px; }
}
@media (max-width: 420px) { .who label { flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 8px 4px; border-radius: 20px; text-align: center; font-size: 13px; } }
@media (max-width: 400px) {
  .chip { padding: 0 14px; font-size: 14px; } /* 5 nút lọc gọn trong 2 hàng ở 360px */
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 13px; }
  .step { padding: 16px 14px; grid-template-columns: 28px 1fr; }
}
@media (max-width: 480px) { .logo { font-size: 17px; gap: 6px; } .logo img { width: 34px; height: 34px; } } /* điện thoại: chừa khe giữa tên và mục đầu, kể cả font Android rộng hơn */
@media (max-width: 380px) { .logo span { display: none; } .logo { min-width: 44px; justify-content: center; } .logo img { width: 40px; height: 40px; } /* máy hẹp: chỉ còn dấu logo, to hơn */ .nav nav { gap: 10px; } .nav nav .nav-cta span { padding: 6px 11px; } }
