/*
Template Css: An toàn thông tin
 */

/* Landing "Hồ sơ cấp độ An toàn thông tin". Port từ mockup Tailwind (Gemini Canvas)
   template_assets/html/landing_page_an_toan_thong_tin_bkns.html sang CSS viết tay.
   Hai phần:
     1. .bk-at…  — element có dữ liệu ([bk_at_bang_gia], hộp thoại tư vấn).
     2. .at-…    — trang dựng bằng element gốc Flatsome (section > row > col > chữ gõ thẳng),
                   bố cục mẫu: template_assets/html/an-toan-thong-tin-ux-builder.txt.
   Bẫy của theme đã tính:
     - assets/css/main.css: `.page-template table thead tr:nth-child(1) th {…!important}` (0,2,4)
       -> rule bảng đi ≥3-4 class + !important.
     - assets/css/responsive.css: `.row {max-width:1230px !important}` -> row hẹp dùng class + !important.
     - Flatsome ≥850px `.col:first-child .col-inner {margin-right:0}` (0,3,0) -> căn giữa đi 4 class.
     - Flatsome tô sẵn button/input/label/h1-h6/th (uppercase, width:100%) -> reset trong scope. */

@font-face {
    src: url("../fonts/Inter/Inter-Regular.ttf");
    font-family: "InterBK";
    font-weight: 400;
    font-display: swap;
}

@font-face {
    src: url("../fonts/Inter/Inter-SemiBold.ttf");
    font-family: "InterBK";
    font-weight: 600;
    font-display: swap;
}

@font-face {
    src: url("../fonts/Inter/Inter-Bold.ttf");
    font-family: "InterBK";
    font-weight: 700 900;
    font-display: swap;
}

:root {
    --at-xanh: #0284c7;
    --at-xanh-dam: #0369a1;
    --at-xanh-sau: #075985;
    --at-xanh-toi: #0c4a6e;
    --at-xanh-sang: #0ea5e9;
    --at-xanh-nhat: #f0f9ff;
    --at-xanh-nhat-2: #e0f2fe;
    --at-xanh-vien: #bae6fd;
    --at-xanhla: #059669;
    --at-vang: #f59e0b;
    --at-vang-nhat: #fffbeb;
    --at-vang-vien: #fde68a;
    --at-vang-chu: #92400e;
    --at-cam: #ea580c;
    --at-do: #dc2626;
    --at-do-nhat: #fef2f2;
    --at-chu: #1e293b;
    --at-chu-dam: #0f172a;
    --at-chu-vua: #475569;
    --at-chu-mo: #64748b;
    --at-chu-nhat: #94a3b8;
    --at-vien: #e2e8f0;
    --at-vien-nhat: #f1f5f9;
    --at-nen: #f8fafc;

    --at-r-lon: 24px;
    --at-r-vua: 16px;
    --at-r-nho: 12px;
    --at-bong-1: 0 1px 2px rgba(15, 23, 42, .05);
    --at-bong-2: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .05);
    --at-bong-3: 0 20px 25px -5px rgba(15, 23, 42, .1), 0 8px 10px -6px rgba(15, 23, 42, .08);
    --at-bong-4: 0 25px 50px -12px rgba(15, 23, 42, .28);
    --at-bong-xanh: 0 10px 22px -8px rgba(2, 132, 199, .55);

    --at-font: "InterBK", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --at-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

    /* Icon vẽ bằng mask (màu theo currentColor / background-color) — khỏi phụ thuộc font icon. */
    --at-i-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z'/%3E%3C/svg%3E");
    --at-i-xuong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    --at-i-canh-bao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z'/%3E%3C/svg%3E");
    --at-i-khien: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z'/%3E%3C/svg%3E");
    --at-i-den: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z'/%3E%3C/svg%3E");
    --at-i-dong-ho: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z'/%3E%3C/svg%3E");
    --at-i-nguoi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16.707 7.293a1 1 0 00-1.414 0L13 9.586l-.793-.793a1 1 0 00-1.414 1.414l1.5 1.5a1 1 0 001.414 0l3-3a1 1 0 000-1.414z'/%3E%3C/svg%3E");
}

/* =====================================================================
   1. ELEMENT CÓ DỮ LIỆU (.bk-at)
   ===================================================================== */

.bk-at {
    font-family: var(--at-font);
    color: var(--at-chu);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.bk-at *,
.bk-at *::before,
.bk-at *::after {
    box-sizing: border-box;
}

.bk-at h2,
.bk-at h3 {
    font-family: inherit;
    color: var(--at-chu-dam);
    width: auto;
    margin: 0;
    letter-spacing: -.02em;
    line-height: 1.25;
    text-transform: none;
    text-wrap: balance;
}

.bk-at p {
    margin: 0;
}

.bk-at ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bk-at li {
    margin: 0;
}

.bk-at a {
    text-decoration: none;
}

/* Flatsome tô sẵn button (nền, viền, uppercase, margin-right) -> trả về trung tính */
.bk-at button {
    font-family: inherit;
    border: 0;
    background: none;
    color: inherit;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    border-radius: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    line-height: inherit;
    cursor: pointer;
    touch-action: manipulation;
}

.bk-at a:focus-visible,
.bk-at button:focus-visible,
.bk-at input:focus-visible {
    outline: 3px solid rgba(2, 132, 199, .5);
    outline-offset: 2px;
}

.bk-at__icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    vertical-align: -.2em;
}

/* ---------- Vỏ khối (kiểu "khoi") ---------- */

.bk-at__khoi {
    background: var(--at-nen);
    padding: 72px 0;
}

.bk-at__trong {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Đầu element: nhãn nhỏ + h2 + mô tả (giống col "at-dau") ---------- */

.bk-at__dau {
    max-width: 800px;
    margin: 0 auto 44px;
    text-align: center;
}

.bk-at__nhan {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--at-xanh-vien);
    border-radius: 999px;
    background: var(--at-xanh-nhat);
    color: var(--at-xanh-dam);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bk-at .bk-at__dau h2 {
    margin-top: 14px;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.2;
}

.bk-at .bk-at__dau p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--at-chu-vua);
    text-wrap: pretty;
}

/* ---------- Nút ---------- */

.bk-at .bk-at__nut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--at-r-nho);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .1s;
}

.bk-at .bk-at__nut:active {
    transform: scale(.97);
}

.bk-at .bk-at__nut--rong {
    width: 100%;
}

.bk-at .bk-at__nut--to {
    padding: 15px 24px;
    font-size: 15px;
}

.bk-at .bk-at__nut--nho {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    white-space: nowrap;
}

.bk-at .bk-at__nut--xanh {
    background: var(--at-xanh);
    color: #fff;
    box-shadow: var(--at-bong-xanh);
}

.bk-at .bk-at__nut--xanh:hover {
    background: var(--at-xanh-dam);
    color: #fff;
}

.bk-at .bk-at__nut--xam {
    background: var(--at-vien-nhat);
    color: var(--at-chu);
    border: 1px solid var(--at-vien);
}

.bk-at .bk-at__nut--xam:hover {
    background: var(--at-xanh);
    border-color: var(--at-xanh);
    color: #fff;
}

.bk-at .bk-at__nut[disabled] {
    opacity: .65;
    cursor: progress;
}

/* ---------- Thẻ gói cấp độ 2 ---------- */

.bk-at__the {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 32px;
    max-width: 920px;
    margin: 0 auto;
    padding: 44px 36px 36px;
    background: #fff;
    border: 2px solid var(--at-xanh-sang);
    border-radius: var(--at-r-lon);
    box-shadow: 0 24px 44px -22px rgba(2, 132, 199, .45), var(--at-bong-2);
}

.bk-at__the-nhan {
    position: absolute;
    top: 0;
    left: 32px;
    transform: translateY(-50%);
    max-width: calc(100% - 48px);
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--at-xanh);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.4;
    box-shadow: var(--at-bong-xanh);
}

.bk-at .bk-at__the-tieu {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--at-xanh-dam);
}

.bk-at .bk-at__bao-gom {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bk-at__bao-gom > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--at-chu-vua);
}

.bk-at__bao-gom > li > .bk-at__icon {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    color: var(--at-xanh);
}

.bk-at__bao-gom strong {
    color: var(--at-chu-dam);
    font-weight: 700;
}

/* Ý con: gạch dọc bên trái như mockup */
.bk-at .bk-at__bao-gom ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-left: 14px;
    border-left: 2px solid var(--at-xanh-vien);
}

.bk-at__bao-gom ul li {
    font-size: 13.5px;
    color: var(--at-chu-vua);
}

.bk-at__bao-gom ul li::before {
    content: "•";
    margin-right: 6px;
    color: var(--at-xanh);
}

.bk-at .bk-at__the-ghi-chu {
    margin-top: 20px;
    font-size: 12.5px;
    font-style: italic;
    line-height: 1.6;
    color: var(--at-chu-mo);
}

.bk-at__the-gia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 24px;
    background: linear-gradient(180deg, var(--at-xanh-nhat) 0%, #fff 100%);
    border: 1px solid var(--at-xanh-vien);
    border-radius: var(--at-r-vua);
    text-align: center;
}

.bk-at__the-gia-nhan {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--at-chu-mo);
}

.bk-at__the-gia strong {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--at-xanh);
    font-variant-numeric: tabular-nums;
    text-wrap: balance;
}

.bk-at__the-don-vi {
    font-size: 13px;
    color: var(--at-chu-mo);
}

.bk-at__the-gia .bk-at__nut {
    margin-top: 14px;
}

/* ---------- Bảng phân loại gói ----------
   Selector đi 3-4 class + !important để thắng `.page-template table thead tr:nth-child(1) th` (0,2,4). */

.bk-at__bang-vo {
    max-width: 920px;
    margin: 48px auto 0;
    background: #fff;
    border: 1px solid var(--at-vien);
    border-radius: var(--at-r-vua);
    box-shadow: var(--at-bong-1);
    overflow: hidden;
}

.bk-at__bang-dau {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 16px 24px;
    background: var(--at-xanh-nhat);
    border-bottom: 1px solid var(--at-vien);
}

.bk-at .bk-at__bang-dau h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.bk-at__bang-dau span {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--at-xanh-dam);
}

.bk-at__cuon {
    overflow-x: auto;
}

