/* =========================================================================
   ViSoftware UI 2026 — vs.css
   Thay thế bộ CSS cũ (bootstrap/owl/revolution/animate...) cho trang chủ.
   Mọi class đều có tiền tố "vs-" để không đụng CSS cũ ở các trang con.
   ========================================================================= */
:root {
    --vs-primary: #0870c4;      /* xanh logo */
    --vs-primary-600: #065a9f;
    --vs-primary-50: #e7f3fc;
    --vs-primary-2: #00a0e0;    /* xanh ngọc logo (gradient) */
    --vs-accent: #ec6a22;       /* cam logo (dịu hơn bản gốc #f37021) */
    --vs-accent-600: #d2581a;
    --vs-accent-text: #b84a0c;  /* cam đậm cho CHỮ trên nền sáng: tương phản >= 4.5 (WCAG AA) */
    --vs-ink: #0d1b2e;
    --vs-ink-2: #22324a;
    --vs-muted: #5b6b82;
    --vs-line: #e3e9f1;
    --vs-soft: #f4f7fb;
    --vs-white: #fff;
    --vs-navy: #073f75;          /* xanh logo đậm */
    --vs-grad-blue: linear-gradient(115deg, #06457f 0%, #0870c4 60%, #0a8ad2 100%);
    --vs-grad-orange: linear-gradient(115deg, #d9561c 0%, #ec6e26 50%, #f39549 100%);
    --vs-accent-soft: #ffb27a;
    --vs-radius: 16px;
    --vs-radius-sm: 10px;
    --vs-shadow-sm: 0 1px 2px rgba(13, 27, 46, .06), 0 2px 8px rgba(13, 27, 46, .05);
    --vs-shadow: 0 10px 30px -12px rgba(13, 27, 46, .22);
    --vs-shadow-lg: 0 24px 60px -20px rgba(6, 26, 54, .35);
    --vs-max: 1680px;
    --vs-gutter: clamp(16px, 3.2vw, 56px);
    --vs-header-h: 76px;
    --vs-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --vs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base (chỉ áp dụng mạnh trên trang dùng bundle mới: body.vs-site-3) ---------- */
.vs-site-3 *, .vs-site-3 *::before, .vs-site-3 *::after { box-sizing: border-box; }
.vs-site-3 { margin: 0; font-family: var(--vs-font); font-size: 16px; line-height: 1.6; color: var(--vs-ink-2); background: var(--vs-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.vs-site-3 img { max-width: 100%; height: auto; display: block; }
.vs-site-3 a { color: inherit; text-decoration: none; }
.vs-site-3 h1, .vs-site-3 h2, .vs-site-3 h3, .vs-site-3 h4, .vs-site-3 h5, .vs-site-3 p { margin: 0; }
.vs-site-3 ul { margin: 0; padding: 0; list-style: none; }
.vs-site-3 button { font: inherit; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    .vs-hotline__ico::after { animation: none; } html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Reset cục bộ cho header/footer mới khi nằm trên trang con (CSS cũ vẫn được nạp) */
.vs-topbar, .vs-header, .vs-footer, .vs-cta, .vs-fab, .vs-toast { font-family: var(--vs-font); line-height: 1.5; }
.vs-topbar *, .vs-header *, .vs-footer *, .vs-cta *, .vs-fab * { box-sizing: border-box; }
.vs-topbar ul, .vs-header ul, .vs-footer ul, .vs-cta ul { margin: 0; padding: 0; list-style: none; }
.vs-topbar a, .vs-header a, .vs-footer a, .vs-cta a { text-decoration: none; }
.vs-header h1, .vs-header h2, .vs-footer h2, .vs-footer h3, .vs-footer h4, .vs-footer p, .vs-cta h2, .vs-cta p { margin: 0; }
.vs-header img, .vs-footer img { max-width: 100%; height: auto; }

[hidden] { display: none !important; }
.vs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vs-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--vs-primary); color: #fff !important; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.vs-skip:focus { top: 12px; }
.vs-ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.vs-ico--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.vs-wrap { width: 100%; max-width: var(--vs-max); margin-inline: auto; padding-inline: var(--vs-gutter); }
.vs-section { padding-block: clamp(40px, 4.4vw, 72px); }
/* 2 khối liền nhau cùng màu nền: bỏ padding trên để không bị cộng dồn khoảng trắng */
.vs-section--soft + .vs-section--soft, .vs-section:not(.vs-section--soft):not(.vs-section--navy) + .vs-section:not(.vs-section--soft):not(.vs-section--navy) { padding-top: 0; }
.vs-section--soft { background: var(--vs-soft); }
.vs-section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 160, 224, .35), transparent 60%), radial-gradient(800px 420px at 0% 110%, rgba(243, 112, 33, .18), transparent 60%), var(--vs-navy); color: #d3e4f7; }
.vs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(22px, 2.4vw, 36px); flex-wrap: wrap; }
.vs-head--center { flex-direction: column; align-items: center; text-align: center; }
.vs-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vs-accent-text); }
.vs-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.vs-title { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; color: var(--vs-ink); margin-top: 10px; max-width: 52ch; text-wrap: balance; }
.vs-section--navy .vs-title { color: #fff; }
.vs-section--navy .vs-eyebrow { color: var(--vs-accent-soft); }
.vs-lead { color: var(--vs-muted); font-size: clamp(15px, 1.1vw, 18px); margin-top: 12px; max-width: 62ch; }

/* ---------- Buttons ---------- */
.vs-btn { --b: var(--vs-primary); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--vs-ease), box-shadow .2s; }
.vs-btn:active { transform: translateY(1px); }
.vs-btn--primary { background: var(--vs-primary); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(8, 112, 196, .7); }
.vs-btn--primary:hover { background: var(--vs-primary-600); }
.vs-btn--accent { background: var(--vs-grad-orange); background-size: 140% 100%; background-position: 0 0; color: #fff !important; box-shadow: 0 8px 20px -10px rgba(217, 86, 28, .6); transition: background-position .35s var(--vs-ease), box-shadow .25s, transform .2s; }
.vs-btn--accent:hover { background-position: 100% 0; box-shadow: 0 12px 24px -10px rgba(217, 86, 28, .7); }
.vs-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.vs-btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.vs-btn--line { background: #fff; color: var(--vs-ink) !important; border-color: var(--vs-line); }
.vs-btn--line:hover { border-color: var(--vs-primary); color: var(--vs-primary) !important; }
.vs-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.vs-btn .vs-ico { font-size: 18px; }
.vs-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--vs-primary) !important; }
.vs-link .vs-ico { transition: transform .2s var(--vs-ease); }
.vs-link:hover .vs-ico { transform: translateX(4px); }
:where(.vs-btn, .vs-link, .vs-iconbtn, .vs-menu a, .vs-card a):focus-visible { outline: 3px solid rgba(8, 112, 196, .45); outline-offset: 2px; }

