/* Trang Anh Khôi Group · bố cục quanh các thẻ Lucian UX/UI Prompt (MIT, (c) 2026 Seokwoooo).
   Màu và chữ của từng thẻ do tokens.css (--ux-*) quyết định; file này chỉ lo bố cục trang. */
:root { --btn-grad: linear-gradient(120deg, #5b45e8, #2f6fe0); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ux-page); color: var(--ux-ink); overflow-x: clip;
  font: 400 16px/1.65 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ux { font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 3px; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ux-ink); color: var(--ux-page); }
.skip:focus { left: 12px; }

/* ---------- đầu trang ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ux-page) 74%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--ux-line);
}
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ux-ink); text-decoration: none; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--btn-grad); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 900; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { padding: 8px 13px; border-radius: 999px; color: var(--ux-ink-2); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: var(--ux-surface-2); color: var(--ux-ink); }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--ux-surface); box-shadow: inset 0 0 0 1px var(--ux-line); color: var(--ux-ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--ux-accent); }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }

.btn-grad, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ux-spring), box-shadow 0.25s;
}
.btn-grad { background: var(--btn-grad); color: #fff; box-shadow: 0 12px 28px -14px #5b45e8; }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px #5b45e8; }
.btn-ghost { background: rgba(255, 255, 255, 0.07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- hero (nền lưới Lucian #226) ---------- */
.hero { position: relative; }
.hero-in {
  position: relative; z-index: 2; width: min(100% - 32px, 1120px); margin-inline: auto; padding: 72px 0 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center;
}
.hero-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: #c7d2fe; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; }
.hero-h {
  margin-top: 20px; padding-bottom: 0.1em; font-size: clamp(34px, 5.4vw, 66px); line-height: 1.1; font-weight: 900; letter-spacing: -0.04em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 25%, #aeb4d6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-p { margin-top: 20px; max-width: 520px; color: #b9bfd9; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-slot { justify-self: center; }

/* ---------- khối chung ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-tight { padding: 0 0 clamp(40px, 6vw, 72px); }
.sec-head { max-width: 700px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.sec-head p { margin-top: 14px; color: var(--ux-ink-2); font-size: 17px; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: var(--ux-accent-soft); color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 28px; }
.slot { flex: none; width: var(--w, 340px); }
.slot figcaption { margin: 16px auto 0; max-width: var(--w, 340px); text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--ux-ink-2); }
.slot figcaption b { display: block; margin-bottom: 2px; color: var(--ux-ink); font-size: 15px; font-weight: 700; }

.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(44px, 6vw, 80px); }
.svc-list li { position: relative; padding-top: 18px; border-top: 2px solid var(--ux-line-2); }
.svc-list li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--btn-grad); }
.svc-list b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.svc-list p { margin-top: 8px; color: var(--ux-ink-2); font-size: 15px; }

/* ---------- tích xanh ---------- */
.tx { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.tx-copy p { margin-top: 14px; color: var(--ux-ink-2); font-size: 17px; }
.dd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.dd { padding: 22px; border-radius: 24px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 24px 48px -36px var(--ux-shadow-strong); }
.dd h3 { margin-bottom: 4px; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.dd li { position: relative; margin-top: 10px; padding-left: 26px; color: var(--ux-ink-2); font-size: 14.5px; }
.dd li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.dd-yes li::before { content: "✓"; color: var(--ux-mint); }
.dd-no li::before { content: "✕"; color: var(--ux-danger); }

/* ---------- quy trình ---------- */
.qt { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { margin-top: 30px; counter-reset: st; }
.steps li { position: relative; padding: 0 0 24px 58px; counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 13px; background: var(--btn-grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--ux-line-2); }
.steps b { display: block; padding-top: 6px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { margin-top: 2px; color: var(--ux-ink-2); font-size: 15px; }

/* ---------- hỏi đáp (Lucian #044, chỉnh cho vừa chiều rộng trang) ---------- */
.faq { max-width: 720px; }
.faq .u044 { width: 100%; height: auto; }
.faq .u044-q { min-height: 64px; font-size: 16px; }
.faq .u044-a p { font-size: 15px; }

/* ---------- liên hệ ---------- */
.lh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.lh-copy p { margin-top: 14px; max-width: 480px; color: var(--ux-ink-2); font-size: 17px; }
.lh-copy .slot { margin-top: 36px; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.channels[hidden] { display: none; }
.channels a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ux-surface); box-shadow: inset 0 0 0 1px var(--ux-line-2); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.channels a:hover { box-shadow: inset 0 0 0 1.5px var(--ux-accent); }

/* ---------- chân trang ---------- */
.footer { border-top: 1px solid var(--ux-line); padding: 36px 0 44px; }
.foot-in { display: grid; gap: 10px; }
.foot-line { color: var(--ux-ink-2); font-size: 14px; }
.foot-line b { color: var(--ux-ink); }
.foot-legal { max-width: 720px; color: var(--ux-ink-2); font-size: 12.5px; }
.foot-top { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- hiện dần ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ux-ease), transform 0.7s var(--ux-ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- co giãn ---------- */
.menu-btn, .nav-m { display: none; }
/* Menu đầy đủ (7 mục) cần khoảng 1200px; hẹp hơn thì gom vào nút ☰ */
@media (max-width: 1200px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 10px 16px 18px;
    flex-direction: column; gap: 2px; background: var(--ux-page); border-bottom: 1px solid var(--ux-line);
    box-shadow: 0 24px 40px -28px var(--ux-shadow-strong);
  }
  .site-head.is-menu .nav { display: flex; }
  .nav a, .nav .nav-m { display: block; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
}
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 56px 0 72px; }
  .tx, .qt, .lh { grid-template-columns: minmax(0, 1fr); }
  .tx > .reveal:first-child, .qt > .reveal:last-child, .lh > .reveal:last-child { display: flex; justify-content: center; }
  .qt > .reveal:last-child { order: 2; }
  .lh-copy .slot { margin-inline: auto; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-list, .dd-cols { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn-grad, .hero-cta .btn-ghost { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nội dung mở rộng ---------- */
.hero-points { display: grid; gap: 8px; margin-top: 28px; color: #b9bfd9; font-size: 14.5px; }
.hero-points li { position: relative; padding-left: 24px; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: #8fe3c0; font-weight: 900; }
.sub-h { margin: clamp(48px, 6vw, 72px) 0 24px; text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.sub-h-left { text-align: left; margin: 0; }
.muted { margin-top: 8px; color: var(--ux-ink-2); font-size: 15px; }
.notice { margin-top: 28px; padding: 16px 20px; border-radius: 18px; background: var(--ux-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ux-accent) 24%, transparent); color: var(--ux-ink); font-size: 15px; }

.svc-stack { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.svc-d { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -44px var(--ux-shadow-strong); }
.svc-d-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--ux-accent-soft); color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 13px; font-weight: 700; }
.svc-d h3 { margin: 14px 0 6px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; }
.svc-d-main p { margin-top: 12px; color: var(--ux-ink-2); font-size: 16px; }
.svc-d-main .svc-d-how { padding: 12px 16px; border-radius: 14px; background: var(--ux-surface-2); font-size: 14.5px; }
.svc-d-how b { color: var(--ux-ink); }
.svc-d-main .btn-sm { margin-top: 22px; }
.svc-d-lists { display: grid; gap: 24px; align-content: start; }
.svc-d-lists h4 { margin: 0 0 2px; color: var(--ux-ink-2); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.svc-d-lists li, .factors li { position: relative; margin-top: 10px; padding-left: 26px; color: var(--ux-ink-2); font-size: 15px; }
.svc-d-lists li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ux-mint); font-weight: 900; }
.factors { margin-top: 18px; }
.factors li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--btn-grad); }

.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use-grid li { padding: 22px; border-radius: 22px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); }
.use-grid b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.use-grid p { margin-top: 8px; color: var(--ux-ink-2); font-size: 14.5px; }

.tx2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.ck { padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -44px var(--ux-shadow-strong); }
.ck h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.ck ul { margin: 14px 0 18px; }
.ck-item { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 0; cursor: pointer; font-size: 15px; color: var(--ux-ink); }
.ck-item input { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.ck-box { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--ux-line-2); transition: background-color 0.2s, box-shadow 0.2s; }
.ck-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s var(--ux-ease); }
.ck-item input:checked + .ck-box { background: var(--btn-grad); box-shadow: none; }
.ck-item input:checked + .ck-box::after { transform: rotate(45deg) scale(1); }
.ck-item input:focus-visible + .ck-box { outline: 2px solid var(--ux-accent); outline-offset: 2px; }
.ck-bar { height: 8px; border-radius: 99px; background: var(--ux-surface-3); overflow: hidden; }
.ck-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--btn-grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.4s var(--ux-ease); }
.ck-res { margin: 12px 0 18px; font-size: 15px; color: var(--ux-ink-2); }
.ck-res b { color: var(--ux-ink); font-variant-numeric: tabular-nums; }

.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.aud-c { display: flex; flex-direction: column; padding: 28px; border-radius: 26px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -48px var(--ux-shadow-strong); }
.aud-c h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.aud-c p { margin-top: 10px; color: var(--ux-ink-2); font-size: 15.5px; }
.aud-c .aud-pick { margin-top: auto; padding-top: 18px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 14px; font-weight: 700; }

.pkg { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pkg-c { display: flex; flex-direction: column; padding: 26px; border-radius: 26px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); transition: transform 0.35s var(--ux-ease), box-shadow 0.35s; }
.pkg-c:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ux-accent) 55%, transparent), 0 24px 44px -28px var(--ux-accent); }
.pkg-c h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.pkg-c > p { margin: 8px 0 14px; color: var(--ux-ink-2); font-size: 15px; }
.pkg-c li { position: relative; margin-top: 8px; padding-left: 24px; font-size: 14.5px; color: var(--ux-ink); }
.pkg-c li::before { content: "✓"; position: absolute; left: 0; color: var(--ux-mint); font-weight: 900; }
.link-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding-top: 14px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

.step-get { margin-top: 4px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 13.5px; font-weight: 600; }
.step-get::before { content: "→ "; }
.prin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.prin li { padding-top: 16px; border-top: 2px solid var(--ux-line-2); }
.prin-n { display: block; margin-bottom: 4px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font: 700 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.prin b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.prin p { margin-top: 6px; color: var(--ux-ink-2); font-size: 15px; }

.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy p { margin-top: 16px; color: var(--ux-ink-2); font-size: 17px; max-width: 560px; }
.about-tags li { padding: 10px 0; border-bottom: 1px solid var(--ux-line-2); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; font-weight: 900; letter-spacing: -0.04em; }
.about-tags li:nth-child(odd) { color: var(--ux-ink); }
.about-tags li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ux-ink-2); }