.bk-at .bk-at__cuon .bk-at__bang {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: collapse;
    font-size: 14.5px;
}

.bk-at .bk-at__cuon .bk-at__bang tbody {
    border: 0 !important;
}

/* Theme tô sọc hàng chẵn -> nền đặt ở ô, hàng luôn trong suốt */
.bk-at .bk-at__cuon .bk-at__bang tr {
    background: transparent !important;
}

.bk-at .bk-at__cuon .bk-at__bang th,
.bk-at .bk-at__cuon .bk-at__bang td {
    padding: 16px 24px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--at-vien-nhat) !important;
    background: transparent;
    color: var(--at-chu);
    font-size: 14.5px !important;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left !important;
    text-transform: none !important;
    vertical-align: middle;
}

.bk-at .bk-at__cuon .bk-at__bang thead th {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    background: var(--at-nen) !important;
    color: var(--at-chu-mo) !important;
    font-size: 13px !important;
    font-weight: 600;
}

.bk-at .bk-at__cuon .bk-at__bang .bk-at__c-gia {
    text-align: right !important;
    white-space: nowrap;
}

.bk-at .bk-at__cuon .bk-at__bang .bk-at__c-nut {
    width: 1%;
    text-align: center !important;
}

.bk-at .bk-at__cuon .bk-at__bang tbody td.bk-at__c-gia {
    font-weight: 700;
    color: var(--at-chu-dam);
    font-variant-numeric: tabular-nums;
}

.bk-at .bk-at__cuon .bk-at__bang tbody td.la-lien-he {
    color: var(--at-chu-vua);
}

.bk-at .bk-at__cuon .bk-at__bang tbody tr:last-child > * {
    border-bottom: 0 !important;
}

.bk-at .bk-at__cuon .bk-at__bang tbody tr.la-noi-bat > * {
    background: var(--at-xanh-nhat);
}

.bk-at .bk-at__cuon .bk-at__bang tbody tr.la-noi-bat th {
    font-weight: 700;
    color: var(--at-chu-dam);
}

.bk-at .bk-at__cuon .bk-at__bang tbody tr.la-noi-bat td.bk-at__c-gia {
    color: var(--at-xanh);
}

.bk-at .bk-at__bang-ghi-chu {
    padding: 12px 24px;
    background: var(--at-nen);
    border-top: 1px solid var(--at-vien);
    font-size: 12px;
    line-height: 1.6;
    color: var(--at-chu-mo);
}

/* ---------- Form trong hộp thoại ---------- */

.bk-at__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 24px;
}

.bk-at__hai-cot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bk-at__truong {
    min-width: 0;
}

.bk-at__truong[hidden] {
    display: none;
}

.bk-at .bk-at__truong label {
    display: block;
    margin: 0 0 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
    text-transform: none;
}

.bk-at__bat-buoc {
    color: var(--at-do);
}

.bk-at .bk-at__o-nhap {
    display: block;
    width: 100%;
    max-width: none;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--at-chu);
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--at-r-nho);
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}

.bk-at .bk-at__o-nhap::placeholder {
    color: var(--at-chu-nhat);
    opacity: 1;
}

.bk-at .bk-at__o-nhap:focus {
    outline: none;
    border-color: var(--at-xanh);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, .2);
    background-color: #fff;
    color: var(--at-chu);
}

.bk-at .bk-at__o-nhap:focus-visible {
    outline: none;
}

.bk-at .bk-at__o-nhap--khoa {
    background: var(--at-vien-nhat);
    font-weight: 700;
    color: var(--at-xanh-dam);
    cursor: default;
}

/* Ô bẫy bot: người thật không thấy, không tab tới được */
.bk-at__bay {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bk-at__trang-thai {
    font-size: 13px;
    font-weight: 600;
    color: var(--at-do);
    background: var(--at-do-nhat);
    border: 1px solid #fecaca;
    border-radius: var(--at-r-nho);
    padding: 9px 12px;
}

.bk-at .bk-at__cam-ket {
    font-size: 12.5px;
    color: var(--at-chu-mo);
    text-align: center;
}

.bk-at .bk-at__cam-ket a {
    font-weight: 700;
    color: var(--at-xanh-dam);
}

/* ---------- Hộp thoại ---------- */

/* Gốc chung in ở wp_footer, chỉ chứa 2 dialog (ẩn tới khi mở) — không chiếm chỗ. */
.bk-at--chung {
    background: none;
}

/* Element "ATTT: Cài đặt chung" chỉ hiện trong UX Builder. */
.bk-at__cai-dat-uxb {
    padding: 14px 18px;
    background: #fffbeb;
    border: 1px dashed #f59e0b;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.bk-at__hop-thoai {
    width: calc(100% - 32px);
    max-width: 520px;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: var(--at-r-lon);
    background: #fff;
    color: var(--at-chu);
    box-shadow: var(--at-bong-4);
    overflow: auto;
    overscroll-behavior: contain;
}

.bk-at__hop-thoai::backdrop {
    background: rgba(15, 23, 42, .6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.bk-at__hop-thoai[open] {
    animation: bk-at-hien .2s ease-out;
}

@keyframes bk-at-hien {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.bk-at__ht-dau {
    position: relative;
    padding: 24px 58px 22px 24px;
    background: linear-gradient(120deg, var(--at-xanh-sau) 0%, var(--at-xanh) 100%);
    color: #fff;
}

.bk-at__ht-dau > span {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.bk-at .bk-at__ht-dau h2 {
    margin-top: 4px;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}

.bk-at .bk-at__ht-dau p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.6;
    color: #e0f2fe;
}

.bk-at .bk-at__ht-dong {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .85);
    transition: background-color .2s, color .2s;
}

.bk-at .bk-at__ht-dong:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.bk-at .bk-at__ht-dong .bk-at__icon {
    width: 22px;
    height: 22px;
}

.bk-at__hop-thoai--ok {
    max-width: 420px;
}

.bk-at__ok {
    padding: 34px 30px 30px;
    text-align: center;
}

.bk-at__ok-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--at-xanhla);
}

.bk-at__ok-icon .bk-at__icon {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.bk-at .bk-at__ok h2 {
    font-size: 22px;
    font-weight: 800;
}

.bk-at .bk-at__ok p {
    margin: 10px 0 24px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--at-chu-vua);
}

/* ---------- Element: responsive ---------- */

@media (max-width: 849px) {
    .bk-at__khoi {
        padding: 52px 0;
    }

    .bk-at__dau {
        margin-bottom: 36px;
    }

    .bk-at__the {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 40px 20px 20px;
    }

    .bk-at__the-nhan {
        left: 20px;
    }

    /* Bảng phân loại -> thẻ: tên gói trên, giá + nút dưới */
    .bk-at .bk-at__cuon .bk-at__bang thead {
        display: none;
    }

    .bk-at .bk-at__cuon .bk-at__bang,
    .bk-at .bk-at__cuon .bk-at__bang tbody {
        display: block;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 12px;
        padding: 14px 18px;
        border-bottom: 1px solid var(--at-vien-nhat);
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody tr:last-child {
        border-bottom: 0;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody tr.la-noi-bat {
        background: var(--at-xanh-nhat) !important;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody tr > * {
        display: block;
        width: auto;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody th {
        grid-column: 1 / -1;
    }

    .bk-at .bk-at__cuon .bk-at__bang .bk-at__c-nut {
        width: auto !important;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody td.bk-at__c-gia {
        text-align: left !important;
    }

    .bk-at__bang-dau,
    .bk-at .bk-at__bang-ghi-chu {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 640px) {
    .bk-at__hai-cot {
        grid-template-columns: minmax(0, 1fr);
    }

    .bk-at__ht-dau {
        padding: 20px 52px 18px 18px;
    }

    .bk-at__form {
        padding: 18px;
    }
}

/* =====================================================================
   2. TRANG DỰNG BẰNG ELEMENT GỐC FLATSOME: [section class="at-…"] > [row] > [col] > chữ
   (bố cục mẫu: template_assets/html/an-toan-thong-tin-ux-builder.txt). Chữ gõ thẳng trong text
   của UX Builder; CSS bám class của section/col/row + thẻ HTML (p, h1-h3, ul, table).
   Chữ nằm thẳng dưới .col-inner (text không có tùy chọn thì Flatsome in chữ trần).
   ===================================================================== */

.at-thanh,
.at-hero,
.at-khoi,
.at-cta {
    font-family: var(--at-font);
    color: var(--at-chu);
    -webkit-font-smoothing: antialiased;
}

/* Col Flatsome có padding-bottom 30px -> khoảng cách do padding của section lo. */
.at-thanh .col,
.at-hero .col,
.at-khoi .col,
.at-cta .col {
    padding-bottom: 0;
}

.at-thanh .col-inner > *,
.at-hero .col-inner > *,
.at-khoi .col-inner > *,
.at-cta .col-inner > * {
    margin-top: 0;
    margin-bottom: 0;
}

.at-hero ul,
.at-khoi ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.at-hero ul li,
.at-khoi ul li {
    margin: 0;
}

.at-hero h1, .at-hero h2, .at-hero h3,
.at-khoi h2, .at-khoi h3,
.at-cta h2 {
    font-family: inherit;
    text-transform: none;
    text-wrap: balance;
}

.at-hero strong,
.at-khoi strong {
    font-weight: 700;
}

/* ---------- Đầu khối: nhãn nhỏ + h2 + mô tả (col class "at-dau") ---------- */

.at-khoi .col.at-dau .col-inner {
    max-width: 800px;
    margin: 0 auto 44px;
    text-align: center;
}

/* Dòng đầu là chữ thường (không phải h2) -> nhãn viên thuốc */
.at-khoi .at-dau .col-inner > p:first-child {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--at-xanh-vien);
    border-radius: 999px;
    background: var(--at-xanh-nhat);
    color: var(--at-xanh-dam);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.at-khoi .at-dau .col-inner > h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--at-chu-dam);
}

.at-khoi .at-dau .col-inner > p:first-child + h2 {
    margin-top: 14px;
}

.at-khoi .at-dau .col-inner > h2 + p {
    margin-top: 10px;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--at-chu-vua);
    text-wrap: pretty;
}

.at-khoi .at-dau .col-inner > h2 + p strong {
    color: var(--at-chu-dam);
}

/* Row hẹp. responsive.css ép `.row {max-width:1230px !important}` -> giới hạn bằng class + !important. */
.at-khoi .row.at-hep {
    max-width: 980px !important;
}

/* ---------- 0. Thanh cảnh báo (section "at-thanh") ---------- */

.section.at-thanh {
    background: linear-gradient(90deg, var(--at-xanh-toi) 0%, var(--at-xanh-sau) 60%, var(--at-xanh-dam) 100%);
    color: #fff;
}

.at-thanh .col-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.at-thanh .col-inner > p {
    color: #e0f2fe;
}

/* Dòng 1 = nhãn vàng có dấu cảnh báo */
.at-thanh .col-inner > p:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border: 1px solid rgba(253, 230, 138, .45);
    border-radius: 999px;
    background: rgba(245, 158, 11, .16);
    color: #fde68a;
    font-size: 12px;
    font-weight: 700;
}

.at-thanh .col-inner > p:first-child::before {
    content: "";
    width: 13px;
    height: 13px;
    background-color: currentColor;
    -webkit-mask: var(--at-i-canh-bao) center / contain no-repeat;
    mask: var(--at-i-canh-bao) center / contain no-repeat;
}

.at-thanh .col-inner a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.at-thanh .col-inner a:hover {
    color: #bae6fd;
}

/* ---------- 1. Hero (section "at-hero": col "at-hero-chu" + col "at-hero-the") ---------- */

.section.at-hero {
    background:
        radial-gradient(rgba(2, 132, 199, .12) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
        radial-gradient(circle at 50% 0%, rgba(224, 242, 254, .85) 0%, rgba(240, 249, 255, .5) 50%, transparent 80%),
        linear-gradient(180deg, var(--at-xanh-nhat) 0%, #fff 70%);
    border-bottom: 1px solid var(--at-vien);
}

/* Nhãn "Quy định bắt buộc…" */
.at-hero-chu .col-inner > p:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--at-xanh-vien);
    border-radius: 999px;
    background: var(--at-xanh-nhat);
    color: var(--at-xanh-sau);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}

.at-hero-chu .col-inner > p:first-child::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--at-xanh-sang);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .2);
    animation: at-nhay 1.8s ease-in-out infinite;
}

