/* Billbo Soft - website giới thiệu. Không phụ thuộc thư viện; font Inter tải từ Google Fonts (có fallback hệ thống). */
:root {
  --blue: #0059e7;
  --blue-600: #0049bd;
  --sky: #4c8dff;
  --cyan: #22d3ee;
  --navy: #0b1220;
  --navy-2: #111b2e;
  --ink: #0b1220;
  --muted: #5b6b86;
  --line: #e3e9f4;
  --soft: #f4f7fc;
  --white: #fff;
  --green: #16a37c;
  --amber: #f7b731;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .16);
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ───────── Header ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
/* thanh menu có 8 mục + hotline + nút nên cần khung rộng hơn phần nội dung (1180px), tránh tràn ra ngoài */
.site-header .container { max-width: 1640px; }
/* logo giữ nguyên tỉ lệ: không cho flex co lại */
.brand { flex: none; display: block; }
.brand img { height: 36px; width: auto; max-width: none; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; white-space: nowrap; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.menu a:hover { background: var(--soft); text-decoration: none; }
.menu a.active { color: var(--blue); background: #eaf1ff; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta .btn { flex: none; }
.hotline { font-weight: 700; color: var(--ink); white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; transition: .2s; }
.burger span::before { position: absolute; top: -6px; left: 0; }
.burger span::after { position: absolute; top: 6px; left: 0; }

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(0, 89, 231, .35); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
/* Nút "Đăng nhập quản trị CLB": viền xanh trên nền sáng (header), viền cyan trong suốt trên nền tối (hero) */
.btn-admin { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-admin:hover { background: #eaf1ff; }
.btn-admin svg { width: 16px; height: 16px; flex: none; }
.hero .btn-admin { background: rgba(34, 211, 238, .12); color: #8be9fb; border-color: rgba(34, 211, 238, .55); }
.hero .btn-admin:hover { background: rgba(34, 211, 238, .24); border-color: var(--cyan); }
.hero .hero-actions { align-items: flex-start; }
.dl-stack { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
/* Nút đổi ngôn ngữ VI / EN / KO */
.lang { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff; }
.lang button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .78rem; line-height: 1; padding: 7px 10px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.lang button:hover { color: var(--blue); }
.lang button.on { background: var(--blue); color: #fff; }
.lang button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.menu-extra { display: none; }

/* ───────── Sections ───────── */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(1200px 600px at 80% -10%, #12337a 0%, transparent 60%), var(--navy); color: #e6edf7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #9fb2d0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #eaf1ff; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.section-dark .eyebrow { background: rgba(76, 141, 255, .16); color: #8db6ff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #9fb2d0; }
.muted { color: var(--muted); }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 0%, #14388a 0%, transparent 62%), radial-gradient(700px 400px at 0% 100%, #0c3a57 0%, transparent 60%), var(--navy); color: #e6edf7; padding: 84px 0 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6aa5ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: #b7c6df; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 34px; }
/* danh sách ưu điểm bên trái, hai nút tải ứng dụng bên phải */
.hero-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.hero-meta .hero-badges { flex: 1 1 260px; }
.hero-meta .stores.hero-stores { flex: none; flex-direction: column; gap: 10px; }
.hero .store { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); padding: 9px 18px; min-width: 176px; }
.hero .store small { color: #9fb2d0; }
.hero .store.soon small::after { color: #8db6ff; }
.hero a.store:hover { background: rgba(255, 255, 255, .16); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #9fb2d0; font-size: .92rem; font-weight: 600; }
.hero-badges span::before { content: "✓"; color: #5eead4; margin-right: 8px; font-weight: 800; }
.hero-art { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.page-hero { padding: 72px 0 64px; background: radial-gradient(900px 420px at 85% -20%, #14388a 0%, transparent 62%), var(--navy); color: #e6edf7; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #b7c6df; font-size: 1.12rem; max-width: 720px; margin: 0; }
.crumbs { font-size: .9rem; color: #8fa3bf; margin-bottom: 14px; }
.crumbs a { color: #8db6ff; }

/* ───────── Stats ───────── */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .94rem; font-weight: 600; }

/* ───────── Cards / grids ───────── */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcf5; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #e3eeff, #cfe0ff); color: var(--blue); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; flex: none; }
/* thẻ canh giữa: khối icon nằm giữa thẻ (trong flex-column, icon mặc định dính trái) */
.card.center { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 36px; }
.card.center .icon { margin-left: auto; margin-right: auto; }
.section-dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section-dark .card p { color: #9fb2d0; }
.section-dark .icon { background: rgba(76, 141, 255, .18); color: #8db6ff; }

/* hardware cards with image */
.hw { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.hw img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #dbe8ff; }
.hw .body { padding: 24px 26px 28px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #eaf1ff; color: var(--blue); margin-bottom: 12px; }
.tag.green { background: #dcfce7; color: #15803d; }
.tag.amber { background: #fef3c7; color: #a16207; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-art { order: -1; }
.split-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; }
.checks li { position: relative; padding: 7px 0 7px 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a37c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.section-dark .checks li::before { background-color: rgba(34, 197, 94, .18); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }

/* CTA */
.cta { text-align: center; }
.cta-box { background: linear-gradient(135deg, #0059e7, #0a3ea8); color: #fff; border-radius: var(--radius-lg); padding: 56px 28px; box-shadow: var(--shadow-lg); }
.cta-box h2 { color: #fff; }
.cta-box p { color: #d4e3ff; max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-box .hero-actions { justify-content: center; margin: 0; }

/* ───────── Pricing ───────── */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--navy); color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.num { font-weight: 800; color: var(--blue); white-space: nowrap; }
.price-table .free { color: var(--green); }
.price-table small { display: block; color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.price-card .amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.price-card .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .checks { flex: 1; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.calc label { display: block; font-weight: 700; margin: 0 0 8px; }
.calc .row { margin-bottom: 18px; }
.calc-result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.calc-result b { display: block; font-size: 2.3rem; letter-spacing: -.02em; margin: 6px 0 4px; color: #8db6ff; }
.calc-result small { color: #9fb2d0; }
input, select, textarea { width: 100%; padding: 13px 16px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 89, 231, .12); }
textarea { min-height: 140px; resize: vertical; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.check-row input { width: auto; accent-color: var(--blue); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ───────── Contact ───────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list b { display: block; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .94rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-top: 16px; font-weight: 600; display: none; }
.notice.ok { display: block; background: #dcfce7; color: #166534; }
.notice.err { display: block; background: #fee2e2; color: #991b1b; }

/* ───────── Policy / prose ───────── */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; padding-top: .4em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .updated { color: var(--muted); font-size: .94rem; }
.prose .box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 1.4em 0; }
.toc { background: var(--soft); border-radius: var(--radius); padding: 20px 26px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }

/* ───────── Footer ───────── */
.site-footer { background: var(--navy); color: #9fb2d0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb2d0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .brand img { height: 40px; margin-bottom: 16px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 14px; background: #fff; color: var(--navy); border: 1px solid var(--line); font-weight: 700; line-height: 1.2; }
.store small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.store svg { width: 26px; height: 26px; }
.store { transition: transform .15s, box-shadow .15s; }
a.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.store b { display: block; font-size: 1.12rem; letter-spacing: -.01em; }
.store.soon { opacity: .65; cursor: default; }
.store.soon small::after { content: " · " attr(data-soon); color: var(--blue); font-weight: 700; }
.stores.center { justify-content: center; }
.app-cta { margin-top: 8px; }
.app-cta .web-link { display: inline-block; margin-top: 12px; font-weight: 700; }
.site-footer .store { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); padding: 8px 16px; }
.site-footer .store small { color: #9fb2d0; }
.site-footer .store.soon small::after { color: #8db6ff; }
.section-dark .store { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.section-dark .store small { color: #9fb2d0; }

/* được kiểm chứng tại các câu lạc bộ */
.trust { text-align: center; }
.trust-clubs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 8px; }
.trust-clubs span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px; font-weight: 700; box-shadow: var(--shadow); }
.trust-clubs span.more { background: var(--blue); color: #fff; border-color: var(--blue); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
@media (max-width: 1020px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* nút tải phần mềm */
.btn-dl svg { width: 18px; height: 18px; }
.dl-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #0059e7, #0a3ea8); color: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.dl-box h2 { color: #fff; font-size: 1.6rem; }
.dl-box p { color: #d4e3ff; margin: 0 0 14px; }
.dl-box .req { list-style: none; margin: 0; padding: 0; color: #d4e3ff; font-size: .94rem; }
.dl-box .req li { padding: 4px 0 4px 22px; position: relative; }
.dl-box .req li::before { content: "✓"; position: absolute; left: 0; color: #86efac; font-weight: 800; }
.dl-actions { text-align: center; }
.dl-actions .btn { width: 100%; padding: 16px 24px; font-size: 1.05rem; }
.dl-actions small { display: block; margin-top: 10px; color: #cfe0ff; }

/* hướng dẫn cài đặt */
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.toc-side { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc-side b { display: block; margin-bottom: 8px; }
.toc-side ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc-side li { counter-increment: t; }
.toc-side a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.toc-side a::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #eaf1ff; color: var(--blue); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.toc-side a:hover { background: var(--soft); text-decoration: none; }
.gstep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 28px; scroll-margin-top: 90px; }
.gstep h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.gstep .num { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.gstep > p { color: var(--muted); }
.gcols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; margin-top: 18px; }
.gcols img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gcols ol { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.gcols li { counter-increment: g; position: relative; padding: 0 0 14px 42px; }
.gcols li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #f7b731; color: #3b2a00; font-weight: 800; display: grid; place-items: center; font-size: .92rem; }
.tip { margin-top: 18px; background: #eef5ff; border-left: 4px solid var(--blue); border-radius: 10px; padding: 12px 16px; font-size: .94rem; }
.tip b { color: var(--blue); }
.note-box { background: #fff7e0; border: 1px solid #f3dd9a; border-radius: var(--radius); padding: 14px 18px; font-size: .92rem; margin-bottom: 28px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .guide, .gcols, .dl-box { grid-template-columns: 1fr; }
  .toc-side { position: static; max-height: none; }
  .hero-grid, .split, .contact-grid, .calc { grid-template-columns: 1fr; }
  .split.reverse .split-art { order: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .price-cards, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
/* số hotline chỉ hiện ở màn hình rất rộng (thanh menu đã có thêm nút quản trị và nút ngôn ngữ) */
@media (max-width: 1720px) {
  .hotline { display: none; }
}
@media (max-width: 1490px) {
  .burger { display: block; }
  .hotline { display: none; }
  .menu-extra { display: block; padding: 6px 4px 0; }
  .menu-extra .btn { display: inline-flex; width: 100%; }
  .menu .btn-admin { color: var(--blue); }
  .menu { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; display: none; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 14px; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .g2, .g3, .g4, .price-cards, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px; }
  .stat b { font-size: 1.5rem; }
  .form-card, .calc { padding: 22px; }
  .price-table th, .price-table td { padding: 14px 14px; }
}

/* ───────── Tin Tức (blog) ───────── */
.news-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.news-search input { width: 260px; max-width: 100%; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: #fff; }
.news-search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcf5; text-decoration: none; }
.news-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0b1b44, #0059e7 60%, #22d3ee); display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .info { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.news-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.news-card p { margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card time { margin-top: auto; padding-top: 6px; font-size: .82rem; color: var(--muted); }
.news-empty { text-align: center; color: var(--muted); padding: 48px 0; }
.news-more { text-align: center; margin-top: 32px; }
.container.narrow { max-width: 820px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.post-meta .chip { cursor: pointer; }
.article-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.post-lead { font-size: 1.15rem; color: var(--muted); }
.post-cover { width: 100%; border-radius: var(--radius); margin: 18px 0 28px; }
.post-body { font-size: 1.07rem; line-height: 1.8; }
.post-body h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.post-body h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.post-body h4 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
.post-body img { border-radius: 14px; margin: 1.2em auto; }
.post-body figure { margin: 1.6em 0; }
.post-body figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: -.6em; }
.post-body blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 12px 12px 0; color: #33425e; }
.post-body pre { background: var(--navy); color: #e6edf7; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: .92rem; line-height: 1.6; }
.post-body code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.post-body pre code { background: none; padding: 0; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin: .3em 0; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-body .video { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: 14px; overflow: hidden; background: #000; }
.post-body .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 10px; }
.post-tags span { font-size: .85rem; color: var(--muted); background: var(--soft); padding: 4px 12px; border-radius: 999px; }
.post-share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; }
.post-share a, .post-share button { cursor: pointer; font: inherit; color: var(--blue); background: none; border: 0; padding: 0; font-weight: 600; }
.post-cta { background: var(--soft); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0 40px; }
.related-h { font-size: 1.5rem; margin: 10px 0 20px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .news-search { width: 100%; } .news-search input { width: 100%; } }