/* ---------- Topbar ---------- */
.vs-topbar { background: var(--vs-navy); color: #b9c7dc; font-size: 13.5px; }
.vs-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.vs-topbar__list { display: flex; align-items: center; gap: 22px; }
.vs-topbar a { color: #dbe5f3; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.vs-topbar a:hover { color: #fff; }
.vs-topbar .vs-ico { font-size: 15px; color: #7fb4ff; }
.vs-topbar__right { display: flex; align-items: center; gap: 18px; }
.vs-social { display: flex; gap: 6px; }
.vs-social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #dbe5f3; transition: background .2s, color .2s; }
.vs-social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.vs-social .vs-ico { color: inherit; font-size: 15px; }

.vs-lang { position: relative; }
.vs-lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: #dbe5f3; padding: 4px 0; }
.vs-lang summary::-webkit-details-marker { display: none; }
.vs-lang__flag { width: 20px; height: 14px; border-radius: 3px; background-size: cover; background-position: center; display: inline-block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.vs-lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: var(--vs-shadow); padding: 6px; min-width: 170px; z-index: 60; }
.vs-lang__menu a { color: var(--vs-ink-2) !important; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; }
.vs-lang__menu a:hover, .vs-lang__menu .is-current a { background: var(--vs-primary-50); color: var(--vs-primary) !important; }

/* ---------- Header ---------- */
/* blur đặt ở ::before: backdrop-filter trên chính header sẽ biến nó thành containing block của drawer position:fixed */
.vs-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.vs-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(8, 112, 196, .09) 1px, transparent 1.6px) 0 0 / 18px 18px, radial-gradient(520px 140px at 0% 0%, rgba(8, 112, 196, .22), transparent 70%), radial-gradient(520px 140px at 100% 100%, rgba(243, 112, 33, .2), transparent 70%), linear-gradient(90deg, rgba(219, 236, 251, .97) 0%, rgba(246, 250, 255, .95) 40%, rgba(255, 252, 249, .95) 60%, rgba(255, 233, 216, .97) 100%); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.vs-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, #0870c4, #00a0e0 35%, #f39549 65%, #ec6a22); box-shadow: 0 1px 0 rgba(255, 255, 255, .6); pointer-events: none; }
.vs-header.is-stuck { border-bottom-color: transparent; box-shadow: 0 6px 24px -16px rgba(13, 27, 46, .35); }
.vs-header__in { display: flex; align-items: center; gap: clamp(16px, 2vw, 40px); height: var(--vs-header-h); transition: height .3s var(--vs-ease); }
@media (min-width: 1101px) {
    .vs-header { --vs-header-h: 86px; }
    .vs-header.is-stuck { --vs-header-h: 68px; }
    .vs-header.is-stuck .vs-logo img { height: 46px; }
}
.vs-logo { flex: 0 0 auto; display: flex; align-items: center; }
/* logo gốc (đã đăng ký bản quyền): giữ nguyên hình, chỉ làm đẹp phần hiển thị */ .vs-logo { position: relative; padding-right: clamp(14px, 1.6vw, 26px); margin-right: clamp(4px, .6vw, 10px); } .vs-logo::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--vs-line), transparent); } .vs-logo img { height: 58px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; transition: height .3s var(--vs-ease), transform .3s var(--vs-ease), filter .3s; }
.vs-logo img { filter: drop-shadow(0 4px 5px rgba(8, 112, 196, .22)) drop-shadow(0 1px 1px rgba(0, 0, 0, .12)); transform-origin: left center; transition: height .3s var(--vs-ease), transform .3s cubic-bezier(.2, .8, .3, 1.2), filter .3s; }
.vs-logo:hover img { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 8px 10px rgba(8, 112, 196, .3)) drop-shadow(0 2px 2px rgba(0, 0, 0, .14)); }
/* vệt sáng lướt qua logo, cắt theo đúng hình logo (mask = chính ảnh logo) -> không đổi hình/màu logo */
.vs-shine { position: relative; display: block; line-height: 0; }
.vs-shine::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .75) 50%, transparent 58%) no-repeat; background-size: 250% 100%; background-position: 150% 0; -webkit-mask: var(--vs-logo) center / 100% 100% no-repeat; mask: var(--vs-logo) center / 100% 100% no-repeat; animation: vs-logo-shine 7s ease-in-out 1.2s infinite; transition: transform .3s cubic-bezier(.2, .8, .3, 1.2); transform-origin: left center; }
.vs-logo:hover .vs-shine::after { transform: translateY(-2px) scale(1.04); animation: vs-logo-shine-once .9s ease-out; }
.vs-footer__logo:hover .vs-shine::after { animation: vs-logo-shine-once .9s ease-out; }
@keyframes vs-logo-shine { 0%, 82% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes vs-logo-shine-once { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .vs-shine::after { animation: none !important; } }
/* Hover đặc biệt (vs.js initLogoTilt): nghiêng 3D theo chuột, đốm sáng theo con trỏ cắt theo hình logo, bóng sáng xanh + cam lệch theo hướng nghiêng */
.vs-logo, .vs-footer__logo { perspective: 700px; }
.vs-shine { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .8, .3, 1); will-change: transform; }
.is-tilt .vs-shine { transition: transform .12s ease-out; }
.vs-shine::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(circle 70px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .9), rgba(255, 255, 255, .3) 45%, transparent 75%); -webkit-mask: var(--vs-logo) center / 100% 100% no-repeat; mask: var(--vs-logo) center / 100% 100% no-repeat; }
.is-tilt .vs-shine::before { opacity: 1; }
.vs-logo.is-tilt img, .vs-footer__logo.is-tilt img { transform: translateY(-2px) scale(1.05); filter: drop-shadow(calc(var(--sx, 0px) - 3px) 8px 10px rgba(8, 112, 196, .38)) drop-shadow(calc(var(--sx, 0px) + 4px) 5px 9px rgba(243, 112, 33, .32)) drop-shadow(0 1px 1px rgba(0, 0, 0, .12)); }
.vs-logo.is-tilt .vs-shine::before, .vs-logo.is-tilt .vs-shine::after { transform: translateY(-2px) scale(1.05); transform-origin: left center; }
.vs-footer__logo.is-tilt .vs-shine::before { transform: translateY(-2px) scale(1.05); }
.vs-footer__logo img { transition: transform .3s cubic-bezier(.2, .8, .3, 1.2), filter .3s; }
.vs-nav { flex: 1 1 auto; min-width: 0; }
.vs-menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.vs-menu > li { position: relative; padding-block: calc((var(--vs-header-h) - 42px) / 2); }
.vs-menu > li > a { display: flex; align-items: center; gap: 5px; height: 42px; padding: 0 clamp(10px, .95vw, 17px); border-radius: 999px; font-weight: 650; font-size: 15px; letter-spacing: -.005em; color: var(--vs-ink-2) !important; white-space: nowrap; position: relative; transition: background-color .2s, color .2s, box-shadow .2s; }
.vs-menu > li:hover > a, .vs-menu > li:focus-within > a { background: var(--vs-primary-50); color: var(--vs-primary) !important; }
.vs-menu > li.is-active > a { color: var(--vs-primary) !important; background: var(--vs-primary-50); box-shadow: inset 0 0 0 1px rgba(8, 112, 196, .14); }
.vs-menu .vs-caret { font-size: 14px; opacity: .7; transition: transform .25s var(--vs-ease), opacity .2s; }
.vs-menu > li:hover > a .vs-caret { transform: rotate(180deg); opacity: 1; }
.vs-sub-toggle { display: none; }

/* Panel dropdown: mở có độ trễ nhỏ, đóng trễ 0.1s để rê chuột chéo không bị tắt */
.vs-sub { position: absolute; top: 100%; left: 50%; padding-top: 10px; transform: translate(-50%, 12px); opacity: 0; visibility: hidden; pointer-events: none; z-index: 70;
    transition: opacity .2s ease .1s, transform .3s var(--vs-ease) .1s, visibility 0s linear .4s; }
.vs-menu > li:hover > .vs-sub, .vs-menu > li:focus-within > .vs-sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
    transition: opacity .2s ease .04s, transform .3s var(--vs-ease) .04s, visibility 0s; }
.vs-sub::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: #fff; border: 1px solid var(--vs-line); border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; transform: rotate(45deg); z-index: 1; }
.vs-sub__in { position: relative; display: flex; background: #fff; border: 1px solid var(--vs-line); border-radius: 18px; box-shadow: 0 32px 70px -24px rgba(6, 26, 54, .38), 0 2px 8px rgba(6, 26, 54, .06); overflow: hidden; }
.vs-sub__main { display: flex; flex-direction: column; padding: 10px; min-width: 300px; }
.vs-sub__list { display: grid; gap: 2px; }
.vs-sub--mega .vs-sub__list { grid-template-columns: repeat(2, minmax(280px, 1fr)); grid-auto-flow: row dense; column-gap: 6px; }
.vs-sub--mega .vs-sub__item.has-sub { grid-column: 1 / -1; }
.vs-sub__link { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 650; color: var(--vs-ink) !important; transition: background-color .2s; }
.vs-sub__ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--vs-primary-50); color: var(--vs-primary); transition: background-color .2s, color .2s, transform .3s var(--vs-ease); }
.vs-sub__ico .vs-ico { font-size: 19px; }
.vs-sub__name { flex: 1; transition: color .2s; white-space: nowrap; }
.vs-sub__go { font-size: 16px; color: var(--vs-primary); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .25s var(--vs-ease); }
.vs-sub__link:hover { background: var(--vs-soft); }
.vs-sub__link:hover .vs-sub__ico { background: var(--vs-primary); color: #fff; transform: scale(1.06) rotate(-4deg); }
.vs-sub__link:hover .vs-sub__name { color: var(--vs-primary); }
.vs-sub__link:hover .vs-sub__go { opacity: 1; transform: none; }
.vs-sub.vs-sub__kids { position: static; transform: none; opacity: 1; visibility: inherit; pointer-events: inherit; transition: none; margin: 0; padding: 0 12px 10px 66px; }
.vs-sub.vs-sub__kids::before { display: none; }
.vs-sub__kids { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-sub__kids a { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--vs-line); background: #fff; font-size: 13px; font-weight: 600; color: var(--vs-ink-2) !important; transition: border-color .2s, color .2s, background-color .2s; }
.vs-sub__kids a:hover { border-color: var(--vs-primary); background: var(--vs-primary-50); color: var(--vs-primary) !important; }
.vs-sub__all { display: flex; align-items: center; gap: 8px; margin: 8px 2px 0; padding: 12px 12px 4px; border-top: 1px solid var(--vs-line); font-size: 14px; font-weight: 700; color: var(--vs-primary) !important; }
.vs-sub__all .vs-ico { transition: transform .25s var(--vs-ease); }
.vs-sub__all:hover .vs-ico { transform: translateX(4px); }
.vs-sub__aside { flex: 0 0 250px; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: radial-gradient(260px 200px at 100% 0%, rgba(8, 112, 196, .6), transparent 70%), var(--vs-navy); color: #c9d7ec; }
.vs-sub__aside b { color: #fff !important; font-size: 17px; line-height: 1.35; font-weight: 800; }
.vs-sub__aside p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #c9d7ec !important; }
.vs-sub__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--vs-accent-soft); font-size: 12px; font-weight: 700; }
.vs-sub__aside .vs-btn { margin-top: auto; align-self: flex-start; color: #fff !important; }
/* Các mục hiện lần lượt khi mở panel */
@keyframes vsSubIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1101px) {
    .vs-menu > li:hover > .vs-sub .vs-sub__item { animation: vsSubIn .35s var(--vs-ease) both; }
    .vs-sub__item:nth-child(2) { animation-delay: .03s !important; }
    .vs-sub__item:nth-child(3) { animation-delay: .06s !important; }
    .vs-sub__item:nth-child(4) { animation-delay: .09s !important; }
    .vs-sub__item:nth-child(5) { animation-delay: .12s !important; }
    .vs-sub__item:nth-child(n+6) { animation-delay: .15s !important; }
}
.vs-nav__head, .vs-nav__foot { display: none; }

.vs-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
@media (min-width: 1101px) { .vs-actions { padding-left: clamp(12px, 1.4vw, 24px); border-left: 1px solid var(--vs-line); } }
.vs-hotline { display: none; align-items: center; gap: 10px; padding: 0 10px 0 4px; color: var(--vs-ink) !important; }
.vs-hotline__ico { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff3ea; color: var(--vs-accent); }
.vs-hotline__ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(243, 112, 33, .25); animation: vsRing 2.4s ease-out infinite; }
.vs-hotline__ico .vs-ico { font-size: 18px; }
.vs-hotline__txt { display: grid; line-height: 1.2; }
.vs-hotline__txt small { font-size: 12px; color: var(--vs-muted); font-weight: 600; }
.vs-hotline__txt b { font-size: 16.5px; font-weight: 800; letter-spacing: .01em; transition: color .2s; }
.vs-hotline:hover b { color: var(--vs-accent); }
@keyframes vsRing { 0% { transform: scale(.85); opacity: 1; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
@media (min-width: 1560px) { .vs-hotline { display: inline-flex; } }
.vs-header .vs-cta-btn { margin-left: 4px; box-shadow: 0 10px 22px -12px rgba(8, 112, 196, .8); }
.vs-header .vs-cta-btn .vs-ico { transition: transform .25s var(--vs-ease); }
.vs-header .vs-cta-btn:hover .vs-ico { transform: translateX(3px); }
.vs-iconbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--vs-ink) !important; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.vs-iconbtn:hover { background: var(--vs-soft); color: var(--vs-primary) !important; }
.vs-iconbtn .vs-ico { font-size: 21px; }
.vs-badge { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--vs-accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }
.vs-burger { display: none; }

.vs-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--vs-line); box-shadow: var(--vs-shadow); padding: 18px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.vs-search.is-open { opacity: 1; visibility: visible; transform: none; }
.vs-search form { display: flex; gap: 10px; max-width: 760px; margin-inline: auto; }
.vs-search input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1.5px solid var(--vs-line); padding: 0 22px; font: inherit; font-size: 16px; color: var(--vs-ink); background: var(--vs-soft); outline: none; transition: border-color .2s, background .2s; }
.vs-search input:focus { border-color: var(--vs-primary); background: #fff; }

.vs-backdrop { position: fixed; inset: 0; background: rgba(6, 26, 54, .5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 90; }
.vs-backdrop.is-open { opacity: 1; visibility: visible; }
/* drawer (z 100) nằm trong stacking context của header -> khi mở menu nâng header lên trên backdrop (z 90) */
.vs-lock .vs-header { z-index: 95; }

/* Menu dài: thu gọn khoảng cách trước khi chuyển sang menu mobile */
@media (max-width: 1279px) { .vs-header .vs-cta-btn { display: none; } }
@media (max-width: 1280px) {
    .vs-menu > li > a { font-size: 14.5px; padding: 0 9px; }
}

/* ---------- Mobile nav (<= 1100px) ---------- */
@media (max-width: 1100px) {
    :root { --vs-header-h: 66px; }
    .vs-logo img { height: 42px; } .vs-logo { padding-right: 0; margin-right: 0; } .vs-logo::after { display: none; }
    .vs-burger { display: grid; }
    .vs-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s var(--vs-ease); display: flex; flex-direction: column; box-shadow: var(--vs-shadow-lg); visibility: hidden; }
    .vs-nav.is-open { transform: none; visibility: visible; }
    .vs-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--vs-line); }
    .vs-nav__head img { height: 36px; width: auto; }
    .vs-nav__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px; }
    .vs-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .vs-menu > li { border-bottom: 1px solid var(--vs-line); display: flex; flex-wrap: wrap; align-items: center; padding-block: 0; }
    .vs-menu > li > a { height: auto; padding: 15px 8px; flex: 1; font-size: 16px; border-radius: 0; }
    .vs-menu > li:hover > a, .vs-menu > li:focus-within > a { background: transparent; }
    .vs-menu > li > a::after, .vs-menu .vs-caret { display: none; }
    .vs-sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--vs-soft); border-radius: 10px; color: var(--vs-ink); cursor: pointer; }
    .vs-sub-toggle .vs-ico { transition: transform .2s; font-size: 18px; }
    li.is-open > .vs-sub-toggle .vs-ico { transform: rotate(180deg); }
    .vs-sub, .vs-menu > li:hover > .vs-sub, .vs-menu > li:focus-within > .vs-sub { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none; width: 100%; padding: 0; display: none; }
    .vs-sub::before, .vs-sub__aside { display: none; }
    li.is-open > .vs-sub, .vs-menu > li.is-open > .vs-sub, .vs-menu > li.is-open:hover > .vs-sub, .vs-menu > li.is-open:focus-within > .vs-sub { display: block; }
    .vs-sub__in { display: block; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
    .vs-sub__main { min-width: 0; padding: 0 0 10px; }
    .vs-sub--mega .vs-sub__list { grid-template-columns: 1fr; }
    .vs-sub li { display: flex; flex-wrap: wrap; align-items: center; }
    .vs-sub li > a { flex: 1; }
    .vs-sub__link { padding: 8px 6px; gap: 12px; }
    .vs-sub__ico { width: 34px; height: 34px; border-radius: 9px; }
    .vs-sub__go { display: none; }
    .vs-sub__name { white-space: normal; }
    .vs-sub.vs-sub__kids { display: none; }
    li.is-open > .vs-sub.vs-sub__kids { display: flex; }
    .vs-sub .vs-sub-toggle { width: 36px; height: 36px; background: transparent; }
    .vs-sub.vs-sub__kids { padding: 0 0 8px 46px; }
    .vs-sub__all { margin: 4px 0 0; padding: 10px 6px 2px; }
    .vs-nav__foot { display: grid; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--vs-line); background: var(--vs-soft); }
    .vs-nav__foot a { display: flex; align-items: center; gap: 10px; color: var(--vs-ink-2); font-weight: 600; }
    .vs-nav__foot .vs-ico { color: var(--vs-primary); font-size: 18px; }
    .vs-nav__foot .vs-btn { margin-top: 6px; color: #fff; }
    .vs-topbar__list li:first-child { display: none; }
}
@media (min-width: 1101px) { .vs-nav__body { display: contents; } }
@media (max-width: 640px) {
    .vs-topbar .vs-social { display: none; }
    .vs-topbar__list { gap: 14px; }
}
body.vs-lock { overflow: hidden; }