@keyframes at-nhay {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.at-hero-chu .col-inner > h1 {
    margin-top: 22px;
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--at-chu-dam);
}

/* Phần in đậm cuối tiêu đề = dòng riêng, tô gradient xanh */
.at-hero-chu .col-inner > h1 strong {
    display: block;
    background: linear-gradient(90deg, var(--at-xanh) 0%, var(--at-xanh-sang) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.at-hero-chu .col-inner > h1 + p {
    margin-top: 20px;
    max-width: 660px;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--at-chu-vua);
    text-wrap: pretty;
}

.at-hero-chu .col-inner > h1 + p strong {
    color: var(--at-chu-dam);
}

/* Hộp 2 dòng có dấu tích */
.at-hero-chu .col-inner > ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    max-width: 660px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--at-xanh-vien);
    border-radius: var(--at-r-vua);
    box-shadow: var(--at-bong-1);
}

.at-hero-chu .col-inner > ul li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--at-chu-vua);
}

.at-hero-chu .col-inner > ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 19px;
    height: 19px;
    background-color: var(--at-xanh);
    -webkit-mask: var(--at-i-tick) center / contain no-repeat;
    mask: var(--at-i-tick) center / contain no-repeat;
}

.at-hero-chu .col-inner > ul li:nth-child(even)::before {
    background-color: var(--at-xanhla);
}

.at-hero-chu .col-inner > ul li strong {
    color: var(--at-chu-dam);
}

/* Dòng nút: liên kết đầu = nút xanh, liên kết sau = nút viền */
.at-hero-chu .col-inner > p:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.at-hero-chu .col-inner > p:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: var(--at-r-nho);
    border: 1px solid var(--at-xanh-vien);
    background: #fff;
    color: var(--at-xanh-sau);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: var(--at-bong-1);
    transition: background-color .18s, border-color .18s, color .18s, transform .1s;
}

.at-hero-chu .col-inner > p:last-child a:first-child {
    border-color: var(--at-xanh);
    background: linear-gradient(135deg, var(--at-xanh) 0%, var(--at-xanh-dam) 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
    box-shadow: var(--at-bong-xanh);
}

.at-hero-chu .col-inner > p:last-child a:hover {
    border-color: var(--at-xanh);
    background: var(--at-xanh-nhat);
}

.at-hero-chu .col-inner > p:last-child a:first-child:hover {
    background: var(--at-xanh-dam);
    color: #fff;
}

.at-hero-chu .col-inner > p:last-child a:active {
    transform: scale(.98);
}

/* Thẻ "bkns-audit-system": cửa sổ terminal — điểm nhấn của trang.
   Thứ tự chữ trong col: p tên máy, p nhãn chuẩn, ul 4 dòng "nhãn: <strong>giá trị</strong>",
   p nhãn giá, p "<strong>giá</strong> <a>nút</a>". */
.at-hero .col.at-hero-the .col-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 12px;
    padding: 26px 24px 24px;
    background: #fff;
    border: 1px solid var(--at-vien);
    border-radius: var(--at-r-lon);
    box-shadow: 0 30px 60px -28px rgba(12, 74, 110, .35), var(--at-bong-2);
}

.at-hero-the .col-inner > p:nth-of-type(1) {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--at-mono);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--at-xanh-sau);
}

/* 3 chấm cửa sổ */
.at-hero-the .col-inner > p:nth-of-type(1)::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-right: 36px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 18px 0 0 #f59e0b, 36px 0 0 #10b981;
}

.at-hero-the .col-inner > p:nth-of-type(2) {
    padding: 3px 10px;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.at-hero-the .col-inner > ul {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--at-vien-nhat);
}

.at-hero-the .col-inner > ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 11px 14px;
    background: var(--at-nen);
    border: 1px solid var(--at-vien);
    border-radius: 10px;
    font-family: var(--at-mono);
    font-size: 12px;
    line-height: 1.5;
    color: var(--at-chu-mo);
}

.at-hero-the .col-inner > ul li strong {
    margin-left: auto;
    color: var(--at-chu-dam);
    text-align: right;
}

.at-hero-the .col-inner > ul li:nth-child(3) {
    background: var(--at-xanh-nhat);
    border-color: var(--at-xanh-vien);
}

.at-hero-the .col-inner > ul li:nth-child(3) strong {
    color: var(--at-xanh);
    text-transform: uppercase;
}

.at-hero-the .col-inner > ul li:nth-child(4) {
    background: var(--at-vang-nhat);
    border-color: var(--at-vang-vien);
    color: var(--at-vang-chu);
}

.at-hero-the .col-inner > ul li:nth-child(4) strong {
    color: var(--at-do);
}

.at-hero-the .col-inner > p:nth-of-type(3) {
    grid-column: 1 / -1;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--at-vien-nhat);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--at-chu-mo);
}

.at-hero-the .col-inner > p:nth-of-type(4) {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: 4px;
}

.at-hero-the .col-inner > p:nth-of-type(4) strong {
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--at-xanh);
    font-variant-numeric: tabular-nums;
}

.at-hero-the .col-inner > p:nth-of-type(4) a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--at-xanh);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: var(--at-bong-xanh);
    transition: background-color .18s;
}

.at-hero-the .col-inner > p:nth-of-type(4) a:hover {
    background: var(--at-xanh-dam);
    color: #fff;
}

/* ---------- 2. Bảng 5 cấp độ (col "at-bang-cap": <table> gõ tay) + hộp lưu ý (col "at-luu-y") ----------
   Đi 4 class (0,4,x) + !important để thắng `.page-template table thead tr:nth-child(1) th` (0,2,4).
   Dòng có <strong> trong ô đầu (vd "Cấp độ 2 <strong>Doanh nghiệp</strong>") = dòng nổi bật. */

.at-cap-do .col.at-bang-cap .col-inner {
    background: #fff;
    border: 1px solid var(--at-vien);
    border-radius: var(--at-r-vua);
    box-shadow: var(--at-bong-1);
    overflow: hidden;
}

.at-cap-do .col.at-bang-cap .col-inner table {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: collapse;
}

.at-cap-do .col.at-bang-cap .col-inner tbody {
    border: 0 !important;
}

.at-cap-do .col.at-bang-cap .col-inner tr {
    background: transparent !important;
}

.at-cap-do .col.at-bang-cap .col-inner th,
.at-cap-do .col.at-bang-cap .col-inner td {
    padding: 16px 22px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--at-vien-nhat) !important;
    background: transparent;
    color: var(--at-chu-vua);
    font-size: 14.5px !important;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: left !important;
    text-transform: none !important;
    vertical-align: middle;
}

.at-cap-do .col.at-bang-cap .col-inner thead th {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    background: var(--at-xanh-nhat) !important;
    color: var(--at-chu-dam) !important;
    font-size: 12.5px !important;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase !important;
}

.at-cap-do .col.at-bang-cap .col-inner tbody tr:last-child > * {
    border-bottom: 0 !important;
}

/* Cột 1: chấm màu theo cấp + tên cấp đậm */
.at-cap-do .col.at-bang-cap .col-inner tbody td:first-child {
    width: 24%;
    font-weight: 700;
    color: var(--at-chu-dam);
    white-space: nowrap;
}

.at-cap-do .col.at-bang-cap .col-inner tbody td:first-child::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 10px;
    border-radius: 50%;
    vertical-align: .08em;
    background: var(--at-cap, var(--at-chu-nhat));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--at-cap, var(--at-chu-nhat)) 18%, transparent);
}

.at-cap-do .col.at-bang-cap .col-inner tbody td:nth-child(2) {
    width: 26%;
    font-weight: 600;
    color: var(--at-cap, var(--at-chu-mo));
}

