/* CMS khutrungtoancau — giao diện công khai, bố cục doanh nghiệp (mẫu 23/09/2026).
   Font Kodchasan (có tiếng Việt) theo yêu cầu chủ web, tự lưu ở assets/fonts; không khung CSS, không thư viện icon. */

/* Kodchasan tự lưu (OFL), tải từ Google Fonts 25/09/2026: 4 độ đậm × 3 bộ ký tự (bỏ bộ Thái).
   Thứ tự mỗi độ đậm: latin-ext → vietnamese → latin. Trình duyệt dò mặt chữ khai báo SAU trước, nên chữ ă đ ĩ ũ ơ ư lấy từ
   tệp vietnamese thay vì kéo thêm tệp latin-ext (trang tiếng Việt chỉ cần latin + vietnamese, bớt ~50 KB font). */
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/kodchasan-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/kodchasan-400-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/kodchasan-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/kodchasan-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/kodchasan-500-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/kodchasan-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/kodchasan-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/kodchasan-600-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/kodchasan-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kodchasan-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kodchasan-700-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kodchasan-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #14211a; --ink-2: #5b6a61; --ink-3: #8a968f; --line: #e1e9e4; --bg: #ffffff; --bg-2: #f4f8f5; --bg-3: #e8f3ec;
  --brand: #178a4e; --brand-2: #0f6236; --brand-3: #0a4a29; --brand-soft: #e3f2e8; --accent: #178a4e; --link: #0f6236;
  --radius: 14px; --radius-sm: 10px; --wrap: 1200px; --shadow: 0 10px 30px rgba(16, 60, 36, .10); --shadow-sm: 0 2px 10px rgba(16, 60, 36, .06);
  --font: "Kodchasan", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 100; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 8px; }