.lh-h { margin-top: 26px; font-size: 15px; font-weight: 800; }
.lh-list { margin-top: 8px; }
.lh-list li { position: relative; margin-top: 6px; padding-left: 22px; color: var(--ux-ink-2); font-size: 15px; }
.lh-list li::before { content: ""; position: absolute; left: 3px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ux-accent); }

.svc-list { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.svc-list .link-more { margin-top: 4px; }

.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: rt; }
.route li { position: relative; padding: 22px; border-radius: 22px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); }
.route-n { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 12px; background: var(--btn-grad); color: #fff; font-weight: 800; }
.route b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.route p { margin-top: 6px; color: var(--ux-ink-2); font-size: 14.5px; }

.ind { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ind li { padding: 20px; border-radius: 20px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); }
.ind b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.ind p { margin-top: 6px; color: var(--ux-ink-2); font-size: 14.5px; }

.prep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prep-c { padding: 26px; border-radius: 24px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); }
.prep-c h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.prep-c li { position: relative; margin-top: 10px; padding-left: 24px; color: var(--ux-ink-2); font-size: 15px; }
.prep-c li::before { content: "✓"; position: absolute; left: 0; color: var(--ux-mint); font-weight: 900; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- mục AI cho doanh nghiệp (gộp ba mức) ---------- */
.choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.choose a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: 24px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); text-decoration: none; transition: transform 0.35s var(--ux-ease), box-shadow 0.35s; }
.choose a:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ux-accent) 55%, transparent), 0 24px 44px -30px var(--ux-accent); }
.choose b { font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }
.choose span { color: var(--ux-ink-2); font-size: 15px; }
.choose em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 700; font-size: 14.5px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); }