.at-cap-do .col.at-bang-cap .col-inner tbody tr:nth-child(1) { --at-cap: #94a3b8; }
.at-cap-do .col.at-bang-cap .col-inner tbody tr:nth-child(2) { --at-cap: var(--at-xanh); }
.at-cap-do .col.at-bang-cap .col-inner tbody tr:nth-child(3) { --at-cap: #d97706; }
.at-cap-do .col.at-bang-cap .col-inner tbody tr:nth-child(4) { --at-cap: var(--at-cam); }
.at-cap-do .col.at-bang-cap .col-inner tbody tr:nth-child(5) { --at-cap: var(--at-do); }

/* Cấp độ 1 là "cơ bản" -> chữ mức độ xám, không tô */
.at-cap-do .col.at-bang-cap .col-inner tbody tr:nth-child(1) td:nth-child(2) {
    color: var(--at-chu-mo);
}

/* Dòng nổi bật */
.at-cap-do .col.at-bang-cap .col-inner tbody tr:has(td:first-child strong) > * {
    background: var(--at-xanh-nhat);
    color: var(--at-chu-dam);
}

.at-cap-do .col.at-bang-cap .col-inner tbody tr:has(td:first-child strong) td:first-child {
    box-shadow: inset 4px 0 0 var(--at-xanh);
}

.at-cap-do .col.at-bang-cap .col-inner tbody tr:has(td:first-child strong) td:nth-child(2) {
    color: var(--at-xanh-dam);
}

.at-cap-do .col.at-bang-cap .col-inner tbody td:first-child strong {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--at-xanh);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.6;
    text-transform: uppercase;
    vertical-align: .1em;
}

/* Hộp lưu ý */
.at-khoi .col.at-luu-y .col-inner {
    position: relative;
    margin-top: 24px;
    padding: 20px 24px 20px 76px;
    background: var(--at-xanh-nhat);
    border: 1px solid var(--at-xanh-vien);
    border-radius: var(--at-r-vua);
    font-size: 14px;
    line-height: 1.65;
    color: var(--at-chu-vua);
}

.at-khoi .col.at-luu-y .col-inner::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 20px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--at-xanh-nhat-2);
    box-shadow: inset 0 0 0 1px var(--at-xanh-vien);
}

.at-khoi .col.at-luu-y .col-inner::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 29px;
    width: 20px;
    height: 20px;
    background-color: var(--at-xanh);
    -webkit-mask: var(--at-i-den) center / contain no-repeat;
    mask: var(--at-i-den) center / contain no-repeat;
}

.at-luu-y .col-inner > p strong {
    color: var(--at-chu-dam);
}

.at-luu-y .col-inner > p + p {
    margin-top: 4px;
}

/* ---------- Thẻ 4 cột (row "at-the-4": dấu hiệu cấp 2, vì sao chọn BKNS) ----------
   Mỗi col: p emoji (JS gắn .at-bt) + h3 + p. */

.at-khoi .row.at-the-4 > .col {
    padding-bottom: 24px;
}

.at-the-4 .col-inner {
    height: 100%;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--at-vien);
    border-radius: var(--at-r-vua);
    box-shadow: var(--at-bong-1);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.at-the-4 .col-inner:hover {
    border-color: var(--at-xanh-vien);
    box-shadow: var(--at-bong-3);
    transform: translateY(-3px);
}

.at-the-4 .col-inner > p.at-bt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--at-xanh-nhat-2);
    font-size: 23px;
    line-height: 1;
}

.at-the-4 .col-inner > h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--at-chu-dam);
}

.at-the-4 .col-inner > h3 + p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--at-chu-mo);
    text-wrap: pretty;
}

.at-the-4 .col-inner > h3 + p strong {
    color: var(--at-chu-dam);
}

/* Màu ô icon đổi theo cột cho đỡ đơn điệu (giữ tông xanh-lá-vàng-xanh như mockup) */
.at-vi-sao .at-the-4 > .col:nth-child(2) .at-bt { background: #d1fae5; }
.at-vi-sao .at-the-4 > .col:nth-child(3) .at-bt { background: #fef3c7; }

/* ---------- Hai thẻ "cơ chế phê duyệt" (xanh) + "lưu ý bắt buộc" (vàng) ---------- */

.at-khoi .row.at-hai-the > .col {
    padding-bottom: 24px;
}

.at-khoi .row.at-hai-the {
    margin-top: 8px;
}

.at-khoi .col.at-the-xanh .col-inner,
.at-khoi .col.at-the-vang .col-inner {
    position: relative;
    height: 100%;
    padding: 24px 24px 24px 82px;
    background: #fff;
    border: 1px solid var(--at-vien);
    border-left: 4px solid var(--at-xanh);
    border-radius: var(--at-r-vua);
    box-shadow: var(--at-bong-1);
}

.at-khoi .col.at-the-vang .col-inner {
    background: var(--at-vang-nhat);
    border-color: var(--at-vang-vien);
    border-left-color: var(--at-vang);
}

.at-the-xanh .col-inner::before,
.at-the-vang .col-inner::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--at-xanh-nhat-2);
}

.at-the-vang .col-inner::before {
    background: #fef3c7;
}

.at-the-xanh .col-inner::after,
.at-the-vang .col-inner::after {
    content: "";
    position: absolute;
    left: 34px;
    top: 34px;
    width: 20px;
    height: 20px;
    background-color: var(--at-xanh);
    -webkit-mask: var(--at-i-khien) center / contain no-repeat;
    mask: var(--at-i-khien) center / contain no-repeat;
}

.at-the-vang .col-inner::after {
    background-color: #d97706;
    -webkit-mask-image: var(--at-i-canh-bao);
    mask-image: var(--at-i-canh-bao);
}

.at-the-xanh .col-inner > h3,
.at-the-vang .col-inner > h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--at-chu-dam);
}

.at-the-vang .col-inner > h3 {
    color: var(--at-vang-chu);
}

.at-the-xanh .col-inner > h3 + p,
.at-the-vang .col-inner > h3 + p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--at-chu-vua);
}

.at-the-vang .col-inner > h3 + p {
    color: #78350f;
}

.at-the-xanh .col-inner strong {
    color: var(--at-chu-dam);
}

.at-the-vang .col-inner strong {
    color: #b45309;
}

/* ---------- 3. Quy trình 6 bước (row "at-cac-buoc") ----------
   Số 01-06 + nhãn "Bước n" do CSS đếm — người sửa chỉ gõ h3 + p, thêm/bớt bước tự đánh lại số. */

.at-khoi .row.at-cac-buoc {
    counter-reset: at-buoc;
}

.at-khoi .row.at-cac-buoc > .col {
    counter-increment: at-buoc;
    padding-bottom: 24px;
}

.at-cac-buoc .col-inner {
    position: relative;
    height: 100%;
    padding: 76px 24px 24px;
    background: #fff;
    border: 1px solid var(--at-vien);
    border-radius: var(--at-r-vua);
    box-shadow: var(--at-bong-1);
    transition: border-color .2s, box-shadow .2s;
}

.at-cac-buoc .col-inner:hover {
    border-color: var(--at-xanh-vien);
    box-shadow: var(--at-bong-3);
}

.at-cac-buoc .col-inner::before {
    content: counter(at-buoc, decimal-leading-zero);
    position: absolute;
    left: 24px;
    top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--at-xanh);
    color: #fff;
    font-family: var(--at-mono);
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--at-bong-xanh);
}

.at-cac-buoc .col-inner::after {
    content: "Bước " counter(at-buoc);
    position: absolute;
    right: 24px;
    top: 31px;
    padding: 2px 10px;
    border: 1px solid var(--at-xanh-vien);
    border-radius: 999px;
    background: var(--at-xanh-nhat);
    color: var(--at-xanh-dam);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.at-cac-buoc .col-inner > h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--at-chu-dam);
}

.at-cac-buoc .col-inner > h3 + p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--at-chu-mo);
    text-wrap: pretty;
}

/* Bước cuối = đích đến: khung xanh */
.at-cac-buoc > .col:last-child .col-inner {
    border: 2px solid var(--at-xanh-sang);
    background: linear-gradient(160deg, #fff 40%, var(--at-xanh-nhat) 100%);
}

.at-cac-buoc > .col:last-child .col-inner::before {
    background: var(--at-xanh-sau);
}

/* Dải xanh "Doanh nghiệp chỉ cần" (row "at-dai": col "at-dai-chu" + col "at-dai-nut").
   Row có nền: Flatsome đặt `.row {width:100%}` -> phải tự trừ lề, không thì tràn mép phải. */
.at-khoi .row.at-dai {
    width: calc(100% - 30px);
    max-width: 1200px !important;
    margin: 16px auto 0;
    padding: 24px 12px;
    background: linear-gradient(120deg, var(--at-xanh-sau) 0%, var(--at-xanh) 100%);
    border-radius: var(--at-r-lon);
    box-shadow: 0 24px 40px -22px rgba(7, 89, 133, .6);
}

.at-dai-chu .col-inner {
    position: relative;
    padding-left: 64px;
}

.at-dai-chu .col-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
}

.at-dai-chu .col-inner::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    background-color: #fff;
    -webkit-mask: var(--at-i-nguoi) center / contain no-repeat;
    mask: var(--at-i-nguoi) center / contain no-repeat;
}

.at-dai-chu .col-inner > p:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #bae6fd;
}

.at-dai-chu .col-inner > p + p {
    margin-top: 2px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
}

.at-khoi .col.at-dai-nut .col-inner {
    text-align: right;
}

.at-dai-nut .col-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--at-r-nho);
    background: #fff;
    color: var(--at-xanh-sau);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px -8px rgba(15, 23, 42, .4);
    transition: background-color .18s, transform .1s;
}

.at-dai-nut .col-inner a:hover {
    background: var(--at-xanh-nhat);
    color: var(--at-xanh-toi);
}

/* ---------- 4. FAQ (Accordion Flatsome, class "at-faq-ds") ---------- */

.at-faq-ds {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.at-faq-ds .accordion-item {
    border: 1px solid var(--at-vien);
    border-radius: var(--at-r-vua);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--at-bong-1);
}

.at-faq-ds .accordion-item .accordion-title {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    border: 0;
    background: #fff;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--at-chu-dam);
    text-transform: none;
    text-wrap: pretty;
    transition: background-color .2s, color .2s;
}

.at-faq-ds .accordion-item .accordion-title:hover,
.at-faq-ds .accordion-item .accordion-title.active {
    background: var(--at-xanh-nhat);
    color: var(--at-xanh-sau);
}

.at-faq-ds .accordion-item .accordion-title .toggle {
    position: static;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    opacity: 1;
    color: var(--at-chu-mo);
    background: none;
    border: 0;
    transition: transform .2s;
}

.at-faq-ds .accordion-item .accordion-title.active .toggle {
    transform: rotate(180deg);
}