/* ---------- Trang con: page hero + breadcrumb ---------- */
.vs-pagehero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(40px, 6vw, 84px) 0 clamp(80px, 9vw, 128px);
    background: radial-gradient(800px 420px at 95% 0%, rgba(0, 160, 224, .5), transparent 60%), radial-gradient(600px 360px at 0% 110%, rgba(243, 112, 33, .32), transparent 60%), var(--vs-grad-blue); }
.vs-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; 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: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.vs-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: #bcd5f0; margin-bottom: 18px; }
.vs-crumb a { color: #dceafa !important; }
.vs-crumb a:hover { color: #fff !important; }
.vs-crumb .vs-ico { font-size: 13px; opacity: .6; }
.vs-crumb [aria-current] { color: #fff; font-weight: 600; }
.vs-pagehero__title { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 54px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; max-width: 20ch; }
.vs-pagehero .vs-pagehero__lead { margin: 16px 0 0; max-width: 62ch; color: #dceafa; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.65; }
.vs-pagehero__quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Liên hệ ---------- */
.vs-contact { padding-top: 0; padding-bottom: clamp(28px, 3vw, 48px); }
.vs-contact__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 2.5vw, 40px); align-items: stretch; margin-top: clamp(-80px, -6vw, -48px); position: relative; }
.vs-contact__form { background: #fff; border: 1px solid var(--vs-line); border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(6, 26, 54, .3); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; }
.vs-contact__form .vs-title { margin-bottom: 22px; }
.vs-contact__form .vs-form { flex: 1; grid-template-rows: auto auto 1fr auto; }
.vs-field.vs-field--grow { display: flex; flex-direction: column; }
.vs-field--grow textarea { flex: 1; }
.vs-form { display: grid; gap: 18px; }
.vs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-field { display: grid; gap: 8px; margin: 0; font-weight: 400; }
.vs-field > span { font-size: 14px; font-weight: 650; color: var(--vs-ink-2); }
.vs-field input, .vs-field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border: 1.5px solid var(--vs-line); border-radius: 12px; background: var(--vs-soft); font: inherit; font-size: 15.5px; color: var(--vs-ink); outline: none; box-shadow: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.vs-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.vs-field input::placeholder, .vs-field textarea::placeholder { color: #94a3b8; }
.vs-field input:focus, .vs-field textarea:focus { border-color: var(--vs-primary); background: #fff; box-shadow: 0 0 0 4px rgba(8, 112, 196, .12); }
.vs-form.is-checked .vs-field :invalid { border-color: var(--vs-accent); background: #fff7f0; }
.vs-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.vs-form__foot .vs-btn { min-width: 200px; }
.vs-form__foot .vs-btn[disabled] { opacity: .7; cursor: progress; }
.vs-form__msg { margin: 0; font-size: 14.5px; font-weight: 600; }
.vs-form__msg.is-ok { color: #0f8a4b; }
.vs-form__msg.is-err { color: var(--vs-accent-text); }
.vs-contact__info { display: flex; flex-direction: column; gap: 16px; }
.vs-contact__info > .vs-infocard:last-child { flex: 1; }
.vs-infocard { display: flex; gap: 16px; background: #fff; border: 1px solid var(--vs-line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 14px 40px -30px rgba(6, 26, 54, .35); }
.vs-infocard__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--vs-primary-50); color: var(--vs-primary); }
.vs-infocard__ico .vs-ico { font-size: 21px; }
.vs-infocard > div { flex: 1; min-width: 0; }
.vs-infocard h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 800; color: var(--vs-ink); }
.vs-infocard p { margin: 0 0 12px; color: var(--vs-muted); font-size: 14px; }
.vs-infolist { display: grid; gap: 0; }
.vs-infolist li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--vs-line); font-size: 14.5px; }
.vs-infolist span { color: var(--vs-muted); }
.vs-infolist b, .vs-infolist a { color: var(--vs-ink); font-weight: 650; text-align: right; }
.vs-infolist a:hover { color: var(--vs-primary); }
.vs-infolist li.vs-zalo-row { align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 0; }
.vs-zalo-row b { flex: 1; font-size: 16px; font-weight: 800; color: var(--vs-ink); text-align: left; letter-spacing: .01em; }
.vs-zalo-badge { flex: 0 0 auto; display: inline-grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 8px; background: #0068ff; color: #fff !important; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.vs-btn--zalo { min-height: 36px; padding: 0 14px; font-size: 13.5px; gap: 6px; background: #e8f1ff; color: #0058db !important; border-color: transparent; } /* chữ xanh Zalo đậm hơn: tương phản 5.4 */
.vs-btn--zalo:hover { background: #0068ff; color: #fff !important; }
.vs-infolist .vs-btn--zalo { text-align: center; font-weight: 700; }
.vs-infolist--stack li { flex-direction: column; gap: 2px; }
.vs-infolist--stack b { text-align: left; }
.vs-contact__map { padding-bottom: clamp(48px, 6vw, 96px); }
.vs-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--vs-line); box-shadow: 0 20px 50px -30px rgba(6, 26, 54, .35); line-height: 0; }
.vs-map iframe { display: block; width: 100% !important; height: clamp(320px, 38vw, 480px) !important; border: 0; }
@media (max-width: 1023px) {
    .vs-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vs-form__row { grid-template-columns: 1fr; }
    .vs-form__foot .vs-btn { width: 100%; }
    .vs-pagehero__quick .vs-btn { flex: 1 1 100%; }
    .vs-infocard { padding: 18px; }
}

/* =====================================================================
   TRANG CON (danh mục, chi tiết, tin tức, giỏ hàng, 404)
   ===================================================================== */
.vs-pagehero--list { padding: clamp(32px, 4.5vw, 64px) 0 clamp(36px, 4.5vw, 64px); }
.vs-pagehero--list .vs-pagehero__title { max-width: 28ch; font-size: clamp(28px, 3.4vw, 46px); }
.vs-pagehero--slim { padding: 22px 0 clamp(72px, 7vw, 104px); }
.vs-pagehero--slim .vs-crumb { margin-bottom: 0; }
.vs-pagehero--article { padding: clamp(32px, 4.5vw, 64px) 0 clamp(84px, 8vw, 120px); }
.vs-pagehero--article .vs-pagehero__title { max-width: 30ch; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.2; }
.vs-crumb > a, .vs-crumb > span { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-pagehero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: #dceafa; font-size: 14.5px; }
.vs-pagehero__meta > * { display: inline-flex; align-items: center; gap: 7px; }
.vs-pagehero__meta a { color: #c9d7ec !important; }
.vs-pagehero__meta a:hover { color: #fff !important; }
.vs-pagehero__meta .vs-ico { font-size: 16px; color: var(--vs-accent-soft); }

.vs-searchbar { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 26px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.vs-searchbar > .vs-ico { font-size: 20px; color: var(--vs-muted); flex: 0 0 auto; }
.vs-searchbar input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--vs-ink); }
.vs-searchbar--light { margin: 24px auto 0; border: 1.5px solid var(--vs-line); box-shadow: none; background: var(--vs-soft); }
.vs-searchbar--light:focus-within { border-color: var(--vs-primary); background: #fff; }

/* Danh sách */
.vs-listing { padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 6vw, 96px); }
.vs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.vs-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--vs-line); background: #fff; color: var(--vs-ink-2) !important; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: border-color .2s, color .2s, background-color .2s, box-shadow .2s; }
.vs-chip:hover { border-color: var(--vs-primary); color: var(--vs-primary) !important; }
.vs-chip.is-active { background: var(--vs-primary); border-color: var(--vs-primary); color: #fff !important; box-shadow: 0 8px 18px -10px rgba(8, 112, 196, .9); }
.vs-chips--sub .vs-chip { height: 34px; padding: 0 14px; font-size: 13.5px; background: var(--vs-soft); }
.vs-chips--sub .vs-chip.is-active { background: var(--vs-primary-50); border-color: var(--vs-primary); color: var(--vs-primary) !important; box-shadow: none; }
.vs-listing__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 22px; color: var(--vs-muted); font-size: 15px; }
.vs-listing__bar b { color: var(--vs-ink); }
.vs-grid--list { --min: 270px; }
.vs-newsgrid { --min: 320px; }
.vs-newsgrid .vs-card__media { aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--vs-line); }
.vs-newsgrid .vs-card__media img { object-fit: contain; padding: 12px; }
/* ngày đã có ở dòng meta -> bỏ ô ngày đè lên góc ảnh để logo/ảnh hiện trọn */
.vs-newsgrid .vs-date { display: none; }
/* số cột cố định (1/2/3/4) -> trang 24 tin luôn đủ hàng, không hụt ô cuối */
.vs-grid.vs-newsgrid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .vs-grid.vs-newsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vs-grid.vs-newsgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .vs-grid.vs-newsgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.vs-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(32px, 4vw, 52px); }
.vs-pager a, .vs-pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--vs-line); background: #fff; display: inline-grid; place-items: center; font-weight: 700; color: var(--vs-ink-2) !important; transition: border-color .2s, color .2s; }
.vs-pager a:hover { border-color: var(--vs-primary); color: var(--vs-primary) !important; }
.vs-pager .is-current { background: var(--vs-primary); border-color: var(--vs-primary); color: #fff !important; }
.vs-pager__prev .vs-ico { transform: rotate(180deg); }

.vs-empty { max-width: 560px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; text-align: center; }
.vs-empty__ico { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--vs-primary-50); color: var(--vs-primary); }
.vs-empty__ico .vs-ico { font-size: 36px; }
.vs-empty h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--vs-ink); }
.vs-site-3 .vs-empty p { margin: 10px 0 24px; color: var(--vs-muted); }