.cmp-wrap { margin-bottom: clamp(36px, 5vw, 56px); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--ux-surface); border-radius: 24px; box-shadow: 0 0 0 1px var(--ux-line); overflow: hidden; font-size: 15px; }
.cmp caption { text-align: left; padding: 0 0 12px 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ux-ink-2); caption-side: top; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ux-line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { background: var(--ux-surface-2); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.cmp tbody th { width: 120px; color: var(--ux-ink-2); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.cmp td { color: var(--ux-ink); }
.cmp td:nth-child(3) { background: color-mix(in srgb, var(--ux-accent) 6%, transparent); }

.gloss { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(40px, 5vw, 64px); }
.gloss div { padding: 18px; border-radius: 18px; background: var(--ux-accent-soft); }
.gloss dt { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--ux-ink-2); font-size: 14px; }

.ai-nav { position: sticky; top: 72px; z-index: 30; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px; margin: 0 auto clamp(32px, 4vw, 48px); width: fit-content; max-width: 100%; border-radius: 999px; background: color-mix(in srgb, var(--ux-page) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--ux-line-2); }
.ai-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--ux-ink-2); transition: background-color 0.2s, color 0.2s; }
.ai-nav a:hover { background: var(--ux-surface-2); color: var(--ux-ink); }

.lvl { scroll-margin-top: 140px; padding-top: clamp(32px, 4vw, 48px); margin-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--ux-line-2); }
.lvl:first-of-type { border-top: 0; margin-top: 0; }
.lvl-h { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.lvl-n { flex: none; display: grid; place-items: center; padding: 0 18px; height: 44px; border-radius: 999px; background: var(--btn-grad); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.lvl-h h3 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; }
.lvl-sum { margin-top: 6px; color: var(--ux-ink-2); font-size: 17px; max-width: 760px; }
.lvl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(28px, 4vw, 44px); }
.lvl-facts div { padding: 18px 20px; border-radius: 18px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); }
.lvl-facts dt { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); }
.lvl-facts dd { margin: 6px 0 0; font-size: 15.5px; color: var(--ux-ink); }
.lvl h4.sub-h { font-size: clamp(20px, 2.2vw, 26px); }

