/* =========================================================
   Link Talent - Headhunt landing (v4, nền sáng, tham khảo flowmingo.ai)
   - Nội dung nằm giữa hai đường kẻ dọc mảnh (rail), các section ngăn bằng đường kẻ ngang,
     có dấu chữ thập nhỏ ở giao điểm.
   - Tiêu đề lớn nét mảnh (300), chữ hệ thống (SF Pro trên Mac, Segoe UI trên Windows).
   - "Light": các tấm nền màu loang nhiều lớp radial-gradient + hạt nhiễu SVG, thẻ trắng đặt lên trên.
   - Đỏ Link Talent #ED1C24 là màu chủ đạo của tấm nền và nút chính.
   - Bo góc: nút bo tròn hoàn toàn, thẻ và tấm nền 16px, ô nhập 10px.
   ========================================================= */

:root {
  --bg: #FDFCFC;
  --soft: #F5F4F2;
  --soft-2: #EFEDEA;
  --line: #EBE8E4;
  --line-2: #DFDBD6;
  --ink: #111111;
  --text: #45413E;
  --muted: #69635D;
  --red: #ED1C24;
  --red-ink: #C8141B;
  --red-btn: #DB1820;
  --red-btn-hover: #C2141B;
  --rail: 1176px;
  --pad: 24px;
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --shadow-card: 0 1px 2px rgba(40, 20, 16, .06), 0 24px 56px rgba(60, 14, 18, .18);
  color-scheme: light;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: #FBD3D5; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.top-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }
main { overflow-x: clip; }
@supports not (overflow: clip) { main { overflow-x: hidden; } }
.hl { color: var(--red); }

/* ---------- Khung rail ---------- */
.rail { position: relative; width: 100%; max-width: var(--rail); margin-inline: auto; border-inline: 1px solid var(--line); }
.sec { border-top: 1px solid var(--line); }
.sec > .rail { padding: clamp(72px, 9vw, 112px) var(--pad); }
.sec > .rail::before, .sec > .rail::after, .ftr > .rail::before, .ftr > .rail::after {
  content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: #9C958E;
}
.sec > .rail::before, .ftr > .rail::before { left: -1px; }
.sec > .rail::after, .ftr > .rail::after { right: -1px; }

/* ---------- Chữ ---------- */
.eyebrow { font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 1.35rem + 1.7vw, 2.5rem); font-weight: 300; line-height: 1.18; letter-spacing: -0.018em; }
.lede { font-size: 1.0313rem; color: #5E5954; line-height: 1.6; max-width: 62ch; }
.lede a { color: var(--ink); text-underline-offset: 3px; }
.sec-head { margin-bottom: 56px; }
.sec-head h2 { margin-top: 12px; }
.sec-head .lede { margin-top: 16px; }
.sec-head.center { text-align: center; max-width: 780px; margin-inline: auto; }
.sec-head.center .lede { margin-inline: auto; }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.sec-head.split .lede { margin-top: 0; }
.tag { flex: none; display: inline-block; font-size: .6875rem; font-weight: 500; line-height: 1.5; padding: 1px 8px; border-radius: 999px; color: var(--muted); background: #F6F4F1; border: 1px solid var(--line); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; white-space: nowrap; text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn i { font-size: 1.05em; }
.btn-red { color: #fff; background: var(--red-btn); }
.btn-red:hover { background: var(--red-btn-hover); }
.btn-white { color: var(--ink); background: #fff; }
.btn-white:hover { background: #F4F2EF; }
.btn-ink { color: #fff; background: var(--ink); }
.btn-ink:hover { background: #2A2827; }
.btn-outline { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-outline:hover { background: var(--soft); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Tấm nền ánh sáng ---------- */
.plate { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; }
.plate::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); mix-blend-mode: soft-light; opacity: .45; pointer-events: none; }
.plate-red {
  background:
    radial-gradient(40% 32% at 92% 4%, rgba(255, 196, 168, .85) 0, rgba(255, 196, 168, 0) 70%),
    radial-gradient(36% 28% at 4% 2%, rgba(255, 166, 156, .7) 0, rgba(255, 166, 156, 0) 72%),
    radial-gradient(56% 46% at 22% 74%, rgba(112, 8, 18, .7) 0, rgba(112, 8, 18, 0) 70%),
    radial-gradient(40% 40% at 92% 94%, rgba(140, 14, 24, .55) 0, rgba(140, 14, 24, 0) 70%),
    linear-gradient(150deg, #EE4A50, #D91F28 50%, #B3121B);
}
.plate-rose {
  background:
    radial-gradient(46% 36% at 18% 14%, rgba(255, 228, 222, .95) 0, rgba(255, 228, 222, 0) 70%),
    radial-gradient(52% 40% at 88% 26%, rgba(255, 178, 172, .85) 0, rgba(255, 178, 172, 0) 70%),
    radial-gradient(44% 34% at 78% 92%, rgba(255, 236, 230, .85) 0, rgba(255, 236, 230, 0) 70%),
    radial-gradient(54% 44% at 12% 88%, rgba(196, 30, 52, .6) 0, rgba(196, 30, 52, 0) 72%),
    linear-gradient(145deg, #F8B0AB, #EE7A79 50%, #D93E46);
}
.plate-amber {
  background:
    radial-gradient(48% 36% at 74% 20%, rgba(255, 214, 160, .95) 0, rgba(255, 214, 160, 0) 70%),
    radial-gradient(42% 32% at 10% 6%, rgba(255, 196, 140, .8) 0, rgba(255, 196, 140, 0) 72%),
    radial-gradient(54% 44% at 22% 66%, rgba(150, 40, 22, .72) 0, rgba(150, 40, 22, 0) 70%),
    radial-gradient(40% 40% at 90% 92%, rgba(170, 52, 26, .6) 0, rgba(170, 52, 26, 0) 72%),
    linear-gradient(150deg, #F28A5A, #E5543B 50%, #C93A28);
}
.plate-wine {
  background:
    radial-gradient(50% 36% at 16% 14%, rgba(255, 170, 176, .7) 0, rgba(255, 170, 176, 0) 70%),
    radial-gradient(50% 34% at 92% 20%, rgba(240, 120, 132, .6) 0, rgba(240, 120, 132, 0) 72%),
    radial-gradient(60% 46% at 70% 96%, rgba(30, 6, 12, .85) 0, rgba(30, 6, 12, 0) 72%),
    linear-gradient(160deg, #C23A4C, #8C1B30 50%, #4E0E1E);
}
.plate-coral {
  background:
    radial-gradient(48% 36% at 20% 16%, rgba(255, 212, 182, .9) 0, rgba(255, 212, 182, 0) 70%),
    radial-gradient(50% 38% at 90% 24%, rgba(255, 162, 190, .8) 0, rgba(255, 162, 190, 0) 70%),
    radial-gradient(42% 32% at 80% 90%, rgba(255, 220, 200, .8) 0, rgba(255, 220, 200, 0) 70%),
    radial-gradient(56% 44% at 12% 90%, rgba(150, 20, 50, .7) 0, rgba(150, 20, 50, 0) 72%),
    linear-gradient(150deg, #F47B6B, #E54B55 50%, #C42A45);
}
.plate-mist {
  background:
    radial-gradient(48% 40% at 10% 8%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 44% at 94% 8%, rgba(253, 222, 216, .95) 0, rgba(253, 222, 216, 0) 70%),
    radial-gradient(50% 46% at 86% 96%, rgba(250, 206, 198, .85) 0, rgba(250, 206, 198, 0) 72%),
    radial-gradient(46% 40% at 6% 94%, rgba(230, 228, 236, .95) 0, rgba(230, 228, 236, 0) 70%),
    linear-gradient(150deg, #F7F5F4, #F1EDEC 50%, #ECE7E6);
}
.plate-blush {
  background:
    radial-gradient(54% 40% at 50% 6%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(46% 40% at 4% 72%, rgba(253, 218, 214, .9) 0, rgba(253, 218, 214, 0) 72%),
    radial-gradient(46% 40% at 98% 82%, rgba(255, 200, 194, .85) 0, rgba(255, 200, 194, 0) 72%),
    linear-gradient(170deg, #FBF4F3, #F8E4E2 60%, #F3D3D0);
}
.plate-sunset {
  background:
    radial-gradient(34% 60% at 98% 4%, rgba(255, 204, 150, .85) 0, rgba(255, 204, 150, 0) 70%),
    radial-gradient(30% 50% at 2% 100%, rgba(255, 170, 120, .6) 0, rgba(255, 170, 120, 0) 70%),
    radial-gradient(50% 70% at 20% 10%, rgba(120, 8, 18, .5) 0, rgba(120, 8, 18, 0) 70%),
    linear-gradient(120deg, #C21F26, #D0352B 45%, #D43A2C 70%, #C2282A);
}

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(253, 252, 252, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr .rail { border-inline-color: transparent; }
.hdr-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--pad); }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; margin-left: 40px; }
.nav ul { display: flex; gap: 4px; margin-inline: auto; }
.nav ul a { display: block; padding: 6px 12px; border-radius: 999px; text-decoration: none; font-size: .875rem; color: #3E3A37; transition: color .2s, background-color .2s; }
.nav ul a:hover { color: var(--ink); background: var(--soft); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; text-decoration: none; color: var(--ink); }
.nav-phone i { color: var(--red); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); align-items: center; justify-content: center; font-size: 20px; }

/* ---------- Hero ---------- */
.hero { padding-top: var(--header-h); }
.hero-rail { padding: 12px; }
.hero-card { position: relative; min-height: min(780px, calc(100vh - var(--header-h) - 24px)); display: flex; align-items: center; }
.hero-card::before, .hero-card::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; }
.hero-card::before { z-index: 1; background: linear-gradient(90deg, rgba(14, 9, 8, .66), rgba(14, 9, 8, .42) 46%, rgba(14, 9, 8, .08) 78%), linear-gradient(180deg, rgba(14, 9, 8, 0) 55%, rgba(14, 9, 8, .28)); }
.hero-card::after { z-index: 1; background-image: var(--grain); mix-blend-mode: overlay; opacity: .16; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 40%; border-radius: 20px; }
.hero-copy { position: relative; z-index: 2; padding: clamp(40px, 6vw, 80px) clamp(24px, 4.5vw, 56px); max-width: 680px; color: #fff; }
.hero-brand { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; letter-spacing: .01em; color: #fff; }
.hero-brand img { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: #fff; }
h1 { margin-top: 18px; color: #fff; font-size: clamp(2.35rem, 1.2rem + 3vw, 3.6rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.025em; }
.ribbon { position: relative; width: fit-content; margin: 26px 0 26px calc(-1 * clamp(24px, 4.5vw, 56px) - 14px); filter: drop-shadow(0 10px 18px rgba(90, 6, 12, .35)); }
.ribbon span {
  display: block; white-space: nowrap; padding: 10px 46px 10px calc(clamp(24px, 4.5vw, 56px) + 14px);
  font-size: clamp(1.05rem, .85rem + .7vw, 1.5rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: #fff;
  background: linear-gradient(180deg, #F0393F, #D41C23);
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%);
}
.ribbon::after { content: ""; position: absolute; left: 0; bottom: -12px; border-top: 12px solid #7A0A10; border-left: 14px solid transparent; }
.hero-sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.link-light { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .9375rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.link-light:hover { border-bottom-color: #fff; }

.paper { position: absolute; z-index: 3; right: -44px; top: 56px; width: 372px; filter: drop-shadow(0 30px 40px rgba(30, 16, 12, .28)) drop-shadow(0 2px 4px rgba(30, 16, 12, .1)); }
.paper-in {
  position: relative; padding: 16px 20px 18px; border-radius: 14px; font-size: .8125rem; color: var(--text);
  background: linear-gradient(180deg, #FFFEFC, #FBF9F6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.paper-in::after { content: ""; position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; background: linear-gradient(135deg, #F4F1ED 0%, #D9D3CC 50%, transparent 50%); border-radius: 0 0 0 6px; }
.pp-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pp-head .tag { margin-left: auto; }
.pp-head i { font-size: 15px; }
.pp-role { margin-top: 12px; font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.pp-role small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }
.pp-cap { margin: 14px 0 6px; font-size: .75rem; color: var(--muted); }
.pp-list { display: grid; gap: 7px; }
.pp-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) 64px 28px; gap: 8px; align-items: center; color: var(--ink); }
.pp-list-b li { grid-template-columns: 16px minmax(0, 1fr) auto; }
.pp-list i { font-size: 16px; color: var(--ink); }
.pp-list b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-list .bar { display: block; height: 5px; border-radius: 3px; background: #EEEAE6; overflow: hidden; }
.pp-list .bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--red); }
.pp-list b.ok { font-size: .6875rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; color: #1B7F4B; background: #E6F5EC; }
.mark { position: relative; width: fit-content; }
.mark svg { position: absolute; left: -2px; right: -4px; bottom: -5px; width: calc(100% + 6px); height: 7px; overflow: visible; }
.mark path { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pp-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 26px 6px 0; border-top: 1px solid var(--line); }
.pp-total p { font-size: .9375rem; color: var(--ink); }
.pp-total small { font-size: .75rem; color: var(--muted); }
.pp-total b { font-size: 2.75rem; font-weight: 300; line-height: .95; letter-spacing: -0.03em; color: var(--red-ink); }

/* ---------- Bậc thang cấp bậc ---------- */
.sec-levels .sec-head { margin-bottom: 40px; }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.lv { display: flex; flex-direction: column; padding: 22px 24px 24px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.lv:nth-child(1) { min-height: 230px; }
.lv:nth-child(2) { min-height: 300px; }
.lv:nth-child(3) { min-height: 370px; }
.lv:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(150, 20, 30, .16); }
.lv-n { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; color: rgba(17, 17, 17, .62); }
.lv-name { margin-top: auto; font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.lv-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.lv-roles li { padding: 3px 10px; border-radius: 999px; font-size: .8125rem; color: var(--ink); background: rgba(255, 255, 255, .72); }
.lv-top .lv-n { color: rgba(255, 255, 255, .85); }
.lv-top .lv-name { color: #fff; }
.lv-top .lv-roles li { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.js .levels .reveal:nth-child(2) { transition-delay: .08s; }
.js .levels .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Khi nào nên dùng headhunt ---------- */
.when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.when li { position: relative; isolation: isolate; overflow: hidden; padding: 26px 26px 28px; border-radius: 16px; background: var(--soft); }
.when li::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(70% 60% at 100% 0%, rgba(255, 170, 160, .55) 0, rgba(255, 170, 160, 0) 70%), radial-gradient(60% 50% at 0% 100%, rgba(255, 220, 210, .7) 0, rgba(255, 220, 210, 0) 70%); }
.when li:hover::before { opacity: 1; }
.when-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--red); background: #fff; box-shadow: 0 1px 2px rgba(40, 20, 16, .06), 0 6px 16px rgba(40, 20, 16, .06); }
.when h3 { margin-top: 22px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.when p { margin-top: 8px; font-size: .9375rem; color: var(--text); line-height: 1.6; }
.when-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 10px; padding: 22px 26px; border-radius: 16px; border: 1px solid var(--line-2); }
.when-cta p { font-size: 1.0625rem; color: var(--ink); }
.js .when .reveal:nth-child(3n+2) { transition-delay: .06s; }
.js .when .reveal:nth-child(3n) { transition-delay: .12s; }

/* ---------- 5 điểm khác biệt: tiêu đề ---------- */
.diff-head { max-width: 860px; }
.ai-pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 6px 18px rgba(200, 20, 30, .08); font-size: .9375rem; font-weight: 500; color: var(--ink); }
.ai-pill-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px; background: linear-gradient(150deg, #F2545A, #D91F28 60%, #B3121B); box-shadow: 0 4px 10px rgba(217, 31, 40, .35); }
.ai-pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .9) 48%, transparent 66%); transform: translateX(-120%); pointer-events: none; }
.diff-head h2 { margin-top: 18px; font-size: clamp(2.3rem, 1.35rem + 2.7vw, 3.4rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.025em; }
.five { display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; margin-right: .12em; border-radius: .26em; vertical-align: -.16em; color: #fff; font-weight: 400; line-height: 1; box-shadow: 0 12px 28px rgba(200, 20, 30, .32); }
.mark-word { position: relative; white-space: nowrap; }
.mark-word svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; }
.mark-word path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.diff-head .lede { margin-top: 22px; font-size: 1.0625rem; color: var(--text); }

/* ---------- 5 điểm khác biệt: thanh mục lục dính ---------- */
.suite-wrap { position: relative; margin-inline: calc(-1 * var(--pad)); margin-top: 48px; margin-bottom: calc(-1 * clamp(72px, 9vw, 112px)); --subnav: 57px; }
.diff-nav {
  position: sticky; top: var(--header-h); z-index: 20; display: flex; justify-content: center; gap: 6px;
  padding: 10px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(253, 252, 252, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  overflow-x: auto; scrollbar-width: none;
}
.diff-nav::-webkit-scrollbar { display: none; }
.diff-nav a { position: relative; isolation: isolate; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: #6E6862; text-decoration: none; transition: color .3s, box-shadow .3s; }
.diff-nav a span { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; color: #9C958E; transition: color .3s; }
.diff-nav a::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(60% 80% at 90% 0%, rgba(255, 196, 168, .8) 0, rgba(255, 196, 168, 0) 70%), linear-gradient(150deg, #EE4A50, #D91F28 55%, #B3121B); }
.diff-nav a:hover { color: var(--ink); }
.diff-nav a.is-done { color: var(--ink); }
.diff-nav a.is-done span { color: var(--red); }
.diff-nav a.is-on { color: #fff; box-shadow: 0 8px 20px rgba(217, 31, 40, .3); }
.diff-nav a.is-on::before { opacity: 1; }
.diff-nav a.is-on span { color: rgba(255, 255, 255, .85); }

/* ---------- 5 điểm khác biệt: nội dung ---------- */
.suite { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.suite::before, .suite::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; }
.suite::before { bottom: 0; background: var(--line); }
.suite::after { width: 2px; margin-left: -.5px; height: calc(var(--sp, 0) * 100%); background: linear-gradient(180deg, rgba(237, 28, 36, .2), var(--red)); }
.suite-dot { position: absolute; z-index: 2; left: 50%; top: calc(var(--sp, 0) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -5.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, .15), 0 0 18px rgba(237, 28, 36, .7); }
.feat { display: contents; }
.feat-text { position: relative; grid-column: 1; min-height: max(360px, 52vh); padding: 56px 56px 48px 40px; scroll-margin-top: calc(var(--header-h) + 72px); transition: opacity .5s var(--ease); }
.feat:nth-child(2) .feat-text { grid-row: 1; }
.feat:nth-child(3) .feat-text { grid-row: 2; }
.feat:nth-child(4) .feat-text { grid-row: 3; }
.feat:nth-child(5) .feat-text { grid-row: 4; }
.feat:nth-child(6) .feat-text { grid-row: 5; }
.feat-text::after { content: ""; position: absolute; right: 0; top: 92px; width: 44px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.feat.is-active .feat-text::after { transform: scaleX(1); }
.js .feat:not(.is-active) .feat-text { opacity: .42; }
.feat-num { display: block; margin-bottom: 14px; font-size: clamp(2.75rem, 1.9rem + 2.2vw, 4rem); font-weight: 200; line-height: 1; letter-spacing: -0.045em; color: var(--red); font-variant-numeric: tabular-nums; transition: color .5s; }
.js .feat:not(.is-active) .feat-num { color: #CFC8C2; }
.feat-text h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.45rem, 1.15rem + .8vw, 1.875rem); font-weight: 400; letter-spacing: -0.018em; line-height: 1.25; }
.ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 16px; color: var(--red); background: #fff; border: 1px solid var(--line-2); }
.feat-text > p { margin-top: 14px; color: var(--text); font-size: 1.0313rem; max-width: 46ch; }
.checks { margin-top: 18px; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 26px; font-size: .9375rem; color: var(--ink); line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 10px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

.feat-plate {
  grid-column: 2; grid-row: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + var(--subnav) + 16px);
  height: min(600px, calc(100vh - var(--header-h) - var(--subnav) - 32px)); margin: 16px 20px;
  display: grid; place-items: center; padding: 40px; perspective: 1100px;
  transition: opacity .6s var(--ease);
}
.js .feat:not(.is-active) .feat-plate { opacity: 0; pointer-events: none; }
/* Quầng sáng trôi chậm phía sau thẻ để thẻ nổi lên */
.feat-plate::after { content: ""; position: absolute; z-index: -1; left: 12%; top: 8%; width: 76%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .62), rgba(255, 240, 236, .25) 55%, rgba(255, 255, 255, 0)); }
.stage { position: relative; width: 100%; max-width: 470px; transform: rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg)); transition: transform .5s var(--ease); }
.card { position: relative; overflow: hidden; transition: transform .9s var(--ease), opacity .7s var(--ease); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 70px rgba(70, 8, 18, .3), 0 0 110px rgba(255, 236, 230, .5); }
.card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); transform: translateX(-120%); }
.js .feat:not(.is-play) .card { opacity: 0; transform: translateY(46px) rotateX(14deg) scale(.93); }

.fbadge { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 30px rgba(60, 10, 20, .22); font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.fbadge i { font-size: 16px; color: var(--red); }
.fbadge b { font-size: 1.0625rem; color: var(--red-ink); }
.fb-a { left: -28px; top: -22px; }
.fb-b { right: -24px; bottom: -20px; }
.js .feat:not(.is-play) .fbadge { opacity: 0; transform: translateY(18px) scale(.88); }
.feat.is-play .fb-a { transition-delay: .5s; }
.feat.is-play .fb-b { transition-delay: .7s; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #22A56A; box-shadow: 0 0 0 3px rgba(34, 165, 106, .2); }

.shot { margin: 0; width: 100%; border-radius: 12px; background: #fff; }
.shot figcaption { padding: 9px 14px; font-size: .75rem; color: #5E5954; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.shot figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22A56A; }
.scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(237, 28, 36, 0), rgba(237, 28, 36, .14) 80%, rgba(237, 28, 36, .5)); border-bottom: 2px solid rgba(237, 28, 36, .8); }

.ui { width: 100%; background: #fff; border-radius: 14px; padding: 22px; font-size: .9375rem; }
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui-head p { font-size: .8438rem; font-weight: 500; color: #5E5954; }
.ui-role { margin: 4px 0 16px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.mx { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 6px; }
.mx span { padding: 10px 6px; border-radius: 8px; text-align: center; font-size: 1rem; font-weight: 600; color: var(--ink); background: #F3F1EE; font-variant-numeric: tabular-nums; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mx span:nth-child(-n+4) { background: none; font-size: .8125rem; font-weight: 600; color: #3E3A37; padding-block: 0 6px; line-height: 1.35; }
.mx span:nth-child(-n+4) small { display: block; font-size: .75rem; font-weight: 400; color: #6E6862; }
.mx span:nth-child(4n+1) { background: none; text-align: left; padding-left: 0; font-size: .9375rem; font-weight: 600; }
.mx span.up { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(220, 20, 30, .35); }
.js .feat:not(.is-play) .mx span { opacity: 0; transform: translateY(8px) scale(.94); }
.feat.is-play .mx span { transition-delay: calc(var(--i, 0) * 45ms + .35s); }
.ui-note { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--red); background: #FDF2F1; border-radius: 0 8px 8px 0; font-size: .875rem; color: #3E3A37; transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s; }
.js .feat:not(.is-play) .ui-note { opacity: 0; transform: translateX(-12px); }
.typing { display: flex; align-items: center; gap: 4px; margin-top: 14px; font-size: .8125rem; font-weight: 500; color: #5E5954; overflow: hidden; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .35; }
.typing span:last-of-type { margin-right: 6px; }
.ui-q { margin-top: 14px; display: grid; gap: 12px; counter-reset: q; }
.ui-q li { counter-increment: q; display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-weight: 500; color: var(--ink); line-height: 1.55; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ui-q li::before { content: counter(q); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; color: #fff; background: var(--ink); }
.js .feat:not(.is-play) .ui-q li { opacity: 0; transform: translateY(10px); }
.feat.is-play .ui-q li:nth-child(1) { transition-delay: 1.5s; }
.feat.is-play .ui-q li:nth-child(2) { transition-delay: 1.75s; }
.ui-funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-funnel div { padding: 12px; border-radius: 10px; background: #F3F1EE; }
.ui-funnel b { display: block; font-size: 1.875rem; font-weight: 400; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ui-funnel span { display: block; margin-top: 2px; font-size: .75rem; font-weight: 500; color: #5E5954; }
.ui-funnel .on { background: var(--red); box-shadow: 0 8px 18px rgba(220, 20, 30, .3); }
.ui-funnel .on b, .ui-funnel .on span { color: #fff; }
.ui-stages { margin-top: 16px; display: grid; gap: 8px; }
.ui-stages li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: #6E6862; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ui-stages li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #CFC8C2; flex: none; }
.ui-stages li.done { color: #3E3A37; }
.ui-stages li.done::before { background: #8F8780; border-color: transparent; }
.ui-stages li.now { color: var(--ink); font-weight: 600; }
.ui-stages li.now::before { background: var(--red); border-color: transparent; box-shadow: 0 0 0 3px #FCE1E2; }
.js .feat:not(.is-play) .ui-stages li { opacity: 0; transform: translateX(-10px); }
.feat.is-play .ui-stages li { transition-delay: calc(var(--i, 0) * 90ms + .5s); }
.ui-forecast { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; background: #FDF2F1; }
.gauge { flex: none; width: 64px; height: 38px; overflow: visible; }
.gauge path { fill: none; stroke-width: 7; stroke-linecap: round; }
.g-bg { stroke: #F6D3D4; }
.g-val { stroke: var(--red); stroke-dasharray: 100; stroke-dashoffset: 18; transition: stroke-dashoffset 1.3s var(--ease) .5s; }
.js .feat:not(.is-play) .g-val { stroke-dashoffset: 100; transition-delay: 0s; }
.ui-forecast b { display: block; color: var(--ink); font-weight: 600; }
.ui-forecast span { display: block; margin-top: 2px; font-size: .8438rem; color: #3E3A37; line-height: 1.5; }
.ui-kpi { margin-top: 14px; display: grid; gap: 10px; }
.ui-kpi li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; color: var(--ink); align-items: baseline; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ui-kpi b { font-size: .8125rem; font-weight: 600; color: var(--red-ink); }
.js .feat:not(.is-play) .ui-kpi li { opacity: 0; transform: translateY(10px); }
.feat.is-play .ui-kpi li { transition-delay: calc(var(--i, 0) * 120ms + .8s); }

@media (prefers-reduced-motion: no-preference) {
  .ai-pill::after { animation: pill-shine 4.5s ease-in-out 1.2s infinite; }
  @keyframes pill-shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
  .reveal.is-in .mark-word path, .diff-head.is-in .mark-word path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s var(--ease) .5s forwards; }
  .feat-plate::after { animation: drift 13s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate(-14%, -8%) scale(.92); } to { transform: translate(14%, 10%) scale(1.12); } }
  .feat.is-play .card::after { animation: shine 1.3s var(--ease) .55s; }
  @keyframes shine { to { transform: translateX(120%); } }
  .feat.is-play .scan { animation: scan 1.8s var(--ease) .7s; }
  @keyframes scan { 0% { top: -30%; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .feat.is-play .fbadge { animation: bob 6s ease-in-out 1.6s infinite; }
  .feat.is-play .fb-b { animation-delay: 2.4s; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
  .feat.is-play .mx .up { animation: pop .7s var(--ease) 1.25s both; }
  @keyframes pop { 0% { transform: scale(.9); } 55% { transform: scale(1.14); } 100% { transform: scale(1); } }
  .feat.is-play .typing { animation: typing-out .35s ease 1.35s forwards; }
  .feat.is-play .typing span { animation: blink 1s ease-in-out infinite; }
  .feat.is-play .typing span:nth-child(2) { animation-delay: .15s; }
  .feat.is-play .typing span:nth-child(3) { animation-delay: .3s; }
  @keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
  @keyframes typing-out { to { opacity: 0; height: 0; margin-top: 0; } }
  .live { animation: live 1.6s ease-in-out infinite; }
  @keyframes live { 50% { box-shadow: 0 0 0 6px rgba(34, 165, 106, 0); } }
}
@media (prefers-reduced-motion: reduce) {
  .typing { display: none; }
}

/* ---------- Quy trình ---------- */
.how { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px 72px; align-items: start; }
.how-head { position: sticky; top: calc(var(--header-h) + 40px); }
.how-head h2 { margin-top: 12px; }
.how-head .lede { margin-top: 16px; }
.how-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.autoplay-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: .8125rem; color: var(--text); }
.autoplay-btn:hover { background: var(--soft); }
.steps { border-top: 1px solid var(--line); }
.steps li { position: relative; border-bottom: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 20px; align-items: start; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; color: inherit; border-radius: 0; }
.tile { position: relative; isolation: isolate; overflow: hidden; width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: var(--muted); background: linear-gradient(180deg, #FFFFFF, #F6F4F1); border: 1px solid var(--line); transition: color .4s, border-color .4s, box-shadow .4s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(60% 50% at 80% 10%, rgba(255, 196, 168, .9) 0, rgba(255, 196, 168, 0) 70%), radial-gradient(70% 60% at 10% 100%, rgba(112, 8, 18, .6) 0, rgba(112, 8, 18, 0) 70%), linear-gradient(150deg, #EE4A50, #D91F28 55%, #B3121B); }
.steps li.is-on .tile { color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(200, 20, 30, .28); }
.steps li.is-on .tile::before { opacity: 1; }
.step-body { display: grid; gap: 4px; }
.step-k { font-size: .8125rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.step-t { font-size: 1.0625rem; line-height: 1.5; color: #6E6862; transition: color .3s; }
.step-o { font-size: .8125rem; color: #A39C95; transition: color .3s; }
.steps li.is-on .step-k { color: var(--red-ink); }
.steps li.is-on .step-t { color: var(--ink); }
.steps li.is-on .step-o { color: var(--muted); }
.step:hover .step-t { color: var(--ink); }
.step-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); }
.steps li.is-on .step-bar { width: calc(var(--p, 0) * 100%); }

/* ---------- Ngành ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ind { display: flex; flex-direction: column; padding: 8px; border-radius: 16px; background: var(--soft); }
.ind img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ind-body { display: flex; flex-direction: column; flex: 1; padding: 14px 10px 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { padding: 3px 10px; border-radius: 999px; font-size: .75rem; color: var(--ink); background: #fff; border: 1px solid var(--line); }
.ind h3 { margin-top: 14px; font-size: 1.1875rem; font-weight: 400; letter-spacing: -0.01em; }
.ind-body > p { margin: 6px 0 16px; font-size: .875rem; color: var(--muted); line-height: 1.55; }
.c3 { display: grid; gap: 5px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.c3 div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: .8125rem; }
.c3 dt { color: var(--red-ink); font-weight: 500; }
.c3 dd { color: var(--ink); }

/* ---------- Link Talent Intelligence ---------- */
@property --ai-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ai-head h2 { margin-top: 18px; font-size: clamp(2.3rem, 1.35rem + 2.7vw, 3.4rem); line-height: 1.12; letter-spacing: -0.025em; }
.ai-head .lede { margin-top: 20px; max-width: 64ch; color: var(--text); font-size: 1.0625rem; }
.ai-word { color: var(--red); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ai-word { background: linear-gradient(100deg, #C8141B 0%, #ED1C24 30%, #FF7A59 48%, #ED1C24 66%, #B3121B 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.ai-stage { position: relative; padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 36px) clamp(28px, 4vw, 40px); }
.ai-grid { position: absolute; inset: 0; pointer-events: none; opacity: .75;
  background-image: radial-gradient(rgba(200, 20, 30, .22) 1px, rgba(200, 20, 30, 0) 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 45%, #000 18%, transparent 78%); mask-image: radial-gradient(70% 62% at 50% 45%, #000 18%, transparent 78%); }
.ai-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px) minmax(0, 1fr); align-items: center; }
.ai-srcs { display: grid; gap: 26px; }
.ai-srcs li { display: flex; align-items: center; }
.src-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .07), 0 6px 14px rgba(60, 20, 20, .05); font-size: .8125rem; font-weight: 500; color: #5E5954; white-space: nowrap; transition: color .35s, background-color .35s, box-shadow .35s; }
.src-pill i { font-size: 15px; color: #A39C95; transition: color .35s; }
.wire { position: relative; flex: 1; min-width: 20px; height: 1px; background: repeating-linear-gradient(90deg, rgba(150, 140, 135, .45) 0 4px, transparent 4px 8px); transition: background .35s; }
.wire::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px 2px rgba(237, 28, 36, .6); opacity: 0; }
.ai-srcs-l .wire::after { left: 0; }
.ai-srcs-r .wire::after { right: 0; }
.ai-srcs li.is-used .src-pill { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(237, 28, 36, .35), 0 8px 20px rgba(200, 20, 30, .14); }
.ai-srcs li.is-used .src-pill i { color: var(--red); }
.ai-srcs li.is-used .wire { background: repeating-linear-gradient(90deg, rgba(237, 28, 36, .7) 0 4px, transparent 4px 8px); }

.ai-orbit { position: relative; isolation: isolate; padding: 2px; border-radius: 20px; }
.ai-orbit::before, .ai-orbit::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ai-a), #ED1C24, #FF8A5B, #FFD3C2, #F0466F, #B3121B, #ED1C24); }
.ai-orbit::before { inset: 0; z-index: 0; }
.ai-orbit::after { inset: -12px; z-index: -1; filter: blur(28px); opacity: .42; transition: opacity .5s; }
.ai-stage.is-thinking .ai-orbit::after { opacity: .85; }
.ai-window { position: relative; z-index: 1; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(80, 30, 30, .14); }
.aw-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.aw-id { display: grid; line-height: 1.3; }
.aw-id b { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.aw-status { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #5E5954; }
.aw-bar .tag { margin-left: auto; }
.aw-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.aw-avatar img { width: 18px; height: 18px; }
.aw-body { display: grid; gap: 18px; padding: 24px 22px; min-height: 300px; align-content: start; }
.aw-q { justify-self: end; max-width: 82%; padding: 11px 16px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: .9375rem; line-height: 1.5; }
.aw-a { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.aw-avatar-ai { width: 34px; height: 34px; border: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(237, 28, 36, .9), 0 0 22px rgba(237, 28, 36, .45); }
.aw-think { display: none; align-items: center; gap: 10px; min-height: 34px; font-size: .9063rem; font-weight: 500; color: #5E5954; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .35; }
.ai-stage.is-thinking .aw-think { display: flex; }
.ai-stage.is-thinking .aw-text { display: none; }
.aw-text { margin-top: 4px; font-size: 1rem; line-height: 1.68; color: var(--ink); min-height: 1.68em; }
.caret { display: none; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--red); }
.ai-stage.is-streaming .caret { display: inline-block; }
.aw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ai-stage.is-done .aw-meta { opacity: 1; transform: none; }
.aw-src { font-size: .8125rem; color: #5E5954; }
.aw-ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #E6F5EC; color: #1B7F4B; font-size: .75rem; font-weight: 600; }
.aw-ok i { font-size: 14px; }
.aw-input { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 7px 7px 7px 14px; border-radius: 14px; background: #F7F6F4; box-shadow: inset 0 0 0 1px var(--line); font-size: .9063rem; color: #757069; }
.aw-input > i { font-size: 16px; color: var(--red); }
.aw-input span { flex: 1; }
.aw-input b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--ink); font-size: 15px; }
.ai-prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 920px; margin: 30px auto 0; }
.ai-prompts button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08), 0 4px 10px rgba(60, 20, 20, .04); font-size: .875rem; font-weight: 500; color: var(--ink); transition: background-color .2s, color .2s, box-shadow .2s; }
.ai-prompts button i { font-size: 15px; color: var(--red); }
.ai-prompts button:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(237, 28, 36, .3), 0 6px 14px rgba(200, 20, 30, .1); }
.ai-prompts button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(17, 17, 17, .2); }
.ai-prompts button[aria-selected="true"] i { color: #FF9C86; }

@media (prefers-reduced-motion: no-preference) {
  .ai-word { animation: ai-text 7s linear infinite; }
  @keyframes ai-text { from { background-position: 0% 0; } to { background-position: 240% 0; } }
  .ai-orbit::before, .ai-orbit::after { animation: ai-spin 7s linear infinite; }
  .ai-stage.is-thinking .ai-orbit::before, .ai-stage.is-thinking .ai-orbit::after { animation-duration: 2.4s; }
  @keyframes ai-spin { to { --ai-a: 360deg; } }
  .ai-stage.is-thinking .dots i { animation: blink 1s ease-in-out infinite; }
  .ai-stage.is-thinking .dots i:nth-child(2) { animation-delay: .15s; }
  .ai-stage.is-thinking .dots i:nth-child(3) { animation-delay: .3s; }
  .ai-stage.is-thinking .aw-avatar-ai { animation: ai-pulse 1.2s ease-in-out infinite; }
  @keyframes ai-pulse { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(237, 28, 36, .7), 0 0 30px rgba(237, 28, 36, .65); } }
  .ai-stage.is-streaming .caret { animation: caret 1s steps(2, start) infinite; }
  @keyframes caret { to { visibility: hidden; } }
  .ai-stage.is-thinking .ai-srcs-l li.is-used .wire::after { opacity: 1; animation: wire-l 1.1s linear infinite; }
  .ai-stage.is-thinking .ai-srcs-r li.is-used .wire::after { opacity: 1; animation: wire-r 1.1s linear infinite; }
  @keyframes wire-l { from { left: 0; } to { left: calc(100% - 8px); } }
  @keyframes wire-r { from { right: 0; } to { right: calc(100% - 8px); } }
  .aw-body.swap .aw-q { animation: rise .35s var(--ease) both; }
}

/* ---------- 3C ---------- */
.fw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.fw-visual { padding: clamp(16px, 4vw, 40px); }
.stars { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.star-defs { position: absolute; }
.star-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.star-links path, .star-links circle { fill: none; vector-effect: non-scaling-stroke; }
.star-links .ring { stroke: rgba(200, 20, 30, .18); stroke-width: 1.5; }
.star-links .tri { stroke: rgba(200, 20, 30, .32); stroke-width: 1.5; }
.star-links .spoke { stroke: rgba(200, 20, 30, .3); stroke-width: 1; stroke-dasharray: 3 5; }
.star { position: absolute; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); transition: scale .45s var(--ease), filter .45s; filter: drop-shadow(0 8px 14px rgba(200, 20, 27, .25)); }
.star svg { width: 100%; height: 100%; display: block; overflow: visible; }
.st-comp { left: 50%; top: 30%; }
.st-char { left: 22%; top: 74%; }
.st-contrib { left: 78%; top: 74%; }
.star.is-hot { scale: 1.1; filter: drop-shadow(0 10px 22px rgba(200, 20, 27, .4)); }
.st-label { position: absolute; transform: translate(-50%, -50%); margin: 0; display: grid; gap: 1px; text-align: center; white-space: nowrap; font-size: .8125rem; color: var(--muted); }
.st-label b { font-size: 1.1875rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.l-comp { left: 50%; top: 8%; }
.l-char { left: 22%; top: 93%; }
.l-contrib { left: 78%; top: 93%; }
.stars-core { position: absolute; left: 50%; top: 59.3%; transform: translate(-50%, -50%); z-index: 2; display: grid; justify-items: center; gap: 4px; padding: 10px 14px; border-radius: 12px; text-align: center; background: #fff; box-shadow: 0 10px 24px rgba(120, 20, 30, .12); }
.stars-core img { width: 26px; height: 26px; }
.stars-core span { font-size: .75rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.fw-copy h2 { margin-top: 12px; }
.fw-copy .lede { margin-top: 16px; }
.fw-list { margin-top: 28px; border-top: 1px solid var(--line); }
.fw-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; cursor: default; transition: padding .35s var(--ease), box-shadow .35s; }
.fw-list li.is-hot { padding-left: 14px; box-shadow: inset 2px 0 0 var(--red); }
.fw-list b { font-size: 1rem; font-weight: 500; color: var(--red-ink); }
.fw-name { color: var(--ink); }
.fw-list li p:not(.fw-name) { margin-top: 2px; font-size: .9063rem; color: var(--muted); }

/* ---------- Cùng một chuẩn ---------- */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 16px; overflow: hidden; background: var(--soft); }
.quote img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 40% 50%; }
.quote-body { padding: clamp(28px, 4.5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.quote-body h2 { margin-top: 12px; font-size: clamp(1.5rem, 1.15rem + 1vw, 1.875rem); line-height: 1.3; }
.quote-body .lede { margin-top: 14px; }
.rounds { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.rounds li { padding: 14px 14px 0 0; font-size: .875rem; color: var(--ink); line-height: 1.4; }
.rounds li + li { padding-left: 14px; border-left: 1px solid var(--line-2); }
.rounds b { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 500; color: var(--red-ink); }

/* ---------- So sánh ---------- */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(5, auto); gap: 0 10px; }
.cmp-card { grid-row: span 6; display: grid; grid-template-rows: subgrid; padding: 28px 30px 12px; border-radius: 16px; }
.cmp-old { background: var(--soft); }
.cmp-lt { color: #fff; }
.cmp-top { padding-bottom: 20px; }
.cmp-kicker { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.cmp-lt .cmp-kicker { color: rgba(255, 255, 255, .9); }
.cmp-name { margin-top: 4px; font-size: clamp(1.375rem, 1.15rem + .6vw, 1.75rem); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); }
.cmp-lt .cmp-name { color: #fff; }
.cmp-row { padding: 16px 0; border-top: 1px solid var(--line-2); }
.cmp-lt .cmp-row { border-top-color: rgba(255, 255, 255, .26); }
.cmp-crit { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6E6862; margin-bottom: 6px; }
.cmp-lt .cmp-crit { color: rgba(255, 255, 255, .9); }
.cmp-txt { display: flex; gap: 10px; align-items: flex-start; font-size: 1.0313rem; line-height: 1.5; color: #3E3A37; }
.cmp-lt .cmp-txt { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgba(90, 0, 10, .35); }
.cmp-txt i { flex: none; margin-top: 2px; font-size: 19px; color: #8F8780; }
.cmp-lt .cmp-txt i { color: #fff; }
.cmp-lt.plate-red {
  background:
    radial-gradient(30% 22% at 98% 0%, rgba(255, 196, 168, .55) 0, rgba(255, 196, 168, 0) 70%),
    radial-gradient(60% 50% at 20% 80%, rgba(112, 8, 18, .55) 0, rgba(112, 8, 18, 0) 70%),
    linear-gradient(160deg, #E3343B, #CF1B24 50%, #A8111A);
  box-shadow: 0 30px 60px rgba(180, 20, 30, .22);
}
@supports not (grid-template-rows: subgrid) { .cmp-card { display: block; } }

/* ---------- Banner ---------- */
.sec-banner > .rail { padding: 16px; }
.banner { padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px); text-align: center; color: #fff; }
.banner h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.2vw, 2.9rem); max-width: 22ch; margin-inline: auto; }
.banner p { margin: 18px auto 0; max-width: 54ch; font-size: 1.0625rem; color: rgba(255, 255, 255, .92); }
.banner-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }

/* ---------- Hỏi đáp ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq-head .lede { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 1rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--red-ink); }
.faq-list summary i { flex: none; font-size: 14px; color: var(--muted); transition: transform .3s var(--ease); }
.faq-list details[open] summary i { transform: rotate(180deg); }
.faq-list details p { padding: 0 32px 20px 0; color: var(--text); font-size: .9375rem; max-width: 68ch; }

/* ---------- Liên hệ + form ---------- */
.sec-contact > .rail { padding: clamp(28px, 4vw, 48px) 16px; }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px 56px; align-items: start; padding: clamp(28px, 5vw, 64px); border-radius: 24px; }
.contact-side h2 { margin-top: 18px; font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.025em; }
.contact-side .lede { margin-top: 16px; color: #4F4A46; }
.side-cap { margin-top: 34px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6E6862; }
.next { position: relative; margin-top: 14px; display: grid; counter-reset: n; }
.next li { counter-increment: n; position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding-bottom: 18px; }
.next li::before { content: counter(n); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; color: #fff; background: var(--red-btn); box-shadow: 0 0 0 4px rgba(237, 28, 36, .12); }
.next li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 38px; bottom: 4px; width: 1px; background: rgba(200, 20, 30, .3); }
.next b { font-size: .9688rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.next span { font-size: .875rem; color: #5E5954; }
.ways { margin-top: 14px; display: grid; gap: 8px; }
.ways a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .05); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.ways a:hover { background: #fff; box-shadow: 0 8px 20px rgba(120, 20, 30, .1); }
.ways i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--red); background: #FDECEC; }
.ways span { display: grid; font-size: .8125rem; color: #5E5954; line-height: 1.35; }
.ways b { font-size: .9688rem; font-weight: 600; color: var(--ink); }

.form-card { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(40, 20, 16, .05), 0 30px 70px rgba(120, 20, 30, .14); }
.form-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(150deg, #F2545A, #D91F28 60%, #B3121B); box-shadow: 0 8px 18px rgba(217, 31, 40, .3); }
.form-title { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; }
.form-head p { margin-top: 2px; font-size: .8125rem; color: #5E5954; }
.fgroup { min-width: 0; margin: 0; padding: 0; border: 0; }
.fgroup > legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin: 24px 0 14px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.fgroup > legend + * { clear: both; }
.fgroup > legend span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: var(--red-ink); background: #FDECEC; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .seg-field > legend { font-size: .8125rem; font-weight: 500; color: #3E3A37; }
.field > label > span, .seg-field > legend > span { color: var(--red-ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; font-size: 1rem; color: var(--ink);
  background: #F7F6F4; border: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field ::placeholder { color: #757069; opacity: 1; }
.field select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, #5E5954 50%), linear-gradient(135deg, #5E5954 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { background-color: #F1EFEC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, .12); }
.field [aria-invalid="true"] { border-color: var(--red-ink) !important; background-color: #FFF7F7; }
.seg-field { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.seg-field > legend { padding: 0; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 13px; background: #F7F6F4; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 10px; font-size: .9375rem; font-weight: 500; color: #4F4A46; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg label:hover span { color: var(--ink); background: rgba(255, 255, 255, .6); }
.seg input:checked + span { color: var(--red-ink); font-weight: 600; background: #fff; box-shadow: 0 2px 8px rgba(60, 20, 20, .12), inset 0 0 0 1px rgba(237, 28, 36, .4); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.seg-field[aria-invalid="true"] .seg { box-shadow: inset 0 0 0 1px var(--red-ink); background: #FFF7F7; }
.seg-field .field-error { margin-top: 6px; }
.field-help { font-size: .75rem; color: #5E5954; }
.field-error { font-size: .8125rem; color: var(--red-ink); }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; align-items: start; margin-top: 20px; }
.field-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red-btn); }
.field-check label { font-size: .875rem; font-weight: 400; color: #4F4A46; line-height: 1.5; }
.field-check label a { color: var(--ink); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: var(--red-ink); font-size: .875rem; }
#request-form .btn-submit { margin-top: 20px; height: 54px; font-size: 1rem; box-shadow: 0 14px 28px rgba(220, 20, 30, .25); }
.form-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: .8125rem; color: #5E5954; }
.form-safe i { color: #1B7F4B; }
.form-success { text-align: center; padding: 48px 8px; }
.ok-ring { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; font-size: 42px; color: #1B7F4B; background: #E6F5EC; box-shadow: 0 0 0 8px rgba(34, 165, 106, .08); }
.form-success h3 { margin-top: 16px; font-size: 1.5rem; font-weight: 500; }
.form-success p { margin: 8px auto 22px; color: #4F4A46; max-width: 42ch; }

/* ---------- Footer ---------- */
.ftr { background: #F5F3F1; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.ftr-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.ftr-cols > div { padding: 32px var(--pad) 36px; }
.ftr-cols > div + div { border-left: 1px solid var(--line); }
.ftr-num { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; color: var(--red); }
.ftr-title { margin: 12px 0 14px; font-size: .8125rem; color: var(--muted); }
.ftr-links { display: grid; gap: 8px; }
.ftr-links a { color: var(--ink); text-decoration: none; }
.ftr-links a:hover { color: var(--red-ink); }
.ftr-brand { display: flex; align-items: center; gap: 24px; padding: 24px var(--pad); border-top: 1px solid var(--line); }
.ftr-brand img { height: 28px; width: auto; flex: none; }
.ftr-brand p { max-width: 70ch; font-size: .8125rem; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 16px var(--pad) 24px; border-top: 1px solid var(--line); font-size: .75rem; }
.ftr-bottom a { color: var(--muted); text-decoration: none; }

/* ---------- Nút liên hệ nổi ---------- */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 40; display: grid; gap: 10px; }
.fab a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: .75rem; font-weight: 700; color: var(--red); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(40, 20, 16, .12); transition: transform .2s var(--ease); }
.fab a:hover { transform: translateY(-2px); }
.fab a i { font-size: 20px; }
.fab .fab-zalo { color: #0068FF; }

/* ---------- Chuyển động ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .ind-grid .reveal:nth-child(3n+2) { transition-delay: .06s; }
  .js .ind-grid .reveal:nth-child(3n) { transition-delay: .12s; }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .2s; }
  .hero-copy > :nth-child(5) { animation-delay: .26s; }
  .paper { animation: paper-in 1s var(--ease) .3s both; }
  @keyframes paper-in { from { opacity: 0; transform: translateY(24px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
  .mark path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1s var(--ease) 1.1s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .paper { right: 16px; }
}

@media (max-width: 1180px) {
  .nav { margin-left: 24px; }
  .nav-phone { display: none; }
  .hero-copy { max-width: 560px; }
  .paper { width: 340px; }
}

@media (max-width: 1024px) {
  .hero-card { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-card::before { background: linear-gradient(180deg, rgba(14, 9, 8, .62), rgba(14, 9, 8, .5) 60%, rgba(14, 9, 8, .3)); }
  .hero-copy { max-width: none; padding-bottom: 260px; }
  .paper { position: relative; right: auto; top: auto; width: min(420px, calc(100% - 32px)); margin: -230px auto 16px; }
  .sec-head.split { grid-template-columns: 1fr; }
  .lv:nth-child(1) { min-height: 200px; }
  .lv:nth-child(2) { min-height: 250px; }
  .lv:nth-child(3) { min-height: 300px; }
  .suite-wrap { margin-bottom: 0; }
  .diff-nav { justify-content: flex-start; }
  .suite { grid-template-columns: 1fr; }
  .suite::before, .suite::after, .suite-dot, .feat-text::after { display: none; }
  .feat { display: block; }
  .feat + .feat { border-top: 1px solid var(--line); }
  .feat-text { min-height: 0; padding: 36px var(--pad) 20px; }
  .feat-plate { position: relative; top: auto; height: auto; min-height: 380px; margin: 0 var(--pad) 36px; padding: 48px 32px; }
  .js .feat:not(.is-active) .feat-text, .js .feat:not(.is-active) .feat-plate { opacity: 1; pointer-events: auto; }
  .js .feat:not(.is-active) .feat-num { color: var(--red); }
  .when { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how, .fw, .faq, .contact { grid-template-columns: 1fr; }
  .ai-layout { grid-template-columns: 1fr; gap: 14px; max-width: 680px; margin-inline: auto; }
  .ai-srcs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .ai-srcs-r { order: 3; }
  .wire { display: none; }
  .how-head { position: static; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote { grid-template-columns: 1fr; }
  .quote img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .ftr-cols { grid-template-columns: repeat(2, 1fr); }
  .ftr-cols > div:nth-child(3) { border-left: 0; }
  .ftr-cols > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(40, 20, 16, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; margin: 0; }
  .nav ul a { padding: 12px; font-size: 1rem; border-radius: 10px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-phone { display: inline-flex; justify-content: center; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); }
  .nav .btn { height: 46px; }
}

@media (max-width: 640px) {
  :root { --pad: 16px; }
  .rail { border-inline: 0; }
  .sec > .rail::before, .sec > .rail::after, .ftr > .rail::before, .ftr > .rail::after { display: none; }
  .hero-rail { padding: 8px; }
  .hero-card::before, .hero-card::after, .hero-photo { border-radius: 16px; }
  .hero-copy { padding: 36px 20px 240px; }
  h1 { font-size: 2.2rem; }
  .ribbon { margin-left: -28px; max-width: calc(100% + 28px); }
  .hero-photo { object-position: 30% 30%; }
  .ribbon span { padding: 9px 30px 9px 28px; font-size: 1rem; white-space: normal; }
  .hero-cta .btn { width: 100%; }
  .paper { width: calc(100% - 24px); margin-top: -210px; }
  .levels { grid-template-columns: 1fr; }
  .lv:nth-child(n) { min-height: 0; }
  .lv-name { margin-top: 18px; }
  .feat-plate { margin-inline: 0; padding: 44px 14px; min-height: 0; border-radius: 0; }
  .fb-a { left: -4px; top: -30px; }
  .fb-b { right: -4px; bottom: -30px; }
  .fbadge { padding: 7px 12px; font-size: .75rem; }
  .when { grid-template-columns: 1fr; }
  .when-cta .btn { width: 100%; }
  .diff-head h2 .mark-word { white-space: normal; }
  .mx span { padding: 9px 3px; font-size: .875rem; }
  .ind-grid { grid-template-columns: 1fr; }
  .rounds { grid-template-columns: 1fr; }
  .rounds li, .rounds li + li { padding: 10px 0; border-left: 0; }
  .rounds li + li { border-top: 1px solid var(--line-2); }
  .cmp { grid-template-columns: 1fr; gap: 10px; }
  .cmp-card { grid-row: auto; display: block; padding: 22px 20px 8px; }
  .sec-banner > .rail { padding: 8px; }
  .fw-list li { grid-template-columns: 1fr; gap: 4px; }
  .st-label { font-size: .6875rem; }
  .st-label b { font-size: .9375rem; }
  .stars-core { padding: 8px 10px; }
  .stars-core img { width: 20px; height: 20px; }
  .stars-core span { font-size: .6875rem; }
  .form-grid { grid-template-columns: 1fr; }
  .ai-srcs { display: none; }
  .aw-body { padding: 20px 16px; min-height: 280px; }
  .aw-input { margin: 0 12px 12px; }
  .contact { padding: 28px 16px; border-radius: 18px; }
  .sec-contact > .rail { padding: 12px 8px 24px; }
  .seg span { font-size: .875rem; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .ftr-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ftr-bottom { flex-direction: column; gap: 6px; }
  .fab { right: 12px; bottom: 14px; }
  .fab a { width: 46px; height: 46px; }
}

/* ---------- Dải logo đối tác (một màu, chạy ngang) ---------- */
.sec-logos > .rail { padding: 30px 0 6px; }
.logos-cap { padding-inline: var(--pad); text-align: center; font-size: .875rem; color: var(--muted); }
.marquees { margin-top: 14px; }
.marquee { display: flex; overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee + .marquee { border-top: 1px solid var(--line); }
.marquee-track { flex: none; display: flex; align-items: center; gap: 60px; padding-right: 60px; animation: marquee 90s linear infinite; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 100s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { display: block; max-width: none; opacity: .52; transition: opacity .25s; }
.marquee li:hover img { opacity: .9; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex: 1; flex-wrap: wrap; justify-content: center; gap: 28px 44px; padding: 0 var(--pad); }
  .marquee-track[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) {
  .marquee { padding: 18px 0; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .marquee img { transform: scale(.85); }
}