/* Mũi tên vẽ bằng CSS, không phụ thuộc font icon của Flatsome */
.at-faq-ds .accordion-item .accordion-title .toggle i {
    display: none;
}

.at-faq-ds .accordion-item .accordion-title .toggle::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 2px;
    background-color: currentColor;
    -webkit-mask: var(--at-i-xuong) center / contain no-repeat;
    mask: var(--at-i-xuong) center / contain no-repeat;
}

.at-faq-ds .accordion-item .accordion-inner {
    padding: 18px 22px;
    border-top: 1px solid var(--at-vien-nhat);
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--at-chu-vua);
}

.at-faq-ds .accordion-inner p {
    margin: 0;
}

.at-faq-ds .accordion-inner p + p {
    margin-top: .8em;
}

.at-faq-ds .accordion-inner strong {
    color: var(--at-chu-dam);
}

/* ---------- 5. Kêu gọi cuối trang (section "at-cta", dark) ---------- */

.section.at-cta {
    background:
        radial-gradient(circle at 15% 0%, rgba(56, 189, 248, .35) 0, transparent 45%),
        linear-gradient(120deg, var(--at-xanh-sau) 0%, var(--at-xanh) 55%, var(--at-xanh-dam) 100%);
}

.at-cta .col.at-cta-chu .col-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* Nhãn "Cảnh báo…" có đồng hồ */
.at-cta-chu .col-inner > p:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border: 1px solid rgba(254, 202, 202, .45);
    border-radius: 999px;
    background: rgba(15, 23, 42, .18);
    color: #fecaca;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.at-cta-chu .col-inner > p:first-child::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: var(--at-i-dong-ho) center / contain no-repeat;
    mask: var(--at-i-dong-ho) center / contain no-repeat;
}

.at-cta-chu .col-inner > h2 {
    margin-top: 18px;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #fff;
}

.at-cta-chu .col-inner > h2 + p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #e0f2fe;
    text-wrap: pretty;
}

.at-cta-chu .col-inner > h2 + p strong {
    color: #fff;
}

.at-cta-chu .col-inner > p:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.at-cta-chu .col-inner > p:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--at-r-nho);
    background: rgba(12, 74, 110, .35);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .18s, border-color .18s, transform .1s;
}

.at-cta-chu .col-inner > p:last-child a:hover {
    background: rgba(12, 74, 110, .6);
    border-color: rgba(255, 255, 255, .5);
}

.at-cta-chu .col-inner > p:last-child a strong {
    color: #fde047;
    font-weight: 800;
}

.at-cta-chu .col-inner > p:last-child a:first-child {
    border-color: #fff;
    background: #fff;
    color: var(--at-xanh-sau);
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .5);
}

.at-cta-chu .col-inner > p:last-child a:first-child:hover {
    background: var(--at-xanh-nhat);
}

.at-cta-chu .col-inner > p:last-child a:active {
    transform: scale(.98);
}

/* ---------- Focus bàn phím cho liên kết gõ tay ---------- */

