/* ===== Màu & cỡ chung ===== */
:root {
    --primary: #0A66FF;
    --primary-dark: #0852CC;
    --primary-soft: #EEF4FF;
    --ink: #0D1B3D;
    --text: #374151;
    --muted: #6B7280;
    --accent: #10B981;
    --alt: #F2F4F8;
    --line: #E5E7EB;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(13, 27, 61, .08);
    /* Bảng màu thương hiệu HAVA (xem tai-lieu/nhan-dien/NHAN-DIEN.md) */
    --brand-navy: #0D1B3D;
    --brand-blue: #0A66FF;
    --brand-sky: #00C6FF;
    --brand-gray: #F2F4F8;
    --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
button, input, select, textarea { font-family: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-family: var(--font-head); }
/* Khung kiểu SPCN: rộng 100% màn hình (không khoá 1160px), lề hai bên co giãn theo cỡ màn hình
   → màn rộng / thu nhỏ trang thì nội dung trải ra hai bên. --gutter dùng chung cho các khối cần biết lề. */
:root { --gutter: 1rem; }
@media (min-width: 640px)  { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 4rem; } }
@media (min-width: 1600px) { :root { --gutter: 6rem; } }
@media (min-width: 2200px) { :root { --gutter: 9vw; } }
.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.fill { color: #B45309; background: #FEF3C7; padding: 0 6px; border-radius: 4px; font-weight: 600; }

/* ===== Nút ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; cursor: pointer; }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ===== Thanh menu ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
/* Logo thương hiệu (ảnh trong images/brand/) */
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { display: block; height: 40px; width: auto; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), #0D1B3D); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .08em; margin-top: 3px; }
/* Menu: logo trái · các mục ở giữa · nút "Liên hệ tư vấn" phải (hai lề tự động chia đều khoảng trống) */
.nav { gap: 24px; }
.menu { flex: 1; display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: .95rem; color: var(--ink); }
.menu > :first-child { margin-left: auto; }
.menu a:not(.btn):hover { color: var(--primary); }
.menu-cta { margin-left: auto; border-radius: 999px; padding: 10px 20px; box-shadow: 0 8px 20px rgba(10,102,255,.25); }
.menu-cta i { font-size: .8rem; transition: transform .2s; }
.menu-cta:hover i { transform: translateX(3px); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* Danh sách con (Giải pháp ▾, Sản phẩm ▾): rê chuột, bấm mũi tên hoặc dùng bàn phím */
.dd { position: relative; display: flex; align-items: center; gap: 2px; }
.dd-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 4px; font-size: .68rem; line-height: 1; border-radius: 6px; }
.dd-btn i { transition: transform .2s; }
.dd-btn:hover { color: var(--primary); }
.dd-panel { position: absolute; top: calc(100% + 14px); left: -18px; width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 45px rgba(13,27,61,.14); padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 5; }
.dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* cầu nối để chuột đi từ chữ xuống bảng không bị mất */
.dd-panel a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.dd-panel a i { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: .9rem; }
.dd-panel a small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); margin-top: 1px; }
.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--alt); color: var(--primary); }
@media (min-width: 821px) {
    .dd:hover .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
    .dd:hover .dd-btn i, .dd.open .dd-btn i { transform: rotate(180deg); }
}

/* Trang chủ: menu trong suốt nằm đè lên ảnh mở đầu, cuộn xuống thì thành nền trắng */
.header-over { margin-bottom: -68px; background: transparent; backdrop-filter: none; }
.header-over.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(8px); }

