/* ==========================================================================
   DNT Digital Solutions — Design system 2026
   Phong cách: agency công nghệ, nền tối + gradient, thẻ nổi, typography lớn
   ========================================================================== */

:root {
    /* Màu */
    --ink: #0a1224;
    --ink-2: #1b2b47;
    --body: #4a5a75;
    --muted: #7b8aa3;
    --brand: #1a5cff;
    --brand-dark: #0b3ecb;
    --brand-2: #00c8b4;
    --navy: #071127;
    --navy-2: #0e1f45;
    --line: #e5ebf5;
    --line-2: #d5e0f2;
    --bg: #ffffff;
    --bg-2: #f5f8fd;

    /* Hình dạng & đổ bóng */
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(9, 20, 44, .05), 0 4px 14px -8px rgba(9, 20, 44, .18);
    --shadow: 0 2px 8px rgba(9, 20, 44, .05), 0 24px 48px -28px rgba(9, 20, 44, .38);
    --shadow-lg: 0 40px 80px -40px rgba(6, 14, 34, .55);

    --max: 1180px;
    --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

::selection { background: rgba(26, 92, 255, .18); }

a:focus-visible, .btn:focus-visible, summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 8px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
    background: var(--navy);
    color: #9fb0d0;
    font-size: 13.5px;
    letter-spacing: .01em;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 42px;
}

.topbar a { color: #d3deff; font-weight: 600; }
.topbar a:hover { color: #fff; }

.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(0, 200, 180, .18);
    flex: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 13px; min-width: 0; flex: 0 1 auto; color: var(--ink); }
.brand:hover { color: var(--ink); }

.brand-mark {
    width: 46px; height: 46px; flex: none;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f74ff, var(--brand) 55%, #083bc4);
    box-shadow: 0 12px 24px -12px rgba(26, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .04em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.brand-text strong {
    font-size: 17.5px;
    font-weight: 800;
    letter-spacing: -.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-text small { color: var(--muted); font-size: 11.5px; }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 14.5px; }

.main-nav > a,
.nav-dropdown > a {
    position: relative;
    padding: 8px 0;
    color: var(--ink-2);
    font-weight: 600;
    white-space: nowrap;
}

.main-nav > a::after,
.nav-dropdown > a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    border-radius: 2px;
    transition: right .26s ease;
}

.main-nav > a:hover,
.nav-dropdown > a:hover { color: var(--brand); }
.main-nav > a:hover::after,
.nav-dropdown:hover > a::after { right: 0; }

.nav-dropdown { position: relative; }

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: -18px;
    min-width: 310px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    display: none;
}

.nav-dropdown:hover .nav-dropdown-panel { display: block; }

.nav-dropdown-panel-right { left: auto; right: -18px; }

.caret { font-size: 10px; opacity: .6; }

.nav-dropdown-panel a {
    display: block;
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 500;
    transition: background .16s, color .16s;
}

.nav-dropdown-panel a:hover {
    background: #eef3ff;
    color: var(--brand-dark);
}

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }

.header-cta .phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--ink);
    font-size: 15px;
    white-space: nowrap;
}
.header-cta .phone:hover { color: var(--brand); }

/* Hamburger — thuần CSS, không cần JavaScript */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.nav-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px; height: 46px;
    padding: 0 12px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
    flex: none;
}

.nav-toggle-btn span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .22s ease, opacity .22s ease;
}

.nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-2px); color: inherit; }