.at-hero a:focus-visible,
.at-khoi a:focus-visible,
.at-cta a:focus-visible,
.at-thanh a:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .6);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 849px) {
    .at-khoi .col.at-dau .col-inner {
        margin-bottom: 32px;
    }

    .at-khoi .at-dau .col-inner > p:first-child {
        letter-spacing: .06em;
    }

    .at-hero .col.at-hero-the {
        margin-top: 36px;
    }

    .at-hero-chu .col-inner > p:last-child a {
        flex: 1 1 220px;
    }

    .at-khoi .row.at-dai {
        padding: 20px 4px;
    }

    .at-khoi .col.at-dai-nut .col-inner {
        margin-top: 16px;
        text-align: left;
    }

    .at-dai-nut .col-inner a {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .at-thanh .col-inner > p:nth-child(2) {
        font-size: 12.5px;
    }

    .at-hero .col.at-hero-the .col-inner {
        padding: 20px 16px;
    }

    .at-hero-the .col-inner > p:nth-of-type(1)::before {
        margin-right: 30px;
    }

    .at-hero-the .col-inner > ul li strong {
        margin-left: 0;
        text-align: left;
    }

    /* Bảng cấp độ -> từng thẻ: tên cấp + mức độ trên một hàng, mô tả bên dưới */
    .at-cap-do .col.at-bang-cap .col-inner thead {
        display: none;
    }

    .at-cap-do .col.at-bang-cap .col-inner table,
    .at-cap-do .col.at-bang-cap .col-inner tbody {
        display: block;
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--at-vien-nhat);
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody tr:last-child {
        border-bottom: 0;
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody tr:has(td:first-child strong) {
        background: var(--at-xanh-nhat) !important;
        box-shadow: inset 4px 0 0 var(--at-xanh);
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody tr > * {
        display: block;
        width: auto;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody td:first-child,
    .at-cap-do .col.at-bang-cap .col-inner tbody td:nth-child(2) {
        width: auto;
        white-space: normal;
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody td:nth-child(2) {
        padding-left: 19px !important;
        font-size: 13.5px !important;
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody td:nth-child(3) {
        margin-top: 4px;
        font-size: 13.5px !important;
    }

    .at-khoi .col.at-luu-y .col-inner {
        padding: 70px 18px 18px;
    }

    .at-khoi .col.at-luu-y .col-inner::before {
        left: 18px;
        top: 18px;
    }

    .at-khoi .col.at-luu-y .col-inner::after {
        left: 27px;
        top: 27px;
    }

    .at-khoi .col.at-the-xanh .col-inner,
    .at-khoi .col.at-the-vang .col-inner {
        padding: 76px 20px 20px;
    }

    .at-the-xanh .col-inner::before,
    .at-the-vang .col-inner::before {
        left: 20px;
        top: 20px;
    }

    .at-the-xanh .col-inner::after,
    .at-the-vang .col-inner::after {
        left: 30px;
        top: 30px;
    }

    .at-dai-chu .col-inner {
        padding-left: 0;
        padding-top: 60px;
    }

    .at-dai-chu .col-inner::before {
        top: 0;
        margin-top: 0;
    }

    .at-dai-chu .col-inner::after {
        top: 12px;
        margin-top: 0;
    }

    .at-cta-chu .col-inner > p:last-child a {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .at-hero-chu .col-inner > p:first-child::before {
        animation: none;
    }

    .at-the-4 .col-inner,
    .at-the-4 .col-inner:hover {
        transform: none;
        transition: none;
    }

    .bk-at__hop-thoai[open] {
        animation: none;
    }
}

/* =====================================================================
   CHUYỂN ĐỘNG (15/10/2026) — cùng nếp landing Vibe Hosting (template_assets/css/vibe-hosting.css):
   chỉ chạy khi KHÔNG bật giảm chuyển động; keyframe dùng `translate` / `scale` riêng (không phải transform)
   để không đè transform của hover và của hiện-dần-khi-cuộn.
   Thẻ "bkns-audit-system" ở hero để TĨNH (16/10/2026 bỏ trượt/trôi/vạch quét/dòng hiện lần lượt);
   điểm nhấn chuyển động dồn sang Quy trình 6 bước — bước đang chạy sáng lần lượt 01 → 06.
   ===================================================================== */

:root {
    --at-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Lớp trang trí (::before) nằm TRÊN .section-bg (Flatsome tô bg_color vào div absolute đó, đứng sau ::before
   trong DOM nên sẽ phủ mất lớp trang trí) và DƯỚI nội dung. */
.section.at-hero::before,
.section.at-vi-sao::before,
.section.at-cta::before {
    z-index: 1;
}

.section.at-hero > .section-content,
.section.at-vi-sao > .section-content,
.section.at-cta > .section-content {
    position: relative;
    z-index: 2;
}

/* ---------- Hiện dần khi cuộn (JS hienDan() gắn .at-cho rồi .at-hien) ----------
   body + lặp class: thắng transition của thẻ (0,2,0) để giữ transition của opacity/translate. */
body .at-cho.at-cho {
    opacity: 0;
    translate: 0 16px;
    transition: opacity .7s var(--at-ease) var(--at-tre, 0ms), translate .7s var(--at-ease) var(--at-tre, 0ms),
    box-shadow .3s var(--at-ease), border-color .3s var(--at-ease), transform .3s var(--at-ease);
}

body .at-cho.at-hien {
    opacity: 1;
    translate: none;
}

/* ---------- Nền bản đồ thế giới khối "Vì sao" (images/at-ban-do-the-gioi.png làm mask — bản chép riêng, không dùng chung file của Vibe Hosting) ----------
   Bản đồ chấm xanh rất nhạt + dải sáng quét ngang, mép mờ dần; thẻ trắng hơi trong để bản đồ ẩn hiện phía sau. */
.section.at-vi-sao {
    position: relative;
    overflow: hidden;
}

.section.at-vi-sao::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1440px, 210vw);
    aspect-ratio: 1168 / 550;
    translate: -50% -50%;
    pointer-events: none;
    background: linear-gradient(100deg,
    rgba(2, 132, 199, .13) 0%, rgba(2, 132, 199, .13) 40%,
    rgba(56, 189, 248, .4) 50%,
    rgba(2, 132, 199, .13) 60%, rgba(2, 132, 199, .13) 100%);
    background-size: 260% 100%;
    background-position: 100% 0;
    -webkit-mask-image: url("../images/at-ban-do-the-gioi.png"), radial-gradient(ellipse 52% 48% at 50% 50%, #000 35%, transparent 100%);
    -webkit-mask-size: 100% 100%, 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image: url("../images/at-ban-do-the-gioi.png"), radial-gradient(ellipse 52% 48% at 50% 50%, #000 35%, transparent 100%);
    mask-size: 100% 100%, 100% 100%;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

.at-vi-sao .at-the-4 .col-inner {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* ---------- Nền chấm lưới cho CTA (như hero) ---------- */
.section.at-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.2px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 100%);
}

/* Nhãn "Chuẩn NĐ" của thẻ audit: chấm xanh lá đứng yên */
.at-hero-the .col-inner > p:nth-of-type(2) {
    position: relative;
    padding-left: 22px;
}

.at-hero-the .col-inner > p:nth-of-type(2)::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #10b981;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    /* ---------- Thanh cảnh báo: dấu ⚠ nhấp nháy ---------- */
    .at-thanh .col-inner > p:first-child::before {
        animation: at-nhay 1.4s ease-in-out infinite;
    }

    /* ---------- Hero: vào trang lần lượt ---------- */
    .at-hero-chu .col-inner > *,
    .at-hero-chu .col-inner > ul li {
        animation: at-vao .8s var(--at-ease) both;
    }

    .at-hero-chu .col-inner > ul { animation: none; }
    .at-hero-chu .col-inner > :nth-child(2) { animation-delay: .09s; }
    .at-hero-chu .col-inner > :nth-child(3) { animation-delay: .18s; }
    .at-hero-chu .col-inner > ul li:nth-child(1) { animation-delay: .28s; }
    .at-hero-chu .col-inner > ul li:nth-child(2) { animation-delay: .36s; }
    .at-hero-chu .col-inner > p:last-child { animation-delay: .46s; }

    /* Hộp 2 dòng tích hiện cùng dòng đầu tiên của nó */
    .at-hero-chu .col-inner > ul {
        animation: at-hien-mo .6s var(--at-ease) .24s both;
    }

    /* "Cấp độ 2 chỉ từ 12 triệu": gradient chạy qua chữ */
    .at-hero-chu .col-inner > h1 strong {
        background-image: linear-gradient(90deg, var(--at-xanh) 0%, var(--at-xanh-sang) 30%, #7dd3fc 50%, var(--at-xanh-sang) 70%, var(--at-xanh) 100%);
        background-size: 200% auto;
        animation: at-chu-sang 5s linear infinite;
    }

    /* Quầng sáng nền thở chậm phía sau chữ */
    .section.at-hero::before {
        content: "";
        position: absolute;
        top: -20%;
        left: 10%;
        width: 60%;
        height: 85%;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(56, 189, 248, .2), rgba(56, 189, 248, 0));
        pointer-events: none;
        animation: at-tho 9s ease-in-out infinite;
    }

    /* ---------- Nút chính: vệt sáng quét ngang mỗi 4s ---------- */
    .at-hero-chu .col-inner > p:last-child a:first-child,
    .at-cta-chu .col-inner > p:last-child a:first-child,
    .at-dai-nut .col-inner a,
    .bk-at .bk-at__the-gia .bk-at__nut--xanh {
        position: relative;
        overflow: hidden;
    }

    .at-hero-chu .col-inner > p:last-child a:first-child::after,
    .at-cta-chu .col-inner > p:last-child a:first-child::after,
    .at-dai-nut .col-inner a::after,
    .bk-at .bk-at__the-gia .bk-at__nut--xanh::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
        pointer-events: none;
        animation: at-quet-ngang 4s ease-in-out 1.5s infinite;
    }

    /* Nút trên nền trắng: vệt sáng màu xanh nhạt */
    .at-cta-chu .col-inner > p:last-child a:first-child::after,
    .at-dai-nut .col-inner a::after {
        background: linear-gradient(100deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, .22), rgba(14, 165, 233, 0));
    }

    /* ---------- Bảng 5 cấp độ: rê hàng = sáng hàng; chấm cấp 2 toả sóng ---------- */
    .at-cap-do .col.at-bang-cap .col-inner tbody td {
        transition: background-color .2s var(--at-ease);
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody tr:hover > * {
        background: #f8fbff;
    }

    .at-cap-do .col.at-bang-cap .col-inner tbody tr:has(td:first-child strong) td:first-child::before {
        animation: at-ping-cap 2s ease-out infinite;
    }

    /* Hộp lưu ý: bóng đèn sáng nhịp */
    .at-khoi .col.at-luu-y .col-inner::after {
        animation: at-den 2.6s ease-in-out infinite;
    }

    /* ---------- Thẻ 4 cột: rê = ô icon phóng + emoji nảy ---------- */
    .at-the-4 .col-inner > p.at-bt {
        transition: scale .35s var(--at-ease), background-color .35s var(--at-ease);
    }

    .at-the-4 .col-inner:hover > p.at-bt {
        scale: 1.1;
        animation: at-nay .55s var(--at-ease);
    }

    /* Hai thẻ xanh / vàng: icon nảy khi rê; thẻ vàng viền nhịp như cảnh báo */
    .at-the-xanh .col-inner:hover::after,
    .at-the-vang .col-inner:hover::after {
        animation: at-nay .55s var(--at-ease);
    }

    .at-khoi .col.at-the-vang .col-inner {
        animation: at-the-vang-nhip 3s ease-in-out infinite;
    }

    /* ---------- Quy trình: "bước đang chạy" sáng lần lượt 01 → 06 rồi lặp ----------
       Chạy từ từ: mỗi bước 1,5s × 6 bước = đúng chu kỳ 9s: số toả sóng, thẻ hiện vòng sáng xanh, nhãn "Bước n" tô đặc.
       Vòng sáng dùng outline (hover đang giữ box-shadow / border-color). */
    .at-cac-buoc > .col:nth-child(2) { --at-buoc-tre: 1.5s; }
    .at-cac-buoc > .col:nth-child(3) { --at-buoc-tre: 3s; }
    .at-cac-buoc > .col:nth-child(4) { --at-buoc-tre: 4.5s; }
    .at-cac-buoc > .col:nth-child(5) { --at-buoc-tre: 6s; }
    .at-cac-buoc > .col:nth-child(6) { --at-buoc-tre: 7.5s; }

    .at-cac-buoc .col-inner {
        outline: 2px solid transparent;
        outline-offset: 3px;
        animation: at-buoc-vong 9s ease-in-out var(--at-buoc-tre, 0s) infinite;
    }

    .at-cac-buoc .col-inner::before {
        transition: scale .35s var(--at-ease);
        animation: at-ping-buoc 9s ease-out var(--at-buoc-tre, 0s) infinite;
    }

    .at-cac-buoc .col-inner::after {
        animation: at-buoc-nhan 9s ease-in-out var(--at-buoc-tre, 0s) infinite;
    }

    .at-cac-buoc .col-inner:hover::before {
        scale: 1.12;
    }

    /* transform (không phải translate) — translate đang do hiện-dần-khi-cuộn giữ */
    .at-cac-buoc .col-inner:hover {
        transform: translateY(-3px);
    }

    /* Dải "Doanh nghiệp chỉ cần": gradient trôi chậm */
    .at-khoi .row.at-dai {
        background-image: linear-gradient(120deg, var(--at-xanh-sau) 0%, var(--at-xanh) 45%, var(--at-xanh-sang) 60%, var(--at-xanh) 75%, var(--at-xanh-sau) 100%);
        background-size: 220% 100%;
        animation: at-nen-troi 10s ease-in-out infinite alternate;
    }

    /* ---------- Bảng giá: thẻ gói viền sáng nhịp thở, nhãn có vệt sáng chạy ---------- */
    .bk-at__the {
        animation: at-the-sang 3.4s ease-in-out infinite;
    }

    .bk-at__the-nhan {
        background: linear-gradient(110deg, var(--at-xanh) 35%, #7dd3fc 50%, var(--at-xanh) 65%);
        background-size: 250% 100%;
        animation: at-nhan-sang 3.5s linear infinite;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody td,
    .bk-at .bk-at__cuon .bk-at__bang tbody th {
        transition: background-color .2s var(--at-ease);
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody tr:hover > * {
        background: #f8fbff;
    }

    .bk-at .bk-at__cuon .bk-at__bang tbody tr.la-noi-bat:hover > * {
        background: var(--at-xanh-nhat-2);
    }

    /* ---------- Vì sao: dải sáng quét qua bản đồ ---------- */
    .section.at-vi-sao::before {
        animation: at-bd-quet 10s linear infinite;
    }

    /* ---------- FAQ: câu trả lời mở ra thì hiện dần ---------- */
    .at-faq-ds .accordion-title.active + .accordion-inner {
        animation: at-vao .45s var(--at-ease) both;
    }

    /* ---------- CTA: nền trôi, đồng hồ cảnh báo toả sóng đỏ ---------- */
    .section.at-cta {
        background-size: 140% 140%, 200% 100%;
        animation: at-cta-troi 14s ease-in-out infinite alternate;
    }

    .at-cta-chu .col-inner > p:first-child {
        animation: at-ping-do 2.2s ease-out infinite;
    }
}

@keyframes at-vao {
    from { opacity: 0; translate: 0 18px; }
    to { opacity: 1; translate: none; }
}

@keyframes at-hien-mo {
    from { opacity: 0; }
}

@keyframes at-chu-sang {
    to { background-position: -200% center; }
}

@keyframes at-tho {
    0%, 100% { opacity: .6; scale: 1; }
    50% { opacity: 1; scale: 1.12; }
}

@keyframes at-quet-ngang {
    0% { left: -60%; }
    30%, 100% { left: 130%; }
}

@keyframes at-ping-cap {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, .5); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
}

@keyframes at-den {
    0%, 100% { opacity: .75; }
    50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(14, 165, 233, .7)); }
}

@keyframes at-nay {
    0%, 100% { translate: 0 0; }
    35% { translate: 0 -5px; }
    65% { translate: 0 1px; }
}

@keyframes at-the-vang-nhip {
    0%, 100% { box-shadow: var(--at-bong-1); }
    50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, .14), var(--at-bong-1); }
}

@keyframes at-ping-buoc {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, .45), var(--at-bong-xanh); }
    14%, 100% { box-shadow: 0 0 0 12px rgba(2, 132, 199, 0), var(--at-bong-xanh); }
}

@keyframes at-buoc-vong {
    0% { outline-color: rgba(14, 165, 233, 0); }
    3%, 15% { outline-color: rgba(14, 165, 233, .45); }
    20%, 100% { outline-color: rgba(14, 165, 233, 0); }
}

@keyframes at-buoc-nhan {
    0% { background-color: var(--at-xanh-nhat); border-color: var(--at-xanh-vien); color: var(--at-xanh-dam); }
    3%, 15% { background-color: var(--at-xanh); border-color: var(--at-xanh); color: #fff; }
    20%, 100% { background-color: var(--at-xanh-nhat); border-color: var(--at-xanh-vien); color: var(--at-xanh-dam); }
}

@keyframes at-nen-troi {
    from { background-position: 0% 0; }
    to { background-position: 100% 0; }
}

@keyframes at-the-sang {
    0%, 100% { box-shadow: 0 24px 44px -22px rgba(2, 132, 199, .45), var(--at-bong-2); }
    50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, .12), 0 28px 50px -20px rgba(2, 132, 199, .55), var(--at-bong-2); }
}

@keyframes at-nhan-sang {
    from { background-position: 100% 0; }
    to { background-position: -150% 0; }
}

@keyframes at-bd-quet {
    from { background-position: 100% 0; }
    to { background-position: -160% 0; }
}

@keyframes at-cta-troi {
    from { background-position: 0% 0%, 0% 0; }
    to { background-position: 100% 60%, 100% 0; }
}

@keyframes at-ping-do {
    0% { box-shadow: 0 0 0 0 rgba(254, 202, 202, .45); }
    70%, 100% { box-shadow: 0 0 0 10px rgba(254, 202, 202, 0); }
}

/* =====================================================================
   LÀM ĐẸP THÊM (15/10/2026, sau khi xem trang thật bkns.vn/an-toan.html)
   1. Thẻ 4 cột: emoji gõ tay (mỗi máy một kiểu, Windows xấu) -> icon nét SVG đồng bộ, chọn THEO VỊ TRÍ thẻ
      (dấu hiệu: form / giỏ hàng / phần mềm / máy chủ; vì sao: văn bản / huy hiệu / nhãn giá / máy chủ).
      Emoji vẫn để trong text (giấu đi) — thẻ thứ 5 trở đi hoặc khối khác thì emoji hiện như cũ.
   2. Điện thoại: thẻ 4 cột + 6 bước quy trình xếp ngang (icon/số bên trái) cho trang ngắn lại.
   ===================================================================== */

:root {
    --at-i-form: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10'/%3E%3C/svg%3E");
    --at-i-gio: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z'/%3E%3C/svg%3E");
    --at-i-phan-mem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z'/%3E%3C/svg%3E");
    --at-i-may-chu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.25 14.25h13.5m-13.5 0a3 3 0 01-3-3m3 3a3 3 0 100 6h13.5a3 3 0 100-6m-16.5-3a3 3 0 013-3h13.5a3 3 0 013 3m-19.5 0a4.5 4.5 0 01.9-2.7L5.737 5.1a3.375 3.375 0 012.7-1.35h7.126c1.062 0 2.062.5 2.7 1.35l2.587 3.45a4.5 4.5 0 01.9 2.7m0 0a3 3 0 01-3 3m0 3h.008v.008h-.008v-.008zm0-6h.008v.008h-.008v-.008zm-3 6h.008v.008h-.008v-.008zm0-6h.008v.008h-.008v-.008z'/%3E%3C/svg%3E");
    --at-i-van-ban: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 019 9v.375M10.125 2.25A3.375 3.375 0 0113.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 013.375 3.375M9 15l2.25 2.25L15 12'/%3E%3C/svg%3E");
    --at-i-huy-hieu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12.75L11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 01-1.043 3.296 3.745 3.745 0 01-3.296 1.043A3.745 3.745 0 0112 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 01-3.296-1.043 3.745 3.745 0 01-1.043-3.296A3.745 3.745 0 013 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 011.043-3.296 3.746 3.746 0 013.296-1.043A3.746 3.746 0 0112 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 013.296 1.043 3.746 3.746 0 011.043 3.296A3.745 3.745 0 0121 12z'/%3E%3C/svg%3E");
    --at-i-nhan-gia: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.568 3H5.25A2.25 2.25 0 003 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 005.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 009.568 3zM6 6h.008v.008H6V6z'/%3E%3C/svg%3E");
}

.at-dau-hieu .at-the-4 > .col:nth-child(1) { --at-icon: var(--at-i-form); }
.at-dau-hieu .at-the-4 > .col:nth-child(2) { --at-icon: var(--at-i-gio); }
.at-dau-hieu .at-the-4 > .col:nth-child(3) { --at-icon: var(--at-i-phan-mem); }
.at-dau-hieu .at-the-4 > .col:nth-child(4) { --at-icon: var(--at-i-may-chu); }
.at-vi-sao .at-the-4 > .col:nth-child(1) { --at-icon: var(--at-i-van-ban); }
.at-vi-sao .at-the-4 > .col:nth-child(2) { --at-icon: var(--at-i-huy-hieu); }
.at-vi-sao .at-the-4 > .col:nth-child(3) { --at-icon: var(--at-i-nhan-gia); }
.at-vi-sao .at-the-4 > .col:nth-child(4) { --at-icon: var(--at-i-may-chu); }

/* Có icon -> giấu emoji (font-size 0), vẽ icon bằng mask */
.at-dau-hieu .at-the-4 > .col:nth-child(-n+4) .col-inner > p.at-bt,
.at-vi-sao .at-the-4 > .col:nth-child(-n+4) .col-inner > p.at-bt {
    position: relative;
    font-size: 0;
    color: transparent;
}

.at-dau-hieu .at-the-4 > .col:nth-child(-n+4) .col-inner > p.at-bt::before,
.at-vi-sao .at-the-4 > .col:nth-child(-n+4) .col-inner > p.at-bt::before {
    content: "";
    width: 24px;
    height: 24px;
    background-color: var(--at-mau-icon, var(--at-xanh));
    -webkit-mask: var(--at-icon) center / contain no-repeat;
    mask: var(--at-icon) center / contain no-repeat;
}

/* Dấu hiệu: ô icon xanh đặc gradient, icon trắng — đậm hơn khối "Vì sao" */
.at-dau-hieu .at-the-4 .col-inner > p.at-bt {
    --at-mau-icon: #fff;
    background: linear-gradient(135deg, var(--at-xanh-sang) 0%, var(--at-xanh-dam) 100%);
    box-shadow: 0 8px 16px -8px rgba(2, 132, 199, .7);
}

/* Vì sao: ô nền nhạt, icon màu theo thẻ */
.at-vi-sao .at-the-4 > .col:nth-child(1) { --at-mau-icon: var(--at-xanh); }
.at-vi-sao .at-the-4 > .col:nth-child(2) { --at-mau-icon: var(--at-xanhla); }
.at-vi-sao .at-the-4 > .col:nth-child(3) { --at-mau-icon: #d97706; }
.at-vi-sao .at-the-4 > .col:nth-child(4) { --at-mau-icon: var(--at-xanh-dam); }
.at-vi-sao .at-the-4 > .col:nth-child(4) .at-bt { background: var(--at-xanh-nhat-2); }

/* Thẻ 4 cột: vạch màu mảnh trên đỉnh khi rê chuột */
.at-the-4 .col-inner {
    position: relative;
    overflow: hidden;
}

.at-the-4 .col-inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--at-xanh-sang), var(--at-xanh));
    scale: 0 1;
    transform-origin: left;
    transition: scale .45s var(--at-ease);
}

