/* T08 — giao diện dịch vụ kế toán, thuế, tư vấn doanh nghiệp.
   Bảng màu Đại Hải Thủy: xanh đại dương đậm (chủ đạo), xanh biển (bản mệnh), xanh dương (điểm nhấn, dùng tiết chế),
   bạc ghi (tương sinh), trắng xanh (nền). Font Be Vietnam Pro. */
:root {
    --ink: #061B35;
    --ocean: #075A91;
    --sky: #0EA5E9;
    --silver: #C5CED8;
    --ice: #F4F7FB;
    --white: #fff;
    --text: #13243b;
    --muted: #4f6077;
    --line: #dbe3ec;
    --ocean-soft: #e6f0f8;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(6, 27, 53, .06), 0 8px 24px rgba(6, 27, 53, .07);
    --wrap: 1200px;
    --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
main:focus { outline: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ocean); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--sky); color: var(--ink); }
.btn-accent:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ice); color: var(--ink); }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.text-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; color: var(--ocean); font-style: normal; }
.text-link:hover { color: var(--ink); }

/* Topbar + header */
.topbar { background: var(--ink); color: var(--silver); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--sky); }
.topbar a[aria-current] { color: var(--sky); }
.topbar .ico { width: 16px; height: 16px; }
.topbar-links { display: flex; gap: 18px; }
.masthead { background: #fff; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 54px; }
.brand span { font-weight: 700; font-size: 20px; color: var(--ink); }
.masthead-actions { display: flex; align-items: center; gap: 18px; }
.hotline { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.hotline small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.hotline b { font-size: 19px; letter-spacing: .01em; }
.hotline-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ocean-soft); color: var(--ocean); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.mainnav { position: sticky; top: 0; z-index: 40; background: var(--ocean); box-shadow: 0 2px 12px rgba(6, 27, 53, .18); }
.mainnav-inner { display: flex; align-items: stretch; justify-content: center; gap: 6px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 15px 18px; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-caret { display: none; }
.nav-caret svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-drop { position: absolute; left: 0; top: 100%; min-width: 280px; max-width: 360px; padding: 8px; background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow); border-top: 3px solid var(--sky); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-item:nth-last-child(-n+3) .nav-drop { left: auto; right: 0; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop, .nav-item.is-open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14.5px; text-decoration: none; line-height: 1.4; }
.nav-drop a:hover { background: var(--ice); color: var(--ocean); }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-ice { background: var(--ice); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-head-row h2 { margin: 0; }
.section-more { margin: 28px 0 0; text-align: center; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(14, 165, 233, .28), transparent 60%), linear-gradient(135deg, var(--ink) 0%, #0a2f57 55%, var(--ocean) 100%); padding: 72px 0 110px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }
.hero-wave path:first-child { fill: rgba(197, 206, 216, .14); }
.hero-wave path:last-child { fill: #fff; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero-kicker { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border: 1px solid rgba(197, 206, 216, .45); border-radius: 999px; color: var(--silver); font-size: 14px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); }
.hero-lead { font-size: 1.1rem; color: #dbe6f1; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(197, 206, 216, .3); border-radius: 20px; padding: 28px; backdrop-filter: blur(6px); }
.hero-card-title { font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; color: #fff; margin-bottom: 18px; }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list b { display: block; color: #fff; }
.value-list span { color: #cfdbe7; font-size: 15px; }
.value-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: var(--ink); flex: none; }
.value-mark .ico { width: 18px; height: 18px; stroke-width: 2.4; }

/* Service groups (home) */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-color: var(--silver); box-shadow: var(--shadow); }
.service-card h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card > p { color: var(--muted); font-size: 15px; }
.service-card .text-link { margin-top: auto; padding-top: 12px; }
.service-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ocean-soft); color: var(--ocean); flex: none; }
.service-links { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.service-links li { border-bottom: 1px solid var(--line); }
.service-links a { display: block; padding: 9px 0 9px 18px; position: relative; color: var(--text); text-decoration: none; font-size: 15px; }
.service-links a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: translateY(-50%) rotate(45deg); }
.service-links a:hover { color: var(--ocean); }

/* Household feature */
.feature { background: linear-gradient(135deg, var(--ink), #0b3a66); color: #dbe6f1; }
.feature-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.feature h2 { color: #fff; }
.feature-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(14, 165, 233, .16); color: #fff; font-weight: 600; margin-bottom: 16px; }
.feature-badge .ico { color: var(--sky); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.feature-actions .btn-ghost { color: #fff; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-list a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(197, 206, 216, .18); color: #fff; text-decoration: none; font-size: 15px; line-height: 1.35; height: 100%; }
.feature-list a:hover { background: rgba(255, 255, 255, .12); border-color: var(--sky); }
.feature-list .ico { color: var(--sky); }

/* Digital solutions */
.digital-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.digital-tile { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.digital-tile:hover { border-color: var(--ocean); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.digital-tile b { color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.digital-tile span:last-child { color: var(--muted); font-size: 14.5px; }

/* Why + process */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { padding: 18px 20px; border-left: 4px solid var(--ocean); background: var(--ice); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.why-list b { display: block; color: var(--ink); }
.why-list span { color: var(--muted); font-size: 15px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 20px 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: #fff; font-weight: 700; font-size: 15px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: 0; width: 2px; background: var(--silver); }
.steps b { display: block; color: var(--ink); font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: 15px; }
.section-ice .process { max-width: 820px; }
.section-ice .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.section-ice .steps li { padding: 60px 0 0; }
.section-ice .steps li::after { left: 50px; right: -12px; top: 22px; bottom: auto; width: auto; height: 2px; }
.section-ice .process { max-width: none; }

/* FAQ */
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq-item[open] { border-color: var(--silver); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--ocean-soft); color: var(--ocean); display: grid; place-items: center; font-size: 20px; font-weight: 500; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--ocean-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-ph { display: grid; place-items: center; height: 100%; color: var(--ocean); }
.post-ph .ico { width: 44px; height: 44px; stroke-width: 1.3; }
.post-body { padding: 18px 20px 22px; }
.post-body time { font-size: 13px; color: var(--muted); }
.post-body h3 { margin: 6px 0 8px; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a:hover { color: var(--ocean); }
.post-body p { color: var(--muted); font-size: 15px; margin: 0; }
.empty { padding: 22px 24px; border: 1px dashed var(--silver); border-radius: var(--radius-sm); background: var(--ice); color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination span[aria-current] { background: var(--ocean); border-color: var(--ocean); color: #fff; }

/* Consult form */
.consult { background: var(--ice); }
.consult-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.consult-copy p { color: var(--muted); }
.consult-contacts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.consult-contacts li { padding: 14px 18px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.consult-contacts span { display: block; font-size: 13px; color: var(--muted); }
.consult-contacts a { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); word-break: break-word; }
.form-card { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--ocean); }
.form-card > h2 { font-size: 1.4rem; }
.form-sub { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--silver); border-radius: 10px; font: 400 16px/1.4 var(--font); color: var(--text); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean); outline: 3px solid rgba(14, 165, 233, .25); outline-offset: 0; }
.req { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit .btn { width: 100%; min-height: 52px; font-size: 16px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.feedback { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.feedback.success { background: #e7f6ee; color: #135c36; }
.feedback.error { background: #fdecec; color: #8a1c1c; }
.captcha-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.captcha-row input { flex: 1 1 140px; }
.captcha-refresh { min-height: 44px; padding: 0 14px; border: 1px solid var(--silver); border-radius: 10px; background: #fff; cursor: pointer; font: 500 14px var(--font); }

/* Page head, breadcrumbs */
.crumbs-area { padding-top: 18px; }
.breadcrumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--ocean); text-decoration: none; }
.breadcrumbs .sep { color: var(--silver); }
.page-head { padding: 28px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--ice)); }
.page-head-inner { display: flex; gap: 22px; align-items: flex-start; }
.page-head-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--ocean); color: #fff; flex: none; margin-top: 6px; }
.page-head-icon .ico { width: 30px; height: 30px; }
.page-head .lead { font-size: 1.1rem; color: var(--muted); max-width: 820px; }
.page-head .meta { font-size: 14px; color: var(--muted); margin: 0; }
.page-head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.page-head-actions .btn-ghost { color: var(--ocean); }

/* Detail cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.detail-card:hover { border-color: var(--ocean); box-shadow: var(--shadow); color: var(--text); }
.detail-card b { color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.detail-card > span:not(.service-icon) { color: var(--muted); font-size: 15px; }
.detail-card .text-link { margin-top: auto; }

.chips-area { padding-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: 14.5px; }
.chips a:hover { border-color: var(--ocean); color: var(--ocean); }
.chips a[aria-current] { background: var(--ocean); border-color: var(--ocean); color: #fff; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 40px; padding-bottom: 56px; }
.article-cover { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.prose { font-size: 17px; line-height: 1.75; }
.prose.ql-editor { padding: 0; white-space: normal; overflow: visible; height: auto; }
.prose h2 { margin: 1.6em 0 .6em; font-size: 1.45rem; padding-top: 4px; }
.prose h3 { margin: 1.4em 0 .5em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--sky); background: var(--ice); border-radius: 0 10px 10px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
/* Ảnh trong nội dung: căn giữa, rộng tối đa 80% khung nội dung, không phóng ảnh nhỏ. Chú thích (đoạn in nghiêng ngay dưới ảnh)
   được site.js gói vào figure và giới hạn đúng bằng bề rộng thực tế của ảnh; khi chưa chạy JS vẫn căn giữa bằng :has. */
.prose img { display: block; max-width: 80%; height: auto; margin: 1.4em auto .6em; border-radius: 10px; }
.prose p:has(> img) { text-align: center; }
.prose p:has(> img:only-child) + p:has(> em:only-child) { max-width: 80%; margin-inline: auto; text-align: center; font-size: 14.5px; color: var(--muted); }
.prose .content-figure { margin: 1.4em auto; text-align: center; }
.prose .content-figure img { margin: 0 auto; }
.prose .content-figure figcaption { max-width: 80%; margin: 8px auto 0; text-align: center; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.related { margin-top: 36px; padding: 22px 24px; border-radius: var(--radius); background: var(--ice); }
.related h2 { font-size: 1.15rem; }
.related ul { margin: 0; padding-left: 1.2em; }
.article-note { margin-top: 28px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.aside-sticky { position: sticky; top: 76px; display: grid; gap: 18px; }
.panel { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.panel h2 { font-size: 1.05rem; margin-bottom: 12px; }
.panel h2 a { color: var(--ink); text-decoration: none; }
.panel-dark { background: var(--ink); border-color: var(--ink); color: #cfdbe7; }
.panel-dark h2 { color: #fff; }
.panel-dark p { font-size: 15px; }
.panel-dark .btn { margin-top: 8px; }
.panel-dark .btn-ghost { color: #fff; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 14.5px; }
.toc ol ol { margin-top: 6px; padding-left: 1em; list-style: lower-alpha; }
.toc-inline { display: none; margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ice); }
.toc-inline summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.toc-inline ol { margin-top: 10px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--ocean); font-weight: 600; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 9px 0; font-size: 14.5px; color: var(--text); text-decoration: none; }
.side-links a:hover { color: var(--ocean); }
.empty-page { padding: 48px 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-cards { display: grid; gap: 16px; }
.about-cards p { margin: 0; color: var(--muted); }
.values-title { margin-top: 40px; }
.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values-grid li { padding: 22px; border-radius: var(--radius); background: var(--ice); display: grid; gap: 8px; }
.values-grid b { color: var(--ink); font-size: 1.1rem; }
.values-grid span:last-child { color: var(--muted); font-size: 15px; }

/* Contact page */
/* Tiêu đề trải hết chiều ngang; cột thông tin và cột form rộng bằng nhau, cao bằng nhau (bản đồ giãn theo chiều cao form). */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "info form"; gap: 0 48px; align-items: stretch; }
.contact-info { display: contents; }
.contact-head { grid-area: head; margin-bottom: 28px; }
.contact-head .lead { color: var(--muted); font-size: 1.05rem; max-width: 820px; margin: 0; }
.contact-body { grid-area: info; display: flex; flex-direction: column; }
.contact-body .contact-cards { margin-top: 0; }
.contact-body .map { flex: 1 1 auto; min-height: 260px; aspect-ratio: auto; }
.contact-form { grid-area: form; display: flex; flex-direction: column; }
.contact-form .form-card { flex: 1 1 auto; }
.contact-cards { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contact-cards small { display: block; color: var(--muted); font-size: 13px; }
.contact-cards a { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; word-break: break-word; }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--ice); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--ice); color: var(--muted); font-size: 15px; }

/* CTA band + footer */
.cta-band { background: var(--ink); color: #cfdbe7; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 640px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.site-footer { background: var(--ice); color: var(--muted); font-size: 15px; border-top: 4px solid var(--ocean); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .85fr 1.35fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 16px; }
.footer-name { color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.footer-motto { color: var(--ocean); font-weight: 600; }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; break-inside: avoid; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ocean); }
.footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact b { font-weight: 600; color: var(--ink); }
.footer-contact a { font-weight: 600; color: var(--ink); word-break: break-word; }
.footer-bottom { background: var(--ink); color: var(--silver); font-size: 13.5px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.mobile-contact { display: none; }

/* Responsive */
@media (max-width: 1199px) {
    .topbar-tag { display: none; }
    .topbar-inner { justify-content: flex-end; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .masthead { position: sticky; top: 0; z-index: 45; box-shadow: 0 1px 0 var(--line); }
    .masthead-inner { min-height: 70px; }
    .brand img { height: 46px; }
    .mainnav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 60; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; box-shadow: -12px 0 40px rgba(6, 27, 53, .25); }
    .mainnav.is-open { transform: none; }
    .mainnav-inner { flex-direction: column; padding: 76px 16px 24px; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-link { flex: 1; color: var(--ink); padding: 14px 6px; font-size: 16px; }
    .nav-link:hover, .nav-item:hover > .nav-link { background: none; color: var(--ocean); }
    .nav-caret { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--ice); border-radius: 10px; color: var(--ink); cursor: pointer; }
    .nav-item.is-open .nav-caret svg { transform: rotate(180deg); }
    .nav-drop { position: static; display: none; min-width: 0; max-width: none; width: 100%; padding: 0 0 10px 10px; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; border-radius: 0; }
    .nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: none; }
    .nav-item.is-open .nav-drop { display: block; }
    .nav-close { position: absolute; top: 16px; right: 16px; }
    body.nav-open { overflow: hidden; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(6, 27, 53, .45); z-index: 55; }
    .service-grid, .card-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
    .digital-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
    .section-ice .steps { grid-template-columns: 1fr; gap: 4px; }
    .section-ice .steps li { padding: 4px 0 20px 64px; }
    .section-ice .steps li::after { left: 22px; right: auto; top: 50px; bottom: 0; width: 2px; height: auto; }
}
@media (max-width: 860px) {
    .hotline { display: none; }
    .masthead-actions .btn { display: none; }
    .hero { padding: 48px 0 96px; }
    .hero-grid, .feature-grid, .why-grid, .consult-grid, .contact-layout, .about-grid, .article-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-areas: "head" "form" "info"; gap: 28px; }
    .contact-head { margin-bottom: 0; }
    .contact-body .map { flex: none; aspect-ratio: 4 / 3; }
    .hero-grid { gap: 32px; }
    .article-layout { gap: 24px; padding-top: 28px; }
    .aside-sticky { position: static; }
    .toc-inline:not([hidden]) { display: block; }
    .article-aside .toc { display: none !important; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand, .footer-contact { grid-column: 1 / -1; }
    .values-grid { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .section-tight { padding: 36px 0; }
    body { padding-bottom: 64px; }
    .mobile-contact { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(6, 27, 53, .1); }
    .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-weight: 600; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
    .mobile-contact a.is-primary { background: var(--ocean); color: #fff; border: 0; }
}
@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .topbar { display: none; }
    .service-grid, .card-grid, .post-grid, .digital-grid, .feature-list { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .form-card { padding: 22px 18px; }
    .page-head-inner { flex-direction: column; gap: 14px; }
    .page-head-icon { width: 52px; height: 52px; margin: 0; }
    .hero-actions .btn, .feature-actions .btn, .page-head-actions .btn, .cta-band .actions .btn { width: 100%; white-space: normal; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .footer-links ul { columns: 1; }
    .hero-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Liên hệ nhanh nổi (skin Hotline): biểu tượng tròn, nhãn mở ra khi rê chuột hoặc focus bàn phím. */
.quick-chat { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 48; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: calc(100% - 40px); }
.quick-chat-link { display: inline-flex; flex-direction: row-reverse; align-items: center; min-width: 52px; min-height: 52px; max-width: 100%; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(6, 27, 53, .18); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.quick-chat-link:hover, .quick-chat-link:focus-visible, .quick-chat-link.is-hover { border-color: var(--ocean); color: var(--ocean); box-shadow: 0 8px 22px rgba(6, 27, 53, .24); }
.quick-chat-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; }
.quick-chat-zalo .quick-chat-icon { background: #0068ff; }
.quick-chat-messenger .quick-chat-icon { background: #0084ff; }
.quick-chat-call .quick-chat-icon { background: var(--ocean); animation: quick-ring 2.4s ease-in-out infinite; }
.quick-chat-icon img { display: block; width: 50px; height: 50px; border-radius: inherit; object-fit: contain; }
.quick-chat-icon svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.quick-chat-text { display: block; max-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-inline: 0; opacity: 0; transition: max-width .18s ease, padding .18s ease, opacity .18s ease; }
.quick-chat-link:focus-visible .quick-chat-text { max-width: min(280px, calc(100vw - 112px)); padding-inline: 16px; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .quick-chat-link:hover .quick-chat-text, .quick-chat-link.is-hover .quick-chat-text { max-width: min(280px, calc(100vw - 112px)); padding-inline: 16px; opacity: 1; }
}
@keyframes quick-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, .45); } 50% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); } }
/* SDK Zalo: nút vô hình phủ lên biểu tượng Zalo; hộp chat neo góc phải. */
.zalo-chat-widget { right: 20px !important; bottom: 20px !important; left: auto !important; }
.zalo-chat-widget.chat-overlay { left: var(--zalo-x) !important; top: var(--zalo-y) !important; right: auto !important; bottom: auto !important; width: 60px !important; height: 60px !important; transform-origin: 0 0; transform: scale(var(--zalo-sx), var(--zalo-sy)); opacity: 0 !important; z-index: 49 !important; }
@media (max-width: 860px) {
    /* Trên mobile đã có thanh Gọi/Đăng ký tư vấn ở đáy: nút nổi đặt cao hơn thanh này và bỏ nút Gọi trùng. */
    .quick-chat { right: 14px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
    .quick-chat-call { display: none; }
    .zalo-chat-widget { right: 14px !important; bottom: 74px !important; }
}
@media (prefers-reduced-motion: reduce) { .quick-chat-link, .quick-chat-text { transition: none; } .quick-chat-call .quick-chat-icon { animation: none; } }


/* Trang chủ theo menu 6 mục */
.service-card-all { text-decoration: none; color: var(--text); background: var(--ice); border-style: dashed; border-color: var(--silver); }
.service-card-all h3 { color: var(--ocean); }
.service-card-all:hover { border-color: var(--ocean); color: var(--text); }
.digital-grid-3 { grid-template-columns: repeat(3, 1fr); }
.process-more { margin: 8px 0 0 64px; }
@media (max-width: 1199px) { .digital-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .digital-grid-3 { grid-template-columns: 1fr; } .process-more { margin-left: 0; } }
