/* quantri360.com — site công khai (site:3600). Token màu một nơi; nền bạc hà và xanh trời. */
:root {
    --c-ink: #0f1f1a;
    --c-text: #33413c;
    --c-muted: #52665e;
    --c-line: #e3ebe7;
    --c-bg: #ffffff;
    --c-soft: #f5faf8;
    --c-brand: #008552;
    --c-brand-2: #0369a1;
    --c-brand-ink: #065f46;
    --c-accent: #0369a1;
    --bg-mint: #DEF7EB;
    --bg-sky: #DDF1FF;
    --c-code-bg: #161823;
    --c-hero-from: #DEF7EB;
    --c-hero-to: #DDF1FF;
    --radius: 14px;
    --wrap: 1600px;
    --shadow: 0 10px 30px rgba(6, 95, 70, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-sans); font-size: var(--fs-md, 15px); line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--c-brand); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (max-width: 768px) { .wrap { padding: 0 15px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 6px 10px; z-index: 100; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line); }
.hd .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); font-weight: 800; font-size: 18px; }
.logo img { width: 36px; height: 36px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--c-text); font-weight: 500; }
.nav a:hover, .nav a.on { color: var(--c-brand-ink); background: var(--c-soft); }
.hd-cta { display: flex; gap: 8px; }
.hd-lang { align-self: center; font-size: 13px; font-weight: 600; color: var(--c-muted, #667); white-space: nowrap; margin-right: 4px; }
.hd-lang a { color: inherit; text-decoration: none; padding: 2px 3px; }
.hd-lang a.on { color: var(--c-brand-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: inherit; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn-ghost:hover { border-color: var(--c-brand); color: var(--c-brand-ink); }
.btn-light { background: #fff; color: var(--c-brand-ink); }
.btn-outline-light { border-color: var(--c-line); color: var(--c-ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--c-line); border-radius: 8px; padding: 8px 10px; font-size: 18px; line-height: 1; cursor: pointer; }

/* ---------- hero + section ---------- */
.hero { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); color: var(--c-ink); padding: 72px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 18px 0 14px; color: var(--c-ink); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--c-accent); }
.hero p.lead { font-size: 18px; color: var(--c-text); margin: 0 0 26px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pills span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.quote { margin-top: 22px; font-size: 14px; font-style: italic; color: var(--c-muted); white-space: pre-line; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.shots img { flex: 0 0 100%; scroll-snap-align: center; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); background: #fff; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.dots button.on { background: #fff; width: 22px; border-radius: 4px; }

.sec { padding: 72px 0; }
.sec.soft { background: var(--c-soft); }
.sec-hd { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-hd .eyebrow { color: var(--c-brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.sec-hd h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.25; margin: 8px 0 10px; color: var(--c-ink); }
.sec-hd p { margin: 0; color: var(--c-muted); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; color: var(--c-ink); }
.card p { margin: 0; color: var(--c-muted); }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--c-brand); margin-bottom: 6px; }
.card img { border-radius: 10px; margin-bottom: 14px; border: 1px solid var(--c-line); }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--c-text); }
.stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 36px; }
.stats b { display: block; font-size: 40px; color: var(--c-brand-ink); line-height: 1.1; }
.stats span { color: var(--c-muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.split:nth-child(even) .split-img { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h3 { font-size: 22px; color: var(--c-ink); margin: 0 0 8px; }
.cta-band { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); color: var(--c-ink); border-radius: 20px; padding: 48px 32px; text-align: center; }
.cta-band h2 { color: var(--c-ink); margin: 6px 0 10px; font-size: clamp(24px, 3vw, 34px); white-space: pre-line; }
.cta-band p { color: var(--c-text); margin: 0 0 22px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- bài viết ---------- */
.page-hd { background: var(--c-soft); border-bottom: 1px solid var(--c-line); padding: 44px 0 32px; }
.page-hd h1 { margin: 6px 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; color: var(--c-ink); }
.page-hd p { margin: 0; color: var(--c-muted); max-width: 760px; }
.crumb { font-size: 13px; color: var(--c-muted); }
.crumb a { color: var(--c-muted); text-decoration: none; }
.prose { max-width: 780px; margin: 0 auto; padding: 36px 16px 64px; }
.prose h2 { font-size: 24px; color: var(--c-ink); margin: 36px 0 10px; scroll-margin-top: 80px; }
.prose h3 { font-size: 19px; color: var(--c-ink); margin: 26px 0 8px; scroll-margin-top: 80px; }
.prose img { border-radius: 10px; border: 1px solid var(--c-line); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--c-soft); color: var(--c-ink); }
.prose blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--c-brand); background: var(--c-soft); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; }
.prose code { background: var(--c-soft); padding: 1px 6px; border-radius: 6px; font-family: var(--font-mono); font-size: .9em; }
.prose pre { background: #0f1f1a; color: #e6f2ed; padding: 14px; border-radius: 10px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose .cover { margin: 0 0 24px; }
.meta-line { font-size: 13px; color: var(--c-muted); margin-top: 8px; }

.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 32px; padding: 28px 20px 64px; max-width: var(--wrap); margin: 0 auto; }
.docs .prose { padding: 0; max-width: none; margin: 0; }
.docs-nav, .docs-toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14px; }
.docs-nav ul, .docs-toc ul { list-style: none; margin: 0; padding: 0; }
.docs-nav ul ul { padding-left: 12px; border-left: 1px solid var(--c-line); margin-left: 6px; }
.docs-nav a, .docs-toc a { display: block; padding: 5px 8px; border-radius: 6px; text-decoration: none; color: var(--c-text); }
.docs-nav a:hover, .docs-toc a:hover { background: var(--c-soft); }
.docs-nav a.on { background: var(--c-soft); color: var(--c-brand-ink); font-weight: 600; }
.docs-nav .grp, .docs-toc .grp { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--c-muted); margin: 0 0 8px; letter-spacing: .06em; }
.docs-toc .l3 a { padding-left: 18px; font-size: 13px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; border-top: 1px solid var(--c-line); padding-top: 18px; }
.pager a { text-decoration: none; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 10px; color: var(--c-ink); max-width: 48%; }
.pager a small { display: block; color: var(--c-muted); }
.pager a.next { margin-left: auto; text-align: right; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; display: flex; flex-direction: column; }
.post:hover { box-shadow: var(--shadow); }
.post .thumb { aspect-ratio: 16 / 9; background: var(--c-soft); object-fit: cover; width: 100%; }
.post .body { padding: 16px 18px 20px; }
.post h3 { margin: 0 0 6px; font-size: 17px; color: var(--c-ink); line-height: 1.35; }
.post p { margin: 0; color: var(--c-muted); font-size: 14px; }
.empty { text-align: center; color: var(--c-muted); padding: 48px 0; }
.pg { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }

/* ---------- bảng giá rút gọn (shortcode) ---------- */
.price-mini th:first-child { width: 34%; }