/* Bố cục 2 cột: nội dung + sidebar */
.vs-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(290px, 24vw, 360px); gap: clamp(24px, 3vw, 44px); align-items: start; }
.vs-side { display: grid; gap: 20px; }
.vs-side__box { background: #fff; border: 1px solid var(--vs-line); border-radius: 20px; padding: 20px; box-shadow: 0 14px 40px -32px rgba(6, 26, 54, .35); }
.vs-side__title { font-size: 16.5px; font-weight: 800; color: var(--vs-ink); padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--vs-line); }
.vs-side__nav { display: grid; gap: 2px; }
.vs-side__nav > li > a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-size: 15px; font-weight: 650; color: var(--vs-ink-2) !important; transition: background-color .2s, color .2s; }
.vs-side__nav > li > a:hover { background: var(--vs-soft); color: var(--vs-primary) !important; }
.vs-side__ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--vs-primary-50); color: var(--vs-primary); transition: background-color .2s, color .2s; }
.vs-side__ico .vs-ico { font-size: 17px; }
.vs-side__name { flex: 1; min-width: 0; }
.vs-side__go { font-size: 15px; opacity: .35; transition: transform .2s var(--vs-ease), opacity .2s; }
.vs-side__nav > li > a:hover .vs-side__go { opacity: 1; transform: translateX(3px); }
.vs-side__nav > li.is-active > a { background: var(--vs-primary-50); color: var(--vs-primary) !important; }
.vs-side__nav > li.is-active .vs-side__ico { background: var(--vs-primary); color: #fff; }
.vs-site-3 .vs-side__kids { margin: 4px 0 8px 27px; padding-left: 18px; border-left: 2px solid var(--vs-line); display: grid; gap: 2px; }
.vs-side__nav > li:not(.is-active) .vs-side__kids { display: none; }
.vs-side__kids a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--vs-muted) !important; }
.vs-side__kids a:hover, .vs-side__kids .is-active a { color: var(--vs-primary) !important; background: var(--vs-soft); }
.vs-side__kids .is-active a { font-weight: 700; }
.vs-minilist { display: grid; gap: 14px; }
.vs-mini { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; }
.vs-mini__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--vs-soft); }
.vs-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--vs-ease); }
.vs-mini:hover .vs-mini__img img { transform: scale(1.06); }
.vs-mini__txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 650; line-height: 1.4; color: var(--vs-ink); transition: color .2s; }
.vs-mini:hover .vs-mini__txt b { color: var(--vs-primary); }
.vs-mini__txt small { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 12.5px; color: var(--vs-muted); }
.vs-mini__txt .vs-mini__price { color: var(--vs-accent-text); font-size: 14px; font-weight: 800; }
.vs-side__cta { position: relative; overflow: hidden; border-radius: 20px; padding: 24px; color: #c9d7ec; background: radial-gradient(320px 200px at 100% 0%, rgba(0, 160, 224, .35), transparent 70%), var(--vs-navy); }
.vs-side__cta .vs-sub__badge { display: inline-flex; }
.vs-side__cta b { display: block; margin: 14px 0 8px; font-size: 19px; line-height: 1.3; font-weight: 800; color: #fff; }
.vs-site-3 .vs-side__cta p { margin-bottom: 16px; font-size: 14.5px; line-height: 1.6; }
.vs-side__cta .vs-btn { width: 100%; margin-top: 10px; }

/* Chi tiết sản phẩm */
.vs-pdp { position: relative; margin-top: calc(-1 * clamp(52px, 5.5vw, 80px)); padding-bottom: clamp(48px, 6vw, 88px); }
.vs-pdp__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); margin-bottom: clamp(28px, 3.5vw, 48px); padding: clamp(16px, 2.4vw, 36px); background: #fff; border: 1px solid var(--vs-line); border-radius: 24px; box-shadow: 0 30px 70px -30px rgba(6, 26, 54, .3); }
.vs-pdp__media { position: relative; align-self: start; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--vs-soft); }
.vs-pdp__media img { width: 100%; height: 100%; object-fit: contain; }
.vs-pdp__info { display: flex; flex-direction: column; gap: 16px; align-self: center; min-width: 0; }
.vs-pdp__title { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--vs-ink); }
.vs-pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.vs-pdp__price b { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; color: var(--vs-accent-text); letter-spacing: -.01em; }
.vs-pdp__price del { color: #64748b; font-size: 16px; }
.vs-pdp__off { align-self: center; padding: 4px 10px; border-radius: 999px; background: #fff3ea; color: var(--vs-accent-text); font-size: 13px; font-weight: 800; }
.vs-pdp .vs-pdp__sapo { color: var(--vs-muted); font-size: 15.5px; line-height: 1.7; }
.vs-pdp__usp { display: grid; gap: 8px; }
.vs-pdp__usp li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--vs-ink-2); }
.vs-pdp__usp .vs-ico { flex: 0 0 auto; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e8f8ee; color: #16a34a; }
.vs-pdp__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px dashed var(--vs-line); }
.vs-pdp__help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14.5px; color: var(--vs-muted); }
.vs-pdp__help a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--vs-primary) !important; }
.vs-pdp__help a:hover { color: var(--vs-accent) !important; }
.vs-qty { display: inline-flex; align-items: center; height: 48px; border: 1.5px solid var(--vs-line); border-radius: 999px; background: #fff; overflow: hidden; }
.vs-qty button { width: 44px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; color: var(--vs-ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.vs-qty button:hover { background: var(--vs-soft); color: var(--vs-primary); }
.vs-qty input { width: 52px; height: 100%; border: 0; outline: 0; background: transparent; text-align: center; font: inherit; font-size: 16px; font-weight: 700; color: var(--vs-ink); -moz-appearance: textfield; appearance: textfield; }
.vs-qty input::-webkit-inner-spin-button, .vs-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vs-qty--sm { height: 40px; }
.vs-qty--sm button { width: 36px; }
.vs-qty--sm input { width: 40px; font-size: 15px; }

.vs-tabs { background: #fff; border: 1px solid var(--vs-line); border-radius: 20px; overflow: hidden; }
.vs-tabs__nav { display: flex; gap: 4px; padding: 8px; background: var(--vs-soft); border-bottom: 1px solid var(--vs-line); overflow-x: auto; scrollbar-width: none; }
.vs-tabs__nav button { flex: 0 0 auto; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; font-size: 15px; font-weight: 650; color: var(--vs-muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.vs-tabs__nav button:hover { color: var(--vs-ink); }
.vs-tabs__nav button.is-active { background: #fff; color: var(--vs-primary); box-shadow: var(--vs-shadow-sm); }
.vs-tabs__panel { padding: clamp(20px, 3vw, 40px); }
.vs-ytframe { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vs-ytframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Nội dung soạn trong admin (HTML tự do): chặn ảnh/iframe/bảng tràn khung, đồng bộ font */
.vs-prose { color: var(--vs-ink-2); font-size: 16.5px; line-height: 1.8; overflow-wrap: break-word; }
.vs-prose * { font-family: inherit !important; max-width: 100%; }
.vs-prose p[style*="font-size"], .vs-prose span[style*="font-size"], .vs-prose li[style*="font-size"], .vs-prose div[style*="font-size"], .vs-prose td[style*="font-size"], .vs-prose font { font-size: inherit !important; line-height: inherit !important; }
.vs-site-3 .vs-prose p { margin: 0 0 1em; }
.vs-site-3 .vs-prose h1, .vs-site-3 .vs-prose h2, .vs-site-3 .vs-prose h3, .vs-site-3 .vs-prose h4, .vs-site-3 .vs-prose h5 { margin: 1.6em 0 .6em; color: var(--vs-ink); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.vs-site-3 .vs-prose > :first-child { margin-top: 0; }
.vs-prose h1, .vs-prose h2 { font-size: 1.5em !important; }
.vs-prose h3 { font-size: 1.27em !important; }
.vs-prose h4, .vs-prose h5 { font-size: 1.1em !important; }
.vs-site-3 .vs-prose ul, .vs-site-3 .vs-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.vs-site-3 .vs-prose ul { list-style: disc; }
.vs-site-3 .vs-prose ol { list-style: decimal; }
.vs-prose li { margin: .35em 0; }
.vs-prose li::marker { color: var(--vs-primary); }
.vs-prose strong, .vs-prose b { color: var(--vs-ink); }
.vs-prose a { color: var(--vs-primary) !important; text-decoration: underline; text-underline-offset: 3px; }
.vs-site-3 .vs-prose img { width: auto; max-width: 100% !important; height: auto !important; margin: 1.2em auto; border-radius: 12px; }
.vs-prose iframe { max-width: 100% !important; border: 0; border-radius: 12px; }
.vs-prose iframe[src*="youtube"], .vs-prose iframe[src*="youtu.be"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.vs-prose table { display: block; width: auto !important; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.2em; font-size: .94em; }
.vs-prose td, .vs-prose th { border: 1px solid var(--vs-line); padding: 8px 12px; vertical-align: top; }
.vs-prose blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--vs-primary); border-radius: 0 12px 12px 0; background: var(--vs-soft); color: var(--vs-ink-2); }
.vs-prose blockquote > :last-child { margin-bottom: 0; }
.vs-prose figure { margin: 1.2em 0; }
.vs-prose figcaption { margin-top: -6px; text-align: center; color: var(--vs-muted); font-size: 14px; }
.vs-prose hr { border: 0; border-top: 1px solid var(--vs-line); margin: 2em 0; }

/* Chi tiết tin */
.vs-article { position: relative; margin-top: calc(-1 * clamp(56px, 6vw, 84px)); padding-bottom: clamp(48px, 6vw, 88px); }
.vs-article__card { padding: clamp(20px, 3.5vw, 56px); background: #fff; border: 1px solid var(--vs-line); border-radius: 24px; box-shadow: 0 30px 70px -30px rgba(6, 26, 54, .3); }
.vs-site-3 .vs-article__sapo { margin-bottom: 28px; padding: 0 0 24px; border-bottom: 1px solid var(--vs-line); font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; line-height: 1.65; color: var(--vs-ink); }
.vs-article__banner img { border-radius: 14px; margin-top: 24px; }
.vs-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--vs-line); }
.vs-share > span { margin-right: 6px; font-size: 14.5px; font-weight: 700; color: var(--vs-ink); }
.vs-share a, .vs-share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--vs-line); background: #fff; display: grid; place-items: center; color: var(--vs-ink-2) !important; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.vs-share a:hover, .vs-share button:hover { background: var(--vs-primary); border-color: var(--vs-primary); color: #fff !important; }
.vs-comments { margin-top: 32px; }
.vs-comments h2 { margin-bottom: 12px; font-size: 20px; font-weight: 800; color: var(--vs-ink); }
.vs-related .vs-head { margin-bottom: clamp(20px, 2.5vw, 32px); }

/* Giỏ hàng */
.vs-cartpage { padding: clamp(28px, 3vw, 48px) 0 clamp(56px, 6vw, 96px); }
.vs-cart { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(20px, 2.5vw, 36px); align-items: start; }
.vs-panel { background: #fff; border: 1px solid var(--vs-line); border-radius: 20px; padding: clamp(18px, 2.4vw, 32px); box-shadow: 0 14px 40px -30px rgba(6, 26, 54, .35); }
.vs-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.vs-panel__head h2 { font-size: 19px; font-weight: 800; color: var(--vs-ink); }
.vs-cart__count { color: var(--vs-muted); font-weight: 600; }
.vs-cartrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 130px 40px; grid-template-areas: "img info qty total rm"; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--vs-line); transition: opacity .2s; }
.vs-cartrow:first-child { border-top: 0; }
.vs-cartrow.is-busy { opacity: .45; pointer-events: none; }
.vs-cartrow__img { grid-area: img; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--vs-soft); }
.vs-cartrow__img img { width: 100%; height: 100%; object-fit: cover; }
.vs-cartrow__info { grid-area: info; min-width: 0; }
.vs-cartrow__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--vs-ink) !important; }
.vs-cartrow__name:hover { color: var(--vs-primary) !important; }
.vs-cartrow__unit { display: block; margin-top: 4px; font-size: 13.5px; color: var(--vs-muted); }
.vs-cartrow .vs-qty { grid-area: qty; }
.vs-cartrow__total { grid-area: total; text-align: right; font-size: 16px; font-weight: 800; color: var(--vs-ink); }
.vs-cartrow__rm { grid-area: rm; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--vs-muted); cursor: pointer; transition: background-color .2s, color .2s; }
.vs-cartrow__rm:hover { background: #fff3ea; color: var(--vs-accent); }
.vs-cart__checkout.vs-form { gap: 14px; }
.vs-cart__checkout textarea { min-height: 90px; }
.vs-cart__sum { margin: 4px 0 0; padding-top: 16px; border-top: 1px dashed var(--vs-line); display: grid; gap: 8px; }
.vs-cart__sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vs-cart__sum dt { color: var(--vs-muted); }
.vs-cart__sum dd { margin: 0; font-weight: 700; color: var(--vs-ink); }
.vs-cart__sum .is-total dt { color: var(--vs-ink); font-weight: 700; }
.vs-cart__sum .is-total dd { font-size: 24px; font-weight: 800; color: var(--vs-accent); }
.vs-cart__submit { width: 100%; min-height: 52px; font-size: 16px; }
.vs-cart__submit[disabled] { opacity: .7; cursor: progress; }
.vs-site-3 .vs-cart__note { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--vs-muted); }
.vs-cart__note .vs-ico { flex: 0 0 auto; margin-top: 2px; color: #16a34a; font-size: 17px; }
@media (min-width: 1101px) { .vs-cart__checkout { position: sticky; top: calc(var(--vs-header-h) + 20px); } }

/* Trang trạng thái: đặt hàng thành công / 404 / lỗi */
.vs-status { padding: clamp(48px, 8vw, 120px) 0; background: radial-gradient(700px 360px at 50% 0%, var(--vs-primary-50), transparent 70%); }
.vs-status__card { max-width: 660px; margin: 0 auto; text-align: center; padding: clamp(32px, 5vw, 64px); background: #fff; border: 1px solid var(--vs-line); border-radius: 28px; box-shadow: var(--vs-shadow-lg); }
.vs-status__ico { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; }
.vs-status__ico.is-ok { background: #e8f8ee; color: #16a34a; }
.vs-status__ico .vs-ico { font-size: 40px; }
.vs-status__code { display: block; font-size: clamp(76px, 12vw, 150px); line-height: 1; font-weight: 900; letter-spacing: -.04em; background: linear-gradient(120deg, var(--vs-primary), var(--vs-primary-2) 45%, var(--vs-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-status h1 { margin: 12px 0 10px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--vs-ink); }
.vs-site-3 .vs-status p { color: var(--vs-muted); margin-top: 6px; }
.vs-status__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

@media (max-width: 1100px) {
    .vs-layout { grid-template-columns: 1fr; }
    .vs-cart { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .vs-pdp__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vs-pdp__buy .vs-btn { flex: 1 1 auto; }
    .vs-cartrow { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "qty qty total"; gap: 12px; }
    .vs-cartrow .vs-qty { justify-self: start; }
    .vs-cartrow__total { align-self: center; white-space: nowrap; }
    .vs-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--vs-gutter, 16px)); padding-right: 16px; }
    .vs-chips::-webkit-scrollbar { display: none; }
    .vs-searchbar .vs-btn span { display: none; }
    .vs-prose { font-size: 16px; }
}

/* ---------- Hero ---------- */
.vs-hero { position: relative; background: radial-gradient(900px 480px at 92% 0%, rgba(0, 160, 224, .45), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(243, 112, 33, .28), transparent 60%), var(--vs-grad-blue); color: #fff; overflow: hidden; isolation: isolate; }
.vs-hero::before { 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: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); z-index: -1; }
.vs-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.vs-hero__track::-webkit-scrollbar { display: none; }
.vs-hero__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.vs-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 4vw, 80px); padding-block: clamp(48px, 6vw, 96px) clamp(72px, 7vw, 112px); min-height: clamp(460px, 58vh, 680px); }
.vs-hero__title { font-size: clamp(30px, 3.4vw, 58px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; margin: 16px 0 0; text-wrap: balance; color: #fff; }
.vs-hero__text { margin-top: 18px; font-size: clamp(16px, 1.2vw, 19px); color: #c3d2e8; max-width: 52ch; }
.vs-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vs-hero .vs-eyebrow { color: var(--vs-accent-soft); }
.vs-hero__media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); aspect-ratio: 14 / 5; background: #0d2547; transform: perspective(1600px) rotateY(-4deg); transform-origin: left center; }
.vs-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.vs-hero__nav { position: absolute; left: 0; right: 0; bottom: clamp(22px, 3vw, 40px); }
.vs-hero__nav .vs-wrap { display: flex; align-items: center; gap: 14px; }
.vs-dots { display: flex; gap: 0; }
.vs-dots button { position: relative; min-width: 24px; height: 24px; border: 0; padding: 0 7px; background: none; cursor: pointer; display: grid; place-items: center; }
.vs-dots button::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .3s var(--vs-ease), background .3s; }
.vs-dots button[aria-current="true"]::before { width: 34px; background: #fff; }
.vs-hero__arrows { display: flex; gap: 8px; margin-left: auto; }
.vs-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.vs-arrow:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.vs-arrow .vs-ico { font-size: 20px; }
@media (max-width: 960px) {
    .vs-hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; gap: 26px; }
    .vs-hero__media { order: -1; transform: none; border-radius: 16px; }
    .vs-hero__arrows { display: none; }
}

/* ---------- Why us + video ---------- */
.vs-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head head" "video list"; column-gap: clamp(28px, 3.5vw, 64px); align-items: start; }
.vs-why__col { display: contents; }
.vs-why .vs-head { grid-area: head; }
.vs-why .vs-video { grid-area: video; }
.vs-why__list { grid-area: list; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; counter-reset: why; }
.vs-why__item { counter-increment: why; position: relative; display: flex; gap: 16px; align-items: center; min-height: 104px; padding: 20px 22px; border-radius: var(--vs-radius); background: #fff; border: 1px solid var(--vs-line); transition: transform .25s var(--vs-ease), box-shadow .25s, border-color .25s; }
.vs-why__item:hover { transform: translateY(-3px); box-shadow: var(--vs-shadow); border-color: transparent; }
.vs-why__item::before { content: counter(why, decimal-leading-zero); flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--vs-primary); background: var(--vs-primary-50); }
.vs-why__item p { margin: 0; font-weight: 600; color: var(--vs-ink); line-height: 1.5; }
.vs-why__item:hover::before { background: var(--vs-accent); color: #fff; }
.vs-video { position: sticky; top: calc(var(--vs-header-h) + 24px); }
.vs-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--vs-shadow-lg); }
.vs-video__frame img, .vs-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vs-video__play { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45)); cursor: pointer; display: grid; place-items: center; padding: 0; }
.vs-video__play span { width: 78px; height: 78px; border-radius: 50%; background: var(--vs-grad-orange); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(236, 106, 34, .22); transition: transform .25s var(--vs-ease); }
.vs-video__play:hover span { transform: scale(1.08); }
.vs-video__play .vs-ico { font-size: 30px; margin-left: 4px; }
.vs-video__cap { margin-top: 16px; font-weight: 700; color: var(--vs-ink); font-size: 18px; }
@media (max-width: 1024px) { .vs-why { grid-template-columns: 1fr; grid-template-areas: "head" "video" "list"; } .vs-why .vs-video { position: static; margin-bottom: 24px; } }
@media (max-width: 560px) { .vs-why__list { grid-template-columns: 1fr; } .vs-why__item { padding: 16px; } }

