/* web3a — giao diện website 3A Digital Operations.
   Không dùng phông/CDN ngoài (CSP: default-src 'self'). Màu theo Brand Kit: navy #0E1A54, đỏ #DF030F (logo);
   điểm nhấn xanh dương/xanh lục/tím theo Master Brief + wireframe. Màu cuối cùng đổi tại :root khi Brand Kit được duyệt. */

:root {
  --navy: #0e1a54;
  --navy-900: #080f34;
  --navy-800: #0b1442;
  --navy-700: #142370;
  --blue: #1976d2;
  --blue-600: #1565c0;
  --blue-700: #0d47a1;
  --blue-50: #eaf2fc;
  --violet: #6a5ae0;
  --violet-700: #4f40c4;
  --green: #00a37a;
  --green-700: #007a5a;
  --red: #df030f;

  --ink: #0f1a33;
  --ink-2: #34425c;
  --muted: #4e5a73; /* UI-05: tăng tương phản chữ phụ với nền để dễ đọc hơn */
  --line: #e1e7f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --bg-soft: #eef3fa;

  --acc: var(--blue);
  --acc-ink: var(--blue-700);
  --acc-soft: var(--blue-50);
  --acc-grad: linear-gradient(135deg, #0d47a1, #1976d2);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 26, 84, 0.06), 0 10px 28px rgba(14, 26, 84, 0.08);
  --shadow-lg: 0 2px 4px rgba(14, 26, 84, 0.08), 0 18px 44px rgba(14, 26, 84, 0.14);
  --container: 1200px;
  --header-h: 68px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
}

.acc-blue { --acc: #1976d2; --acc-ink: #0d47a1; --acc-soft: #eaf2fc; --acc-grad: linear-gradient(135deg, #0b3a8c, #1976d2); }
.acc-violet { --acc: #6a5ae0; --acc-ink: #4f40c4; --acc-soft: #f0eefd; --acc-grad: linear-gradient(135deg, #33268f, #6a5ae0); }
.acc-navy { --acc: #2b4bb8; --acc-ink: #0e1a54; --acc-soft: #eceffb; --acc-grad: linear-gradient(135deg, #080f34, #1f3aa6); }
.acc-green { --acc: #00a37a; --acc-ink: #007a5a; --acc-soft: #e6f7f2; --acc-grad: linear-gradient(135deg, #005f47, #00a37a); }

/* ---------- nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1100px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow-lg); }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.i { flex: none; vertical-align: middle; }

/* ---------- dải xem trước ---------- */
.preview-bar { background: #fff4db; color: #5e3b00; border-bottom: 1px solid #f3d48a; font-size: 0.85rem; line-height: 1.4; }
.preview-bar .container { display: flex; gap: 8px 14px; flex-wrap: wrap; padding-block: 8px; align-items: baseline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__mark { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; }
.nav__a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav__a:hover, .nav__a[aria-current="page"] { color: var(--navy); background: var(--bg-soft); }
.nav__a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 8px 8px 0 0; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { border: 0; background: none; padding: 6px 4px; margin-left: -6px; cursor: pointer; color: var(--ink-2); border-radius: 6px; }
.sub-toggle .i { transition: transform 0.15s; }
.sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; display: none; position: absolute; top: 100%; left: -8px; min-width: 320px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
.sub__a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub__a:hover { background: var(--acc-soft); }
.sub__a strong { display: block; font-size: 0.95rem; }
.sub__a small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
.sub__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); flex: none; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 979px) {
  .header__inner { gap: 10px; }
  .js .nav-toggle { display: inline-flex; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; margin-left: 0; padding-bottom: 12px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__a { padding: 12px 8px; }
  .nav__a[aria-current="page"] { box-shadow: none; border-radius: 8px; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > .nav__a { flex: 1; }
  .sub-toggle { display: none; }
  .sub { display: block; position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 6px 12px; background: transparent; }
  .sub__a small { display: none; }
  .nav__cta { align-self: stretch; text-align: center; justify-content: center; }
}

/* ---------- nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 12px; border: 2px solid transparent; font-weight: 650; font-size: 0.98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(25, 118, 210, 0.28); }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--outline { background: transparent; color: var(--blue-700); border-color: #b7cdea; }
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eaf0ff; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.btn__i { transition: transform 0.15s; }
.btn:hover .btn__i { transform: translateX(3px); }
.actions-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-light { color: #cfe0ff; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-light:hover { color: #fff; text-decoration: underline; }

/* ---------- chip trạng thái ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; border: 1px solid; font-size: 0.78rem; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--demo { background: #eaf2fc; color: #0d47a1; border-color: #bbd6f5; }
.chip--pilot { background: #fff4db; color: #7a4b00; border-color: #f3d48a; }
.chip--roadmap { background: #eef1f6; color: #46526b; border-color: #d3dae6; }
.chip--sm { font-size: 0.7rem; padding: 1px 8px; vertical-align: middle; }
.chip--on-dark { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.4); vertical-align: middle; margin-left: 6px; }

/* ---------- bố cục chung ---------- */
.section { padding-block: clamp(44px, 7vw, 88px); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section--dark { background: linear-gradient(165deg, #080f34, #0e1a54 60%, #142f7a); color: #e8eeff; }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.section--dark .eyebrow { color: #8fb4ff; }
.sec-title { font-size: clamp(1.55rem, 3.2vw, 2.4rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.01em; color: var(--navy); }
.section--dark .sec-title { color: #fff; }
.sec-lead { margin-top: 12px; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-2); }
.section--dark .sec-lead { color: #c5d3f5; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1099px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

/* ---------- hero trang chủ ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px);
  background: radial-gradient(1000px 560px at 88% 12%, rgba(46, 91, 214, 0.55), transparent 62%), radial-gradient(700px 480px at 0% 100%, rgba(0, 163, 122, 0.2), transparent 60%), linear-gradient(160deg, #080f34 0%, #0e1a54 55%, #12307f 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 72% 38%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 72% 38%, #000 0%, transparent 72%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #9fc0ff; margin-bottom: 14px; }
.hero-alias { text-transform: none; letter-spacing: 0; font-weight: 600; color: #d6e3ff; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero__lead { margin-top: 20px; max-width: 560px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #d3def8; }
.hero-actions { margin-top: 28px; }
.hero__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 650; text-decoration: none; background: var(--acc-soft); color: var(--acc-ink); border: 1px solid transparent; }
.pill:hover { filter: brightness(0.97); color: var(--acc-ink); border-color: var(--acc); }
.hero__pills .pill { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.hero__pills .pill:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.hero__visual { min-width: 0; }
.eco { width: 100%; height: auto; display: block; overflow: visible; }
.eco-label { font: 700 19px var(--font); fill: #fff; }
.eco-hub-label { font: 700 10px var(--font); letter-spacing: 0.12em; fill: #c9d6ff; }
.eco-line { animation: eco-dash 24s linear infinite; }
.eco-node circle:first-child { transform-box: fill-box; transform-origin: center; animation: eco-pulse 4.2s ease-in-out infinite; }
@keyframes eco-dash { to { stroke-dashoffset: -240; } }
@keyframes eco-pulse { 50% { transform: scale(1.1); opacity: 0.1; } }
@media (prefers-reduced-motion: reduce) { .eco-line, .eco-node circle:first-child { animation: none; } }
@media (max-width: 899px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; } }

/* ---------- hero các trang trong ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 76px); background: radial-gradient(800px 420px at 90% 0%, rgba(46, 91, 214, 0.45), transparent 62%), linear-gradient(160deg, #080f34 0%, #0e1a54 60%, #12307f 100%); }
.page-hero--product { background: radial-gradient(800px 420px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 62%), var(--acc-grad); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.page-hero__text { max-width: 760px; }
.page-hero__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.14; font-weight: 800; letter-spacing: -0.015em; }
.page-hero__lead { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, 0.88); max-width: 660px; }
.page-hero .hero-actions { margin-top: 24px; }
.bigicon { display: block; color: rgba(255, 255, 255, 0.22); }
.bigicon .i { width: clamp(96px, 14vw, 180px); height: auto; stroke-width: 1.1; }
@media (max-width: 799px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__aside { display: none; } }
.crumbs { margin-bottom: 18px; font-size: 0.85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- thẻ sản phẩm ---------- */
.pcard { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; box-shadow: var(--shadow); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; overflow: hidden; }
.pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--acc); }
.pcard:hover, .pcard:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--acc); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.pcard__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); }
.pcard__name { font-size: 1.3rem; line-height: 1.2; font-weight: 750; color: var(--navy); }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; }
.pcard__alias { font-size: 0.85rem; color: var(--muted); margin-top: -2px; }
.pcard__tag { font-weight: 650; color: var(--acc-ink); margin-top: 4px; }
.pcard__benefit { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.pcard__aud { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 650; color: var(--acc-ink); }
.pcard:hover .pcard__link .i { transform: translateX(3px); }
.pcard__link .i { transition: transform 0.15s; }

/* ---------- trước / sau + chuỗi giá trị ---------- */
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.ba { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.ba__h { font-size: 1.05rem; font-weight: 750; margin-bottom: 10px; }
.ba ul { list-style: none; display: grid; gap: 10px; }
.ba li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ba li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 2px; background: #b3bdd0; border-radius: 2px; }
.ba--before .ba__h { color: #6b768d; }
.ba--after { border-color: #b7d3f4; background: linear-gradient(180deg, #f3f8ff, #fff); box-shadow: var(--shadow); }
.ba--after .ba__h { color: var(--blue-700); }
.ba--after li::before { background: var(--green); height: 12px; width: 12px; top: 0.45em; border-radius: 50%; }
.ba__arrow { display: grid; place-items: center; color: var(--blue); }
@media (max-width: 799px) { .before-after { grid-template-columns: 1fr; } .ba__arrow { transform: rotate(90deg); } }
.chain { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.chain__i a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--acc); border-radius: 12px; font-weight: 650; color: var(--navy); text-decoration: none; box-shadow: var(--shadow); }
.chain__i a:hover { border-color: var(--acc); }
.chain__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); }
@media (max-width: 899px) { .chain { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .chain { grid-template-columns: 1fr; } }

/* ---------- thẻ giải pháp / thẻ biểu tượng ---------- */
.scard { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.scard:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.scard__icon, .icard__icon, .mcard__icon, .sol__icon, .pkg__icon, .value__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); flex: none; }
.scard__t { font-size: 1.15rem; font-weight: 750; color: var(--navy); }
.scard__d { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.scard__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue-700); font-size: 0.92rem; margin-top: 6px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.icard__t { font-size: 1.05rem; font-weight: 750; color: var(--navy); line-height: 1.3; }
.icard__d { color: var(--ink-2); font-size: 0.95rem; }
.icard--dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }
.icard--dark .icard__icon { background: rgba(255, 255, 255, 0.12); color: #bcd2ff; }
.icard--dark .icard__t { color: #fff; }
.icard--dark .icard__d { color: #c5d3f5; }
.platform__more { margin-top: 28px; }

.values { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value__t { font-size: 1rem; font-weight: 750; color: var(--navy); }
.value__d { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 1019px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .values { grid-template-columns: 1fr; } }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 650; color: var(--navy); box-shadow: var(--shadow); }
.tag .i { color: var(--blue); }
.tags--big .tag { padding: 16px 22px; font-size: 1.05rem; }

/* ---------- ghi chú ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 18px; border-radius: 12px; border: 1px solid; font-size: 0.95rem; }
.note .i { margin-top: 2px; }
.note p { margin-top: 2px; }
.note--info { background: #eef5fe; border-color: #c4dbf6; color: #123a73; }
.note--warn { background: #fff7e6; border-color: #f3d48a; color: #5e3b00; }
.note--warn > div > strong:first-child { display: block; margin-bottom: 2px; }

/* ---------- trang sản phẩm ---------- */
.who { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; max-width: 920px; }
.who li, .checks li { display: flex; gap: 12px; align-items: flex-start; }
.who .i, .checks .i { color: var(--acc); margin-top: 3px; }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
@media (max-width: 719px) { .who { grid-template-columns: 1fr; } }
.prob { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.prob__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-ink); font-weight: 800; margin-bottom: 10px; }
.prob__t { font-size: 1.08rem; font-weight: 750; color: var(--navy); }
.prob__d { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }

.flow { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.flow--3 { grid-template-columns: repeat(3, 1fr); }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow--5 { grid-template-columns: repeat(5, 1fr); }
.flow--6 { grid-template-columns: repeat(6, 1fr); }
.flow__step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 16px; box-shadow: var(--shadow); }
.flow__n { width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.flow__t { font-size: 1rem; font-weight: 750; color: var(--navy); line-height: 1.25; }
.flow__d { margin-top: 6px; font-size: 0.88rem; color: var(--ink-2); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 35px; right: -17px; width: 18px; height: 2px; background: var(--acc); opacity: 0.45; }
@media (max-width: 1139px) { .flow--5, .flow--6 { grid-template-columns: repeat(3, 1fr); } .flow__step:nth-child(3n)::after { display: none; } }
@media (max-width: 859px) { .flow--4, .flow--5, .flow--6, .flow--3 { grid-template-columns: repeat(2, 1fr); } .flow__step::after { display: none; } }
@media (max-width: 559px) {
  .flow--3, .flow--4, .flow--5, .flow--6 { grid-template-columns: 1fr; gap: 0; }
  .flow__step { border-radius: 0; box-shadow: none; border-width: 0 0 0 3px; border-color: var(--acc); background: transparent; padding: 4px 0 20px 28px; margin-left: 16px; position: relative; }
  .flow__n { position: absolute; left: -17px; top: 0; margin: 0; }
  .flow__step:last-child { padding-bottom: 4px; }
}
.explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 40px; padding: 26px; border-radius: var(--radius); background: var(--acc-soft); border: 1px solid color-mix(in srgb, var(--acc) 25%, white); }
.explainer__t { font-size: 1.25rem; font-weight: 800; color: var(--acc-ink); margin-bottom: 8px; }
.clocks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.clock { background: #fff; border-radius: 14px; padding: 14px 10px; text-align: center; border: 1px solid var(--line); }
.clock__v { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--acc-ink); }
.clock__v small { font-size: 0.85rem; font-weight: 700; margin-left: 4px; color: var(--muted); }
.clock__t { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--ink-2); }
@media (max-width: 799px) { .explainer { grid-template-columns: 1fr; } }
.scenario { margin-top: 36px; }
.scenario__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.scenario__head h3 { font-size: 1.15rem; font-weight: 750; color: var(--navy); }
.packages { margin-top: 36px; }
.packages__h { font-size: 1.15rem; font-weight: 750; color: var(--navy); margin-bottom: 14px; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pkg__n { font-size: 1.05rem; font-weight: 750; color: var(--navy); }
.pkg__d { font-size: 0.92rem; color: var(--ink-2); flex: 1; }
.packages .muted { margin-top: 12px; font-size: 0.9rem; }
/* ---------- ảnh giao diện sản phẩm ---------- */
.frame--browser { border-radius: 14px; overflow: hidden; background: #0b1442; box-shadow: var(--shadow-lg); border: 1px solid rgba(14, 26, 84, 0.3); }
.frame__bar { display: flex; gap: 6px; padding: 9px 12px; background: #0b1442; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.32); }
.frame--browser img { display: block; width: 100%; height: auto; }
.frame--phone { display: block; padding: 9px; border-radius: 36px; background: #0b1442; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.12); }
.frame--phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.page-hero__aside--desktop { width: min(600px, 44vw); }
.page-hero__aside--phone { width: 232px; }
.page-hero__aside .frame--browser { border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.page-hero__aside .frame--phone { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.pcard__shot { margin: -17px -22px 16px; height: 150px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--acc-soft); }
.pcard__shot--desktop img { display: block; width: 100%; height: auto; }
.pcard__shot--phone { display: grid; justify-items: center; align-items: start; background: var(--acc-grad); }
.pcard__shot--phone img { width: 128px; height: auto; margin-top: 16px; border-radius: 16px 16px 0 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.gallery { display: grid; gap: 28px; }
.gallery--phone { grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; }
.gallery__item--desktop { max-width: 1000px; margin: 0 auto; width: 100%; }
.gallery__item--phone { max-width: 250px; margin: 0 auto; width: 100%; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 0.92rem; text-align: center; }
@media (max-width: 559px) { .gallery--phone { grid-template-columns: 1fr; } }
.media-ph__frame { display: grid; place-content: center; justify-items: center; gap: 12px; aspect-ratio: 16 / 7; min-height: 180px; border: 2px dashed color-mix(in srgb, var(--acc) 45%, white); border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--acc-soft) 0 14px, #fff 14px 28px); color: var(--acc-ink); text-align: center; padding: 20px; }
.media-ph__t { font-weight: 650; }
.media-ph figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq__item[open] { border-color: var(--acc); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 650; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 18px 18px; color: var(--ink-2); }

/* ---------- CTA cuối trang ---------- */
.cta-band { background: linear-gradient(135deg, #0e1a54, #1b3a9a); color: #fff; padding-block: clamp(36px, 5vw, 60px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; }
.cta-band__text { margin-top: 8px; color: #c9d7fb; max-width: 560px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- so sánh sản phẩm ---------- */
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--navy); color: #fff; font-size: 1rem; border-bottom: 0; }
.compare thead th a { color: #fff; text-decoration: none; }
.compare thead th a:hover { text-decoration: underline; }
.compare tbody th { width: 160px; color: var(--muted); font-weight: 650; background: var(--bg-alt); }
@media (max-width: 899px) {
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { border-bottom: 8px solid var(--bg-alt); }
  .compare tbody th { width: auto; }
  .compare td { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
  .compare td::before { content: attr(data-label); font-weight: 700; color: var(--navy); flex: none; min-width: 7.5em; }
}

/* ---------- giải pháp, đối tác, công nghệ, về 3A ---------- */
.sol__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sol__icon { width: 56px; height: 56px; }
.sol__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol__body > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.section--alt .sol__body > div { background: #fff; }
.sol__body dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 6px; }
.sol__body dd { margin: 0; color: var(--ink-2); }
.sol__prods { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 899px) { .sol__body { grid-template-columns: 1fr; } }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.mcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mcard__head h3 { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.mcard dl { display: grid; gap: 12px; }
.mcard dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.mcard dd { margin: 2px 0 0; color: var(--ink-2); }
.layers { display: grid; grid-template-columns: 56px 1fr 56px; gap: 12px; align-items: stretch; }
.layers__side { display: grid; place-items: center; border-radius: 14px; background: var(--bg-soft); border: 1px dashed #b7c4dc; color: var(--ink-2); font-weight: 650; font-size: 0.85rem; }
.layers__side span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; letter-spacing: 0.04em; }
.layers__stack { display: grid; gap: 12px; }
.layer { border-radius: 16px; padding: 22px 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.layer h3 { font-size: 1.1rem; font-weight: 800; }
.layer p { margin-top: 4px; color: var(--ink-2); }
.layer--apps { background: linear-gradient(135deg, #eaf2fc, #f0eefd); }
.layer--core { background: linear-gradient(135deg, #0e1a54, #1b3a9a); color: #fff; border-color: transparent; }
.layer--core p { color: #c9d7fb; }
.layer--edge { background: #f1f8f5; }
@media (max-width: 719px) {
  .layers { grid-template-columns: 1fr; }
  .layers__side { padding: 10px; }
  .layers__side span { writing-mode: horizontal-tb; transform: none; }
  .layers__side--r { order: 3; }
}
.slogan { padding: 32px; border-radius: var(--radius); background: linear-gradient(135deg, #0e1a54, #1b3a9a); color: #fff; text-align: center; }
.slogan__main { font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: 0.1em; }
.slogan figcaption { margin-top: 10px; color: #b9c9f5; font-size: 0.9rem; }
.caps { list-style: none; display: grid; gap: 10px; max-width: 760px; }
.caps li { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-weight: 600; color: var(--navy); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h2, .panel h3, .panel__h { font-size: 1.1rem; font-weight: 750; color: var(--navy); margin-bottom: 8px; }
.panel--soft { background: var(--bg-soft); border-color: transparent; }
.nf { max-width: 640px; padding-block: 24px; }
.nf .actions-row { margin-top: 24px; }
.prose { max-width: 780px; margin-top: 8px; }
.prose h2 { font-size: 1.25rem; font-weight: 750; color: var(--navy); margin: 28px 0 8px; }
.prose p { margin-top: 8px; color: var(--ink-2); }

/* ---------- liên hệ + biểu mẫu ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 959px) { .contact { grid-template-columns: 1fr; } }
.contact__side { display: grid; gap: 16px; }
.mini-steps { list-style: none; display: grid; gap: 14px; counter-reset: m; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.mini-steps li::before { content: counter(m); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-weight: 800; display: grid; place-items: center; }
.mini-steps span { color: var(--ink-2); font-size: 0.92rem; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { font-weight: 700; color: var(--navy); margin-bottom: 10px; padding: 0; }
.choices__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 639px) { .choices__row { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid #c8d2e3; border-radius: 12px; background: #fff; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.choice__t { font-weight: 700; color: var(--navy); }
.choice__d { font-size: 0.82rem; color: var(--muted); }
.choice:hover .choice__box { border-color: var(--blue); }
.choice input:checked + .choice__box { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-weight: 650; color: var(--navy); font-size: 0.95rem; }
.req { color: #c62828; margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid #c8d2e3; border-radius: 10px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #90a4c4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.22); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.2); }
.field__hint { font-size: 0.82rem; color: var(--muted); }
.field__err { font-size: 0.85rem; color: #b71c1c; font-weight: 600; }
.field__err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-status { font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 16px; border-radius: 10px; background: #fdecea; border: 1px solid #f5b5ae; color: #8c1c13; font-weight: 600; }
.form-status.is-info { color: var(--muted); }
.form-done { text-align: center; background: #fff; border: 1px solid #b6e3d4; border-radius: 20px; padding: clamp(28px, 5vw, 56px) 24px; box-shadow: var(--shadow); display: grid; gap: 12px; justify-items: center; }
.form-done[hidden], .lead-form[hidden] { display: none; }
.form-done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e6f7f2; color: var(--green-700); }
.form-done h2 { font-size: 1.6rem; color: var(--navy); }
/* UI-08: tách dòng lời cảm ơn và dòng thời gian liên hệ lại cho rõ ràng */
.form-done__thanks { font-size: 1.12rem; font-weight: 700; color: var(--navy); }
.form-done p { max-width: 46ch; }
.form-done__sla { color: var(--ink-2); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c6e8; padding: clamp(36px, 5vw, 64px) 0 24px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot__name { margin-top: 10px; color: #fff; font-weight: 750; }
.foot__blurb { margin-top: 6px; font-size: 0.92rem; max-width: 320px; }
.foot__slogan { margin-top: 14px; font-size: 0.75rem; letter-spacing: 0.16em; font-weight: 700; color: #8fa4d8; }
.foot__h { font-size: 0.85rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot__col ul { list-style: none; display: grid; gap: 8px; }
.foot__col a { color: #b9c6e8; text-decoration: none; font-size: 0.95rem; }
.foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
.foot__ver { opacity: 0.7; }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- UI-02: xuất hiện nhẹ khi cuộn ---------- */
/* Lớp .reveal chỉ được JS gắn cho các khối NẰM DƯỚI màn hình đầu (không gắn khi
   prefers-reduced-motion: reduce), nên khi tắt JS hoặc giảm chuyển động, nội dung
   luôn hiển thị đầy đủ. Không che nội dung, không nhảy bố cục. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media print {
  .site-header, .preview-bar, .cta-band, .skip, .nav-toggle { display: none !important; }
  .hero, .page-hero { background: none !important; color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
