/* NDV — trang chủ mới (templates/site-home.php). Mọi lớp có tiền tố sx- để không đụng CSS của Flatsome. */
body.ndv-site, .sx-hd, .sx-drawer, .sx-ft, .sx-top {
	--ink: #0b1220; --text: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #f6f8fc;
	--p: #1d4ed8; --p2: #4f46e5; --p50: #eff4ff; --ok: #16a34a;
}
/* Đầu trang / chân trang dùng trên trang Flatsome (body.ndv-sx): đặt lại kiểu chữ riêng trong khung, không đụng nội dung trang. */
.sx-hd, .sx-drawer, .sx-ft { font: 16px/1.65 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; text-align: left; }
.sx-hd *, .sx-drawer *, .sx-ft *, .sx-hd *::before, .sx-drawer *::before, .sx-ft *::before, .sx-hd *::after, .sx-drawer *::after, .sx-ft *::after { box-sizing: border-box; }
.sx-hd h5, .sx-drawer h5, .sx-ft h5, .sx-hd p, .sx-drawer p, .sx-ft p, .sx-ft ul, .sx-ft li { margin: 0; font-family: inherit; text-transform: none; letter-spacing: normal; }
.sx-hd a, .sx-drawer a, .sx-ft a { color: inherit; text-decoration: none; }
.sx-hd button, .sx-drawer button, .sx-ft button, .sx-top { margin: 0; min-height: 0; font: inherit; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.sx-hd input, .sx-hd button[type=submit] { margin: 0; box-shadow: none; }
.sx-hd img, .sx-drawer img, .sx-ft img { max-width: 100%; vertical-align: middle; }
.sx-hd svg, .sx-drawer svg, .sx-ft svg, .sx-top svg { display: block; }
.admin-bar .sx-hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .sx-hd { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sx-hd { top: 0; } }
/* Trang Flatsome: body có overflow nên sticky không chạy trên điện thoại → dùng fixed + chừa chỗ. */
body.ndv-sx { padding-top: 72px; }
body.ndv-sx .sx-hd { position: fixed; left: 0; right: 0; background: rgba(255, 255, 255, .97); }
@media (max-width: 920px) { body.ndv-sx { padding-top: 62px; } }
body.ndv-site {
	margin: 0; background: #fff; color: var(--text);
	font: 16px/1.65 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.ndv-site *, body.ndv-site *::before, body.ndv-site *::after { box-sizing: border-box; }
body.ndv-site h1, body.ndv-site h2, body.ndv-site h3, body.ndv-site h4, body.ndv-site h5, body.ndv-site p { margin: 0; font-family: inherit; text-transform: none; letter-spacing: normal; }
body.ndv-site a { color: inherit; text-decoration: none; }
body.ndv-site button { margin: 0; min-height: 0; font: inherit; text-transform: none; letter-spacing: 0; line-height: 1.2; box-shadow: none; }
body.ndv-site img { max-width: 100%; height: auto; }
.sx-w { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.si { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Nút */
.sx-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink) !important; font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.sx-btn:hover { transform: translateY(-1px); border-color: #cbd5e1; box-shadow: 0 8px 18px rgba(15, 23, 42, .08); }
.sx-btn.sx-p { border-color: var(--p); background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff !important; box-shadow: 0 10px 24px rgba(29, 78, 216, .28); }
.sx-btn.sx-p::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s; }
.sx-btn.sx-p:hover::after { left: 130%; }
.sx-btn.sx-lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.sx-btn .si { width: 17px; height: 17px; }
.sx-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.sx-ic:hover { border-color: var(--p); color: var(--p); }

/* Header */
.sx-hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.sx-hd.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.sx-hd > .sx-w { display: flex; align-items: center; gap: 18px; height: 72px; transition: height .25s; }
.sx-hd.is-scrolled > .sx-w { height: 62px; }
.sx-logo img { display: block; height: 44px; width: auto; transition: height .25s; }
.sx-hd.is-scrolled .sx-logo img { height: 38px; }
.sx-nav { display: flex; gap: 2px; margin-left: 6px; }
.sx-nav a { position: relative; padding: 8px 11px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: color .2s, background .2s; }
.sx-nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--p); transform: scaleX(0); transition: transform .25s; }
.sx-nav a:hover { color: var(--p); }
.sx-nav a:hover::after { transform: scaleX(1); }
.sx-hr { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sx-login { padding: 10px 14px; }
.sx-burger { display: none; }
.sx-search { border-top: 1px solid var(--line); background: #fff; }
.sx-search .sx-w { display: flex; align-items: center; gap: 10px; height: 64px; color: var(--muted); }
.sx-search input { flex: 1; height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); box-shadow: none; }
.sx-search input:focus { outline: 2px solid #bfdbfe; border-color: var(--p); }
.sx-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .45); }
.sx-drawer-in { width: min(320px, 86vw); height: 100%; overflow-y: auto; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 2px; animation: sxSlide .25s ease-out; }
.sx-drawer-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sx-drawer-hd img { height: 36px; width: auto; }
.sx-drawer-in > a { padding: 12px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.sx-drawer-in > a:hover { background: var(--p50); color: var(--p); }
.sx-drawer-ft { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; }
@keyframes sxSlide { from { transform: translateX(-100%); } to { transform: none; } }

/* Hero */
.sx-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f9ff, #fff); }
.sx-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: sxFloat 14s ease-in-out infinite alternate; }
.sx-b1 { width: 520px; height: 520px; right: -120px; top: -180px; background: #c7d7fe; }
.sx-b2 { width: 380px; height: 380px; left: -140px; bottom: -160px; background: #e0e7ff; animation-delay: -6s; }
@keyframes sxFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.08); } }
.sx-hero-g { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; padding-top: 70px; padding-bottom: 64px; }
.sx-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--p); font-size: 13px; font-weight: 600; }
.sx-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: sxPulse 2s infinite; }
@keyframes sxPulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.sx-hero h1 { margin: 18px 0 16px; color: var(--ink); font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.sx-grad { background: linear-gradient(90deg, var(--p), var(--p2), #0ea5e9, var(--p)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sxGrad 8s linear infinite; }
@keyframes sxGrad { to { background-position: 300% 0; } }
.sx-lead { max-width: 560px; font-size: 18px; }
.sx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.sx-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 28px; color: var(--muted); font-size: 13.5px; }
.sx-stats b { display: block; color: var(--ink); font-size: 22px; font-weight: 800; }
.sx-term { overflow: hidden; border: 1px solid #1e293b; border-radius: 20px; background: #0b1220; color: #cbd5e1; box-shadow: 0 30px 70px rgba(15, 23, 42, .25); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .4s; }
.sx-term:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.sx-term-hd { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #1e293b; font-size: 13px; }
.sx-term-hd > span { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.sx-term-hd > span:nth-child(2) { background: #f59e0b; }
.sx-term-hd > span:nth-child(3) { background: #22c55e; }
.sx-term-hd em { margin-left: 8px; font-style: normal; color: #94a3b8; }
.sx-live { margin-left: auto; color: #4ade80; font-weight: 600; }
.sx-live::before { content: '●'; margin-right: 5px; animation: sxBlink 1.6s infinite; }
@keyframes sxBlink { 50% { opacity: .3; } }
.sx-term-bd { min-height: 118px; padding: 18px 18px 10px; font: 14px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; }
.sx-type { white-space: nowrap; overflow: hidden; }
.sx-type.is-typing::after { content: '▋'; margin-left: 2px; color: #60a5fa; animation: sxBlink 1s infinite; }
.sx-ok { color: #4ade80; }
.sx-term-ft { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 16px; }
.sx-term-ft > div { padding: 12px; border: 1px solid #1e293b; border-radius: 12px; background: #0f172a; text-align: center; font-size: 12px; color: #94a3b8; }
.sx-term-ft b { display: block; color: #f8fafc; font-size: 18px; white-space: nowrap; }
.sx-term-ft span { display: block; }

/* Khối chung */
.sx-sec { padding: 80px 0; }
.sx-alt { background: var(--bg); }
.sx-sh { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sx-sh small { color: var(--p); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sx-sh h2 { margin: 8px 0 10px; color: var(--ink); font-size: 34px; line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }
.sx-sh p { color: var(--muted); }
.sx-more { margin-top: 26px; text-align: center; }
.sx-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--p); font-weight: 700; }
.sx-more a .si { transition: transform .2s; }
.sx-more a:hover .si { transform: translateX(4px); }

/* Dịch vụ */
.sx-svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sx-s { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sx-s::before { content: ''; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: linear-gradient(135deg, var(--c), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.sx-s:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(15, 23, 42, .1); border-color: transparent; }
.sx-s:hover::before { opacity: 1; }
.sx-s-i { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; color: var(--c); transition: transform .3s; }
.sx-s:hover .sx-s-i { transform: rotate(-6deg) scale(1.08); }
.sx-s-i .si { width: 24px; height: 24px; }
.sx-s h3 { color: var(--ink); font-size: 17px; font-weight: 700; }
.sx-s p { flex: 1; margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.sx-s-l { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-size: 13.5px; font-weight: 700; }
.sx-s-l .si { width: 15px; height: 15px; transition: transform .2s; }
.sx-s:hover .sx-s-l .si { transform: translateX(4px); }

/* Bảng giá */
.sx-tabs { display: flex; justify-content: center; gap: 6px; width: max-content; margin: -14px auto 30px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.sx-tabs button { padding: 9px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.sx-tabs button.is-on { background: var(--ink); color: #fff; }
.sx-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1020px; margin: 0 auto; }
.sx-price[hidden] { display: none; }
.sx-pc { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .25s, box-shadow .25s; }
.sx-pc:hover { transform: translateY(-5px); box-shadow: 0 24px 44px rgba(15, 23, 42, .1); }
.sx-pc.is-hot { border: 2px solid var(--p); box-shadow: 0 24px 50px rgba(29, 78, 216, .16); }
.sx-badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; font-size: 12px; font-weight: 700; }
.sx-pc h3 { color: var(--ink); font-size: 18px; font-weight: 700; }
.sx-amt { margin: 12px 0 2px; color: var(--ink); font-size: 32px; font-weight: 800; letter-spacing: -.01em; }
.sx-amt small { color: var(--muted); font-size: 14px; font-weight: 500; }
.sx-per { color: var(--ok); font-size: 13.5px; font-weight: 600; }
.sx-pc ul { flex: 1; margin: 18px 0 22px; padding: 0; list-style: none; font-size: 14.5px; }
.sx-pc li { display: flex; gap: 8px; margin: 0; padding: 5px 0; }
.sx-pc li .si { width: 17px; height: 17px; margin-top: 3px; color: var(--ok); stroke-width: 2.6; }
.sx-pc .sx-btn { width: 100%; margin-top: auto; }
.sx-empty { grid-column: 1 / -1; padding: 26px; border: 1px dashed #cbd5e1; border-radius: 16px; background: #fff; text-align: center; color: var(--muted); }
.sx-empty a { color: var(--p); font-weight: 700; }

/* Vì sao / các bước / tiện ích */
.sx-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sx-wy { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s; }
.sx-wy:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(15, 23, 42, .08); }
.sx-wy-i { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--p50); color: var(--p); }
.sx-wy-i .si { width: 22px; height: 22px; }
.sx-wy b { display: block; margin: 14px 0 4px; color: var(--ink); font-size: 16.5px; }
.sx-wy p { color: var(--muted); font-size: 14.5px; }
.sx-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sx-steps::before { content: ''; position: absolute; top: 45px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #c7d2fe 0 8px, transparent 8px 16px); }
.sx-st { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; }
.sx-st i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; font-style: normal; font-weight: 800; box-shadow: 0 8px 18px rgba(29, 78, 216, .3); }
.sx-st b { color: var(--ink); font-size: 17px; }
.sx-st p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.sx-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sx-tl { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s, box-shadow .25s; }
.sx-tl:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 23, 42, .09); }
.sx-tl img { flex: 0 0 60px; width: 60px; height: 60px; object-fit: contain; align-self: flex-start; border-radius: 15px; box-shadow: 0 6px 14px rgba(15, 23, 42, .12); }
.sx-tl b { color: var(--ink); font-size: 17px; }
.sx-tl p { margin: 4px 0 10px; color: var(--muted); font-size: 14.5px; }
.sx-tl span { display: inline-flex; align-items: center; gap: 6px; color: var(--p); font-weight: 700; font-size: 14px; }

/* Hỏi đáp */
.sx-faq { max-width: 820px; margin: 0 auto; }
.sx-q { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .2s; }
.sx-q[open] { box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
.sx-q summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; color: var(--ink); font-weight: 700; list-style: none; cursor: pointer; }
.sx-q summary::-webkit-details-marker { display: none; }
.sx-q summary i { position: relative; flex: 0 0 18px; height: 18px; }
.sx-q summary i::before, .sx-q summary i::after { content: ''; position: absolute; left: 3px; right: 3px; top: 8px; height: 2px; border-radius: 2px; background: var(--p); transition: transform .25s; }
.sx-q summary i::after { transform: rotate(90deg); }
.sx-q[open] summary i::after { transform: rotate(0); }
.sx-q p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* Kêu gọi + footer */
.sx-cta-sec { padding-top: 0; }
.sx-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px; border-radius: 26px; background: linear-gradient(120deg, var(--p), var(--p2)); color: #fff; }
.sx-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.sx-band h2 { color: #fff; font-size: 30px; font-weight: 800; }
.sx-band p { opacity: .9; }
.sx-band-a { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.sx-btn.sx-w1 { border-color: #fff; color: var(--p) !important; }
.sx-btn.sx-gh { border-color: rgba(255, 255, 255, .45); background: transparent; color: #fff !important; }
/* Footer */
.sx-ft { position: relative; padding: 0 0 22px; background: #0b1220; color: #94a3b8; font-size: 14.5px; overflow: hidden; }
.sx-ft::before { content: ""; position: absolute; inset: 0 0 auto; height: 320px; background: radial-gradient(600px 220px at 15% 0, rgba(37, 99, 235, .22), transparent 70%), radial-gradient(500px 200px at 90% 0, rgba(124, 58, 237, .16), transparent 70%); pointer-events: none; }
.sx-ft > .sx-w { position: relative; }
.sx-ft.sx-ft-nocta { padding-top: 60px; }
.sx-ft a { transition: color .2s; }
.sx-ft a:hover { color: #fff; }
.sx-ft .sb { width: 20px; height: 20px; flex: 0 0 auto; }
.sx-ft-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 52px; padding: 22px 26px; border: 1px solid rgba(148, 163, 184, .16); border-top: 0; border-radius: 0 0 22px 22px; background: rgba(255, 255, 255, .03); }
.sx-ft-cta-t b { display: block; color: #fff; font-size: 18px; }
.sx-ft-cta-t span { font-size: 14px; }
.sx-ft-cta-a { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-ft .sx-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 14.5px; transition: transform .2s, box-shadow .2s, filter .2s; }
.sx-ft .sx-chip:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.sx-ft .sx-chip .si { width: 18px; height: 18px; }
.sx-ft .sx-chip-tg { background: #229ed9; box-shadow: 0 8px 22px rgba(34, 158, 217, .3); }
.sx-ft .sx-chip-fb { background: linear-gradient(135deg, #0a7cff, #a033ff 70%, #ff5280); box-shadow: 0 8px 22px rgba(160, 51, 255, .28); }
.sx-ft .sx-chip-zl { background: #0068ff; box-shadow: 0 8px 22px rgba(0, 104, 255, .3); }
.sx-ft-g { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 36px; }
.sx-ft .sx-ft-col h5 { margin: 4px 0 14px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.sx-ft-col a { display: block; width: fit-content; padding: 5px 0; }
.sx-ft-col a:hover { transform: translateX(3px); }
.sx-ft-col a { transition: color .2s, transform .2s; }
.sx-ft-logo { display: inline-flex; padding: 8px 12px; border-radius: 12px; background: #fff; }
.sx-ft .sx-ft-logo img { display: block; height: 40px; width: auto; }
.sx-ft .sx-ft-brand p { max-width: 360px; margin: 16px 0 14px; line-height: 1.6; }
.sx-ft .sx-ft-ct { margin: 0 0 18px; padding: 0; list-style: none; }
.sx-ft .sx-ft-ct li { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; }
.sx-ft .sx-ft-ct .si { width: 17px; height: 17px; margin-top: 3px; color: #60a5fa; }
.sx-soc { display: flex; gap: 10px; }
.sx-ft .sx-soc a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #e2e8f0; transition: transform .2s, background .2s, border-color .2s; }
.sx-ft .sx-soc a:hover { transform: translateY(-3px); color: #fff; filter: brightness(1.1); box-shadow: 0 10px 22px rgba(0, 0, 0, .35); }
.sx-soc .sb { width: 21px; height: 21px; }
.sx-ft .sx-soc-zalo .sb { width: 30px; height: 30px; }
.sx-ft .sx-soc .sx-soc-tg { background: #229ed9; border-color: transparent; color: #fff; }
.sx-ft .sx-soc .sx-soc-fb { background: #1877f2; border-color: transparent; color: #fff; }
.sx-ft .sx-soc .sx-soc-mess { background: linear-gradient(135deg, #0a7cff, #a033ff 70%, #ff5280); border-color: transparent; color: #fff; }
.sx-ft .sx-soc .sx-soc-zalo { background: #0068ff; border-color: transparent; color: #fff; }
.sx-ft-bt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid #1e293b; font-size: 13px; }
.sx-ft-pay i { display: inline-block; margin-left: 6px; padding: 3px 10px; border: 1px solid #334155; border-radius: 999px; color: #cbd5e1; font-style: normal; font-weight: 600; }
.sx-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--p); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .35); cursor: pointer; transition: transform .2s; }
.sx-top:hover { transform: translateY(-3px); }
.sx-top[hidden] { display: none; }
/* Nút chat gọn trên điện thoại (thay 3 nút to của plugin button-contact-vr) */
.sx-fab { display: none; }
@media (max-width: 920px) {
	body.ndv-site #button-contact-vr, body.ndv-sx #button-contact-vr { display: none !important; }
	.sx-fab { position: fixed; left: 14px; bottom: 16px; z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 10px; }
	.sx-fab-b { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; box-shadow: 0 10px 24px rgba(29, 78, 216, .35); cursor: pointer; }
	.sx-fab-b .si { width: 24px; height: 24px; }
	.sx-fab-b .si + .si, .sx-fab.is-open .sx-fab-b .si:first-child { display: none; }
	.sx-fab.is-open .sx-fab-b .si + .si { display: block; }
	.sx-fab-m { display: flex; flex-direction: column; gap: 10px; }
	.sx-fab-m a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; box-shadow: 0 8px 18px rgba(15, 23, 42, .25); opacity: 0; transform: translateY(12px) scale(.8); pointer-events: none; transition: opacity .2s, transform .2s; }
	.sx-fab.is-open .sx-fab-m a { opacity: 1; transform: none; pointer-events: auto; }
	.sx-fab.is-open .sx-fab-m a:nth-child(2) { transition-delay: .04s; } .sx-fab.is-open .sx-fab-m a:nth-child(1) { transition-delay: .08s; }
	.sx-fab-m .sb { width: 22px; height: 22px; }
	.sx-fab-m .sx-soc-zalo .sb { width: 34px; height: 34px; }
	.sx-fab-m .sx-soc-tg { background: #229ed9; }
	.sx-fab-m .sx-soc-mess { background: linear-gradient(135deg, #0a7cff, #a033ff 70%, #ff5280); }
	.sx-fab-m .sx-soc-zalo { background: #0068ff; }
	.sx-top { right: 14px; bottom: 16px; }
}

/* Hiệu ứng hiện dần khi cuộn */
.js-sx [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js-sx [data-reveal].is-in { opacity: 1; transform: none; }

/* Điện thoại / máy tính bảng */
@media (max-width: 1100px) {
	.sx-svc { grid-template-columns: repeat(3, 1fr); }
	.sx-nav a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 920px) {
	.sx-nav { display: none; }
	.sx-burger { display: inline-flex; }
	.sx-hd > .sx-w { gap: 10px; height: 62px; }
	.sx-logo { margin-right: auto; }
	.sx-logo img { height: 36px; }
	.sx-login span, .sx-new span { display: none; }
	.sx-login, .sx-new { width: 42px; height: 42px; padding: 0; }
	.sx-hero-g { grid-template-columns: 1fr; gap: 30px; padding-top: 36px; padding-bottom: 44px; }
	.sx-hero h1 { font-size: 32px; }
	.sx-hero h1 br { display: none; }
	.sx-lead { font-size: 16px; }
	.sx-cta .sx-btn { flex: 1 1 100%; }
	.sx-stats { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
	.sx-term { transform: none; }
	.sx-term-hd em { display: none; }
	.sx-type { font-size: 13px; }
	.sx-svc { grid-template-columns: 1fr 1fr; }
	.sx-svc .sx-s:first-child { grid-column: 1 / -1; }
	.sx-price, .sx-why, .sx-steps, .sx-tools { grid-template-columns: 1fr; }
	.sx-steps::before { display: none; }
	.sx-sec { padding: 54px 0; }
	.sx-sh h2 { font-size: 26px; }
	.sx-band { flex-direction: column; align-items: flex-start; padding: 28px; }
	.sx-band h2 { font-size: 24px; }
	.sx-ft-g { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.sx-ft-brand { grid-column: 1 / -1; }
	.sx-ft-cta { margin-bottom: 36px; padding: 20px; }
	.sx-ft-cta-a, .sx-ft .sx-chip { width: 100%; }
	.sx-ft .sx-chip { justify-content: center; }
	.sx-ft-bt { flex-direction: column; align-items: flex-start; padding-right: 56px; }
}
@media (max-width: 420px) {
	.sx-svc { grid-template-columns: 1fr; }
	.sx-tag { font-size: 12px; }
}
/* Trang dịch vụ (templates/site-service.php) */
.sx-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 13.5px; }
.sx-crumb a:hover { color: var(--p); }
.sx-crumb b { color: var(--ink); font-weight: 600; }
.sx-svh .sx-tag i { background: var(--c, var(--p)); }
.sx-stats.sx-stats3 { grid-template-columns: repeat(3, auto); }
.sx-price.is-many { max-width: 1200px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sx-price.is-many .sx-amt { font-size: 28px; }
.sx-note { max-width: 860px; margin: 26px auto 0; padding: 14px 18px; border: 1px dashed #cbd5e1; border-radius: 14px; background: #fff; color: var(--text); font-size: 14.5px; text-align: center; }
.sx-info { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.sx-kick { display: inline-block; margin-bottom: 8px; color: var(--p); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sx-info h2 { margin-bottom: 14px; color: var(--ink); font-size: 30px; font-weight: 800; line-height: 1.25; }
.sx-info p { margin-bottom: 12px; }
.sx-more.sx-more-l { justify-content: flex-start; text-align: left; }
.sx-more-l span { color: var(--muted); }
.sx-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sx-list li { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; transition: transform .2s, border-color .2s; }
.sx-list li:hover { transform: translateX(4px); border-color: var(--c, var(--p)); }
.sx-list i { flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; height: 30px; border-radius: 9px; background: var(--p50); color: var(--p); font-style: normal; font-weight: 800; font-size: 14px; }
.sx-rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sx-rel a { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sx-rel a:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 18px 36px rgba(15, 23, 42, .08); }
.sx-rel span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: var(--p50); color: var(--p); }
.sx-rel span .si { width: 22px; height: 22px; }
.sx-rel b { color: var(--ink); font-size: 16px; }
.sx-rel small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 920px) {
	.sx-info { grid-template-columns: 1fr; gap: 26px; }
	.sx-info h2 { font-size: 24px; }
	.sx-rel { grid-template-columns: 1fr 1fr; }
	.sx-stats.sx-stats3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.sx-stats3 b { font-size: 17px; }
	.ndv-svc .sx-amt { font-size: 26px; }
}
.sx-term-ft b span.sx-ping { display: inline; color: inherit; font-size: inherit; }
.ndv-svc .sx-amt.is-text { font-size: 22px; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) {
	body.ndv-site *, body.ndv-site *::before, body.ndv-site *::after { animation: none !important; transition: none !important; }
	.js-sx [data-reveal] { opacity: 1; transform: none; }
}
/* Dịch vụ tạm ngừng (Hosting) */
.sx-closed { display: flex; align-items: center; gap: 22px; max-width: 980px; margin: 0 auto; padding: 28px 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(15, 23, 42, .06); }
.sx-closed-i { flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; height: 56px; border-radius: 16px; background: #fff7ed; color: #ea580c; }
.sx-closed-i .si { width: 28px; height: 28px; }
.sx-closed h2 { margin-bottom: 6px; color: var(--ink); font-size: 22px; font-weight: 800; }
.sx-closed p { color: var(--text); }
.sx-closed-a { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
@media (max-width: 920px) { .sx-closed { flex-direction: column; align-items: flex-start; padding: 22px; } .sx-closed-a { width: 100%; } }
/* Trang Liên hệ + chuyên mục (site-contact.php, site-blog.php) */
.sx-ph > .sx-w { position: relative; padding-top: 56px; padding-bottom: 60px; }
.sx-ph h1 { font-size: 42px; }
.sx-chats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.sx-chat { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sx-chat:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15, 23, 42, .1); border-color: transparent; }
.sx-chat-i { flex: 0 0 52px; display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 15px; color: #fff; }
.sx-chat-i .sb { width: 26px; height: 26px; }
.sx-chat-zalo .sx-chat-i .sb { width: 40px; height: 40px; }
.sx-chat-tg .sx-chat-i { background: #229ed9; }
.sx-chat-mess .sx-chat-i { background: linear-gradient(135deg, #0a7cff, #a033ff 70%, #ff5280); }
.sx-chat-zalo .sx-chat-i { background: #0068ff; }
.sx-chat-t { flex: 1; min-width: 0; }
.sx-chat-t b { display: block; color: var(--ink); font-size: 17px; }
.sx-chat-t small { color: var(--muted); font-size: 13px; }
.sx-chat-go { color: var(--muted); transition: transform .2s, color .2s; }
.sx-chat:hover .sx-chat-go { color: var(--p); transform: translateX(4px); }
.sx-ct-g { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.sx-ct-form { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(15, 23, 42, .05); }
.sx-ct-g .sx-ct-form h2 { margin-bottom: 6px; color: var(--ink); font-size: 26px; font-weight: 800; }
.sx-ct-g .sx-ct-form > p { margin-bottom: 18px; color: var(--muted); }
.sx-ct-form .wpcf7 form p { margin: 0 0 14px; }
.sx-ct-form .wpcf7 br { display: none; }
.sx-ct-form .wpcf7 fieldset { margin: 0; padding: 0; border: 0; }
.sx-ct-form .wpcf7-form-control-wrap { display: block; margin-bottom: 14px; }
.sx-ct-form .wpcf7 img.wpcf7-captchac { display: block; margin: 2px 0 10px; }
.sx-ct-form .wpcf7 input[type=text], .sx-ct-form .wpcf7 input[type=email], .sx-ct-form .wpcf7 input[type=tel], .sx-ct-form .wpcf7 textarea { width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; box-shadow: none; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.sx-ct-form .wpcf7 textarea { height: 120px; padding: 12px 14px; }
.sx-ct-form .wpcf7 input:focus, .sx-ct-form .wpcf7 textarea:focus { outline: 0; border-color: var(--p); background: #fff; box-shadow: 0 0 0 3px #dbeafe; }
.sx-ct-form .wpcf7-captchac { height: 36px; width: auto; border-radius: 8px; }
.sx-ct-form .wpcf7 input[type=submit] { width: 100%; height: 50px; margin: 6px 0 0; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; font: inherit; font-weight: 700; font-size: 16px; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(29, 78, 216, .28); transition: transform .2s; }
.sx-ct-form .wpcf7 input[type=submit]:hover { transform: translateY(-1px); }
.sx-ct-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; }
.sx-ct-form .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.sx-ct-side { display: grid; gap: 18px; }
.sx-ct-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.sx-ct-ticket { background: linear-gradient(135deg, #eff4ff, #f5f3ff); border-color: #dbe4ff; }
.sx-ct-ticket b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; }
.sx-ct-side .sx-ct-ticket p { margin-bottom: 14px; color: var(--text); font-size: 14.5px; }
.sx-ct-ic { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; background: var(--p50); color: var(--p); }
.sx-ct-ic .si, .sx-ct-ic .sb { width: 21px; height: 21px; }
.sx-ct-list { width: 100%; margin: 0; padding: 0; list-style: none; }
.sx-ct-list li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 0; }
.sx-ct-list li + li { border-top: 1px solid var(--line); }
.sx-ct-list small { display: block; color: var(--muted); font-size: 12.5px; }
.sx-ct-list a, .sx-ct-list span { color: var(--ink); font-weight: 600; }
.sx-ct-list a:hover { color: var(--p); }
.sx-btabs { display: inline-flex; gap: 4px; margin-bottom: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sx-btabs a { padding: 7px 16px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.sx-btabs a.is-on { background: var(--p); color: #fff; }
.sx-bsearch { display: flex; align-items: center; gap: 10px; max-width: 620px; margin-top: 24px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .06); color: var(--muted); }
.sx-bsearch input { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--ink); font: inherit; font-size: 15.5px; }
.sx-bsearch input:focus { outline: 0; box-shadow: none; }
.sx-bh .sx-bsearch input[type=search] { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sx-chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.sx-chips a:hover { border-color: var(--p); color: var(--p); }
.sx-chips a.is-on { border-color: var(--p); background: var(--p); color: #fff; }
.sx-bres { margin-bottom: 18px; color: var(--muted); }
.sx-bres a { color: var(--p); font-weight: 600; }
.sx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sx-post { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s, box-shadow .25s; }
.sx-post:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(15, 23, 42, .1); }
.sx-post-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #eff4ff, #f5f3ff); }
.sx-post-img img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s; }
.sx-post:hover .sx-post-img img { transform: scale(1.05); }
.sx-post-img span { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--p); }
.sx-post-img span .si { width: 40px; height: 40px; }
.sx-post-b { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.sx-post-b time { color: var(--muted); font-size: 13px; }
.sx-post .sx-post-b h2 { margin: 6px 0 8px; font-size: 17.5px; font-weight: 700; line-height: 1.4; }
.sx-post-b h2 a { color: var(--ink); }
.sx-post-b h2 a:hover { color: var(--p); }
.sx-post .sx-post-b p { flex: 1; margin-bottom: 14px; color: var(--muted); font-size: 14.5px; }
.sx-post-more { display: inline-flex; align-items: center; gap: 6px; color: var(--p); font-weight: 700; font-size: 14px; }
.sx-post-more .si { width: 15px; height: 15px; transition: transform .2s; }
.sx-post:hover .sx-post-more .si { transform: translateX(4px); }
.sx-pg { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.sx-pg .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; }
.sx-pg a.page-numbers:hover { border-color: var(--p); color: var(--p); }
.sx-pg .page-numbers.current { border-color: var(--p); background: var(--p); color: #fff; }
.sx-pg .page-numbers.dots { border: 0; background: transparent; }
.sx-bempty { max-width: 520px; margin: 0 auto; padding: 36px; border: 1px dashed #cbd5e1; border-radius: 20px; background: #fff; text-align: center; }
.sx-bempty b { display: block; color: var(--ink); font-size: 19px; }
.sx-bl .sx-bempty p { margin: 6px 0 16px; color: var(--muted); }
@media (max-width: 920px) {
	.sx-ph > .sx-w { padding-top: 34px; padding-bottom: 40px; }
	.sx-ph h1 { font-size: 30px; }
	.sx-chats, .sx-ct-g { grid-template-columns: 1fr; }
	.sx-ct-form { padding: 22px; }
	.sx-posts { grid-template-columns: 1fr 1fr; gap: 14px; }
	.sx-post-b { padding: 14px; }
	.sx-post .sx-post-b h2 { font-size: 15.5px; }
	.sx-post .sx-post-b p { display: none; }
}
@media (max-width: 560px) { .sx-posts { grid-template-columns: 1fr; } .sx-post .sx-post-b p { display: block; } }
/* Khung popup ẩn của Flatsome (menu điện thoại, form đăng nhập) luôn ẩn trên trang mới. */
body.ndv-site .mfp-hide { display: none !important; }