/* ===== ① Hero ===== */
.hero { background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%); padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.08rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hình mô phỏng phần mềm */
.hero-visual { position: relative; padding-bottom: 30px; }
.mock-window { background: #fff; border-radius: var(--radius); box-shadow: 0 25px 60px rgba(10,102,255,.18); overflow: hidden; border: 1px solid var(--line); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--alt); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mock-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); }
.mock-body { display: flex; height: 270px; }
.mock-side { width: 22%; background: var(--ink); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.mock-side b { height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); }
.mock-side b:first-child { background: var(--primary); }
.mock-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { height: 46px; border-radius: 8px; background: var(--primary-soft); border-left: 3px solid var(--primary); }
.mock-kpis div:nth-child(2) { border-color: var(--accent); background: #ECFDF5; }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.mock-chart span { flex: 1; background: linear-gradient(180deg, #00C6FF, var(--primary)); border-radius: 4px 4px 0 0; }
.mock-rows { display: flex; flex-direction: column; gap: 7px; }
.mock-rows b { height: 7px; border-radius: 4px; background: var(--line); }
.mock-rows b:nth-child(2) { width: 80%; }
.mock-rows b:nth-child(3) { width: 60%; }
.mock-phone { position: absolute; right: -14px; bottom: 0; width: 120px; height: 210px; background: #fff; border: 6px solid var(--ink); border-radius: 22px; padding: 22px 10px 10px; display: flex; flex-direction: column; gap: 9px; box-shadow: var(--shadow); }
.mock-phone-top { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 36px; height: 5px; border-radius: 3px; background: var(--ink); }
.mock-phone b { height: 26px; border-radius: 6px; background: var(--alt); border: 1px solid var(--line); }
.mock-phone b.ok { background: #ECFDF5; border-color: var(--accent); }

/* ===== Khung mục chung ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
h3 { font-size: 1.08rem; margin-bottom: 8px; }

/* ② Nỗi lo */
.pain { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pain:hover { border-color: #FCA5A5; box-shadow: var(--shadow); }
.pain i { font-size: 1.3rem; color: #EF4444; background: #FEF2F2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.pain p { font-size: .93rem; color: var(--muted); }

/* ③ Giải pháp */
.card { background: #fff; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C2D8FF; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 18px; }
.card p { font-size: .93rem; color: var(--muted); flex: 1; margin-bottom: 18px; }
.link { color: var(--primary); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.link:hover i { transform: translateX(3px); }
.link i { transition: transform .2s; font-size: .8rem; }

/* ④ Vì sao */
.value { padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--primary-soft), #fff); border: 1px solid #DCE8FF; }
.value-num { font-size: 2rem; font-weight: 800; color: var(--primary); opacity: .35; display: block; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ⑤ Sản phẩm */
.product { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.product h3 { font-size: 1.25rem; margin-top: 6px; }
.product .muted { font-size: .93rem; margin-bottom: 16px; }
.product ul { list-style: none; margin-bottom: 22px; flex: 1; }
.product li { font-size: .92rem; padding: 4px 0; }
.product li i { color: var(--accent); margin-right: 8px; font-size: .8rem; }
.product .btn { align-self: flex-start; }
.badge { align-self: flex-start; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-live { background: #D1FAE5; color: #047857; }
.badge-demo { background: #DCE8FF; color: var(--primary-dark); }
.badge-dev { background: #FEF3C7; color: #B45309; }

/* ⑥ Quy trình */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before { content: ''; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: #C2D8FF; }
.steps li { position: relative; text-align: center; padding: 0 6px; }
.steps span { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 0 0 6px #fff; position: relative; }
.steps p { font-size: .9rem; color: var(--muted); }

/* ⑦ Bài viết */
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s; }
.post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-thumb { height: 150px; display: grid; place-items: center; font-size: 2.6rem; color: rgba(255,255,255,.9); }
.t1 { background: linear-gradient(135deg, #0A66FF, #00C6FF); }
.t2 { background: linear-gradient(135deg, #0D1B3D, #0A66FF); }
.t3 { background: linear-gradient(135deg, #059669, #10B981); }
.post-body { padding: 20px 22px 24px; }
.tag { font-size: .74rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.post h3 { margin: 8px 0; font-size: 1.02rem; }
.post .muted { font-size: .85rem; font-style: italic; }

/* ⑧ Lời mời */
.cta { background: linear-gradient(135deg, #0D1B3D, var(--primary)); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 12px; }
.cta p { opacity: .9; margin-bottom: 26px; }
.cta .cta-contact { margin: 22px 0 0; font-size: .9rem; }

/* ⑨ Chân trang */
.site-footer { background: var(--ink); color: #A9B4CC; padding: 60px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a { display: block; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-grid p a { display: inline; padding: 0; }
.footer-grid p { margin-top: 4px; }
.logo-light .logo-text { color: #fff; }
.logo-light { margin-bottom: 8px; display: inline-flex; }
.slogan { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .04em; color: var(--brand-sky); margin: 0 0 12px !important; }
.footer-bottom { border-top: 1px solid #1B2A4F; padding-top: 18px; padding-bottom: 18px; font-size: .84rem; }

/* Nút tư vấn dính đáy (điện thoại) */
.mobile-cta { display: none; }

/* ===== Hiệu ứng hiện dần khi cuộn ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* Menu máy tính không xuống dòng; màn 821–1180px thu khoảng cách cho vừa một hàng (sửa 27/11/2026) */
.menu a, .menu-cta { white-space: nowrap; }
@media (min-width: 821px) and (max-width: 1180px) {
    .menu { gap: 18px; font-size: .9rem; }
    .menu-cta { padding: 9px 16px; }
}
@media (min-width: 821px) and (max-width: 940px) {
    .menu { gap: 12px; font-size: .86rem; }
    .menu-cta i { display: none; }
}

/* ===== Máy tính bảng ===== */
@media (max-width: 1000px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Điện thoại ===== */
@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .menu { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .menu.open { display: flex; }
    .menu > :first-child { margin-left: 0; }
    .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .menu-cta { margin: 14px 0 0; justify-content: center; }
    .header-over.menu-open { background: #fff; }
    /* Danh sách con xổ xuống ngay trong menu gập */
    .dd { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .dd .dd-link { flex: 1; border-bottom: 0 !important; }
    .dd-btn { padding: 12px 10px; font-size: .8rem; }
    .dd.open .dd-btn i { transform: rotate(180deg); }
    .dd-panel { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; display: none; transition: none; }
    .dd-panel::before { display: none; }
    .dd.open .dd-panel { display: grid; }
    .menu .dd-panel a { border-bottom: 0; padding: 7px 6px; }
    .dd-panel a i { width: 30px; height: 30px; }
    .menu.open { max-height: calc(100vh - 68px); overflow-y: auto; }
    .hero { padding: 44px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .mock-phone { right: 0; }
    .section { padding: 60px 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 0; text-align: left; }
    .steps::before { top: 0; bottom: 0; left: 24px; right: auto; width: 2px; height: auto; }
    .steps li { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
    .steps span { grid-row: span 2; margin: 0; }
    .steps h3 { align-self: end; margin: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .mobile-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; background: var(--primary); color: #fff; text-align: center; font-weight: 700; padding: 14px; border-radius: 12px; box-shadow: 0 10px 25px rgba(10,102,255,.35); }
}

/* =====================================================================
   CÁC TRANG CON (Giải pháp, Sản phẩm, Dịch vụ, Về HAVA, Kiến thức, Liên hệ)
   ===================================================================== */
.menu a.active { color: var(--primary); font-weight: 600; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.section-more { text-align: center; margin-top: 36px; }
.draft-tag { display: inline-block; font-size: .7rem; font-weight: 700; color: #B45309; background: #FEF3C7; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; letter-spacing: 0; }

/* Đầu trang con */
.page-hero { background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%); padding: 60px 0 52px; text-align: center; }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.page-hero p { max-width: 700px; margin: 0 auto; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: inherit; font-size: .88rem; font-weight: 500; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover, .chip.on { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* Khối xen kẽ chữ / hình (Giải pháp) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.feature:last-child { border-bottom: 0; }
.feature.rev .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin: 12px 0; }
.feature-text > p { color: var(--muted); margin-bottom: 18px; }
.checks { list-style: none; margin-bottom: 24px; }
.checks li { position: relative; padding: 5px 0 5px 28px; }
.checks li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 6px; color: var(--accent); font-size: .85rem; }
.feature-visual { background: linear-gradient(135deg, var(--primary-soft), #fff); border: 1px solid #DCE8FF; border-radius: 20px; padding: 36px 32px 40px; position: relative; display: flex; flex-direction: column; align-items: center; }
.fv-icon { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), #0D1B3D); color: #fff; display: grid; place-items: center; font-size: 2.1rem; box-shadow: 0 16px 36px rgba(10,102,255,.28); }
.fv-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; width: 100%; }
.fv-tiles span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: .86rem; font-weight: 600; color: var(--ink); display: flex; gap: 9px; align-items: center; }
.fv-tiles i { color: var(--primary); width: 16px; text-align: center; }

/* Thẻ dịch vụ */
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.svc:hover { box-shadow: var(--shadow); border-color: #C2D8FF; }
.svc .card-icon { margin-bottom: 16px; }
.svc p { font-size: .93rem; color: var(--muted); }

/* Trang Sản phẩm */
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin-top: 22px; font-size: .86rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.product-shot { position: relative; height: 140px; border-radius: 10px; margin: 14px 0 18px; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255,255,255,.92); }
.product-shot small { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; font-style: italic; opacity: .85; }
.product .meta { font-size: .88rem; margin-bottom: 4px; color: var(--muted); }
.product .meta b { color: var(--ink); font-weight: 600; }
.product .meta + ul { margin-top: 12px; }
.badge-wait { background: #F3F4F6; color: #4B5563; }
.badge-svc { background: #E0F7FF; color: #0369A1; }
.t4 { background: linear-gradient(135deg, #00C6FF, #0A66FF); }
.t5 { background: linear-gradient(135deg, #0852CC, #7C3AED); }
.t6 { background: linear-gradient(135deg, #334155, #0D1B3D); }

/* Trang Về HAVA */
.about-intro { max-width: 780px; margin: 0 auto; text-align: center; font-size: 1.1rem; }
.vm { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.vm .card-icon { margin-bottom: 16px; }
.vm p { color: var(--muted); }
.member { text-align: center; background: #fff; border: 1px dashed #CBD5E1; border-radius: var(--radius); padding: 28px 20px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 14px; }
.member p { font-size: .9rem; color: var(--muted); }
.info-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-table tr:last-child td { border-bottom: 0; }
.info-table td:first-child { width: 40%; color: var(--muted); }

/* Trang Kiến thức */
.post.hide { display: none; }
.post-meta { font-size: .8rem; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }

/* Trang Liên hệ */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: start; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.form-box h2 { font-size: 1.4rem; margin-bottom: 6px; }
.form-box form > p:not(.hint) { color: var(--muted); font-size: .93rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.req { color: #EF4444; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: 11px 14px; border: 1px solid #D1D5DB; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,102,255,.15); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: .8rem; color: var(--muted); margin: -10px 0 18px; }
.err-msg { display: none; color: #DC2626; font-size: .82rem; margin-top: 5px; }
.field.err input, .field.err select, .field.err textarea { border-color: #EF4444; }
.field.err .err-msg { display: block; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 400; color: var(--text); }
.field .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-box .btn[type=submit] { width: 100%; justify-content: center; margin-top: 6px; }
.form-ok { display: none; text-align: center; padding: 26px 6px; }
.form-ok > i { font-size: 3rem; color: var(--accent); margin-bottom: 14px; }
.form-ok h2 { margin-bottom: 8px; }
.form-ok p { color: var(--muted); margin-bottom: 14px; }
.form-box.sent form { display: none; }
.form-box.sent .form-ok { display: block; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { margin-bottom: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; font-size: .93rem; }
.info-item > i { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-item b { display: block; color: var(--ink); font-size: .85rem; }
.info-card ol { padding-left: 18px; font-size: .92rem; color: var(--muted); }
.info-card ol li { padding: 3px 0; }

/* Trang con — máy tính bảng */
@media (max-width: 1000px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Trang con — điện thoại */
@media (max-width: 820px) {
    .page-hero { padding: 40px 0 38px; }
    .feature { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
    .feature.rev .feature-text { order: 0; }
    .grid-2, .row-2 { grid-template-columns: 1fr; }
    .row-2 { gap: 0; }
    .form-box { padding: 24px 18px; }
    .info-table td { padding: 12px 14px; }
}

/* =====================================================================
   TRANG CHÍNH SÁCH BẢO MẬT / ĐIỀU KHOẢN
   ===================================================================== */
.legal-meta { margin-top: 14px !important; font-size: .88rem !important; color: var(--muted); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 92px; }
.legal-toc nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.legal-toc b { color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; padding: 0 0 10px 16px; }
.legal-toc a { font-size: .9rem; color: var(--muted); padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--primary); border-color: var(--primary); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 12px; }
.legal-body li { padding: 3px 0; }
.legal-body a, .link-inline { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 820px) {
    .legal-grid { grid-template-columns: 1fr; gap: 24px; }
    .legal-toc { position: static; }
    .legal-toc nav { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 4px; }
}

/* =====================================================================
   BỔ SUNG THEO BLUEPRINT: Sản phẩm 2 phần, Dự án / Demo, bài viết, 404, liên hệ nhanh
   ===================================================================== */
.group-head { max-width: 680px; margin-bottom: 28px; }
.group-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; margin-bottom: 6px; }
.custom-box { padding: 0; border: 0; }
.custom-box h2 .badge { font-size: .72rem; vertical-align: middle; margin-left: 6px; }
.custom-box .feature-text p b { color: var(--ink); }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.notice { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; margin: 26px auto 0; text-align: left; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 14px 18px; font-size: .92rem; color: #92400E; }
.notice i { margin-top: 3px; }

/* Trang Dự án / Demo */
.demo { padding: 60px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.demo:last-child { border-bottom: 0; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 8px; }
.demo > h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: 8px; }
.demo > p.lead { color: var(--muted); max-width: 760px; margin-bottom: 30px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.demo-block { margin-bottom: 24px; }
.demo-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; }
.demo-block h3 i { color: var(--primary); width: 20px; text-align: center; }
.demo-block p, .demo-block li { font-size: .94rem; }
.demo-block ul { padding-left: 20px; }
.demo-block .checks { padding-left: 0; margin-bottom: 0; }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; }
.tagline span { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 30px 0 26px; counter-reset: b; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px 14px; font-size: .88rem; counter-increment: b; }
.flow li::before { content: counter(b); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: .82rem; margin-bottom: 10px; }
.flow li b { display: block; color: var(--ink); margin-bottom: 2px; }
.flow li span { color: var(--muted); }
.result-note { font-size: .9rem; color: var(--muted); background: var(--alt); border: 1px dashed #CBD5E1; border-radius: 10px; padding: 12px 16px; margin-bottom: 22px; }
.result-note b { color: var(--ink); }

/* Màn hình giả lập trong demo */
.screen { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(10,102,255,.14); overflow: hidden; }
.screen-body { padding: 16px; font-size: .78rem; }
.screen-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.screen-title b { font-size: .9rem; color: var(--ink); }
.screen-title em { font-style: normal; font-size: .7rem; padding: 3px 8px; border-radius: 6px; background: var(--primary); color: #fff; }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kanban > div { background: var(--alt); border-radius: 8px; padding: 8px; min-width: 0; }
.kanban h5 { font-size: .68rem; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.kanban p { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: 6px; padding: 6px 7px; margin-bottom: 6px; line-height: 1.35; overflow-wrap: anywhere; }
.kanban p small { display: block; color: var(--muted); font-size: .68rem; }
.kanban .won p { border-left-color: var(--accent); }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th, .mini-table td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); }
.mini-table th { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.st { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.st-wait { background: #FEF3C7; color: #B45309; }
.st-ok { background: #D1FAE5; color: #047857; }
.st-back { background: #FEE2E2; color: #B91C1C; }
.approve-line { display: flex; gap: 6px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.approve-line span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: var(--alt); border: 1px solid var(--line); font-size: .72rem; }
.approve-line i.fa-check { color: var(--accent); }
.approve-line i.fa-hourglass-half { color: #D97706; }
.approve-line > i { color: #CBD5E1; font-size: .7rem; }
.gantt { display: grid; grid-template-columns: 34% 1fr; row-gap: 9px; align-items: center; }
.gantt > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.gantt .track { position: relative; height: 14px; background: var(--alt); border-radius: 7px; }
.gantt .track b { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: linear-gradient(90deg, #00C6FF, var(--primary)); }
.gantt .track b.late { background: linear-gradient(90deg, #FCA5A5, #EF4444); }
.gantt .track b.done { background: linear-gradient(90deg, #6EE7B7, var(--accent)); }
.gantt-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .7rem; color: var(--muted); }
.gantt-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

/* Thẻ bài viết bấm được */
.post { position: relative; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post h3 a:hover { color: var(--primary); }
.read-more { font-size: .85rem; font-weight: 600; color: var(--primary); margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; }

/* Trang đọc bài */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.article-body { font-size: 1.05rem; }
.article-body > p { margin-bottom: 16px; }
.article-body .lead { font-size: 1.15rem; color: var(--ink); }
.outline { margin: 32px 0; border: 1px dashed #CBD5E1; border-radius: var(--radius); padding: 24px 26px; background: var(--alt); }
.outline h2 { font-size: 1.1rem; margin-bottom: 4px; }
.outline > p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.outline ol { padding-left: 22px; }
.outline li { padding: 4px 0; font-size: .97rem; }
.article-cta { background: linear-gradient(135deg, #0D1B3D, var(--primary)); color: #fff; border-radius: var(--radius); padding: 28px 30px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.article-cta p { opacity: .9; font-size: .93rem; }
.related { margin-top: 40px; }
.related h2 { font-size: 1.2rem; margin-bottom: 14px; }
.related a { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.related a:hover { color: var(--primary); }
.related a i { color: var(--primary); font-size: .8rem; }

/* Trang 404 */
.err-page { text-align: center; padding: 90px 0 100px; }
.err-code { font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), #00C6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 14px 0 10px; }
.err-page p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.err-page .hero-actions { justify-content: center; }
.err-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }

/* Nút liên hệ nhanh nổi góc màn hình */
.quick { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.quick-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.35rem; cursor: pointer; box-shadow: 0 12px 28px rgba(10,102,255,.38); transition: background-color .2s, transform .2s; }
.quick-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.quick-panel { display: none; width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.quick.open .quick-panel { display: block; }
.quick-panel b { display: block; font-size: .85rem; color: var(--ink); padding: 6px 10px 8px; }
.quick-panel a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.quick-panel a:hover { background: var(--primary-soft); }
.quick-panel a i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.quick-panel a small { display: block; font-size: .74rem; color: var(--muted); font-weight: 400; }

@media (max-width: 1000px) {
    .flow { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .demo { padding: 44px 0; }
    .demo-grid { grid-template-columns: 1fr; gap: 26px; }
    .flow { grid-template-columns: 1fr; }
    .kanban { grid-template-columns: repeat(2, 1fr); }
    .article-cta { padding: 22px; }
    .quick { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); }
    .quick-btn { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* Logo nhỏ hơn trên điện thoại */
@media (max-width: 640px) {
    .logo img { height: 34px; }
}

/* ===== Truy cập bằng bàn phím: viền focus rõ, đúng màu thương hiệu ===== */
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .mobile-cta:focus-visible { border-radius: 10px; }
.menu-cta:focus-visible { border-radius: 999px; }
.quick-btn:focus-visible { outline-offset: 4px; border-radius: 50%; }
.site-footer :focus-visible, .cta :focus-visible, .h-cta :focus-visible, .article-cta :focus-visible { outline-color: var(--brand-sky); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }

/* ===== Không để chữ mồ côi (dòng cuối chỉ còn một từ) — áp 27/11/2026, xem NHAN-DIEN.md mục "Không chữ mồ côi" =====
   Tiêu đề: chia các dòng dài gần bằng nhau. Chữ thường: đặt ở body để mọi khối (p, li, ô bảng, chữ trong thẻ, liên kết
   chân trang…) kế thừa, trình duyệt tự tránh để một từ rơi xuống dòng cuối. Trình duyệt chưa hiểu "pretty"
   (Firefox, Safari cũ) thì js/main.js nối hai từ cuối bằng dấu cách không ngắt. Nút, menu, ô nhập giữ cách xuống dòng thường. */
body { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6, figcaption, th { text-wrap: balance; }
button, .btn, .menu, input, select, textarea { text-wrap: wrap; }

/* ===== Người dùng tắt hiệu ứng chuyển động trong máy ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .btn:hover, .btn-primary:hover, .btn-light:hover, .quick-btn:hover { transform: none; }
}

/* =====================================================================
   CỤM THẺ NỔI Ở NỬA PHẢI PHẦN MỞ ĐẦU (.hn) — áp 27/11/2026, xem NHAN-DIEN.md mục "Cụm thẻ nổi ở hero".
   Lấp khoảng trống bên phải hero mà không dùng ảnh lớn: 2–3 thẻ trắng nhỏ là mảnh giao diện phần mềm dựng bằng HTML/CSS.
   Thẻ đặt rải như bong bóng (không thẳng hàng dọc / ngang): mỗi thẻ một chỗ, cỡ, độ nghiêng riêng, hiện lần lượt
   rồi trôi nhẹ với nhịp khác nhau. Chỉ hiện từ khổ 1101; trang trí thuần nên luôn có aria-hidden="true".
   Vị trí khung .hn đặt riêng ở home.css (trang chủ) và trang-con.css (trang con).
   ===================================================================== */
.hn { display: none; }
@media (min-width: 1101px) {
  .hn { display: block; position: absolute; z-index: 1; pointer-events: none; }
  /* Hai bong bóng tròn nhỏ điểm xuyết giữa các thẻ */
  .hn::before, .hn::after { content: ''; position: absolute; border-radius: 50%; }
  .hn::before { width: 14px; height: 14px; left: 46%; top: 6%; background: var(--brand-sky); opacity: .55; box-shadow: 0 0 0 8px rgba(0,198,255,.14); }
  .hn::after { width: 9px; height: 9px; right: 4%; bottom: 30%; background: var(--brand-blue); opacity: .4; box-shadow: 0 0 0 6px rgba(10,102,255,.1); }
}
.hn-the { position: absolute; width: var(--w, 236px); padding: 15px 17px; background: #fff; border: 1px solid #DCE5F3; border-radius: 16px;
  box-shadow: 0 24px 50px -24px rgba(13,27,61,.3), 0 2px 6px rgba(13,27,61,.04); color: var(--brand-navy); font-family: var(--font-body); line-height: 1.35;
  rotate: var(--r, 0deg);
  /* hiện: phồng lên như bong bóng (scale), trôi: lên xuống nhẹ (translate) — hai thuộc tính riêng nên không đè nhau */
  animation: hn-hien .75s cubic-bezier(.2,.9,.3,1.25) var(--tre, 0s) both, hn-troi var(--nhip, 7s) ease-in-out calc(var(--tre, 0s) + .75s) infinite alternate; }
@keyframes hn-hien { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
@keyframes hn-troi { from { translate: 0 0; } to { translate: var(--dx, 0px) var(--dy, -10px); } }

/* Vị trí rải: 3 thẻ (trang chủ) — trên phải lớn, giữa trái, dưới lệch phải; 2 thẻ (trang con) — trên phải, dưới trái */
.hn-3 .hn-a { top: 2%; right: 0; --w: 252px; --r: 1.5deg; --tre: .25s; --nhip: 7.5s; --dy: -12px; }
.hn-3 .hn-b { top: 39%; left: 0; --w: 228px; --r: -2.2deg; --tre: .6s; --nhip: 6.2s; --dy: 10px; --dx: 4px; }
.hn-3 .hn-c { bottom: 3%; right: 13%; --w: 238px; --r: 1deg; --tre: .95s; --nhip: 8.4s; --dy: -9px; }
.hn-2 .hn-a { top: 0; right: 3%; --w: 248px; --r: 1.6deg; --tre: .25s; --nhip: 7.2s; --dy: -11px; }
.hn-2 .hn-b { bottom: 0; left: 4%; --w: 232px; --r: -2deg; --tre: .65s; --nhip: 6.4s; --dy: 10px; --dx: 4px; }

/* Thành phần trong thẻ */
.hn-dau { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.hn-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--brand-blue); font-size: .8rem; }
.hn-ico.ok { background: rgba(16,185,129,.12); color: var(--accent); }
.hn-so { font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hn-so small { font-size: .95rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.hn-tang { color: var(--accent); font-size: .78rem; font-weight: 700; margin-left: 6px; }
.hn-phu { display: block; font-size: .76rem; color: var(--muted); margin-top: 6px; }
.hn-chu { font-size: .9rem; font-weight: 700; }
.hn-thanh { height: 7px; border-radius: 99px; background: #EEF3FB; margin-top: 10px; overflow: hidden; }
.hn-thanh i { display: block; height: 100%; width: var(--p, 60%); border-radius: inherit; background: linear-gradient(90deg, var(--brand-blue), var(--brand-sky)); }
.hn-duong { display: block; width: 100%; height: 40px; margin-top: 8px; }
.hn-ds { list-style: none; display: grid; gap: 8px; }
.hn-ds li { display: flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 600; }
.hn-ds li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand-blue)); }
.hn-ds em { margin-left: auto; flex: none; white-space: nowrap; font-style: normal; font-size: .7rem; font-weight: 600; color: var(--muted); background: #F2F5FA; border-radius: 99px; padding: 2px 8px; }
.hn-nhan { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--brand-blue); background: var(--primary-soft); border-radius: 99px; padding: 3px 10px; }
.hn-hang { display: flex; align-items: center; gap: 14px; }
.hn-hang > div { min-width: 0; }
/* Chữ trong thẻ xuống dòng cân đối, không để một chữ lẻ ở dòng cuối */
.hn-chu, .hn-phu, .hn-ds li { text-wrap: balance; }
/* Vòng tiến độ */
.hn-vong { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 74%, transparent 76%), conic-gradient(var(--brand-blue) calc(var(--p, 60) * 1%), #EEF3FB 0);
  font-family: var(--font-head); font-size: .82rem; font-weight: 800; }
/* Biểu đồ cột */
.hn-cot { display: flex; align-items: flex-end; gap: 7px; height: 56px; margin-top: 8px; }
.hn-cot i { flex: 1; height: var(--h, 50%); border-radius: 5px 5px 2px 2px; background: #D6E4FB; }
.hn-cot i.on { background: linear-gradient(180deg, var(--brand-sky), var(--brand-blue)); }
/* Dòng 5 bước */
.hn-buoc { display: flex; align-items: center; margin-top: 4px; }
.hn-buoc b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .66rem; font-weight: 800; background: #EEF3FB; color: var(--muted); }
.hn-buoc b.xong { background: var(--brand-blue); color: #fff; }
.hn-buoc b.dang { background: #fff; color: var(--brand-blue); box-shadow: inset 0 0 0 2px var(--brand-blue); }
.hn-buoc i { flex: 1; height: 2px; background: #E3EAF5; }
.hn-buoc i.xong { background: var(--brand-blue); }
/* Ô tròn nhỏ của kênh liên hệ */
.hn-kenh { display: flex; gap: 8px; margin-top: 4px; }
.hn-kenh span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--brand-blue); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  .hn-the { animation: none !important; opacity: 1; }
}