.at-the-4 .col-inner:hover::after {
    scale: 1 1;
}

@media (max-width: 640px) {
    /* Thẻ 4 cột: icon trái, chữ phải */
    .at-khoi .row.at-the-4 > .col {
        padding-bottom: 12px;
    }

    .at-the-4 .col-inner {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 14px;
        align-items: start;
        padding: 16px;
    }

    .at-the-4 .col-inner > p.at-bt {
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .at-the-4 .col-inner > p.at-bt::before {
        width: 22px !important;
        height: 22px !important;
    }

    .at-the-4 .col-inner > h3 {
        font-size: 16px;
    }

    .at-the-4 .col-inner > h3 + p {
        margin-top: 4px;
        font-size: 13.5px;
    }

    /* Quy trình: số bên trái, bỏ nhãn "Bước n" (trùng số) */
    .at-khoi .row.at-cac-buoc > .col {
        padding-bottom: 12px;
    }

    .at-cac-buoc .col-inner {
        padding: 16px 16px 16px 70px;
    }

    .at-cac-buoc .col-inner::before {
        left: 16px;
        top: 16px;
    }

    .at-cac-buoc .col-inner::after {
        display: none;
    }

    .at-cac-buoc .col-inner > h3 {
        font-size: 16px;
    }

    .at-cac-buoc .col-inner > h3 + p {
        margin-top: 4px;
        font-size: 13.5px;
    }
}

/* =====================================================================
   Nhãn viên thuốc đầu khối (15/10/2026) — cùng kiểu nhãn đầu khối trang Vibe Hosting:
   chữ thường (bỏ VIẾT HOA + giãn chữ), chấm xanh phía trước toả sóng liên tục.
   Áp cho col "at-dau" (dòng đầu là chữ) và nhãn của element bảng giá (.bk-at__nhan).
   ===================================================================== */
.at-khoi .at-dau .col-inner > p:first-child,
.bk-at .bk-at__nhan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 12px;
    border: 1px solid #bfdcf7;
    background: rgba(240, 249, 255, .9);
    box-shadow: var(--at-bong-1);
    color: #0b6fb8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.at-khoi .at-dau .col-inner > p:first-child::before,
.bk-at .bk-at__nhan::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--at-xanh);
}

@media (prefers-reduced-motion: no-preference) {
    .at-khoi .at-dau .col-inner > p:first-child::before,
    .bk-at .bk-at__nhan::before {
        animation: at-ping-nhan 1.6s cubic-bezier(0, 0, .2, 1) infinite;
    }
}

@keyframes at-ping-nhan {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, .55); }
    75%, 100% { box-shadow: 0 0 0 7px rgba(2, 132, 199, 0); }
}

@media (max-width: 849px) {
    .at-khoi .at-dau .col-inner > p:first-child,
    .bk-at .bk-at__nhan {
        letter-spacing: 0;
        font-size: 12.5px;
        text-align: left;
    }
}

/* =====================================================================
   Quy trình 6 bước — đường nối có mũi tên giữa các thẻ (16/10/2026, theo nét Sơn vẽ trên ảnh):
   1 → 2 → 3, vòng phải xuống khe giữa 2 hàng, chạy ngang sang trái, vòng trái vào 4 → 5 → 6.
   Vẽ bằng ::before/::after của .col (col-inner đã dùng ::before số, ::after nhãn "Bước n").
   Mỗi lần "bước đang chạy" chuyển sang bước sau (chu kỳ 9s ở khối CHUYỂN ĐỘNG), đoạn nối giữa hai bước
   đổi sang xanh đậm — màu nét là biến --at-noi được @property đăng ký để animate mượt.
   Chỉ màn ≥850px (3 cột, đúng 6 bước). Màn <550px (1 cột): vạch dọc + mũi tên xuống nối các số.
   Hình học ≥850px: col padding 0 var(--at-le) var(--at-khe) -> mép thẻ = mép col ∓ --at-le,
   tâm thẻ = 50% - khe/2, giữa khe 2 hàng = khe/2 dưới đáy thẻ.
   Mũi tên = conic-gradient (đỉnh ở mép thẻ đích) để màu theo được biến, không cần SVG.
   ===================================================================== */