/* ---------- Cards / grids ---------- */
.vs-grid { display: grid; gap: clamp(16px, 1.6vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 280px)), 1fr)); }
.vs-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1559px) { .vs-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .vs-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vs-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vs-line); border-radius: var(--vs-radius); overflow: hidden; transition: transform .3s var(--vs-ease), box-shadow .3s, border-color .3s; }
.vs-card:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow); border-color: transparent; }
.vs-card__media { position: relative; display: block; aspect-ratio: 37 / 24; overflow: hidden; background: var(--vs-soft); }
.vs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vs-ease); }
.vs-card:hover .vs-card__media img { transform: scale(1.05); }
.vs-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.vs-card__title { font-size: 17px; line-height: 1.4; font-weight: 750; color: var(--vs-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vs-card__title a:hover { color: var(--vs-primary); }
.vs-card__text { color: var(--vs-muted); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vs-card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vs-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--vs-grad-orange); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(243, 112, 33, .8); }
.vs-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--vs-primary-50), #fff); }

.vs-price { display: flex; flex-direction: column; line-height: 1.2; }
.vs-price b { font-size: 19px; font-weight: 800; color: var(--vs-accent-text); letter-spacing: -.01em; }
.vs-price del { font-size: 13.5px; color: #64748b; margin-top: 3px; }
.vs-addcart { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--vs-primary); background: #fff; color: var(--vs-primary); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.vs-addcart:hover { background: var(--vs-primary); color: #fff; }
.vs-addcart .vs-ico { font-size: 18px; }
.vs-addcart.is-loading { opacity: .6; pointer-events: none; }
.vs-addcart.is-done { background: #16a34a; border-color: #16a34a; color: #fff; }

@media (max-width: 560px) {
    .vs-grid--6 { gap: 12px; }
    .vs-grid--6 .vs-card__body { padding: 12px; gap: 6px; }
    .vs-grid--6 .vs-card__title { font-size: 14.5px; }
    .vs-grid--6 .vs-card__text { display: none; }
    .vs-grid--6 .vs-card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
    .vs-grid--6 .vs-price b { font-size: 16px; }
    .vs-grid--6 .vs-addcart { justify-content: center; height: 38px; }
    .vs-grid--6 .vs-card__foot .vs-link { font-size: 14px; }
    .vs-tag { top: 8px; left: 8px; font-size: 11.5px; padding: 4px 8px; }
}
/* Service card: viền nhấn màu */
.vs-card--service .vs-card__media { aspect-ratio: 16 / 9; }
.vs-card--service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--vs-primary), var(--vs-accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--vs-ease); }
.vs-card--service:hover::after { transform: scaleX(1); }