@media (max-width: 1000px) {
  .choose, .lvl-facts { grid-template-columns: minmax(0, 1fr); }
  .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp, .cmp thead, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp caption { display: block; width: 100%; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp tr { padding: 6px 0; border-bottom: 1px solid var(--ux-line-2); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp tbody th { width: auto; padding: 14px 18px 4px; border: 0; }
  .cmp td { padding: 6px 18px; border: 0; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 800; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); }
  .cmp td:nth-child(3) { background: none; }
  .lvl-h { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) { .gloss { grid-template-columns: minmax(0, 1fr); } }

.pkg-cmp { margin-top: clamp(40px, 5vw, 64px); }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.pkg-c.pkg-hl { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ux-accent) 55%, transparent), 0 24px 44px -32px var(--ux-accent); }
@media (max-width: 640px) { .vs { grid-template-columns: minmax(0, 1fr); } }
.qt-cards { display: flex; flex-wrap: wrap; gap: 32px 24px; justify-content: center; align-items: flex-start; }
.about-cards { display: flex; flex-wrap: wrap; gap: 32px 24px; justify-content: center; align-items: flex-start; }
.lh + .cards { margin-top: clamp(48px, 6vw, 80px); }
.svc-d + .sub-h { margin-top: clamp(40px, 5vw, 64px); }
.svc-stack, .tx + .sub-h { margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 1000px) {
  .route, .ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prep { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .route, .ind { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .svc-d, .tx2, .about { grid-template-columns: minmax(0, 1fr); }
  .use-grid, .aud, .prin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .use-grid, .aud, .prin { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ck-bar i, .ck-box, .ck-box::after, .pkg-c { transition: none; }
}

/* ---------- khung nhóm thẻ (stage) ---------- */
.sub-p { max-width: 640px; margin: -8px auto 28px; text-align: center; color: var(--ux-ink-2); font-size: 16px; }
.stage {
  position: relative; margin: 0 0 28px; padding: clamp(22px, 3vw, 34px) clamp(14px, 3vw, 32px) clamp(28px, 3.4vw, 40px);
  border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ux-ink) 9%, transparent) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(60% 80% at 0% 0%, var(--ux-accent-soft), transparent 70%),
    var(--ux-surface-2);
  box-shadow: 0 0 0 1px var(--ux-line);
}
.stage-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; margin: 0 auto clamp(24px, 3vw, 34px); text-align: center; }
.stage-h b { padding: 6px 16px; border-radius: 999px; background: var(--ux-ink); color: var(--ux-page); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.stage-h span { color: var(--ux-ink-2); font-size: 14.5px; }
.stage .cards { position: relative; }
.fluid-card { box-sizing: border-box; padding: 22px 20px 24px; border-radius: 28px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -36px var(--ux-shadow-strong); }
.fx-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; }
.asks { list-style: none; padding: 0; }
.ask-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--ux-accent-soft); color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 12px; font-weight: 800; vertical-align: 1px; }
@media (max-width: 1000px) { .fx-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .fx-notes { grid-template-columns: minmax(0, 1fr); }
  .stage { border-radius: 24px; padding-left: 10px; padding-right: 10px; }
}