@property --at-noi {
    syntax: "<color>";
    inherits: true;
    initial-value: rgba(14, 165, 233, .4);
}

@property --at-noi-vao {
    syntax: "<color>";
    inherits: true;
    initial-value: rgba(14, 165, 233, .4);
}

.at-cac-buoc {
    --at-noi-nhat: rgba(14, 165, 233, .4);
    --at-noi-dam: #0284c7;
    --at-noi: var(--at-noi-nhat);
    --at-noi-vao: var(--at-noi-nhat);
}

.section.at-quy-trinh {
    overflow-x: clip;
}

@media (min-width: 850px) {
    .at-khoi .row.at-cac-buoc {
        --at-le: 20px;
        --at-khe: 48px;
    }

    .at-khoi .row.at-cac-buoc > .col {
        position: relative;
        padding: 0 var(--at-le) var(--at-khe);
    }

    /* Nối ngang có mũi tên: 1→2, 2→3, 5→6 (4→5 nằm trong col 4 bên dưới) */
    .at-khoi .row.at-cac-buoc > .col:nth-child(1)::after,
    .at-khoi .row.at-cac-buoc > .col:nth-child(2)::after,
    .at-khoi .row.at-cac-buoc > .col:nth-child(5)::after {
        content: "";
        position: absolute;
        top: calc(50% - var(--at-khe) / 2 - 6px);
        left: calc(100% - var(--at-le));
        width: calc(var(--at-le) * 2);
        height: 12px;
        background:
            radial-gradient(circle, var(--at-noi) 0 3px, transparent 3.5px) left center / 8px 8px no-repeat,
            conic-gradient(from 240deg at 100% 50%, var(--at-noi) 0 60deg, transparent 0) right center / 10px 12px no-repeat,
            repeating-linear-gradient(90deg, var(--at-noi) 0 5px, transparent 5px 8px) left 10px center / calc(100% - 22px) 2px no-repeat;
        pointer-events: none;
    }

    /* Bước 3: khúc cong bên phải, từ tâm thẻ xuống giữa khe */
    .at-khoi .row.at-cac-buoc > .col:nth-child(3)::before {
        content: "";
        position: absolute;
        top: calc(50% - var(--at-khe) / 2 - 1px);
        bottom: calc(var(--at-khe) / 2 - 1px);
        left: calc(100% - var(--at-le));
        width: 34px;
        border: 2px dashed var(--at-noi);
        border-left: 0;
        border-radius: 0 24px 24px 0;
        pointer-events: none;
    }

    /* Bước 3: khúc ngang dài giữa khe, từ mép phải thẻ 3 sang mép trái thẻ 4 */
    .at-khoi .row.at-cac-buoc > .col:nth-child(3)::after {
        content: "";
        position: absolute;
        top: calc(100% - var(--at-khe) / 2 - 1px);
        right: var(--at-le);
        width: calc(300% - var(--at-le) * 2);
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--at-noi) 0 5px, transparent 5px 8px);
        pointer-events: none;
    }

    /* Bước 4: khúc cong bên trái, từ giữa khe vào tâm thẻ */
    .at-khoi .row.at-cac-buoc > .col:nth-child(4)::before {
        content: "";
        position: absolute;
        top: calc(var(--at-khe) / -2 - 1px);
        bottom: calc(50% + var(--at-khe) / 2 - 1px);
        left: calc(var(--at-le) - 34px);
        width: 34px;
        border: 2px dashed var(--at-noi-vao);
        border-right: 0;
        border-radius: 24px 0 0 24px;
        pointer-events: none;
    }

    /* Bước 4: mũi tên vào thẻ 4 (màu theo đoạn 3→4) + nối 4→5 có mũi tên */
    .at-khoi .row.at-cac-buoc > .col:nth-child(4)::after {
        content: "";
        position: absolute;
        top: calc(50% - var(--at-khe) / 2 - 6px);
        left: calc(var(--at-le) - 10px);
        right: calc(var(--at-le) * -1);
        height: 12px;
        background:
            conic-gradient(from 240deg at 100% 50%, var(--at-noi-vao) 0 60deg, transparent 0) left center / 10px 12px no-repeat,
            radial-gradient(circle, var(--at-noi) 0 3px, transparent 3.5px) right calc(var(--at-le) * 2 - 8px) center / 8px 8px no-repeat,
            conic-gradient(from 240deg at 100% 50%, var(--at-noi) 0 60deg, transparent 0) right center / 10px 12px no-repeat,
            repeating-linear-gradient(90deg, var(--at-noi) 0 5px, transparent 5px 8px) right 12px center / calc(var(--at-le) * 2 - 22px) 2px no-repeat;
        pointer-events: none;
    }
}

@media (max-width: 549px) {
    .at-khoi .row.at-cac-buoc > .col {
        position: relative;
    }

    /* Vạch dọc + mũi tên xuống, từ dưới số bước này tới số bước sau (số: left 16px, rộng 40px trong thẻ) */
    .at-khoi .row.at-cac-buoc > .col:not(:last-child)::after {
        content: "";
        position: absolute;
        z-index: 1; /* mũi tên nằm trên phần đệm đầu thẻ sau, không thì bị nền trắng của thẻ che */
        left: calc(15px + 16px + 20px - 6px);
        top: 62px;
        bottom: -16px;
        width: 12px;
        background:
            conic-gradient(from 330deg at 50% 100%, var(--at-noi) 0 60deg, transparent 0) center bottom / 12px 10px no-repeat,
            repeating-linear-gradient(180deg, var(--at-noi) 0 5px, transparent 5px 8px) center top / 2px calc(100% - 11px) no-repeat;
        pointer-events: none;
    }
}

/* Đoạn nối sáng đậm lúc chuyển từ bước n sang n+1 (bước n bắt đầu sáng ở giây 1,5 × (n-1)) */
@media (prefers-reduced-motion: no-preference) {
    .at-khoi .row.at-cac-buoc > .col::after,
    .at-khoi .row.at-cac-buoc > .col:nth-child(3)::before {
        animation: at-noi-sang 9s ease-in-out var(--at-noi-tre, 0s) infinite;
    }

    .at-khoi .row.at-cac-buoc > .col:nth-child(2) { --at-noi-tre: 1.5s; }
    .at-khoi .row.at-cac-buoc > .col:nth-child(3) { --at-noi-tre: 3s; }
    .at-khoi .row.at-cac-buoc > .col:nth-child(4) { --at-noi-tre: 4.5s; }
    .at-khoi .row.at-cac-buoc > .col:nth-child(5) { --at-noi-tre: 6s; }

    /* Đoạn 3→4 phần nằm trong col 4 (khúc cong trái + mũi tên vào thẻ 4) đi theo nhịp của bước 3 */
    .at-khoi .row.at-cac-buoc > .col:nth-child(4)::before {
        animation: at-noi-sang-vao 9s ease-in-out 3s infinite;
    }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 850px) {
    .at-khoi .row.at-cac-buoc > .col:nth-child(4)::after {
        animation: at-noi-sang 9s ease-in-out 4.5s infinite, at-noi-sang-vao 9s ease-in-out 3s infinite;
    }
}

@keyframes at-noi-sang {
    0%, 8% { --at-noi: var(--at-noi-nhat); }
    12%, 20% { --at-noi: var(--at-noi-dam); }
    26%, 100% { --at-noi: var(--at-noi-nhat); }
}

@keyframes at-noi-sang-vao {
    0%, 8% { --at-noi-vao: var(--at-noi-nhat); }
    12%, 20% { --at-noi-vao: var(--at-noi-dam); }
    26%, 100% { --at-noi-vao: var(--at-noi-nhat); }
}

/* =====================================================================
   Quy trình 6 bước — làm đẹp thêm (16/10/2026):
   - Ô số 01-05 nền gradient xanh (bước 06 vẫn xanh sẫm = đích).
   - Bước đang chạy: thanh tiến trình 3px chạy dọc mép trên thẻ trong 1,5s rồi mờ đi khi sang bước sau
     (độ dài --at-tien + màu --at-thanh đăng ký @property để animate; nền thẻ gom về 1 khai báo,
     thẻ cuối đổi lớp nền qua --at-nen-the).
   ===================================================================== */
@property --at-tien {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}

@property --at-thanh {
    syntax: "<color>";
    inherits: false;
    initial-value: rgba(14, 165, 233, 0);
}

.at-khoi .row.at-cac-buoc > .col > .col-inner {
    background:
        linear-gradient(90deg, var(--at-thanh), var(--at-thanh)) 0 0 / var(--at-tien) 3px no-repeat,
        var(--at-nen-the, #fff);
}

.at-khoi .row.at-cac-buoc > .col:last-child > .col-inner {
    --at-nen-the: linear-gradient(160deg, #fff 40%, var(--at-xanh-nhat) 100%);
}

.at-khoi .row.at-cac-buoc > .col:not(:last-child) > .col-inner::before {
    background: linear-gradient(135deg, var(--at-xanh-sang) 0%, var(--at-xanh-dam) 100%);
}

@media (prefers-reduced-motion: no-preference) {
    .at-khoi .row.at-cac-buoc > .col > .col-inner {
        animation:
            at-buoc-vong 9s ease-in-out var(--at-buoc-tre, 0s) infinite,
            at-buoc-thanh 9s linear var(--at-buoc-tre, 0s) infinite;
    }
}

@keyframes at-buoc-thanh {
    0%, 2% { --at-tien: 0%; --at-thanh: rgba(14, 165, 233, 0); }
    4% { --at-tien: 4%; --at-thanh: rgba(14, 165, 233, 1); }
    16% { --at-tien: 100%; --at-thanh: rgba(14, 165, 233, 1); }
    21%, 100% { --at-tien: 100%; --at-thanh: rgba(14, 165, 233, 0); }
}