/* ---------- footer ---------- */
.ft { background: var(--c-soft); color: var(--c-text); border-top: 1px solid var(--c-line); padding: 48px 0 24px; margin-top: 0; font-size: 14px; }
.ft .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.ft h4 { color: var(--c-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.ft a { color: var(--c-text); text-decoration: none; display: block; padding: 3px 0; }
.ft a:hover { color: var(--c-brand-ink); text-decoration: underline; }
.ft a.inl { display: inline; }
.ft .org b { color: var(--c-ink); }
.ft .org img { width: 56px; height: 56px; border-radius: 50%; background: #fff; margin-bottom: 10px; }
.ft .copy { border-top: 1px solid var(--c-line); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- blog: thanh trái danh mục → bài (2026-11-15) ---------- */
.docs.no-toc { grid-template-columns: 250px minmax(0, 1fr); }
.sec .blog-docs { padding-top: 0; padding-bottom: 0; }
.blog-docs .posts { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.blog-docs .prose .lead { color: var(--c-muted); font-size: 17px; }
/* Thanh trái blog có vùng cuộn riêng; không ảnh hưởng thanh tài liệu. */
.blog-nav { display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.blog-nav .blog-nav-notify { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 24px; background: var(--c-brand); color: #fff; font-weight: 700; box-shadow: 0 4px 14px #00806026; }
.blog-nav .blog-nav-notify:hover { background: var(--c-brand-ink); }
.blog-nav-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--c-line); border-radius: 24px; padding: 4px 5px 4px 12px; color: var(--c-muted); }
.blog-nav-search input { width: 0; min-width: 0; flex: 1; border: 0; background: transparent; color: var(--c-text); font: inherit; padding: 4px 0; }
.blog-nav-search button { border: 0; border-radius: 20px; padding: 6px 14px; background: var(--c-brand); color: #fff; font: inherit; cursor: pointer; }
.blog-nav-card { min-height: 0; border: 1px solid var(--c-line); border-radius: 22px; background: var(--c-soft); overflow: hidden; }
.blog-nav summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; padding: 8px; font-weight: 600; }
.blog-nav summary::-webkit-details-marker { display: none; }
.blog-nav-card > summary { padding: 18px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.blog-nav-arrow { flex: 0 0 14px; color: var(--c-muted); opacity: .55; transition: transform .15s, opacity .15s; transform: rotate(-90deg); }
.blog-nav summary:hover > .blog-nav-arrow { opacity: 1; }
.blog-nav-card > summary > .blog-nav-arrow { margin-left: auto; }
.blog-nav details[open] > summary > .blog-nav-arrow { transform: rotate(0); }
.blog-nav-scroll { overflow-y: auto; max-height: calc(100vh - 310px); padding: 0 14px 16px; scrollbar-width: thin; scrollbar-color: #a9bdb4 transparent; }
.blog-nav-scroll::-webkit-scrollbar { width: 5px; }
.blog-nav-scroll::-webkit-scrollbar-thumb { background: #a9bdb4; border-radius: 5px; }
.blog-nav summary a { flex: 1; min-width: 0; padding: 0; }
.blog-nav summary .n { margin-left: auto; min-width: 22px; text-align: right; font-size: 12px; font-weight: 400; color: var(--c-muted); opacity: .8; font-variant-numeric: tabular-nums; }
.blog-nav-group { margin-bottom: 6px; }
.blog-nav-group ul { padding-left: 10px; border-left: 1px solid var(--c-line); margin: 2px 0 6px 8px; }
.blog-nav [hidden] { display: none; }
.blog-nav-empty { padding: 8px; color: var(--c-muted); }
@media (max-width: 900px) {
    .blog-docs .blog-nav { border: 0; padding: 0; overflow: visible; }
    .blog-nav-scroll { max-height: 60vh; }
}

@media (min-width: 901px) { .cat-nav.blog-pills { display: none; } }   /* máy tính: danh mục đã ở thanh trái */

/* ---------- mobile ---------- */
@media (max-width: 1080px) {
    .docs { grid-template-columns: 220px minmax(0, 1fr); }
    .docs-toc { display: none; }
}
@media (max-width: 900px) {
    .menu-btn { display: block; }
    .nav, .hd-cta { display: none; }
    .hd.open .nav, .hd.open .hd-cta { display: flex; }
    .hd .wrap { flex-wrap: wrap; height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
    .hd.open .nav { flex-direction: column; width: 100%; margin: 0; }
    .hd.open .hd-cta { width: 100%; padding-bottom: 6px; }
    .hd.open .hd-cta .btn { flex: 1; }
    .hero { padding: 48px 0; }
    .hero .wrap, .split, .g2, .g3, .posts { grid-template-columns: 1fr; }
    .split:nth-child(even) .split-img { order: 0; }
    .sec { padding: 52px 0; }
    .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; }   /* minmax(0,…): bảng / code rộng trong bài không kéo giãn cột → tràn ngang */
    .docs-nav { position: static; max-height: none; border: 1px solid var(--c-line); border-radius: 10px; padding: 10px; }
    .docs.no-toc { grid-template-columns: minmax(0, 1fr); }
    .blog-docs .blog-nav { order: 2; }   /* điện thoại: đọc bài / danh sách trước, mục lục blog xuống dưới */
    .ft .cols { grid-template-columns: 1fr 1fr; }
    .stats { gap: 28px; }
}
.mt { margin-top: 20px; }
/* menu 2 cấp (site_settings.menu_header) */
.nav-dd { position: relative; }
.nav-dd-btn { background: none; border: 0; font: inherit; padding: 8px 12px; border-radius: 8px; color: var(--c-text); font-weight: 500; cursor: pointer; }
.nav-dd-btn:hover, .nav-dd-btn.on, .nav-dd.open .nav-dd-btn { color: var(--c-brand-ink); background: var(--c-soft); }
.nav-dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.nav-dd.open .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 8px 10px; }
.ft .cols { grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr)); }
.ft .soc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) {
    .nav-dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
    .nav-dd-btn { width: 100%; text-align: left; }
}
/* blog: danh mục + thẻ (GĐ3) */
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cat-nav a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; text-decoration: none; color: var(--c-text); font-size: 14px; }
.cat-nav a.on, .cat-nav a:hover { border-color: var(--c-brand); color: var(--c-brand-ink); }
.post-cat { font-size: 12px; font-weight: 700; color: var(--c-brand); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.tags a { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--c-soft); text-decoration: none; color: var(--c-brand-ink); }
/* khối (GĐ4) */
.hero .wrap.hero-solo { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.hero .wrap.hero-solo .actions, .hero .wrap.hero-solo .pills { justify-content: center; }
.hero-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 18px 0 14px; color: var(--c-ink); letter-spacing: -.02em; }
.hero-title em { font-style: normal; color: var(--c-accent); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--c-line); border-radius: 12px; background: #fff; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--c-ink); }
.faq details p { margin: 10px 0 0; color: var(--c-text); white-space: pre-line; }
.sec-md { padding: 24px 0; }
.prose-wide { max-width: var(--wrap); padding-top: 0; padding-bottom: 0; }
.preview-bar { background: #fff4d6; color: #7a4b00; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .g4 { grid-template-columns: 1fr 1fr; } }
/* khẩu hiệu + nút liên hệ nổi (site_settings.general.tagline, site_settings.contact) */
.logo span { display: flex; flex-direction: column; line-height: 1.15; }
.logo-tag { font-size: 11px; font-weight: 500; color: var(--c-muted); }
.ft-tag { color: var(--c-text); margin-bottom: 8px; }
.fab { position: fixed; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.fab-right { right: 18px; align-items: flex-end; } .fab-left { left: 18px; align-items: flex-start; }
.fab-btn { position: relative; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .15s; }
.fab-btn:hover { transform: scale(1.06); }
.fab-zalo { background: #0068ff; } .fab-zalo b { font-size: 13px; letter-spacing: -.02em; }
.fab-mes { background: linear-gradient(135deg, #0a7cff, #a033ff); }
.fab-phone { background: var(--c-brand); }
.fab-tip { position: absolute; white-space: nowrap; background: #0f1f1a; color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.fab-right .fab-tip { right: 62px; } .fab-left .fab-tip { left: 62px; }
.fab-btn:hover .fab-tip { opacity: 1; }
@media (max-width: 900px) { .logo-tag { display: none; } .fab-btn { width: 46px; height: 46px; } .fab-tip { display: none; } }
/* chatbot trợ lý (site/public/agent.js) */
.fab-bot { background: #0f1f1a; border: 0; cursor: pointer; }
.ag-box { position: fixed; right: 18px; bottom: 90px; width: 380px; max-height: min(640px, calc(100vh - 120px)); display: none; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .22); z-index: 80; overflow: hidden; border: 1px solid var(--c-line); }
.ag-box.open { display: flex; }
.ag-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--c-code-bg); color: #fff; }
.ag-x { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.ag-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--c-soft); }
.ag-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.55; word-wrap: break-word; }
.ag-me { align-self: flex-end; background: var(--c-brand); color: #fff; border-bottom-right-radius: 4px; }
.ag-bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 4px; }
.ag-bot a { color: var(--c-brand); }
.ag-err { border-color: #f3c5c5; background: #fff6f6; }
.ag-status { padding: 4px 16px; font-size: 12px; color: var(--c-muted); background: var(--c-soft); }
.ag-ui { align-self: stretch; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 10px; font-size: 13px; }
.ag-ui-t { font-weight: 700; margin-bottom: 6px; color: var(--c-ink); }
.ag-cards { display: grid; gap: 8px; }
.ag-card { border: 1px solid var(--c-line); border-radius: 10px; padding: 9px 10px; position: relative; background: #fff; margin-bottom: 6px; }
.ag-card.ag-rec { border-color: var(--c-brand); }
.ag-badge { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--c-brand); border-radius: 999px; padding: 1px 8px; margin-bottom: 4px; }
.ag-card-t { font-weight: 700; color: var(--c-ink); }
.ag-price { color: var(--c-brand-ink); font-weight: 700; margin: 2px 0; }
.ag-reason, .ag-p { color: var(--c-text); }
.ag-pro { color: #0a7a52; } .ag-con { color: #a14a00; }
.ag-h { font-weight: 700; margin-top: 6px; color: var(--c-ink); }
.ag-acts { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.ag-btn { background: var(--c-brand); color: #fff; padding: 5px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.ag-link { color: var(--c-brand); font-size: 13px; }
.ag-lead { border-color: var(--c-brand); background: #effaf5; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: #fff; }
.ag-chip { border: 1px solid var(--c-line); background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 13px; cursor: pointer; font-family: inherit; color: var(--c-ink); }
.ag-chip:hover { border-color: var(--c-brand); }
.ag-form { display: flex; gap: 8px; padding: 10px 12px; background: #fff; }
.ag-in { flex: 1; border: 1px solid var(--c-line); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14px; }
.ag-send { background: var(--c-brand); color: #fff; border: 0; border-radius: 10px; padding: 0 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.ag-send:disabled { opacity: .5; }
.ag-note { font-size: 11px; color: var(--c-muted); padding: 0 12px 8px; background: #fff; }
@media (max-width: 600px) { .ag-box { right: 0; left: 0; bottom: 0; width: auto; max-height: none; height: 100%; border-radius: 0; } }

/* ================================================================ trang bán (mig 200, DESIGN_SITE_SALES_SEO §4)
   3 mẫu: sản phẩm (hero tối + khung trình duyệt), dịch vụ (hero sáng + thẻ tóm tắt), giải pháp (hero sáng + hộp dấu hiệu) + trang tổng.
   Dùng chung biến hệ thống (--c-*), không màu mới. */
.sales-hero { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); color: var(--c-ink); padding: 56px 0 48px; overflow: hidden; position: relative; }
.sales-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(52, 211, 153, .22), transparent); pointer-events: none; }
.sales-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.sales-hero .crumb, .sales-hero .crumb a { color: var(--c-muted); }
.sales-hero h1 { color: var(--c-ink); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; margin: 10px 0 8px; letter-spacing: -.02em; }
.sales-hero .tagline { color: var(--c-accent); font-weight: 600; font-size: 18px; margin: 0 0 14px; }
.sales-hero .answer { color: var(--c-text); font-size: 17px; line-height: 1.65; margin: 0 0 18px; max-width: 560px; font-weight: 400; }
.sales-hero .pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.sales-hero .pills span { border: 1px solid var(--c-line); background: rgba(255, 255, 255, .08); color: var(--c-ink); padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.sales-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sales-hero .btn-light { background: #fff; color: var(--c-brand-ink); }
.sales-hero .btn-light:hover { filter: brightness(.97); }
.sales-hero .btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
/* khung trình duyệt cho ảnh màn hình */
.frame { background: #0f1f1a; border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: rgba(255, 255, 255, .06); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: block; }
.frame-bar i:first-child { background: #f87171; } .frame-bar i:nth-child(2) { background: #fbbf24; } .frame-bar i:nth-child(3) { background: var(--c-accent); }
.frame img { display: block; width: 100%; height: auto; background: #fff; }
/* dải dữ kiện dưới hero */
.fact-strip { background: #fff; border-bottom: 1px solid var(--c-line); }
.fact-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact-strip .fact { padding: 18px 20px 18px 0; border-right: 1px solid var(--c-line); margin-right: 20px; }
.fact-strip .fact:last-child { border-right: 0; margin-right: 0; }
.fact-strip .fact span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 700; }
.fact-strip .fact b { display: block; font-size: 17px; color: var(--c-ink); margin-top: 4px; font-weight: 700; }
.fact-strip .fact b small { font-weight: 500; color: var(--c-muted); font-size: 13px; }
/* băng ảnh màn hình */
.shot-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 14px; scrollbar-width: thin; }
.shot-rail .shot { flex: 0 0 min(760px, 88%); scroll-snap-align: start; margin: 0; }
.shot-rail .shot .frame { box-shadow: var(--shadow); border-color: var(--c-line); background: var(--c-soft); }
.shot-rail .shot .frame-bar { background: #e9f1ee; }
.shot-rail figcaption { color: var(--c-muted); font-size: 14px; margin-top: 10px; }
.shots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.shots-grid .shot { margin: 0; } .shots-grid .shot img { width: 100%; height: auto; border: 1px solid var(--c-line); border-radius: 12px; }
.shots-grid figcaption { color: var(--c-muted); font-size: 14px; margin-top: 8px; }
/* nội dung bài giữa trang */
.sales-body .prose { padding-top: 32px; padding-bottom: 16px; }
.answer-sec { padding: 24px 0 0; } .answer-sec .answer { font-size: 18px; line-height: 1.6; max-width: 760px; margin: 0 auto; color: var(--c-ink); }
/* thẻ gói & giá */
.offers { align-items: stretch; }
.offer { text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; position: relative; }
.offer.featured { border-color: var(--c-brand); box-shadow: var(--shadow); }
.offer .ribbon { position: absolute; top: -12px; left: 24px; background: var(--c-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.offer h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin: 0; }
.offer-price { margin: 4px 0 0; } .offer-price b { font-size: 32px; color: var(--c-ink); letter-spacing: -.02em; } .offer-price span { color: var(--c-muted); margin-left: 4px; }
.offer-trial { color: var(--c-brand-ink); font-weight: 600; font-size: 14px; margin: 0; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-note { text-align: center; color: var(--c-muted); font-size: 14px; margin-top: 22px; }
/* thẻ tóm tắt dịch vụ (hero sáng) */
.sales-hd { background: var(--c-soft); border-bottom: 1px solid var(--c-line); padding: 48px 0 40px; }
.sales-hd .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.sales-hd h1 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 42px); line-height: 1.18; color: var(--c-ink); letter-spacing: -.02em; }
.sales-hd .answer { font-size: 17px; line-height: 1.65; color: var(--c-text); margin: 0 0 20px; max-width: 600px; }
.sales-hd .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.quote-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.quote-card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-brand); margin: 0 0 14px; }
.quote-card dl { margin: 0; display: grid; gap: 12px; }
.quote-card dt { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.quote-card dd { margin: 2px 0 0; color: var(--c-ink); font-weight: 600; }
.quote-card dd ul { margin: 0; padding-left: 18px; font-weight: 500; color: var(--c-text); }
.quote-card .price { font-size: 26px; color: var(--c-brand-ink); }
.quote-card .btn { width: 100%; margin-top: 16px; }
/* hộp dấu hiệu (giải pháp) */
.pain-card { background: #fff; border: 1px solid var(--c-line); border-left: 4px solid #f59e0b; border-radius: var(--radius); padding: 22px 24px; }
.pain-card b { display: block; color: var(--c-ink); margin-bottom: 10px; }
.pain-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pain-card li { padding-left: 26px; position: relative; color: var(--c-text); }
.pain-card li::before { content: '!'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #fef3c7; color: #b45309; font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.risk-tag { display: inline-block; background: #fff; border: 1px solid var(--c-line); color: var(--c-brand-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
/* quy trình dòng thời gian */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.steps::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--c-line); }
.steps li { position: relative; padding: 0 0 28px 64px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 0 6px #fff; }
.steps h3 { margin: 6px 0 6px; font-size: 18px; color: var(--c-ink); } .steps p { margin: 0; color: var(--c-text); }
/* bảng so sánh thủ công vs 360 */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.cmp thead th { background: var(--c-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.cmp thead th:last-child { color: var(--c-brand-ink); }
.cmp tbody th { font-weight: 600; color: var(--c-ink); width: 26%; } .cmp td:last-child { color: var(--c-brand-ink); font-weight: 600; background: rgba(5, 150, 105, .04); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
/* hướng dẫn liên quan */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.guide-list li { border: 1px solid var(--c-line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.guide-list a { font-weight: 700; color: var(--c-ink); text-decoration: none; display: block; margin-bottom: 4px; } .guide-list a:hover { color: var(--c-brand-ink); }
.guide-list span { color: var(--c-muted); font-size: 14px; }
/* băng liên hệ */
.contact-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-band .btn-light { background: #fff; color: var(--c-brand-ink); }
/* tác giả + ngày rà */
.author-sec { padding: 40px 0 64px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 24px; background: #fff; max-width: 820px; margin: 0 auto; flex-wrap: wrap; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-soft); flex: 0 0 auto; }
.author-avatar.lg { width: 96px; height: 96px; }
.author-box > div { flex: 1 1 320px; } .author-name { font-weight: 700; color: var(--c-ink); } .author-name a { color: var(--c-brand-ink); }
.author-box p { margin: 6px 0 0; color: var(--c-text); } .author-box .meta-line { flex-basis: 100%; }
.author-hero { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; } .author-links a { margin-right: 10px; }
/* mục lục */
.toc-sec { padding: 0; }
/* trang tổng */
.sales-index .post .body { display: flex; flex-direction: column; gap: 6px; }
.sales-index .price-mini { align-self: flex-start; margin-top: 4px; }
.sales-index .post p { color: var(--c-muted); }
.sales-index .catalog-intro { max-width: 720px; margin-bottom: 32px; }
.sales-index .catalog-intro h2 { color: var(--c-ink); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; margin: 8px 0 12px; }
.sales-index .catalog-intro p { margin: 0; }
.sales-index .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sales-index .catalog-grid .post { min-width: 0; transition: border-color .2s, box-shadow .2s; }
.sales-index .catalog-grid .post:hover { border-color: var(--c-brand); }
.sales-index .catalog-grid .post:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 4px; }
.sales-index .catalog-grid .body { flex: 1; padding: 24px; overflow-wrap: anywhere; }
.sales-index .catalog-grid .post p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.sales-index .catalog-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; color: var(--c-brand-ink); font-weight: 600; }
@media (max-width: 1023px) { .sales-index .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sales-index .catalog-grid { grid-template-columns: minmax(0, 1fr); } }
.index-hd { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); color: var(--c-ink); padding: 56px 0 48px; }
.index-hd h1 { color: var(--c-ink); font-size: clamp(30px, 4.2vw, 46px); margin: 10px 0 12px; letter-spacing: -.02em; }
.index-hd p { color: var(--c-text); max-width: 760px; font-size: 17px; line-height: 1.65; margin: 0; }
.index-hd .crumb, .index-hd .crumb a { color: var(--c-muted); }
.fab-mail { background: #161823; }
/* bảng giá dùng chung (shared/views/pricing.ejs, embed) — ép về tông site: hero gradient + nút xanh thay đen */
main .pricing-embed .hero { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); padding: 48px 16px 40px; }
main .pricing-embed .hero h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; margin-bottom: 10px; }
main .pricing-embed .cta, main .pricing-embed .cta-buy:hover { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); box-shadow: var(--shadow); }
main .pricing-embed .plan.is-premium, main .pricing-embed .plan.is-premium .cta-buy { border-color: var(--c-brand-ink); }
main .pricing-embed .plan.is-premium .plan-name, main .pricing-embed .plan.is-premium .cta-buy { color: var(--c-brand-ink); }
main .pricing-embed .plan.is-premium .tag-top { background: var(--c-brand-ink); }
main .pricing-embed .card { border: 0; }
main .pricing-embed { background: var(--c-soft); }
main .pricing-embed .card { overflow-x: auto; }
main .pricing-embed table { min-width: 560px; }
@media (max-width: 900px) {
    .sales-hero .wrap, .sales-hd .wrap { grid-template-columns: 1fr; gap: 28px; }
    .sales-hero { padding: 40px 0 36px; } .sales-hd { padding: 36px 0 32px; }
    .fact-strip .fact { border-right: 0; margin-right: 0; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
    .fact-strip .fact:last-child { border-bottom: 0; }
    .sales-body .prose { padding-top: 36px; }
    .steps li { padding-left: 56px; }
}

/* Giao diện công khai: hệ thành phần chung, giữ nhận diện xanh lục. */
:root { --space-section: clamp(48px, 6vw, 80px); --radius-lg: 24px; }
html { scroll-padding-top: 88px; }
body { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 4px; }
.sec { padding-block: var(--space-section); }
.sec-hd { margin-bottom: 32px; }
.sec-hd p { font-size: 16px; line-height: 1.75; }
.grid > *, .split > *, .hero .wrap > *, .sales-hd .wrap > * { min-width: 0; }
.card { padding: 28px; box-shadow: 0 4px 18px rgba(6, 95, 70, .025); }
.card .tag { display: inline-flex; min-width: 36px; padding: 4px 9px; background: var(--c-soft); border-radius: 8px; margin-bottom: 18px; }
.card h3 { line-height: 1.45; margin-bottom: 10px; }
.card p { line-height: 1.75; }
.card img, .split-img img { display: block; width: 100%; }
.btn { min-height: 44px; transition: background .2s, box-shadow .2s; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(5, 150, 105, .2); }
.hd .wrap { gap: 16px; }
.nav a, .nav-dd-btn { padding-inline: 10px; }
.nav-dd-menu { min-width: 260px; padding: 10px; border-radius: 16px; }
.nav-dd-menu a { white-space: normal; font-size: 14px; line-height: 1.5; }
.nav-dd-btn span { display: inline-block; transition: transform .2s; }
.nav-dd.open .nav-dd-btn span { transform: rotate(180deg); }
.ft { padding-top: 56px; }
.ft .cols { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.ft a { overflow-wrap: anywhere; }
.ft h4 { letter-spacing: .04em; }
.prose { font-size: 16px; line-height: 1.85; }
.prose h2 { padding-top: 24px; border-top: 1px solid var(--c-line); line-height: 1.4; margin-top: 40px; }
.prose h3 { line-height: 1.45; }
.prose li { margin-block: 8px; padding-left: 4px; }
.prose li::marker { color: var(--c-brand-ink); }
.prose a { text-underline-offset: 4px; }
.prose blockquote { padding: 20px 24px; }
.prose th, .prose td { padding: 12px 16px; }
.prose h2:first-child { border-top: 0; padding-top: 0; }
.faq details { padding: 20px 24px; }
.faq details[open] { border-color: var(--c-brand); }
.faq summary { line-height: 1.6; }
.faq summary::marker { color: var(--c-brand); }
.quote-card, .pain-card { border-radius: 20px; box-shadow: var(--shadow); }
.quote-card dd, .quote-card ul { overflow-wrap: anywhere; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: none; }
.steps li { padding: 76px 22px 24px; margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; }
.steps li::before { top: 22px; left: 22px; }
.steps h3 { line-height: 1.45; }
.hero#tong-quan { padding-block: clamp(48px, 6vw, 88px); }
.hero#tong-quan .wrap { grid-template-columns: 1.12fr 1fr; gap: 48px; }
.hero#tong-quan .hero-title { font-size: clamp(34px, 4vw, 50px); line-height: 1.2; }
.hero#tong-quan .lead { font-size: 16px; line-height: 1.8; }
.ecosystem { padding: 28px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .07); box-shadow: 0 20px 60px rgba(0, 0, 0, .1); }
.ecosystem-caption { font-size: 11px; letter-spacing: .14em; color: #a7f3d0; margin-bottom: 24px; font-weight: 700; }
.ecosystem-sources { display: flex; flex-wrap: wrap; gap: 8px; }
.ecosystem-sources span { font-size: 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 9px 10px; }
.ecosystem-line { text-align: center; color: var(--c-accent); font-size: 28px; padding-block: 6px; }
.ecosystem-core { display: flex; gap: 16px; align-items: center; padding: 22px; background: #fff; border-radius: 16px; color: var(--c-brand-ink); }
.ecosystem-symbol { font-size: 25px; font-weight: 800; border: 1px solid var(--c-line); border-radius: 50%; width: 64px; height: 64px; display: grid; place-items: center; flex-shrink: 0; }
.ecosystem-core strong { display: block; font-size: 24px; }
.ecosystem-core div > span { display: block; font-size: 12px; margin-top: 4px; }
.ecosystem-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ecosystem-results span { padding: 14px 10px; font-size: 13px; text-align: center; background: rgba(255, 255, 255, .1); border-radius: 10px; }
.ecosystem > p { color: #a7f3d0; text-align: center; margin: 20px 0 0; font-size: 12px; }
#du-lieu-google { border-top: 1px solid var(--c-line); background: var(--c-soft); padding-block: 28px; }
#du-lieu-google .prose { font-size: 13px; color: var(--c-text); line-height: 1.75; }
#du-lieu-google h3 { font-size: 15px; margin-top: 0; }
@media (min-width: 901px) and (max-width: 1150px) {
    .hd .logo-tag { display: none; }
    .hd .wrap { gap: 10px; }
    .nav a, .nav-dd-btn { font-size: 13px; padding-inline: 7px; }
    .hd-cta .btn { padding-inline: 10px; font-size: 13px; }
}
@media (min-width: 601px) and (max-width: 1023px) {
    .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    body.nav-open { overflow: hidden; }
    .hd.open { position: fixed; inset: 0; overflow-y: auto; background: #fff; }
    .hd.open .wrap { align-content: start; }
    .hd.open .nav { gap: 6px; border-top: 1px solid var(--c-line); padding-top: 16px; }
    .nav > a, .nav-dd-btn { padding: 14px 12px; }
    .nav-dd-menu { min-width: 0; margin: 0 12px 8px; border-left: 2px solid var(--c-line); border-radius: 0; }
    .hd.open .hd-cta { margin-top: 16px; }
    .hero#tong-quan .wrap { grid-template-columns: 1fr; gap: 32px; }
    .ft .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 600px) {
    .g4, .steps { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .cta-band { padding: 32px 20px; border-radius: 16px; }
    .cta-band .actions { flex-direction: column; }
    .ecosystem { padding: 20px; }
    .ecosystem-core { padding: 16px; gap: 10px; }
    .ecosystem-symbol { width: 48px; height: 48px; font-size: 20px; }
    .ecosystem-core strong { font-size: 22px; }
    .ecosystem-results span { font-size: 12px; }
    .ft .org { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
.catalog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 600px) { .catalog-actions { flex-direction: column; } }

/* Hướng công nghệ: mô hình dữ liệu, hình SVG và chuyển động nhẹ. */
.hero#tong-quan { position: relative; isolation: isolate; background: #063d30; background-image: radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, .25), transparent 55%), linear-gradient(120deg, #062c24, #075c48); }
.hero#tong-quan::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .19; background-image: linear-gradient(rgba(110, 231, 183, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 231, 183, .3) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero#tong-quan::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #6ee7b7, transparent); }
.hero#tong-quan .wrap { grid-template-columns: 1fr 1.05fr; gap: 52px; }
.hero#tong-quan .hero-title { font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -.035em; }
.hero#tong-quan .hero-title em { color: #6ee7b7; }
.hero#tong-quan .badge { background: rgba(110, 231, 183, .08); color: #bbf7d0; border-color: rgba(110, 231, 183, .25); font-size: 12px; letter-spacing: .02em; }
.hero#tong-quan .lead { color: #c7e3d7; }
.hero#tong-quan .btn-light { box-shadow: 0 4px 24px rgba(110, 231, 183, .14); }
.tech-console { min-width: 0; border: 1px solid #357966; border-radius: 20px; background: rgba(4, 34, 28, .91); box-shadow: 0 28px 80px rgba(0, 0, 0, .24), 0 0 60px rgba(52, 211, 153, .07); overflow: hidden; }
.tech-console-top { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #1c5141; color: #add7c7; font-size: 9px; letter-spacing: .09em; }
.tech-console-dots { display: flex; gap: 5px; }
.tech-console-dots i { width: 5px; height: 5px; border-radius: 50%; background: #457c69; }
.tech-console-dots i:first-child { background: #6ee7b7; }
.tech-console-light { width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; margin-left: auto; box-shadow: 0 0 10px #34d399; }
.tech-console-heading { padding: 25px 24px 18px; }
.tech-overline { display: block; color: var(--c-brand-ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.tech-console-heading .tech-overline { color: #a7d8c4; font-size: 10px; }
.tech-console-heading strong { display: block; font-size: 23px; color: #fff; letter-spacing: -.025em; }
.tech-traces path { fill: none; stroke: #315d4f; stroke-width: 1.6; }
.tech-traces-moving path { stroke: #6ee7b7; stroke-dasharray: 6 100; animation: tech-flow 7s linear infinite; }
.tech-console-bottom { border-top: 1px solid #1c5141; display: flex; justify-content: space-between; gap: 10px; padding: 13px 20px; color: #9ec9b7; font-size: 9px; }
.tech-console-bottom span:first-child { display: flex; align-items: center; gap: 7px; }
.tech-console-bottom i { width: 5px; height: 5px; border-radius: 50%; background: #6ee7b7; }
.tech-section .sec-hd .eyebrow, .tech-model-section .eyebrow { font-size: 11px; letter-spacing: .14em; }
.tech-section .card { position: relative; border-radius: 18px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.tech-section .card:hover { border-color: #80c9ad; box-shadow: 0 14px 36px rgba(6, 95, 70, .08); transform: translateY(-4px); }
.tech-section .card .tag { position: absolute; top: 24px; right: 24px; margin: 0; min-width: 0; background: transparent; padding: 0; color: #708b7e; font-size: 11px; font-weight: 500; }
.tech-icon-box { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; background: #e8f7ef; color: #087b54; border: 1px solid #c7e9d7; border-radius: 13px; }
.tech-icon { width: 25px; height: 25px; }
.tech-card h3 { font-size: 17px; letter-spacing: -.02em; }
.tech-card p { font-size: 14px; }
.tech-art { overflow: hidden; border-radius: 14px; background: #f2f8f5; }
.tech-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 0; margin: 0; box-shadow: none; }
#san-pham.tech-section { background: #062e24; background-image: radial-gradient(ellipse at 0 0, rgba(5, 150, 105, .19), transparent 50%); }
#san-pham.tech-section .sec-hd h2 { color: #f0fdf4; }
#san-pham.tech-section .sec-hd p { color: #b2d2c2; }
#san-pham.tech-section .eyebrow { color: #6ee7b7; }
#san-pham .tech-card, #dich-vu .tech-card { display: flex; flex-direction: column; padding: 24px; overflow: hidden; }
#san-pham .tech-card .tech-art, #dich-vu .tech-card .tech-art { margin: -24px -24px 24px; border-radius: 0; border-bottom: 1px solid var(--c-line); }
#san-pham .tech-card .tag, #dich-vu .tech-card .tag { position: static; align-self: flex-start; color: var(--c-brand-ink); background: #e9f8f0; padding: 2px 8px; border-radius: 5px; margin-bottom: 12px; }
.tech-card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 24px; color: var(--c-brand-ink); }
.tech-card-link span { font-size: 20px; }
#dich-vu.tech-section { background: #edf7f0; }
#dich-vu .tech-card .tech-art img { max-height: 220px; object-fit: contain; }
.tech-model-section .split { gap: 64px; margin-bottom: 64px; }
.tech-model-section .split:last-child { margin-bottom: 0; }
.tech-model-section .split-img { border: 1px solid #cce5d6; border-radius: 20px; padding: 12px; background: #f6fbf8; box-shadow: 0 16px 40px rgba(6, 95, 70, .05); }
.tech-model-section .split-img .tech-art { border-radius: 12px; }
.tech-model-caption { display: block; padding: 12px 8px 2px; font-size: 10px; color: #567b68; letter-spacing: .04em; }
.tech-model-section .split h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.025em; }
.tech-model-section .split p { font-size: 16px; line-height: 1.8; color: #567164; }
.tech-model-section .split a { text-decoration: none; font-weight: 600; font-size: 14px; }
.sales-index .catalog-grid .post .tech-art { border-radius: 0; border-bottom: 1px solid var(--c-line); }
.sales-index .catalog-grid .post:hover .tech-art img { transform: scale(1.025); }
.sales-index .catalog-grid .post .tech-art img { transition: transform .3s; }
.sales-index .catalog-grid .post p { -webkit-line-clamp: 3; }
#quy-trinh .steps { position: relative; }
#quy-trinh .steps li { border-top: 3px solid #83cfac; box-shadow: 0 5px 20px rgba(6, 95, 70, .025); }
#quy-trinh .steps li::before { border-radius: 10px; background: #dff4e8; color: #065f46; }
#lien-he .cta-band { background-image: radial-gradient(ellipse at 80% 0, rgba(110, 231, 183, .17), transparent 60%), linear-gradient(125deg, #052f24, #0b6651); border: 1px solid #347f62; box-shadow: 0 20px 40px rgba(6, 95, 70, .1); }
.tech-enter { animation: tech-arrive .55s ease-out both; }
@keyframes tech-flow { to { stroke-dashoffset: -212; } }
@keyframes tech-arrive { from { opacity: .45; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
    .hero#tong-quan .wrap { grid-template-columns: 1fr; gap: 40px; }
    .tech-console { width: 100%; max-width: 600px; margin-inline: auto; }
    .tech-model-section .split { gap: 28px; margin-bottom: 48px; }
}
@media (max-width: 600px) {
    .hero#tong-quan { padding-block: 40px; }
    .hero#tong-quan .hero-title { font-size: 36px; line-height: 1.2; }
    .hero#tong-quan .badge { font-size: 10px; }
    .hero#tong-quan .lead { font-size: 15px; }
    .tech-console-heading { padding: 20px 16px 16px; }
    .tech-console-heading strong { font-size: 20px; }
    .tech-console-top { padding: 12px 14px; gap: 8px; font-size: 8px; }
    .tech-console-bottom { padding-inline: 14px; font-size: 8px; }
    .tech-model-section .split h3 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .tech-traces-moving path, .tech-enter { animation: none; }
    .tech-section .card:hover, .sales-index .catalog-grid .post:hover .tech-art img { transform: none; }
}
/* Sơ đồ bằng icon: xanh lam = nguồn, tím = xử lý, màu riêng cho từng ứng dụng. */
.flow-canvas { border-color: #354660; background: #101a2b; background-image: radial-gradient(ellipse at 50% 35%, rgba(73, 94, 210, .16), transparent 65%), radial-gradient(circle at 1px 1px, #273349 1px, transparent 0); background-size: auto, 22px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.flow-canvas-header { display: flex; align-items: center; gap: 8px; padding: 20px 24px; border-bottom: 1px solid #273349; color: #c2cee3; font-size: 9px; letter-spacing: .12em; }
.flow-status { width: 6px; height: 6px; border-radius: 50%; background: #8a9eff; box-shadow: 0 0 12px #7895ff; }
.flow-canvas-note { margin-left: auto; color: #8e9db7; font-size: 9px; letter-spacing: 0; }
.flow-pipeline { margin: 0; list-style: none; padding: 24px 28px 28px; }
.flow-step-label { display: block; margin-bottom: 16px; color: #8e9db7; text-align: center; font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.flow-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow-source { display: flex; flex-direction: column; align-items: center; gap: 11px; color: #e7edf9; font-size: 12px; font-weight: 600; }
.flow-icon-wrap { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid var(--flow-border); border-radius: 15px; background: var(--flow-bg); color: var(--flow-color); }
.flow-icon { display: block; width: 25px; height: 25px; }
.flow-blue { --flow-color: #80acff; --flow-border: #355b9c; --flow-bg: #1c3358; }
.flow-sky { --flow-color: #6fd5f9; --flow-border: #30627b; --flow-bg: #183a4e; }
.flow-indigo { --flow-color: #b7b0ff; --flow-border: #514879; --flow-bg: #2b284b; }
.flow-cyan { --flow-color: #67e8f9; --flow-border: #25667b; --flow-bg: #123c4b; }
.flow-amber { --flow-color: #fcd67f; --flow-border: #79602c; --flow-bg: #44391f; }
.flow-pink { --flow-color: #f8a2d3; --flow-border: #81476a; --flow-bg: #43283d; }
.flow-violet { --flow-color: #c1a6ff; --flow-border: #65508d; --flow-bg: #30284a; }
.flow-branches { display: block; width: 100%; height: 42px; overflow: visible; }
.flow-branches path, .flow-arrow path { fill: none; stroke: #526784; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.flow-branches path.flow-energy, .flow-arrow path.flow-energy { stroke: #acb9ff; stroke-dasharray: 5 24; animation: flow-signal 4s linear infinite; }
.flow-hub { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px; border: 1px solid #6d8cdf; border-radius: 18px; background: linear-gradient(120deg, #335ac0, #3253a5 55%, #354988); box-shadow: 0 8px 32px rgba(54, 89, 200, .25), inset 0 1px 0 rgba(255, 255, 255, .15); }
.flow-hub strong { display: block; font-size: 26px; color: #fff; letter-spacing: -.035em; line-height: 1.3; }
.flow-hub div > span { display: block; margin-top: 5px; font-size: 11px; color: #d3e0ff; }
.flow-arrow { display: block; width: 40px; height: 36px; margin-inline: auto; }
.flow-intelligence { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; border: 1px solid #8970c9; border-radius: 18px; background: linear-gradient(115deg, #3b2d64, #32264f); box-shadow: 0 8px 32px rgba(148, 99, 231, .09), inset 0 1px 0 rgba(255, 255, 255, .08); }
.flow-intelligence strong { color: #f1eaff; font-size: 18px; letter-spacing: -.02em; line-height: 1.4; }
.flow-engine-icons { display: flex; align-items: center; gap: 8px; }
.flow-brain, .flow-bolt { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.flow-brain { color: #c4b5fd; background: #514077; }
.flow-bolt { color: #ffd58a; background: #554335; }
.flow-engine-plus { color: #baa7df; font-size: 15px; }
.flow-engine-icons .flow-icon { width: 22px; height: 22px; }
.flow-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow-result { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--flow-border); border-radius: 14px; background: #162237; }
.flow-result .flow-icon-wrap { width: 40px; height: 40px; border-radius: 12px; }
.flow-result .flow-icon { width: 22px; height: 22px; }
.flow-result > span:last-child { color: #e8edf7; font-size: 12px; font-weight: 600; line-height: 1.45; }
@keyframes flow-signal { to { stroke-dashoffset: -116; } }
@media (max-width: 600px) {
    .flow-canvas-header { padding: 16px; font-size: 8px; gap: 6px; }
    .flow-canvas-note { font-size: 8px; }
    .flow-pipeline { padding: 20px 16px; }
    .flow-source { font-size: 11px; }
    .flow-sources { gap: 5px; }
    .flow-icon-wrap { width: 42px; height: 42px; border-radius: 13px; }
    .flow-hub { gap: 12px; padding: 18px 14px; }
    .flow-hub strong { font-size: 24px; }
    .flow-intelligence { padding: 18px 12px; gap: 12px; }
    .flow-intelligence strong { font-size: 15px; }
    .flow-engine-icons { gap: 5px; }
    .flow-brain, .flow-bolt { width: 29px; height: 29px; border-radius: 9px; }
    .flow-engine-icons .flow-icon { width: 19px; height: 19px; }
    .flow-results { gap: 8px; }
    .flow-result { padding: 11px 9px; gap: 8px; }
    .flow-result .flow-icon-wrap { width: 32px; height: 32px; border-radius: 10px; }
    .flow-result .flow-icon { width: 19px; height: 19px; }
    .flow-result > span:last-child { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .flow-branches path.flow-energy, .flow-arrow path.flow-energy { animation: none; } }
/* Làm rõ kênh online/offline; tên nền tảng không kèm biểu tượng. */
.flow-source > span:last-child { text-align: center; }
.flow-source small { display: block; margin-top: 4px; font-size: 9px; font-weight: 400; color: #b2c4df; }
.flow-hub { text-align: center; }
.flow-hub strong { font-size: 29px; }
.flow-intelligence strong { font-size: 16px; letter-spacing: .015em; }
@media (max-width: 600px) {
    .flow-hub strong { font-size: 27px; }
    .flow-intelligence strong { font-size: 13px; }
    .flow-source small { font-size: 8px; }
}

/* Nhịp khối theo trang chủ Partner; giữ nhận diện xanh lục của site. */
:root { --c-surface-2: #f4f8f6; --radius: 16px; --radius-lg: 24px; }
.sec { padding-block: clamp(48px, 6vw, 88px); }
.sec-hd { margin-bottom: 36px; }
.card, .post, .quote-card, .pain-card { box-shadow: none; border-color: var(--c-line); }
.card h3 { line-height: 1.5; }
.card p { line-height: 1.8; }
.grid > *, .split > *, .hero .wrap > * { min-width: 0; }
.hero#tong-quan { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); }
.hero#tong-quan::before, .hero#tong-quan::after { content: none; }
#san-pham.tech-section, #dich-vu.tech-section { background: var(--c-surface-2); }
#san-pham.tech-section .sec-hd h2 { color: var(--c-ink); }
#san-pham.tech-section .sec-hd p { color: var(--c-muted); }
#san-pham.tech-section .eyebrow { color: var(--c-brand-ink); }
.tech-section .card:hover { transform: none; box-shadow: 0 6px 20px rgba(6, 95, 70, .05); }
#san-pham .tech-card .tech-art, #dich-vu .tech-card .tech-art { margin: 0 0 24px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface-2); }
.tech-model-section .split-img { box-shadow: none; background: var(--c-surface-2); }
.flow-canvas { background: var(--c-surface-2); border-color: var(--c-line); box-shadow: none; border-radius: 24px; }
.flow-canvas-header { color: var(--c-brand-ink); border-color: var(--c-line); letter-spacing: .05em; flex-wrap: wrap; }
.flow-canvas-note, .flow-step-label, .flow-source small { color: var(--c-muted); }
.flow-status { background: var(--c-brand); box-shadow: none; }
.flow-source, .flow-result > span:last-child { color: var(--c-text); }
.flow-icon-wrap, .flow-brain, .flow-bolt { color: var(--c-brand-ink); background: #e3f3eb; border-color: #c9e4d6; }
.flow-hub { background: #e3f3eb; border-color: #c9e4d6; box-shadow: none; }
.flow-hub strong { color: var(--c-brand-ink); }
.flow-hub div > span { color: var(--c-text); }
.flow-intelligence, .flow-result { background: var(--c-bg); border-color: var(--c-line); box-shadow: none; }
.flow-intelligence strong, .flow-engine-plus { color: var(--c-brand-ink); }
.flow-branches path, .flow-arrow path { stroke: #b7d6c7; }
.flow-branches path.flow-energy, .flow-arrow path.flow-energy { stroke: var(--c-brand); }
.flow-icon .tech-icon { width: 100%; height: 100%; display: block; }
.site-platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 22px 16px 0; }
.site-platforms img { width: 28px; height: 28px; object-fit: contain; }
.nav-dd-btn[aria-expanded="true"] { background: var(--c-soft); color: var(--c-brand-ink); }
.nav a:focus-visible, .nav-dd-btn:focus-visible, .menu-btn:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
@media (max-width: 600px) {
    .flow-canvas-header { padding: 16px; }
    .flow-canvas-note { margin-left: 0; }
    .flow-intelligence { flex-wrap: wrap; text-align: center; }
    .card, #san-pham .tech-card, #dich-vu .tech-card { padding: 20px; }
    .site-platforms { gap: 14px; }
}
/* Art API / công cụ lấy từ Partner; phóng theo khung thay vì cố định 120px.
   Giữ cách căn giữa, nền surface và bánh răng quay của Partner. */
.site-partner-art { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 16px; background: var(--c-surface-2); }
.site-partner-art > svg { display: block; width: 100%; height: 100%; max-height: 240px; overflow: hidden; }
.site-partner-art .tool-gear { transform-box: view-box; transform-origin: 60px 60px; animation: site-partner-gear-spin 28s linear infinite; }
.site-partner-art .api-port { animation: site-partner-port-glow 5.4s ease-in-out infinite; }
@keyframes site-partner-gear-spin { to { transform: rotate(360deg); } }
@keyframes site-partner-port-glow {
    0%, 50%, 100% { fill: var(--c-bg); stroke: var(--c-brand); }
    65%, 76% { fill: var(--c-brand); stroke: var(--c-brand); }
}
@media (prefers-reduced-motion: reduce) {
    .site-partner-art .tool-gear, .site-partner-art .api-port { animation: none; }
}


/* Lượt 2: nền xanh nhạt đồng nhất cho hero và CTA để giảm mảng tối,
   giữ chữ xanh đậm đủ tương phản và nút chính rõ trên nền sáng. */
.hero:is(#tong-quan, .site-soft-hero), .cta-band, #lien-he .cta-band {
    background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%);
    color: var(--c-text);
    border: 1px solid var(--c-line);
    box-shadow: none;
}
.hero:is(#tong-quan, .site-soft-hero) { border-inline: 0; border-top: 0; border-radius: 0 0 24px 24px; }
.hero:is(#tong-quan, .site-soft-hero) .hero-title, .cta-band h2 { color: var(--c-ink); }
.hero:is(#tong-quan, .site-soft-hero) .hero-title em { color: var(--c-brand-ink); }
.hero:is(#tong-quan, .site-soft-hero) .lead, .hero:is(#tong-quan, .site-soft-hero) .quote, .cta-band p { color: var(--c-muted); }
.hero:is(#tong-quan, .site-soft-hero) .badge, .cta-band .badge {
    color: var(--c-brand-ink); background: var(--c-bg); border-color: var(--c-line); font-weight: 500;
}
.hero:is(#tong-quan, .site-soft-hero) .pills span { color: var(--c-text); background: var(--c-bg); }
.hero:is(#tong-quan, .site-soft-hero) .btn-light, .cta-band .btn-light {
    background: var(--c-brand-ink); color: #fff; border-color: var(--c-brand-ink); box-shadow: none;
}
.hero:is(#tong-quan, .site-soft-hero) .btn-outline-light, .cta-band .btn-outline-light {
    color: var(--c-brand-ink); background: var(--c-bg); border-color: var(--c-line);
}
.btn { border-radius: 999px; }
.btn-primary:hover { box-shadow: none; }
.card, .tech-section .card, .post, .quote-card, .pain-card, .steps li { border-radius: 16px; }
.cta-band, #lien-he .cta-band, .tech-model-section .split-img, .frame { border-radius: 24px; }
.card, .tech-section .card:hover, .post:hover, .quote-card, .pain-card, .frame, .shots img, .split img, .offer.featured { box-shadow: none; }
.sec { padding-block: var(--space-section); }
.sec-hd .eyebrow, .tech-section .sec-hd .eyebrow, .tech-model-section .eyebrow {
    font-weight: 500; letter-spacing: .04em; text-transform: none;
}
.tech-section .card .tag { font-weight: 500; color: var(--c-muted); }
.steps::before { content: none; }
.steps li, #quy-trinh .steps li { border: 1px solid var(--c-line); box-shadow: none; }
.steps li::before, #quy-trinh .steps li::before {
    background: var(--c-surface-2); color: var(--c-muted); font-weight: 500; box-shadow: none; border-radius: 12px;
}

/* Menu căn giữa trang trên máy tính (chủ dự án 2026-11-15): 3 cột logo | menu | nút, 2 cột bên bằng nhau */
@media (min-width: 901px) {
    .hd .wrap { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
    .hd .nav { margin: 0; justify-content: center; }
    .hd .hd-cta { justify-self: end; }
}

/* Lượt 1 thiết kế mới: nền sáng cho mọi mẫu đầu trang, demo giữ nền console. */
.page-hd, .sales-hd { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, var(--bg-mint) 0%, var(--bg-sky) 100%); }
.hero .badge, .badge { color: var(--c-brand-ink); border-color: var(--c-line); background: #fff; }
.hero .pills span { color: var(--c-text); background: #fff; }
.hero .quote { color: var(--c-muted); }
.dots button { background: var(--c-line); }
.dots button.on { background: var(--c-brand); }
.btn-primary { background: var(--c-brand); color: #fff; }
.btn-primary:hover { filter: brightness(.94); }
.btn-outline-light { background: #fff; color: var(--c-brand-ink); border-color: var(--c-line); }
.nav-mega { position: static; }
.hd .wrap { position: relative; }
.nav-mega.open > .nav-dd-menu { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr; gap: 16px; left: 20px; right: 20px; padding: 24px; }
.nav-sub-btn { font: inherit; font-weight: 700; color: var(--c-ink); background: transparent; border: 0; padding: 8px 10px; text-align: left; }
.nav-sub { display: block; }
.nav-sub a { font-weight: 400; }
.nav-sub-btn:focus-visible { outline: 2px solid var(--c-brand-2); outline-offset: 3px; }
.home-hero .wrap { max-width: 1400px; grid-template-columns: 1fr 1fr; gap: 48px; }
.home-hero h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; }
.partner-tool-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-grid + .partner-tool-groups { margin-top: 20px; }
.partner-tool-group { display: flex; flex-direction: column; min-width: 0; }
.partner-tool-group .partner-tool-links { list-style: none; padding: 0; margin: auto 0 0; }
.partner-tool-links a { display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--c-brand); }
.partner-tool-links a > .site-icon { width: 24px; height: 24px; flex-shrink: 0; }
.partner-tool-links a > span:last-child { margin-left: auto; }
.home-v2 .card { padding: 28px; }
.home-v2 .card h3 { margin-bottom: 12px; }
.home-section-action { margin-top: 28px; text-align: center; }
.home-article { display: flex; justify-content: space-between; gap: 20px; }
.home-v2 section[id] { scroll-margin-top: 80px; }
@media (min-width: 769px) and (max-width: 900px) {
    .menu-btn { display: none; }
    .hd .nav, .hd .hd-cta { display: flex; }
    .hd .wrap { flex-wrap: nowrap; gap: 8px; }
    .hd .logo { font-size: 14px; }
    .hd .logo img { width: 28px; height: 28px; }
    .hd-cta .btn { padding: 8px; font-size: 12px; }
    .nav-dd-menu { position: absolute; background: #fff; border: 1px solid var(--c-line); }
    .nav a, .nav-dd-btn { padding: 8px 6px; font-size: 12px; }
    .nav-dd-menu a { font-size: 14px; }
}
@media (max-width: 1000px) { .home-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) {
    .hd.open { max-height: 100dvh; overflow-y: auto; }
    .nav-mega.open > .nav-dd-menu { display: block; padding: 0; margin: 0 12px 8px; }
    .nav-sub-btn { width: 100%; cursor: pointer; }
    .nav-sub-btn::after { content: ' +'; }
    .nav-sub-btn[aria-expanded="true"]::after { content: ' −'; }
    .nav-sub-btn[aria-expanded="false"] + .nav-sub { display: none; }
    .nav-sub { padding-left: 12px; }
    .partner-tool-groups { grid-template-columns: minmax(0, 1fr); }
    .hd.open .hd-cta { flex-wrap: wrap; }
    .hd-lang { flex-basis: 100%; }
}

/* Lượt 5: điểm nhấn đỏ; chữ nhỏ dùng đỏ đậm để đạt AA trên nền sáng. */
:root { --c-accent-red: #FE2C55; --c-accent-red-ink: #c51d40; --c-accent-red-soft: #fff0f3; }
.home-v2 .eyebrow, .product-hub .eyebrow { display: block; color: var(--c-accent-red-ink); margin-bottom: 12px; }
.home-hero h1 em { color: var(--c-accent-red-ink); font-style: normal; }
.home-v2 h2::after { content: ''; display: block; width: 40px; height: 3px; margin-top: 18px; background: var(--c-accent-red); border-radius: 2px; }
.home-v2 .cta-band h2::after, .home-v2 .sec-hd h2::after, .sec-hd h2::after { margin-left: auto; margin-right: auto; }
.home-solution-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.home-solution-number { color: var(--c-accent-red-ink); font-size: 28px; font-weight: 600; }
.custom-badge { align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--c-accent-red-soft); color: var(--c-accent-red-ink); font-size: 12px; font-weight: 600; }
.home-levels small { display: block; margin-top: 16px; color: var(--c-muted); }
/* Hero: bốn tầng minh họa tĩnh theo bảng màu pastel của site. */
.hero-value-art { width: 100%; max-width: 480px; min-width: 0; justify-self: center; align-self: center; }
.hero-value-art > svg { display: block; width: 100%; height: auto; }
.hero-value-arrow { stroke: var(--c-brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hero-value-link { stroke: var(--c-brand); stroke-width: 1.6; opacity: .35; }
.hero-value-rule { stroke: var(--c-brand); opacity: .35; }
.hero-value-pill { fill: #fff; stroke: var(--c-brand); }
.hero-value-number { fill: var(--c-accent-red-ink); font-size: 18px; font-weight: 600; }
.hero-value-label { fill: var(--c-brand-ink); font-size: 22px; font-weight: 600; }
.hero-value-slot > .site-icon { width: 100%; height: 100%; }
.site-icon-mcp { font-family: var(--font-sans); font-size: 5px; font-weight: 700; }
.home-platform-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; margin-top: 64px; }
.home-platform-block:nth-of-type(even) > div:first-child { order: 2; }
.home-platform-block h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.4; margin-bottom: 18px; }
.home-platform-block p, .home-platform-block li { line-height: 1.8; }
.home-platform-block ul { padding-left: 22px; margin-block: 22px; }
.home-platform-block li + li { margin-top: 10px; }
.home-platform-block > div { min-width: 0; }
.home-platform-art { display: grid; place-items: center; min-height: 320px; border: 1px solid var(--c-line); border-radius: 24px; background: radial-gradient(circle, #e0f2e9, #f4f8f6 70%); color: var(--c-brand-ink); }
.home-platform-art svg { width: min(80%, 260px); height: auto; }
@media (max-width: 768px) {
    .home-platform-block { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 44px; }
    .home-platform-block:nth-of-type(even) > div:first-child { order: 0; }
    .home-platform-art { min-height: 220px; }
    .hero-value-art { max-width: 360px; }
}

/* Hệ giá trị: nền pastel và thẻ trắng theo bảng màu của web. */
.home-levels a, .home-article { text-decoration: none; color: var(--c-ink); }
.home-levels a:hover, .home-article:hover { border-color: var(--c-brand); }
.home-card-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-weight: 600; }
.value-system { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 92%), linear-gradient(to right, #DEF7EB 0%, #DDF1FF 100%); color: var(--c-text); }
.value-system .wrap { max-width: 1240px; }
.home-v2 .value-system .eyebrow { color: var(--c-accent-red-ink); }
.value-system h2, .value-system h3 { color: var(--c-ink); }
.value-chain-steps, .partner-flow { list-style: none; padding: 0; margin: 0; }
.value-chain-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.value-chain-steps li { position: relative; min-width: 0; padding: 22px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; }
.value-chain-steps li + li::before { content: '›'; position: absolute; left: -24px; top: 40px; font-size: 28px; color: var(--c-brand); }
.value-chain-steps svg { display: block; width: 56px; height: 56px; margin-bottom: 16px; }
.value-number { color: var(--c-accent-red); font-size: 13px; font-weight: 700; }
.value-chain-steps h3 { font-size: 19px; line-height: 1.4; margin: 8px 0 12px; }
.value-chain-steps p { font-size: 15px; line-height: 1.65; margin: 0; }
.site-icon { display: block; flex-shrink: 0; }
/* Hình nhỏ dùng chung shared/views/icon.ejs: nét = currentColor, mảng ic-a/b/c — site tô xanh lá như cũ. */
.site-icon-sm { color: var(--c-brand); }
.q-icon .ic-a { fill: #DEF7EB; }
.q-icon .ic-b { fill: #DDF1FF; }
.q-icon .ic-c { fill: #fff; }
.tech-icon, .flow-icon { display: block; }
.tech-icon > .site-icon, .flow-icon > .site-icon { width: 100%; height: 100%; }
.site-duotone-art > .site-icon { width: min(100%, 320px); height: auto; margin: auto; }
.tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; color: var(--c-brand-ink); background: var(--bg-mint); margin-bottom: 12px; }
.tool-icon svg { width: 28px; height: 28px; }
.partner-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px; margin: 32px 0 40px; padding: 30px; border: 1px solid var(--c-line); border-radius: 22px; background: #fff; }
.partner-flow li { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--c-brand-ink); font-weight: 600; }
.partner-flow li + li::before { content: '→'; position: absolute; left: -27px; top: 9px; font-size: 24px; color: var(--c-brand); }
.partner-flow li:last-child .tool-icon { box-shadow: inset 0 -3px var(--c-accent-red); }
@media (max-width: 768px) {
    .value-chain-steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .value-chain-steps li { padding: 22px; }
    .value-chain-steps li + li::before { content: '⌄'; top: -32px; left: 36px; }
    .partner-flow { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 24px; }
    .partner-flow li + li::before { content: '↓'; left: calc(50% - 9px); top: -35px; }
}

/* Biểu tượng điều hướng và liên hệ dùng cùng bộ hình, giữ cỡ nút hiện hành. */
.blog-nav-icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.blog-nav-icon svg { width: 100%; height: 100%; }
.fab-btn > .site-icon { width: 24px; height: 24px; }

/* Nét cố định theo pixel màn hình, kể cả hình lớn và hình lồng trong SVG hero. */
.site-icon :is(path, rect, circle, ellipse, line, polyline, polygon) { vector-effect: non-scaling-stroke; stroke-width: 1.6px; }
.site-icon-mcp-lg { font-family: var(--font-sans); font-size: 20px; font-weight: 700; }
.home-solution-identity { display: flex; align-items: center; gap: 12px; }
.home-solution-identity .tool-icon { margin-bottom: 0; }