.btn-primary {
    background: linear-gradient(135deg, #2f74ff, var(--brand) 55%, #0d44d4);
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(26, 92, 255, .9);
}
.btn-primary:hover { color: #fff; box-shadow: 0 20px 36px -16px rgba(26, 92, 255, .95); }

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-2);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-lg { padding: 15px 28px; font-size: 16.5px; border-radius: 14px; }

/* ==========================================================================
   HERO — nền tối + gradient
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 92px 0 84px;
    background:
        radial-gradient(1100px 520px at 88% -12%, rgba(0, 200, 180, .28), transparent 62%),
        radial-gradient(900px 520px at 6% 112%, rgba(26, 92, 255, .48), transparent 62%),
        linear-gradient(152deg, #050c1c 0%, #0a1836 46%, #112c66 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask-image: radial-gradient(circle at 50% 26%, #000 0%, transparent 76%);
    mask-image: radial-gradient(circle at 50% 26%, #000 0%, transparent 76%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #cfdcff;
    font-size: 13.5px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.hero-badge::before {
    content: "";
    width: 7px; height: 7px; flex: none;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(0, 200, 180, .2);
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(30px, 3.7vw, 51px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.028em;
}

.hero h1 .hl {
    background: linear-gradient(96deg, #6ee3d4 0%, #9dc0ff 60%, #d6c8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 660px;
    margin: 0 0 30px;
    color: #b7c6e4;
    font-size: 18px;
    line-height: 1.68;
}
.hero-lead strong { color: #fff; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 4px;
}

.hero .btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, .17);
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 16px 9px 36px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #c6d4ee;
    font-size: 14px;
}

.hero-points li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--brand-2);
    font-weight: 800;
}

.hero-points li strong { color: #fff; margin-left: 4px; }

/* Thẻ số liệu trong hero */
.hero-panel {
    padding: 26px 26px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.hero-panel-title {
    margin: 0 0 8px;
    color: #8fa6cc;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-metric {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 15px 0;
    border-top: 1px dashed rgba(255, 255, 255, .15);
}

.hero-metric:first-of-type { border-top: 0; }

.hero-metric b {
    flex: none;
    min-width: 104px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.hero-metric span { color: #b7c6e4; font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   DẢI SỐ LIỆU
   ========================================================================== */
.stats {
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 30px;
    padding-bottom: 30px;
}

.stat {
    padding: 6px 22px;
    border-left: 1px solid var(--line-2);
    text-align: center;
}
.stat:first-child { border-left: 0; }

.stat b {
    display: block;
    color: var(--brand);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -.025em;
}

.stat span { color: var(--body); font-size: 14px; }

/* ==========================================================================
   SECTION
   ========================================================================== */
.section { padding: clamp(52px, 6.5vw, 92px) 0; }

.section-alt {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.9vw, 37px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.section-lead {
    max-width: 730px;
    margin: 0 0 42px;
    color: var(--body);
    font-size: 17px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(292px, 100%), 1fr));
    gap: 24px;
}

.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(272px, 100%), 1fr)); }

.card-grid-services { counter-reset: svc; }

.card {
    position: relative;
    overflow: hidden;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease, border-color .28s ease;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    opacity: 0;
    transition: opacity .28s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--line-2);
    box-shadow: var(--shadow);
}

.card:hover::before { opacity: 1; }

.card h2, .card h3 {
    margin: 0 0 11px;
    font-size: 19.5px;
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: -.015em;
}

.card h2 a, .card h3 a { color: var(--ink); }
.card h2 a:hover, .card h3 a:hover { color: var(--brand); }

.card p { margin: 0 0 16px; color: var(--body); font-size: 15.5px; }
.card p:last-child { margin-bottom: 0; }

.card-plain { box-shadow: var(--shadow-sm); background: #fff; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--brand);
    font-size: 15px;
    font-weight: 700;
}
.card-link span { transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }

/* Số thứ tự cho thẻ dịch vụ */
.card-grid-services .card { counter-increment: svc; }

