/* Interactive: Khung tiêu chuẩn “Xã, phường, đặc khu tiêu biểu” - Nghị định 375/2026/NĐ-CP */

:root {
    --red: #C21807;
    --red-dark: #8C1104;
    --red-deep: #5B0B03;
    --red-soft: #FFF5F5;
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --gold-soft: #FEF3C7;
    --ink: #0F172A;
    --ink-2: #1E293B;
    --ink-3: #334155;
    --muted: #526073;
    --line: #E2E8F0;
    --bg: #F8FAFC;
    --g1: #C21807;
    --g2: #D97706;
    --g3: #7C3AED;
    --g4: #059669;
    --g5: #2563EB;
    --g6: #DB2777;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--ink-2);
    background-color: #fff;
    background-image: radial-gradient(#f1e4e2 1.4px, transparent 1.4px);
    background-size: 24px 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, h4, p { margin: 0; }
strong { font-weight: 700; }
button { font-family: inherit; }

/* ── HEADER (theo mẫu longform) ── */
.longform-header {
    position: sticky; top: 0; z-index: 500;
    background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; height: 52px;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.longform-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #8C1104 0%, #C21807 50%, #F59E0B 100%);
}
.longform-header h2 { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: 1; }
.longform-header .logo {
    width: 180px; height: 24px;
    background: url(https://cdn.baohatinh.vn/assets/web/styles/img/logo.svg) 0 0 no-repeat;
    display: block; text-indent: -999em;
}
.longform-header .headline {
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: #1a1a1a; text-decoration: none; transition: color .2s;
}
.longform-header .headline:hover { color: var(--red); }
.lf-share-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 14px; background: #1877f2; color: #fff;
    font-size: 12px; font-weight: 600; border-radius: 4px; text-decoration: none;
    transition: background .2s; line-height: 1.4;
}
.lf-share-btn:hover { background: #1565d8; }
.lf-share-btn i { font-size: 11px; }
/* thanh tiến độ đọc */
.read-progress {
    position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ── HERO ── */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(245,158,11,.28) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(252,211,77,.14) 0%, transparent 45%),
        linear-gradient(160deg, #3D0702 0%, #8C1104 45%, #B3200C 100%);
}
.hero-grid {
    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: 40px 40px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-sun {
    position: absolute; right: -260px; top: 50%; width: 760px; height: 760px;
    transform: translateY(-50%); opacity: .09; pointer-events: none;
    animation: sun-spin 120s linear infinite;
}
@keyframes sun-spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero-inner {
    position: relative; z-index: 2;
    max-width: 1160px; margin: 0 auto; padding: 72px 20px 80px;
    display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center;
}
.hero-chip {
    display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 6px 16px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
    font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-light);
}
.hero h1 { margin-top: 22px; font-weight: 900; line-height: 1.18; }
.hero h1 .t-small {
    display: block; font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 700;
    color: #FDE8E4; letter-spacing: .01em; line-height: 1.45;
}
.hero h1 .t-big {
    display: block; margin-top: 12px;
    font-size: clamp(2rem, 5.4vw, 3.6rem); text-transform: uppercase; letter-spacing: -.01em;
    color: #fff;
}
.hero h1 .t-big em {
    font-style: normal; color: var(--gold-light);
    background: linear-gradient(90deg, #FDE68A, #F59E0B);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gold-line {
    display: block; width: 64px; height: 3px; margin: 26px 0;
    background: linear-gradient(90deg, #FDE68A 0%, #F59E0B 60%, transparent 100%);
    border-radius: 2px;
}
.hero-sapo {
    font-size: .92rem; line-height: 1.85; font-weight: 300; color: #FDE8E4; max-width: 620px;
}
.hero-sapo strong { color: #fff; font-weight: 700; }
.hero-nav {
    margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px;
}
.nav-btn {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 14px; border-radius: 14px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600; line-height: 1.35;
    backdrop-filter: blur(4px); transition: all .25s ease;
}
.nav-btn i { color: var(--gold-light); width: 16px; text-align: center; }
.nav-btn:hover { background: #fff; color: var(--red-dark); }
.nav-btn:hover i { color: var(--red); }

/* hero card – vòng 24 tiêu chí */
.hero-card {
    position: relative; padding: 28px 24px 22px; border-radius: 28px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px); text-align: center;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.hero-card .ring-wrap { position: relative; width: 100%; max-width: 330px; margin: 0 auto; }
.hero-card svg { width: 100%; height: auto; display: block; overflow: visible; }
.ring-center {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; pointer-events: none;
}
.ring-center .n { font-size: 3.6rem; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ring-center .l { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-top: 6px; }
.ring-center .s { font-size: .75rem; color: #FDE8E4; margin-top: 4px; }
.hero-legend { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; text-align: left; }
.hero-legend span { font-size: .71rem; color: #FDE8E4; display: flex; align-items: center; gap: 7px; line-height: 1.3; }
.hero-legend i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; display: inline-block; }
.seg { transition: opacity .4s ease, transform .4s ease; transform-origin: 160px 160px; }
.hero-card .seg { opacity: 0; }
.hero-card .seg.on { opacity: 1; }

.hero-stats {
    position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 0 20px 56px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hstat {
    padding: 18px 20px; border-radius: 18px;
    background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.12);
}
.hstat .v { font-size: 1.9rem; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hstat .v small { font-size: .8rem; font-weight: 700; color: var(--gold-light); margin-left: 2px; }
.hstat .k { margin-top: 8px; font-size: .75rem; line-height: 1.45; color: #FDE8E4; }

/* ── LAYOUT ── */
main { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section.blk { padding: 76px 0; scroll-margin-top: 60px; }
.section-sep { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.section-badge {
    width: 3rem; height: 3rem; flex-shrink: 0; border-radius: .875rem;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900; font-size: 1.05rem;
    background: linear-gradient(135deg, #C21807 0%, #8C1104 100%);
    box-shadow: 0 4px 14px rgba(194,24,7,.38), inset 0 1px 0 rgba(255,255,255,.18);
    position: relative; overflow: hidden;
}
.section-badge::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: rgba(255,255,255,.08); }
.section-kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.sec-title { font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 900; text-transform: uppercase; color: var(--ink); line-height: 1.4; letter-spacing: .01em; }
.lead { font-size: .9rem; line-height: 1.85; color: var(--ink-3); max-width: 860px; margin-bottom: 30px; }
.lead strong { color: var(--ink); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 10px 30px -5px rgba(194,24,7,.07), 0 4px 12px -2px rgba(194,24,7,.03);
}
.muted { color: var(--muted); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-sun { animation: none; }
}

/* ── 01: ĐIỂM MỚI ── */
.rename {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch;
    overflow: hidden;
}
.rename-col { padding: 30px 30px 28px; }
.rename-col.old { background: #F8FAFC; }
.rename-col .tag { display: inline-flex; align-items: center; gap: 6px; font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.rename-col.old .tag { background: #E2E8F0; color: #475569; }
.rename-col.new .tag { background: var(--red-soft); color: var(--red); border: 1px solid #FECACA; }
.rename-col .ttl { margin-top: 16px; font-size: .78rem; line-height: 1.65; color: var(--ink-3); }
.rename-col .ttl b { font-weight: 800; }
.rename-col.old .ttl .x { color: #94A3B8; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.rename-col .word {
    margin-top: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.15;
}
.rename-col.old .word { color: #94A3B8; }
.rename-col.old .word .hl { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.rename-col.new .word { color: var(--ink); }
.rename-col.new .word .hl { color: var(--red); position: relative; }
.rename-col.new .word .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; background: var(--gold-light); opacity: .55; border-radius: 3px; z-index: -1; }
.rename-arrow { display: flex; align-items: center; justify-content: center; padding: 0 6px; background: linear-gradient(90deg, #F8FAFC 50%, #fff 50%); }
.rename-arrow span {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    box-shadow: 0 8px 22px -4px rgba(194,24,7,.45);
}
.rename-note { padding: 14px 30px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); line-height: 1.6; grid-column: 1 / -1; background: #fff; }
.rename-note i { color: var(--gold); margin-right: 6px; }

.changes { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chg {
    position: relative; padding: 22px 22px 20px; border-radius: 20px; background: #fff;
    border: 1px solid var(--line); cursor: pointer; text-align: left; width: 100%;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
    font-family: inherit; color: inherit;
}
.chg:hover, .chg[aria-expanded="true"] { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(194,24,7,.25); border-color: #FECACA; }
.chg .ico { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 14px; }
.chg .num { position: absolute; top: 18px; right: 20px; font-size: .71rem; font-weight: 800; color: #CBD5E1; letter-spacing: .1em; }
.chg h3 { font-size: .8rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.chg p.sum { margin-top: 6px; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.chg .more {
    max-height: 0; overflow: hidden; transition: max-height .45s ease, margin .45s ease;
    font-size: .8rem; line-height: 1.7; color: var(--ink-3);
}
.chg[aria-expanded="true"] .more { max-height: 420px; margin-top: 12px; }
.chg .more blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: #FFFBEB; border-radius: 0 10px 10px 0; font-style: italic; }
.chg .tgl { margin-top: 12px; font-size: .73rem; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.chg .tgl i { transition: transform .3s; }
.chg[aria-expanded="true"] .tgl i { transform: rotate(180deg); }

/* ── 02: KHUNG 24 TIÊU CHÍ + TỰ ĐÁNH GIÁ ── */
.assess { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.assess-side { position: sticky; top: 74px; padding: 26px 22px; text-align: center; }
.assess-side .ring-wrap { position: relative; max-width: 270px; margin: 0 auto; }
.assess-side svg { width: 100%; height: auto; display: block; }
.assess-side .ring-center .n { color: var(--ink); font-size: 3rem; }
.assess-side .ring-center .n small { font-size: 1.1rem; color: #94A3B8; font-weight: 700; }
.assess-side .ring-center .l { color: var(--red); }
.assess-side .seg { opacity: .14; }
.assess-side .seg.on { opacity: 1; }
.assess-msg { margin-top: 16px; font-size: .84rem; line-height: 1.6; color: var(--ink-3); min-height: 3.3em; }
.assess-msg b { color: var(--red); }
.grp-bars { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.grp-bar { display: grid; grid-template-columns: 22px 1fr 34px; gap: 8px; align-items: center; font-size: .71rem; color: var(--muted); cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
.grp-bar .rn { font-weight: 900; font-size: .73rem; }
.grp-bar .tr { height: 7px; border-radius: 4px; background: #F1F5F9; overflow: hidden; }
.grp-bar .tr i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .5s cubic-bezier(.16,1,.3,1); }
.grp-bar .ct { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.assess-actions { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-sm {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: var(--ink-3);
    font-size: .73rem; font-weight: 700; cursor: pointer; transition: all .2s;
}
.btn-sm:hover { border-color: #FECACA; color: var(--red); }
.btn-sm.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-sm.primary:hover { background: var(--red-dark); color: #fff; }

.groups { display: flex; flex-direction: column; gap: 14px; }
.grp { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #fff; scroll-margin-top: 70px; transition: box-shadow .3s; }
.grp.flash { box-shadow: 0 0 0 3px var(--c); }
.grp-head {
    width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: none; border: 0; cursor: pointer; text-align: left; color: inherit;
}
.grp-head .rn {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: .78rem; color: #fff; background: var(--c);
    box-shadow: 0 6px 16px -6px var(--c);
}
.grp-head .tt { flex: 1; }
.grp-head .tt b { display: block; font-size: .8rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.grp-head .tt span { display: block; margin-top: 3px; font-size: .73rem; color: var(--muted); }
.grp-head .cnt { font-size: .78rem; font-weight: 800; color: var(--c); background: var(--cs); padding: 5px 10px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.grp-head .chev { color: #94A3B8; transition: transform .3s; font-size: .84rem; }
.grp.open .grp-head .chev { transform: rotate(180deg); }
.grp-body { display: none; padding: 0 20px 18px; }
.grp.open .grp-body { display: block; }
.crit {
    display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; margin-top: 8px;
    border-radius: 14px; border: 1px solid #F1F5F9; background: #FBFCFE; cursor: pointer;
    transition: background .25s, border-color .25s;
}
.crit:hover { border-color: var(--cs2); }
.crit input { position: absolute; opacity: 0; pointer-events: none; }
.crit .box {
    width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px; border: 2px solid #CBD5E1; background: #fff;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: .75rem; margin-top: 1px;
    transition: all .2s;
}
.crit input:checked + .box { background: var(--c); border-color: var(--c); }
.crit input:focus-visible + .box { outline: 3px solid var(--cs2); outline-offset: 2px; }
.crit .box i { opacity: 0; transform: scale(.4); transition: all .2s; }
.crit input:checked + .box i { opacity: 1; transform: none; }
.crit .tx { font-size: .89rem; line-height: 1.7; color: var(--ink-3); }
.crit .tx .no { font-weight: 900; color: var(--c); margin-right: 4px; }
.crit:has(input:checked) { background: var(--cs); border-color: var(--cs2); }
.crit .tags { display: inline-flex; gap: 5px; flex-wrap: wrap; margin-left: 6px; vertical-align: middle; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: .61rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.chip.digi { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.chip.link { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.chip.env { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.chip.ppl { background: #FDF2F8; color: #BE185D; border: 1px solid #FBCFE8; }
.assess-note { margin-top: 16px; display: flex; gap: 10px; padding: 14px 18px; border-radius: 14px; background: #FFFBEB; border: 1px solid #FDE68A; font-size: .78rem; line-height: 1.65; color: #92400E; }
.assess-note i { color: var(--gold); margin-top: 3px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.filter-row .lb { font-size: .73rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }
.fbtn { border: 1px solid var(--line); background: #fff; color: var(--ink-3); font-size: .73rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: all .2s; display: inline-flex; gap: 6px; align-items: center; }
.fbtn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.crit.is-dim { opacity: .28; }

/* ── 03: 3 DANH HIỆU ── */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.lvl {
    position: relative; padding: 26px 24px 24px; text-align: left; cursor: pointer;
    border: 1px solid var(--line); background: #fff; font-family: inherit; color: inherit;
    transition: all .3s ease;
}
.lvl:first-child { border-radius: 22px 0 0 22px; }
.lvl:last-child { border-radius: 0 22px 22px 0; }
.lvl + .lvl { border-left: 0; }
.lvl .lv-ic { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; background: var(--red-soft); color: var(--red); transition: all .3s; }
.lvl .lv-k { margin-top: 14px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lvl .lv-t { margin-top: 4px; font-size: .92rem; font-weight: 900; color: var(--ink); line-height: 1.35; }
.lvl .lv-n { margin-top: 14px; display: flex; gap: 18px; }
.lvl .lv-n div b { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.lvl .lv-n div span { font-size: .68rem; color: var(--muted); }
.lvl.is-active { background: linear-gradient(150deg, #8C1104, #C21807); border-color: transparent; color: #fff; box-shadow: 0 22px 40px -18px rgba(140,17,4,.6); z-index: 2; transform: translateY(-6px); }
.lvl.is-active .lv-ic { background: rgba(255,255,255,.15); color: var(--gold-light); }
.lvl.is-active .lv-k { color: var(--gold-light); }
.lvl.is-active .lv-t { color: #fff; }
.lvl.is-active .lv-n div b { color: #fff; }
.lvl.is-active .lv-n div span { color: #FDE8E4; }
.lvl .arrow-link {
    position: absolute; right: -15px; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: .73rem;
    box-shadow: 0 4px 12px rgba(217,119,6,.45);
}
.link-hint { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.link-hint div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: #FFFBEB; border: 1px dashed #FCD34D; font-size: .8rem; line-height: 1.65; color: #78350F; }
.link-hint i { color: var(--gold); font-size: .9rem; margin-top: 2px; }
.frame { margin-top: 22px; padding: 26px; }
.frame-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.frame-head .k { font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.frame-head .t { font-size: 1rem; font-weight: 900; color: var(--ink); margin-top: 3px; }
.frame-head .src { font-size: .71rem; color: var(--muted); font-style: italic; }
.frame-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.fcol { border-radius: 16px; border: 1px solid #F1F5F9; background: #FBFCFE; padding: 16px 16px 12px; }
.fcol h4 { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; font-weight: 800; color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.fcol h4 .rn { flex-shrink: 0; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px; background: var(--red); color: #fff; font-size: .73rem; display: flex; align-items: center; justify-content: center; }
.fcol ol { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.fcol li { counter-increment: c; position: relative; padding: 7px 0 7px 26px; font-size: .78rem; line-height: 1.65; color: var(--ink-3); border-top: 1px dashed #E2E8F0; }
.fcol li::before { content: counter(c); position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #FECACA; color: var(--red); font-size: .61rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.frame-fade { animation: fadeIn .45s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── 04: ĐIỂM NHẤN ── */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.theme {
    position: relative; overflow: hidden; padding: 24px 20px 20px; border-radius: 22px; border: 1px solid var(--line); background: #fff;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.theme:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(15,23,42,.18); }
.theme::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c); }
.theme .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--cs); color: var(--c); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.theme h3 { margin-top: 14px; font-size: .82rem; font-weight: 900; color: var(--ink); line-height: 1.4; }
.theme .cnt { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.theme .cnt b { font-size: 2rem; font-weight: 900; color: var(--c); line-height: 1; }
.theme .cnt span { font-size: .73rem; color: var(--muted); }
.theme ul { margin: 12px 0 0; padding: 0; list-style: none; }
.theme li { font-size: .75rem; line-height: 1.6; color: var(--ink-3); padding: 7px 0; border-top: 1px dashed var(--line); display: flex; gap: 8px; }
.theme li .lv { flex-shrink: 0; font-size: .61rem; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: var(--cs); color: var(--c); height: fit-content; margin-top: 2px; white-space: nowrap; }
.theme .show-btn { margin-top: 12px; border: 0; background: none; color: var(--c); font-size: .73rem; font-weight: 800; cursor: pointer; padding: 0; display: inline-flex; gap: 6px; align-items: center; }

.satis {
    margin-top: 26px; border-radius: 26px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, #0F172A, #1E293B); color: #fff; padding: 34px;
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center;
}
.satis::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 32px 32px; }
.satis > * { position: relative; }
.satis .k { font-size: .71rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.satis h3 { margin-top: 8px; font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 900; line-height: 1.4; }
.satis p { margin-top: 12px; font-size: .84rem; line-height: 1.8; color: #CBD5E1; }
.satis-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.satis-item { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.satis-item i { color: #F9A8D4; font-size: 1rem; }
.satis-item b { display: block; margin-top: 10px; font-size: .82rem; font-weight: 700; line-height: 1.5; color: #F1F5F9; }
.satis-item span { display: block; margin-top: 4px; font-size: .68rem; color: #94A3B8; }

/* ── 05: HIỆU LỰC & CHUYỂN TIẾP ── */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-bottom: 26px; }
.timeline::before { content: ''; position: absolute; left: 8%; right: 8%; top: 27px; height: 3px; background: linear-gradient(90deg, #E2E8F0, var(--red), var(--gold)); border-radius: 2px; }
.tl { position: relative; text-align: center; padding: 0 14px; }
.tl .dot { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1rem; position: relative; z-index: 1; }
.tl.on .dot { border-color: var(--red); color: var(--red); }
.tl.hot .dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(194,24,7,.12); }
.tl .d { margin-top: 14px; font-size: 1.05rem; font-weight: 900; color: var(--ink); }
.tl .e { margin-top: 4px; font-size: .78rem; line-height: 1.6; color: var(--muted); }
.tl.hot .d { color: var(--red); }

.wizard { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.wz-q { padding: 30px; border-right: 1px solid var(--line); }
.wz-q .k { font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.wz-q h3 { margin-top: 6px; font-size: .95rem; font-weight: 900; color: var(--ink); line-height: 1.45; }
.wz-step { margin-top: 20px; }
.wz-step.is-hidden { display: none; }
.wz-step .q { font-size: .87rem; font-weight: 700; color: var(--ink-3); line-height: 1.6; display: flex; gap: 10px; }
.wz-step .q .sn { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .68rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.wz-opts { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-left: 32px; }
.wz-opt { padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: .78rem; font-weight: 700; color: var(--ink-3); cursor: pointer; text-align: left; line-height: 1.45; transition: all .2s; display: flex; gap: 8px; align-items: center; }
.wz-opt:hover { border-color: #FECACA; }
.wz-opt.is-active { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.wz-a { padding: 30px; background: #F8FAFC; display: flex; flex-direction: column; justify-content: center; }
.wz-empty { text-align: center; color: #94A3B8; font-size: .84rem; line-height: 1.7; }
.wz-empty i { font-size: 2rem; color: #CBD5E1; display: block; margin-bottom: 12px; }
.wz-res { animation: fadeIn .45s ease; }
.wz-res .badge { display: inline-flex; align-items: center; gap: 7px; font-size: .71rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.wz-res.new .badge { background: var(--red); color: #fff; }
.wz-res.old .badge { background: #334155; color: #fff; }
.wz-res h4 { margin-top: 14px; font-size: .95rem; font-weight: 900; color: var(--ink); line-height: 1.45; }
.wz-res ul { margin: 14px 0 0; padding: 0; list-style: none; }
.wz-res li { display: flex; gap: 10px; font-size: .8rem; line-height: 1.65; color: var(--ink-3); padding: 8px 0; border-top: 1px dashed var(--line); }
.wz-res li i { color: var(--red); margin-top: 4px; font-size: .68rem; }
.wz-res .cite { margin-top: 14px; font-size: .71rem; color: var(--muted); font-style: italic; }

.duty { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duty .item { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; gap: 14px; }
.duty .item .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.duty .item b { display: block; font-size: .89rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.duty .item p { margin-top: 5px; font-size: .75rem; line-height: 1.65; color: var(--muted); }

.sign { margin-top: 26px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-radius: 20px; background: var(--red-soft); border: 1px solid #FECACA; }
.sign .l { font-size: .8rem; color: var(--ink-3); line-height: 1.7; }
.sign .l b { color: var(--ink); }
.sign .r { text-align: right; }
.sign .r .k { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.sign .r .n { margin-top: 3px; font-size: .9rem; font-weight: 900; color: var(--ink); }

/* ── FOOTER ── */
footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 20px 135px; position: relative; color: var(--muted); }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #8C1104, #C21807, #F59E0B); }
footer .in { max-width: 1160px; margin: 0 auto; }
footer .cr { text-align: center; font-size: .75rem; margin-bottom: 4px; }
footer .row { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .75rem; font-weight: 500; }
.top-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); font-size: .75rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.top-btn:hover { color: var(--red); border-color: #FECACA; }
.top-btn i { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .hero-card { max-width: 440px; width: 100%; margin: 0 auto; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .assess { grid-template-columns: 1fr; }
    .assess-side { position: relative; top: 0; }
    .themes { grid-template-columns: 1fr 1fr; }
    .changes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    html { font-size: 17px; }
    .hero-nav { grid-template-columns: 1fr 1fr; }
    section.blk { padding: 56px 0; }
    .rename { grid-template-columns: 1fr; }
    .rename-arrow { padding: 0; height: 0; position: relative; background: none; z-index: 2; }
    .rename-arrow span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) rotate(90deg); width: 44px; height: 44px; }
    .rename-col { padding: 26px 22px; }
    .rename-note { padding: 14px 22px; }
    .changes { grid-template-columns: 1fr; }
    .ladder { grid-template-columns: 1fr; gap: 0; }
    .lvl:first-child { border-radius: 22px 22px 0 0; }
    .lvl:last-child { border-radius: 0 0 22px 22px; }
    .lvl + .lvl { border-left: 1px solid var(--line); border-top: 0; }
    .lvl .arrow-link { right: 50%; top: auto; bottom: -15px; transform: translateX(50%) rotate(90deg); }
    .lvl.is-active { transform: none; }
    .link-hint { grid-template-columns: 1fr; }
    .frame { padding: 18px; }
    .themes { grid-template-columns: 1fr; }
    .satis { grid-template-columns: 1fr; padding: 26px 20px; }
    .timeline { grid-template-columns: 1fr; gap: 22px; }
    .timeline::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, #E2E8F0, var(--red), var(--gold)); }
    .tl { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; padding: 0; }
    .tl .dot { margin: 0; grid-row: span 2; }
    .tl .d { margin-top: 6px; }
    .wizard { grid-template-columns: 1fr; }
    .wz-q { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 20px; }
    .wz-a { padding: 24px 20px; }
    .wz-opts { grid-template-columns: 1fr; padding-left: 0; }
    .duty { grid-template-columns: 1fr; }
    .grp-head { padding: 16px; gap: 12px; }
    .grp-head .chev { display: none; }
    .grp-body { padding: 0 14px 16px; }
    .sign .r { text-align: left; }
}
@media (max-width: 640px) {
    .longform-header { padding: 0 12px; }
    .longform-header .logo { width: 130px; background-size: contain; }
    .longform-header .headline { display: none; }
    .hero-inner { padding: 44px 16px 48px; }
    .hero-stats { padding: 0 16px 44px; gap: 10px; }
    .hstat { padding: 14px; }
    .hstat .v { font-size: 1.5rem; }
    main { padding: 0 16px; }
    .hero-legend { grid-template-columns: 1fr; }
}
