/* Catbox – giao diện công khai
   Ngôn ngữ thiết kế: bản vẽ dao cắt (dieline) của bao bì.
   Đường cắt = nét đen liền, đường gấp = nét xanh đứt. */

@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-400-normal.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: 'Be Vietnam Pro'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-500-normal.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: 'Be Vietnam Pro'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-600-normal.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: 'Be Vietnam Pro'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-700-normal.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: 'Be Vietnam Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-800-normal.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: 'Be Vietnam Pro'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ============================================================
   Catbox – giao diện công khai: sáng, gọn, đơn sắc.
   Nền trắng, chữ đen đậm, đường kẻ mảnh. Sản phẩm là bản vẽ kỹ thuật
   (nét đen mảnh, tô trắng, đường kích thước). Khối tư vấn nền đen là điểm nhấn duy nhất.
   ============================================================ */

:root {
  --bg: #fff;
  --bg-2: #f5f5f6;
  --bg-3: #ececee;
  --fg: #0b0b0c;
  --fg-2: #4a4e56;
  --fg-3: #80848c;
  --line: #e4e4e7;
  --line-2: #c9cbd1;
  --accent: #3a3d44;
  --tile: #fff;
  --paper: #f5f5f6;
  --paper-2: #e4e4e7;
  --ink: #0b0b0c;
  --ink-2: #4a4e56;
  --cut: #2a2a2e;
  --fold: #9a9ea6;
  --danger: #b3261e;
  --radius: 4px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: .9375rem; line-height: 1.55;
  color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 40px; padding: 0 18px; border: 1.5px solid var(--fg); border-radius: var(--radius);
  background: var(--fg); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; line-height: 1.2;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn.small { min-height: 34px; padding: 0 14px; font-size: .875rem; }
.btn .arr { width: 18px; height: 18px; }

/* ---------- Mũi tên kiểu Figma: gạch – vòng – đầu mũi tên ---------- */
.arrow { display: inline-flex; align-items: center; width: 56px; height: 12px; color: currentColor; flex: none; }
.arrow svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 40px; height: 40px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; height: var(--header-h); padding: 0 12px; font-weight: 500; font-size: .9rem; text-decoration: none; color: var(--fg-2); }
.nav > ul > li > a:hover { color: var(--fg); }
.nav > ul > li > a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.sub {
  position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff; border: 1px solid var(--line);
  padding: 14px 0; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 8px 22px; text-decoration: none; font-size: .9625rem; color: var(--fg-2); }
.sub a:hover { background: var(--bg-2); color: var(--fg); }
.mega { left: auto; right: -160px; width: min(1060px, calc(100vw - 48px)); padding: 30px 34px 32px; }
.nav li:hover > .mega, .nav li:focus-within > .mega { display: grid; }
.mega { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px 36px; }
.mega h3 { font-size: .9875rem; margin-bottom: 10px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.mega h3 a { padding: 0; color: var(--fg); }
.mega h3 a:hover { background: none; color: var(--accent); }
.mega .cols-2 ul { columns: 2; column-gap: 20px; }
.mega a { padding: 4px 0; }
.mega a:hover { background: none; color: var(--fg); text-decoration: underline; }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--fg); margin: auto; position: relative; content: ''; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px; margin: 0; border-top: 1px solid var(--line); }
  body.nav-open .nav { display: block; }
  body.nav-open { overflow: hidden; }
  .nav > ul { display: block; }
  .nav > ul > li > a { height: auto; padding: 18px 0 6px; font-size: 1.4rem; font-weight: 600; color: var(--fg); }
  .sub, .mega, .nav li:hover > .sub, .nav li:hover > .mega { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 10px; min-width: 0; width: auto; background: none; }
  .mega { display: block; }
  .nav li:hover > .mega { display: block; }
  .sub a { padding: 5px 0; }
  .mega .cols-2 ul { columns: 1; }
  .mega h3 { margin: 12px 0 4px; }
  .nav .nav-cta { display: inline-flex; margin-top: 28px; }
}
.nav-cta { display: none; }

