/* C.T Polymer — website V1 (một trang, song ngữ)
   Nhận diện theo name card CTP (10/2026) + hệ Broadsheet: chữ serif gần đen trên nền giấy,
   nhấn cyan như mực spot, họa tiết "hạt polymer phân tán". Không dùng nền tối.
   Tiếng Việt = Source Serif 4; tiếng Anh = sans-serif, nhỏ hơn, xám, vạch cyan mảnh — luôn hiển thị.
   Bố cục + hành vi (TOC trái ≥1180px, rail phải <1180px, hero 2 khối) kế thừa skill meomuop-web1. */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/ss4-vi.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: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/ss4-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/ss4-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: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/ss4i-vi.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: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/ss4i-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/ss4i-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 {
  color-scheme: light;
  --paper: #f3f2f2;              /* nền trang (Broadsheet paper) */
  --card: #ffffff;               /* thẻ, ô */
  --surface: #eae9e9;            /* ô phụ, footer */
  --ink: #201e1d;
  --ink-2: #555250;              /* chữ phụ tiếng Việt */
  --en: #6b6866;                 /* giọng tiếng Anh — xám, ≥ 4.8:1 trên nền giấy */
  --rule: #d1d0d0;
  --rule-2: #e2e1e1;
  --cyan: #0088b0;               /* nhấn chính — số lớn, đường, hình */
  --cyan-700: #006786;           /* nhấn cho chữ cỡ thường, link */
  --cyan-300: #99e0ff;
  --cyan-100: #e9f8ff;
  --cyan-wash: rgba(0, 136, 176, .16);
  --magenta: #d6006c;            /* nhấn phụ, dùng rất ít */
  --magenta-700: #aa0b56;
  --magenta-100: #fff1f4;
  --neutral-100: #f8f4f4;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-en: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(.84rem, .8rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.06rem + .45vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.22rem + .9vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.7vw, 2.65rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.9vw, 3.8rem);
  --step-5: clamp(2.5rem, 1.7rem + 4.2vw, 5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --toc-w: 252px;
  --header-h: 66px;
  --gap-sec: clamp(64px, 9vw, 120px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
/* chữ số lining ở mọi nơi (shorthand font: reset numeric features) */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 22px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-serif); font-size: var(--step-0);
  line-height: 1.66; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-optical-sizing: auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.14; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan-300); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
svg { overflow: visible; }
.dot { color: var(--cyan); }

/* ── Giọng tiếng Anh ── */
.en { font-family: var(--font-en); font-weight: 400; color: var(--en); letter-spacing: .005em; font-style: normal; }
p.en, div.en { font-size: .9em; line-height: 1.6; border-left: 2px solid var(--cyan-wash); padding-left: .85em; margin-top: -.35em; }
span.en, small.en { display: block; font-size: .86em; line-height: 1.45; margin-top: .2em; }
h1 .en, h2 .en, h3 .en, h4 .en { display: block; font-family: var(--font-en); font-weight: 400; letter-spacing: .01em; color: var(--en); text-wrap: balance; }
h1 .en { font-size: .34em; margin-top: .7em; letter-spacing: .02em; }
h2 .en { font-size: max(.36em, 1.05rem); margin-top: .55em; }
h3 .en { font-size: max(.46em, 1rem); margin-top: .45em; }
h4 .en { font-size: max(.66em, .86rem); margin-top: .3em; }

.muted { color: var(--ink-2); }
.lede { font-size: var(--step-1); line-height: 1.58; max-width: 60ch; }
.lede + .en { font-size: calc(var(--step-1) * .8); max-width: 64ch; }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 .8rem/1.3 var(--font-en); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-700); margin: 0 0 1.2rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(243, 242, 242, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--rule-2); }
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name b { font: 600 1.02rem/1.1 var(--font-serif); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand-name i { font: italic 400 .8rem/1.3 var(--font-serif); color: var(--en); margin-top: 3px; white-space: nowrap; }
.head-addr { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.ha { display: grid; grid-template-columns: 26px minmax(0, auto); gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
.ha svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ha span { font-size: .88rem; line-height: 1.3; color: var(--ink-2); }
.ha b { display: block; font: 600 .72rem/1.3 var(--font-en); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.ha b .en { display: inline; margin-left: 6px; font-weight: 400; text-transform: none; letter-spacing: .02em; font-size: .72rem; }
.ha:hover span { color: var(--cyan-700); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
/* dải "chương hiện tại" (tablet/điện thoại) */
.now { display: none; border-top: 1px solid var(--rule-2); }
.now-inner { display: flex; align-items: baseline; gap: 10px; padding: 7px var(--gutter); font-size: .92rem; white-space: nowrap; overflow: hidden; }
.now-inner b { font: 600 .95rem/1 var(--font-en); color: var(--cyan-700); }
.now-inner .en { display: inline; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1180px) { .head-addr { display: none; } .now.on { display: block; } }
@media (max-width: 420px) { .brand-name i { display: none; } .brand-name b { font-size: .94rem; letter-spacing: .12em; } .brand-mark { width: 32px; height: 32px; } }

/* ── Nút ── */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: .6em 1.35em;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 .86rem/1.2 var(--font-en); letter-spacing: .06em; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn .en { color: inherit; opacity: .78; text-transform: none; letter-spacing: .02em; font-size: .76rem; margin-top: 2px; display: block; }
.btn:hover { background: var(--cyan-700); border-color: var(--cyan-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--card); color: var(--cyan-700); border-color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule-2); background:
  radial-gradient(1200px 520px at 88% 0%, rgba(233, 248, 255, .9), rgba(233, 248, 255, 0) 70%), var(--paper); }
.hero .wrap { position: relative; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(44px, 6.5vw, 100px) var(--gutter) clamp(44px, 5vw, 76px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 600; letter-spacing: -.02em; }
.hero h1 .en { font-size: max(.3em, 1.05rem); }
.hero .lede { margin-top: 1.5rem; color: var(--ink); }
.hero-art { position: relative; align-self: stretch; min-height: 340px; }
.hero-art img { position: absolute; inset: -8% -12% -8% -2%; width: 114%; height: 116%; max-width: none; object-fit: contain; }
.hero-tag { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag span { font: 500 .8rem/1 var(--font-en); letter-spacing: .04em; color: var(--cyan-700); background: var(--card); border: 1px solid var(--cyan-wash); padding: 8px 12px; border-radius: 999px; }
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-art { position: absolute; right: -40px; top: -20px; width: 300px; height: 300px; min-height: 0; opacity: .55; pointer-events: none; }
  .hero-art img { inset: 0; width: 100%; height: 100%; }
  .hero .hero-text { position: relative; }
}
@media (max-width: 560px) { .hero-art { width: 220px; height: 220px; right: -60px; top: -10px; opacity: .45; } }

/* khối "Điểm nổi bật" và "Khám phá" — hai khối tách biệt, có nhãn riêng */
.block-label { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 600 .8rem/1.2 var(--font-en); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-700); }
.block-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0, 136, 176, .45), rgba(0, 136, 176, 0)); }
.usp { margin-top: clamp(40px, 5.5vw, 72px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.stats > div { position: relative; padding: 22px 22px 24px; border: 1px solid rgba(0, 136, 176, .32); border-radius: 16px;
  background: linear-gradient(160deg, rgba(233, 248, 255, .95), rgba(255, 255, 255, .9) 62%); }
.usp-ic { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 136, 176, .1); color: var(--cyan); }
.usp-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat-n { display: block; font: 600 clamp(2.3rem, 1.6rem + 2.4vw, 3.4rem)/1 var(--font-serif); color: var(--cyan); letter-spacing: -.02em; margin-bottom: 10px; }
.stats p { margin: 0; font-size: 1rem; line-height: 1.42; color: var(--ink); max-width: 17em; }
.stats p .en { font-size: .84rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div { padding: 18px; } .usp-ic { width: 34px; height: 34px; top: 14px; right: 14px; } }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } }

.contents { margin-top: clamp(44px, 6vw, 72px); }
.contents ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.contents li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; height: 100%; padding: 16px 16px 16px 14px;
  border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s; }
.contents li a:hover, .contents li a:focus-visible { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 103, 134, .1); }
.contents .c-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0, 136, 176, .55);
  font: 600 .9rem/1 var(--font-en); color: var(--cyan-700); }
.contents .c-t { font: 600 clamp(1.05rem, .98rem + .3vw, 1.22rem)/1.25 var(--font-serif); }
.contents .c-t .en { font-size: .8rem; font-weight: 400; margin-top: 4px; }
.contents .c-go { font-size: 0; }
.contents .c-arrow { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rule); font: 400 1rem/1 var(--font-en); color: var(--cyan-700);
  transition: transform .25s, background .25s, color .25s, border-color .25s; }
.contents li a:hover .c-arrow, .contents li a:focus-visible .c-arrow { transform: translateX(4px); background: var(--cyan); border-color: var(--cyan); color: #fff; }
@media (max-width: 1100px) { .contents ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contents ol { grid-template-columns: 1fr; gap: 8px; } .contents li a { padding: 12px 14px 12px 12px; gap: 12px; } .contents .c-n { width: 34px; height: 34px; } }

/* ── Bố cục: mục lục + nội dung ── */
.layout { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: var(--toc-w) minmax(0, 1fr); gap: clamp(40px, 4.5vw, 72px); }
main { min-width: 0; padding-bottom: var(--gap-sec); }

.toc { position: sticky; top: calc(var(--header-h) + 26px); align-self: start; max-height: calc(100vh - var(--header-h) - 46px);
  overflow-y: auto; overscroll-behavior: contain; padding: 40px 6px 32px 0; scrollbar-width: thin; }
.js .toc { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s ease; }
.js .toc.shown { opacity: 1; transform: none; }
.toc-title { font: 600 .8rem/1.3 var(--font-en); letter-spacing: .18em; text-transform: uppercase; color: var(--en); margin: 0 0 14px; display: flex; gap: 8px; align-items: baseline; }
.toc-title b { color: var(--ink); }
.toc-track { position: relative; padding-left: 18px; }
.toc-track::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--rule); }
.toc-fill { position: absolute; left: 0; top: 4px; width: 2px; margin-left: -.5px; background: var(--cyan); height: 0; transition: height .15s linear; }
.toc-ch { margin-bottom: 2px; }
.toc-ch > a { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 2px 8px; padding: 8px 0; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.toc-ch > a .n { font: 600 .9rem/1.5 var(--font-en); color: var(--cyan-700); }
.toc-ch > a .t { font: 600 1rem/1.3 var(--font-serif); }
.toc-ch > a .t .en { font-size: .78rem; margin-top: 2px; font-weight: 400; }
.toc-ch > a:hover, .toc-ch.active > a { color: var(--ink); }
.toc-subs { padding: 0 0 8px 2.1rem; margin-left: 8px; display: grid; gap: 1px; }
.js .toc-subs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; padding-bottom: 0; }
.js .toc-subs > div { overflow: hidden; }
.js .toc-ch.open .toc-subs { grid-template-rows: 1fr; padding-bottom: 8px; }
.toc-subs a { display: block; position: relative; padding: 6px 0 6px 12px; font-size: .9rem; line-height: 1.32; color: var(--ink-2); text-decoration: none; border-left: 1px solid transparent; }
.toc-subs a .en { font-size: .76rem; margin-top: 1px; }
.toc-subs a:hover { color: var(--ink); }
.toc-subs a.active { color: var(--ink); border-left-color: var(--cyan); }
.toc-subs a.active::before { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--cyan); }
.toc-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9rem; }
.toc-foot a { text-decoration: none; display: block; padding: 4px 0; word-break: break-word; }
.toc-close { display: none; }
.scrim { display: none; }

