/* =========================================================
   NTEK – giao diện website
   Màu thương hiệu lấy từ logo: xanh dương, xanh lá, vàng, đỏ
   ========================================================= */
:root {
  --blue: #2f5bd3;
  --blue-600: #2449b4;
  --blue-50: #eef3ff;
  --green: #1f9d47;
  --green-50: #e9f8ee;
  --yellow: #f2ac00;
  --yellow-50: #fff6dc;
  --red: #d3302f;
  --red-50: #fdecec;

  --navy-950: #070e22;
  --navy-900: #0b1530;
  --navy-800: #12204a;
  --navy-700: #1b2d63;

  --ink: #0f172a;
  --text: #2b3445;
  --muted: #5d6779;
  --line: #e2e7f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 30, 80, .22);
  --shadow-lg: 0 24px 60px -20px rgba(15, 30, 80, .35);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1, h2 { text-wrap: balance; }
.lead, .section-head p { text-wrap: pretty; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow-text { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; justify-content: center; }

.icon { flex: none; width: 24px; height: 24px; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.04em; font-family: var(--font); }
.logo .l-n { color: #3a5bbb; }
.logo .l-t { color: #27ad44; }
.logo .l-e { color: #f5b400; }
.logo .l-k { color: #d02a2a; }
.logo-light .l-n { color: #7d9bff; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 91, 211, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-950); color: #b8c3dd; font-size: .8125rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: #b8c3dd; }
.topbar-links a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav-link:hover { color: var(--blue); background: var(--blue-50); }
.nav-link.is-active { color: var(--blue); }
.nav-link.is-active::after { content: ""; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 8px; }
.nav-toggle .nt-close { display: none; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(880px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.mega-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .875rem; margin: 0 0 6px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 4px 0 4px 16px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.mega li a:hover { color: var(--blue); }
.mega-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; font-weight: 600; font-size: .9rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-blue { background: var(--blue); } .dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); } .dot-red { background: var(--red); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; color: #dbe3f5; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(47, 91, 211, .45), transparent 70%),
    radial-gradient(500px 380px at 10% 110%, rgba(31, 157, 71, .22), transparent 70%),
    radial-gradient(420px 300px at 60% 120%, rgba(242, 172, 0, .14), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero h1, .page-hero h1 { color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 88px 96px; }
.hero .lead, .page-hero .lead { font-size: 1.125rem; color: #c3cde6; max-width: 620px; }
.grad { background: linear-gradient(90deg, #7fa2ff, #5fd38a 55%, #ffcf4d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points .icon { color: #5fd38a; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 25%, var(--green) 25% 50%, var(--yellow) 50% 75%, var(--red) 75%); }
.eyebrow-light { color: #9db6ff; }

/* Orbit (hình minh họa trang chủ) */
.hero-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: min(500px, 100%); aspect-ratio: 1; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(157, 182, 255, .18); inset: 9%; }
.ring-2 { inset: 24%; border-style: dashed; border-color: rgba(157, 182, 255, .16); animation: spin 80s linear infinite; }
.ring-3 { inset: 38%; background: radial-gradient(circle, rgba(47, 91, 211, .35), transparent 70%); border: 0; }
.orbit-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 22px rgba(255, 255, 255, .03), var(--shadow-lg);
}
.orbit-hub small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; margin-top: 4px; letter-spacing: .04em; }
.logo-hub { font-size: clamp(1.6rem, 4vw, 2.4rem); justify-content: center; }
.orbit-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; width: 96px; text-align: center;
  animation: float 6s ease-in-out infinite; animation-delay: var(--d);
}
.orbit-chip {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .2s, background .2s;
}
.orbit-node:hover .orbit-chip { transform: scale(1.08); background: rgba(255, 255, 255, .16); }
.orbit-node:hover { color: #fff; }
.orbit-label { font-size: .78rem; font-weight: 600; color: #dbe3f5; line-height: 1.2; }
.node-blue .orbit-chip { color: #8fb0ff; } .node-green .orbit-chip { color: #6ee59b; }
.node-yellow .orbit-chip { color: #ffd257; } .node-red .orbit-chip { color: #ff8a80; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }

/* Page hero */
.page-hero-inner { padding-block: 56px 64px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: #93a0bf; margin-bottom: 22px; }
.crumbs a { color: #b9c6e6; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: #fff; max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sol-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 600; font-size: .9rem; }
.sol-badge a { color: #c9d5f5; }
.sol-badge a:hover { color: #fff; }
.hero-highlights { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; max-width: 820px; }
.hero-highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #dbe3f5; }
.hero-highlights .icon { color: #5fd38a; margin-top: 3px; }
.sol-hero .hero-actions { margin: 24px 0 26px; }

/* ---------- Partner strip ---------- */
.partner-strip { background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, .06); }
.partner-strip-inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; flex-wrap: wrap; }
.partner-strip p { margin: 0; color: #7f8bab; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.partner-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; flex: 1; justify-content: space-between; }
.partner-strip li { color: #c9d3ea; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; opacity: .85; }

/* ---------- Section ---------- */
.section { padding-block: 88px; }
.section-tight { padding-block: 48px 72px; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #c3cde6; }
.section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.is-light h2 { color: #fff; }
.section-head.is-light p { color: #c3cde6; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.narrow { max-width: 900px; margin-inline: auto; }

/* ---------- Card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd7ec; color: var(--text); }
.card h3 { margin-top: 4px; }
.card p { color: var(--muted); font-size: .95rem; }
.card-kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 18px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); padding-top: 8px; }
a.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .2s; }

.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; }
.tile-sm { width: 36px; height: 36px; border-radius: 10px; }
.tile-sm .icon { width: 19px; height: 19px; }
.tile-lg { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px; }
.tile-lg .icon { width: 30px; height: 30px; }
.tile-blue { background: var(--blue-50); color: var(--blue); }
.tile-green { background: var(--green-50); color: var(--green); }
.tile-yellow { background: var(--yellow-50); color: #b07c00; }
.tile-red { background: var(--red-50); color: var(--red); }
.tile-glass { background: rgba(255, 255, 255, .08); color: #9db6ff; border: 1px solid rgba(255, 255, 255, .14); }

.field-card h3 { margin-top: 18px; }
.badge-new { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }

/* ---------- About & stats ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; margin-bottom: 10px; }
.stat:nth-child(1) strong { color: var(--blue); } .stat:nth-child(2) strong { color: var(--green); }
.stat:nth-child(3) strong { color: #c98f00; } .stat:nth-child(4) strong { color: var(--red); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Why & process ---------- */
.why-item { padding: 8px 4px; }
.why-item h3 { margin-top: 18px; }
.why-item p { color: #aeb9d4; font-size: .95rem; }
.process { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
.process-title { text-align: center; color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); padding: 22px 18px; }
.steps h3 { font-size: 1rem; margin: 10px 0 6px; color: #fff; }
.steps p { font-size: .87rem; color: #aeb9d4; margin: 0; }
.step-no { font-weight: 800; font-size: .85rem; color: #9db6ff; letter-spacing: .06em; }
.steps li:nth-child(4n+2) .step-no { color: #6ee59b; }
.steps li:nth-child(4n+3) .step-no { color: #ffd257; }
.steps li:nth-child(4n+4) .step-no { color: #ff8a80; }

/* ---------- Partners ---------- */
.partners-home { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.partner-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner-mini { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 18px; background: #fff; }
.partner-mini strong { display: block; color: var(--ink); font-size: 1.05rem; }
.partner-mini span { color: var(--muted); font-size: .82rem; }
.partner-card .partner-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.partner-card h3 { margin: 0 0 2px; }
.partner-mark { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue)); letter-spacing: .02em; }
.partner-card:nth-child(4n+2) .partner-mark { background: linear-gradient(135deg, #116d31, var(--green)); }
.partner-card:nth-child(4n+3) .partner-mark { background: linear-gradient(135deg, #a26f00, var(--yellow)); }
.partner-card:nth-child(4n+4) .partner-mark { background: linear-gradient(135deg, #8f1d1c, var(--red)); }
.partner-area { margin: 0; font-size: .82rem !important; font-weight: 600; color: var(--blue) !important; }
.customer-name { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.customer-full { font-weight: 600; color: var(--text) !important; margin: 2px 0 10px; }
.become { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.become .tile-lg { margin: 0; }
.become h2 { font-size: 1.5rem; }
.become p { margin: 0; color: var(--muted); }

/* ---------- Posts ---------- */
.post-card { padding: 0; overflow: hidden; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.08rem; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: .75rem; }
.post-cover { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; }
.post-cover.is-big { height: 100%; min-height: 260px; }
.cover-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 26px 26px; }
.cover-icon { position: relative; width: 56px; height: 56px; color: #fff; opacity: .95; }
.cover-blue { background: linear-gradient(135deg, var(--navy-800), var(--blue)); }
.cover-green { background: linear-gradient(135deg, #0d4f26, var(--green)); }
.cover-yellow { background: linear-gradient(135deg, #7a5200, var(--yellow)); }
.cover-red { background: linear-gradient(135deg, #6e1515, var(--red)); }
.post-card.is-big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card.is-big h3 { font-size: 1.5rem; }

.post-hero { padding-block: 40px 8px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.post-hero .crumbs { color: var(--muted); }
.post-hero .crumbs a { color: var(--muted); }
.post-hero .crumbs a:hover { color: var(--blue); }
.post-hero .crumbs [aria-current] { color: var(--ink); }
.post-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.post-hero .lead { font-size: 1.15rem; color: var(--muted); }
.post-source { margin-top: 28px; font-size: .9rem; color: var(--muted); font-style: italic; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-btn { font: 600 .875rem/1 var(--font); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.chip-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
[data-filter-list] > .is-hidden { display: none; }

/* ---------- Lĩnh vực ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 14px; border-radius: 999px; color: var(--text); font-size: .875rem; font-weight: 600; }
.subnav a:hover, .subnav a.is-active { background: var(--bg-soft); color: var(--blue); }
.field-block { padding-block: 80px; scroll-margin-top: calc(var(--header-h) + 60px); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field-sum { font-size: 1.08rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.ticks .icon { color: var(--green); margin-top: 4px; }
.field-sols { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.field-sols-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 10px 4px; margin: 0; }
.mini-sol { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 10px; border-radius: 10px; color: var(--text); }
.mini-sol + .mini-sol { border-top: 1px solid var(--line); }
.mini-sol:hover { background: var(--bg-soft); color: var(--text); }
.mini-sol strong { display: block; color: var(--ink); font-size: .97rem; }
.mini-sol small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.mini-sol > .icon { color: var(--muted); }

/* ---------- Giới thiệu ---------- */
.vm { display: grid; gap: 16px; }
.vm-card { border-radius: var(--radius); padding: 28px; color: #c9d3ea; }
.vm-card h3 { color: #fff; margin-top: 16px; }
.vm-card p { margin: 0; }
.vm-vision { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.vm-mission { background: linear-gradient(135deg, #0f3d2a, #146b3a); }
.value-card h3 { margin-top: 18px; }
.cap-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cap-list a { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: .95rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.cap-list a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--ink); }
.careers { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.career-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.career-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; border-left: 4px solid var(--blue); }
.career-list li:nth-child(2) { border-left-color: var(--green); }
.career-list li:nth-child(3) { border-left-color: var(--yellow); }
.career-list li:nth-child(4) { border-left-color: var(--red); }
.career-list strong { display: block; color: var(--ink); }
.career-list span { color: var(--muted); font-size: .92rem; }

/* ---------- Trang giải pháp ---------- */
.doc-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.toc-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--text); font-size: .9rem; line-height: 1.4; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--muted); font-weight: 700; font-size: .78rem; padding-top: 2px; }
.toc a:hover, .toc a.is-active { background: var(--blue-50); color: var(--blue); }
.aside-cta { background: var(--navy-900); color: #c3cde6; border-radius: var(--radius); padding: 22px; font-size: .92rem; }
.aside-cta strong { color: #fff; }
.aside-cta p { margin-bottom: 8px; }
.aside-cta .btn { margin-top: 8px; }
.benefit-no { font-weight: 800; color: var(--blue); font-size: .9rem; letter-spacing: .06em; }
.benefit:nth-child(4n+2) .benefit-no { color: var(--green); }
.benefit:nth-child(4n+3) .benefit-no { color: #c98f00; }
.benefit:nth-child(4n+4) .benefit-no { color: var(--red); }
.benefit h3 { margin-top: 10px; }

/* ---------- Prose (nội dung bài viết) ---------- */
.prose { font-size: 1.04rem; color: var(--text); min-width: 0; }
.prose-sec { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose-sec + .prose-sec { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 1.6em; }
.prose-sec > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--blue); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-style: italic; }
.prose blockquote p:last-child { margin: 0; }
.prose .callout { margin: 1.5em 0; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--yellow-50); border: 1px solid #f6dc8f; color: #5a4300; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-600), var(--blue) 45%, #3a7be0); color: #e6edff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-inner p { margin: 0; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- Liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info h2, .contact-form h2 { font-size: 1.5rem; }
.contact-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > .icon { color: var(--blue); margin-top: 3px; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-list span { color: var(--ink); font-weight: 500; }
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-form { gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 4px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { flex: 1 1 100%; }
.contact-form label > span { color: var(--red); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 .95rem/1.4 var(--font); color: var(--ink); background: #fff; width: 100%;
  border: 1px solid #cfd7e6; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 91, 211, .15); }
.contact-form .is-invalid { border-color: var(--red); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; }
.form-status { margin: 0; font-weight: 600; font-size: .92rem; }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: var(--red); }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s; color: var(--muted); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* ---------- 404 ---------- */
.big-404 { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 8px; letter-spacing: -.05em; }
.hero-404 .page-hero-inner { padding-block: 96px; }
.hero-404 .lead { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9aa6c4; font-size: .93rem; }
.brand-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; }
.brand-bar span:nth-child(1) { background: var(--blue); } .brand-bar span:nth-child(2) { background: var(--green); }
.brand-bar span:nth-child(3) { background: var(--yellow); } .brand-bar span:nth-child(4) { background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; padding-block: 64px 40px; }
.brand-footer { margin-bottom: 16px; }
.footer-about p { max-width: 380px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a, .site-footer a { color: #b3bed8; }
.footer-links a:hover, .site-footer a:hover { color: #fff; }
.contact-list-footer { gap: 10px; margin: 16px 0; }
.contact-list-footer li > .icon { color: #7d9bff; }
.contact-list-footer small { color: #7f8bab; }
.contact-list-footer span { color: #c9d3ea; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #7f8bab; }
.footer-bottom p { margin: 0; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: var(--blue); }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ring-2, .orbit-node { animation: none; }
  .btn, .card { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-link { padding: 8px 9px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .topbar-tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 32px; overflow-y: auto; gap: 16px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-toggle .nt-open { display: none; }
  .nav-open .nav-toggle .nt-close { display: inline; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 14px 4px; font-size: 1.05rem; width: 100%; justify-content: space-between; border-radius: 0; }
  .nav-link:hover { background: none; }
  .has-mega .nav-link .icon { display: none; }
  .mega { display: none; }
  .nav-cta { width: 100%; padding: 14px; }

  .hero-inner { grid-template-columns: 1fr; padding-block: 56px 64px; gap: 40px; }
  .hero-visual { order: 2; }
  .about-grid, .partners-home, .cap-grid, .careers, .field-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-aside { position: static; order: 2; }
  .toc { display: none; }
  .post-card.is-big { grid-template-columns: 1fr; }
  .post-card.is-big .post-cover { min-height: 180px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .become { grid-template-columns: 1fr; text-align: left; }
  .section { padding-block: 64px; }
  .field-block { padding-block: 56px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .topbar { display: none; }
  .grid-2, .grid-3, .grid-4, .stats, .partner-mini-grid, .cap-list, .form-row, .hero-highlights { grid-template-columns: 1fr; }
  .partner-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .post-card { padding: 0; }
  .orbit-node { width: 72px; }
  .orbit-chip { width: 44px; height: 44px; border-radius: 12px; }
  .orbit-chip .icon { width: 20px; height: 20px; }
  .orbit-label { font-size: .68rem; }
  .orbit-hub small { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .head-row { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .partner-strip-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partner-strip ul { justify-content: flex-start; gap: 8px 22px; }
  .partner-strip li { font-size: .95rem; }
  .crumbs [aria-current] { max-width: 28ch; }
  .become { padding: 24px; }
  .logo { font-size: 1.85rem; }
}