/* ---------- Khối nội dung: tiêu đề trên, nội dung dưới ---------- */
.sec { position: relative; padding-block: clamp(32px, 4.5vw, 60px); }
.sec.tight { padding-block: clamp(24px, 3.5vw, 44px); }
.sec.soft { background: var(--bg-2); }
.sec.ruled { border-top: 1px solid var(--line); }
.sec > .wrap { position: relative; }
.lab { margin-bottom: clamp(16px, 2.4vw, 28px); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
.lab .arrow { display: none; }
.lab small { display: block; max-width: 60ch; font-weight: 400; color: var(--fg-2); font-size: .9rem; line-height: 1.5; margin-top: 6px; letter-spacing: 0; }
.h-big { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; max-width: 24ch; }
.h-big b { font-weight: 700; }
.lead { font-size: clamp(.95rem, 1.1vw, 1.05rem); color: var(--fg-2); max-width: 60ch; line-height: 1.6; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(14px, 2vw, 22px); }
.sec-head .lab { margin-bottom: 0; }
.more { font-weight: 600; font-size: .875rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.more .arrow { width: 36px; }
.more:hover { text-decoration: underline; }
.glow { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); overflow: clip; }
.hero .bg { position: absolute; inset: 0; z-index: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.72) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; max-width: 12ch; }
.hero .lead { margin: 14px 0 20px; max-width: 44ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero.has-image { min-height: min(70vh, 720px); display: grid; align-items: end; color: #fff; }
.hero.has-image .wrap { grid-template-columns: 1fr; }
.hero.has-image .lead { color: rgba(255,255,255,.86); }
.hero.has-image .btn { background: #fff; border-color: #fff; color: #000; }
.hero.has-image .btn.ghost { background: transparent; color: #fff; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Bản vẽ khai triển ở hero (khi chưa có ảnh): khung xám, tab bên dưới */
.dieline { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 28px); }
.dieline .stage { aspect-ratio: 520 / 400; }
.dieline svg.net-svg { width: 100%; height: 100%; }
.net { display: none; }
.net.active { display: block; }
.cut { stroke: var(--cut); stroke-width: 1.5; fill: #fff; stroke-linejoin: round; }
.hole { stroke: var(--cut); stroke-width: 1.3; fill: var(--bg-2); }
.crease { stroke: var(--fold); stroke-width: 1.2; stroke-dasharray: 6 5; fill: none; }
.dim { stroke: var(--fg-3); stroke-width: 1; fill: none; }
.dimtxt { font-family: var(--font); font-size: 13px; fill: var(--fg-2); }
.reg { stroke: var(--line-2); stroke-width: 1; fill: none; }
.net.draw .cut { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: draw 1.6s cubic-bezier(.4,.1,.2,1) forwards, fillin .5s 1.4s forwards; }
.net.draw .crease, .net.draw .dim, .net.draw .dimtxt, .net.draw .hole { opacity: 0; animation: fade .6s 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
.switch { display: flex; margin-top: 12px; border: 1px solid var(--fg); border-radius: var(--radius); overflow: hidden; }
.switch button { flex: 1; padding: 10px 12px; background: #fff; border: 0; border-right: 1px solid var(--fg); font-weight: 600; font-size: .9375rem; color: var(--fg); }
.switch button:last-child { border-right: 0; }
.switch button[aria-pressed="true"] { background: var(--fg); color: #fff; }
.switch button:not([aria-pressed="true"]):hover { background: var(--bg-3); }
.dieline-link { display: inline-flex; margin-top: 14px; font-size: .9375rem; }

/* ---------- Giới thiệu + 3 năng lực ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } }
.caps li { padding-top: 16px; border-top: 1px solid var(--line); }
.caps svg { width: 36px; height: 36px; stroke: var(--fg); fill: none; stroke-width: 1.3; margin-bottom: 12px; }
.caps h3 { font-size: .95rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.caps p { color: var(--fg-2); font-size: .875rem; margin: 0; line-height: 1.55; }

/* ---------- Số liệu ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin-top: 56px; }
.stats li { padding-top: 16px; border-top: 1px solid var(--fg); }
.stats b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; color: var(--fg-2); font-size: .9375rem; }

/* ---------- Lĩnh vực: danh sách hai cột, kẻ mảnh ---------- */
.big-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--fg); }
.big-list li { border-bottom: 1px solid var(--line); }
.big-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.big-list a:hover, .big-list a:focus-visible { background: var(--bg-2); box-shadow: -12px 0 0 var(--bg-2), 12px 0 0 var(--bg-2); color: var(--fg); }
.big-list small { font-weight: 400; font-size: .875rem; color: var(--fg-3); white-space: nowrap; letter-spacing: 0; }
@media (max-width: 760px) { .big-list { grid-template-columns: 1fr; } }

/* ---------- Lưới sản phẩm: ô trắng, bản vẽ đơn sắc ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: 22px 14px; }
.tile { display: block; text-decoration: none; }
.tile-media { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; transition: border-color .2s; }
.sec.soft .tile-media { border-color: transparent; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-media .illus { width: 92%; height: auto; }
.tile:hover .tile-media, .tile:focus-visible .tile-media { border-color: var(--fg); }
.tile-media .kind { display: none; }
.tile h3 { font-size: .9rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 10px; line-height: 1.3; }
.tile p { margin: 3px 0 0; font-size: .8rem; color: var(--fg-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Dải chữ lớn (không dùng ở trang chủ nữa) ---------- */
.display { display: none; }

/* ---------- Dự án nổi bật kiểu "Almaz" ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature .media { background: var(--bg-2); min-height: 320px; display: grid; place-items: center; overflow: hidden; }
.feature .media img { width: 100%; height: 100%; object-fit: cover; }
.feature .media .illus { width: 60%; height: auto; }
.feature .body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.035em; }
.feature .sum { color: var(--fg-2); margin-top: 16px; max-width: 50ch; }
.facts { display: grid; gap: 0; margin-top: auto; padding-top: 24px; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9625rem; }
.facts dt { color: var(--fg-3); }
.facts dd { margin: 0; font-weight: 500; }
.feature .go { margin-top: 28px; align-self: flex-start; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 26px 16px; }
.feature + .cards { margin-top: 40px; }
.card { display: block; text-decoration: none; }
.card .media { aspect-ratio: 16 / 10; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; transition: border-color .2s; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .media .illus { width: 46%; height: auto; opacity: .9; }
.card:hover .media { border-color: var(--fg); }
.card .meta { display: flex; gap: 16px; margin-top: 10px; font-size: .78rem; color: var(--fg-3); }
.card h3 { font-size: .95rem; font-weight: 600; margin-top: 4px; letter-spacing: -0.02em; line-height: 1.3; }
.card p { margin: 6px 0 0; font-size: .85rem; color: var(--fg-2); line-height: 1.5; }
.card .go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; font-size: .85rem; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 40px 28px; color: var(--fg-2); max-width: 640px; }
.empty b { color: var(--fg); display: block; margin-bottom: 6px; font-weight: 600; }

/* ---------- Quy trình: các bước nằm ngang, đường kẻ có chấm ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 16px; counter-reset: none; }
.steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.steps li::before { content: ''; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.steps .n { display: block; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: .9rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.3; }
.steps p { color: var(--fg-2); font-size: .82rem; line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Logo khách hàng ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logos li { background: #fff; display: grid; place-items: center; min-height: 112px; padding: 20px; }
.logos img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: opacity .2s; }
.logos li:hover img { opacity: 1; }
.logos .name { color: var(--fg-2); font-weight: 500; text-align: center; font-size: .9625rem; }

/* ---------- Đánh giá ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.quotes li { background: var(--bg-2); border: 0; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quotes blockquote { margin: 0; font-size: 1.1rem; line-height: 1.55; letter-spacing: -0.01em; }
.quotes blockquote::before { content: '“'; display: block; font-size: 3rem; line-height: .6; color: var(--fg); margin-bottom: 12px; font-weight: 700; }
.quotes figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--fg-2); }
.quotes figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quotes figcaption b { display: block; color: var(--fg); font-weight: 600; }

/* ---------- Câu hỏi thường gặp ---------- */
.faq { border-top: 1px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0; font-size: .95rem; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--fg), var(--fg)) center / 14px 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1.5px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .ans { padding: 0 0 24px; color: var(--fg-2); max-width: 66ch; line-height: 1.7; }

/* ---------- Khối tư vấn: nền sáng, điểm tương phản ---------- */
.consult { background: #000; color: #fff; position: relative; }
.consult .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); padding-block: clamp(56px, 8vw, 112px); }
@media (max-width: 900px) { .consult .wrap { grid-template-columns: 1fr; } }
.consult h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; text-transform: uppercase; }
.consult .sub-copy { margin-top: 24px; max-width: 34ch; color: #b7bbc3; }
.consult .contacts { margin-top: 32px; display: grid; gap: 6px; font-weight: 600; }
.consult .contacts a { color: #fff; }
.consult .contacts a:hover { color: #b7bbc3; }
.consult .btn { background: #fff; border-color: #fff; color: #000; }
.consult .btn:hover { background: #d9dbe0; border-color: #d9dbe0; color: #000; }
.consult a:focus-visible, .consult :focus-visible { outline-color: #fff; }
.form-grid { display: grid; gap: 22px; }
.field label, .field .label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 6px; }
.field .opt { color: var(--fg-3); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.0625rem; color: inherit; background: transparent;
  border: 0; border-bottom: 1.5px solid var(--fg); border-radius: 0; padding: 10px 0; min-height: 46px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; box-shadow: 0 1.5px 0 0 currentColor; }
.field input::placeholder, .field textarea::placeholder { color: #8a8e96; }
.field .err { color: var(--danger); font-size: .9375rem; margin: 6px 0 0; }
.choices { display: grid; gap: 8px; }
.choices label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; font-weight: 400; font-size: 1rem; }
.choices label:hover { border-color: var(--fg); }
.choices input { accent-color: var(--fg); width: 18px; height: 18px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--fg); background: var(--fg); color: #fff; }
.choices label:has(input:checked) input { accent-color: #fff; }
/* trong khối nền đen */
.consult .field .err { color: #ff8a80; }
.consult .field input[type=text], .consult .field input[type=email], .consult .field input[type=tel], .consult .field textarea, .consult .field select { border-bottom-color: #fff; color: #fff; }
.consult .choices label { border-color: rgba(255,255,255,.35); }
.consult .choices label:hover { border-color: #fff; }
.consult .choices input { accent-color: #fff; }
.consult .choices label:has(input:checked) { background: #fff; border-color: #fff; color: #000; }
.consult .choices label:has(input:checked) input { accent-color: #000; }
.consult .field .opt { color: #9a9ea6; }
.consult .field.file input[type=file] { color: #b7bbc3; }
.consult .notice { border-color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.file input[type=file] { color: var(--fg-2); font: inherit; font-size: .9625rem; width: 100%; }
.notice { padding: 18px 20px; border: 1.5px solid var(--fg); border-radius: var(--radius); font-weight: 500; }

/* ---------- Footer: sáng, gọn ---------- */
.site-footer { background: var(--bg); color: var(--fg); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: clamp(44px, 6vw, 72px) 24px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } }
.foot-mark { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.06em; line-height: .82; text-decoration: none; display: block; }
.foot-mark span { display: block; }
.site-footer .foot-mark, .foot-mark:hover { color: var(--fg); }
.foot-cta h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -0.03em; max-width: 26ch; }
.foot-cta .hot { font-size: .875rem; color: var(--fg-3); margin-bottom: 4px; }
.foot-cta .hotline { font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; display: inline-block; margin-bottom: 20px; color: var(--fg); }
.foot-cta .mail { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--fg); text-decoration: none; font-weight: 600; margin-top: 18px; color: var(--fg); }
.foot-cta .mail .arrow { width: 56px; }
.foot-cta .mail:hover { color: var(--accent); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: .9375rem; margin-bottom: 12px; font-weight: 700; letter-spacing: -0.01em; }
.site-footer li { margin-bottom: 7px; font-size: .9375rem; }
.site-footer a { color: var(--fg-2); text-decoration: none; }
.site-footer a:hover { color: var(--fg); text-decoration: underline; }
.site-footer .foot-mark, .site-footer .hotline, .site-footer .mail { color: var(--fg); }
.site-footer address { font-style: normal; color: var(--fg-2); display: grid; gap: 4px; font-size: .9375rem; }
.foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--fg-3); font-size: .875rem; }
.foot-water { display: none; }

/* ---------- Trang trong ---------- */
.page-head { position: relative; padding-block: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line); overflow: clip; }
.page-head .wrap { position: relative; z-index: 1; }
.crumbs { font-size: .8rem; color: var(--fg-3); margin-bottom: 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; max-width: 20ch; }
.page-head .lead { margin: 18px 0 0; }
.page-head .facts { max-width: 720px; margin-top: 28px; }

/* Nền sáng cho nội dung dài */
.paper { background: var(--paper); color: var(--ink); }
.paper a:hover { color: var(--accent); }
.paper .lead { color: var(--ink-2); }

.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; font-weight: 700; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; font-weight: 600; }
.prose p, .prose li { line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }
.paper .prose { color: #1d1f24; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.filters a { padding: 6px 12px; font-size: .85rem; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--fg-2); }
.filters a:hover { border-color: var(--fg); color: var(--fg); }
.filters a[aria-current="true"] { background: var(--fg); color: #fff; border-color: var(--fg); }
.filters select { font: inherit; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--fg); max-width: 100%; }
.group-head { margin: 36px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.group-head:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.group-head h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; }
.group-head h2 a { text-decoration: none; }
.group-head p { margin: 0; color: var(--fg-2); max-width: 50ch; }

/* Chi tiết sản phẩm */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }
.pd-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 0.9; display: grid; place-items: center; overflow: hidden; position: relative; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media .illus { width: 100%; height: auto; }
.pd-media [data-view] { display: none; }
.pd-media [data-view].active { display: block; }
.view-switch { display: flex; gap: 8px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.view-switch button { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--fg-2); font-weight: 500; font-size: .9rem; }
.view-switch button[aria-pressed="true"] { background: var(--fg); color: #fff; border-color: var(--fg); }
.view-switch .legend { margin-left: auto; font-size: .8125rem; color: var(--fg-3); display: flex; gap: 14px; }
.view-switch .legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--cut); vertical-align: middle; margin-right: 6px; }
.view-switch .legend i.f { border-top: 2px dashed var(--fg-3); }
.pd h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; letter-spacing: -0.04em; }
.pd .short { font-size: 1.15rem; margin: 16px 0 26px; color: var(--fg-2); }
.pd .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.specs { margin: 0 0 32px; }
.specs div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 500; color: var(--fg-3); }
.specs dd { margin: 0; }
@media (max-width: 520px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips a { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--fg-2); }
.chips a:hover { border-color: var(--fg); color: var(--fg); }
.mini-h { font-size: .9375rem; font-weight: 600; margin: 28px 0 0; letter-spacing: -0.01em; color: var(--fg-3); }

/* Chi tiết bài viết, dự án */
.article { padding-block: clamp(40px, 5vw, 72px); }
.article .hero-img { margin-bottom: 40px; background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 16 / 8; overflow: hidden; }
.article .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--fg-3); font-size: .9625rem; margin-top: 18px; }
.article-meta a { color: var(--fg-2); }

/* Mục lục ngành */
.index { columns: 2; column-gap: clamp(32px, 6vw, 96px); }
.index li { break-inside: avoid; }
.index a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.index a small { font-weight: 400; font-size: .875rem; color: var(--fg-3); letter-spacing: 0; white-space: nowrap; }
.index a:hover { background: var(--bg-2); box-shadow: -12px 0 0 var(--bg-2), 12px 0 0 var(--bg-2); color: var(--fg); }
@media (max-width: 760px) { .index { columns: 1; } }

/* Về Catbox */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ledger li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 500; }
.ledger li a { text-decoration: none; }
.ledger li span { font-weight: 400; color: var(--fg-3); text-align: right; font-size: .9375rem; }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.paper .ledger li { border-color: var(--paper-2); }
.paper .ledger li span { color: var(--ink-2); }

/* Sơ đồ trang */
.sitemap-list { columns: 3 260px; column-gap: 48px; }
.sitemap-list section { break-inside: avoid; margin-bottom: 36px; }
.sitemap-list h2 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.sitemap-list li { margin-bottom: 6px; }
.sitemap-list a { color: var(--fg-2); text-decoration: none; }
.sitemap-list a:hover { color: var(--fg); text-decoration: underline; }

/* Liên hệ */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px); }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
.promise h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; }
.promise p { color: var(--fg-2); max-width: 46ch; margin-top: 16px; }
.info { margin-top: 28px; }
.info div { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.info div:last-child { border-bottom: 1px solid var(--line); }
.info dt { color: var(--fg-3); }
.info dd { margin: 0; }
.map { margin-top: 28px; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .net.draw .cut, .net.draw .crease, .net.draw .dim, .net.draw .dimtxt, .net.draw .hole { animation: none; opacity: 1; stroke-dashoffset: 0; fill-opacity: 1; }
  .tile-media, .btn { transition: none; }
}

/* ============================================================
   Bố cục nhãn cột trái, dải chữ lớn và thẻ ưu tiên ảnh (nền sáng)
   ============================================================ */
.wrap.side { display: grid; grid-template-columns: minmax(140px, 180px) minmax(0, 1fr); gap: 16px clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .wrap.side { grid-template-columns: 1fr; } }
.side > .lab { margin: 0; font-size: .875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.side > .lab small { font-size: .8125rem; color: var(--fg-3); font-weight: 400; margin-top: 8px; max-width: 24ch; }
.side > .lab::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--fg); vertical-align: middle; position: relative; top: -1px; }
.h-mid { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.sec-head .h-mid { margin-bottom: 0; }
.sec-head { align-items: baseline; }

/* dải chữ lớn */
.band { position: relative; text-align: center; padding-block: clamp(36px, 5vw, 64px); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .display { display: block; margin: 0; font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 800; line-height: .92; letter-spacing: -0.05em; text-transform: uppercase; color: var(--fg); }
.band-sub { max-width: 46ch; margin: 24px auto 18px; color: var(--fg-2); }
.band .more { text-decoration: underline; text-underline-offset: 4px; }

/* ảnh trong thẻ bài viết, dự án: ảnh thật phủ kín, phóng nhẹ khi rê chuột */
.card .media { aspect-ratio: 16 / 10; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 8px; }
.card .media img { transition: transform .35s ease; }
.card:hover .media img { transform: scale(1.03); }
.card .media .illus { width: 46%; }
.card .meta span + span::before { content: '·'; margin-right: 16px; color: var(--line-2); }
.cards.feature-first > .card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.cards.feature-first > .card:first-child .media { aspect-ratio: 16 / 10; }
.cards.feature-first > .card:first-child h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.cards.feature-first > .card:first-child p { font-size: 1.05rem; -webkit-line-clamp: 4; }
@media (max-width: 760px) { .cards.feature-first > .card:first-child { grid-template-columns: 1fr; } }
.card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ô sản phẩm có ảnh thật */
.tile-media { border-radius: 8px; }
.tile-media img { transition: transform .35s ease; }
.tile:hover .tile-media img { transform: scale(1.04); }

/* ảnh lớn đầu bài và ảnh trong nội dung */
.article .hero-img { aspect-ratio: 16 / 9; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--fg-3); text-align: center; }
.prose a { color: var(--fg); }
.article-meta .chip { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 500; }
.article-meta .chip:hover { border-color: var(--fg); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; }
.share a { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; font-weight: 500; color: var(--fg-2); }
.share a:hover { border-color: var(--fg); color: var(--fg); }

/* ============================================================
   Banner ảnh bìa + ô ngành hàng có icon (bố cục gọn kiểu 2T)
   ============================================================ */
.banner { background: #f1f1f2; border-bottom: 1px solid var(--line); }
/* Hiện trọn ảnh bìa, không cắt; chiều cao tối đa vừa một màn hình cùng header và dải tiêu đề */
.banner img { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 104px); object-fit: contain; object-position: center; display: block; }
.hero-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 16px; min-height: 104px; }
.hero-strip h1 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }
.hero-strip p { margin: 4px 0 0; color: var(--fg-2); font-size: .9rem; max-width: 70ch; }
.hero-strip .actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 760px) { .banner img { max-height: none; } .hero-strip .wrap { min-height: 0; } }