@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: fixed; z-index: 80; top: 0; right: 0; left: auto; bottom: 0; width: min(360px, 88vw); max-height: none; padding: 20px 22px 32px;
    background: var(--paper); box-shadow: -18px 0 40px rgba(32, 30, 29, .18); transform: translateX(105%); opacity: 1 !important;
    transition: transform .35s ease, visibility .35s; visibility: hidden; }
  .js .toc, .js .toc.shown { transform: translateX(105%); }
  .toc-open .toc, .js.toc-open .toc { transform: none !important; visibility: visible; }
  .toc > .toc-title { display: none; }
  .toc-close { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
  .toc-close button { appearance: none; border: 1px solid var(--rule); background: transparent; width: 42px; height: 42px; border-radius: 50%; font: 300 1.6rem/1 var(--font-en); cursor: pointer; color: var(--ink); }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(20, 19, 18, .42); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .toc-open .scrim { opacity: 1; visibility: visible; }
}

/* ── Chương & mục ── */
.chapter { margin-top: var(--gap-sec); }
.chapter:first-child { margin-top: clamp(40px, 6vw, 72px); }
.ch-head { position: relative; overflow: hidden; background: var(--cyan-100); border-radius: 20px; padding: clamp(30px, 4.5vw, 60px) clamp(22px, 4vw, 56px) clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.ch-head > * { position: relative; }
.ch-head .ch-motif { position: absolute; right: -40px; top: -50px; width: 340px; height: 340px; opacity: .9; pointer-events: none; }
.ch-head h2 { font-size: var(--step-4); }
.ch-head p { grid-column: 1 / -1; margin: 0; color: var(--ink); max-width: 64ch; border-top: 1px solid rgba(0, 136, 176, .25); padding-top: 18px; font-size: var(--step-1); line-height: 1.55; }
.ch-head p.en { border-top: 0; padding-top: 0; margin-top: 6px; font-size: calc(var(--step-1) * .76); border-left: 2px solid rgba(0, 136, 176, .3); }
.ghost { font: 600 clamp(4rem, 2.4rem + 7vw, 8.5rem)/.8 var(--font-serif); color: var(--cyan); letter-spacing: -.03em; }
@media (max-width: 640px) { .ch-head { grid-template-columns: 1fr; } .ghost { order: -1; font-size: 4rem; } .ch-head .ch-motif { width: 220px; height: 220px; right: -60px; top: -40px; opacity: .7; } }

.sec { margin-top: clamp(56px, 8vw, 104px); }
.ch-head + .sec { margin-top: 0; }
.sec-head { margin-bottom: clamp(24px, 3.5vw, 44px); max-width: 60rem; }
.num-k { display: inline-flex; align-items: center; gap: 10px; font: 600 .86rem/1 var(--font-en); color: var(--cyan-700); letter-spacing: .12em; margin-bottom: 16px; }
.num-k::after { content: ""; width: 36px; height: 1px; background: var(--cyan); }
.sec-head h3 { font-size: var(--step-3); }
.sec-head > p { margin-top: 1rem; font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; }
.sec-head > p.en { font-size: calc(var(--step-1) * .78); margin-top: .2rem; color: var(--en); }
.note { font-size: .95rem; color: var(--ink-2); margin-top: 14px; }
.note .en { display: block; font-size: .9em; margin-top: 2px; }

/* lưới & thẻ */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
@media (max-width: 1080px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .cols-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.split.wide-l { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split.top { align-items: start; }
@media (max-width: 860px) { .split, .split.wide-l { grid-template-columns: 1fr; } }

.panel { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: clamp(20px, 2.8vw, 34px); }
.panel.tint { background: var(--cyan-100); border-color: transparent; }
.panel-t { font: 600 1.12rem/1.3 var(--font-serif); margin-bottom: 6px; }
.panel-t .en { font-weight: 400; }

/* thẻ ứng dụng: hình minh họa + tên + mô tả + sản phẩm đề xuất */
.app { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s; }
.app:hover { border-color: rgba(0, 136, 176, .45); box-shadow: 0 10px 26px rgba(0, 103, 134, .08); transform: translateY(-2px); }
.app-art { background: linear-gradient(180deg, var(--neutral-100), #fff); border-bottom: 1px solid var(--rule-2); padding: 18px 22px 12px; }
.app-art img { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto; }
.app-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.app h4 { font-size: clamp(1.16rem, 1.06rem + .35vw, 1.34rem); }
.app p { margin: 0; font-size: .98rem; line-height: 1.55; }
.app p.en { font-size: .84rem; margin-top: 0; }
.app .pick { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: .92rem; color: var(--ink); }
.app .pick b { display: block; font: 600 .7rem/1.3 var(--font-en); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-700); margin-bottom: 4px; }
.app .pick .en { font-size: .8rem; }

/* minh họa: nét mực + mảng cyan (cyan = keo / sơn của CTP) */
.ill { display: block; width: 100%; height: auto; }
.ill .k { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill .km { fill: none; stroke: #8f8c8a; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill .w { fill: #fff; }
.ill .p { fill: var(--paper); }
.ill .s { fill: #e7e2dc; }
.ill .wood { fill: #e6cfae; }
.ill .wood2 { fill: #d7b98f; }
.ill .c { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill .cf { fill: var(--cyan-100); stroke: none; }
.ill .c3 { fill: var(--cyan-300); stroke: none; }
.ill .cs { fill: var(--cyan); stroke: none; }
.ill .dash { fill: none; stroke: #8f8c8a; stroke-width: 1.1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.ill .cdash { fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.ill text { font: 600 9px/1 var(--font-en); fill: var(--en); letter-spacing: .04em; }

/* bảng thông số (luôn mở) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 4px 18px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule-2); }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
tr:last-child > * { border-bottom: 0; }
thead th { font: 600 .74rem/1.35 var(--font-en); letter-spacing: .1em; text-transform: uppercase; color: var(--en); border-bottom: 1px solid var(--rule); padding-top: 14px; }
thead th .en { text-transform: none; letter-spacing: .01em; font-weight: 400; font-size: .74rem; }
tbody th { font-weight: 600; }
td .en, th .en { font-size: .84rem; }
td.num { white-space: nowrap; }
.hl { background: rgba(233, 248, 255, .85); }
thead th.hl { color: var(--cyan-700); }
.nc { text-transform: none !important; letter-spacing: .02em; }
.swipe { display: none; font: .84rem/1.3 var(--font-en); color: var(--en); margin: 0 0 8px; }
.chip { display: inline-block; font: 600 .72rem/1 var(--font-en); letter-spacing: .06em; color: var(--cyan-700); background: var(--cyan-100); border-radius: 999px; padding: 5px 9px; margin: 2px 4px 2px 0; white-space: nowrap; }
@media (max-width: 860px) {
  .wide { min-width: 760px; }
  .swipe { display: block; }
  .wide tbody th { position: sticky; left: 0; background: var(--card); z-index: 1; box-shadow: 1px 0 0 var(--rule-2); min-width: 150px; max-width: 170px; }
  .wide thead th:first-child { position: sticky; left: 0; background: var(--card); z-index: 2; }
  th, td { padding: 9px 9px; }
  .table-wrap { padding: 2px 12px; }
}
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th { padding: 0 0 8px; border: 0; }
  .compare td { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; }
  .compare td::before { content: attr(data-l); font: .72rem/1.3 var(--font-en); letter-spacing: .06em; text-transform: uppercase; color: var(--en); padding-top: .25em; }
  .compare td.hl { padding: 8px 10px; margin-top: 4px; border-radius: 8px; }
}

/* danh sách gạch đầu dòng */
.points { border-top: 1px solid var(--rule-2); margin-top: 1.2em; }
.points li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--rule-2); position: relative; font-size: 1.02rem; }
.points li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 12px; height: 2px; background: var(--cyan); }
.points li .en { font-size: .86rem; }
.feat { display: grid; gap: 16px; }
.feat li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.feat .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--cyan-100); display: grid; place-items: center; color: var(--cyan-700); }
.feat .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat b { display: block; font-size: 1.06rem; line-height: 1.3; }
.feat span:not(.en):not(.ic) { display: block; font-size: .98rem; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.feat .en { font-size: .84rem; }

/* quy trình dán đế giày */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: st; }
.flow li { position: relative; padding: 0 14px 0 0; }
.flow li + li { padding-left: 14px; }
.flow .st-art { height: 120px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 12px; }
.flow .st-art img { height: 100%; width: auto; max-width: 100%; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 46px; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: #fff;
  font: 600 .8rem/22px var(--font-en); text-align: center; z-index: 1; }
.flow .st-n { font: 600 .74rem/1 var(--font-en); letter-spacing: .14em; color: var(--cyan-700); text-transform: uppercase; display: block; margin-bottom: 6px; }
.flow h4 { font-size: 1.12rem; }
.flow p { margin: 6px 0 0; font-size: .94rem; color: var(--ink-2); line-height: 1.45; }
.flow p.en { font-size: .8rem; }
.flow .chip { margin-top: 8px; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li, .flow li + li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 18px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
  .flow li:last-child { border-bottom: 0; }
  .flow .st-art { grid-row: span 5; height: 96px; margin: 0; }
  .flow li > :not(.st-art) { grid-column: 2; }
  .flow .chip { justify-self: start; }
  .flow li:not(:last-child)::after { display: none; }
}

/* hạt PUD / PUA */
.particles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.particles figure { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 18px 20px 20px; }
.particles img { width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto 14px; }
.particles figcaption b { display: block; font-size: 1.12rem; }
@media (max-width: 640px) { .particles { grid-template-columns: 1fr; } }

/* lớp sơn */
.layers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.layers li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-2); align-items: baseline; }
.layers .idx { font: 600 .86rem/1 var(--font-en); color: var(--cyan-700); letter-spacing: .08em; }
.layers h4 { font-size: 1.2rem; }
.layers h4 small { font: 600 .74rem/1 var(--font-en); letter-spacing: .08em; color: var(--en); margin-left: 8px; }
.layers p { margin: 4px 0 0; font-size: .98rem; }
.layers p.en { margin-top: 6px; font-size: .84rem; }

/* số lớn */
.bigs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.bigs > div { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 20px 20px 22px; }
.big { display: block; font: 600 clamp(2.2rem, 1.6rem + 2.2vw, 3.2rem)/1 var(--font-serif); color: var(--cyan); letter-spacing: -.02em; margin-bottom: 10px; }
.bigs p { margin: 0; font-size: .98rem; line-height: 1.42; }
.bigs p .en { font-size: .82rem; }
@media (max-width: 980px) { .bigs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .bigs { grid-template-columns: 1fr; } }

/* ảnh */
.plate { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom:hover img { transform: scale(1.03); }
.r43 .plate { aspect-ratio: 4 / 3; } .r34 .plate { aspect-ratio: 3 / 4; } .r11 .plate { aspect-ratio: 1; } .r169 .plate { aspect-ratio: 16 / 9; }
figcaption { font-size: .96rem; margin-top: 10px; line-height: 1.45; }
figcaption .en { font-size: .82rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* liên kết sang trang khác */
.xlink { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: clamp(22px, 3vw, 34px); padding: 18px 22px;
  background: var(--card); border: 1px solid var(--cyan-wash); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .25s, transform .25s; }
.xlink:hover { border-color: var(--cyan); transform: translateY(-2px); color: var(--ink); }
.xlink b { display: block; font-size: 1.08rem; }
.xlink .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #fff; font: 600 1rem/1 var(--font-en); }

/* ── Khách hàng ── */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
/* logo khách hàng: hiển thị ĐÚNG màu gốc (không lọc xám, không đổi màu) */
.logo { display: grid; place-items: center; height: 112px; background: #fff; border: 1px solid var(--rule-2); border-radius: 12px; padding: 16px 14px 22px; position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s; }
.logo img { max-width: 84%; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.logo:hover { border-color: rgba(0, 136, 176, .45); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 103, 134, .08); }
.logo.dark { background: #201e1d; border-color: #201e1d; }       /* logo chỉ có bản trắng (vd AA) — giữ nguyên trên nền tối */
.logo.dark figcaption { color: #cfcac6; }
.logo figcaption { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; text-align: center; font: 500 .66rem/1.2 var(--font-en); letter-spacing: .03em; color: var(--en);
  opacity: 0; transition: opacity .25s; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo:hover figcaption { opacity: 1; }
.logo.word { font: 600 1rem/1.15 var(--font-serif); text-align: center; color: var(--ink-2); letter-spacing: .02em; }
@media (max-width: 1180px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .logo { height: 84px; padding: 10px 8px 16px; } .logo img { max-height: 42px; } }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.quote { position: relative; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; }
.quote::before { content: "“"; position: absolute; top: 4px; left: 18px; font: 600 4.2rem/1 var(--font-serif); color: var(--cyan-300); }
.quote blockquote { margin: 26px 0 0; font: italic 400 1.06rem/1.55 var(--font-serif); color: var(--ink); }
.quote blockquote p { margin: 0 0 .5em; }
.quote blockquote p.en { font-style: normal; font-size: .84rem; margin-top: .2em; }
.quote footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule-2); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; }
.quote footer .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--cyan-100); display: grid; place-items: center; color: var(--cyan-700); }
.quote footer .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quote footer b { display: block; font-size: .96rem; line-height: 1.3; }
.quote footer .en { font-size: .78rem; }
.stars { color: var(--cyan); letter-spacing: 2px; font-size: .9rem; margin-top: 12px; }
@media (max-width: 1080px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

.ind-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 36px; }
.ind-bar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 2.4rem; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule-2); text-decoration: none; color: var(--ink); }
.ind-bar:hover .ib-t { color: var(--cyan-700); }
.ib-t { font-size: 1rem; line-height: 1.3; }
.ib-t .en { font-size: .78rem; }
.ib-track { height: 10px; background: var(--rule-2); border-radius: 999px; overflow: hidden; }
.ib-track i { display: block; height: 100%; background: var(--cyan); border-radius: 999px; }
.ind-bar b { font: 600 1.1rem/1 var(--font-serif); text-align: right; color: var(--cyan-700); }
@media (max-width: 860px) { .ind-bars { grid-template-columns: 1fr; } }

.clients { margin-top: clamp(26px, 3.5vw, 40px); display: grid; gap: clamp(24px, 3vw, 36px); }
.cl-group h4 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: var(--step-1); padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.cl-group h4 .en { display: inline; font-size: .82rem; margin: 0; }
.cl-group h4 small { margin-left: auto; font: 600 .78rem/1 var(--font-en); color: #fff; background: var(--cyan-700); border-radius: 999px; padding: 4px 9px; }
.cl-group ul { columns: 4 13rem; column-gap: 28px; }
.cl-group li { break-inside: avoid; padding: 4px 0 4px 14px; position: relative; font-size: .96rem; line-height: 1.35; }
.cl-group li::before { content: ""; position: absolute; left: 0; top: .82em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-300); }

/* ── Về CTP & liên hệ ── */
.pack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pack > div { background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; padding: 14px 12px 12px; text-align: center; }
.pack img { width: 100%; max-width: 110px; height: auto; margin: 0 auto 8px; display: block; }
.pack b { display: block; font-size: .96rem; }
.pack span:not(.en) { display: block; font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.pack .en { font-size: .76rem; }
@media (max-width: 980px) { .pack { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.clist li { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.clist li:last-child { border-bottom: 0; }
.clist li > span:first-child { font: 600 .74rem/1.3 var(--font-en); letter-spacing: .1em; text-transform: uppercase; color: var(--en); padding-top: .35em; }
.clist li > span:first-child .en { font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: .74rem; }
.clist a { word-break: break-word; }
@media (max-width: 560px) { .clist li { grid-template-columns: 1fr; gap: 4px; } }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; margin-top: clamp(26px, 3.5vw, 40px);
  background: var(--cyan-100); border-radius: 20px; padding: clamp(22px, 3.5vw, 40px); position: relative; overflow: hidden; }
.cta h4 { font-size: var(--step-2); }
.cta p { margin: 8px 0 0; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }
.split .cta { grid-template-columns: 1fr; align-content: start; }
.split .cta .btn { justify-self: start; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .95rem; }

/* ── Footer ── */
.site-footer { background: var(--surface); color: var(--ink-2); font-size: 1rem; border-top: 1px solid var(--rule); }
.site-footer .wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(44px, 6vw, 76px) var(--gutter) 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer h5 { margin: 0 0 12px; font: 600 .76rem/1.3 var(--font-en); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.site-footer h5 .en { display: inline; margin-left: 6px; font-weight: 400; letter-spacing: .06em; font-size: .72rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-700); }
.site-footer p { margin: 0 0 10px; }
.site-footer li { padding: 3px 0; }
.foot-bottom { margin-top: 36px; padding: 18px 60px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* nút nổi (điện thoại) + lên đầu (desktop) */
.fab { position: fixed; right: 14px; bottom: 14px; z-index: 50; display: none; flex-direction: column; gap: 8px; }
.fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan-700); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); text-decoration: none; }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: var(--card);
  color: var(--ink); display: grid; place-items: center; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; box-shadow: 0 4px 14px rgba(32, 30, 29, .12); }
.to-top.on { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 760px) { .fab { display: flex; } }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
dialog.lightbox::backdrop { background: rgba(20, 19, 18, .92); }
.lb-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox p { color: #e9e7e5; font-size: .96rem; margin: 14px 0 0; text-align: center; max-width: 60ch; }
.lightbox p span { display: block; font: .8rem/1.4 var(--font-en); color: #b9b5b1; margin-top: 2px; }
.lightbox button { position: absolute; appearance: none; border: 1px solid rgba(255, 255, 255, .3); background: rgba(20, 19, 18, .55); color: #fff; width: 46px; height: 46px; border-radius: 50%; font: 300 1.6rem/1 var(--font-en); cursor: pointer; }
.lb-close { top: 12px; right: 12px; } .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); } .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .js .rise.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .toc, .fab, .to-top, .scrim, .rail, .r-label { display: none !important; } .layout { display: block; } }

/* cỡ chữ desktop: không để chữ nhỏ so với khoảng trống */
@media (min-width: 1280px) { html { font-size: 106.25%; } :root { --toc-w: 280px; } }   /* 17px */
@media (min-width: 1600px) { html { font-size: 112.5%; } }                              /* 18px */

/* ══ Rail bên phải (tablet / điện thoại) — thay nút "Mục lục" trên header ══
   Số chương + chấm cho các mục của chương hiện tại; thu vào mép khi ngừng cuộn 4 giây; ≡ mở drawer mục lục từ phải. */
.rail, .r-label { display: none; }
@media (max-width: 1180px) {
  .to-top { display: none !important; }
  .rail { display: flex; flex-direction: column; align-items: center; position: fixed; z-index: 60; right: 6px; top: calc(50% - 10px);
    width: 36px; padding: 4px 0; border: 1px solid var(--rule); border-radius: 18px; background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 22px rgba(32, 30, 29, .16);
    transform: translate(calc(100% + 12px), -50%); opacity: 0; visibility: hidden; transition: transform .35s ease, opacity .35s ease, visibility .35s; }
  .rail.on { transform: translate(0, -50%); opacity: 1; visibility: visible; }
  .rail.on.idle { transform: translate(calc(100% - 11px), -50%); }
  .rail::before { content: ""; position: absolute; left: 3px; top: 50%; width: 3px; height: 34px; margin-top: -17px; border-radius: 2px; background: var(--cyan); opacity: 0; transition: opacity .3s; }
  .rail.idle::before { opacity: 1; }
  .rail::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: -22px; width: 22px; }
  .rail.idle > * { opacity: 0; }
  .rail > * { transition: opacity .3s; }
  .rail a, .rail button { -webkit-tap-highlight-color: transparent; }
  .r-top, .r-menu { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); text-decoration: none; appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; }
  .r-top svg, .r-menu svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .r-top { border-bottom: 1px solid var(--rule-2); }
  .r-menu { border-top: 1px solid var(--rule-2); }
  .r-list { position: relative; display: flex; flex-direction: column; align-items: center; padding: 4px 0; }
  .r-list::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 50%; width: 1px; background: var(--rule); }
  .r-ch { position: relative; display: grid; place-items: center; width: 36px; height: 31px; text-decoration: none; }
  .r-ch span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--rule); background: #fff;
    font: 600 .66rem/1 var(--font-en); letter-spacing: .02em; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s, transform .25s; }
  .r-ch.done span { color: var(--cyan-700); border-color: rgba(0, 136, 176, .55); }
  .r-ch.active span { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: scale(1.12); }
  .r-subs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; overflow: hidden; }
  .r-subs.open { grid-template-rows: 1fr; }
  .r-subs > div { min-height: 0; overflow: hidden; }
  .r-subs:not(.open) > div { visibility: hidden; transition: visibility 0s .3s; }
  .r-sub { position: relative; display: grid; place-items: center; width: 36px; height: 20px; }
  .r-sub i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #fff; border: 1px solid rgba(32, 30, 29, .38); transition: all .25s; }
  .r-sub.done i { background: rgba(0, 136, 176, .55); border-color: transparent; }
  .r-sub.active i { width: 10px; height: 10px; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-wash); }
  .r-label { display: flex; align-items: baseline; gap: 8px; position: fixed; z-index: 61; right: 52px; max-width: min(62vw, 300px);
    padding: 8px 12px 8px 11px; background: var(--ink); color: #fff; border-radius: 6px; box-shadow: 0 6px 20px rgba(32, 30, 29, .22);
    font: 400 .88rem/1.25 var(--font-serif); transform: translate(8px, -50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s, visibility .25s; }
  .r-label.on { opacity: 1; visibility: visible; transform: translate(0, -50%); }
  .r-label b { font: 600 .9rem/1 var(--font-en); color: var(--cyan-300); }
  .r-label .en { display: block; margin: 2px 0 0; padding: 0; border: 0; font: 400 .72rem/1.25 var(--font-en); color: #c9c5c1; }
  .r-label::after { content: ""; position: absolute; right: -5px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-right: 0; border-left-color: var(--ink); }
  .toc-open .rail { opacity: 0; visibility: hidden; }
  main { padding-right: 18px; }
}
@media (max-width: 1180px) and (max-height: 560px) { .r-subs { display: none; } }
@media (prefers-reduced-motion: reduce) { .rail, .r-label, .r-subs { transition: none; } }

/* ══ 2026-10-25 b: mã sản phẩm, thương hiệu CTP, hotline ══ */
.codes, .feat span.codes:not(.en):not(.ic) { display: block; margin-top: 6px; font: 600 .8rem/1.45 var(--font-en); letter-spacing: .03em; color: var(--cyan-700); }
.panel-t .codes { margin-top: 8px; }
.app .pick .codes { margin-top: 8px; }
td .codes { margin-top: 0; }
.sub-t { font-size: var(--step-2); margin: clamp(30px, 4vw, 48px) 0 16px; }
.sub-t .en { font-size: max(.5em, .95rem); }
table.grades th:first-child { width: 32%; }
table.grades td:nth-child(2) { width: 38%; }
@media (max-width: 640px) {
  table.grades thead { display: none; }
  table.grades, table.grades tbody, table.grades tr, table.grades th, table.grades td { display: block; width: 100% !important; }
  table.grades tr { padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
  table.grades tr:last-child { border-bottom: 0; }
  table.grades th, table.grades td { padding: 2px 0; border: 0; }
}
.brands { margin-top: clamp(18px, 2.6vw, 30px); }
.brands ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; margin-top: 14px; }
.brands li { padding: 12px 0 0; border-top: 2px solid var(--cyan-100); }
.brands b { display: block; font: 600 1.06rem/1.25 var(--font-serif); color: var(--cyan-700); }
.brands span:not(.en) { display: block; font-size: .94rem; line-height: 1.35; margin-top: 3px; }
.brands .en { font-size: .78rem; }
@media (max-width: 980px) { .brands ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cta .btn-row { margin-top: 4px; }
.fab a.call { background: var(--cyan); }
@media (max-width: 1360px) and (min-width: 1181px) { .head-addr { gap: 18px; } .ha span { font-size: .8rem; } .ha { grid-template-columns: 22px minmax(0, auto); gap: 8px; } .ha svg { width: 21px; height: 21px; } }
.chip { white-space: normal; max-width: 100%; line-height: 1.35; }