/* ---------- bản nội dung 5: khối mới ---------- */
.sub-h-top { margin-top: 0; }
.pkg + .svc-d, .ind + .svc-d { margin-top: clamp(28px, 4vw, 48px); }
.aud-k { display: block; margin-top: 18px; color: var(--ux-ink-3, var(--ux-ink-2)); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.aud-c ul { margin-top: 8px; }
.aud-c li { position: relative; margin-top: 7px; padding-left: 18px; color: var(--ux-ink); font-size: 14.5px; line-height: 1.5; }
.aud-c li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ux-accent) 70%, var(--ux-ink)); }
.svc-num { list-style: none; padding: 0; margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 1000px) { .svc-num { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-num { grid-template-columns: minmax(0, 1fr); } }
.svc-n { display: block; margin-bottom: 6px; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font: 700 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.svc-cards { margin-top: clamp(48px, 6vw, 80px); }
.about-pts { display: grid; gap: 14px; margin-top: 26px; }
.about-pts li { padding: 16px 18px; border-radius: 18px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line); }
.about-pts b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.about-pts span { display: block; margin-top: 4px; color: var(--ux-ink-2); font-size: 14.5px; }
.about-tags-row { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: clamp(40px, 6vw, 72px); }
.about-tags-row li { border-bottom: 0; padding: 4px 0; font-size: clamp(28px, 4.2vw, 50px); }
.hand { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.hand .fx-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.hand .cards { margin: 0; }
/* chân trang */
.footer { padding: clamp(48px, 7vw, 72px) 0 32px; background: var(--ux-surface-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 14px; max-width: 340px; color: var(--ux-ink-2); font-size: 14.5px; }
.foot-col h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.02em; }
.foot-col ul { margin-top: 12px; display: grid; gap: 8px; }
.foot-col a { color: var(--ux-ink-2); font-size: 14.5px; text-decoration: none; }
.foot-col a:hover { color: var(--ux-ink); }
.foot-ch a { display: grid; gap: 1px; overflow-wrap: anywhere; }
.foot-ch b { color: var(--ux-ink); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ux-line); }
.foot-bottom p { max-width: 760px; color: var(--ux-ink-2); font-size: 12.5px; }
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hand { grid-template-columns: minmax(0, 1fr); }
  .hand .cards { justify-content: center; }
}
@media (max-width: 640px) {
  .foot-grid, .hand .fx-notes { grid-template-columns: minmax(0, 1fr); }
}
.dd-wide { margin: 32px 0; }