.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.ind-grid a { display: grid; align-content: center; justify-items: center; gap: 8px; aspect-ratio: 1 / 1; padding: 14px 12px; text-align: center; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.ind-grid a:hover, .ind-grid a:focus-visible { border-color: var(--fg); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); color: var(--fg); }
.ind-grid svg { width: 40px; height: 40px; stroke: var(--fg); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ind-grid b { font-size: .875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.ind-grid small { font-size: .75rem; color: var(--fg-3); }
.sec.soft .ind-grid a { border-color: transparent; }
@media (max-width: 520px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } .ind-grid a { aspect-ratio: auto; } }

/* ---------- Hệ sinh thái thuộc Catbox (chân trang, kiểu Printgo) ---------- */
.eco { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.eco h3 { font-size: .9375rem; margin-bottom: 14px; }
.eco ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.eco li > * { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--fg); background: var(--bg); transition: border-color .18s; }
.eco li > a:hover { border-color: var(--fg); color: var(--fg); text-decoration: none; }
.eco img, .eco .ph { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.eco .ph { display: grid; place-items: center; background: var(--bg-2); font-weight: 700; }
.eco b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.eco small { display: block; color: var(--fg-3); font-size: .78rem; margin-top: 2px; }

/* ---------- Trang chủ: mỗi khối tròn hàng, không có hàng lẻ khi xem máy tính ---------- */
@media (min-width: 1000px) {
  #linh-vuc .ind-grid { grid-template-columns: repeat(5, 1fr); }
  #san-pham .grid { grid-template-columns: repeat(6, 1fr); }
  #chia-se .cards { grid-template-columns: repeat(3, 1fr); }
}
.sec { scroll-margin-top: var(--header-h); }