/* News */
/* ảnh tin hiện đủ, không cắt: contain trên nền nhạt */
.vs-news .vs-card__media { aspect-ratio: 3 / 2; background: linear-gradient(135deg, #f3f8fe, #eaf2fb); }
.vs-news .vs-card__media img { object-fit: contain; }
.vs-news .vs-card:hover .vs-card__media img { transform: scale(1.03); }
.vs-date { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255, 255, 255, .95); color: var(--vs-ink); border-radius: 12px; text-align: center; padding: 7px 10px; line-height: 1; box-shadow: var(--vs-shadow-sm); }
.vs-date b { display: block; font-size: 20px; font-weight: 800; color: var(--vs-primary); }
.vs-date small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-top: 3px; color: var(--vs-muted); }
.vs-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--vs-muted); }
.vs-meta .vs-ico { font-size: 15px; }
@media (min-width: 640px) and (max-width: 1199px) {
    .vs-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vs-news > .vs-card:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    .vs-news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vs-news > .vs-card:first-child { grid-column: span 2; grid-row: span 2; }
    .vs-news > .vs-card:first-child .vs-card__media { aspect-ratio: auto; flex: 1 1 0; min-height: 300px; }
    .vs-news > .vs-card:first-child .vs-card__body { flex: 0 0 auto; }
    .vs-news > .vs-card:first-child .vs-card__title { font-size: 24px; -webkit-line-clamp: 3; }
    .vs-news > .vs-card:first-child .vs-card__text { -webkit-line-clamp: 4; font-size: 15.5px; }
    .vs-news > .vs-card:not(:first-child) .vs-card__text { -webkit-line-clamp: 2; font-size: 14px; }
}