/* ---------- biểu mẫu để lại thông tin ---------- */
.lead-wrap { width: 100%; }
.lead {
  padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--ux-surface);
  box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -44px var(--ux-shadow-strong);
}
.lead[hidden] { display: none; }
.lead h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.lead-sub { margin-top: 6px; color: var(--ux-ink-2); font-size: 14.5px; }
.lead-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.lead-f { margin-top: 16px; min-width: 0; }
.lead-f > label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ux-ink); }
.lead-f input[type="text"], .lead-f input[type="tel"], .lead-f input[type="email"], .lead-f select, .lead-f textarea {
  display: block; width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 14px;
  background: var(--ux-surface-2); color: var(--ux-ink); font: inherit; font-size: 16px; /* 16px để iPhone không tự phóng to */
  box-shadow: inset 0 0 0 1.5px var(--ux-line); transition: box-shadow 0.2s;
}
.lead-f textarea { min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.lead-f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ux-ink-2) 50%), linear-gradient(135deg, var(--ux-ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.lead-f ::placeholder { color: var(--ux-ink-3, var(--ux-ink-2)); opacity: 0.8; }
.lead-f input:focus-visible, .lead-f select:focus-visible, .lead-f textarea:focus-visible, .lead-check input:focus-visible {
  outline: 0; box-shadow: inset 0 0 0 2px var(--ux-accent);
}
.lead-check input:focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 2px; box-shadow: none; }
.lead-f [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--ux-danger, #e5484d); }
.lead-hint { display: block; margin-top: 6px; color: var(--ux-ink-2); font-size: 12.5px; }
.lead-err { display: block; margin-top: 6px; color: var(--ux-danger, #e5484d); font-size: 13px; font-weight: 600; }
.lead-err:empty { display: none; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* ô mồi chống phần mềm gửi tự động */
.lead-consent { margin-top: 18px; }
.lead-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 500; color: var(--ux-ink-2); cursor: pointer; }
.lead-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ux-accent); cursor: pointer; }
.lead-submit { width: 100%; margin-top: 20px; min-height: 52px; border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; }
.lead-submit:disabled { opacity: 0.65; cursor: progress; transform: none; }
.lead-status { margin-top: 12px; min-height: 1.4em; font-size: 14px; color: var(--ux-ink-2); }
.lead-status[data-kind="error"] { color: var(--ux-danger, #e5484d); font-weight: 600; }
.lead-status a { color: inherit; text-underline-offset: 3px; }
.lead-done { text-align: center; }
.lead-done:focus { outline: 0; }
.lead-done p { margin: 10px auto 0; max-width: 360px; color: var(--ux-ink-2); }
.lead-done .channels { justify-content: center; }
.lead-tick { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: color-mix(in srgb, var(--ux-mint) 18%, transparent); color: var(--ux-mint); font-size: 28px; font-weight: 900; }
.lead-again { margin-top: 22px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ux-surface-2); color: var(--ux-ink); box-shadow: inset 0 0 0 1px var(--ux-line-2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lead-again:hover { box-shadow: inset 0 0 0 1.5px var(--ux-accent); }
@media (max-width: 640px) { .lead-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .lead-wrap { max-width: 560px; margin-inline: auto; } }

/* khối dẫn sang trang thư viện giao diện, và thanh chọn nhanh trong trang thư viện */
.lib-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3.4vw, 36px); border-radius: 28px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -44px var(--ux-shadow-strong); }
.lib-cta b { display: block; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.lib-cta p { margin-top: 8px; max-width: 62ch; color: var(--ux-ink-2); font-size: 15px; }
.lib-cta .btn-grad { flex: none; white-space: nowrap; }
.lib-top { padding-bottom: 0; }
.lib-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.lib-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ux-surface); box-shadow: inset 0 0 0 1px var(--ux-line-2); color: var(--ux-ink); font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: box-shadow 0.2s, transform 0.2s; }
.lib-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--ux-accent); transform: translateY(-1px); }
@media (max-width: 720px) { .lib-cta { flex-direction: column; align-items: stretch; text-align: left; } .lib-cta .btn-grad { justify-content: center; } }