.card-grid-services .card::after {
    content: counter(svc, decimal-leading-zero);
    position: absolute;
    top: 22px; right: 24px;
    color: #c9d6ec;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: linear-gradient(135deg, #eaf1ff, #dbe7ff);
    color: var(--brand);
    box-shadow: inset 0 0 0 1px rgba(26, 92, 255, .12);
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Widget ước tính chi phí trong hero ---------- */
.hero-field-label {
    display: block;
    margin-bottom: 9px;
    color: #cfdcff;
    font-size: 13.5px;
    font-weight: 600;
}

.hero-select {
    width: 100%;
    padding: 13px 42px 13px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, .1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfdcff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 17px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.hero-select:focus { outline: none; border-color: rgba(255, 255, 255, .55); }
.hero-select option { background: #fff; color: var(--ink); }

.hero-quote {
    margin: 20px 0 22px;
    border-top: 1px dashed rgba(255, 255, 255, .16);
    border-bottom: 1px dashed rgba(255, 255, 255, .16);
}

.hero-quote-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}
.hero-quote-row + .hero-quote-row { border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-quote-row span { color: #8fa6cc; font-size: 14px; }
.hero-quote-row b {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-align: right;
}

.hero-quote-cta { width: 100%; }

.hero-panel-note { margin: 14px 0 0; color: #8fa6cc; font-size: 12.5px; line-height: 1.55; }

/* ---------- Giải pháp theo ngành ---------- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.industry-card {
    display: block;
    padding: 26px 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .26s cubic-bezier(.2, .7, .3, 1), box-shadow .26s ease, border-color .26s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-2);
    box-shadow: var(--shadow);
}

.industry-card .card-icon { width: 46px; height: 46px; margin-bottom: 16px; }

.industry-card h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.34;
}

.industry-card p { margin: 0 0 13px; color: var(--body); font-size: 15px; }

.industry-card::after {
    content: "Xem hướng triển khai →";
    display: block;
    color: var(--brand);
    font-size: 14.5px;
    font-weight: 700;
}
.industry-card:hover::after { color: var(--brand-dark); }

/* ---------- Bảng giá 3 tầng gói ---------- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(304px, 100%), 1fr));
    gap: 24px;
    align-items: start;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.plan:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }

.plan-featured {
    border-color: #bcd2ff;
    background: linear-gradient(180deg, #f7faff, #fff 42%);
    box-shadow: 0 30px 60px -34px rgba(26, 92, 255, .55);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f74ff, var(--brand));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px -10px rgba(26, 92, 255, .9);
}

.plan-name { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.plan-for { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }

.plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.plan-price b { color: var(--brand); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan-price em { color: var(--body); font-size: 14.5px; font-style: normal; }

.plan-features { margin: 0 0 22px; padding: 0; list-style: none; }

.plan-features li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 27px;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
}

.plan-features li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    line-height: 1.55;
}

.plan-features li.yes::before { content: "✓"; color: #00a693; }
.plan-features li.no { color: var(--muted); }
.plan-features li.no::before { content: "✕"; color: #c3cede; font-size: 13px; }

.plan-sub { margin: 0 0 18px; color: var(--body); font-size: 14px; }
.plan-sub b { color: var(--ink); }
.plan-cta { width: 100%; margin-top: auto; }

/* ---------- Dải liên hệ nhanh bên phải ---------- */
.contact-rail {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rail-btn {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(9, 20, 44, .7);
    transition: transform .2s ease;
}

.rail-btn:hover { color: #fff; transform: scale(1.09); }
.rail-btn svg { width: 22px; height: 22px; }

.rail-zalo { background: #0068ff; }
.rail-call { background: #1cb457; position: relative; }
.rail-mail { background: #334155; }

.rail-call::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    animation: railPulse 2.6s infinite;
}

@keyframes railPulse {
    0% { box-shadow: 0 0 0 0 rgba(28, 180, 87, .55); }
    70% { box-shadow: 0 0 0 14px rgba(28, 180, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(28, 180, 87, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .rail-call::after { animation: none; }
}

/* ==========================================================================
   HỆ THỐNG QUẢN LÝ
   ========================================================================== */
.system {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 84px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(780px 420px at 90% 4%, rgba(26, 92, 255, .14), transparent 62%),
        radial-gradient(680px 420px at 4% 98%, rgba(0, 200, 180, .16), transparent 62%),
        linear-gradient(132deg, #eef4ff 0%, #f6f1ff 38%, #fff2f7 68%, #ecfbf7 100%);
}

.system::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 92, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 92, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 74%);
    mask-image: radial-gradient(circle at 50% 0%, #000, transparent 74%);
    pointer-events: none;
}

.system-intro {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 54px;
}

.system-art { display: grid; place-items: center; }
.system-art svg { width: 100%; max-width: 330px; height: auto; }

.system-copy h2 {
    margin: 0 0 14px;
    color: #0b3ecb;
    font-size: clamp(28px, 3.5vw, 47px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.06;
    text-transform: uppercase;
}

.system-copy p {
    max-width: 590px;
    margin: 0 0 28px;
    color: #3d4d68;
    font-size: 17.5px;
    line-height: 1.62;
}

.system-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid #fff;
    border-radius: 14px;
    background: #fff;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.system-status svg { width: 24px; height: 24px; flex: none; color: #16a34a; }

/* ---------- Lưới module ---------- */
.module-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.module-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 22px 60px 22px 22px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 18px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    transition: transform .26s cubic-bezier(.2, .7, .3, 1), box-shadow .26s ease, background .26s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: var(--shadow);
}

.module-icon {
    display: grid;
    place-items: center;
    width: 62px; height: 62px;
    flex: none;
    border: 2px solid var(--accent-bg);
    border-radius: 50%;
    background: var(--accent-bg);
    color: var(--accent);
}

.module-icon svg { width: 28px; height: 28px; }

.module-body { display: block; min-width: 0; }

.module-card h3 {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.module-more { display: block; color: var(--accent); font-size: 13.5px; font-weight: 700; }

.module-card::after {
    content: "\203A";
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border: 1px solid var(--accent-bg);
    border-radius: 50%;
    color: var(--accent);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    transition: background .22s ease, color .22s ease;
}

.module-card:hover::after { background: var(--accent); color: #fff; }

@media (max-width: 1040px) {
    .system-intro { grid-template-columns: 1fr; gap: 34px; margin-bottom: 42px; }
    .system-art svg { max-width: 250px; }
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .module-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .module-card { padding: 18px 56px 18px 18px; gap: 15px; }
    .module-icon { width: 54px; height: 54px; }
    .module-icon svg { width: 25px; height: 25px; }
    .system-copy p { font-size: 16.5px; }
    .system-status { width: 100%; }
}

/* ==========================================================================
   TRANG CHỦ — HERO HỆ THỐNG
   ========================================================================== */
.sys-home {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 5.5vw, 84px) 0 clamp(48px, 5.5vw, 76px);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(760px 420px at 92% 2%, rgba(26, 92, 255, .16), transparent 62%),
        radial-gradient(680px 420px at 2% 100%, rgba(0, 200, 180, .16), transparent 62%),
        linear-gradient(132deg, #eef4ff 0%, #f6f1ff 38%, #fff2f7 68%, #ecfbf7 100%);
}

.sys-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 92, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 92, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(circle at 60% 0%, #000, transparent 76%);
    mask-image: radial-gradient(circle at 60% 0%, #000, transparent 76%);
    pointer-events: none;
}

.sys-home-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 56px;
    align-items: center;
}

.hero-badge-light {
    border-color: rgba(26, 92, 255, .22);
    background: rgba(255, 255, 255, .78);
    color: var(--brand-dark);
}
.hero-badge-light::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(26, 92, 255, .16); }

.sys-home h1 {
    margin: 0 0 18px;
    color: #0b3ecb;
    font-size: clamp(29px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.sys-home-lead {
    max-width: 560px;
    margin: 0 0 28px;
    color: #3d4d68;
    font-size: 17.5px;
    line-height: 1.62;
}
.sys-home-lead strong { color: var(--ink); }

/* Bản sáng của khung widget ước tính */
.hero-panel-light {
    padding: 24px 24px 20px;
    border: 1px solid rgba(26, 92, 255, .14);
    background: #fff;
    box-shadow: var(--shadow);
    backdrop-filter: none;
}
.hero-panel-light .hero-panel-title { color: var(--brand); }
.hero-panel-light .hero-field-label { color: var(--ink-2); }
.hero-panel-light .hero-select {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a75' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    border-color: var(--line-2);
    color: var(--ink);
}
.hero-panel-light .hero-select:focus { border-color: var(--brand); }
.hero-panel-light .hero-quote { border-color: var(--line); }
.hero-panel-light .hero-quote-row + .hero-quote-row { border-top-color: var(--line); }
.hero-panel-light .hero-quote-row span { color: var(--muted); }
.hero-panel-light .hero-quote-row b { color: var(--brand); }
.hero-panel-light .hero-panel-note { color: var(--muted); }

.sys-home-widget { max-width: 470px; }

.sys-home-right { text-align: center; }

.sys-home-art { display: grid; place-items: center; margin-bottom: 6px; }
.sys-home-art svg { width: 100%; max-width: 300px; height: auto; }

.sys-home-kicker {
    margin: 0 0 10px;
    color: #0b3ecb;
    font-size: clamp(24px, 2.9vw, 40px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.028em;
    text-transform: uppercase;
}

.sys-home-sub {
    max-width: 460px;
    margin: 0 auto 24px;
    color: #3d4d68;
    font-size: 16.5px;
    line-height: 1.6;
}

.sys-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/* ==========================================================================
   TRANG HỆ THỐNG — HERO VÀ BỐ CỤC CÓ CỘT BÊN
   ========================================================================== */
.sys-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 5vw, 72px) 0 clamp(56px, 6vw, 76px);
    border-bottom: 1px solid var(--line);
    text-align: center;
    background:
        radial-gradient(700px 380px at 88% 0%, rgba(26, 92, 255, .16), transparent 62%),
        radial-gradient(620px 380px at 4% 100%, rgba(0, 200, 180, .15), transparent 62%),
        linear-gradient(130deg, #eef4ff 0%, #f7f2ff 40%, #fff3f8 72%, #ecfbf7 100%);
}

.sys-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 92, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 92, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 74%);
    mask-image: radial-gradient(circle at 50% 0%, #000, transparent 74%);
    pointer-events: none;
}

.sys-hero > .container { position: relative; z-index: 2; }

.sys-hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.sys-hero h1 {
    max-width: 900px;
    margin: 0 auto 18px;
    color: #0b3ecb;
    font-size: clamp(27px, 3.6vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.sys-hero-lead {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #3d4d68;
    font-size: 17.5px;
    line-height: 1.62;
}

.sys-hero-art { display: grid; place-items: center; }
.sys-hero-art svg { width: 100%; max-width: 420px; height: auto; }

.sys-hero-scroll {
    display: inline-grid;
    place-items: center;
    width: 46px; height: 46px;
    margin-top: 22px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.sys-hero-scroll:hover { transform: translateY(4px); box-shadow: var(--shadow); color: var(--brand); }
.sys-hero-scroll svg { width: 22px; height: 22px; }

.sys-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
    padding-top: clamp(40px, 4.5vw, 64px);
    padding-bottom: clamp(48px, 6vw, 88px);
}

.sys-main { min-width: 0; }

.sys-block-title {
    margin: 0 0 12px;
    font-size: clamp(23px, 2.6vw, 33px);
    font-weight: 800;
    letter-spacing: -.025em;
}

.sys-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 9px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-2);
}

.sys-side-title {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sys-side-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.sys-side-item:hover { border-color: var(--brand); color: var(--brand); transform: translateX(3px); }
.sys-side-item span:last-child { color: var(--brand); font-weight: 700; }

.sys-side-cta {
    border-color: transparent;
    background: linear-gradient(135deg, #2f74ff, var(--brand) 60%, #0d44d4);
    color: #fff;
}
.sys-side-cta:hover { color: #fff; }
.sys-side-cta span:last-child { color: #fff; }

@media (max-width: 1040px) {
    .sys-home-grid { grid-template-columns: 1fr; gap: 40px; }
    .sys-home-widget { max-width: 100%; }
    .sys-layout { grid-template-columns: 1fr; gap: 34px; }
    .sys-side { position: static; order: -1; }
}

@media (max-width: 620px) {
    .sys-home { padding: 40px 0 44px; }
    .sys-home h1 { font-size: 27px; }
    .sys-home-kicker { font-size: 23px; }
    .sys-home-art svg { max-width: 220px; }
    .sys-home-actions .btn { width: 100%; }
    .sys-hero-art svg { max-width: 320px; }
    .sys-block-title { font-size: 22px; }
}

/* ---------- Khối từng module trên trang hệ thống ---------- */
.sys-block {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 104px;
}

.sys-block-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sys-block h2 {
    margin: 0 0 10px;
    font-size: clamp(21px, 2.3vw, 28px);
    font-weight: 800;
    letter-spacing: -.022em;
    scroll-margin-top: 104px;
}

.sys-block-lead { margin: 0 0 18px; color: var(--body); font-size: 16.5px; }

/* ---------- Danh sách ✓ ---------- */
.hl-list { margin: 0 0 22px; padding: 0; list-style: none; }

.hl-list li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 27px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.55;
}

.hl-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00a693;
    font-weight: 800;
}

/* ---------- Dãy chip hạng mục ---------- */
.feature-block {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px dashed var(--line-2);
}

.chip-title {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.chip-grid li {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--ink-2);
    font-size: 13.5px;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.chip-grid li:hover {
    border-color: var(--accent, var(--brand));
    background: #fff;
    color: var(--accent, var(--brand));
}

/* ---------- Khối CTA cuối trang hệ thống ---------- */
.sys-cta {
    margin-top: 48px;
    padding: 34px;
    border-radius: var(--radius);
    color: #fff;
    box-shadow: var(--shadow);
    background:
        radial-gradient(600px 300px at 88% 0%, rgba(0, 200, 180, .24), transparent 62%),
        linear-gradient(140deg, #071127, #12306e);
}

.sys-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -.025em;
}

.sys-cta p { max-width: 640px; margin: 0 0 22px; color: #b7c6e4; font-size: 16.5px; }

.sys-cta-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.sys-cta-points li {
    position: relative;
    padding-left: 26px;
    color: #dbe6fb;
    font-size: 15px;
    line-height: 1.5;
}

.sys-cta-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6ee3d4;
    font-weight: 800;
}

.sys-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sys-cta .btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    box-shadow: none;
}
.sys-cta .btn-ghost:hover { background: rgba(255, 255, 255, .17); color: #fff; }

@media (max-width: 620px) {
    .sys-cta { padding: 24px; }
    .sys-cta-actions .btn { width: 100%; }
    .chip-grid li { font-size: 13px; padding: 6px 12px; }
}

/* ==========================================================================
   TRANG TUYỂN DỤNG
   ========================================================================== */
.job-page {
    padding: 26px 0 80px;
    background: var(--bg-2);
}

.job-page .breadcrumb { margin-bottom: 18px; }

/* --- Trang danh sách vị trí --- */
.job-hub-head {
    margin-bottom: 26px;
    padding: 32px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(560px 260px at 92% 0%, rgba(26, 92, 255, .12), transparent 62%),
        linear-gradient(140deg, #f4f8ff, #ffffff 60%);
    box-shadow: var(--shadow-sm);
}

.job-hub-head h1 {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.job-hub-head p { max-width: 720px; margin: 0; color: var(--body); font-size: 17px; }

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 20px;
}

.job-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .26s cubic-bezier(.2, .7, .3, 1), box-shadow .26s ease, border-color .26s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-2);
    box-shadow: var(--shadow);
}

.job-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.job-card-logo {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2f74ff, var(--brand) 55%, #083bc4);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.job-card h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.32;
}

.job-card-company { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }

.job-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.job-card-facts li {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.job-card-link {
    margin-top: auto;
    color: var(--brand);
    font-size: 15px;
    font-weight: 700;
}

.job-card:hover .job-card-link { color: var(--brand-dark); }

.job-empty {
    padding: 28px;
    border: 1px dashed var(--line-2);
    border-radius: var(--radius);
    background: #fff;
    color: var(--body);
}
.job-empty p { margin: 0; }

/* --- Thẻ tiêu đề --- */
.job-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.job-head-main {
    display: flex;
    flex: 1 1 420px;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
}

.job-logo {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    flex: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #2f74ff, var(--brand) 55%, #083bc4);
    box-shadow: 0 12px 24px -14px rgba(26, 92, 255, .9);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .04em;
}

.job-head-text { min-width: 0; }

.job-head h1 {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.job-company { margin: 0 0 12px; color: var(--muted); font-size: 15px; font-weight: 600; }

.job-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.job-chip {
    padding: 5px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
}

.job-chip-salary { border-color: #b9e8d4; background: #e8f8f1; color: #0f7a4d; }
.job-chip-new { border-color: #ffd9a8; background: #fff3e0; color: #b26a00; }

.job-head-cta { flex: none; }

/* --- Bố cục hai cột --- */
.job-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.job-main {
    min-width: 0;
    padding: 30px 32px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.job-main .article-body > h2:first-child { margin-top: 0; }

.job-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.job-side-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.job-side-card h3 {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.job-side-card p { margin: 0 0 8px; font-size: 14.5px; }

.job-apply-btn { width: 100%; margin-bottom: 18px; }

.job-facts { margin: 0; padding: 0; list-style: none; }

.job-facts li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
}

.job-facts li:first-child { padding-top: 0; border-top: 0; }
.job-facts span { flex: none; color: var(--muted); }
.job-facts b { color: var(--ink); font-weight: 700; text-align: right; }

.job-posted { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

/* --- Khối ứng tuyển cuối bài --- */
.job-apply {
    margin-top: 42px;
    padding: 28px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: linear-gradient(140deg, #f2f7ff, #fbfdff);
}

.job-apply h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.job-apply p { margin: 0 0 18px; color: var(--body); }
.job-apply .hero-actions { margin-bottom: 0; }

@media (max-width: 1040px) {
    .job-layout { grid-template-columns: 1fr; }
    .job-side { position: static; order: -1; }
}

@media (max-width: 620px) {
    .job-page { padding: 20px 0 60px; }
    .job-head { padding: 20px; gap: 18px; }
    .job-head-main { flex: 1 1 100%; }
    .job-head-cta { width: 100%; }
    .job-main { padding: 22px 20px; }
    .job-apply { padding: 22px; }
    .job-apply .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(820px 380px at 84% 4%, rgba(0, 200, 180, .22), transparent 62%),
        radial-gradient(700px 420px at 4% 108%, rgba(26, 92, 255, .38), transparent 62%),
        linear-gradient(142deg, #050c1c, #102a63);
}

.cta-band h2 { color: #fff; }
.cta-band p { max-width: 680px; color: #b7c6e4; font-size: 17.5px; }

.cta-band .btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    box-shadow: none;
}
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .17); color: #fff; }

/* ==========================================================================
   ARTICLE / NỘI DUNG MARKDOWN
   ========================================================================== */
.article {
    max-width: 852px;
    padding: 46px 24px 96px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--line-2); }
.breadcrumb span:last-child { color: var(--body); }

.article-header { margin-bottom: 34px; }

.article-header h1 {
    margin: 0 0 18px;
    font-size: clamp(27px, 3.3vw, 41px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.028em;
}

.article-lead {
    margin: 0 0 14px;
    padding-left: 17px;
    border-left: 3px solid var(--brand);
    color: var(--body);
    font-size: 18.5px;
    line-height: 1.62;
}

.article-body {
    font-size: 17px;
    color: var(--ink-2);
}

/* Căn đều hai bên cho đoạn văn và gạch đầu dòng của phần nội dung */
.article-body p,
.article-body li {
    text-align: justify;
    text-justify: inter-word;
}

.article-body > p:first-child {
    font-size: 18.5px;
    color: var(--ink);
}

.article-body h2 {
    margin: 50px 0 16px;
    color: var(--ink);
    font-size: clamp(21px, 2.3vw, 28px);
    font-weight: 800;
    letter-spacing: -.022em;
    line-height: 1.28;
    scroll-margin-top: 104px;
}

.article-body h3 {
    margin: 34px 0 12px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    scroll-margin-top: 104px;
}

.article-body h4 { margin: 26px 0 10px; font-size: 17.5px; font-weight: 700; }

.article-body p { margin: 0 0 17px; }

.article-body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 6px 0 10px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.article-body a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(26, 92, 255, .32);
    text-underline-offset: 3px;
}
.article-body a:hover { text-decoration-color: var(--brand); }

.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 26px; }
.article-body li { margin-bottom: 9px; }
.article-body li::marker { color: var(--brand); font-weight: 700; }

.article-body strong { color: var(--ink); font-weight: 700; }

.article-body ul li > input[type="checkbox"] { margin-right: 8px; }

.article-body table {
    width: 100%;
    margin: 26px 0;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-size: 15.5px;
}

.article-body th,
.article-body td {
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.article-body th {
    background: var(--bg-2);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.article-body tbody tr:nth-child(even) { background: #fafcff; }
.article-body tr:last-child td { border-bottom: none; }

.article-body blockquote {
    margin: 26px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: linear-gradient(100deg, #eef4ff, #f7faff);
    color: var(--ink-2);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px dashed var(--line-2);
}

.article-body code {
    padding: 3px 7px;
    border-radius: 6px;
    background: #eef2f9;
    color: #123a8f;
    font-family: "Cascadia Code", "Consolas", "SFMono-Regular", monospace;
    font-size: 14.5px;
}

.article-body pre {
    margin: 26px 0;
    padding: 20px 22px;
    border-radius: var(--radius-sm);
    background: #0a1224;
    color: #dde7f5;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}
.article-body pre code { padding: 0; background: none; color: inherit; font-size: 14px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { margin-top: 56px; }

.faq h2 {
    margin: 0 0 20px;
    font-size: clamp(21px, 2.3vw, 28px);
    font-weight: 800;
    letter-spacing: -.022em;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[open] { border-color: #c9d9f8; box-shadow: var(--shadow); }

.faq-item summary {
    position: relative;
    padding: 18px 56px 18px 20px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
    font-size: 16.5px;
    font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%; right: 20px;
    transform: translateY(-50%);
    color: var(--brand);
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    transition: transform .22s ease;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--body);
    font-size: 16px;
}

/* ==========================================================================
   ARTICLE CTA
   ========================================================================== */
.article-cta {
    margin-top: 56px;
    padding: 32px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background:
        radial-gradient(520px 220px at 100% 0%, rgba(0, 200, 180, .1), transparent 60%),
        linear-gradient(140deg, #f2f7ff, #fbfdff);
    box-shadow: var(--shadow-sm);
}

.article-cta h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.article-cta p { margin: 0 0 20px; color: var(--body); }
.article-cta .hero-actions { margin-bottom: 0; }
.article-cta .btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.article-cta .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    margin-top: 0;
    padding: 68px 0 0;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(26, 92, 255, .18), transparent 66%),
        #050b18;
    color: #8fa2c0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
    gap: 42px;
    padding-bottom: 46px;
}

.site-footer h3 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.site-footer p { margin: 0 0 11px; font-size: 14.5px; line-height: 1.68; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: 14.5px; }
.site-footer a { color: #8fa2c0; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #6b7c99;
    font-size: 13.5px;
}

/* ==========================================================================
   FORM LIÊN HỆ
   ========================================================================== */
.contact-form {
    display: grid;
    gap: 18px;
    max-width: 640px;
    margin: 30px 0 8px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-row { display: grid; gap: 7px; }

.form-row label { color: var(--ink-2); font-size: 14.5px; font-weight: 700; }

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 15.5px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(26, 92, 255, .12);
}

.form-row textarea { min-height: 118px; resize: vertical; }
.contact-form .btn { justify-self: start; }

/* ==========================================================================
   TEAM & THUẬT NGỮ
   ========================================================================== */
.team-card { display: grid; gap: 10px; }
.team-card .role {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.team-card ul { margin: 0; padding-left: 20px; }

.glossary dt { margin-top: 22px; color: var(--ink); font-size: 17px; font-weight: 800; }
.glossary dd { margin: 7px 0 0; color: var(--body); }

/* ==========================================================================
   QUY TRÌNH LÀM VIỆC — 4 GIAI ĐOẠN
   ========================================================================== */
.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.process::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 9px, transparent 9px 18px);
}

.step { position: relative; text-align: center; }

.step-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    border: 5px solid var(--bg-2);
    border-radius: 50%;
    background: linear-gradient(135deg, #2f74ff, var(--brand) 60%, #0d44d4);
    box-shadow: 0 14px 26px -12px rgba(26, 92, 255, .85);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.34;
}

.step-meta {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 13px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.step p { margin: 0; color: var(--body); font-size: 15px; }

@media (max-width: 1040px) {
    .process { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .process::before { display: none; }
    .step { text-align: left; }
    .step-num { margin-left: 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
    .header-cta .phone { display: none; }
}

@media (max-width: 1040px) {
    .hero { padding: 68px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-panel { max-width: 560px; }

    .nav-toggle-btn { display: inline-flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        margin: 0;
        padding: 8px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 34px 60px -34px rgba(6, 14, 34, .55);
    }

    .nav-toggle:checked ~ .main-nav { display: flex; }

    .main-nav > a,
    .nav-dropdown > a {
        padding: 14px 2px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }
    .main-nav > a::after, .nav-dropdown > a::after { display: none; }

    .nav-dropdown { display: block; }
    .nav-dropdown-panel {
        position: static;
        display: block;
        min-width: 0;
        padding: 4px 0 10px 14px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .nav-dropdown-panel a { padding: 9px 2px; }

    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
    .stat:nth-child(odd) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line-2); padding-top: 20px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 720px) {
    body { padding-bottom: 74px; }
    .topbar { display: none; }
    .header-inner { min-height: 68px; gap: 16px; }
    .brand-text small { display: none; }
    .header-cta .phone { display: none; }
    .nav-toggle-btn { margin-left: auto; width: 44px; height: 44px; }
    .main-nav { max-height: calc(100vh - 68px); }

    .hero { padding: 54px 0 50px; }
    .hero h1 { font-size: 30px; }
    .hero-lead { font-size: 16.5px; }
    .hero-actions .btn { width: 100%; }
    .hero-metric { flex-direction: column; gap: 4px; }
    .hero-metric b { min-width: 0; }

    .section { padding: 50px 0; }
    .section-lead { margin-bottom: 32px; }

    .article { padding: 32px 20px 72px; }
    .article-body { font-size: 16.5px; }
    .article-body table { display: block; overflow-x: auto; font-size: 14.5px; }
    .article-body th, .article-body td { padding: 10px 12px; }
    .article-cta { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .contact-rail { top: auto; bottom: 14px; right: 12px; left: 12px; transform: none; flex-direction: row; justify-content: flex-end; gap: 9px; }
    .rail-btn { width: 43px; height: 43px; }
    .plan { padding: 28px 22px; }
    .plan-badge { left: 22px; }
}

@media (max-width: 560px) {
    .header-cta { display: none; }
    .process { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 0; }
    .stat { padding: 14px 0; border-left: 0; text-align: left; }
    .stat:nth-child(n+2) { border-top: 1px solid var(--line-2); }
}

@media (max-width: 420px) {
    .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }
    .brand-text strong { font-size: 15.5px; }
    .brand { gap: 11px; }
    .header-inner { gap: 12px; }
    .container { padding: 0 18px; }
}

@media (max-width: 360px) {
    .brand-text { display: none; }
    .brand-mark { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .card:hover, .btn:hover { transform: none; }
}