.sub { color: var(--ink-2); max-width: 640px; }
.ring { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); flex: none; }
.ring svg { width: 20px; height: 20px; }
.ring-solid { background: var(--brand); color: #fff; }

/* Nút */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1.5px solid var(--brand); border-radius: 999px; color: var(--brand-2); text-decoration: none; font-weight: 600; font-family: inherit; font-size: .95rem; background: #fff; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--brand-soft); color: var(--brand-3); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-call { background: var(--brand-2); border-color: var(--brand-2); color: #fff; white-space: nowrap; }
.btn-call:hover { background: var(--brand-3); color: #fff; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; transition: transform .15s; }
.more-link:hover svg { transform: translateX(3px); }

/* Đầu trang */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
@media (max-width: 1280px) { .header-phone span { display: none; } }
.brand { display: block; margin-right: auto; flex: none; }   /* không bao giờ co logo, dù menu dài */
.brand img { height: 54px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 8px 13px; color: var(--ink); text-decoration: none; border-radius: 8px; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav li[aria-current] > a { color: var(--brand-2); background: var(--bg-2); }
.site-nav .has-sub > ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: 230px; padding: 6px; box-shadow: var(--shadow); flex-direction: column; }
.site-nav .has-sub:hover > ul, .site-nav .has-sub:focus-within > ul { display: flex; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.site-nav { min-width: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header-cta { white-space: nowrap; }
.header-phone svg { color: var(--brand); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
/* Menu 7 mục: dưới 1024px chuyển sang nút ba gạch */
@media (max-width: 1023px) {
  .header-inner { min-height: 66px; gap: 12px; }
  .brand img { height: 44px; }
  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 11px 12px; font-size: 1rem; }
  .site-nav .has-sub > ul { display: block; position: static; border: 0; box-shadow: none; padding-left: 12px; }
  .nav-mobile-extra { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
  .header-cta { display: none; }
}

/* Hero doanh nghiệp */
/* Banner trang chủ — phương án A (23/09/2026): ảnh hiện trường toàn khung chạy slide, chữ trái, thẻ kính phải, dải liên hệ */
.banner { position: relative; color: #fff; overflow: hidden; background: #0a3d22; display: flex; align-items: center; min-height: clamp(560px, 76vh, 780px); }
.banner-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; opacity: 0; transition: opacity 1.4s ease; }
.banner-slides img.on { opacity: 1; }
.banner-slides img.lat { transform: scaleX(-1); object-position: 32% 40%; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8,48,27,.96) 0%, rgba(8,48,27,.9) 46%, rgba(8,48,27,.42) 70%, rgba(8,48,27,.2) 100%); }
.hero-grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 48px; align-items: end; padding-top: 72px; padding-bottom: 28px; }
.banner .eyebrow { color: #8fe0ad; }
.hero-copy h1 { font-size: clamp(1.75rem, 2.8vw, 2.3rem); line-height: 1.14; margin: 0 0 18px; color: #fff; }
.hero-copy h1 .hl { color: #8fe0ad; }
.hero-copy .lead { font-size: 1.08rem; color: rgba(255,255,255,.86); max-width: 580px; margin: 0 0 26px; }
.banner .quick-answer { max-width: 580px; margin: 0 0 24px; background: rgba(255,255,255,.08); border-left-color: #8fe0ad; color: rgba(255,255,255,.92); font-size: 1rem; line-height: 1.6; }   /* mục 286 */
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.banner .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.banner .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; font-size: .82rem; line-height: 1.35; font-weight: 500; }
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust li > span:last-child { white-space: nowrap; }
.hero-trust .ring { background: rgba(255,255,255,.14); color: #fff; }
.hero-card { justify-self: end; background: rgba(255,255,255,.10); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 20px 22px; max-width: 380px; }
.hero-card h2 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8fe0ad; font-weight: 700; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.4; }
.hero-card li strong { display: block; font-size: .98rem; }
.hero-card .ring { width: 36px; height: 36px; background: rgba(255,255,255,.14); color: #fff; }
.hero-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.hero-chip { font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.85); padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(8,48,27,.35); min-height: 1em; }
.hero-chip:empty { display: none; }
.hero-strip { background: var(--brand-2); color: #fff; }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid rgba(255,255,255,.14); font-size: .9rem; line-height: 1.3; }
.hero-strip div:last-child { border-right: 0; }
.hero-strip .ring { width: 38px; height: 38px; background: rgba(255,255,255,.14); color: #fff; }
.hero-strip small { display: block; opacity: .75; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-strip a { color: #fff; text-decoration: none; font-weight: 700; }
.hero-phone-list a { display: block; }
.hero-strip .hero-compliance { display: block; padding-top: 0; padding-bottom: 0; border-right: 0; }
.hero-strip .hero-compliance-item { justify-content: center; border-right: 0; padding: 18px 0; text-align: center; }
.hero-compliance-item p { margin: 0; }
.hero-compliance-item strong { font-size: .98rem; }
.hero-compliance-item p > span { color: rgba(255,255,255,.82); line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .banner-slides img { transition: none; } }
@media (max-width: 900px) {
  .banner { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 22px; }
  .hero-copy h1 { font-size: 1.7rem; }
  .hero-card { justify-self: stretch; max-width: none; }
  .hero-strip .wrap { grid-template-columns: 1fr 1fr; }
  .hero-strip div:nth-child(2) { border-right: 0; }
}
@media (max-width: 520px) {
  .hero-strip .wrap { grid-template-columns: 1fr; }
  .hero-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-strip div:last-child { border-bottom: 0; }
}

/* Dải logo khách hàng (khối HTML "logo-khach-hang", ẩn khi trống) */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.logos .eyebrow { color: var(--ink-3); margin-bottom: 14px; }
.logos-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logos-row img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* Khối chung trang chủ */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-2); }
.section-title { margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0 0 6px; }
.section-head .sub { margin: 0; }
@media (max-width: 700px) { .section-head { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Nguyên tắc làm nghề — trang chủ, ngay dưới banner (chủ web 24/09/2026) */
.eyebrow-pill { display: inline-block; padding: 5px 14px; border: 1px solid #b9dcc6; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); letter-spacing: .06em; }
.nguyen-tac-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 32px; }
.nguyen-tac-head h2 { margin: 6px 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.nguyen-tac-head .sub { margin: 0; max-width: 520px; justify-self: end; }
.nguyen-tac-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nguyen-tac-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.nguyen-tac-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.nguyen-tac-title h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.nguyen-tac-card p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.6; }
.nt-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; flex: none; }
.nt-ico svg { width: 21px; height: 21px; }
.nt-xanh { background: #e6f0fb; color: #2f6fb8; }
.nt-vang { background: #fbf1df; color: #9a6a1c; }
.nt-cam { background: #fdeee4; color: #d9692a; }
.nt-do { background: #fde8ea; color: #c93a4a; }
.nguyen-tac-foot { text-align: center; margin: 28px 0 0; color: var(--ink-2); }
.nguyen-tac-foot a { color: var(--brand-3); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nguyen-tac-foot a:hover { color: var(--brand); }
@media (max-width: 1000px) { .nguyen-tac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .nguyen-tac-head { grid-template-columns: 1fr; gap: 12px; }
  .nguyen-tac-head .sub { justify-self: start; }
  .nguyen-tac-grid { grid-template-columns: 1fr; }
}

/* Chọn loài gây hại — trang chủ, dưới khối Vì sao nên gọi (chủ web 24/09/2026) */
.chon-loai-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.chon-loai-o { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 16px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, background .15s, transform .15s; }
.chon-loai-o:hover, .chon-loai-o:focus-visible { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); transform: translateY(-2px); }
.chon-loai-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); font-size: 1.3rem; line-height: 1; margin-bottom: 4px; }
.chon-loai-o strong { font-size: .92rem; line-height: 1.3; font-weight: 600; }
.chon-loai-o small { font-size: .76rem; color: var(--ink-2); margin-top: auto; }
.chon-loai-o:hover small { color: var(--brand-2); }
@media (max-width: 1000px) { .chon-loai-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 700px) { .chon-loai-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }

/* Kiến thức — trang chủ, dưới Công trình thực tế: 6 bài (2/3) + đặt lịch khảo sát (1/3) (chủ web 24/09/2026) */
.kien-thuc-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.kien-thuc-bai { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bai-the { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.bai-the:hover, .bai-the:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.bai-the img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-3); }
.bai-the-than { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 18px; }
.bai-the-than small { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.bai-the-than strong { font-size: .95rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dat-lich { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.dat-lich > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dat-lich-than { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.dat-lich-than .eyebrow { margin: 0; }
.dat-lich-than h3 { margin: 0 0 4px; font-size: 1.15rem; }
.dat-lich-than label { display: block; margin: 0; }
.dat-lich-than input, .dat-lich-than select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .93rem; background: var(--bg-2); color: var(--ink); }
.dat-lich-than input:focus, .dat-lich-than select:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); background: #fff; }
.dat-lich-than .btn { margin-top: 4px; }
.dat-lich-than .hp { position: absolute; left: -9999px; }
.kien-thuc-trai { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kien-thuc-bai { transition: opacity .15s; }
.kien-thuc-bai.dang-tai { opacity: .45; pointer-events: none; }
.phan-trang-bai { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.pt-nut { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .15s, background .15s, color .15s; }
a.pt-nut:hover, a.pt-nut:focus-visible { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-2); }
.pt-dang { background: var(--brand); border-color: var(--brand); color: #fff; }
.pt-tat { color: var(--ink-3); background: var(--bg-2); }
.pt-cach { color: var(--ink-3); padding: 0 2px; }
@media (max-width: 1000px) { .kien-thuc-grid { grid-template-columns: 1fr; } .dat-lich { max-width: 480px; } }
@media (max-width: 700px) { .kien-thuc-bai { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .dat-lich { max-width: none; } }

/* Giải đáp thực tế — trang chủ, dưới Kiến thức; hiện sẵn toàn bộ, không bấm mở (chủ web 24/09/2026) */
.giai-dap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.giai-dap-the { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.giai-dap-dau { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.giai-dap-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-3); font-size: 1.2rem; line-height: 1; }
.giai-dap-nhan { padding: 4px 11px; border: 1px solid #b9dcc6; border-radius: 6px; background: var(--brand-soft); color: var(--brand-2); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.giai-dap-the h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.4; }
.giai-dap-the > p { margin: 0 0 16px; color: var(--ink-2); font-size: .93rem; line-height: 1.65; }
.giai-dap-the > p a { color: var(--brand-2); font-weight: 600; }
.giai-dap-the .giai-dap-meo { margin: auto 0 0; padding: 12px 16px; border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; background: var(--bg-2); color: var(--ink); font-size: .86rem; line-height: 1.55; }
.giai-dap-chan { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 28px; padding: 16px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; color: var(--ink-2); }
.giai-dap-chan a { color: var(--ink); font-weight: 600; text-decoration: none; }
.giai-dap-chan a:hover { color: var(--brand); }
.giai-dap-gach { width: 1px; height: 18px; background: var(--line); }
.giai-dap-chan .giai-dap-goi { display: inline-flex; align-items: center; gap: 6px; color: #c0392b; font-weight: 700; }
.giai-dap-goi svg { width: 17px; height: 17px; }
@media (max-width: 800px) { .giai-dap-grid { grid-template-columns: 1fr; gap: 16px; } .giai-dap-the { padding: 20px; } .giai-dap-gach { display: none; } }

/* Giải pháp theo ngành */
.nganh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nganh-card { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.nganh-card:hover, .nganh-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.nganh-body .ring { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-2); }
.nganh-body .ring svg { width: 21px; height: 21px; }
.nganh-card > img, .nganh-nophoto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-3); }
.nganh-nophoto { display: flex; align-items: center; justify-content: center; color: var(--brand); }
.nganh-nophoto svg { width: 48px; height: 48px; }
.nganh-body { display: flex; gap: 14px; padding: 18px 18px 20px; align-items: flex-start; }
.nganh-body strong { display: block; font-size: 1.02rem; line-height: 1.35; }
.nganh-body small { display: block; color: var(--ink-2); font-size: .88rem; line-height: 1.5; margin-top: 4px; }
@media (max-width: 1000px) { .nganh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .nganh-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .nganh-body { padding: 12px; gap: 8px; flex-direction: column; } .nganh-body small { display: none; } .nganh-body .ring { width: 36px; height: 36px; } }

/* Tuân thủ & minh bạch */
.tuan-thu { background: var(--bg-2); }
.tuan-thu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tuan-thu-copy h2 { margin-top: 0; }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; }
.check-list li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-weight: 500; }
.check-list svg { color: var(--brand); width: 22px; height: 22px; }
.tuan-thu-visual { position: relative; padding: 36px 0 28px 40px; }
.tuan-thu-visual > img { width: 78%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; font-size: .82rem; line-height: 1.35; }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { display: block; color: var(--ink-2); }
.float-card em { display: inline-block; font-style: normal; background: var(--brand-soft); color: var(--brand-2); border-radius: 999px; padding: 1px 9px; font-size: .72rem; font-weight: 600; margin-top: 4px; }
.fc-1 { top: 8px; left: 0; display: flex; gap: 12px; align-items: center; }
.fc-2 { left: 0; top: 42%; width: 170px; }
.fc-2 strong { font-size: 1.3rem; color: var(--ink); margin: 2px 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 10px; }
.bars i { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; height: var(--h); opacity: .85; }
.fc-3 { right: 0; bottom: 0; }
.fc-3 ul { list-style: none; margin: 8px 0 0; padding: 0; }
.fc-3 li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.fc-3 svg { color: var(--brand); }
@media (max-width: 900px) {
  .tuan-thu-grid { grid-template-columns: 1fr; gap: 28px; }
  .tuan-thu-visual { padding: 16px 0 16px 0; }
  .tuan-thu-visual > img { width: 100%; aspect-ratio: 4 / 3; }
  .fc-1 { top: 0; left: 12px; } .fc-2 { display: none; } .fc-3 { right: 12px; bottom: 0; }
}

/* Quy trình 5 bước */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 24px; border-top: 2px dashed var(--line); }
.steps li { text-align: center; position: relative; }
.step-no { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); font-weight: 700; font-size: 1.15rem; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.steps strong { display: block; margin-bottom: 4px; }
.steps small { display: block; color: var(--ink-2); font-size: .85rem; line-height: 1.4; }
@media (max-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }

/* Kết quả thực tế (trụ 9) */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.case-card:hover, .case-card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); }
.case-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 1.05rem; line-height: 1.35; }
.case-body h3 { margin-bottom: 6px; }
.case-body h3 a { text-decoration: none; color: var(--ink); }
.case-body p { color: var(--ink-2); font-size: .93rem; line-height: 1.6; flex: 1; }
.case-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .85rem; }
.case-foot a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; }
.case-foot svg { width: 14px; height: 14px; }
.pill { background: var(--brand-soft); color: var(--brand-2); border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 600; }
@media (max-width: 1000px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .case-grid { grid-template-columns: 1fr; } }

/* Khách hàng nói gì (khối "danh-gia-khach-hang") */
.slider-nav { display: flex; gap: 8px; }
.slider-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--ink); font-family: inherit; }
.slider-nav button:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-2); }
.quote-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.quote-card { margin: 0; scroll-snap-align: start; background: var(--bg-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.quote-card p { flex: 1; font-size: .98rem; margin-bottom: 18px; }
.quote-card footer { display: flex; gap: 12px; align-items: center; font-size: .85rem; }
.quote-card footer strong { display: block; }
.quote-card footer small { display: block; color: var(--ink-2); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }

/* Hỏi đáp trang chủ (khối "faq-trang-chu") */
.hoi-dap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; align-items: start; }
.hoi-dap h2 { margin-top: 0; }
/* Hỏi đáp cuối trang trụ: hiện sẵn toàn bộ câu trả lời, không bấm mở (chủ web 24/09/2026) */
.faq .faq-item { border-left: 3px solid var(--brand); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin-bottom: 12px; }
.faq .faq-item h3 { font-size: 1.02rem; line-height: 1.4; margin: 0 0 6px; color: var(--ink); }
.faq .faq-item .prose { color: var(--ink-2); font-size: .95rem; }
.faq .faq-item .prose p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .hoi-dap-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Khối tư vấn cuối trang chủ */
.cta-b2b { background: linear-gradient(110deg, var(--brand-3), var(--brand-2) 60%, #1f7a48); color: #fff; padding: 56px 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.cta-copy .eyebrow { color: #bfe6cf; }
.cta-copy h2 { color: #fff; margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-copy p { color: #d6efe0; max-width: 460px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; margin-top: 6px; }
.cta-form { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); color: var(--ink); }
.cta-form .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form label { display: block; margin-bottom: 12px; }
.cta-form input, .cta-form select, .cta-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd9d3; border-radius: 10px; font: inherit; font-size: .93rem; background: #fff; color: var(--ink); }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.cta-form .hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 28px; } .cta-form .f2 { grid-template-columns: 1fr; gap: 0; } }

/* Trang chủ cũ — giữ để trang hub/khối dịch vụ dùng chung */
.hero { background: linear-gradient(180deg, #eef7f3, #fff); padding: 48px 0 40px; text-align: center; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; margin: 0 auto 20px; }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.pillar h3 { margin-bottom: 6px; }
.pillar h3 a { text-decoration: none; color: var(--ink); }
.pillar p { color: var(--ink-2); font-size: .95rem; }
.pillar-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pillar-links a { font-size: .85rem; background: var(--bg-2); padding: 3px 9px; border-radius: 99px; text-decoration: none; }
.more { margin-top: 18px; font-weight: 600; }
.services-block .section-title a { text-decoration: none; color: var(--ink); }
.services-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.services-col h3 { margin-bottom: 8px; }
.services-col h3 a { text-decoration: none; color: var(--ink); }
.services-col ul { list-style: none; margin: 0 0 8px; padding: 0; }
.services-col li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.services-col li a { text-decoration: none; }
.services-col-single p { color: var(--ink-2); font-size: .95rem; }

/* Thẻ bài */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card-img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { padding: 14px 16px 16px; }
.card-title { font-size: 1rem; margin-bottom: 6px; }
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { color: var(--brand); }
.card-text { font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }
.card-meta { font-size: .8rem; color: var(--ink-2); }

/* Trang nội dung */
.breadcrumb { font-size: .85rem; margin: 14px 0 8px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; color: var(--ink-2); }
.breadcrumb a { color: var(--ink-2); }
.page { padding-bottom: 40px; }
.page-head { margin: 8px 0 20px; }
.page-head .lead { font-size: 1.1rem; color: var(--ink-2); }
.page-meta { font-size: .85rem; color: var(--ink-2); }
.page-meta .byline strong { color: var(--ink); font-weight: 600; }
.ve-bai { margin: 28px 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); font-size: .92rem; color: var(--ink-2); }
.ve-bai h2 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 8px; }
.ve-bai p { margin: 0 0 6px; }
.ve-bai p strong { color: var(--ink); }
.ve-bai .nhan { font-weight: 600; color: var(--ink); }
.ve-bai-link { margin-top: 8px; font-size: .86rem; }
/* Nguồn tham khảo cuối trang (App\Core\NguonThamKhao) */
.nguon-tham-khao { margin: 14px 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .88rem; color: var(--ink-2); }
.nguon-tham-khao h2 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 6px; }
.nguon-tham-khao > p { margin: 0 0 8px; }
.nguon-tham-khao ol { margin: 0; padding-left: 1.3em; }
.nguon-tham-khao li { margin: 0 0 6px; line-height: 1.5; overflow-wrap: anywhere; }
.nguon-tham-khao .nguon-tc { color: var(--ink); font-weight: 600; }
.nguon-tham-khao .nguon-kiem { color: var(--ink-3, #6b7a72); font-size: .82rem; }
.quick-answer { border-left: 4px solid var(--brand); background: var(--bg-3); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 12px 0 8px; font-size: 1.05rem; }
.quick-answer p { margin: 0; }
.cover { margin: 18px 0 22px; }   /* bỏ lề mặc định 40px của <figure>: trên điện thoại ảnh bìa chỉ còn rộng 255/335 px */
.cover img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
/* Hộp trang tương ứng cuối bài: căn giữa cả dải và chữ trong từng ô (chủ web 24/09/2026) */
.counterpart { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 4px; text-align: center; }
.counterpart a { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 16px; border: 2px solid var(--brand); border-radius: 8px; text-decoration: none; color: var(--brand-2); font-weight: 700; background: #fff; }
.counterpart a:hover { background: var(--brand); color: #fff; }
.counterpart small { font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.counterpart a.fallback { border-style: dashed; }
/* Hộp tự sinh "Khu vực phục vụ" cuối trang dịch vụ, bảng giá (partials/khu-vuc-phuc-vu.php) */
.khu-vuc-phuc-vu { margin: 22px 0 4px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px; background: var(--bg-2); font-size: .95rem; line-height: 1.6; }
.khu-vuc-phuc-vu p { margin: 0; }
.khu-vuc-phuc-vu a { font-weight: 600; color: var(--brand-2); }
.khu-vuc-phuc-vu .khu-vuc-phuc-vu-hub { white-space: nowrap; }
.counterpart-multi { padding: 10px 16px; border: 2px solid var(--brand); border-radius: 8px; background: #fff; font-weight: 600; text-align: center; }
.counterpart-multi small { display: block; font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-2); opacity: .75; margin-bottom: 8px; }
.counterpart-multi a { text-decoration: none; color: var(--brand-2); }
/* Các ô con trong hộp nhiều liên kết: lưới có khoảng cách đều cả ngang lẫn dọc, không dính khi xuống hàng */
.counterpart-ds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.counterpart-ds a { padding: 8px 14px; }
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
@media (max-width: 960px) { .page-cols { grid-template-columns: 1fr; gap: 28px; } }
.page-main { min-width: 0; width: 100%; }
.page-side { position: sticky; top: 92px; align-self: start; }
@media (max-width: 960px) { .page-side { position: static; } }   /* một cột: cột bên nằm dưới bài, không cần dính */
.toc { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 24px; font-size: .92rem; background: var(--bg-2); }
.toc ol { margin: 6px 0 0; padding-left: 18px; }
.toc-l3 { margin-left: 14px; font-size: .88rem; }
.prose { width: 100%; max-width: 100%; }
.prose > * { max-width: 100%; }
.prose img { border-radius: 8px; margin: 12px 0; max-width: 100%; height: auto; }
.prose figure { margin: 18px 0; }
.prose figure img { margin: 0; width: 100%; object-fit: cover; max-height: 520px; }
.prose figcaption { font-size: .85rem; color: var(--ink-2); margin-top: 6px; }
.prose h2 { scroll-margin-top: 90px; }
.prose h3 { scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 16px 0; table-layout: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-2); font-weight: 600; }
/* Bảng trong thân bài (Html::bangCuon): cuộn ngang trong khung riêng, trang không cuộn ngang */
.bang-cuon { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.bang-cuon > table { margin: 0; }
.bang-cuon:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bang-cuon.co-cuon::before { content: "Vuốt ngang để xem hết bảng →"; position: sticky; left: 0; display: block; margin-bottom: 6px; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .bang-cuon th, .bang-cuon td { min-width: 8.5em; padding: 9px 11px; }
  .bang-cuon.co-cuon th:first-child, .bang-cuon.co-cuon td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .bang-cuon.co-cuon th:first-child { background: var(--bg-2); }
  .hub-pillar .bang-cuon.co-cuon th:first-child { background: var(--pillar-deep); }   /* hub: ô đầu bảng nền đậm chữ trắng, giữ nguyên khi dính */
}
.prose blockquote { margin: 12px 0; padding: 8px 16px; border-left: 3px solid var(--line); color: var(--ink-2); }

/* Nút con, anh em */
.node-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.node-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.node-title { font-size: 1.02rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.node-title a { text-decoration: none; color: var(--ink); }
.node-title a:hover { color: var(--brand); }
.node-icon { font-size: 1.3rem; }
.node-text { font-size: .88rem; color: var(--ink-2); margin-bottom: 6px; }
.node-subs { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.node-subs a { font-size: .82rem; background: var(--bg-2); padding: 2px 8px; border-radius: 99px; text-decoration: none; }
.node-meta { font-size: .8rem; color: var(--ink-2); }
.hub-section { margin-top: 28px; }
.hub-page { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.hub-page h2 { margin-top: 0; }
.hub-page h2 a { text-decoration: none; color: var(--ink); }
.related-nodes { margin-top: 28px; }

/* Hub các trụ nội dung — cùng một ngôn ngữ thiết kế, tách lớp riêng theo slug */
.hub-pillar { --pillar-deep: #073d2b; --pillar-mid: #0f6845; --pillar-mint: #e8f6ee; --pillar-warm: #f6f1e7; }
.hub-pillar .page-head { position: relative; isolation: isolate; overflow: hidden; margin: 8px 0 26px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--pillar-deep) 0%, var(--pillar-mid) 72%, #24865d 100%); box-shadow: 0 18px 42px rgba(7,61,43,.18); }
.hub-pillar .page-head::before, .hub-pillar .page-head::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hub-pillar .page-head::before { width: 320px; height: 320px; right: -90px; top: -190px; border: 58px solid rgba(255,255,255,.07); }
.hub-pillar .page-head::after { width: 180px; height: 180px; right: 120px; bottom: -145px; background: rgba(255,255,255,.07); }
.hub-pillar .page-head h1 { max-width: 980px; margin: 0 0 16px; color: #fff; font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; }
.hub-pillar .quick-answer { max-width: 1000px; margin: 0; padding: 17px 20px; border: 1px solid rgba(255,255,255,.18); border-left: 4px solid #9be4b6; border-radius: 0 12px 12px 0; background: rgba(255,255,255,.1); color: rgba(255,255,255,.94); font-size: 1rem; line-height: 1.7; backdrop-filter: blur(5px); }
.hub-pillar > .page-head + .prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 34px; margin: 0 0 34px; padding: 0 4px; color: var(--ink-2); }
.hub-pillar > .page-head + .prose > p { margin: 0; }
.hub-pillar > .page-head + .prose > .so-lieu { grid-column: 1 / -1; margin: 18px 0 0; background: #fff; border-color: #dce9e1; box-shadow: var(--shadow-sm); }
.hub-pillar > .page-head + .prose > .so-lieu .so-lieu-luoi { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.hub-pillar .page-head .page-meta { margin: 16px 0 0; color: rgba(255,255,255,.72); }
.hub-pillar .page-head .page-meta .byline strong { color: #fff; }
.hub-pillar > .page-head + .prose > blockquote { grid-column: 1 / -1; position: relative; margin: 16px 0 0; padding: 17px 20px 17px 52px; border: 0; border-radius: 12px; background: var(--pillar-mint); color: #315b47; }
.hub-pillar > .page-head + .prose > blockquote::before { content: "✓"; position: absolute; left: 18px; top: 17px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; }
.hub-pillar .hub-section:has(.node-grid) { margin-top: 32px; padding: clamp(20px, 2.5vw, 30px); border: 1px solid #dce9e1; border-radius: 20px; background: #f7faf8; }
.hub-pillar .hub-section:has(.node-grid) > h2 { display: flex; align-items: baseline; gap: 6px; margin: 0 0 20px; color: var(--pillar-deep); }
.hub-pillar .hub-page { margin-top: 30px; padding: 24px 26px; border: 1px solid #cee1d5; border-radius: 18px; background: linear-gradient(135deg, #f0f8f3, #fbfdfb); box-shadow: 0 7px 20px rgba(16,60,36,.06); }
.hub-pillar .hub-page h2 { margin: 0 0 10px; color: var(--pillar-deep); }
.hub-pillar .hub-page p:last-child { margin-bottom: 0; }
.hub-pillar .hub-page .more-link { padding: 8px 15px; border-radius: 999px; background: var(--brand); color: #fff; }
.hub-pillar .hub-page .more-link:hover { background: var(--brand-2); color: #fff; }
.hub-loai #dong-vat-gay-hai,
.hub-dich-vu #dich-vu-gia-tang,
.hub-giai-phap #theo-chuong-trinh,
.hub-mat-bang #doanh-nghiep-thuong-mai { background: linear-gradient(135deg, #f8f5ed, #fbfaf6); border-color: #ebe2d2; }
.hub-pillar .node-grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.hub-pillar .node-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; padding: 0 0 16px; border-color: #dbe7df; border-radius: 15px; box-shadow: 0 4px 14px rgba(16,60,36,.05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hub-pillar .node-card:not(:has(.node-thumb)) { padding-top: 16px; }
.hub-pillar .node-card:hover { transform: translateY(-4px); border-color: #b7d5c3; box-shadow: 0 15px 30px rgba(16,60,36,.12); }
.hub-pillar .node-thumb { display: block; overflow: hidden; margin: 0 0 14px; background: #dfece4; }
.hub-pillar .node-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.hub-pillar .node-card:hover .node-thumb img { transform: scale(1.035); }
.hub-pillar .node-title, .hub-pillar .node-text, .hub-pillar .node-subs, .hub-pillar .node-meta { margin-left: 16px; margin-right: 16px; }
.hub-pillar .node-title { margin-top: 0; margin-bottom: 7px; font-size: 1.08rem; }
.hub-pillar .node-title a::after { content: " →"; color: var(--brand); opacity: 0; transition: opacity .15s, margin-left .15s; }
.hub-pillar .node-card:hover .node-title a::after { opacity: 1; margin-left: 3px; }
.hub-pillar .node-icon { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 9px; background: var(--pillar-mint); font-size: 1.15rem; }
.hub-pillar .node-text { display: -webkit-box; overflow: hidden; min-height: 4.4em; margin-bottom: 11px; color: #607067; font-size: .87rem; line-height: 1.48; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hub-pillar .node-subs { gap: 6px; margin-top: 0; margin-bottom: 12px; }
.hub-pillar .node-subs a { display: block; padding: 4px 9px; border: 1px solid #deebe3; background: #f2f8f4; color: #37654d; font-size: .76rem; line-height: 1.35; }
.hub-pillar .node-subs a:hover { border-color: #acd0ba; background: var(--pillar-mint); color: var(--pillar-deep); }
.hub-pillar .node-meta { margin-top: auto; padding-top: 4px; color: #77857d; font-size: .75rem; font-weight: 600; }
.hub-pillar .node-meta-posts { display: none; }
.hub-pillar > section.prose { margin-top: 38px; padding-top: 4px; }
.hub-pillar > section.prose h2 { position: relative; margin-bottom: 18px; padding-left: 18px; color: var(--pillar-deep); }
.hub-pillar > section.prose h2::before { content: ""; position: absolute; left: 0; top: .08em; bottom: .08em; width: 5px; border-radius: 5px; background: linear-gradient(var(--brand), #72bf8e); }
.hub-pillar > section.prose table { overflow: hidden; border: 1px solid #dce7e0; border-radius: 12px; box-shadow: var(--shadow-sm); }
.hub-pillar > section.prose th { background: var(--pillar-deep); color: #fff; border-color: rgba(255,255,255,.14); }
.hub-pillar > section.prose tr:nth-child(even) td { background: #f8fbf9; }
.hub-pillar #bai-viet { margin-top: 44px; padding: clamp(20px, 2.5vw, 30px); border-radius: 20px; background: #f4f8f5; }
.hub-pillar #bai-viet > h2 { margin-top: 0; }
.hub-pillar #bai-viet .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hub-pillar #bai-viet .card { border-color: #dce7e0; transition: transform .18s ease, box-shadow .18s ease; }
.hub-pillar #bai-viet .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 1050px) {
  .hub-pillar .node-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-pillar #bai-viet .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hub-pillar .page-head { border-radius: 18px; }
  .hub-pillar > .page-head + .prose { grid-template-columns: 1fr; gap: 4px; }
  .hub-pillar > .page-head + .prose > p + p { margin-top: 8px; }
  .hub-pillar .node-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hub-pillar .hub-section:has(.node-grid), .hub-pillar #bai-viet { padding: 18px; }
}
@media (max-width: 520px) {
  .hub-pillar .page-head { margin-left: -8px; margin-right: -8px; padding: 25px 22px; }
  .hub-pillar .page-head h1 { font-size: 1.45rem; }
  .hub-pillar .quick-answer { padding: 14px 15px; font-size: .93rem; }
  .hub-pillar > .page-head + .prose > blockquote { padding: 15px 15px 15px 46px; }
  .hub-pillar .hub-page { margin-left: -8px; margin-right: -8px; padding: 20px; }
  .hub-pillar .hub-section:has(.node-grid), .hub-pillar #bai-viet { margin-left: -8px; margin-right: -8px; padding: 15px; border-radius: 16px; }
  .hub-pillar .node-grid, .hub-pillar #bai-viet .card-grid { grid-template-columns: 1fr; }
  .hub-pillar .node-text { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-pillar .node-card, .hub-pillar .node-thumb img, .hub-pillar #bai-viet .card { transition: none; }
}

/* Trụ Ngành — tách Khu công nghiệp thành trang tổng quan và lưới trang chi tiết. */
.hub-nganh #khu-cong-nghiep > h2 { margin-bottom: 18px; }
.industry-zone-tree { overflow: hidden; border: 1px solid #d8e6dd; border-radius: 20px; background: #f7faf8; box-shadow: 0 10px 28px rgba(16,60,36,.07); }
.industry-zone-parent { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 25px 28px; color: #fff; background: linear-gradient(120deg, #0b4d35, #1a7650); }
.industry-zone-parent > div { max-width: 760px; }
.industry-zone-level { display: block; margin-bottom: 6px; color: #438060; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.industry-zone-parent .industry-zone-level { color: #a8e5bd; }
.industry-zone-parent h3 { margin: 0 0 7px; font-size: clamp(1.3rem, 2vw, 1.65rem); }
.industry-zone-parent h3 a { color: #fff; text-decoration: none; }
.industry-zone-parent p { margin: 0; color: rgba(255,255,255,.84); line-height: 1.65; }
.industry-zone-parent-link { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; font-size: .87rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.industry-zone-parent-link:hover { border-color: #fff; background: #fff; color: #0b4d35; }
.industry-zone-children { position: relative; padding: 24px 28px 28px; }
.industry-zone-children::before { content: ""; position: absolute; left: 46px; top: 0; width: 2px; height: 18px; background: #8fc6a4; }
.industry-zone-children-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.industry-zone-children-head h3 { margin: 0; color: #113f2e; font-size: 1.2rem; }
.industry-zone-total { flex: none; padding: 5px 11px; border-radius: 999px; background: #e4f2e9; color: #35634c; font-size: .78rem; font-weight: 700; }
.industry-zone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.industry-zone-item { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #dce8e0; border-radius: 11px; background: #fff; color: #284d3a; font-size: .84rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.industry-zone-item:hover { transform: translateY(-2px); border-color: #a9cfb8; color: #0b6942; box-shadow: 0 7px 16px rgba(16,60,36,.08); }
.industry-zone-index { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #edf6f0; color: #4b8062; font-size: .7rem; font-weight: 800; }
@media (max-width: 900px) {
  .industry-zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .industry-zone-parent { align-items: flex-start; flex-direction: column; gap: 18px; padding: 22px 20px; }
  .industry-zone-parent-link { white-space: normal; }
  .industry-zone-children { padding: 22px 16px 18px; }
  .industry-zone-children::before { left: 33px; }
  .industry-zone-children-head { align-items: flex-start; }
  .industry-zone-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-zone-item { transition: none; }
}

/* Bài này nằm trong hệ — toạ độ của bài trên từng trục */
.he-toa-do { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 24px 0; background: var(--bg-2); }
.he-toa-do h2 { margin: 0 0 8px; font-size: 1.05rem; }
.he-toa-do table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.he-toa-do th { text-align: left; padding: 5px 12px 5px 0; color: var(--ink-2); font-weight: 600; white-space: nowrap; width: 1%; vertical-align: top; }
.he-toa-do td { padding: 5px 0; }
.he-toa-do a.chinh { font-weight: 700; text-decoration: none; }
.he-toa-do .phu { color: var(--ink-2); font-size: .88rem; }
.he-toa-do .phu a { text-decoration: none; }

/* Đọc thêm — bài xếp theo mục đích đọc (trụ Kiến thức) */
.doc-them { margin-top: 28px; }
/* Điện thoại: 1 cột. Máy tính: 2 cột cố định (thẻ đủ rộng để tên bài ít gãy dòng); 1 nhóm hoặc nhóm lẻ cuối
   trải hết hàng và chia danh sách bài thành 2 cột, nên không còn ô co ~250px bỏ trống nửa phải hay hàng 2 + 1 lệch. */
.doc-them-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.doc-them-col { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
/* Link "Xem N bài …" nằm trong thẻ: tự xuống dòng, luôn ở đáy thẻ để các thẻ cùng hàng thẳng nhau */
.doc-them-col .more-link { display: block; margin-top: auto; padding-top: 4px; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
.doc-them-col h3 { font-size: 1rem; margin-bottom: 8px; }
.doc-them-col h3 a { text-decoration: none; color: var(--ink); }
.doc-them-col ul { list-style: none; margin: 0 0 8px; padding: 0; }
.doc-them-col li { padding: 4px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.doc-them-col li a { text-decoration: none; }
@media (min-width: 700px) {
  .doc-them-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-them-col:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .doc-them-col:last-child:nth-child(odd) ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; }
}

/* Danh sách bài */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.link-list time { font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.count { color: var(--ink-2); font-weight: 400; font-size: .9em; }
.tags { margin-top: 20px; font-size: .9rem; }
.tag { display: inline-block; background: var(--bg-2); padding: 2px 10px; border-radius: 99px; text-decoration: none; margin: 2px 2px 2px 0; }
.related { margin-top: 28px; }

/* Bảng giá */
.price-block { margin: 20px 0 28px; }
.price-table { border-collapse: collapse; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding: 10px 14px; background: var(--bg-2); }
.price-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table td.price strong { font-size: 1.05rem; }
.price-table td a { text-decoration: none; font-weight: 600; }
.price-note { font-size: .82rem; color: var(--ink-2); font-style: italic; margin-top: 8px; }
.price-lead { font-size: 1.15rem; }
.muted { color: var(--ink-2); }
.calc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 8px 0 24px; background: var(--bg-2); }
.calc h2 { margin-top: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.calc-grid label { font-weight: 600; font-size: .9rem; }
.calc-grid select, .calc-grid input { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #c9d1da; border-radius: 8px; font: inherit; background: #fff; }
.calc-result { margin-top: 14px; }
.calc-price { font-size: 1.6rem; font-weight: 800; color: var(--brand-2); }
.calc-note { font-size: .88rem; margin: 4px 0 6px; }

/* Cột phụ (Sidebar Right) */
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; font-size: .92rem; background: #fff; box-shadow: var(--shadow-sm); }
.side-box strong { display: block; margin-bottom: 8px; font-size: .95rem; color: var(--ink); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 6px 0; border-top: 1px solid #f1f5f9; }
.side-list li:first-child { border-top: none; }
.side-list a { text-decoration: none; color: var(--ink-2); transition: color .15s ease; }
.side-list a:hover { color: var(--brand); }


/* CTA trong trang nội dung */
.cta { background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); color: #fff; border-radius: var(--radius); padding: 24px 26px; margin: 28px 0; }
.cta-title { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.cta p { color: #e6f3ee; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cta .btn { border-color: #fff; color: #fff; background: transparent; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.call-float-group { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; }
.call-float { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .15s, box-shadow .15s; }
.call-float-secondary { background: var(--brand-2); }
.call-float:hover, .call-float:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 9px 24px rgba(0,0,0,.26); }
.call-float::after { content: ""; position: absolute; inset: -2px; border: 2px solid currentColor; border-radius: 50%; pointer-events: none; animation: call-ring 2.4s ease-out infinite; }
.call-float-secondary::after { animation-delay: 1.2s; }
.call-float svg { width: 24px; height: 24px; animation: call-wiggle 2.4s ease-in-out infinite; }
.call-float-secondary svg { animation-delay: 1.2s; }
.call-float-label { position: absolute; right: calc(100% + 9px); top: 50%; transform: translate(8px,-50%); padding: 7px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
.call-float:hover .call-float-label, .call-float:focus-visible .call-float-label { opacity: 1; visibility: visible; transform: translate(0,-50%); }
@keyframes call-ring { 0%, 45% { transform: scale(.94); opacity: .7; } 75%, 100% { transform: scale(1.42); opacity: 0; } }
@keyframes call-wiggle { 0%, 55%, 100% { transform: rotate(0); } 62% { transform: rotate(-14deg); } 69% { transform: rotate(12deg); } 76% { transform: rotate(-9deg); } 83% { transform: rotate(6deg); } 90% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .call-float::after, .call-float svg { animation: none; } }
/* Zalo, Facebook (mục 350): màu nhận diện của hai hãng, đứng yên — chỉ 2 nút gọi có vòng sóng và rung để cụm 5 nút không rối mắt */
.call-float-zalo { background: #0068ff; }
.call-float-fb { background: #1877f2; }
.call-float-zalo::after, .call-float-fb::after { content: none; }
.call-float-fb svg { animation: none; width: 26px; height: 26px; }
.zalo-chu { font: 700 .82rem/1 Arial, Helvetica, sans-serif; letter-spacing: -.01em; }
/* Điện thoại, máy tính bảng dọc: nút gọi xuống góc dưới phải, xếp ngang, để không đè dòng chữ đang đọc giữa màn hình */
@media (max-width: 760px) {
  /* 5 nút xếp ngang ở đáy: 44px (đủ vùng bấm), cách 6px → cụm rộng 244px, chừa trống góc trái */
  .call-float-group { top: auto; bottom: 12px; right: 10px; transform: none; display: flex; gap: 6px; }
  .call-float { width: 44px; height: 44px; }
  .call-float svg { width: 22px; height: 22px; }
  .call-float-fb svg { width: 24px; height: 24px; }
  .zalo-chu { font-size: .76rem; }
  .call-float-label { display: none; }
  .len-dau { bottom: 66px; }
  .site-footer .footer-bottom { padding-bottom: 76px; }   /* chừa chỗ cho hàng nút nổi (44px + đáy 12px); .site-footer để thắng luật .footer-bottom { padding } khai báo phía sau */
}

/* Biểu mẫu */
.form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #c9d1da; border-radius: 8px; font: inherit; }
.form .hp { position: absolute; left: -9999px; }
.form-bao-mat { margin: 10px 0 0; font-size: .85rem; color: var(--ink-2); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; }
.alert-success { background: #e6f5ec; color: #1a6b3a; }
.alert-error { background: #fdecec; color: #a12727; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin: 28px 0; }

/* Chân trang nền xanh đậm, 4 cột ngăn bằng vạch dọc (mẫu chủ web gửi 24/09/2026):
   Thông tin liên hệ · cột liên kết (menu "footer", 1–2 cột) · Bài viết gần đây · Vì sao chọn chúng tôi */
.site-footer { --ft-nen: #1c3a2b; --ft-chu: rgba(255,255,255,.78); --ft-mo: rgba(255,255,255,.55); --ft-vach: rgba(255,255,255,.12); --ft-nhan: #6cc38a;
  background-color: var(--ft-nen); background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 22px 22px;
  color: var(--ft-chu); margin-top: 0; padding: 48px 0 0; font-size: .92rem; }
.site-footer a { color: var(--ft-chu); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-grid { display: flex; align-items: stretch; }
.footer-cot { flex: 1 1 0; min-width: 0; padding: 0 28px; }
.footer-cot + .footer-cot { border-left: 1px solid var(--ft-vach); }
.footer-cot:first-child { padding-left: 0; }
.footer-cot:last-child { padding-right: 0; }
.footer-lien-he { flex-grow: 1.35; }
.footer-bai { flex-grow: 1.15; }
.footer-vi-sao { flex-grow: 1.15; }
.site-footer h3 { font-size: .9rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 26px; padding-bottom: 12px; position: relative; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--ft-nhan); }
.site-footer h3 a { color: #fff; }
.footer-cty { margin: 0 0 16px; color: #fff; font-weight: 600; font-size: .98rem; }
.footer-lh li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; line-height: 1.5; }
.footer-lh-ico { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--ft-nhan); display: inline-flex; align-items: center; justify-content: center; }
.footer-lh-ico svg { width: 13px; height: 13px; }
.footer-lh li > span:last-child { padding-top: 2px; }
.footer-lien-ket li { margin: 0 0 16px; }
.footer-bai li { margin: 0 0 9px; }
.footer-bai a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .88rem; }
.footer-so { margin: 0; }
.footer-so > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ft-vach); }
.footer-so > div:first-child { padding-top: 0; }
.footer-so dt { color: var(--ft-chu); }
.footer-so dd { margin: 0; color: #fff; font-weight: 700; white-space: nowrap; }
.footer-danh-gia { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; font-size: .86rem; line-height: 1.45; }
.site-footer .footer-danh-gia { color: #fff; }
.footer-danh-gia:hover { border-color: var(--ft-nhan); background: rgba(255,255,255,.05); }
.footer-danh-gia svg { flex: 0 0 14px; width: 14px; height: 14px; color: var(--ft-nhan); fill: currentColor; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--ft-vach); margin-top: 36px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: .85rem; color: var(--ft-mo); }
/* Bản quyền toàn site + số người đang xem trang (chủ web 24/09/2026) */
.footer-copy { margin: 0; flex: 1 1 520px; line-height: 1.55; }
.footer-dang-xem { margin: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--ft-nhan); font-weight: 600; white-space: nowrap; }
.footer-dang-xem[hidden] { display: none; }
.footer-dang-xem svg { width: 18px; height: 18px; }
.footer-dang-xem strong { font-weight: 700; }
/* Nút lên đầu trang — góc dưới bên phải, hiện khi đã cuộn xuống (chủ web 24/09/2026) */
.len-dau { position: fixed; right: 16px; bottom: 20px; z-index: 39; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--brand-2); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.14); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s, background .15s, color .15s; }
.len-dau.hien { opacity: 1; visibility: visible; transform: none; }
.len-dau:hover, .len-dau:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.len-dau svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .len-dau { right: 12px; bottom: 14px; width: 42px; height: 42px; } }
/* Máy tính bảng: 2 cột mỗi hàng; điện thoại: 1 cột, bỏ vạch dọc, thay bằng vạch ngang giữa các khối */
@media (max-width: 960px) {
  .footer-grid { flex-wrap: wrap; row-gap: 32px; }
  .footer-cot { flex: 1 1 calc(50% - 1px); padding: 0 24px; }
  .footer-cot:nth-child(odd) { padding-left: 0; border-left: 0; }
  .footer-cot:nth-child(even) { padding-right: 0; }
}
@media (max-width: 600px) {
  .footer-cot, .footer-cot:nth-child(even) { flex-basis: 100%; padding: 0; border-left: 0; }
  .footer-cot + .footer-cot { border-top: 1px solid var(--ft-vach); padding-top: 28px; }
  .site-footer h3 { margin-bottom: 18px; }
  .footer-lien-ket ul { columns: 2; column-gap: 20px; }
  .footer-lien-ket li { margin-bottom: 12px; break-inside: avoid; }
}

/* Thư viện ảnh hoạt động (trụ Công trình thực tế) và ảnh nhỏ trên thẻ */
.gallery { margin: 24px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; background: #f2f2f2; }
.gallery-grid figcaption { font-size: .82rem; color: var(--ink-2); margin-top: 4px; }
.node-thumb { display: block; margin: -14px -16px 10px; }
.node-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; background: #f2f2f2; }
/* Khối sidebar do admin cấu hình */
.side-cta .btn { display: block; text-align: center; margin-top: 8px; }
.side-cta p { margin: 0 0 8px; color: var(--ink-2); }
.side-box .prose { font-size: .9rem; }

/* Dải báo xem trước bản nháp (chỉ admin thấy) */
.xem-nhap { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; padding: 10px 14px; border-radius: var(--radius); font-weight: 600; margin: 12px 0; }

/* Khối số liệu công ty ([[SO-LIEU…]] mở ở tầng hiển thị, App\Core\SoLieu) */
.so-lieu { margin: 22px 0; padding: 18px 20px 14px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--bg-3); }
.so-lieu-ten { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.so-lieu-luoi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 18px; }
.so-lieu-luoi li { display: flex; flex-direction: column; gap: 2px; }
.so-lieu-luoi strong { font-size: 1.7rem; line-height: 1.1; color: var(--ink); letter-spacing: -.02em; }
.so-lieu-luoi span { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.so-lieu-nguon { margin: 12px 0 0; font-size: .8rem; color: var(--ink-2); }
.so-lieu table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
.so-lieu th, .so-lieu td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.so-lieu tbody th { font-weight: 500; color: var(--ink); }
.so-lieu td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.so-lieu thead th { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.so-lieu thead th:not(:first-child) { text-align: right; }

/* Dải "Đối tác & Khách hàng tiêu biểu" ngay trên chân trang (chủ web 24/09/2026, khối partners của site cũ).
   Hàng logo in hai lần, chạy ngang liền mạch; rê chuột thì dừng; "giảm chuyển động" thì thành thanh cuộn. */
.doi-tac { background: var(--bg-2); padding: 56px 0 60px; }
.doi-tac .nguyen-tac-head { margin-bottom: 28px; }
.doi-tac .eyebrow-pill { text-transform: uppercase; font-size: .72rem; font-weight: 600; }
.doi-tac-chay { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.doi-tac-day { --khoang: 20px; display: flex; gap: var(--khoang); width: max-content; padding: 4px 0; animation: doi-tac-chay calc(var(--so-logo, 12) * 3s) linear infinite; }
.doi-tac-chay:hover .doi-tac-day, .doi-tac-chay:focus-within .doi-tac-day { animation-play-state: paused; }
@keyframes doi-tac-chay { to { transform: translateX(calc(-50% - var(--khoang) / 2)); } }
.doi-tac-the { flex: 0 0 172px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.doi-tac-the:hover { border-color: #b9dcc6; box-shadow: var(--shadow-sm); }
.doi-tac-the img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .doi-tac-chay { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .doi-tac-day { animation: none; }
  .doi-tac-day [aria-hidden="true"] { display: none; }
}
@media (max-width: 700px) {
  .doi-tac { padding: 40px 0 44px; }
  .doi-tac .nguyen-tac-head { grid-template-columns: 1fr; gap: 10px; }
  .doi-tac .nguyen-tac-head .sub { justify-self: start; }
  .doi-tac-the { flex-basis: 136px; height: 80px; padding: 12px 14px; }
}

/* Thanh bên: khối "Bài viết mới nhất" (ngày đăng) và "Bài viết cập nhật" (lastmod) — ngày nhỏ dưới tiêu đề bài */
.side-list-bai time { display: block; margin-top: 2px; font-size: .78rem; color: var(--ink-3); }

/* Nút quản trị góc dưới trái (chỉ hiện khi đã đăng nhập admin) */
.qt-float { position: fixed; left: 16px; bottom: 20px; z-index: 41; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.qt-nut { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1.5px solid var(--brand-3); border-radius: 999px; background: var(--brand-3); color: #fff; font-size: .85rem; font-weight: 600; line-height: 1; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .15s, box-shadow .15s; }
.qt-nut:hover, .qt-nut:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0,0,0,.24); }
.qt-nut svg { width: 16px; height: 16px; flex: none; }
.qt-sua { background: #fff; color: var(--brand-2); border-color: var(--brand); }
.qt-sua:hover, .qt-sua:focus-visible { background: var(--brand); color: #fff; }
@media (max-width: 520px) { .qt-float { left: 12px; bottom: 14px; } .qt-nut { padding: 8px 12px; font-size: .8rem; } }
@media print { .qt-float { display: none; } }

/* Hub trụ: nhóm chỉ có một thẻ (ví dụ "Nhà ở" ở /mat-bang) nằm ngang — ảnh trái, chữ phải — thay vì một thẻ
   giãn hết bề ngang với ảnh cao cả màn hình. Màn hẹp giữ thẻ dọc như các nhóm khác. */
@media (min-width: 521px) {
  .hub-pillar .node-grid:has(> .node-card:only-child) { grid-template-columns: 1fr; }
  .hub-pillar .node-card:only-child:has(.node-thumb) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-auto-rows: min-content; align-content: center; column-gap: 26px; padding: 0; }
  .hub-pillar .node-card:only-child > .node-thumb { grid-column: 1; grid-row: 1 / span 6; align-self: stretch; margin: 0; }
  .hub-pillar .node-card:only-child > .node-thumb img { height: 100%; min-height: 220px; }
  .hub-pillar .node-card:only-child > :not(.node-thumb) { grid-column: 2; margin-left: 0; margin-right: 24px; }
  .hub-pillar .node-card:only-child .node-title { margin-top: 24px; font-size: 1.3rem; }
  .hub-pillar .node-card:only-child .node-text { min-height: 0; font-size: .95rem; -webkit-line-clamp: 5; }
  .hub-pillar .node-card:only-child .node-meta { margin-top: 0; margin-bottom: 24px; }
}

/* H1 các hub còn lại (bảng giá, khu vực, công trình…) cùng cỡ với hub trụ — chủ web 24/09/2026: H1 hub quá lớn */
.hub .page-head h1 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.2; }
@media (max-width: 520px) { .hub .page-head h1 { font-size: 1.45rem; } }

/* Ô "{Tỉnh} và các tỉnh lân cận" ở trang cụm khu vực: các tỉnh khác nằm dưới danh sách cụm, tách bằng một vạch */
.side-list li:not(.side-list-tinh) + .side-list-tinh { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.side-list-tinh a { font-weight: 600; }

/* Hub trụ: thẻ đứng một mình không ảnh nhưng có nhiều trang con (TP.HCM ở /khu-vuc có 38 cụm) — đệm rộng, tiêu đề to,
   danh sách cụm chia cột đều thay vì một dải nhãn dài liền nhau. */
@media (min-width: 521px) {
  .hub-pillar .node-card:only-child:not(:has(.node-thumb)) { padding: 26px 28px 22px; }
  .hub-pillar .node-card:only-child:not(:has(.node-thumb)) > * { margin-left: 0; margin-right: 0; }
  .hub-pillar .node-card:only-child:not(:has(.node-thumb)) .node-title { font-size: 1.35rem; }
  .hub-pillar .node-card:only-child:not(:has(.node-thumb)) .node-text { min-height: 0; max-width: 760px; font-size: .95rem; -webkit-line-clamp: 4; }
  .hub-pillar .node-card:only-child .node-subs:has(> li:nth-child(9)) { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
  .hub-pillar .node-card:only-child .node-subs:has(> li:nth-child(9)) a { height: 100%; }
}
/* /khu-vuc: tỉnh có từ 1 tới 12 cụm — thẻ cao theo nội dung, 2 cột cho danh sách cụm đủ chỗ */
@media (min-width: 761px) {
  .hub-khu-vuc .node-grid:has(> .node-card:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .hub-khu-vuc .node-card:not(:only-child) .node-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Trang Giới thiệu (hub trụ 10): thẻ thông tin doanh nghiệp và 6 bước làm việc */
.gt-the { margin: 22px 0 8px; padding: 20px 22px; border: 1px solid #d6e6dc; border-radius: 18px; background: linear-gradient(135deg, #f1f8f4, #fbfdfb); box-shadow: 0 6px 18px rgba(16,60,36,.06); }
.gt-the { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px 22px; }
.hub-pillar > .page-head + .prose > .gt-the { grid-column: 1 / -1; }
.gt-o { padding-left: 12px; border-left: 3px solid var(--brand); }
.gt-nhan { display: block; margin: 0 0 3px; color: #5f7268; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gt-gia { display: block; color: var(--ink); font-weight: 600; line-height: 1.45; }
.gt-gia a { color: var(--brand-2); text-decoration: none; } .gt-gia a:hover { text-decoration: underline; }
ol.gt-buoc { counter-reset: gt; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 18px 0; padding: 0; list-style: none; }
ol.gt-buoc > li { counter-increment: gt; position: relative; margin: 0; padding: 16px 16px 16px 58px; border: 1px solid #dce9e1; border-radius: 14px; background: #fff; line-height: 1.5; }
ol.gt-buoc > li::before { content: counter(gt); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; }
ol.gt-buoc > li strong { display: block; margin-bottom: 3px; color: var(--pillar-deep, var(--brand-2)); }
.hub-gioi-thieu > section.prose table td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) { .gt-the { padding: 16px; } .hub-gioi-thieu > section.prose table td:first-child { white-space: normal; } }

/* Thư viện ảnh thi công (trụ Công trình): tiêu đề nhóm công việc giữa các lưới ảnh */
.gallery-nhom { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 10px; font-size: 1.02rem; color: var(--brand-2); }
.gallery-nhom:first-of-type { margin-top: 6px; }
.gallery-nhom .count { color: var(--muted, #6b7a72); font-weight: 500; font-size: .9rem; }

/* Điện thoại: vùng bấm tối thiểu ~44px cho các danh sách liên kết, chữ nhỏ nhất 13px (Theme - Mobile 25/09/2026) */
@media (max-width: 760px) {
  .breadcrumb a { display: inline-block; padding: 13px 0; margin: -13px 0; }
  .toc a, .side-list a, .side-box > a, .site-footer li a { display: block; padding: 10px 0; }   /* block: số thứ tự mục lục đứng ở dòng đầu khi tiêu đề xuống dòng */
  .footer-lh li a { display: inline-block; }   /* 2 số điện thoại cùng một dòng "số 1 / số 2", không tách 3 dòng */
  .toc li, .site-footer li { margin: 0; }
  .side-list li { padding: 0; }
  .node-subs a, .hub-pillar .node-subs a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; font-size: .84rem; }
  .node-title a, .card-title a, .doc-them-col h3 a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .case-foot a, .case-body a, .giai-dap-chan a { display: inline-flex; align-items: center; min-height: 44px; }
  .phan-trang-bai a, .phan-trang-bai span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .eyebrow, .pill, .eyebrow-pill, .giai-dap-nhan, .so-lieu-ten, .node-meta, .price-table th, main small, .site-footer small { font-size: max(13px, .8125rem); }
}

/* Trang chủ trên điện thoại (Theme - Mobile 25/09/2026): hero gọn hơn, ô chọn loài không xuống dòng,
   công trình thực tế thành hàng vuốt ngang thay vì 3 thẻ cao chồng nhau */
@media (max-width: 520px) {
  .hero-grid { padding-top: 30px; gap: 18px; }
  .hero-copy h1 { font-size: 1.55rem; margin-bottom: 12px; }
  .hero-copy .lead { font-size: .98rem; line-height: 1.6; margin-bottom: 16px; }
  .banner .quick-answer { padding: 11px 13px; margin-bottom: 18px; font-size: .93rem; line-height: 1.55; }   /* mục 286: gọn trên điện thoại */
  .hero-trust { gap: 10px 16px; }
  .hero-trust .ring { width: 32px; height: 32px; }
  .hero-card { padding: 16px; }
  .hero-card ul { gap: 10px; }
  .hero-card li { font-size: .88rem; gap: 10px; }
  .hero-card .ring { width: 30px; height: 30px; }
  .chon-loai-o { padding: 14px 6px 12px; }
  .chon-loai-o small { display: none; }   /* cả ô đã là liên kết; dòng "Xem giải pháp →" bị ép xuống 2 dòng trong ô rộng ~100px */
}
@media (max-width: 700px) {
  .case-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 10px; scrollbar-width: none; }
  .case-grid::-webkit-scrollbar { display: none; }
  .case-grid { scroll-padding: 0 20px; }
  .case-card { flex: 0 0 86%; scroll-snap-align: start; }
  .case-foot > * { white-space: nowrap; }
  .case-card:hover, .case-card:focus-within { transform: none; }
}

/* Trang trụ trên điện thoại (Theme - Mobile 25/09/2026): thẻ nằm ngang (ảnh vuông trái, chữ phải) thay vì
   ảnh 16:10 phủ cả bề ngang — 12 thẻ loài/dịch vụ trước dài ~4.900px; thẻ bài viết bỏ đoạn tóm tắt. */
@media (max-width: 520px) {
  .node-card, .hub-pillar .node-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 12px; }
  .node-card > * { grid-column: 2; }
  .node-card > .node-thumb, .hub-pillar .node-thumb { grid-column: 1; grid-row: 1 / span 2; margin: 0; border-radius: 10px; align-self: start; }
  .node-card .node-thumb img, .hub-pillar .node-thumb img { aspect-ratio: 1 / 1; height: auto; }
  .node-card:not(:has(.node-thumb)) > * { grid-column: 1 / -1; }
  .hub-pillar .node-card:not(:has(.node-thumb)) { padding-top: 12px; }
  .hub-pillar .node-title, .hub-pillar .node-text, .hub-pillar .node-subs, .hub-pillar .node-meta { margin-left: 0; margin-right: 0; }
  .node-title, .hub-pillar .node-title { margin: 0 0 4px; font-size: 1rem; }
  .node-text, .hub-pillar .node-text { margin: 0; font-size: .86rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; }
  .node-subs, .hub-pillar .node-subs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
  .node-subs a, .hub-pillar .node-subs a { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; min-height: 44px; padding: 6px 8px; line-height: 1.3; border-radius: 10px; }
  .node-meta, .hub-pillar .node-meta { grid-column: 1 / -1; margin-top: 8px; }
  .card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .card-img { padding: 10px 0 10px 10px; }
  .card-img img { aspect-ratio: 1 / 1; border-radius: 8px; }
  .card:not(:has(.card-img)) .card-body { grid-column: 1 / -1; }
  .card-body { padding: 10px 12px; }
  .card-title { font-size: .95rem; line-height: 1.35; margin-bottom: 4px; }
  .card-text { display: none; }
  .footer-lh li { align-items: center; margin-bottom: 4px; }
  .footer-lh li > span:last-child { padding-top: 0; }
  .nguon-tham-khao { padding: 14px 14px; font-size: .82rem; }
  .nguon-tham-khao li { margin-bottom: 4px; line-height: 1.45; }
}