/* báo giá từng dịch vụ */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-c { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: 28px; overflow: hidden; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line), 0 30px 60px -48px var(--ux-shadow-strong); transition: transform 0.35s var(--ux-ease), box-shadow 0.35s; }
.price-c::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--btn-grad); opacity: 0.55; transition: opacity 0.35s; }
.price-c:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ux-accent) 55%, transparent), 0 28px 50px -30px var(--ux-accent); }
.price-c:hover::before { opacity: 1; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--ux-accent-soft); color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); }
.price-tag { padding: 5px 12px; border-radius: 999px; background: var(--ux-surface-2); box-shadow: inset 0 0 0 1px var(--ux-line); color: var(--ux-ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.price-c h3 { margin-top: 18px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.price-big { display: grid; gap: 4px; margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: var(--ux-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ux-accent) 18%, transparent); }
.pb-l { color: var(--ux-ink-2); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pb-p { font-size: clamp(28px, 2.7vw, 36px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.12; color: color-mix(in srgb, var(--ux-accent) 80%, var(--ux-ink)); overflow-wrap: anywhere; }
.pb-p i { font-style: normal; font-size: 0.5em; font-weight: 700; letter-spacing: 0; color: var(--ux-ink-2); }
.pb-s { margin-top: 2px; color: var(--ux-ink-2); font-size: 13.5px; line-height: 1.5; }
.price-body { display: grid; gap: 14px; align-content: start; flex: 1; margin-top: 18px; }
.price-list li { position: relative; margin-top: 8px; padding-left: 26px; color: var(--ux-ink); font-size: 14.5px; }
.price-list li:first-child { margin-top: 0; }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ux-mint); font-weight: 900; }
.price-rows li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--ux-line); }
.price-rows li:first-child { border-top: 0; padding-top: 0; }
.pr-l { color: var(--ux-ink-2); font-size: 14.5px; }
.pr-v { color: var(--ux-ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
.price-rows small { flex: 1 1 100%; color: var(--ux-ink-2); font-size: 13px; }
.price-note { padding: 10px 14px; border-radius: 14px; background: var(--ux-surface-2); color: var(--ux-ink-2); font-size: 13.5px; line-height: 1.5; }
.price-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 20px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ux-accent) 45%, transparent); color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-size: 15px; font-weight: 800; text-decoration: none; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.price-cta:hover, .price-cta:focus-visible { background: var(--btn-grad); color: #fff; box-shadow: 0 12px 28px -14px #5b45e8; }
.price-grid + .notice { margin-top: 24px; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: minmax(0, 1fr); } .price-c { padding: 22px 20px 20px; } }
@media (prefers-reduced-motion: reduce) { .price-c, .price-c::before, .price-cta { transition: none; } .price-c:hover { transform: none; } }

