/* eBrand Agent — giao diện "xanh tin cậy" (T006–T013), dùng cho mọi trang qua layout xanh.njk (trừ /ai-skills/ có CSS riêng). Giao diện cũ site.css đã gỡ ở T015. */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 700;
  src: url(fonts/playfair-display-vietnamese-700-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 700;
  src: url(fonts/playfair-display-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/be-vietnam-pro-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 600;
  src: url(fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 600;
  src: url(fonts/be-vietnam-pro-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* Màu: xanh eBrand – trắng – cam */
  --bg: #F5F9FF;
  --bg-soft: #EAF2FF;
  --card: #FFFFFF;
  --line: #DCE6F5;
  --ink: #0B1B33;
  --muted: #4A5872;
  --blue: #0B5CF0;         /* nút chính, chữ nhấn */
  --blue-hover: #0849C2;
  --blue-soft: #E3EEFF;
  --orange: #FF6A00;       /* nút phụ nổi bật, điểm nhấn */
  --orange-hover: #FF8126;
  --orange-text: #B44800;  /* cam dùng làm chữ: đủ tương phản trên nền sáng */
  --orange-soft: #FFEBDC;
  --navy: #061A3D;
  --navy-2: #0A2A5E;
  --on-navy: #FFFFFF;
  --on-navy-muted: #CED9EE;
  --danger: #B42318;
  --ok: #157347;
  --focus: #0A84FF;
  --shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 16px 40px rgba(11, 92, 240, .10);
  --glass: rgba(255, 255, 255, .62);
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px; --r: 18px; --r-lg: 26px; --pill: 999px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); overflow-x: hidden;
  background-image: linear-gradient(rgba(11, 92, 240, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 92, 240, .045) 1px, transparent 1px);
  background-size: 56px 56px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.kicker { font: 600 12px/1.4 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.kicker::after { content: ""; width: 32px; height: 1.5px; background: currentColor; opacity: .6; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: var(--pill);
  font: 600 15px/1.2 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(11, 92, 240, .28); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-accent { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px rgba(255, 106, 0, .25); }
.btn-accent:hover { background: var(--orange-hover); color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: #B9C9E3; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.link { font-weight: 600; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background .2s, box-shadow .2s; }
.hd.is-scrolled { background: rgba(245, 249, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hd-in { display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--f-body); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-sm { font-size: 18px; margin-bottom: 12px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px; box-shadow: var(--shadow); }
.nav a { display: block; padding: 10px 18px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav ul a:hover { background: var(--blue-soft); color: var(--blue); }
.nav-cta { display: none !important; }
.hd-cta { margin-left: 24px; }
.hd-cta .ico { width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: var(--shadow); }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .menu-btn { display: inline-flex; }
  .hd-cta { display: none; }
  .nav { position: fixed; inset: 76px 12px auto 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; box-shadow: 0 24px 60px rgba(11, 27, 51, .18);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
  .nav ul { flex-direction: column; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav ul a { padding: 14px 16px; font-size: 17px; border-radius: var(--r-sm); }
  .nav-cta { display: flex !important; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 32px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 40%; height: 120%; background: radial-gradient(closest-side, rgba(61, 139, 255, .22), transparent 70%), radial-gradient(closest-side at 70% 80%, rgba(255, 154, 74, .16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: 560px; }
h1 { font-size: clamp(44px, 5.7vw, 74px); line-height: 1.02; letter-spacing: -.025em; }
h1 > span { display: block; }
h1 em { font-style: normal; color: var(--blue); display: block; background: linear-gradient(100deg, var(--blue) 0 42%, #3D8BFF 50%, var(--blue) 58% 100%) 100% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin: 22px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.flow { position: relative; margin: 0; aspect-ratio: 600 / 520; }
.ribbon { overflow: visible; position: absolute; inset: 0; width: 100%; height: 100%; }
.rb-main { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 2.2s .2s cubic-bezier(.2, .7, .2, 1) both; filter: drop-shadow(0 18px 24px rgba(11, 92, 240, .25)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cards { position: absolute; inset: 0; counter-reset: c; }
.gc { position: absolute; width: 33%; min-width: 150px; padding: 16px 16px 18px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 40px rgba(11, 60, 150, .14), inset 0 1px 0 #fff; backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both, bob 6s ease-in-out 2.4s infinite;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s; }
.gc b { display: block; font-size: 16px; font-weight: 600; margin: 12px 0 10px; color: var(--ink); }
.ln { display: block; height: 6px; border-radius: 6px; background: #C9DAF5; width: 80%; }
.ln-s { width: 55%; margin-top: 6px; }
.gi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.gi .ico { width: 24px; height: 24px; }
.gi-b { background: linear-gradient(135deg, #3D8BFF, #0B5CF0); }
.gi-o { background: linear-gradient(135deg, #FFB067, #FF6A00); }
.gc-1 { left: 4%; top: 4%; animation-delay: .4s; }
.gc-2 { left: 38%; top: 22%; animation-delay: .8s; }
.gc-3 { right: 0; top: 46%; animation-delay: 1.2s; }
.gc-4 { left: 30%; bottom: 0; animation-delay: 1.6s; }
.gc::before { counter-increment: c; content: counter(c); position: absolute; top: 12px; right: 14px; font: 600 12px/1 var(--f-body); color: var(--muted); }
@keyframes rise { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.flow figcaption { position: absolute; right: 0; top: 0; font-size: 13px; color: var(--muted); max-width: 210px; text-align: right; }
.flow figcaption i { font-family: var(--f-display); font-size: 15px; color: var(--ink); }

/* ---------- Chuyển động phần đầu trang (T006 vòng 3) ----------
   Vào trang: chữ và nút trồi lên lần lượt (--d), ribbon tự vẽ, 4 thẻ hiện ra.
   Sau đó lặp: vệt sáng chạy dọc ribbon, thẻ khẽ bồng bềnh, JS lần lượt bật từng thẻ (is-on) như một tin nhắn đang được xử lý.
   Nút tạm dừng (WCAG 2.2.2), tự dừng khi cuộn khỏi màn hình; tắt hết nếu máy bật "giảm chuyển động". */
.rv { animation: up .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
@keyframes up { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
h1 em.rv { animation: up .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both, shine 7s ease-in-out 1.8s infinite; }
@keyframes shine { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
.rb-glint { stroke-dasharray: 70 930; stroke-dashoffset: 1000; opacity: 0; filter: blur(1.5px); animation: glint 5.2s linear 2.4s infinite; }
@keyframes glint { 0% { stroke-dashoffset: 1000; opacity: 0; } 8% { opacity: .9; } 85% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.spark { animation: spark 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.spark:nth-of-type(2) { animation-delay: .9s; } .spark:nth-of-type(3) { animation-delay: 1.8s; }
@keyframes spark { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.8); } }
.gc-1 { animation-delay: .5s, 2.4s; } .gc-2 { animation-delay: .8s, 3.9s; } .gc-3 { animation-delay: 1.1s, 3.1s; } .gc-4 { animation-delay: 1.4s, 4.6s; }
.gc.is-on { transform: translateY(-10px) scale(1.04); border-color: rgba(11, 92, 240, .55); z-index: 2;
  box-shadow: 0 26px 50px rgba(11, 92, 240, .26), 0 0 0 4px rgba(11, 92, 240, .12), inset 0 1px 0 #fff; }
.gc.is-on .gi { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 40% { transform: scale(1.18) rotate(-6deg); } }
.ln { position: relative; overflow: hidden; }
.ln::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3D8BFF, #0B5CF0); transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.ln-s::after { transition-delay: .25s; }
.gc.is-on .ln::after, .gc.is-done .ln::after { width: 100%; }
.gc.is-done .ln::after { background: #9EC1FA; }
.st { display: inline-block; margin: -2px 0 10px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--blue); background: var(--blue-soft);
  opacity: 0; translate: 0 6px; transition: opacity .35s, translate .35s; }
.gc-2 .st, .gc-4 .st { color: var(--orange-text); background: var(--orange-soft); }
.gc.is-on .st, .gc.is-done .st { opacity: 1; translate: 0 0; }
/* Rê chuột: thẻ và ribbon lệch nhẹ ngược nhau tạo chiều sâu (chỉ máy có chuột). */
.cards, .ribbon { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.flow.is-tilt .cards { transform: translate(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 10px)); }
.flow.is-tilt .ribbon { transform: translate(calc(var(--mx, 0) * -6px), calc(var(--my, 0) * -6px)); }
.flow-toggle { position: absolute; left: 0; bottom: 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.flow-toggle:hover { color: var(--blue); border-color: var(--blue); }
.flow-toggle .i-play, .flow-toggle[aria-pressed="true"] .i-pause { display: none; }
.flow-toggle[aria-pressed="true"] .i-play { display: block; }
.hero.is-paused *, .hero.is-paused { animation-play-state: paused !important; }
/* Nút chính: vệt sáng lướt qua khi rê chuột, mũi tên nhích. */
.btn-primary, .btn-accent { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); translate: -120% 0; transition: translate .7s; }
.btn-primary:hover::after, .btn-accent:hover::after { translate: 120% 0; }
.btn .ico { transition: translate .25s; }
.btn:hover .ico { translate: 3px 0; }
.pledges .tile { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.pledges li:nth-child(1) .tile { animation-delay: .9s; } .pledges li:nth-child(2) .tile { animation-delay: 1.05s; } .pledges li:nth-child(3) .tile { animation-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .flow-toggle { display: none; } h1 em { background-position: 0 0; } .rb-main { stroke-dashoffset: 0; } }

.pledges { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); margin: 36px 0 0; padding: 14px; position: relative; }
.pledges li { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 500; color: var(--ink); padding: 8px 12px; }
.pledges li + li { border-left: 1px solid var(--line); }
.tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tile .ico { width: 24px; height: 24px; }
.tile-b { background: var(--blue-soft); color: var(--blue); }
.tile-o { background: var(--orange-soft); color: var(--orange-text); }

/* ---------- Khối chung ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-soft { background: linear-gradient(180deg, rgba(234, 242, 255, .7), rgba(245, 249, 255, .3)); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 40px; }
.sec-head > p { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- Chẩn đoán ---------- */
.dx-list { display: grid; gap: 14px; }
.dx { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(11, 27, 51, .04); transition: border-color .2s, box-shadow .2s; }
.dx:hover { border-color: #B9CDEE; }
.dx:has(.dx-btn[aria-expanded="true"]) { border-color: var(--blue); box-shadow: var(--shadow); }
.dx h3 { font: inherit; }
.dx-btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); border-radius: var(--r); font: inherit; }
.dx-t { flex: 1; font: 700 19px/1.3 var(--f-display); }
.chev { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--ink); background: #fff; transition: transform .2s, background .2s, color .2s; }
.dx-btn[aria-expanded="true"] .chev { transform: rotate(90deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.dx-btn:hover .chev { border-color: var(--blue); }
.dx-panel { padding: 0 18px 20px 84px; }
.dx-panel dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 18px; }
.dx-panel dl > div { background: var(--bg); border-radius: var(--r-sm); padding: 14px 16px; }
.dx-panel dt { font: 600 12px/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 6px; }
.dx-panel dd { margin: 0; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- Giải pháp ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sol a { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 20px; box-shadow: 0 1px 2px rgba(11, 27, 51, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sol a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #B9CDEE; color: var(--ink); }
.sol-body { padding: 18px 8px 0; display: block; flex: 1; }
.sol-body p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.trial { display: block; font-size: 13.5px; margin-top: 12px; color: var(--muted); }
.trial b { color: var(--orange-text); }
.sol .chev { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; }
.sol .sol-body { padding-right: 44px; }
.sol-art { position: relative; display: block; height: 150px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #F3F8FF, #DCEAFF); }
/* Tranh minh họa bằng CSS: cột, màn hình, video, khối */
.art-chart i { position: absolute; bottom: 18px; width: 14%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5C9DFF, #0B5CF0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.art-chart i:nth-child(1) { left: 16%; height: 30%; opacity: .55; } .art-chart i:nth-child(2) { left: 34%; height: 46%; opacity: .75; }
.art-chart i:nth-child(3) { left: 52%; height: 62%; } .art-chart i:nth-child(4) { left: 70%; height: 50%; opacity: .5; }
.art-chart b { position: absolute; left: 20%; top: 26%; width: 60%; height: 3px; background: linear-gradient(90deg, #FFB067, #FF6A00); transform: rotate(-24deg); transform-origin: left; border-radius: 3px; }
.art-web i { position: absolute; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 20px rgba(11, 60, 150, .15); }
.art-web i:nth-child(1) { left: 14%; top: 34%; width: 50%; height: 52%; background: linear-gradient(135deg, #3D8BFF, #0B5CF0); }
.art-web i:nth-child(2) { left: 30%; top: 22%; width: 50%; height: 52%; background: linear-gradient(135deg, #FFB067, #FF7A1A); opacity: .9; }
.art-web i:nth-child(3) { left: 46%; top: 12%; width: 42%; height: 52%; background: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.art-video i { position: absolute; border-radius: 14px; }
.art-video i:nth-child(1) { left: 22%; top: 20%; width: 56%; height: 62%; background: linear-gradient(135deg, #3D8BFF, #0B5CF0); box-shadow: 0 14px 28px rgba(11, 92, 240, .3); }
.art-video i:nth-child(2) { left: 34%; top: 12%; width: 50%; height: 56%; background: rgba(255, 255, 255, .45); border: 1px solid #fff; z-index: -0; }
.art-video b { position: absolute; left: 46%; top: 40%; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.art-cube i { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .8); }
.art-cube i:nth-child(1) { left: 18%; top: 44%; background: linear-gradient(135deg, #5C9DFF, #0B5CF0); }
.art-cube i:nth-child(2) { left: 40%; top: 18%; background: linear-gradient(135deg, #FFB067, #FF6A00); }
.art-cube i:nth-child(3) { left: 54%; top: 46%; background: rgba(61, 139, 255, .45); }
.art-cube i:nth-child(4) { left: 30%; top: 30%; background: rgba(255, 255, 255, .55); backdrop-filter: blur(3px); }

/* ---------- Dải xanh đậm: cách làm việc ---------- */
.band { position: relative; padding: 88px 0; background: radial-gradient(60% 120% at 0% 100%, rgba(31, 107, 255, .55), transparent 60%), radial-gradient(40% 80% at 100% 0%, rgba(255, 122, 26, .28), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--on-navy); overflow: hidden; }
.band h2, .band h3 { color: var(--on-navy); }
.band .kicker { color: #8FB8FF; }
.band .sec-head > p { color: var(--on-navy-muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 8px 28px 8px 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.steps .num { display: block; font: 700 30px/1 var(--f-display); color: #8FB8FF; margin-bottom: 16px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--on-navy-muted); font-size: 15px; }

/* ---------- AI Agent Kit ---------- */
.kit { background: radial-gradient(50% 90% at 85% 50%, rgba(61, 139, 255, .18), transparent 70%); }
.kit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.kit-grid p { color: var(--muted); margin: 16px 0 26px; max-width: 34em; }
.kit-tags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kit-tags li { padding: 22px 20px; border-radius: var(--r); background: var(--glass); border: 1px solid #fff; box-shadow: var(--shadow); backdrop-filter: blur(8px); font-weight: 600; position: relative; padding-left: 52px; }
.kit-tags li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 6px; background: linear-gradient(135deg, #3D8BFF, #0B5CF0); }
.kit-tags li:nth-child(even)::before { background: linear-gradient(135deg, #FFB067, #FF6A00); }

/* ---------- Hỏi đáp ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.faq-grid > div:first-child p:last-child { color: var(--muted); margin-top: 16px; }
.qa-list { display: grid; gap: 12px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.qa[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; border-radius: var(--r); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.pm { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
.qa[open] .pm::after { transform: rotate(0); }
.qa p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.form-intro > p { color: var(--muted); margin-top: 16px; }
.mini-steps { counter-reset: m; margin: 26px 0; display: grid; gap: 12px; }
.mini-steps li { counter-increment: m; display: flex; gap: 12px; align-items: center; }
.mini-steps li::before { content: counter(m); width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.contact { font-size: 17px; }
.form { padding: 28px; display: grid; gap: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.f label, .f legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; padding: 0; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; min-height: 50px; padding: 12px 16px; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #5F6C84; }
input:hover, select:hover, textarea:hover { border-color: #B9CDEE; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 92, 240, .15); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #FFF7F6 !important; }
.f-err { color: var(--danger); font-size: 14px; margin-top: 6px; min-height: 0; }
.f-err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: 15px; transition: all .15s; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.f-note { font-size: 13.5px; color: var(--muted); }
.spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(11, 27, 51, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.btn[aria-busy="true"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.result { border-top: 1px dashed var(--line); padding-top: 20px; display: grid; gap: 14px; }
.result:focus { outline: none; }
.result-t { font-weight: 500; }
.result-t strong { color: var(--orange-text); }
.result textarea { background: var(--bg-soft); font-size: 15px; }
.status { font-size: 14.5px; color: var(--ok); }
.status.is-warn { color: var(--danger); }

/* ---------- Footer ---------- */
.ft { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.ft-grid p { color: var(--muted); max-width: 30em; }
.ft-legal { margin-top: 10px; font-size: 14px; }
.ft h2 { font: 600 14px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ft ul { display: grid; gap: 10px; }
.ft a { color: var(--ink); text-decoration: none; }
.ft a:hover { color: var(--blue); text-decoration: underline; }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- Máy tính bảng ---------- */
@media (max-width: 1080px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .sec-head, .kit-grid, .faq-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 8px; }
  .sec-head { gap: 14px; margin-bottom: 28px; }
  .flow { max-width: 560px; width: 100%; margin: 0 auto; }
  .dx-panel { padding-left: 18px; }
  .dx-panel dl { grid-template-columns: 1fr; }
}
/* ---------- Điện thoại ---------- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hd { padding: 10px 0; }
  .hero { padding-top: 12px; }
  h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .lead { margin: 16px 0 22px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .flow { aspect-ratio: 1 / 1.22; margin-top: 12px; }
  .gc .ln-s { display: none; }
  .gc { width: 46%; min-width: 0; padding: 12px 12px 14px; border-radius: 16px; }
  .gc b { font-size: 14.5px; margin: 10px 0 8px; }
  .gi { width: 38px; height: 38px; }
  .gc-1 { left: 0; top: 13%; } .gc-2 { left: auto; right: 0; top: 2%; } .gc-3 { right: 0; top: 50%; } .gc-4 { left: 4%; bottom: 4%; }
  .flow figcaption { top: auto; bottom: -6px; right: 0; max-width: 60%; font-size: 12px; }
  .flow-toggle { bottom: auto; top: 0; width: 44px; height: 44px; }
  .pledges { grid-template-columns: 1fr; padding: 6px 14px; margin-top: 28px; }
  .pledges li { justify-content: flex-start; padding: 10px 4px; }
  .pledges li + li { border-left: 0; border-top: 1px solid var(--line); }
  .tile { width: 40px; height: 40px; }
  .sec { padding: 64px 0; }
  .dx-btn { gap: 14px; padding: 14px; }
  .dx-t { font-size: 17px; }
  .dx .tile { width: 42px; height: 42px; }
  .dx-panel { padding: 0 14px 16px; }
  .row-btns .btn { width: 100%; }
  .sol-grid { grid-template-columns: 1fr; gap: 12px; }
  .sol a { flex-direction: row; align-items: center; padding: 12px; gap: 14px; }
  .sol-art { width: 76px; height: 76px; flex: none; border-radius: 14px; }
  .sol-body { padding: 0 40px 0 0 !important; }
  .sol-body h3 { font-size: 18px; }
  .sol-body p { font-size: 14px; margin-top: 4px; }
  .trial { display: none; }
  .sol .chev { top: 50%; bottom: auto; margin-top: -16px; right: 12px; width: 32px; height: 32px; border: 0; }
  .band { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; row-gap: 22px; }
  .steps li { padding: 0 0 0 20px; }
  .kit-tags { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kit-tags li { padding: 16px 14px 16px 42px; font-size: 14.5px; }
  .kit-tags li::before { left: 14px; }
  .faq-grid, .form-grid { gap: 28px; }
  .form { padding: 20px 16px; }
  .f-row { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Logo thật ---------- */
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo-sm img { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- Nhật ký thực hành + người phụ trách ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.story { padding: 36px; }
.story h2 { font-size: clamp(26px, 3vw, 36px); }
.story > p:not(.kicker) { color: var(--muted); margin-top: 14px; }
.pill { display: inline-flex !important; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: var(--orange-soft); color: var(--orange-text) !important; font-weight: 600; font-size: 14px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .18); }
.kpi-label { font: 600 12px/1.4 var(--f-body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink) !important; margin-top: 22px !important; }
.kpis { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.kpis li { padding: 8px 14px; border-radius: var(--pill); background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 500; }
.person { padding: 32px; display: flex; flex-direction: column; }
.person .avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); margin-bottom: 18px; }
.person h3 { margin-bottom: 10px; }
.person > p:not(.kicker) { color: var(--muted); }
.person-links { display: grid; gap: 10px; margin-top: 22px; }
.person-links a { font-weight: 600; text-decoration: none; }
.person-links a:hover { text-decoration: underline; }

/* ---------- Bài viết nổi bật (thẻ do shortcode postCards sinh ra) ---------- */
.sec-head > .sec-link { justify-self: end; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #B9CDEE; color: var(--ink); }
.post-card-link img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-soft); }
.post-card-body { padding: 18px 20px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-meta .tag { padding: 3px 10px; border-radius: var(--pill); background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.post-card h3 { font-size: 19px; }
.post-card-body > p:last-child { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- Thanh liên hệ nhanh trên điện thoại (giống các trang khác) ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 15px; }
  .mbar a.is-main { background: var(--blue); border-color: var(--blue); color: #fff; }
  body { padding-bottom: 76px; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .story, .person { padding: 22px 18px; }
  .post-grid { grid-template-columns: 1fr; }
}

/* ---------- Trang con (Kiến thức…): đầu trang, lọc, trống, kêu gọi (T008) ---------- */
.nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.page-hero { position: relative; overflow: hidden; padding: 48px 0 40px; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto 45%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(61, 139, 255, .22), transparent 70%), radial-gradient(closest-side at 75% 70%, rgba(255, 154, 74, .16), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 64px); max-width: 15em; }
.page-hero h1, h2 { text-wrap: balance; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.sec-tight { padding-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 14px; margin-bottom: 18px; position: sticky; top: 92px; z-index: 5; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; display: block; }
.search .ico { position: absolute; left: 16px; top: 50%; margin-top: -10px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 46px !important; border-radius: var(--pill) !important; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { min-height: 42px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 500 14.5px/1 var(--f-body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.fchip:hover { border-color: var(--blue); color: var(--blue); }
.fchip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.result-count { color: var(--muted); font-size: 14.5px; margin: 0 4px 18px; }
.post-card { animation: up .5s cubic-bezier(.2, .7, .2, 1) both; }
.empty { padding: 40px 24px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.empty h2 { font-size: 28px; }
.empty p { color: var(--muted); }
.cta-band { padding: 72px 0; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-in > div:first-child p:last-child { color: var(--on-navy-muted); margin-top: 14px; max-width: 36em; }
.cta-actions { display: grid; justify-items: start; gap: 12px; }
.cta-actions p { color: var(--on-navy-muted); }
.cta-actions a:not(.btn) { color: #fff; }
@media (max-width: 900px) {
  .cta-in { grid-template-columns: 1fr; }
  .filters { position: static; }
}
@media (max-width: 640px) {
  .page-hero { padding: 24px 0 28px; }
  .page-hero h1 { font-size: clamp(32px, 9.4vw, 44px); }
  .filters { padding: 12px; }
  .search { max-width: none; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 2px 12px 4px; scrollbar-width: none; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
  .cta-band { padding: 56px 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}

/* ---------- Trang bài viết (/bai-viet/…, layout article.njk → xanh.njk) (T009) ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--orange)); }
.wrap.narrow { max-width: 860px; }
.article-head { position: relative; overflow: hidden; padding: 40px 0 28px; }
.article-head::before { content: ""; position: absolute; inset: -30% -10% auto 50%; height: 140%; pointer-events: none; background: radial-gradient(closest-side, rgba(61, 139, 255, .2), transparent 70%); }
.article-head .wrap { position: relative; display: grid; gap: 16px; justify-items: start; }
.article-head .crumbs { margin-bottom: 4px; }
.article-head .kicker { margin-bottom: 0; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; text-wrap: balance; }
.deck { font-size: clamp(17px, 1.7vw, 21px); color: var(--muted); line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 10px 14px 10px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow); }
.byline .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline > span { display: grid; line-height: 1.35; }
.byline strong { font-weight: 600; }
.byline small { color: var(--muted); font-size: 13.5px; }
.author-link { color: inherit; text-decoration: none; }
.author-link:hover { color: var(--blue); text-decoration: underline; }
.copy-btn { min-height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 13.5px/1 var(--f-body); cursor: pointer; transition: border-color .15s, color .15s; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--navy); animation: up .8s cubic-bezier(.2, .7, .2, 1) .3s both; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); max-width: 1080px; padding-top: 48px; padding-bottom: 88px; }
.toc { position: sticky; top: 104px; align-self: start; display: grid; gap: 12px; padding: 18px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .78); border: 1px solid var(--line); }
.toc-title { font: 600 12px/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 14.5px; line-height: 1.45; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.prose { font-size: 18px; line-height: 1.78; max-width: 68ch; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.prose section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 36px; }
.prose section > * { min-width: 0; }
.prose h2 { font-size: clamp(25px, 2.4vw, 31px); margin-top: 8px; text-wrap: balance; }
.prose h3 { font-size: 21px; }
.prose a { color: var(--blue); text-decoration-thickness: 1.5px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-accent, .prose a.btn-accent:hover { color: var(--ink); }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #fff; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li::marker { color: var(--blue); }
.prose ul.checklist { list-style: none; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); gap: 12px; box-shadow: 0 1px 2px rgba(11, 27, 51, .04); }
.prose ul.checklist li { position: relative; padding-left: 34px; }
.prose ul.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 7px; background: var(--blue-soft); }
.prose ul.checklist li::after { content: ""; position: absolute; left: 8px; top: calc(.3em + 4px); width: 5px; height: 10px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.prose blockquote { margin: 0; padding: 18px 22px; border-radius: var(--r); background: var(--blue-soft); border-left: 4px solid var(--blue); font-weight: 500; }
.prose .note { padding: 16px 20px; border-radius: var(--r-sm); background: var(--orange-soft); border-left: 4px solid var(--orange); font-size: 16.5px; }
.prose .note strong { color: var(--orange-text); }
.flow-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow-inline span { background: var(--blue); color: #fff; padding: 6px 14px; border-radius: var(--pill); font-size: 15px; font-weight: 600; line-height: 1.4; }
.flow-inline b { color: var(--orange-text); }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--blue-soft); color: var(--ink); font-weight: 600; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: #FAFCFF; }
.prose img { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); }
.prose code { font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--r); background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.sources { margin-top: 8px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); font-size: 16px; display: grid; gap: 10px; }
.sources h2 { font-size: 19px; margin: 0; }
.sources p { color: var(--muted); }
.sources ul { padding-left: 1.2em; }
.sol-box { margin-top: 24px; display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); color: var(--on-navy);
  background: radial-gradient(60% 120% at 0% 100%, rgba(31, 107, 255, .5), transparent 60%), radial-gradient(40% 80% at 100% 0%, rgba(255, 122, 26, .25), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.sol-box > div { display: grid; gap: 10px; min-width: 0; }
.sol-box h2 { font-size: 24px; margin: 0; color: var(--on-navy); }
.sol-box p { font-size: 16px; color: var(--on-navy-muted); }
.sol-box-k { font: 600 12px/1.4 var(--f-body) !important; letter-spacing: .16em; text-transform: uppercase; color: #8FB8FF !important; }
.sol-box .link { color: #fff; }
.sol-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #3D8BFF, #0B5CF0); color: #fff; flex: none; }
.sol-ico .ico { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  .article-head { padding: 20px 0 22px; }
  .byline { border-radius: var(--r); }
  .prose { font-size: 17px; }
  .sol-box { flex-direction: column; padding: 22px 18px; }
  .sol-box .row-btns .btn { width: 100%; }
}

/* ---------- Trang Giải pháp + Liên hệ (T010) ----------
   Các trang này giữ nguyên HTML cũ (anh vẫn sửa qua CMS theo mẫu cũ), chỉ đổi layout sang xanh.njk.
   Khối dưới đây cho các class cũ mặc giao diện mới; class mới tương ứng ghi trong ngoặc. */
.eyebrow { font: 600 12px/1.4 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 12px; } /* (.kicker) */
.eyebrow::after { content: ""; width: 32px; height: 1.5px; background: currentColor; opacity: .6; }
.band .eyebrow { color: #8FB8FF; }
.muted { color: var(--muted); }
.selectable { -webkit-user-select: all; user-select: all; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; } /* (.row-btns) */
.link-arrow { font-weight: 600; color: var(--blue); text-decoration: none; } /* (.link) */
.link-arrow::after { content: "→"; display: inline-block; margin-left: 8px; transition: translate .2s; }
.link-arrow:hover { text-decoration: underline; color: var(--blue-hover); }
.link-arrow:hover::after { translate: 3px 0; }
.section { padding: 88px 0; position: relative; } /* (.sec) */
.section-alt { background: linear-gradient(180deg, rgba(234, 242, 255, .7), rgba(245, 249, 255, .3)); } /* (.sec-soft) */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 36px; } /* (.sec-head) */
.section-head > div { max-width: 680px; display: grid; gap: 14px; }
.section-head > p { max-width: 460px; color: var(--muted); }
/* Đầu trang Giải pháp: chữ bên trái, thẻ "Dấu hiệu nên xem lại" bên phải */
.page-hero.compact .wrap, .page-hero-grid > div:first-child { display: grid; gap: 18px; justify-items: start; }
.page-hero.compact h1 { max-width: 15em; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-grid h1 { font-size: clamp(38px, 5.2vw, 64px); text-wrap: balance; }
.page-hero-grid > div:first-child > *, .page-hero.compact .wrap > *, .signs { animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero-grid > div:first-child > :nth-child(2), .page-hero.compact .wrap > :nth-child(2) { animation-delay: .06s; }
.page-hero-grid > div:first-child > :nth-child(3), .page-hero.compact .wrap > :nth-child(3) { animation-delay: .12s; }
.page-hero-grid > div:first-child > :nth-child(4), .page-hero.compact .wrap > :nth-child(4) { animation-delay: .2s; }
.page-hero-grid > div:first-child > :nth-child(5) { animation-delay: .28s; }
.signs { animation-delay: .35s; padding: 26px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid #fff; box-shadow: var(--shadow); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); display: grid; gap: 16px; }
.signs h2 { font-size: 22px; }
.signs ul { display: grid; gap: 12px; }
.signs li { display: flex; gap: 12px; align-items: flex-start; }
.signs .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--orange-soft); color: var(--orange-text); margin-top: 1px; }
/* Phạm vi công việc: lưới thẻ */
.does-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.does-grid.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.does-grid.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.does-grid.n5 .does { grid-column: span 2; }
.does-grid.n5 .does:nth-child(-n+2) { grid-column: span 3; }
.does { position: relative; padding: 24px 22px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: transform .2s, box-shadow .2s, border-color .2s; }
.does::before { content: ""; width: 36px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #3D8BFF); margin-bottom: 6px; }
.does:nth-child(even)::before { background: linear-gradient(90deg, var(--orange), #FFB067); }
.does:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #B9CDEE; }
.does h3 { font-size: 20px; }
.does p { color: var(--muted); font-size: 15.5px; }
/* Phạm vi thử đề xuất */
.pilot-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pilot-grid > div { display: grid; gap: 14px; }
.pilot { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.pilot > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.pilot > div:last-child { border-bottom: 0; }
.pilot dt { font: 600 12px/1.6 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.pilot dd { margin: 0; }
.pilot .not-fit { background: var(--orange-soft); }
.pilot .not-fit dt { color: var(--orange-text); }
/* Hỏi đáp kiểu cũ (details.faq) theo thẻ mới (.qa) */
.faq-grid > div:first-child { display: grid; gap: 14px; align-content: start; }
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.faq[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .ico { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); transition: transform .2s; }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq p { padding: 0 20px 20px; color: var(--muted); }
/* Dải kêu gọi cuối trang kiểu cũ */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-row > div:first-child { max-width: 640px; display: grid; gap: 14px; }
.cta-row > div:first-child p { color: var(--on-navy-muted); }
.cta-phone { color: var(--on-navy-muted); }
.cta-phone strong { color: #fff; }
/* Trang Liên hệ: form + cột liên hệ trực tiếp */
.form-grid.is-page { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.form-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.form-card.bordered { border: 1px solid var(--line); box-shadow: var(--shadow); }
.lead-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; padding: 0; }
.field-error { color: var(--danger); font-size: 14px; margin-top: 6px; }
.field-error:empty { display: none; }
.form-note { font-size: 13.5px; color: var(--muted); }
.lead-form > .btn { justify-self: stretch; }
.form-result { display: grid; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); }
.form-result:focus { outline: none; }
.result-title { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.result-title .ico { color: var(--ok); }
.form-result textarea { background: #fff; font-size: 15px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-status { font-size: 14.5px; font-weight: 500; color: var(--ok); }
.result-status.is-warn { color: var(--danger); }
.result-status:empty { display: none; }
.form-side { display: grid; gap: 18px; align-content: start; }
.form-side h2 { font-size: 24px; }
.form-side h2:not(:first-child) { margin-top: 14px; }
.contact-cards { display: grid; gap: 10px; }
.contact-cards li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: 0 1px 2px rgba(11, 27, 51, .04); }
.contact-cards li > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.contact-cards small { font-size: 13px; color: var(--muted); }
.contact-cards strong { font-weight: 600; overflow-wrap: anywhere; }
.cc-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex: none; }
.contact-cards .copy-btn { text-decoration: none; display: inline-flex; align-items: center; }
.next-steps { counter-reset: s; display: grid; gap: 12px; }
.next-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; }
.next-steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: var(--blue); color: #fff; }
@media (max-width: 1080px) {
  .does-grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .does-grid.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .does-grid.n5 .does, .does-grid.n5 .does:nth-child(-n+2) { grid-column: auto; }
  .does-grid.n5 .does:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .page-hero-grid, .pilot-grid, .form-grid.is-page { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .page-hero-grid h1 { font-size: clamp(34px, 10vw, 46px); }
  .page-hero-grid .btn-row .btn { width: 100%; white-space: normal; text-align: center; }
  .does-grid.n4, .does-grid.n5 { grid-template-columns: minmax(0, 1fr); }
  .does-grid.n5 .does:last-child { grid-column: auto; }
  .pilot > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .cta-row .cta-actions, .cta-row .cta-actions .btn { width: 100%; }
  .result-actions .btn { width: 100%; }
}

/* ---------- Về chúng tôi + Chính sách bảo mật (T013): giữ HTML cũ, chỉ đổi layout ---------- */
h2 em { font-style: normal; color: var(--blue); }
.band h2 em { color: #8FB8FF; }
.legal { font-size: 13.5px; color: var(--muted); }
/* Mô hình 3 bên: Anh/Chị ⇄ eBrand Agent ⇄ Đối tác */
.model { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.model-node { position: relative; padding: 28px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 27, 51, .04); display: grid; gap: 10px; align-content: start; }
.model-node p { color: var(--muted); }
.model-node.is-center { color: #fff; border-color: transparent; box-shadow: 0 18px 40px rgba(11, 92, 240, .28);
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 122, 26, .3), transparent 60%), linear-gradient(150deg, #0B5CF0, #0A2A5E); }
.model-node.is-center h3 { color: #fff; }
.model-node.is-center p { color: #E6EDF9; }
.model-node:not(:last-child)::after { content: "⇄"; position: absolute; right: -32px; top: 50%; translate: 0 -50%; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 700; box-shadow: var(--shadow); }
.disclosure { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--orange-soft); font-size: 15.5px; }
.disclosure .ico { color: var(--orange-text); margin-top: 2px; }
.disclosure.wide { margin-top: 28px; }
/* Văn bản thường (Vì sao có mảng này, Chính sách bảo mật) */
.prose.plain { gap: 16px; max-width: 62ch; }
.prose.plain h2:not(:first-of-type) { margin-top: 20px; }
.prose.plain .eyebrow { margin-bottom: -4px; }
/* Khối tác giả */
.author-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.author-photo { margin: 0; position: sticky; top: 104px; }
.author-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 4px solid #fff; box-shadow: 0 24px 50px rgba(11, 60, 150, .18); background: var(--card); }
.author-body { display: grid; gap: 16px; }
.author-body h2 em { display: block; }
.author-body .lead { margin: 0; }
.author-story, .author-cols { padding-top: 10px; border-top: 1px solid var(--line); }
.author-story h3, .author-cols h3 { margin: 12px 0 8px; font-size: 20px; }
.author-story p, .author-cols p { color: var(--muted); margin: 0 0 10px; }
.author-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.author-list { padding-left: 1.2em; list-style: disc; display: grid; gap: 8px; color: var(--muted); }
.author-list li::marker { color: var(--blue); }
.author-coffee { color: var(--muted); }
.author-note { padding: 16px 20px; border-radius: var(--r); background: var(--blue-soft); border-left: 4px solid var(--blue); font-style: italic; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 900px) {
  .model { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .model-node:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -30px; translate: -50% 0; rotate: 90deg; }
  .author-grid { grid-template-columns: minmax(0, 1fr); }
  .author-photo { position: static; max-width: 360px; }
  .author-cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
