/* =====================================================================
   tuha.vn — khung chung 2026 (24/10/2026, qua ai.miagent.vn)
   Nhan dien lay tu phan mem TUHA (newapp): navy dau the dang nhap #0c213a, nut xanh #1761fd,
   chu xanh --ta-blue #0062cc, font he thong kieu Apple (--ta-font trong tuha-apple.css).
   Tien to t- de khong dung lop cua theme cu (bootstrap 3 / bootsnav / style.css).
   Tai SAU moi CSS cu nen cung do dac hieu thi tep nay thang.
   ===================================================================== */
:root {
    /* KHONG ghi "Roboto": trang tai Roboto tu Google Fonts chi o do dam 900 (cho tieu de cu) -> trinh duyet lay ban 900
       do cho moi chu thuong (do duoc 24/10/2026: chu chan trang bi dam). Android van ra Roboto he thong qua system-ui. */
    --t-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
    --t-navy: #0c213a;
    --t-navy-2: #132d4d;
    --t-blue: #1761fd;
    --t-blue-dam: #0b4ed8;
    --t-link: #0062cc;
    --t-ink: #1d1d1f;
    --t-sub: #424245;
    --t-muted: #5f5f64;
    --t-bg: #ffffff;
    --t-bg-2: #f5f5f7;
    --t-line: rgba(0, 0, 0, .1);
    --t-r-sm: 10px;
    --t-r: 14px;
    --t-r-lg: 20px;
    --t-shadow: 0 1px 2px rgba(12, 33, 58, .06), 0 12px 32px rgba(12, 33, 58, .12);
    --t-dau-cao: 64px;
    --t-ease: cubic-bezier(.25, .1, .25, 1);
}
@media (max-width: 991px) { :root { --t-dau-cao: 56px; } }