/* logo AnhKhôiGR */
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.brand-name b { font-weight: 900; color: var(--ux-accent); }
.brand-mark { box-shadow: 0 8px 18px -10px #5b45e8; }

/* nút liên hệ nổi, trang chính sách, trang 404 */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab-b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; box-shadow: 0 14px 28px -12px rgba(0,0,0,.5), 0 0 0 3px color-mix(in srgb, var(--ux-surface) 70%, transparent); transition: transform 0.25s var(--ux-ease); }
.fab-b[hidden] { display: none; }
.fab-b:hover, .fab-b:focus-visible { transform: translateY(-3px) scale(1.04); }
.fab-zalo { background: #0068ff; }
.fab-tel { background: #119c72; }
@media print { .fab { display: none; } }
.legal { max-width: 780px; }
.legal-body h3 { margin: 34px 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.legal-body p, .legal-body li { color: var(--ux-ink-2); font-size: 16px; line-height: 1.7; }
.legal-body ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-body a { color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-weight: 700; }
.lead-check a { color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-weight: 700; text-decoration: underline; }
.nf { text-align: center; padding-block: clamp(40px, 9vw, 110px); }
.nf-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.foot-bottom { padding-right: 76px; }
@media (max-width: 640px) { .foot-bottom { padding-right: 0; padding-bottom: 76px; } }

/* khung chat AI tư vấn */
.fab-chat { position: relative; background: var(--btn-grad); border: 0; cursor: pointer; font: inherit; }
.fab-chat i { position: absolute; top: -4px; right: -4px; padding: 2px 6px; border-radius: 999px; background: #119c72; color: #fff; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: 0.02em; }
.chat { position: fixed; right: max(84px, calc(env(safe-area-inset-right) + 84px)); bottom: 16px; z-index: 45; display: flex; flex-direction: column; width: min(380px, calc(100vw - 100px)); height: min(580px, calc(100dvh - 32px)); overflow: hidden; border-radius: 24px; background: var(--ux-surface); box-shadow: 0 0 0 1px var(--ux-line-2), 0 30px 70px -20px rgba(0,0,0,.45); }
.chat[hidden] { display: none; }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--btn-grad); color: #fff; }
.chat-av { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(255,255,255,.18); }
.chat-t { flex: 1; min-width: 0; }
.chat-t b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.chat-t small { display: block; font-size: 12px; opacity: 0.9; }
.chat-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-x:hover, .chat-x:focus-visible { background: rgba(255,255,255,.3); }
.chat-log { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.chat-m { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-assistant { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--ux-surface-2); color: var(--ux-ink); box-shadow: inset 0 0 0 1px var(--ux-line); }
.chat-user { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--btn-grad); color: #fff; }
.chat-wait { color: var(--ux-ink-2); }
.chat-note { background: var(--ux-accent-soft); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-chips[hidden] { display: none; }
.chat-chips button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ux-surface); box-shadow: inset 0 0 0 1px var(--ux-line-2); color: var(--ux-ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chat-chips button:hover, .chat-chips button:focus-visible { box-shadow: inset 0 0 0 1.5px var(--ux-accent); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--ux-line); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ux-surface-2); box-shadow: inset 0 0 0 1px var(--ux-line-2); color: var(--ux-ink); font: inherit; font-size: 16px; }
.chat-form input:focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 1px; }
.chat-send { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--btn-grad); color: #fff; cursor: pointer; }
.chat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 0 16px 12px; font-size: 13px; }
.chat-foot button, .chat-foot a, .chat-cancel { min-height: 36px; padding: 0; border: 0; background: none; color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.chat-foot a[hidden] { display: none; }
.chat-lead { display: grid; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--ux-line); background: var(--ux-surface-2); }
.chat-lead[hidden] { display: none; }
.chat-lead label { display: grid; gap: 4px; color: var(--ux-ink-2); font-size: 13px; font-weight: 600; }
.chat-lead label input[type=text], .chat-lead label input[type=tel] { min-height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--ux-surface); box-shadow: inset 0 0 0 1px var(--ux-line-2); color: var(--ux-ink); font: inherit; font-size: 16px; }
.chat-lead .chat-consent { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.chat-lead .chat-consent input { margin-top: 3px; flex: none; }
.chat-lead .chat-consent a { color: color-mix(in srgb, var(--ux-accent) 78%, var(--ux-ink)); font-weight: 700; }
.chat-err { min-height: 0; margin: 0; color: #d6336c; font-size: 13px; }
.chat-err:empty { display: none; }
.chat-lead-btns { display: flex; align-items: center; gap: 16px; }
@media (max-width: 640px) {
  .chat { inset: 0; width: auto; height: auto; border-radius: 0; z-index: 60; }
  html.chat-open { overflow: hidden; }
  html.chat-open .fab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chat * { transition: none; } }
