/* VHV UI — khối «Công nghệ» trang chủ (nền tối, chuyển động nhẹ; tắt khi prefers-reduced-motion) */
html.vhv-ui .vt-w{position:relative;background:var(--vhv-bg);color:var(--vhv-text);overflow:hidden;margin:32px 0;border-block:1px solid var(--vhv-line);isolation:isolate}
html.vhv-ui .vt-w::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(50% 70% at 90% 0,color-mix(in srgb,var(--vhv-accent) 9%,transparent),transparent 60%),radial-gradient(color-mix(in srgb,var(--vhv-text) 9%,transparent) 1px,transparent 1.2px) 0 0/24px 24px}
html.vhv-ui .vt-in{max-width:var(--vhv-container,1200px);margin:0 auto;padding:72px 16px}
html.vhv-ui .vt-eyebrow{margin:0 0 10px;font:600 13px/1 "Be Vietnam Pro",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--vhv-accent)}
html.vhv-ui .vt h2{margin:0 0 14px;font:700 clamp(28px,4vw,40px)/1.15 "Be Vietnam Pro",system-ui,sans-serif;color:var(--vhv-text)}
html.vhv-ui .vt-lead{max-width:62ch;margin:0;font-size:17px;line-height:1.6;color:var(--vhv-muted)}
html.vhv-ui .vt-pipe{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;position:relative;counter-reset:s}
html.vhv-ui .vt-pipe::before{content:"";position:absolute;left:8%;right:8%;top:22px;height:2px;background:linear-gradient(90deg,var(--vhv-line),var(--vhv-line));z-index:0}
html.vhv-ui .vt-pipe::after{content:"";position:absolute;top:19px;left:8%;width:8px;height:8px;border-radius:50%;background:#ff7a2f;box-shadow:0 0 14px 4px rgba(255,122,47,.7);animation:vt-run 5s linear infinite;z-index:1}
html.vhv-ui .vt-pipe li{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
html.vhv-ui .vt-dot{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--vhv-surface);border:2px solid var(--vhv-accent);color:var(--vhv-text);font-weight:700}
html.vhv-ui .vt-pipe b{margin-top:8px;font-size:17px;color:var(--vhv-text)}
html.vhv-ui .vt-pipe small{font-size:14px;color:var(--vhv-muted)}
html.vhv-ui .vt-tests{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
html.vhv-ui .vt-tests li{padding:6px 14px;border:1px solid var(--vhv-line);border-radius:999px;font:500 13.5px/1.2 "Be Vietnam Pro",system-ui,sans-serif;color:var(--vhv-text);background:var(--vhv-surface)}
html.vhv-ui .vt-vai{margin-top:56px}
html.vhv-ui .vt-vai h3{margin:0 0 18px;font:600 20px/1.3 "Be Vietnam Pro",system-ui,sans-serif;color:var(--vhv-text)}
html.vhv-ui .vt-vai ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
html.vhv-ui .vt-card{display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid var(--vhv-line);border-radius:8px;background:var(--vhv-surface)}
html.vhv-ui .vt-card b{font-size:19px;color:var(--vhv-text)}
html.vhv-ui .vt-sub{font-size:14px;font-weight:600;color:var(--vhv-accent)}
html.vhv-ui .vt-card p{margin:4px 0 0;font-size:14.5px;line-height:1.55;color:var(--vhv-muted)}
html.vhv-ui .vt-art{position:relative;height:120px;margin-bottom:10px;border-radius:8px;background:var(--vhv-bg);border:1px solid var(--vhv-line);overflow:hidden;display:flex;align-items:center;justify-content:center;gap:16px}
/* OCR */
html.vhv-ui .vt-doc{position:relative;width:74px;height:94px;padding:12px 10px;border-radius:4px;background:var(--vhv-surface);border:1px solid var(--vhv-line);display:flex;flex-direction:column;gap:8px;overflow:hidden}
html.vhv-ui .vt-doc i{display:block;height:5px;border-radius:3px;background:var(--vhv-line)}
html.vhv-ui .vt-doc i:nth-child(2){width:70%}html.vhv-ui .vt-doc i:nth-child(4){width:55%}
html.vhv-ui .vt-scan{position:absolute;left:0;right:0;top:0;height:3px;background:#ff7a2f;box-shadow:0 0 12px 3px rgba(255,122,47,.8);animation:vt-scan 2.8s ease-in-out infinite alternate}
html.vhv-ui .vt-tags{display:flex;flex-direction:column;gap:6px}
html.vhv-ui .vt-tags span{padding:3px 10px;border-radius:4px;border:1px solid var(--vhv-accent);color:var(--vhv-accent);font:600 11px/1.3 ui-monospace,Consolas,monospace}
/* voice */
html.vhv-ui .vt-wave{display:flex;align-items:center;gap:3px;height:60px}
html.vhv-ui .vt-wave i{width:4px;height:24px;border-radius:2px;background:var(--vhv-accent);animation:vt-bar 1.1s ease-in-out infinite}
html.vhv-ui .vt-wave i:nth-child(3n){animation-delay:-.3s;background:color-mix(in srgb,var(--vhv-accent) 60%,#fff)}html.vhv-ui .vt-wave i:nth-child(3n+1){animation-delay:-.7s}html.vhv-ui .vt-wave i:nth-child(5n){animation-delay:-.5s}
html.vhv-ui .vt-lines{display:flex;flex-direction:column;gap:8px;width:54px}
html.vhv-ui .vt-lines i{display:block;height:5px;border-radius:3px;background:var(--vhv-line)}html.vhv-ui .vt-lines i:nth-child(2){width:75%}html.vhv-ui .vt-lines i:nth-child(3){width:50%}
/* chat */
html.vhv-ui .vt-art:has(.vt-bub){flex-direction:column;align-items:stretch;justify-content:center;gap:10px;padding:0 18px}
html.vhv-ui .vt-bub{height:26px;border-radius:13px;background:var(--vhv-line)}
html.vhv-ui .vt-b1{width:62%}
html.vhv-ui .vt-b2{width:46%;align-self:flex-end;background:#c2410c;display:flex;align-items:center;justify-content:center;gap:5px}
html.vhv-ui .vt-b2 i{width:6px;height:6px;border-radius:50%;background:#fff;animation:vt-dot 1.2s infinite}
html.vhv-ui .vt-b2 i:nth-child(2){animation-delay:.2s}html.vhv-ui .vt-b2 i:nth-child(3){animation-delay:.4s}
/* số liệu */
html.vhv-ui .vt-num{list-style:none;margin:56px 0 0;padding:28px 0 0;border-top:1px solid var(--vhv-line);display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
html.vhv-ui .vt-num strong{display:block;font:700 clamp(32px,4.5vw,48px)/1.1 "Be Vietnam Pro",system-ui,sans-serif;color:var(--vhv-accent)}
html.vhv-ui .vt-num span{display:block;margin-top:6px;font-size:14.5px;line-height:1.45;color:var(--vhv-muted)}
html.vhv-ui .vt-js .vt-card,html.vhv-ui .vt-js .vt-pipe li{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease;transition-delay:calc(var(--i,0)*.1s)}
html.vhv-ui .vt-js.vt-on .vt-card,html.vhv-ui .vt-js.vt-on .vt-pipe li{opacity:1;transform:none}
@keyframes vt-run{from{left:8%}to{left:92%}}
@keyframes vt-scan{from{top:0}to{top:calc(100% - 3px)}}
@keyframes vt-bar{0%,100%{height:10px}50%{height:50px}}
@keyframes vt-dot{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media(max-width:899px){html.vhv-ui .vt-pipe{grid-template-columns:1fr 1fr;gap:28px 16px}html.vhv-ui .vt-pipe::before,html.vhv-ui .vt-pipe::after{display:none}html.vhv-ui .vt-vai ul{grid-template-columns:1fr}html.vhv-ui .vt-num{grid-template-columns:1fr 1fr}html.vhv-ui .vt-in{padding:48px 16px}}
@media(prefers-reduced-motion:reduce){html.vhv-ui .vt *,html.vhv-ui .vt::after,html.vhv-ui .vt-pipe::after{animation:none!important;transition:none!important}html.vhv-ui .vt-js .vt-card,html.vhv-ui .vt-js .vt-pipe li{opacity:1;transform:none}}
/* ---- vòng 7: kiến trúc 3 tầng + lưới công nghệ; vòng lặp chất lượng 5 bước ---- */
html.vhv-ui body.sx .bz-home{.vh-arch-g{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,4vw,48px);align-items:start}
.vh-arch h3{margin:0 0 14px;font-size:1.125rem;font-weight:600;color:var(--h-text)}
.vh-tiers{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.vh-tiers li,.vh-tg>div,.vh-qc li{display:flex;flex-direction:column;gap:4px;padding:16px 20px;background:var(--h-surf);border:1px solid var(--h-line);border-radius:var(--h-r)}
.vh-tiers li{border-left:4px solid var(--h-acc);padding-block:22px}
.vh-tiers li:nth-child(1){margin-right:44px}.vh-tiers li:nth-child(2){margin-right:22px}
.vh-tiers b{font-size:1.0625rem;color:var(--h-text)}
.vh-tiers span{font-size:.9375rem;line-height:1.45;color:var(--h-mut)}
.vh-tg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.vh-tg>div{min-width:0;padding:14px 16px}
.vh-tg>div:nth-child(n+5){grid-column:1/-1}
.vh-tg dt{margin:0 0 4px;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--h-mut)}
.vh-tg dd{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.vh-tg dd span{padding:2px 10px;border:1px solid var(--h-line);border-radius:999px;background:var(--h-bg);color:var(--h-text);font-size:.8125rem;font-weight:500;line-height:1.55}
.vh-qp{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.vh-qp li{display:flex;align-items:center;gap:10px;margin-left:-10px;padding:18px 26px 18px 34px;background:var(--st-bg);color:var(--st-fg);clip-path:polygon(0 0,calc(100% - 20px) 0,100% 50%,calc(100% - 20px) 100%,0 100%,20px 50%)}
.vh-qp li:first-child{margin-left:0;padding-left:22px;clip-path:polygon(0 0,calc(100% - 20px) 0,100% 50%,calc(100% - 20px) 100%,0 100%)}
.vh-qp .vh-n{font-size:.8125rem;padding:3px 8px;border:1px solid currentColor;border-radius:999px;color:inherit}
.vh-qp b{font-size:1.0625rem;font-weight:600;line-height:1.25}
.vh-qc{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px}
.vh-qc li{padding:20px 22px;border-top:3px solid var(--h-acc);gap:8px}
.vh-qc h3{margin:0;font-size:1.0625rem;font-weight:600;color:var(--h-text)}
.vh-qc p{margin:0;font-size:.9375rem;line-height:1.5;color:var(--h-mut)}}
@media(max-width:899px){html.vhv-ui body.sx .bz-home{.vh-arch-g{grid-template-columns:minmax(0,1fr)}
.vh-tiers li:nth-child(-n+2){margin-right:0}
.vh-qp{grid-auto-flow:row;gap:8px}
.vh-qp li,.vh-qp li:first-child{margin:0;padding:14px 18px;clip-path:none;border-radius:var(--h-r)}
.vh-qc{grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}}}
@media(max-width:560px){html.vhv-ui body.sx .bz-home .vh-tg{grid-template-columns:minmax(0,1fr)}}
/* ---- vòng 8: hình sơ đồ động cơ AI, kiến trúc, chứng nhận phóng to ---- */
html.vhv-ui body.sx .bz-home{.vt-eng{max-width:1040px;margin:44px auto 0}
.vh-arch-i{grid-template-columns:minmax(0,5fr) minmax(0,7fr);row-gap:24px}
.vh-arch-i>.vh-fig{grid-row:1/3;grid-column:1;position:sticky;top:112px;padding:8px}
.vh-arch-i>div:nth-child(2){grid-column:2;grid-row:1}
.vh-arch-i>div:nth-child(3){grid-column:2;grid-row:2}
.vh-qa-g{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(24px,4vw,48px);align-items:start}
.vh-qa-g .vh-qc{grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}
.vh-cz{list-style:none;margin:0;padding:0;display:flex;gap:14px}
.vh-zb{display:block;width:clamp(120px,13vw,170px);padding:0;border:1px solid var(--h-line);border-radius:10px;overflow:hidden;background:#fff;box-shadow:var(--h-sh);cursor:zoom-in}
.vh-zb img{display:block;width:100%;height:auto}
.vh-zb:hover{border-color:var(--h-acc)}
.vh-zb:focus-visible{outline:3px solid var(--h-acc);outline-offset:2px}}
html.vhv-ui .vh-zm{border:0;padding:12px;border-radius:12px;max-width:min(92vw,720px);max-height:92vh;background:#fff}
html.vhv-ui .vh-zm::backdrop{background:rgba(11,16,32,.72)}
html.vhv-ui .vh-zm img{display:block;max-width:100%;max-height:80vh;margin:auto}
html.vhv-ui .vh-zm form{margin:0 0 8px;text-align:right}
html.vhv-ui .vh-zm button{min-width:44px;min-height:44px;border:0;border-radius:6px;background:#c2410c;color:#fff;font-size:1.25rem;cursor:pointer}
@media(max-width:899px){html.vhv-ui body.sx .bz-home{.vh-arch-i{grid-template-columns:minmax(0,1fr)}
.vh-arch-i>.vh-fig,.vh-arch-i>div:nth-child(2),.vh-arch-i>div:nth-child(3){grid-column:1;grid-row:auto;position:static}
.vh-qa-g{grid-template-columns:minmax(0,1fr)}
.vh-zb{width:min(28vw,150px)}}}