/* ---------- Chu: font he thong thay Inter (bo @import Google Fonts chan hien thi) ---------- */
body, h1, h2, h3, h4, h5, h6, a, .btn, button, input, select, textarea {
    font-family: var(--t-font);
}
body {
    color: var(--t-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
:focus-visible { outline: 3px solid rgba(23, 97, 253, .45); outline-offset: 2px; }

/* ===================== Dau trang ===================== */
.t-dau {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(12, 33, 58, .94);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-family: var(--t-font);
}
.t-dau *, .t-dau *::before, .t-dau *::after { box-sizing: border-box; }
.t-dau-trong {
    max-width: 1200px; height: var(--t-dau-cao);
    margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; gap: 24px;
}
.t-logo { display: flex; align-items: center; flex: none; height: 44px; }
.t-logo img { display: block; height: 30px; width: auto; }
@media (max-width: 991px) { .t-logo img { height: 26px; } }

.t-nav { flex: 1; min-width: 0; }
.t-nav-ds { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.t-nav-ds > li { position: relative; margin: 0; padding: 0; list-style: none; }
.t-nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    height: 40px; padding: 0 12px;
    border: 0; border-radius: 8px; background: transparent;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0;
    text-decoration: none !important; white-space: nowrap; cursor: pointer;
    transition: color .15s var(--t-ease), background-color .15s var(--t-ease);
}
.t-nav-link:hover, .t-nav-link[aria-expanded="true"] { color: #fff !important; background: rgba(255, 255, 255, .08); }
.t-nav-link svg { width: 12px; height: 12px; opacity: .7; transition: transform .2s var(--t-ease); }
.t-nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Bang tha xuong */
.t-nav-con {
    position: absolute; top: calc(100% + 8px); left: -8px;
    min-width: 300px; padding: 8px;
    border-radius: var(--t-r-lg); background: #fff;
    box-shadow: var(--t-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .18s var(--t-ease), transform .18s var(--t-ease), visibility 0s linear .18s;
}
.t-nav-con.t-mo { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.t-nav-con-rong { width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.t-nav-con a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 12px;
    color: var(--t-ink) !important; text-decoration: none !important;
    font-size: 15px; font-weight: 500; line-height: 1.35;
}
.t-nav-con a:hover, .t-nav-con a:focus-visible { background: var(--t-bg-2); }
.t-nav-con a img { flex: none; width: 36px; height: 36px; border-radius: 10px; object-fit: contain; background: var(--t-bg-2); padding: 6px; }
.t-nav-con a small { display: block; margin-top: 2px; color: var(--t-muted); font-size: 13px; font-weight: 400; }

.t-dau-phai { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.t-goi {
    display: inline-flex; align-items: center; gap: 6px; margin-right: 6px;
    color: rgba(255, 255, 255, .86) !important; font-size: 14px; font-weight: 500; white-space: nowrap;
    text-decoration: none !important;
}
.t-goi:hover { color: #fff !important; }
.t-goi { height: 40px; }
.t-goi svg { width: 16px; height: 16px; }
.t-nut {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 16px;
    border-radius: 980px; border: 0;
    font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
    text-decoration: none !important; cursor: pointer;
    transition: background-color .15s var(--t-ease), color .15s var(--t-ease);
}
.t-nut-chinh { background: var(--t-blue); color: #fff !important; }
.t-nut-chinh:hover { background: var(--t-blue-dam); }
.t-nut-phu { background: rgba(255, 255, 255, .12); color: #fff !important; }
.t-nut-phu:hover { background: rgba(255, 255, 255, .2); }

.t-mo-menu {
    display: none;
    width: 44px; height: 44px; margin-right: -10px;
    border: 0; border-radius: 10px; background: transparent; color: #fff;
    align-items: center; justify-content: center; cursor: pointer;
}
.t-mo-menu svg { width: 22px; height: 22px; }
.t-mo-menu .t-dong { display: none; }
.t-mo-menu[aria-expanded="true"] .t-ba-gach { display: none; }
.t-mo-menu[aria-expanded="true"] .t-dong { display: block; }

@media (max-width: 1199px) { .t-goi { display: none; } }
@media (max-width: 991px) {
    .t-nav, .t-dau-phai .t-nut-phu { display: none; }
    .t-mo-menu { display: inline-flex; }
    .t-dau-trong { gap: 12px; padding: 0 16px; }
    .t-nut { height: 34px; padding: 0 14px; }
}

/* Menu dien thoai: tam phu duoi thanh dau trang */
.t-menu-dt {
    position: fixed; left: 0; right: 0; top: var(--t-dau-cao); bottom: 0;
    z-index: 999;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
    background: var(--t-bg-2);
    font-family: var(--t-font);
    opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--t-ease), transform .2s var(--t-ease);
}
.t-menu-dt.t-mo { opacity: 1; transform: none; }
.t-menu-dt[hidden] { display: none !important; }
.t-menu-dt *, .t-menu-dt *::before, .t-menu-dt *::after { box-sizing: border-box; }
.t-nhom-ten {
    margin: 20px 16px 8px; color: var(--t-muted);
    font-size: 13px; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em;
}
.t-nhom-ten:first-child { margin-top: 4px; }
.t-ds-inset { margin: 0; padding: 0; list-style: none; border-radius: var(--t-r); background: #fff; overflow: hidden; }
.t-ds-inset li { margin: 0; padding: 0; list-style: none; }
.t-ds-inset li + li { border-top: 1px solid var(--t-line); }
.t-ds-inset a, .t-ds-inset summary {
    display: flex; align-items: center; gap: 12px;
    min-height: 50px; padding: 10px 16px;
    color: var(--t-ink) !important; text-decoration: none !important;
    font-size: 17px; font-weight: 400; line-height: 1.3;
    cursor: pointer; list-style: none;
}
.t-ds-inset summary::-webkit-details-marker { display: none; }
.t-ds-inset a img { flex: none; width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: var(--t-bg-2); padding: 4px; }
.t-ds-inset .t-mui { margin-left: auto; color: #c7c7cc; width: 14px; height: 14px; flex: none; transition: transform .2s var(--t-ease); }
.t-ds-inset details[open] > summary .t-mui { transform: rotate(90deg); }
.t-ds-inset details ul { margin: 0; padding: 0 0 6px; list-style: none; }
.t-ds-inset details ul a { min-height: 44px; padding-left: 32px; font-size: 16px; color: var(--t-sub) !important; }
.t-menu-dt-nut { display: grid; gap: 10px; margin-top: 24px; }
.t-menu-dt-nut .t-nut { height: 50px; font-size: 17px; border-radius: 12px; }
.t-menu-dt-nut .t-nut-phu { background: #fff; color: var(--t-link) !important; }
html.t-khoa-cuon, html.t-khoa-cuon body { overflow: hidden; }

/* Bo theme cu: khong de bootsnav dat khoang trong cho thanh dau trang co dinh */
#top-page { height: 0; }

/* ===================== Dai tieu de trang con ===================== */
.breadcrumb-area {
    padding: 40px 0 32px !important;
    background: var(--t-bg-2) !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--t-ink) !important;
}
.breadcrumb-area::after, .breadcrumb-area::before { display: none !important; }
.breadcrumb-area h1, .breadcrumb-area h2 {
    margin: 0 !important;
    color: var(--t-ink) !important;
    font-size: 34px !important; line-height: 1.2 !important; font-weight: 700 !important;
    letter-spacing: -0.015em; text-wrap: balance;
}
.breadcrumb-area .row { display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 10px; }
.breadcrumb-area .text-right { text-align: right; }
.breadcrumb-area .breadcrumb {
    display: inline-flex !important; flex-wrap: wrap; gap: 6px;
    margin: 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    font-size: 14px !important;
}
.breadcrumb-area .breadcrumb li, .breadcrumb-area .breadcrumb li a {
    color: var(--t-muted) !important; font-weight: 500 !important; font-size: 14px !important; text-transform: none !important;
}
.breadcrumb-area .breadcrumb li a:hover { color: var(--t-link) !important; }
.breadcrumb-area .breadcrumb li::before, .breadcrumb-area .breadcrumb li::after { color: #c7c7cc !important; }
.breadcrumb-area .breadcrumb .fa-home { display: none; }
/* Theme cu: .breadcrumb::after la khoi nen #232323 dat tuyet doi de len chu; li::after la vong tron ngan cach */
.breadcrumb-area .breadcrumb::after, .breadcrumb-area .breadcrumb::before,
.breadcrumb-area .breadcrumb li::after { display: none !important; content: none !important; }
.breadcrumb-area .breadcrumb li { padding: 0 !important; margin: 0 !important; }
.breadcrumb-area .breadcrumb > li + li::before {
    content: "›" !important; display: inline !important; padding: 0 6px 0 0 !important;
    color: #aeaeb2 !important; background: none !important; border: 0 !important; position: static !important;
}
@media (max-width: 991px) {
    .breadcrumb-area { padding: 24px 0 20px !important; text-align: left !important; }
    .breadcrumb-area h1, .breadcrumb-area h2 { font-size: 26px !important; }
    .breadcrumb-area .text-right { text-align: left !important; }
}

/* ===================== Chan trang ===================== */
.t-chan {
    background: var(--t-navy); color: rgba(255, 255, 255, .72);
    font-family: var(--t-font); font-size: 14px; line-height: 1.6;
}
.t-chan *, .t-chan *::before, .t-chan *::after { box-sizing: border-box; }
.t-chan a { color: rgba(255, 255, 255, .78) !important; font-weight: 400 !important; text-decoration: none !important; }
.t-chan a:hover { color: #fff !important; }
.t-chan-trong { max-width: 1200px; margin: 0 auto; padding: 56px 20px 0; }
.t-chan-luoi { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.t-chan-hieu img.t-chan-logo { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.t-chan-hieu p { margin: 0 0 16px; max-width: 30em; color: rgba(255, 255, 255, .72); }
.t-chan-lienhe { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.t-chan-lienhe li { margin: 0; padding: 0; list-style: none; }
.t-chan-lienhe span { display: block; color: rgba(255, 255, 255, .55); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.t-chan-lienhe a { color: #fff !important; font-size: 15px; font-weight: 600 !important; }
.t-chan-mxh { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-chan-mxh li { margin: 0; padding: 0; list-style: none; }
.t-chan-mxh a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: #fff !important; font-size: 15px;
}
.t-chan-mxh a:hover { background: rgba(255, 255, 255, .2); }
.t-chan-cot h3 {
    margin: 0 0 12px !important; color: #fff !important;
    font-size: 13px !important; font-weight: 600 !important; line-height: 1.4 !important;
    text-transform: uppercase; letter-spacing: .04em;
}
.t-chan-cot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.t-chan-cot h3.t-cach { margin-top: 24px !important; }
.t-chan-cot li { margin: 0; padding: 0; list-style: none; }
.t-chan-ung-dung { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.t-chan-ung-dung a {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 12px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; font-size: 13px; font-weight: 500 !important;
}
.t-chan-ung-dung a:hover { background: rgba(255, 255, 255, .08); }
.t-chan-phap-ly {
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
    margin-top: 40px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px; color: rgba(255, 255, 255, .6);
}
.t-chan-phap-ly p { margin: 0 0 4px; color: rgba(255, 255, 255, .6); }
.t-chan-phap-ly b { color: rgba(255, 255, 255, .85); font-weight: 600; }
.t-chan-huy-hieu { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.t-chan-huy-hieu img { display: block; height: 40px; width: auto; }
.t-chan-huy-hieu .dmca-badge img { height: 24px; }
.t-chan-cuoi {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding: 16px 0 calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px; color: rgba(255, 255, 255, .55);
}
#histats_counter { min-height: 0; }
@media (max-width: 1099px) {
    .t-chan-luoi { grid-template-columns: repeat(2, 1fr); }
    .t-chan-hieu { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .t-chan-trong { padding: 40px 16px 0; }
    .t-chan-luoi { gap: 28px 20px; }
    .t-chan-phap-ly { grid-template-columns: 1fr; }
    .t-chan-huy-hieu { justify-content: flex-start; }
}

/* ===================== Nut lien he noi (gop Zalo / Messenger / Goi) ===================== */
.t-lien-he {
    position: fixed; z-index: 990;
    right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
    font-family: var(--t-font);
}
.t-lien-he *, .t-lien-he *::before, .t-lien-he *::after { box-sizing: border-box; }
.t-lien-he-nut {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; min-width: 52px; padding: 0 18px 0 16px;
    border: 0; border-radius: 26px;
    background: var(--t-blue); color: #fff;
    font-size: 15px; font-weight: 600; cursor: pointer;
    box-shadow: 0 6px 20px rgba(23, 97, 253, .35);
    transition: background-color .15s var(--t-ease), transform .15s var(--t-ease);
}
.t-lien-he-nut:hover { background: var(--t-blue-dam); }
.t-lien-he-nut:active { transform: scale(.97); }
.t-lien-he-nut svg { width: 22px; height: 22px; flex: none; }
.t-lien-he-nut .t-dong { display: none; }
.t-lien-he.t-mo .t-lien-he-nut .t-mo-icon { display: none; }
.t-lien-he.t-mo .t-lien-he-nut .t-dong { display: block; }
@media (max-width: 767px) {
    .t-lien-he-nut { width: 48px; height: 48px; min-width: 48px; padding: 0; border-radius: 50%; }
    .t-lien-he-nut .t-chu { display: none; }
}
.t-lien-he-bang {
    position: absolute; right: 0; bottom: calc(100% + 10px);
    width: 260px; padding: 6px;
    border-radius: var(--t-r-lg); background: #fff; box-shadow: var(--t-shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98); transform-origin: bottom right;
    transition: opacity .18s var(--t-ease), transform .18s var(--t-ease), visibility 0s linear .18s;
}
.t-lien-he.t-mo .t-lien-he-bang { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.t-lien-he-bang a {
    display: flex; align-items: center; gap: 12px;
    min-height: 52px; padding: 8px 12px; border-radius: 14px;
    color: var(--t-ink) !important; text-decoration: none !important; font-size: 15px; font-weight: 500 !important;
}
.t-lien-he-bang a:hover, .t-lien-he-bang a:focus-visible { background: var(--t-bg-2); }
.t-lien-he-bang img, .t-lien-he-bang .t-tron {
    flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.t-lien-he-bang .t-tron { display: inline-flex; align-items: center; justify-content: center; background: #34c759; color: #fff; }
.t-lien-he-bang .t-tron svg { width: 18px; height: 18px; }
.t-lien-he-bang small { display: block; color: var(--t-muted); font-size: 13px; font-weight: 400; }

/* ===================== Sua tran ngang co san ===================== */
/* Trang /contact: .thumb-custom rong co dinh 920px (chi co ban sua cho max-device-width 480px) -> tran 137px o 768px, 15px o 1440px */
.blog-items-custom.row { margin-left: 0; margin-right: 0; }
.blog-items-custom .thumb-custom { width: min(920px, 100%) !important; max-width: 100%; }
.blog-items-custom .thumb-custom img { max-width: 100%; height: auto; }

/* ===================== Trang 404 ===================== */
.t-404 { max-width: 640px; margin: 0 auto; padding: 72px 20px 96px; text-align: center; font-family: var(--t-font); }
.t-404 .t-404-so { margin: 0; color: var(--t-blue); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.t-404 h1 { margin: 8px 0 12px !important; color: var(--t-ink) !important; font-size: 34px !important; font-weight: 700 !important; line-height: 1.2 !important; }
.t-404 p { color: var(--t-sub); font-size: 17px; line-height: 1.55; }
.t-404-nut { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.t-404-nut .t-nut { height: 44px; padding: 0 20px; font-size: 15px; }
.t-404-nut .t-nut-phu { background: var(--t-bg-2); color: var(--t-link) !important; }
.t-404-goi-y { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; text-align: left; }
.t-404-goi-y li { margin: 0; list-style: none; }
.t-404-goi-y a {
    display: block; padding: 14px 16px; border-radius: var(--t-r);
    background: var(--t-bg-2); color: var(--t-ink) !important; text-decoration: none !important; font-weight: 600 !important;
}
.t-404-goi-y a small { display: block; color: var(--t-muted); font-weight: 400; font-size: 13px; }
.t-404-goi-y a:hover { background: #ebebf0; }
@media (max-width: 575px) { .t-404-goi-y { grid-template-columns: 1fr; } .t-404 h1 { font-size: 28px !important; } }

@media (prefers-reduced-motion: reduce) {
    .t-dau *, .t-menu-dt, .t-lien-he * { transition: none !important; }
}

/* =====================================================================
   THANH PHAN NOI DUNG CHUNG (trang chu GĐ2 + trang con GĐ3, 24/10/2026)
   ===================================================================== */
.t-trang { font-family: var(--t-font); color: var(--t-ink); background: #fff; }
.t-trang *, .t-trang *::before, .t-trang *::after { box-sizing: border-box; }
.t-trang img { max-width: 100%; height: auto; }
.t-trang a { font-weight: inherit; }
.t-khung { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.t-phan { padding: 96px 0; }
.t-phan-xam { background: var(--t-bg-2); }
@media (max-width: 767px) { .t-phan { padding: 64px 0; } .t-khung { padding: 0 16px; } }

.t-dau-phan { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.t-dau-phan.t-trai { margin-left: 0; text-align: left; }
.t-mo-dau { margin: 0 0 10px !important; color: var(--t-blue); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.t-trang h2.t-h2, .t-h2 {
    margin: 0 !important; color: var(--t-ink) !important;
    font-size: 40px !important; line-height: 1.15 !important; font-weight: 700 !important; letter-spacing: -0.022em !important;
    text-wrap: balance; text-transform: none !important;
}
.t-dan { margin: 16px 0 0 !important; color: var(--t-sub); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
@media (max-width: 767px) {
    .t-dau-phan { margin-bottom: 32px; }
    .t-trang h2.t-h2, .t-h2 { font-size: 28px !important; }
    .t-dan { font-size: 17px; }
}

/* Nut lon trong noi dung */
.t-nut-lon { height: 48px; padding: 0 24px; font-size: 16px; }
.t-nut-kinh { background: rgba(255, 255, 255, .14); color: #fff !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.t-nut-kinh:hover { background: rgba(255, 255, 255, .24); }
.t-nut-nhat { background: var(--t-bg-2); color: var(--t-link) !important; }
.t-nut-nhat:hover { background: #e8e8ed; }
.t-phan-xam .t-nut-nhat { background: #fff; }
.t-phan-xam .t-nut-nhat:hover { background: #ebebf0; }
.t-nut svg { width: 18px; height: 18px; flex: none; }
.t-nut-cum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.t-lien-ket { color: var(--t-link) !important; font-weight: 600 !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 4px; }
.t-lien-ket:hover { text-decoration: underline !important; }
.t-lien-ket svg { width: 14px; height: 14px; }

/* Ho tro cuon: xuat hien nhe khi cuon toi (chi khi JS chay; khong JS thi hien ngay) */
html.t-js .t-hien { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--t-ease), transform .6s var(--t-ease); }
html.t-js .t-hien.t-da-hien { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.t-js .t-hien { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero trang chu ---------- */
.t-hero {
    position: relative; overflow: hidden;
    padding: 88px 0 0;
    background:
        radial-gradient(60% 50% at 80% 0%, rgba(23, 97, 253, .35) 0%, rgba(23, 97, 253, 0) 70%),
        radial-gradient(50% 45% at 10% 20%, rgba(65, 165, 150, .28) 0%, rgba(65, 165, 150, 0) 70%),
        linear-gradient(180deg, #0c213a 0%, #0f2a49 100%);
    color: #fff; text-align: center;
}
/* Nua duoi khung video nam tren nen sang: dai sang cao dung bang nua khung (khung 16:9, rong toi da 1040px),
   tinh theo be ngang man chu khong theo % chieu cao -> chu phia tren luon nam tren nen navy o moi co man. */
.t-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
    height: calc(min(1040px, 100vw - 40px) * 0.28125);
    background: #f5f5f7;
}
.t-hero .t-khung { position: relative; z-index: 1; }
@media (max-width: 767px) { .t-hero::after { height: calc((100vw - 32px) * 0.28125); } }
.t-hero-chu { max-width: 860px; margin: 0 auto; }
.t-hero .t-nhan {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 20px; padding: 6px 14px; border-radius: 980px;
    background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9);
    font-size: 14px; font-weight: 500;
}
.t-hero .t-nhan b { color: #7fb2ff; font-weight: 600; }
.t-trang .t-hero h1 {
    margin: 0 !important; color: #fff !important;
    font-size: 58px !important; line-height: 1.08 !important; font-weight: 700 !important; letter-spacing: -0.03em !important;
    text-wrap: balance;
}
.t-hero .t-dan { margin: 22px auto 0 !important; max-width: 680px; color: rgba(255, 255, 255, .78); font-size: 20px; }
.t-hero .t-nut-cum { justify-content: center; margin-top: 32px; }
.t-hero-tin { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); font-size: 14px; }
.t-hero-tin li { display: inline-flex; align-items: center; gap: 6px; margin: 0; list-style: none; }
.t-hero-tin svg { width: 16px; height: 16px; color: #5fd28a; }
.t-hero-khung {
    position: relative; max-width: 1040px; margin: 56px auto 0;
    border-radius: 22px; overflow: hidden; background: #0b1a2e;
    box-shadow: 0 30px 80px rgba(12, 33, 58, .35), 0 0 0 1px rgba(255, 255, 255, .08);
    aspect-ratio: 16 / 9;
}
.t-hero-khung video, .t-hero-khung img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
    .t-hero { padding-top: 56px; }
    .t-trang .t-hero h1 { font-size: 40px !important; }
    .t-hero .t-dan { font-size: 18px; }
}
@media (max-width: 575px) {
    .t-hero { padding-top: 40px; }
    .t-trang .t-hero h1 { font-size: 32px !important; letter-spacing: -0.02em !important; }
    .t-hero .t-dan { font-size: 17px; margin-top: 16px !important; }
    .t-hero .t-nut-cum { flex-direction: column; align-items: stretch; margin-top: 24px; }
    .t-hero .t-nut-cum .t-nut { width: 100%; }
    .t-hero-tin { gap: 6px 16px; font-size: 13px; }
    .t-hero-khung { margin-top: 36px; border-radius: 14px; }
}

/* ---------- Luoi the ---------- */
.t-luoi { display: grid; gap: 20px; }
.t-luoi-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-luoi-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-luoi-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .t-luoi-3, .t-luoi-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .t-luoi-2, .t-luoi-3, .t-luoi-4 { grid-template-columns: minmax(0, 1fr); } .t-luoi { gap: 12px; } }
.t-the {
    position: relative; display: flex; flex-direction: column;
    padding: 28px; border-radius: var(--t-r-lg);
    background: #fff; color: var(--t-ink);
}
.t-phan:not(.t-phan-xam) .t-the { background: var(--t-bg-2); }
.t-the h3 { margin: 0 0 8px !important; color: var(--t-ink) !important; font-size: 19px !important; line-height: 1.3 !important; font-weight: 600 !important; text-transform: none !important; }
.t-the p { margin: 0 !important; color: var(--t-sub); font-size: 15px; line-height: 1.55; }
.t-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px;
    background: rgba(23, 97, 253, .1); color: var(--t-blue);
}
.t-icon svg { width: 22px; height: 22px; }
@media (max-width: 575px) { .t-the { padding: 22px; } }

/* Tinh nang dang lien: dien thoai 2 cot gon */
@media (max-width: 575px) {
    .t-luoi-tn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-luoi-tn .t-the { padding: 18px 16px; }
    .t-luoi-tn .t-icon { width: 38px; height: 38px; margin-bottom: 12px; }
    .t-luoi-tn .t-the h3 { font-size: 16px !important; }
    .t-luoi-tn .t-the p { font-size: 14px; }
}

/* ---------- Tach doi: chu + anh ---------- */
.t-tach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.t-tach-anh { border-radius: 24px; overflow: hidden; background: #fff; }
.t-tach-anh img { display: block; width: 100%; }
@media (max-width: 991px) { .t-tach { grid-template-columns: minmax(0, 1fr); gap: 32px; } .t-tach-anh { max-width: 520px; margin: 0 auto; } }

.t-ds-ly-do { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.t-ds-ly-do li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; margin: 0; list-style: none; }
.t-ds-ly-do .t-dau-tich { width: 28px; height: 28px; border-radius: 50%; background: rgba(23, 97, 253, .1); color: var(--t-blue); display: flex; align-items: center; justify-content: center; }
.t-ds-ly-do .t-dau-tich svg { width: 16px; height: 16px; }
.t-ds-ly-do b { display: block; margin-bottom: 2px; color: var(--t-ink); font-size: 17px; font-weight: 600; }
.t-ds-ly-do span { color: var(--t-sub); font-size: 16px; line-height: 1.5; }
.t-ket-luan { margin: 28px 0 0 !important; padding: 18px 20px; border-radius: var(--t-r); background: #fff; color: var(--t-ink); font-size: 16px; line-height: 1.55; }
.t-phan:not(.t-phan-xam) .t-ket-luan { background: var(--t-bg-2); }

/* ---------- Trich dan / su menh ---------- */
.t-trich {
    margin: 28px 0 0 !important; padding: 0 0 0 20px; border-left: 3px solid var(--t-blue);
    color: var(--t-ink); font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em;
}
.t-so-lieu { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 32px; margin: 32px 0; }
.t-so-lieu div span { max-width: 14em; }
@media (max-width: 575px) { .t-so-lieu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .t-so-lieu div b { font-size: 28px !important; } .t-so-lieu div span { font-size: 13px; } }
.t-so-lieu div b { display: block; color: var(--t-ink); font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.t-so-lieu div span { display: block; margin-top: 6px; color: var(--t-muted); font-size: 14px; }

/* ---------- He sinh thai san pham ---------- */
.t-sp-the .t-sp-logo { width: 56px; height: 56px; margin-bottom: 20px; border-radius: 14px; background: #fff; padding: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.t-phan-xam .t-sp-the .t-sp-logo { background: var(--t-bg-2); box-shadow: none; }
.t-sp-the .t-sp-loai { margin: 0 0 4px !important; color: var(--t-muted) !important; font-size: 13px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.t-sp-the .t-sp-chan { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 20px; }
.t-sp-the p.t-sp-mo-ta { margin-bottom: 0 !important; }
.t-sp-chinh { background: var(--t-navy) !important; color: #fff; }
.t-sp-chinh h3 { color: #fff !important; }
.t-sp-chinh p { color: rgba(255, 255, 255, .78) !important; }
.t-sp-chinh .t-sp-loai { color: #7fb2ff !important; }
.t-sp-chinh .t-lien-ket { color: #7fb2ff !important; }

/* Cuon ngang tren dien thoai (bao chi, san pham) */
@media (max-width: 767px) {
    .t-cuon-ngang {
        display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none !important;
        gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: none;
    }
    .t-cuon-ngang::-webkit-scrollbar { display: none; }
    .t-cuon-ngang > * { scroll-snap-align: start; }
}

/* ---------- Bao chi ---------- */
.t-bao { padding: 0; overflow: hidden; text-decoration: none !important; transition: transform .2s var(--t-ease), box-shadow .2s var(--t-ease); }
.t-bao:hover { transform: translateY(-2px); box-shadow: var(--t-shadow); }
.t-bao-anh { aspect-ratio: 16 / 10; overflow: hidden; background: #e8e8ed; }
.t-bao-anh img { display: block; width: 100%; height: 100%; object-fit: cover; }
.t-bao-chu { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.t-bao-nguon { margin: 0 0 8px !important; color: var(--t-muted) !important; font-size: 13px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.t-bao-chu h3 { font-size: 18px !important; }
.t-bao-chu .t-lien-ket { margin-top: auto; padding-top: 16px; }

/* ---------- Doi tac van chuyen ---------- */
.t-logo-hang { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; margin: 0; padding: 0; list-style: none; }
.t-logo-hang li { margin: 0; list-style: none; }
.t-logo-hang img { display: block; height: 72px !important; width: auto !important; max-width: none; border-radius: 12px; }
@media (max-width: 575px) { .t-logo-hang { gap: 10px; } .t-logo-hang img { height: 52px !important; } }

/* ---------- Hoi dap ---------- */
.t-hoi-dap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 991px) { .t-hoi-dap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.t-hd-ds { border-radius: var(--t-r-lg); background: #fff; overflow: hidden; }
.t-phan:not(.t-phan-xam) .t-hd-ds { background: var(--t-bg-2); }
.t-hd-ds details + details { border-top: 1px solid var(--t-line); }
.t-hd-ds summary {
    display: flex; align-items: center; gap: 16px;
    min-height: 60px; padding: 16px 24px; cursor: pointer; list-style: none;
    color: var(--t-ink); font-size: 17px; font-weight: 600; line-height: 1.4;
}
.t-hd-ds summary::-webkit-details-marker { display: none; }
.t-hd-ds summary::after {
    content: ""; flex: none; margin-left: auto; width: 10px; height: 10px;
    border-right: 2px solid var(--t-muted); border-bottom: 2px solid var(--t-muted);
    transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--t-ease);
}
.t-hd-ds details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.t-hd-ds .t-hd-tra { padding: 0 24px 20px; color: var(--t-sub); font-size: 16px; line-height: 1.6; }
.t-hd-ds .t-hd-tra ul { margin: 0; padding-left: 20px; }
.t-hd-ds .t-hd-tra li { margin: 4px 0; list-style: disc; }
@media (max-width: 575px) { .t-hd-ds summary { padding: 14px 18px; font-size: 16px; } .t-hd-ds .t-hd-tra { padding: 0 18px 18px; } }

/* ---------- Dai keu goi cuoi trang ---------- */
.t-cta {
    position: relative; overflow: hidden;
    padding: 64px 40px; border-radius: 28px; text-align: center; color: #fff;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(23, 97, 253, .45) 0%, rgba(23, 97, 253, 0) 70%),
        linear-gradient(135deg, #0c213a 0%, #132d4d 100%);
}
.t-cta h2.t-h2 { color: #fff !important; }
.t-cta .t-dan { color: rgba(255, 255, 255, .78); max-width: 560px; margin-left: auto !important; margin-right: auto !important; }
.t-cta .t-nut-cum { justify-content: center; margin-top: 28px; }
@media (max-width: 575px) { .t-cta { padding: 44px 20px; border-radius: 20px; } .t-cta .t-nut-cum { flex-direction: column; align-items: stretch; } }

/* ---------- Trang san pham (GĐ3) ---------- */
.t-hero-tach { text-align: left; padding: 80px 0 88px; }
.t-hero-tach::after { display: none; }
.t-hero-tach .t-khung { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.t-trang .t-hero-tach h1 { font-size: 48px !important; }
.t-hero-tach .t-dan { margin-left: 0 !important; }
.t-hero-tach .t-nut-cum { justify-content: flex-start; }
.t-hero-ds { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.t-hero-ds li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0; list-style: none; color: rgba(255, 255, 255, .85); font-size: 17px; line-height: 1.45; }
.t-hero-ds svg { width: 20px; height: 20px; margin-top: 1px; color: #5fd28a; }
.t-quy-trinh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.t-quy-trinh li { display: inline-flex; align-items: center; gap: 6px; margin: 0; list-style: none; color: rgba(255, 255, 255, .55); font-size: 13px; }
.t-quy-trinh li span {
    display: inline-block; padding: 6px 12px; border-radius: 980px;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: 14px; font-weight: 500;
}
.t-anh-video { position: relative; display: block; border-radius: 24px; overflow: hidden; }
.t-anh-video img { display: block; width: 100%; height: auto; }
.t-nut-phat {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: var(--t-blue) !important;
    box-shadow: 0 10px 30px rgba(12, 33, 58, .3);
    transition: transform .2s var(--t-ease);
}
.t-anh-video:hover .t-nut-phat { transform: translate(-50%, -50%) scale(1.06); }
.t-nut-phat svg { width: 28px; height: 28px; margin-left: 4px; }
.t-hero-anh { justify-self: center; max-width: 520px; width: 100%; }
@media (max-width: 991px) {
    .t-hero-tach { padding: 48px 0 56px; text-align: center; }
    .t-hero-tach .t-khung { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .t-trang .t-hero-tach h1 { font-size: 36px !important; }
    .t-hero-tach .t-dan { margin-left: auto !important; }
    .t-hero-tach .t-nut-cum, .t-quy-trinh { justify-content: center; }
    .t-hero-ds { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
    .t-hero-anh { max-width: 420px; }
}
@media (max-width: 575px) { .t-trang .t-hero-tach h1 { font-size: 30px !important; } .t-hero-ds li { font-size: 16px; } }

.t-the-tn .t-anh-icon { width: 56px; height: 56px; margin-bottom: 18px; }
.t-the ul.t-ds-cham { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.t-the ul.t-ds-cham li { position: relative; margin: 0; padding-left: 18px; list-style: none; color: var(--t-sub); font-size: 15px; line-height: 1.5; }
.t-the ul.t-ds-cham li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--t-blue); }
.t-the .t-the-chan { margin-top: auto; padding-top: 18px; }
.t-the-dau { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.t-the-dau img { flex: none; width: 44px; height: 44px; }
.t-the-dau h3 { margin: 0 !important; }

.t-palbox { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: center; }
.t-palbox .t-anh-video { max-width: 320px; margin: 0 auto; }
@media (max-width: 991px) { .t-palbox { grid-template-columns: minmax(0, 1fr); } }

.t-bao-anh { position: relative; }
.t-bao-ngay { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(12, 33, 58, .85); color: #fff; font-size: 13px; font-weight: 600; }
.t-trang img.t-bao-logo { display: block; height: 24px !important; width: auto !important; max-width: 140px; object-fit: contain; object-position: left center; margin-bottom: 12px; }
@media (max-width: 767px) {
    .t-palbox .t-anh-video { max-width: 220px; }
    .t-cuon-ngang .t-the-tn, .t-cuon-ngang .t-the { height: 100%; }
}

/* ---------- So do he sinh thai (thay video o trang chu) ---------- */
.t-hst {
    position: relative; max-width: 1080px; margin: 56px auto 0; padding: 28px;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto;
    gap: 56px 40px; text-align: left;
    border-radius: 28px;
    background:
        radial-gradient(50% 60% at 50% 50%, rgba(23, 97, 253, .22) 0%, rgba(23, 97, 253, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .25);
}
.t-hst-duong { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.t-hst-ray { fill: none; stroke: rgba(127, 178, 255, .18); stroke-width: 1.5; }
.t-hst-dong-chay { fill: none; stroke: rgba(127, 178, 255, .55); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 10; animation: t-hst-chay 1.1s linear infinite; transition: stroke .3s, stroke-width .3s; }
.t-hst.t-co-sang .t-hst-dong-chay { stroke: rgba(127, 178, 255, .25); }
.t-hst .t-hst-dong-chay.t-sang { stroke: #7fb2ff; stroke-width: 3; animation-duration: .6s; }
@keyframes t-hst-chay { to { stroke-dashoffset: -12; } }

.t-hst-nut {
    position: relative; z-index: 1; padding: 18px 18px 16px; border-radius: 18px;
    background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .78);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    cursor: default; outline: none;
    transition: background .3s var(--t-ease), box-shadow .3s var(--t-ease), transform .3s var(--t-ease), opacity .3s var(--t-ease);
}
.t-hst.t-co-sang .t-hst-nut { opacity: .62; }
.t-hst .t-hst-nut.t-sang, .t-hst-nut:focus-visible {
    opacity: 1; transform: translateY(-3px);
    background: rgba(255, 255, 255, .11);
    box-shadow: inset 0 0 0 1px rgba(127, 178, 255, .65), 0 14px 40px rgba(23, 97, 253, .3);
}
.t-hst-nut[data-buoc="1"] { grid-column: 1; grid-row: 1; }
.t-hst-nut[data-buoc="2"] { grid-column: 2; grid-row: 1; }
.t-hst-nut[data-buoc="3"] { grid-column: 3; grid-row: 1; }
.t-hst-tam { grid-column: 2; grid-row: 2; }
.t-hst-ve { align-self: center; max-width: 240px; text-align: center; padding: 16px; }
.t-hst-ve img { display: block; width: 40px !important; height: 40px !important; margin: 0 auto 8px; }
.t-trang .t-hst .t-hst-ve h3 { margin: 0 0 4px !important; font-size: 15px !important; }
.t-hst-ve .t-hst-mo { margin: 0 !important; }
.t-hst-ve-trai { grid-column: 1; grid-row: 2; justify-self: start; }
.t-hst-ve-phai { grid-column: 3; grid-row: 2; justify-self: end; }
.t-hst.t-co-sang .t-hst-ve { opacity: .8; }
.t-hst-nut[data-buoc="5"] { grid-column: 1; grid-row: 3; }
.t-hst-nut[data-buoc="4"] { grid-column: 2 / 4; grid-row: 3; }
.t-hst-so { margin: 0 0 4px !important; color: #7fb2ff !important; font-size: 12px !important; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.t-trang .t-hst h3 { margin: 0 0 12px !important; color: #fff !important; font-size: 17px !important; font-weight: 600 !important; line-height: 1.3 !important; }
.t-hst-mo { margin: 12px 0 0 !important; color: rgba(255, 255, 255, .65); font-size: 13px; line-height: 1.5; }
.t-hst-chip { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.t-hst-chip li {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 10px 4px 4px; list-style: none;
    border-radius: 980px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; line-height: 1.2;
}
.t-hst-chip img, .t-hst-ky { flex: none; width: 20px !important; height: 20px !important; border-radius: 50%; object-fit: cover; }
.t-hst-ky { display: inline-flex; align-items: center; justify-content: center; }
.t-hst-ky svg { width: 12px; height: 12px; }
.t-hst-dong { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.t-hst-dong li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; margin: 0; list-style: none; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.t-hst-dong img { width: 32px !important; height: 32px !important; border-radius: 9px; background: #fff; padding: 3px; }
.t-hst-dong b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.t-hst-ky.t-hst-ky-lon { width: 32px !important; height: 32px !important; border-radius: 9px; }
.t-hst-ky.t-hst-ky-lon svg { width: 18px; height: 18px; }
.t-hst-logo { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-hst-logo li { margin: 0; list-style: none; }
.t-hst-logo img { display: block; height: 30px !important; width: auto !important; border-radius: 6px; background: #fff; }

.t-hst-tam {
    position: relative; z-index: 1; align-self: center; justify-self: center;
    width: 100%; max-width: 300px; padding: 22px 20px 18px; border-radius: 24px; text-align: center;
    background: linear-gradient(160deg, #1761fd 0%, #0b4ed8 55%, #0a3aa8 100%);
    box-shadow: 0 20px 60px rgba(23, 97, 253, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.t-hst-tam img { display: block; height: 34px !important; width: auto !important; margin: 0 auto 10px; }
.t-hst-tam-ten { margin: 0 !important; color: #fff; font-size: 16px; font-weight: 700; }
.t-hst-tam-mo { margin: 6px 0 12px !important; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.45; }
.t-hst-tam-chip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.t-hst-tam-chip li { margin: 0; padding: 3px 10px; list-style: none; border-radius: 980px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 500; }
.t-hst-vong {
    position: absolute; inset: -10px; border-radius: 30px; pointer-events: none;
    box-shadow: 0 0 0 1px rgba(127, 178, 255, .5);
    animation: t-hst-tho 3.2s var(--t-ease) infinite;
}
@keyframes t-hst-tho { 0% { opacity: .9; transform: scale(.98); } 70% { opacity: 0; transform: scale(1.08); } 100% { opacity: 0; transform: scale(1.08); } }

.t-hst-chu { grid-column: 1 / -1; grid-row: 4; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -40px; min-height: 44px; text-align: center; }
.t-hst-cham { display: flex; gap: 2px; flex: none; }
.t-hst-cham button {
    position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.t-hst-cham button::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
    border-radius: 980px; background: rgba(255, 255, 255, .3); transition: width .3s var(--t-ease), margin .3s var(--t-ease), background .3s;
}
.t-hst-cham button.t-sang::before { width: 22px; margin-left: -11px; background: #fff; }
.t-hst-loi { margin: 0 !important; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.45; max-width: 640px; text-align: left; }

@media (max-width: 991px) {
    .t-hst { gap: 56px 24px; padding: 20px; }
    .t-hst-nut[data-buoc="4"] { grid-column: 2 / 4; }
}
/* Dien thoai + may tinh bang doc: dong thoi gian doc, khong ve duong noi */
@media (max-width: 767px) {
    .t-hst-ve { display: none !important; }
    .t-hst { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; padding: 16px; border-radius: 22px; }
    .t-hst-duong { display: none; }
    .t-hst-tam { order: -2; max-width: none; }
    .t-hst-chu { order: -1; margin: 4px 0 4px; flex-direction: column; gap: 8px; }
    .t-hst-loi { text-align: center; font-size: 14px; }
    .t-hst-nut { margin-left: 22px; }
    .t-hst-nut::before {
        content: ""; position: absolute; left: -16px; top: 22px; width: 10px; height: 10px; border-radius: 50%;
        background: #7fb2ff; box-shadow: 0 0 0 4px rgba(127, 178, 255, .2);
    }
    .t-hst-nut::after { content: ""; position: absolute; left: -12px; top: 36px; bottom: -14px; width: 2px; background: rgba(127, 178, 255, .25); }
    .t-hst-nut[data-buoc="5"]::after { display: none; }
    .t-hst-nut[data-buoc="4"] { order: 4; }
    .t-hst-nut[data-buoc="5"] { order: 5; }
    .t-hst.t-co-sang .t-hst-nut { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .t-hst-dong-chay, .t-hst-vong { animation: none !important; }
    .t-hst-nut { transition: none; }
}
/* Hero trang chu co so do: nen navy tron, khong dai sang duoi (khung so do khong co ti le co dinh) */
.t-hero.t-hero-hst { padding-bottom: 72px; }
.t-hero.t-hero-hst::after { display: none; }
@media (max-width: 575px) { .t-hero.t-hero-hst { padding-bottom: 40px; } }

/* ---------- Doi tac tin cay (trang chu) ---------- */
.t-doi-tac { display: grid; gap: 28px; }
.t-dt-nhom { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding-top: 28px; border-top: 1px solid var(--t-line); }
.t-dt-nhom:first-child { border-top: 0; padding-top: 0; }
.t-dt-ten h3 { margin: 0 0 4px !important; color: var(--t-ink) !important; font-size: 17px !important; font-weight: 600 !important; }
.t-dt-ten p { margin: 0 !important; color: var(--t-muted); font-size: 14px; line-height: 1.45; }
.t-dt-ds { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.t-dt-ds li {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 132px; height: 64px; padding: 10px 16px; margin: 0; list-style: none;
    border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--t-line);
    transition: box-shadow .2s var(--t-ease), transform .2s var(--t-ease);
}
.t-phan:not(.t-phan-xam) .t-dt-ds li { background: #fff; }
.t-dt-ds li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(23, 97, 253, .35), 0 8px 20px rgba(12, 33, 58, .08); }
.t-dt-ds img { display: block; max-height: 40px !important; max-width: 112px !important; width: auto !important; height: auto !important; object-fit: contain; }
.t-dt-ds img.t-dt-anh-hop { max-height: 48px !important; max-width: 120px !important; border-radius: 6px; }
.t-dt-ds img.t-dt-icon { width: 28px !important; height: 28px !important; border-radius: 50%; }
.t-dt-chu { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.t-dt-ds li > span:not(.t-dt-chu) { color: var(--t-ink); font-size: 15px; font-weight: 600; }
@media (max-width: 767px) {
    .t-dt-nhom { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .t-dt-ds { gap: 8px; }
    .t-dt-ds li { min-width: 0; flex: 1 1 calc(50% - 8px); height: 56px; }
}

.t-dt-ds li.t-dt-chinh { min-width: 176px; box-shadow: inset 0 0 0 2px rgba(23, 97, 253, .35); }
.t-dt-ds li.t-dt-chinh img { max-height: 44px !important; max-width: 150px !important; }
.t-hst-logo img { padding: 2px 6px; }

/* Trang chu: thu gon phan mo dau de so do he sinh thai hien ngay o man dau (anh Khoa 24/10/2026) */
.t-hero.t-hero-hst { padding-top: 44px; }
.t-hero-hst .t-hero-chu { max-width: 1000px; }
.t-hero-hst .t-nhan { margin-bottom: 14px; }
.t-trang .t-hero-hst h1 { font-size: 44px !important; line-height: 1.12 !important; }
.t-hero-hst .t-dan { margin-top: 14px !important; max-width: 760px; font-size: 18px; }
.t-hero-hst .t-nut-cum { margin-top: 22px; }
.t-hero-hst .t-hero-tin { margin-top: 14px; }
.t-hero-hst .t-hst { margin-top: 32px; padding: 20px; gap: 36px 28px; }
.t-hero-hst .t-hst-nut { padding: 14px 16px 12px; }
.t-hero-hst .t-hst-tam { padding: 16px 18px 14px; }
.t-hero-hst .t-hst-tam img { height: 28px !important; margin-bottom: 6px; }
.t-hero-hst .t-hst-tam-mo { margin: 4px 0 8px !important; }
.t-hero-hst .t-hst-chu { margin-top: -20px; }
@media (max-width: 991px) { .t-trang .t-hero-hst h1 { font-size: 36px !important; } }
@media (max-width: 575px) { .t-hero.t-hero-hst { padding-top: 28px; } .t-trang .t-hero-hst h1 { font-size: 29px !important; } .t-hero-hst .t-dan { font-size: 16px; } }

/* Dai "Cung he sinh thai" cuoi so do */
.t-hst-mo-rong { grid-column: 1 / -1; grid-row: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.t-hst-mo-rong-ten { margin: 0 6px 0 0 !important; color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.t-hst-mo-rong a {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .7) !important; font-size: 13px; line-height: 1.35; text-decoration: none !important; text-align: left;
    transition: background .2s var(--t-ease);
}
.t-hst-mo-rong a:hover { background: rgba(255, 255, 255, .12); }
.t-hst-mo-rong img { width: 32px !important; height: 32px !important; border-radius: 9px; background: #fff; padding: 2px; flex: none; }
.t-hst-mo-rong b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.t-hero-hst .t-hst-chu { grid-row: 4; }
@media (max-width: 767px) {
    .t-hst-mo-rong { order: 9; flex-direction: column; align-items: stretch; }
    .t-hst-mo-rong-ten { text-align: center; margin: 0 0 2px !important; }
}

.t-trang .t-hst .t-hst-ve h3, .t-hst-ve .t-hst-mo { text-align: center; }

/* =====================================================================
   GĐ3: tieu de trang con, blog (danh muc + bai viet), trang CMS (gioi thieu, lien he)
   ===================================================================== */
.t-tieu-de { padding: 48px 0 36px; background: var(--t-bg-2); }
.t-vet { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--t-muted); }
.t-vet li { display: inline-flex; align-items: center; gap: 6px; margin: 0; list-style: none; }
.t-vet li + li::before { content: "›"; color: #aeaeb2; }
.t-vet a { color: var(--t-muted) !important; font-weight: 500 !important; }
.t-vet a:hover { color: var(--t-link) !important; }
.t-trang .t-tieu-de h1 { margin: 0 !important; color: var(--t-ink) !important; font-size: 40px !important; line-height: 1.15 !important; font-weight: 700 !important; letter-spacing: -0.022em !important; text-wrap: balance; max-width: 860px; }
.t-tieu-de .t-dan { max-width: 760px; }
.t-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 0; color: var(--t-muted); font-size: 14px; }
.t-meta span { display: inline-flex; align-items: center; gap: 6px; }
.t-meta svg { width: 15px; height: 15px; }
.t-nhan-muc { display: inline-block; padding: 4px 10px; border-radius: 980px; background: rgba(23, 97, 253, .1); color: var(--t-link) !important; font-size: 13px; font-weight: 600 !important; text-decoration: none !important; }
@media (max-width: 767px) { .t-tieu-de { padding: 28px 0 24px; } .t-trang .t-tieu-de h1 { font-size: 28px !important; } }

/* Danh muc: luoi bai viet */
.t-the-bai { padding: 0; overflow: hidden; text-decoration: none !important; transition: transform .2s var(--t-ease), box-shadow .2s var(--t-ease); }
.t-the-bai:hover { transform: translateY(-2px); box-shadow: var(--t-shadow); }
.t-the-bai .t-bao-anh { aspect-ratio: 16 / 9; }
.t-the-bai h3 { font-size: 18px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-the-bai p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-the-bai .t-meta { margin: 0 0 8px; font-size: 13px; }
.t-trang .pagination, .t-phan-trang .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 40px 0 0; padding: 0; }
.t-phan-trang .pagination > li { list-style: none; margin: 0; }
.t-phan-trang .pagination > li > a, .t-phan-trang .pagination > li > span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; margin: 0 !important; float: none;
    border: 0 !important; border-radius: 10px !important; background: var(--t-bg-2) !important; color: var(--t-ink) !important; font-weight: 600; font-size: 15px;
}
.t-phan-trang .pagination > .active > span, .t-phan-trang .pagination > .active > a { background: var(--t-blue) !important; color: #fff !important; }
.t-phan-trang .pagination > .disabled > span { opacity: .45; }
.t-trong { padding: 40px 24px; border-radius: var(--t-r-lg); background: var(--t-bg-2); text-align: center; color: var(--t-sub); }

/* Bai viet: cot doc + cot ben */
.t-bai-luoi { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 991px) { .t-bai-luoi { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.t-bai-tom { margin: 0 0 28px !important; color: var(--t-sub); font-size: 20px; line-height: 1.55; font-weight: 400; }
.t-noi-dung { color: #1d1d1f; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.t-noi-dung * { max-width: 100%; }
.t-noi-dung p, .t-noi-dung li { text-align: left !important; font-size: 17px !important; line-height: 1.75 !important; color: #1d1d1f !important; font-family: var(--t-font) !important; }
.t-noi-dung p { margin: 0 0 1.1em !important; }
.t-noi-dung h2, .t-noi-dung h3, .t-noi-dung h4 { color: var(--t-ink) !important; font-family: var(--t-font) !important; font-weight: 700 !important; letter-spacing: -0.015em; line-height: 1.3 !important; text-align: left !important; }
.t-noi-dung h2 { margin: 1.8em 0 .6em !important; font-size: 28px !important; }
.t-noi-dung h3 { margin: 1.6em 0 .5em !important; font-size: 22px !important; }
.t-noi-dung h4 { margin: 1.4em 0 .4em !important; font-size: 19px !important; }
.t-noi-dung a { color: var(--t-link) !important; font-weight: 500 !important; text-decoration: underline !important; text-underline-offset: 2px; }
.t-noi-dung img { display: block; height: auto !important; margin: 1.4em auto; border-radius: 14px; }
.t-noi-dung iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; margin: 1.4em 0; }
.t-noi-dung ul, .t-noi-dung ol { margin: 0 0 1.2em 0 !important; padding-left: 1.4em !important; }
.t-noi-dung ul li { list-style: disc !important; margin: .3em 0 !important; }
.t-noi-dung ol li { list-style: decimal !important; margin: .3em 0 !important; }
.t-noi-dung blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--t-blue); color: var(--t-sub); font-size: 19px; }
.t-noi-dung table { width: 100% !important; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.t-noi-dung td, .t-noi-dung th { padding: 10px 12px; border: 1px solid var(--t-line); }
.t-noi-dung figure { margin: 1.4em 0; }
.t-noi-dung figcaption { margin-top: 8px; padding: 0; background: none; color: var(--t-muted); font-size: 14px; text-align: center; }
@media (max-width: 767px) { .t-noi-dung, .t-noi-dung p, .t-noi-dung li { font-size: 17px !important; } .t-noi-dung h2 { font-size: 24px !important; } .t-noi-dung h3 { font-size: 20px !important; } .t-bai-tom { font-size: 18px; } }

.t-bai-chan { display: grid; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--t-line); }
.t-the-chu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-the-chu a { display: inline-block; padding: 6px 12px; border-radius: 980px; background: var(--t-bg-2); color: var(--t-sub) !important; font-size: 14px; font-weight: 500 !important; text-decoration: none !important; }
.t-the-chu a:hover { background: #e8e8ed; }
.t-bai-dieu-huong { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t-bai-dieu-huong a { display: block; padding: 16px 18px; border-radius: var(--t-r); background: var(--t-bg-2); color: var(--t-ink) !important; text-decoration: none !important; font-weight: 600 !important; line-height: 1.4; }
.t-bai-dieu-huong a small { display: block; margin-bottom: 4px; color: var(--t-muted); font-size: 13px; font-weight: 500; }
.t-bai-dieu-huong a:hover { background: #ebebf0; }
.t-bai-dieu-huong a.t-sau { text-align: right; }
@media (max-width: 575px) { .t-bai-dieu-huong { grid-template-columns: 1fr; } .t-bai-dieu-huong a.t-sau { text-align: left; } }

.t-cot-ben { position: sticky; top: calc(var(--t-dau-cao) + 24px); display: grid; gap: 20px; }
.t-hop { padding: 22px; border-radius: var(--t-r-lg); background: var(--t-bg-2); }
.t-hop h2 { margin: 0 0 14px !important; color: var(--t-ink) !important; font-size: 17px !important; font-weight: 600 !important; }
.t-ds-bai { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.t-ds-bai li { margin: 0; list-style: none; }
.t-ds-bai a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--t-ink) !important; text-decoration: none !important; font-size: 14px; font-weight: 500 !important; line-height: 1.4; }
.t-ds-bai a:hover span { color: var(--t-link); }
.t-ds-bai img { width: 72px !important; height: 52px !important; object-fit: cover; border-radius: 10px; background: #e8e8ed; }
.t-ds-bai span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-hop-cta { background: linear-gradient(135deg, #0c213a 0%, #132d4d 100%); color: #fff; }
.t-hop-cta h2 { color: #fff !important; }
.t-hop-cta p { margin: 0 0 16px !important; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.5; }
.t-hop-cta .t-nut { width: 100%; height: 44px; }
@media (max-width: 991px) { .t-cot-ben { position: static; } }

/* Trang CMS (gioi thieu, lien he, chinh sach) */
.t-trang-cms { max-width: 780px; margin: 0 auto; }
.t-anh-dau { margin: 0 0 32px; border-radius: 20px; overflow: hidden; }
.t-anh-dau img { display: block; width: 100%; }
.t-kenh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; }
.t-kenh li { margin: 0; list-style: none; }
.t-kenh a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; border-radius: var(--t-r-lg); background: var(--t-bg-2); color: var(--t-ink) !important; text-decoration: none !important; transition: background .2s; }
.t-kenh a:hover { background: #ebebf0; }
.t-kenh .t-icon { margin: 0; flex: none; }
.t-kenh img { width: 44px !important; height: 44px !important; border-radius: 12px; flex: none; }
.t-kenh b { display: block; font-size: 16px; font-weight: 600; }
.t-kenh small { display: block; color: var(--t-muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 767px) { .t-kenh { grid-template-columns: minmax(0, 1fr); } }

/* GĐ3 — vá sau lần chụp đầu */
.t-the-bai p.t-meta { display: flex; -webkit-line-clamp: unset; overflow: visible; }
.t-the-bai .t-bao-anh { aspect-ratio: 4 / 3; }
.t-the-bai .t-bao-anh img { object-position: center top; }
.t-the-bai.t-the-ngang .t-bao-anh { aspect-ratio: 16 / 9; }
.t-the-bai.t-the-ngang .t-bao-anh img { object-position: center; }
/* Noi dung CMS/bai cu mang co chu, phong chu noi tuyen (span 10pt, Times New Roman): ep ve kieu cua trang. */
.t-noi-dung p span, .t-noi-dung li span, .t-noi-dung p font, .t-noi-dung li font, .t-noi-dung p strong, .t-noi-dung p b, .t-noi-dung p em, .t-noi-dung li strong {
    font-size: inherit !important; line-height: inherit !important; font-family: inherit !important;
}
.t-noi-dung h1, .t-noi-dung h2 span, .t-noi-dung h3 span, .t-noi-dung h4 span { font-family: var(--t-font) !important; font-size: inherit !important; }
.t-noi-dung h1 { margin: 1.4em 0 .6em !important; color: var(--t-ink) !important; font-size: 28px !important; font-weight: 700 !important; line-height: 1.3 !important; }
.t-hop-cta .t-nut { height: 44px; }

/* TUHA Work: bieu tuong moi (nen chuyen mau san) — bo khung xam bao quanh */
img[src*="tuha-work.svg"] { padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 22% !important; }

/* =====================================================================
   BANG GIA (#trangBaoGia, tien to tg-) — lam lai lan 2, 24/10/2026
   ===================================================================== */
#trangBaoGia h1, #trangBaoGia h2, #trangBaoGia h3, #trangBaoGia p { font-family: var(--t-font) !important; }
#trangBaoGia ul, #trangBaoGia li { list-style: none; }
.tg-dau {
    position: relative; overflow: hidden; padding: 72px 0 40px; color: #fff;
    background:
        radial-gradient(900px 420px at 50% -6%, rgba(23, 97, 253, .55), transparent 70%),
        radial-gradient(600px 300px at 90% 30%, rgba(140, 82, 255, .22), transparent 70%),
        linear-gradient(180deg, #0c213a 0, #0e2746 calc(100% - 260px), var(--t-bg-2) calc(100% - 260px));
}
.tg-dau-chu { max-width: 760px; margin: 0 auto; text-align: center; }
.tg-mo-dau { margin: 0 0 12px !important; color: #7fb3ff !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .02em; }
#trangBaoGia .tg-dau h1 { margin: 0 !important; color: #fff !important; font-size: 52px !important; line-height: 1.08 !important; font-weight: 700 !important; letter-spacing: -0.03em; text-wrap: balance; }
.tg-dan { margin: 18px auto 0 !important; max-width: 640px; color: rgba(255, 255, 255, .78) !important; font-size: 19px !important; line-height: 1.5 !important; }
.tg-dan b { color: #fff; font-weight: 600; }
.tg-cam-ket { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 22px 0 0 !important; padding: 0 !important; }
.tg-cam-ket li { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: rgba(255, 255, 255, .86); font-size: 15px; }
.tg-cam-ket svg { width: 16px; height: 16px; color: #30d158; }
.tg-phan-doan { display: inline-flex; gap: 2px; margin-top: 32px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tg-phan-doan button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 120px; height: 44px; padding: 0 18px;
    border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .82); font: 600 15px/1 var(--t-font); cursor: pointer;
    transition: background .25s var(--t-ease), color .25s var(--t-ease), box-shadow .25s var(--t-ease);
}
.tg-phan-doan button span { padding: 3px 6px; border-radius: 6px; background: rgba(48, 209, 88, .18); color: #30d158; font-size: 12px; font-weight: 700; }
.tg-phan-doan button[aria-checked="true"] { background: #fff; color: var(--t-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.tg-phan-doan button[aria-checked="true"] span { background: rgba(36, 138, 61, .12); color: #248a3d; }
.tg-phan-doan button:focus-visible, .tg-han-chon button:focus-visible, .tg-buoc button:focus-visible { outline: 3px solid rgba(23, 97, 253, .5); outline-offset: 2px; }

.tg-goi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1080px; margin: 44px auto 0; align-items: stretch; }
.tg-the {
    position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 24px; background: #fff; color: var(--t-ink);
    box-shadow: 0 1px 2px rgba(12, 33, 58, .06), 0 24px 60px rgba(12, 33, 58, .22);
}
#trangBaoGia .tg-the h2 { margin: 0 !important; color: var(--t-ink) !important; font-size: 22px !important; line-height: 1.25 !important; font-weight: 700 !important; letter-spacing: -0.01em; }
.tg-mo-ta { min-height: 46px; margin: 6px 0 0 !important; color: var(--t-muted) !important; font-size: 15px !important; line-height: 1.5 !important; }
.tg-gia { margin: 22px 0 0; }
.tg-gia-goc { display: block; min-height: 22px; color: var(--t-muted); font-size: 15px; text-decoration-color: rgba(0, 0, 0, .35); }
.tg-gia-goc:empty::before { content: "\00a0"; }
#trangBaoGia .tg-so { margin: 0 !important; color: var(--t-ink) !important; font-size: 40px !important; line-height: 1.1 !important; font-weight: 700 !important; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg-han { margin: 4px 0 0 !important; color: var(--t-muted) !important; font-size: 14px !important; }
.tg-thang { min-height: 21px; margin: 10px 0 0 !important; color: var(--t-sub) !important; font-size: 14px !important; line-height: 1.5 !important; }
.tg-thang b { color: var(--t-ink); font-weight: 600; }
.tg-ds { display: grid; gap: 12px; margin: 22px 0 26px !important; padding: 20px 0 0 !important; border-top: 1px solid var(--t-line); }
.tg-ds li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--t-ink); font-size: 15px; }
.tg-ds li b { font-weight: 700; }
.tg-ds svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(23, 97, 253, .1); color: var(--t-blue); }
.tg-the .t-nut { margin-top: auto; width: 100%; height: 48px; font-size: 16px; }
.tg-nut-phu { background: rgba(23, 97, 253, .1); color: var(--t-link) !important; }
.tg-nut-phu:hover { background: rgba(23, 97, 253, .16); }
.tg-lien-he .tg-so { font-size: 34px !important; }

.tg-noi { background: linear-gradient(165deg, #1761fd 0%, #0d47c7 100%); color: #fff; transform: translateY(-14px); box-shadow: 0 30px 70px rgba(23, 97, 253, .45), 0 0 0 1px rgba(255, 255, 255, .14) inset; }
#trangBaoGia .tg-noi h2, #trangBaoGia .tg-noi .tg-so, .tg-noi .tg-ds li, .tg-noi .tg-thang b { color: #fff !important; }
.tg-noi .tg-mo-ta, .tg-noi .tg-han, .tg-noi .tg-thang, .tg-noi .tg-gia-goc { color: rgba(255, 255, 255, .76) !important; }
.tg-noi .tg-gia-goc { text-decoration-color: rgba(255, 255, 255, .5); }
.tg-noi .tg-ds { border-color: rgba(255, 255, 255, .2); }
.tg-noi .tg-ds svg { background: rgba(255, 255, 255, .2); color: #fff; }
.tg-noi .t-nut-chinh { background: #fff !important; color: var(--t-blue) !important; }
.tg-noi .t-nut-chinh:hover { background: #eef4ff !important; }
.tg-nhan { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 980px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }

.tg-ghi-chu { display: grid; justify-items: center; gap: 10px; margin-top: 36px; text-align: center; }
.tg-ghi-chu p { margin: 0 !important; color: var(--t-sub) !important; font-size: 15px !important; line-height: 1.6 !important; }
.tg-ghi-chu b { color: var(--t-ink); }
.tg-lien-ket { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--t-link) !important; font-size: 16px; font-weight: 600 !important; text-decoration: none !important; }
.tg-lien-ket:hover { text-decoration: underline !important; }
.tg-lien-ket svg { width: 14px; height: 14px; }

@media (max-width: 991px) {
    .tg-dau { padding-top: 56px; }
    #trangBaoGia .tg-dau h1 { font-size: 42px !important; }
    .tg-goi { gap: 12px; }
    .tg-the { padding: 26px 18px 20px; }
    #trangBaoGia .tg-so { font-size: 28px !important; }
    .tg-nhan { position: static; align-self: flex-start; margin-bottom: 12px; }
    .tg-noi { transform: none; }
}
@media (max-width: 767px) {
    .tg-dau { padding: 40px 0 32px; background:
        radial-gradient(500px 300px at 50% -4%, rgba(23, 97, 253, .55), transparent 70%),
        linear-gradient(180deg, #0c213a 0, #0e2746 calc(100% - 140px), var(--t-bg-2) calc(100% - 140px)); }
    #trangBaoGia .tg-dau h1 { font-size: 32px !important; }
    .tg-dan { font-size: 17px !important; }
    .tg-cam-ket { gap: 6px 14px; }
    .tg-cam-ket li { font-size: 14px; }
    .tg-phan-doan { display: flex; width: 100%; }
    .tg-phan-doan button { flex: 1; min-width: 0; padding: 0 6px; font-size: 14px; flex-direction: column; gap: 2px; height: 52px; }
    .tg-phan-doan button span { padding: 1px 5px; font-size: 11px; }
    .tg-goi { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
    .tg-noi { order: -1; }
    .tg-the { padding: 26px 22px 22px; }
    #trangBaoGia .tg-so { font-size: 36px !important; }
    .tg-mo-ta { min-height: 0; }
    .tg-nhan { position: absolute; top: 22px; right: 20px; margin: 0; }
}

/* --- May tinh gia --- */
.tg-dau-phan { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.tg-dau-phan .t-dan { margin-left: auto; margin-right: auto; }
.tg-tinh { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; max-width: 1080px; margin: 0 auto; align-items: start; }
.tg-chon { display: grid; gap: 30px; padding: 32px; border-radius: 24px; background: var(--t-bg-2); }
.tg-loi:empty { display: none; }
.tg-loi { margin: 0 !important; color: #d70015 !important; font-weight: 600; }
.tg-truong-dau { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.tg-truong-dau label, .tg-truong-dau > span { margin: 0; color: var(--t-ink); font-size: 17px; font-weight: 600; }
.tg-truong-dau small { color: var(--t-muted); font-size: 14px; }
.tg-buoc { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; height: 64px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.tg-buoc button { width: 52px; height: 52px; border: 0; border-radius: 12px; background: var(--t-bg-2); color: var(--t-blue); font: 500 26px/1 var(--t-font); cursor: pointer; transition: background .15s, transform .1s; -webkit-user-select: none; user-select: none; }
.tg-buoc button:hover { background: #e8e8ed; }
.tg-buoc button:active { transform: scale(.94); }
.tg-buoc input { width: 100%; height: 52px; border: 0; background: transparent; color: var(--t-ink); text-align: center; font: 700 28px/1 var(--t-font); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.tg-buoc input:focus { outline: none; }
.tg-buoc:focus-within { box-shadow: 0 0 0 3px rgba(23, 97, 253, .3); }
.tg-buoc input::-webkit-outer-spin-button, .tg-buoc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tg-keo { --tg-pt: 0%; display: block; width: 100%; height: 28px; margin: 14px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.tg-keo::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--t-blue) var(--tg-pt), #d2d2d7 var(--tg-pt)); }
.tg-keo::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--t-blue) var(--tg-pt), #d2d2d7 var(--tg-pt)); }
.tg-keo::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .06); }
.tg-keo::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .22); }
.tg-keo:focus-visible { outline: none; }
.tg-keo:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(23, 97, 253, .35); }
.tg-han-chon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tg-han-chon button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; padding: 0 4px;
    border: 1px solid transparent; border-radius: 14px; background: #fff; color: var(--t-ink); font: 600 16px/1 var(--t-font); cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .2s, background .2s;
}
.tg-han-chon button small { color: #248a3d; font-size: 13px; font-weight: 700; }
.tg-han-chon button[aria-checked="true"] { border-color: var(--t-blue); background: #f2f6ff; box-shadow: 0 0 0 1px var(--t-blue); }
.tg-chu-y { margin: 10px 0 0 !important; color: var(--t-muted) !important; font-size: 13px !important; }

.tg-hoa-don { position: sticky; top: calc(var(--t-dau-cao) + 24px); padding: 28px; border-radius: 24px; color: #fff; background: radial-gradient(400px 220px at 100% 0, rgba(23, 97, 253, .45), transparent 70%), #0c213a; box-shadow: 0 24px 60px rgba(12, 33, 58, .25); }
#trangBaoGia .tg-hoa-don h3 { margin: 0 0 16px !important; color: rgba(255, 255, 255, .7) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .06em; text-transform: uppercase; }
.tg-hoa-don dl { margin: 0; }
.tg-hoa-don dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; }
.tg-hoa-don dt { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 400; line-height: 1.4; }
.tg-hoa-don dd { margin: 0; color: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg-hoa-don .tg-tam { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 6px; padding-top: 14px; }
.tg-hoa-don .tg-tam dt { color: #fff; }
.tg-hoa-don .tg-giam dd { color: #30d158; }
.tg-tong { margin: 14px 0 22px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tg-tong span { display: block; color: rgba(255, 255, 255, .72); font-size: 15px; }
.tg-tong strong { display: block; margin-top: 4px; color: #fff; font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg-tong small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.tg-hoa-don .t-nut { width: 100%; }
.tg-nut-zalo { margin-top: 10px; background: rgba(255, 255, 255, .12); color: #fff !important; }
.tg-nut-zalo:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 991px) {
    .tg-tinh { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
    .tg-hoa-don { position: static; }
}
@media (max-width: 575px) {
    .tg-chon { padding: 20px 16px; gap: 26px; border-radius: 20px; }
    .tg-han-chon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-hoa-don { padding: 24px 20px; }
    .tg-tong strong { font-size: 38px; }
}

/* --- Tinh nang --- */
.tg-tn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto !important; padding: 0 !important; }
.tg-tn li { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 20px; border-radius: 18px; background: #fff; }
.tg-tn-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(23, 97, 253, .1); color: var(--t-blue); }
.tg-tn-icon svg { width: 22px; height: 22px; }
.tg-tn p { margin: 0 !important; color: var(--t-sub) !important; font-size: 15px !important; line-height: 1.5 !important; }
.tg-tn p b { color: var(--t-ink); }
.tg-xem-them { display: none; margin: 18px auto 0; background: #fff; color: var(--t-link) !important; height: 44px; }
@media (max-width: 991px) { .tg-tn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .tg-tn { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .tg-tn li { padding: 16px; }
    .tg-tn:not(.tg-mo) .tg-them { display: none; }
    .tg-xem-them { display: flex; width: fit-content; }
}

/* --- Ket noi san --- */
.tg-doi-tac-phan { padding: 80px 0; }
.tg-logo { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: 0 auto !important; padding: 0 !important; }
.tg-logo li { display: flex; align-items: center; justify-content: center; width: 150px; height: 76px; margin: 0; padding: 0 18px; border-radius: 16px; background: var(--t-bg-2); }
.tg-logo img { max-width: 100%; max-height: 34px; width: auto; height: auto !important; object-fit: contain; }
@media (max-width: 575px) { .tg-logo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .tg-logo li { width: auto; height: 60px; padding: 0 10px; } .tg-logo img { max-height: 26px; } }

/* --- Dich vu di kem --- */
.tg-dv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto; }
.tg-dv-the { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 22px; border-radius: 20px; background: var(--t-bg-2); color: var(--t-ink) !important; text-decoration: none !important; transition: background .2s, transform .2s var(--t-ease); }
.tg-dv-the:hover { background: #ebebf0; transform: translateY(-2px); }
.tg-dv-the img { grid-row: span 2; width: 48px !important; height: 48px !important; padding: 7px; border-radius: 12px; background: #fff; object-fit: contain; }
.tg-dv-chu b { display: block; font-size: 17px; font-weight: 700; }
.tg-dv-chu small { display: block; margin-top: 2px; color: var(--t-muted); font-size: 13px; font-weight: 600; }
.tg-dv-chu > span { display: block; margin-top: 8px; color: var(--t-sub); font-size: 15px; line-height: 1.5; }
.tg-dv-thu { grid-column: 2; display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--t-link); font-size: 15px; font-weight: 600; }
.tg-dv-thu svg { width: 14px; height: 14px; }
@media (max-width: 991px) { .tg-dv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .tg-dv { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .tg-phan-doan button, .tg-dv-the, .tg-buoc button { transition: none; } }
/* bang gia — va lan 1 */
.tg-dau { padding-bottom: 0; background:
    radial-gradient(900px 420px at 50% -6%, rgba(23, 97, 253, .55), transparent 70%),
    radial-gradient(600px 300px at 90% 30%, rgba(140, 82, 255, .22), transparent 70%),
    linear-gradient(180deg, #0c213a 0, #0e2746 calc(100% - 200px), var(--t-bg-2) calc(100% - 200px)); }
.tg-ghi-chu-phan { padding: 36px 0 64px; background: var(--t-bg-2); }
.tg-ghi-chu { margin-top: 0; }
.tg-lien-ket { display: inline; min-height: 0; line-height: 44px; }
.tg-lien-ket svg { vertical-align: -1px; }
.tg-nhan { top: -13px; right: auto; left: 50%; transform: translateX(-50%); padding: 6px 12px; background: #fff; color: var(--t-blue); box-shadow: 0 4px 14px rgba(12, 33, 58, .25); white-space: nowrap; }
.tg-gia-goc:empty { text-decoration: none; }
.tg-tk { min-height: 26px; margin: 8px 0 0 !important; }
.tg-tk:not(:empty) { display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 980px; background: rgba(36, 138, 61, .1); color: #248a3d !important; font-size: 13px !important; font-weight: 700; line-height: 20px !important; }
.tg-noi .tg-tk:not(:empty) { background: rgba(48, 209, 88, .2); color: #b8f5c8 !important; }
.tg-gia { display: flex; flex-direction: column; }
#trangBaoGia .tg-buoc input, #trangBaoGia .tg-keo { border: 0 !important; box-shadow: none !important; padding: 0 !important; background-color: transparent !important; border-radius: 0; }
#trangBaoGia .tg-keo { height: 28px !important; }
.tg-han-chon button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--t-blue) !important; border-color: transparent !important; background: #f2f6ff !important; }
@media (max-width: 991px) { .tg-nhan { position: absolute; margin: 0; } }
@media (max-width: 767px) {
    .tg-dau { padding-bottom: 32px; background: radial-gradient(500px 300px at 50% -4%, rgba(23, 97, 253, .55), transparent 70%), linear-gradient(180deg, #0c213a, #0e2746); }
    .tg-goi { gap: 24px; }
    .tg-ghi-chu-phan { padding: 28px 0 48px; }
    .tg-nhan { top: -13px; right: auto; }
}
/* bang gia — va lan 2 */
.tg-lien-ket { display: inline-block; line-height: 1.5; padding: 10px 0; text-align: center; }
@media (max-width: 991px) { .tg-noi { padding-top: 40px; } }
.tg-thanh {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
    border-radius: 18px; color: #fff; background: rgba(12, 33, 58, .92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 12px 32px rgba(12, 33, 58, .35); animation: tgLen .25s var(--t-ease);
}
.tg-thanh[hidden] { display: none; }
.tg-thanh span { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; }
.tg-thanh strong { display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tg-thanh .t-nut { height: 44px; padding: 0 18px; flex: none; }
html.tg-co-thanh .t-lien-he { opacity: 0; pointer-events: none; }
@keyframes tgLen { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 992px) { .tg-thanh { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .tg-thanh { animation: none; } }