/* ---------- Testimonials ---------- */
.vs-rail { position: relative; }
.vs-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * clamp(16px, 1.6vw, 28px)) / 3); gap: clamp(16px, 1.6vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.vs-rail__track::-webkit-scrollbar { display: none; }
.vs-rail__track > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .vs-rail__track { grid-auto-columns: calc((100% - clamp(16px, 1.6vw, 28px)) / 2); } }
@media (max-width: 680px) { .vs-rail__track { grid-auto-columns: 88%; } }
.vs-rail__ctrl { display: flex; gap: 8px; }
.vs-rail__ctrl .vs-arrow { border-color: var(--vs-line); background: #fff; color: var(--vs-ink); }
.vs-rail__ctrl .vs-arrow:hover { border-color: var(--vs-primary); color: var(--vs-primary); }
.vs-section--navy .vs-rail__ctrl .vs-arrow { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); color: #fff; }
.vs-quote { display: flex; flex-direction: column; gap: 20px; height: 100%; padding: clamp(22px, 2vw, 32px); border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #d3deee; }
.vs-quote__mark { font-size: 36px; color: #7fb4ff; }
.vs-quote__text { font-size: 15.5px; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.vs-quote__text p { margin: 0 0 .6em; }
.vs-quote__who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.vs-quote__who img, .vs-quote__who .vs-noimg { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 54px; }
.vs-quote__who b { display: block; color: #fff; font-size: 15.5px; line-height: 1.35; }
.vs-quote__who span { display: block; font-size: 13.5px; color: #95a8c4; margin-top: 2px; }

/* ---------- Partners marquee ---------- */
.vs-partners { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vs-partners__track { display: flex; gap: 18px; width: max-content; animation: vs-marquee var(--dur, 60s) linear infinite; }
.vs-partners:hover .vs-partners__track { animation-play-state: paused; }
.vs-partners__item { flex: 0 0 auto; width: 190px; height: 96px; border-radius: 14px; background: #fff; border: 1px solid var(--vs-line); display: block; overflow: hidden; padding: 10px 14px; transition: box-shadow .25s, border-color .25s; }
.vs-partners__item img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.vs-partners__item:hover { box-shadow: var(--vs-shadow); border-color: transparent; }
.vs-partners__item:hover img { transform: scale(1.06); }
@keyframes vs-marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- CTA band ---------- */
.vs-cta { position: relative; color: #fff; overflow: hidden; background: radial-gradient(700px 360px at 100% 0%, rgba(255, 214, 170, .35), transparent 65%), radial-gradient(600px 320px at 0% 110%, rgba(8, 112, 196, .28), transparent 60%), var(--vs-grad-orange); }
.vs-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .34) 1.3px, transparent 1.9px), radial-gradient(rgba(255, 255, 255, .18) 1.3px, transparent 1.9px); background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; -webkit-mask-image: radial-gradient(ellipse 55% 85% at 50% 50%, #000 20%, transparent 100%); mask-image: radial-gradient(ellipse 55% 85% at 50% 50%, #000 20%, transparent 100%); }
.vs-cta::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); pointer-events: none; }
.vs-cta__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 72px); }
.vs-cta h2 { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; max-width: 46ch; color: #fff; text-wrap: balance; }
.vs-cta p { color: #fff4ea; margin-top: 10px; font-size: 16.5px; }
/* khối chữ co theo chiều rộng tiêu đề -> dòng mô tả căn giữa ngay dưới tiêu đề */
.vs-cta__in > div:first-child { text-align: center; }
.vs-cta h2 { margin-inline: auto; }
.vs-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.vs-cta .vs-btn--line { border-color: #fff; background: transparent; color: #fff !important; }
.vs-cta .vs-btn--line:hover { background: #fff; color: var(--vs-accent-600) !important; }
.vs-cta .vs-btn--accent { background: #fff; color: var(--vs-primary) !important; box-shadow: 0 14px 30px -14px rgba(120, 40, 0, .55); }
.vs-cta .vs-btn--accent:hover { background: var(--vs-navy); color: #fff; }

/* ---------- Footer (nền xanh logo) ---------- */
.vs-footer { position: relative; overflow: hidden; isolation: isolate; color: #d6e8fb; font-size: 15px;
    background: radial-gradient(700px 380px at 100% 0%, rgba(0, 160, 224, .45), transparent 65%), radial-gradient(600px 340px at 0% 100%, rgba(243, 112, 33, .2), transparent 60%), linear-gradient(160deg, #0870c4 0%, #0663b0 50%, #05549a 100%); }
.vs-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.vs-footer__grid { display: grid; grid-template-columns: 1.55fr 1.1fr 1fr 1fr; gap: clamp(24px, 1.95vw, 40px); padding-block: 24px 22px; }
.vs-footer h3 { position: relative; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .01em; margin-bottom: 14px; padding-bottom: 10px; }
.vs-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--vs-accent); }
.vs-footer a { color: #fff; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.vs-footer a:hover { color: #ffd2b0; }
.vs-footer__logo { display: inline-block; margin-bottom: 14px; padding: 10px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 18px 36px -18px rgba(0, 20, 60, .7); transition: transform .25s var(--vs-ease), box-shadow .25s; } .vs-footer__logo:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(255, 255, 255, .2), 0 22px 40px -18px rgba(0, 20, 60, .75); }
.vs-footer__logo img { height: 46px; width: auto; display: block; }
/* thẻ thông tin pháp lý công ty (cột logo) */
.vs-fcompany { position: relative; margin: 2px 0 16px; padding: 16px 14px 15px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 30px -22px rgba(0, 20, 60, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden; }
.vs-fcompany::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #ffb27a, #ec6a22); }
.vs-fcompany__name { display: block; font-size: 13px; line-height: 1.45; font-weight: 800; letter-spacing: 0; color: #fff; }
.vs-fcompany__en { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #a9cdf3; }
.vs-fcompany__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.vs-fcompany__tags span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: 12px; font-weight: 800; color: #fff; letter-spacing: 0; }
.vs-fcompany__tags small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #a9cdf3; }
.vs-fcompany__tags .is-tax { background: var(--vs-grad-orange); border-color: rgba(255, 210, 180, .5); box-shadow: 0 8px 16px -10px rgba(120, 40, 0, .8); }
.vs-fcompany__tags .is-tax small { color: #ffe6d4; }
.vs-fcompany__addr { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding-top: 11px; border-top: 1px dashed rgba(255, 255, 255, .2); font-size: 13px; line-height: 1.5; color: #e3effc; text-wrap: balance; }
.vs-fcompany__addr .vs-ico { flex: 0 0 auto; margin-top: 2px; font-size: 15px; color: #ffb27a; }
.vs-footer__desc { line-height: 1.6; font-size: 14px; color: #e3effc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vs-footer__desc p { margin: 0 0 .5em; }
.vs-footer .vs-social { margin-top: 12px; gap: 8px; }
.vs-footer .vs-social a { width: 36px; height: 36px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.vs-footer .vs-social a:hover { background: var(--vs-accent); border-color: var(--vs-accent); color: #fff; transform: translateY(-2px); }
.vs-fnews { display: grid; gap: 12px; }
.vs-fnews a { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 8px; margin: -8px; border-radius: 14px; }
.vs-fnews a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.vs-fnews img, .vs-fnews .vs-noimg { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; background: rgba(255, 255, 255, .15); }
.vs-fnews b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font-weight: 650; font-size: 14.5px; line-height: 1.45; }
.vs-fnews small { display: block; color: #bcd7f3; font-size: 12.5px; margin-top: 4px; }
.vs-fcontact { display: grid; gap: 12px; }
@media (min-width: 1101px) { .vs-footer__grid > div { display: flex; flex-direction: column; } .vs-footer__grid .vs-fcontact { flex: 1; align-content: space-between; } .vs-footer__grid .vs-footer__logo, .vs-footer__grid .vs-social { align-self: flex-start; } }
/* mỗi dòng liên hệ = thẻ kính mờ bo góc, cùng nhịp với thẻ Zalo bên cạnh */
.vs-fcontact li { position: relative; display: flex; gap: 12px; align-items: center; line-height: 1.4; padding: 7px 12px 7px 8px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 26px -20px rgba(0, 20, 60, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s, border-color .25s, transform .25s var(--vs-ease); }
.vs-fcontact li:hover { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); transform: translateY(-2px); }
.vs-fcontact__txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vs-fcontact__txt small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #a9cdf3; }
.vs-fcontact__txt > span, .vs-fcontact__txt > a { font-size: 14px; color: #fff; word-break: break-word; }
.vs-fcontact__ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 16px -10px rgba(0, 20, 60, .7); }
.vs-fcontact__ico .vs-ico { font-size: 20px; color: var(--vs-primary); }
.vs-fcontact li.is-hot { border-color: rgba(255, 178, 122, .45); }
.vs-fcontact li.is-hot .vs-fcontact__ico { background: var(--vs-grad-orange); }
.vs-fcontact li.is-hot .vs-fcontact__ico .vs-ico { color: #fff; }
.vs-fcontact .vs-fcontact__txt > .vs-fcontact__hot { font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.vs-fsupport { display: grid; gap: 10px; }
.vs-fzalo { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; color: var(--vs-ink) !important; box-shadow: 0 14px 30px -18px rgba(0, 20, 60, .7); }
.vs-fzalo:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(0, 20, 60, .75); }
.vs-fzalo__badge { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #0068ff; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.vs-fzalo__badge .vs-ico { font-size: 20px; }
.vs-fzalo__zico { width: 32px; height: 32px; display: block; }
.vs-fzalo__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.vs-fzalo__txt small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--vs-muted); }
.vs-fzalo__txt b { font-size: 17px; font-weight: 800; color: var(--vs-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-fzalo__go { flex: 0 0 auto; font-size: 18px; color: var(--vs-accent); transition: transform .2s var(--vs-ease); }
.vs-fzalo:hover .vs-fzalo__go { transform: translateX(3px); }
.vs-fzalo--mail .vs-fzalo__badge { background: var(--vs-accent); }
.vs-fzalo--mail .vs-fzalo__txt b { font-size: 14.5px; }
.vs-fzalo--yt .vs-fzalo__badge { background: linear-gradient(135deg, #ff3b30, #e00000); box-shadow: 0 8px 16px -10px rgba(200, 0, 0, .8); }
.vs-fzalo--yt .vs-fzalo__badge .vs-ico { font-size: 22px; }
.vs-fzalo--yt .vs-fzalo__go { color: #e00000; }
.vs-fzalo--fb .vs-fzalo__badge { background: linear-gradient(135deg, #3b8bff, #1662d8); box-shadow: 0 8px 16px -10px rgba(10, 70, 200, .8); }
.vs-fzalo--fb .vs-fzalo__badge .vs-ico { font-size: 22px; }
.vs-fzalo--fb .vs-fzalo__go { color: #1877f2; }
.vs-footer__bottom { background: rgba(0, 30, 70, .28); border-top: 1px solid rgba(255, 255, 255, .14); color: #cfe3f8; }
.vs-footer__bottom a { font-weight: 700; }
.vs-footer__bottom .vs-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; flex-wrap: wrap; font-size: 14px; padding-block: 10px; }
@media (max-width: 1100px) { .vs-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vs-footer__grid { grid-template-columns: 1fr; } .vs-footer__bottom .vs-wrap { justify-content: center; text-align: center; } }

/* ---------- Floating ---------- */
.vs-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.vs-fab a, .vs-fab button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff !important; box-shadow: 0 12px 24px -10px rgba(6, 26, 54, .6); transition: transform .2s var(--vs-ease), opacity .2s, visibility .2s; }
.vs-fab a:hover, .vs-fab button:hover { transform: translateY(-2px); }
.vs-fab .vs-ico { font-size: 22px; }
.vs-fab__call { background: var(--vs-accent); position: relative; }
.vs-fab__call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vs-accent); animation: vs-ping 2s var(--vs-ease) infinite; z-index: -1; }
.vs-fab__top { background: var(--vs-ink); opacity: 0; visibility: hidden; }
/* nút chat Zalo nổi (mỗi số 1 nút), nhãn số hiện bên trái khi rê chuột */
.vs-fab a.vs-fab__zalo { position: relative; background: #0068ff; box-shadow: 0 0 0 3px #fff, 0 12px 24px -10px rgba(0, 60, 160, .7); }
.vs-fab a.vs-fab__zalo { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; line-height: 1; }
.vs-fab__zico { width: 32px; height: 32px; display: block; filter: drop-shadow(0 2px 3px rgba(0, 40, 120, .35)); transition: transform .25s var(--vs-ease); }
.vs-fab__zalo:hover .vs-fab__zico { transform: scale(1.08) rotate(-4deg); }
/* 3 số cuối: nhãn cam nhỏ ở góc dưới để phân biệt 2 số */
.vs-fab__zalo small { position: absolute; right: -6px; bottom: -4px; padding: 2px 5px; border-radius: 999px; background: var(--vs-grad-orange); border: 2px solid #fff; color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; box-shadow: 0 4px 8px -3px rgba(120, 40, 0, .5); }
.vs-fab__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--vs-ink-2); font-size: 13px; font-weight: 600; box-shadow: 0 12px 26px -12px rgba(6, 26, 54, .45); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s var(--vs-ease), visibility .2s; }
.vs-fab__tip strong { color: #0068ff; font-weight: 800; }
.vs-fab__zalo:hover .vs-fab__tip, .vs-fab__zalo:focus-visible .vs-fab__tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
@media (max-width: 640px) { .vs-fab { gap: 8px; } .vs-fab a, .vs-fab button { width: 46px; height: 46px; } .vs-fab__zalo b { font-size: 11.5px; } }
.vs-fab__top.is-show { opacity: 1; visibility: visible; }
@keyframes vs-ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

.vs-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--vs-ink); color: #fff; padding: 13px 20px; border-radius: 12px; box-shadow: var(--vs-shadow-lg); font-size: 15px; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--vs-ease), visibility .25s; z-index: 200; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); }
.vs-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.vs-toast a { color: #8cbcff !important; text-decoration: underline; }


/* ---------- Màn hình rất lớn (2K/4K): tăng nhịp chữ, giữ bố cục tràn màn ---------- */
@media (min-width: 1920px) {
    :root { --vs-max: 1840px; }
    .vs-site-3 { font-size: 17px; }
    .vs-grid { --min: 300px; }
}
@media (min-width: 2400px) { :root { --vs-max: 2200px; } }

/* ===== Mobile (<= 1100px): header logo trái - nút phải; menu con mở dạng khung mềm ===== */
@media (max-width: 1100px) {
    .vs-header__in { justify-content: space-between; gap: 12px; }
    .vs-actions { margin-left: auto; gap: 4px; }
    .vs-actions .vs-iconbtn { width: 42px; height: 42px; }
    .vs-actions .vs-burger { margin-left: 4px; border-radius: 12px; background: var(--vs-primary); color: #fff !important; box-shadow: 0 8px 18px -10px rgba(8, 112, 196, .8); }
    .vs-actions .vs-burger:hover { background: var(--vs-primary-600, #065fa8); color: #fff !important; }

    /* mục cấp 1 đang mở */
    .vs-menu > li.is-open > a { color: var(--vs-primary) !important; font-weight: 750; }
    .vs-menu > li > .vs-sub-toggle { width: 38px; height: 38px; border-radius: 11px; transition: background-color .2s, color .2s; }
    .vs-menu > li.is-open > .vs-sub-toggle { background: var(--vs-primary); color: #fff; }

    /* khung menu con */
    .vs-menu > li.is-open > .vs-sub { margin: 0 0 12px; padding: 6px; border-radius: 16px; background: linear-gradient(180deg, var(--vs-primary-50), #f7fafe); border: 1px solid #dbe8f6; animation: vsSubDrop .28s var(--vs-ease) both; }
    @keyframes vsSubDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
    .vs-sub__main { padding: 0; }
    .vs-sub__list { gap: 4px; }
    .vs-sub__item { border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(6, 26, 54, .05); }
    .vs-sub__link { padding: 9px 10px; gap: 12px; font-size: 14.5px; border-radius: 12px; }
    .vs-sub__link:hover, .vs-sub__link:active { background: transparent; }
    .vs-sub__ico { width: 36px; height: 36px; border-radius: 10px; }
    .vs-sub__item > .vs-sub-toggle { width: 34px; height: 34px; margin-right: 6px; border-radius: 9px; background: var(--vs-soft); }
    .vs-sub__item.is-open > .vs-sub-toggle { background: var(--vs-primary-50); color: var(--vs-primary); }
    /* cấp 3: chip, thụt vào thẳng chữ */
    .vs-sub__item.is-open > .vs-sub.vs-sub__kids { flex-direction: row; flex-wrap: wrap; padding: 2px 10px 10px 14px; gap: 6px; }
    .vs-sub__item.is-open > .vs-sub.vs-sub__kids > li { display: block; flex: 0 0 auto; width: auto; }
    .vs-sub__kids a { padding: 6px 11px; font-size: 12.5px; background: var(--vs-soft); border-color: transparent; }
    /* xem tất cả: nút rõ ràng */
    .vs-sub__all { justify-content: center; margin: 6px 0 0; padding: 11px 12px; border-top: 0; border-radius: 12px; background: var(--vs-primary); color: #fff !important; font-size: 14px; }
    .vs-sub__all .vs-ico { color: #fff; }
}
@media (max-width: 380px) {
    .vs-logo img { height: 36px; }
    .vs-actions { gap: 0; }
}

/* ===== Danh sách ít bài (1-3 bài, VD trang Giới thiệu): bài đầu = thẻ nổi bật nằm ngang, còn lại chia đôi -> không lệch trái ===== */
@media (min-width: 900px) {
    .vs-grid.vs-newsgrid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vs-newsgrid:not(:has(> :nth-child(4))) .vs-card__media { background: linear-gradient(135deg, #eef5fd, #f7fafe 60%, #fdf3ec); }
    /* tổng số bài lẻ (1 hoặc 3) -> bài đầu trải hết hàng */
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__media { aspect-ratio: auto; height: 100%; min-height: 380px; border-bottom: 0; }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: cover; transition: transform .6s var(--vs-ease); }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd):hover .vs-card__media img { transform: scale(1.04); }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__body { justify-content: center; gap: 14px; padding: clamp(28px, 3.4vw, 52px); background: radial-gradient(420px 260px at 100% 0%, rgba(8, 112, 196, .07), transparent 70%), radial-gradient(360px 220px at 100% 100%, rgba(243, 112, 33, .06), transparent 70%); }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__body::before { content: "Nổi bật"; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--vs-primary-50); color: var(--vs-primary); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__title { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; -webkit-line-clamp: 3; }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__text { font-size: 16px; -webkit-line-clamp: 4; }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:first-child:nth-last-child(odd) .vs-card__foot { margin-top: 6px; }
    /* 2 thẻ còn lại: ảnh rộng hơn */
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:not(:first-child) .vs-card__media { aspect-ratio: 16 / 8; max-height: 300px; width: 100%; }
    .vs-newsgrid:not(:has(> :nth-child(4))) > .vs-card:not(:first-child) .vs-card__title { font-size: 19px; }
}
/* cột logo footer (desktop): mạng xã hội xuống đáy -> cột cao bằng các cột bên */
@media (min-width: 1101px) {
    .vs-footer__grid > div:first-child .vs-fcompany { flex: 1; display: flex; flex-direction: column; justify-content: center; margin-bottom: 14px; }
    .vs-footer__grid > div:first-child .vs-social { margin-top: 0; }
}
/* khung logo footer: tấm trắng rộng bằng thẻ công ty, logo chính giữa, viền gradient xanh -> cam (logo gốc giữ nguyên) */
.vs-footer__logo { position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 14px; padding: 14px 24px; border: 2px solid transparent; border-radius: 18px;
    background: radial-gradient(140px 70px at 0% 0%, rgba(8, 112, 196, .09), transparent 70%) padding-box, radial-gradient(140px 70px at 100% 100%, rgba(243, 112, 33, .10), transparent 70%) padding-box, linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #6fc0ff, #ffffff 42%, #ffffff 58%, #ffae73) border-box;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .08), 0 22px 44px -22px rgba(0, 18, 60, .85); }
.vs-footer__logo:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 26px 48px -20px rgba(0, 18, 60, .9); }
.vs-footer__logo img { height: 60px; }
@media (min-width: 1101px) { .vs-footer__grid .vs-footer__logo { align-self: stretch; } .vs-footer__grid > div:first-child .vs-social { align-self: center; } }
@media (max-width: 1100px) { .vs-footer__grid > div:first-child .vs-social { justify-content: center; } }

/* ===== Khối "Tại sao chọn ViSoftware": nền navy thương hiệu + chấm + ánh xanh/cam, thẻ kính, số % tô cam ===== */
.vs-section--why { position: relative; isolation: isolate; overflow: hidden; color: #fff;
    background: radial-gradient(760px 460px at 0% 0%, rgba(0, 160, 224, .28), transparent 62%), radial-gradient(700px 460px at 100% 100%, rgba(243, 112, 33, .26), transparent 62%), linear-gradient(135deg, #05284d 0%, #08427e 50%, #0a5aa8 100%); }
.vs-section--why::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.vs-section--why::after { content: ""; position: absolute; right: -140px; top: -140px; z-index: -1; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); pointer-events: none; }
.vs-section--why .vs-eyebrow { color: #ffb27a; }
.vs-section--why .vs-title { color: #fff; }
.vs-why__brand { background: linear-gradient(90deg, #ffd2ad, #ff9a4d 45%, #ffb27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-section--why .vs-why__item { background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 36px -28px rgba(0, 10, 40, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden; }
.vs-section--why .vs-why__item::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #6fc0ff, #ffae73); opacity: .0; transition: opacity .25s; }
.vs-section--why .vs-why__item:hover { background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 178, 122, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 44px -24px rgba(0, 10, 40, .95); }
.vs-section--why .vs-why__item:hover::after { opacity: 1; }
.vs-section--why .vs-why__item::before { background: linear-gradient(135deg, #ffffff, #d9ecff); color: var(--vs-primary); box-shadow: 0 10px 20px -12px rgba(0, 10, 40, .9); }
.vs-section--why .vs-why__item:hover::before { background: var(--vs-grad-orange); color: #fff; }
.vs-section--why .vs-why__item p { color: #f1f7ff; font-weight: 600; }
.vs-why__num { color: #ffb27a; font-weight: 800; white-space: nowrap; }
.vs-section--why .vs-video__frame { box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 60px -24px rgba(0, 10, 40, .95); }
.vs-section--why .vs-video__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.vs-section--why .vs-video__cap { display: flex; align-items: center; gap: 10px; color: #fff; }
.vs-section--why .vs-video__cap::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 5px rgba(255, 77, 79, .25); }

/* video khối "Tại sao": căn giữa theo chiều dọc với lưới lợi ích, chú thích dạng pill nổi bật */
@media (min-width: 1025px) { .vs-section--why .vs-why { align-items: center; } .vs-section--why .vs-video { position: static; align-self: center; } }
.vs-section--why .vs-video__cap::before { content: none; }
.vs-section--why .vs-video__cap { display: flex; width: fit-content; max-width: 100%; margin: 22px auto 0; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 999px; background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 16px 32px -20px rgba(0, 10, 40, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: clamp(15px, 1.25vw, 19px); font-weight: 800; letter-spacing: .005em; color: #fff; text-align: center; }
.vs-section--why .vs-video__cap b { background: linear-gradient(90deg, #ffd2ad, #ff9a4d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-video__dot { position: relative; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #ff4d4f; }
.vs-video__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255, 77, 79, .55); animation: vsDotPulse 1.8s ease-out infinite; }
@keyframes vsDotPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vs-video__dot::after { animation: none; } }

