/* ICD Pallet v4.4 - cam logo #F68B1D + xanh coban #1E4FB5 (cùng họ xanh logo #283378 nhưng tươi hơn) */
:root {
  --indigo: #1E4FB5;      /* xanh coban, cùng họ xanh logo nhưng sáng hơn */
  --indigo-dk: #163C8C;
  --indigo-soft: #EAF1FC;
  --orange: #F68B1D;      /* chữ ICD trong logo */
  --orange-dk: #E07A0C;
  --orange-ink: #A85500;  /* chữ cam trên nền trắng, đạt AA */
  --orange-soft: #FEF3E7;
  --on-orange: #12285E; /* chữ trên nền cam, đạt AA cả lúc hover */
  --orange-on-dark: #FFC47F; /* chữ cam nhỏ trên nền xanh, đạt AA */
  --navy: var(--indigo);  /* tên cũ, giữ để tương thích */
  --ink: #1E2433;
  --muted: #586074;
  --line: #E1E4EC;
  --line-soft: #ECEEF3;
  --paper: #FFFFFF;
  --sand: #F5F6FA;
  --focus: #1D5FD1;
  --font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Montserrat', Arial, sans-serif;
  --mono: var(--font);
  --r: 8px;
  --shadow-1: 0 1px 2px rgba(30, 36, 51, .06);
  --shadow-2: 0 4px 14px rgba(30, 36, 51, .08);
  --shadow-3: 0 14px 34px rgba(30, 36, 51, .13);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--orange-ink); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--indigo); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
.font-classic h1, .font-classic h2 { font-weight: 700; letter-spacing: -.01em; }
.font-grotesk h1, .font-grotesk h2, .font-grotesk h3 { font-stretch: 112%; font-weight: 700; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 40px; }
.kicker { display: block; font: 700 15px/1.3 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--orange-ink); margin-bottom: 10px; }
.sec-title { font-size: clamp(26px, 2.8vw, 36px); }
.section-lede { color: var(--muted); font-size: 18px; max-width: 920px; margin-bottom: 28px; }
p, li, figcaption, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.h-sm { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }

/* Nút: cam nền + chữ indigo (đạt tương phản AA), indigo nền + chữ trắng */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 46px; padding: 10px 22px; border: 1px solid var(--orange); border-radius: var(--r);
  background: var(--orange); color: var(--on-orange); font: 700 16px/1.2 var(--font); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: var(--on-orange); text-decoration: none; box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--dark { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn--dark:hover { background: var(--indigo-dk); border-color: var(--indigo-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.link-btn { background: none; border: 0; padding: 0; font: 600 15px var(--font); color: var(--indigo); cursor: pointer; text-decoration: underline; }

/* Thanh trên cùng */
.util { background: var(--indigo-dk); color: rgba(255,255,255,.82); font-size: 15px; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.util a { color: #fff; font-weight: 600; white-space: nowrap; }
.util span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.top__logo { display: flex; align-items: center; gap: 12px; color: var(--indigo); font: 700 15px var(--display); white-space: nowrap; }
.top__logo:hover { text-decoration: none; color: var(--indigo); }
.top__logo img { height: 44px; width: auto; }
.top__logo span { padding-left: 12px; border-left: 1px solid var(--line); }
.top__nav { display: flex; gap: 26px; margin-left: auto; flex-wrap: nowrap; }
.top__nav a { color: var(--ink); font-size: 16px; font-weight: 600; white-space: nowrap; }
.top__nav a:hover { color: var(--orange-ink); text-decoration: none; }
.top__act { display: flex; align-items: center; gap: 16px; }
.top__tel { font-weight: 700; color: var(--indigo); white-space: nowrap; font-variant-numeric: tabular-nums; }
.top__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; padding: 0 11px; }
.top__burger span { display: block; height: 2px; background: var(--indigo); margin: 5px 0; }
.mnav { border-top: 1px solid var(--line); padding: 8px 24px 16px; background: #fff; }
.mnav a { display: block; padding: 13px 0; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mnav__tel { color: var(--orange-ink) !important; border-bottom: 0 !important; }

/* Hero */
.hero { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border: 64px solid rgba(246,139,29,.16); border-radius: 50%; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding: 56px 24px 52px; position: relative; z-index: 1; }
.hero__title { color: #fff; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 16px; }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lede { font-size: 18px; color: rgba(255,255,255,.86); max-width: 680px; margin-bottom: 26px; }
.search { display: flex; background: #fff; border: 2px solid #fff; border-radius: var(--r); box-shadow: var(--shadow-3); }
.search input { flex: 1; min-width: 0; border: 0; padding: 14px 18px; font: 600 18px var(--font); color: var(--ink); background: transparent; outline: none; }
.search input::placeholder { color: #8A90A0; font-weight: 400; }
.search:focus-within { border-color: var(--orange); }
.search .btn { border-radius: 0 6px 6px 0; min-height: 56px; padding: 0 28px; }
.hero__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.76); }
.hero__quick > span { margin-right: 4px; }
.chip { font: 600 15px var(--font); font-variant-numeric: tabular-nums; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.32); border-radius: var(--r); padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--orange); background: rgba(246,139,29,.18); }
.hero__photo { margin: 0; position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.hero__photo figcaption { position: absolute; left: -22px; bottom: 22px; background: var(--orange); color: var(--on-orange); padding: 12px 16px; border-radius: var(--r); font-size: 15px; line-height: 1.35; max-width: 250px; box-shadow: var(--shadow-3); transform: rotate(-1.5deg); }
.hero__photo figcaption strong { display: block; font: 800 22px/1.1 var(--display); }

/* Dải số liệu niềm tin */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__list { list-style: none; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats__list li { padding: 24px 24px 22px; border-left: 1px solid var(--line); }
.stats__list li:first-child { border-left: 0; padding-left: 0; }
.stats__list strong { display: block; font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--display); color: var(--indigo); font-variant-numeric: tabular-nums; }
.stats__list strong small { font-size: .55em; font-weight: 700; color: var(--orange-ink); margin-left: 4px; }
.stats__list span { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* Bộ lọc + kết quả */
.finder { padding: 36px 0 64px; background: var(--sand); }
.finder__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.finder__head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); }
.finder__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.facets { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px 12px; scrollbar-width: thin; }
.facets__head, .facets__foot { display: none; }
.fg { border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
.fg:last-child { border-bottom: 0; }
.fg summary { font: 700 16px var(--display); color: var(--indigo); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fg summary::-webkit-details-marker { display: none; }
.fg summary::after { content: ''; width: 9px; height: 9px; border-right: 1.8px solid var(--indigo); border-bottom: 1.8px solid var(--indigo); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s; flex: none; }
.fg[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.fg__opts { display: grid; gap: 2px; margin-top: 8px; }
.fg__opts--sw { grid-template-columns: 1fr 1fr; }
.opt { display: flex; align-items: center; gap: 9px; padding: 6px 4px; font-size: 15.5px; cursor: pointer; border-radius: var(--r); min-height: 36px; }
.opt:hover { background: var(--sand); }
.opt input { width: 17px; height: 17px; margin: 0; accent-color: var(--indigo); flex: none; }
.opt span { flex: 1; min-width: 0; }
.opt em { font-style: normal; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.opt.is-zero { opacity: .42; cursor: default; }
.sw { width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(0,0,0,.25); flex: none; }
.fg__more, .fg__clear { margin: 6px 4px 0; justify-self: start; font-size: 15px; }
.filters-btn { display: none; }
.active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--font); color: var(--indigo); background: var(--indigo-soft); border: 1px solid #CDD2E6; border-radius: var(--r); padding: 5px 8px 5px 10px; cursor: pointer; }
.tag::after { content: '×'; font-size: 17px; line-height: 1; color: var(--muted); }
.tag:hover { border-color: var(--indigo); }
.grid.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Kết quả */
.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.results__count { margin: 0; font-size: 17px; }
.results__count strong { font-weight: 700; color: var(--indigo); font-variant-numeric: tabular-nums; }
.results__tools { display: flex; align-items: center; gap: 16px; }
.sort { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { font: 600 15px var(--font); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; background: #fff; color: var(--ink); min-height: 42px; max-width: 100%; }
.results__note { background: var(--orange-soft); border-left: 3px solid var(--orange); padding: 10px 14px; font-size: 16px; }
.results__more { text-align: center; margin-top: 28px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); overflow: hidden; transition: box-shadow .15s, border-color .15s, transform .15s; }
.pcard:hover { text-decoration: none; color: var(--ink); border-color: #C7CCDA; box-shadow: var(--shadow-3); transform: translateY(-2px); }
.pcard__img { aspect-ratio: 3 / 2; background: var(--sand); display: block; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__noimg { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); background: #F8F8F8; }
.pcard__body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; flex: 1; }
.pcard__title { font-weight: 700; font-size: 16px; line-height: 1.38; color: var(--indigo); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__specs { display: grid; gap: 4px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 15px; font-variant-numeric: tabular-nums; }
.pcard__specs span { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.pcard__specs em { font-style: normal; font-weight: 400; color: var(--muted); }

.empty { border: 1px dashed #C7CCDA; background: #fff; border-radius: var(--r); padding: 32px; text-align: center; max-width: 720px; margin: 0 auto; }
.empty__title { font-weight: 700; font-size: 19px; color: var(--indigo); }

/* Năng lực */
.cap { padding: 72px 0 64px; }
.cap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cap__item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.cap__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cap__body { padding: 20px 22px 22px; }
.cap__body h3 { font-size: 20px; margin-bottom: 8px; }
.cap__body p { font-size: 16px; color: var(--muted); margin: 0; }
.cap__body strong { color: var(--ink); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 3px solid var(--indigo); }
.timeline li { position: relative; padding: 20px 14px 0 0; }
.timeline li::before { content: ''; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--indigo); }
.timeline li.is-plan::before { border-color: var(--orange); border-style: dashed; }
.timeline b { display: block; font: 800 20px var(--display); color: var(--indigo); font-variant-numeric: tabular-nums; }
.timeline li.is-plan b { color: var(--orange-ink); }
.timeline span { display: block; font-size: 15px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* Quy trình mua */
.steps { background: var(--indigo); color: rgba(255,255,255,.86); padding: 64px 0; }
.steps h2 { color: #fff; }
.steps .section-lede { color: rgba(255,255,255,.75); }
.steps .kicker { color: var(--orange-on-dark); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: st; }
.steps__list li { counter-increment: st; border-top: 2px solid rgba(255,255,255,.22); padding-top: 18px; }
.steps__list li::before { content: counter(st, decimal-leading-zero); display: block; font: 800 34px/1 var(--display); color: var(--orange); margin-bottom: 12px; }
.steps__list h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.steps__list p { font-size: 16px; margin: 0; }

/* So sánh theo kích thước */
.sizes { padding: 64px 0; background: var(--sand); }
.sizes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sizes__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 13px 14px; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--r); color: var(--indigo); background: #fff; }
.sizes__list a:hover { text-decoration: none; box-shadow: var(--shadow-2); color: var(--indigo); }
.sizes__list span { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sizes__list em { font-style: normal; font-size: 15px; color: var(--muted); white-space: nowrap; }

/* Triển lãm */
.expo { padding: 64px 0; }
.expo__grid { display: grid; grid-template-columns: 7fr 3fr 4fr; grid-template-rows: auto auto; gap: 14px; }
.expo__grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.expo__grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expo__grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 15px; color: #fff; background: linear-gradient(transparent, rgba(20,24,52,.78)); }
.expo__a { grid-row: span 2; }
.expo__grid figure:nth-child(2) { grid-row: span 2; }
.expo__grid figure:nth-child(3), .expo__grid figure:nth-child(4) { aspect-ratio: 4 / 3; }

/* Đội ngũ + liên hệ */
.team { padding: 64px 0 72px; background: var(--sand); border-top: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.team__people { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.team__people li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.team__people img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--orange-soft); }
.team__people b { display: block; font: 700 17px var(--display); color: var(--indigo); }
.team__people span { font-size: 15px; color: var(--muted); }
.team__box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--r); padding: 28px 30px; }
.team__box h3 { font-size: 22px; }
.team__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 20px 0 24px; }
.team__contact dt { font-size: 15px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.team__contact dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.team__contact dd a { color: var(--indigo); }
.team__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Bài viết mới */
.news { padding: 64px 0; }
.news__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.news__head h2 { margin: 0; }

/* Catalog */
.cat-band { padding: 0 0 8px; }

/* Trang kích thước */
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.picks > div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: #fff; }
.picks span { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.picks a, .picks strong { font-weight: 700; color: var(--indigo); line-height: 1.35; }
.picks em { font-style: normal; font-weight: 700; font-size: 15px; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.compare th { background: var(--indigo); color: #fff; text-align: left; font-weight: 700; padding: 10px 12px; white-space: nowrap; }
.compare td { padding: 9px 12px; border-top: 1px solid var(--line-soft); white-space: nowrap; }
.compare td:first-child { white-space: normal; min-width: 300px; }
.compare tbody tr:nth-child(even) td { background: #F8F9FC; }
.fine { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 1000px; }
.src-note { border-left: 3px solid var(--orange); background: var(--sand); padding: 12px 16px; margin: 0 0 48px; max-width: 980px; }

/* Trang con chung */
.phead { background: var(--indigo); color: rgba(255,255,255,.85); padding: 30px 0 34px; }
.phead h1 { color: #fff; font-size: clamp(26px, 3vw, 40px); margin: 10px 0 8px; }
.phead p { color: rgba(255,255,255,.82); font-size: 18px; margin: 0; max-width: 960px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.phead .crumbs, .phead .crumbs a { color: rgba(255,255,255,.72); }
.phead .crumbs [aria-current] { color: #fff; }
.phead a { color: #fff; text-decoration: underline; }
.section { padding: 40px 0 64px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tabs a { padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; color: var(--ink); white-space: nowrap; }
.tabs a.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.tabs a:hover { text-decoration: none; border-color: var(--indigo); }

/* Phân trang */
.woocommerce-pagination ul, .nav-links { display: flex; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 32px 0 0; flex-wrap: wrap; }
.woocommerce-pagination a, .woocommerce-pagination span, .nav-links a, .nav-links span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); padding: 0 10px; font-variant-numeric: tabular-nums; }
.woocommerce-pagination .current, .nav-links .current { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* Trang sản phẩm */
.prod { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; padding: 32px 0 48px; }
.prod__img { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--sand); }
.prod__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prod__info h1 { font-size: clamp(24px, 2.4vw, 32px); }
.specs { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 16px; font-variant-numeric: tabular-nums; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 44%; padding-right: 12px; }
.specs td { font-weight: 700; color: var(--indigo); }
.prod__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.prod__note { font-size: 15px; color: var(--muted); margin-top: 16px; }
.prose { max-width: 860px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose img { border-radius: var(--r); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--indigo); color: #fff; }
.prose tr:nth-child(even) td { background: #F8F9FC; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--orange); background: var(--orange-soft); }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }
.related { border-top: 1px solid var(--line); padding: 40px 0 64px; }
.related h2 { font-size: 24px; }

/* Bài viết */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.post-card:hover { text-decoration: none; color: var(--ink); }
.post-card:hover h2, .post-card:hover h3 { color: var(--orange-ink); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); width: 100%; background: var(--sand); }
.post-card h2, .post-card h3 { font-size: 19px; margin: 0; }
.post-card p { font-size: 16px; color: var(--muted); margin: 0; }
.post-card time { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.article { padding: 40px 0 64px; }
.article__img { max-width: 860px; margin: 0 0 28px; }
.article__img img { border-radius: var(--r); }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--indigo); }
.form input, .form textarea, .form select { width: 100%; font: 17px var(--font); color: var(--ink); padding: 11px 12px; border: 1px solid #C7CCDA; border-radius: var(--r); background: #fff; min-height: 46px; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--indigo); outline: 2px solid rgba(30, 79, 181,.18); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #C0392B; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 14px; border-radius: var(--r); font-size: 16px; }
.form-msg.is-ok { background: #EAF6EE; color: #1E6B3A; }
.form-msg.is-err { background: #FDECEA; color: #A12A1E; }
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; padding: 40px 0 64px; }
.contact__aside { background: var(--sand); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--r); padding: 24px 28px; }
.contact__aside h2 { font-size: 20px; }
.contact__aside dl { margin: 0 0 20px; }
.contact__aside dt { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-top: 14px; }
.contact__aside dd { margin: 2px 0 0; }

/* Về chúng tôi */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; padding: 40px 0; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 48px; margin: 24px 0; padding: 0; list-style: none; }
.facts strong { display: block; font: 800 34px/1.1 var(--display); color: var(--indigo); font-variant-numeric: tabular-nums; }
.facts span { font-size: 15px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 64px; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); width: 100%; }
.gallery figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: auto; height: calc(100% - 28px); }

/* Footer */
.foot { background: var(--indigo-dk); color: rgba(255,255,255,.8); font-size: 15px; padding: 52px 0 0; }
.foot a { color: #fff; }
.foot a:hover { color: var(--orange); }
.foot__grid { display: grid; grid-template-columns: 4fr 3fr 3fr 4fr; gap: 40px; padding-bottom: 36px; }
.foot__logo { height: 44px; width: auto; margin-bottom: 14px; }
.foot__name { color: #fff; font-weight: 700; }
.foot p { margin: 0 0 8px; }
.foot__h { color: var(--orange-on-dark); font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px !important; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__contact span { display: block; font-size: 15px; color: rgba(255,255,255,.62); }
.foot__contact a { font-weight: 600; font-variant-numeric: tabular-nums; }
.foot__about { color: rgba(255,255,255,.64); font-size: 15px; max-width: 520px; margin-top: 14px !important; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 24px 22px; font-size: 15px; }
.foot__bottom a { color: rgba(255,255,255,.8); }
.mbar { display: none; }

/* Responsive */
@media (max-width: 1240px) {
  .top__nav { gap: 18px; }
  .top__nav a { font-size: 15px; }
  .top__tel { display: none; }
}
@media (max-width: 1180px) {
  .top__nav { gap: 14px; }
  .top__nav a { font-size: 15px; }
}
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; border-top: 0; }
  .timeline li { border-top: 3px solid var(--indigo); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero__photo { display: none; }
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .finder__grid { grid-template-columns: 1fr; }
  .filters-btn { display: inline-flex; }
  .facets { display: none; position: fixed; inset: 0; z-index: 80; border: 0; border-radius: 0; max-height: none; padding: 0 20px 88px; top: 0; }
  .is-filtering .facets { display: block; }
  .is-filtering { overflow: hidden; }
  .facets__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0; border-bottom: 1px solid var(--line); z-index: 1; }
  .facets__foot { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px; background: #fff; border-top: 1px solid var(--line); }
  .facets__foot .btn { width: 100%; }
  .cap__grid { grid-template-columns: 1fr 1fr; }
  .cap__item:last-child { grid-column: 1 / -1; flex-direction: row; }
  .cap__item:last-child img { width: 50%; aspect-ratio: auto; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .picks { grid-template-columns: 1fr 1fr; }
  .expo__grid { grid-template-columns: 1fr 1fr; }
  .expo__a { grid-column: 1 / -1; grid-row: auto; }
  .expo__grid figure:nth-child(2) { grid-row: span 2; }
  .top__nav, .top__act { display: none; }
  .top__burger { display: block; }
  .team__grid, .prod, .contact, .about { grid-template-columns: 1fr; gap: 32px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { padding-bottom: 56px; font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .util { display: none; }
  .top__in { height: 62px; gap: 12px; }
  .top__logo img { height: 36px; }
  .top__logo span { font-size: 15px; }
  .hero::after { width: 300px; height: 300px; border-width: 40px; right: -110px; top: -110px; }
  .hero__grid { padding: 30px 16px 28px; gap: 0; }
  .hero__title { font-size: clamp(27px, 7.4vw, 34px); }
  .hero__lede { font-size: 16.5px; margin-bottom: 20px; }
  .search input { font-size: 16px; padding: 12px 14px; }
  .search .btn { padding: 0 16px; min-height: 52px; }
  .hero__quick { gap: 6px; }
  .hero__quick > span { width: 100%; }
  .chip { font-size: 15px; padding: 6px 10px; }
  .stats__list { padding: 0 16px; }
  .stats__list li { padding: 16px 12px 16px 14px; }
  .stats__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__list span { font-size: 15px; }
  .finder { padding: 24px 0 48px; }
  .finder__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .grid, .grid.grid--3 { grid-template-columns: 1fr; gap: 10px; }
  .pcard { flex-direction: row; }
  .pcard__img { flex: none; width: 38%; aspect-ratio: auto; min-height: 118px; }
  .pcard__body { padding: 10px 12px 12px; gap: 6px; }
  .pcard__title { font-size: 15.5px; }
  .pcard__specs { font-size: 15px; gap: 2px; padding-top: 6px; }
  .pcard:hover { transform: none; }
  .results__bar { align-items: stretch; flex-direction: column; gap: 10px; }
  .results__tools { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
  .sort select { width: 100%; }
  .sort span { display: none; }
  .cap, .sizes, .expo, .team, .news, .steps { padding: 44px 0; }
  .cap__grid { grid-template-columns: 1fr; }
  .cap__item:last-child { flex-direction: column; }
  .cap__item:last-child img { width: 100%; aspect-ratio: 16 / 10; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--indigo); margin-left: 7px; row-gap: 0; }
  .timeline li { border-top: 0; padding: 0 0 18px 22px; }
  .timeline li::before { top: 4px; left: -9px; }
  .steps__list { grid-template-columns: 1fr; row-gap: 24px; }
  .picks { grid-template-columns: 1fr; }
  .sizes__list { grid-template-columns: 1fr 1fr; }
  .sizes__list a { flex-direction: column; gap: 0; padding: 10px 12px; }
  .expo__grid { grid-template-columns: 1fr; }
  .expo__grid figure:nth-child(2) { grid-row: auto; aspect-ratio: 4 / 3; }
  .team__box { padding: 22px 18px; }
  .team__contact { grid-template-columns: 1fr; }
  .news__head { flex-direction: column; align-items: flex-start; }
  .posts, .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 4 / 3; height: auto; }
  .form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 14px rgba(30,36,51,.1); }
  .mbar a { display: flex; align-items: center; justify-content: center; height: 54px; font-weight: 700; background: var(--indigo); color: #fff; }
  .mbar a:first-child { background: var(--orange); color: var(--on-orange); }
  .mbar a:hover { text-decoration: none; }
}
@media (max-width: 380px) {
  .top__logo span { display: none; }
  .sizes__list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Bài viết kỹ thuật */
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; }
.readbar span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.phead--article h1 { max-width: none; font-size: clamp(28px, 3vw, 40px); text-wrap: pretty; }
.kicker--light { color: var(--orange-on-dark); margin: 14px 0 0; }
.ameta { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: rgba(255,255,255,.8); }
.ameta li { white-space: nowrap; }
.ameta li + li::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); margin: 0 12px 3px -13px; }
.article--grid { display: grid; grid-template-columns: 250px minmax(0, 780px); justify-content: center; gap: 56px; align-items: start; }
.article__nav { position: sticky; top: 92px; display: grid; gap: 16px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
.toc { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.toc summary { font: 700 15px var(--display); color: var(--indigo); padding: 14px 16px; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line-soft); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 8px 0; }
.toc a { display: flex; gap: 10px; padding: 7px 16px; font-size: 15px; line-height: 1.4; color: var(--ink); border-left: 3px solid transparent; }
.toc a:hover { text-decoration: none; color: var(--indigo); background: var(--sand); }
.toc a.is-on { border-left-color: var(--orange); color: var(--indigo); background: var(--orange-soft); font-weight: 600; }
.toc b { font: 700 15px/1.5 var(--display); color: var(--orange-ink); flex: none; width: 20px; }
.toc__plain a { padding-left: 46px; color: var(--muted); }
.side-box { border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--r); padding: 18px; background: #fff; }
.side-box p { font-size: 15.5px; color: var(--muted); }
.side-box__h { font: 700 16px var(--display) !important; color: var(--indigo) !important; margin-bottom: 6px !important; }
.side-box--dark { background: var(--indigo); border-color: var(--indigo); border-top-color: var(--orange); }
.side-box--dark .side-box__h { color: #fff !important; }
.side-box__tel { margin-bottom: 12px !important; }
.side-box__tel a { color: #fff; font: 800 22px var(--display); }
.side-box .btn { width: 100%; }
.article__img { margin: 0 0 28px; }
.article__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; border-radius: var(--r); }
.article__end { display: grid; gap: 16px; margin-top: 44px; }
.prose { max-width: none; }
.prose .lede { font-size: 20px; line-height: 1.6; color: var(--ink); border-left: 4px solid var(--orange); padding-left: 18px; margin-bottom: 24px; }
.prose .keypoints { border: 1px solid var(--line); border-radius: var(--r); background: var(--indigo-soft); padding: 18px 22px 8px; margin: 0 0 32px; }
.prose .keypoints__h { font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--indigo); margin-bottom: 8px; }
.prose .keypoints ul { padding-left: 0; list-style: none; margin: 0; }
.prose .keypoints li { position: relative; padding: 0 0 10px 26px; font-size: 17px; }
.prose .keypoints li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; background: var(--orange); border-radius: 2px; }
.prose--numbered { counter-reset: sec; }
.prose--numbered h2:not(.nonum) { counter-increment: sec; display: flex; gap: 14px; align-items: baseline; }
.prose--numbered h2:not(.nonum)::before { content: counter(sec, decimal-leading-zero); font: 800 .8em/1 var(--display); color: var(--orange); flex: none; }
.prose h2 { padding-top: 10px; margin-top: 1.8em; scroll-margin-top: 96px; border-top: 1px solid var(--line-soft); padding-top: 26px; }
.prose h3 { scroll-margin-top: 96px; }
.prose .table-wrap { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.prose .table-wrap table { display: table; margin: 0; min-width: 560px; border: 0; font-size: 15.5px; }
.prose .table-wrap th, .prose .table-wrap td { border: 0; border-bottom: 1px solid var(--line-soft); }
.prose td, .prose th { text-wrap: pretty; }
.prose figure.diagram, .prose .diagram { margin: 1.6em 0; padding: 18px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); }
.prose .diagram svg { width: 100%; height: auto; display: block; }
.prose figcaption, .prose .table-cap { font-size: 15px; color: var(--muted); margin-top: 8px; }
.prose .note { margin: 1.4em 0; padding: 16px 20px; background: var(--orange-soft); border-left: 4px solid var(--orange); border-radius: 0 var(--r) var(--r) 0; }
.prose .note p:last-child { margin-bottom: 0; }
.prose .kpis { list-style: none; padding: 0; margin: 1.4em 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.prose .kpis li { border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r); padding: 14px 16px; background: #fff; display: flex; flex-direction: column; }
.prose .kpis b { display: block; font: 800 24px/1.15 var(--display); color: var(--indigo); }
.prose .kpis span { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.prose .checklist { counter-reset: ck; list-style: none; padding: 0; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--r); }
.prose .checklist li { counter-increment: ck; position: relative; padding: 14px 18px 14px 58px; border-bottom: 1px solid var(--line-soft); }
.prose .checklist li:last-child { border-bottom: 0; }
.prose .checklist li::before { content: counter(ck); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 15px/28px var(--display); text-align: center; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose h2.nonum + h3 { margin-top: .6em; }
@media (max-width: 1024px) {
  .article--grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article__nav { position: static; max-height: none; overflow: visible; }
  .article__nav .side-box--dark { display: none; }
}
@media (max-width: 720px) {
  .prose { font-size: 17px; }
  .prose .lede { font-size: 18px; }
  .prose .diagram { padding: 10px; }
  .prose--numbered h2:not(.nonum) { gap: 10px; }
  .ameta { font-size: 15px; }
}


/* ---------- Tra cứu (v4.3) ---------- */
.res-hero { padding-bottom: 40px; }
.res-hub-search { position: relative; max-width: 760px; margin-top: 22px; }
.res-hub-search input, .res-search input { width: 100%; min-height: 52px; padding: 12px 16px; font: 500 17px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.res-hub-search input { border: 2px solid var(--orange); }
.res-hub-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3); max-height: 70vh; overflow-y: auto; }
.res-hub-results a { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; padding: 10px 16px; color: var(--ink); }
.res-hub-results a:hover { background: var(--sand); text-decoration: none; }
.res-hub-results b { font-weight: 700; color: var(--indigo); }
.res-hub-results em { grid-column: 2; font-style: normal; font-size: 15px; color: var(--muted); }
.res-k { grid-row: span 2; font: 700 15px/1.9 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--orange-ink); }
.res-none { padding: 12px 16px; color: var(--muted); }
.res-hub { padding: 48px 24px 64px; }
.res-cards { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.res-card a { display: flex; flex-direction: column; height: 100%; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--indigo); border-radius: var(--r); color: var(--ink); box-shadow: var(--shadow-1); transition: box-shadow .15s, border-color .15s; }
.res-card a:hover { text-decoration: none; box-shadow: var(--shadow-2); border-top-color: var(--orange); }
.res-card__n { font: 800 40px/1 var(--display); color: var(--indigo); letter-spacing: -.03em; }
.res-card__u { font-size: 15px; color: var(--muted); margin: 4px 0 14px; }
.res-card h2 { font-size: 20px; margin-bottom: 8px; }
.res-card p { font-size: 15.5px; color: var(--muted); flex: 1; }
.res-card__go { font-weight: 700; color: var(--orange-ink); }
.res-card__go::after { content: " \203A"; }
.res-hub__tools { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.res-toollist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.res-toollist a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--r); color: var(--ink); background: #fff; }
.res-toollist a:hover { text-decoration: none; background: var(--orange-soft); }
.res-toollist b { display: block; color: var(--indigo); font-family: var(--display); font-size: 16px; margin-bottom: 4px; }
.res-toollist span { font-size: 15px; color: var(--muted); }
.res-hub__note { background: var(--sand); border-left: 4px solid var(--indigo); padding: 22px 24px; margin: 24px 0 32px; border-radius: var(--r); }
.res-hub__note h2 { font-size: 18px; margin-bottom: 6px; }
.res-hub__note p { margin: 0; color: var(--muted); max-width: 1000px; }
.res-page { padding: 32px 24px 64px; }
.res-intro { max-width: 940px; font-size: 18px; color: var(--ink); margin-bottom: 24px; }
.res-bar { position: sticky; top: 72px; z-index: 5; background: rgba(255,255,255,.97); padding: 14px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.res-search { display: block; max-width: 560px; margin-bottom: 10px; }
.res-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.res-chip { font: 600 15px var(--font); color: var(--indigo); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.res-chip span { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 2px; }
.res-chip:hover { border-color: var(--indigo); }
.res-chip.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.res-chip.is-on span { color: rgba(255,255,255,.75); }
.res-count { margin: 8px 0 0; font-size: 15px; color: var(--muted); min-height: 1em; }
.res-group { padding-top: 28px; scroll-margin-top: 180px; }
.res-group__h { font-size: clamp(20px, 2vw, 24px); display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--indigo); }
.res-group__h span { font: 700 15px var(--font); color: var(--orange-ink); }
.res-group__h span[data-n]::after { content: attr(data-n); }
.res-list { display: grid; gap: 0; }
.res-std { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 200px; }
.res-std__main p:last-child { margin-bottom: 0; }
.res-std__side { margin: 0; font-size: 15px; background: var(--sand); border-radius: var(--r); padding: 14px 16px; align-self: start; }
.res-std__side dt { font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 10px; }
.res-std__side dt:first-child { margin-top: 0; }
.res-std__side dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.res-st { display: inline-block; font-weight: 600; border-radius: var(--r); padding: 1px 8px; }
.res-st.is-ok { color: #1E6B3A; background: #EAF5EE; }
.res-st.is-warn { color: var(--orange-ink); background: var(--orange-soft); }
.res-dim { color: var(--muted); }
.res-std h3 { font-size: 19px; margin-bottom: 4px; }
.res-std__code { color: var(--orange-ink); }
.res-std__orig { font-size: 15px; color: var(--muted); font-style: italic; margin-bottom: 8px; }
.res-std__apply { background: var(--indigo-soft); padding: 10px 14px; border-radius: var(--r); font-size: 16px; }
.res-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; }
.res-tags li { font-size: 15px; font-weight: 600; color: var(--muted); background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 8px; }
.res-tags .is-ok { color: #1E6B3A; background: #EAF5EE; border-color: #CFE7D7; }
.res-tags .is-warn { color: var(--orange-ink); background: var(--orange-soft); border-color: #F6D9B8; }
.res-meta { font-size: 15px; color: var(--muted); margin: 6px 0 0; overflow-wrap: anywhere; }
.res-src { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.res-orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 18px; }
.res-org { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; scroll-margin-top: 200px; display: flex; flex-direction: column; }
.res-org h3 { font-size: 18px; margin-bottom: 4px; }
.res-org__meta { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.res-org__kpi { font: 700 15.5px/1.4 var(--display); color: var(--indigo); border-left: 3px solid var(--orange); padding-left: 10px; }
.res-org p { font-size: 15.5px; }
.res-org__note { color: var(--muted); flex: 1; }
.res-terms { margin: 0; }
.res-term { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 200px; }
.res-term { grid-template-rows: auto 1fr; row-gap: 2px; }
.res-term__vi { grid-column: 1; font: 700 17px var(--display); color: var(--indigo); }
.res-term__en { grid-column: 1; font-style: italic; color: var(--muted); }
.res-term dd { grid-column: 2; grid-row: 1 / span 2; }
.res-src { white-space: nowrap; }
.res-term abbr { display: inline; white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); border-radius: var(--r); padding: 0 6px; margin-left: 4px; }
.res-term dd { margin: 0; }
.res-term dd p { margin-bottom: 6px; }
.res-term__ex { font-size: 15.5px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
.is-target { background: var(--orange-soft); box-shadow: 0 0 0 8px var(--orange-soft); border-radius: 2px; }
.res-empty { padding: 24px 0; color: var(--muted); }
.res-faq { max-width: 940px; padding-top: 40px; }
.res-faq details { border-bottom: 1px solid var(--line); }
.res-faq summary { cursor: pointer; padding: 14px 32px 14px 0; font: 700 17px var(--display); color: var(--indigo); position: relative; list-style: none; }
.res-faq summary::-webkit-details-marker { display: none; }
.res-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 24px; color: var(--orange-ink); }
.res-faq details[open] summary::after { content: "\2212"; }
.res-faq details div { padding-bottom: 8px; color: var(--ink); }
.res-more { padding: 40px 0 8px; }
.res-more h2 { font-size: 20px; }
.res-more ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.res-more a { display: inline-block; padding: 8px 14px; border: 1px solid var(--indigo); border-radius: var(--r); font-weight: 600; white-space: nowrap; }
.res-more a:hover { background: var(--indigo); color: #fff; text-decoration: none; }
.res-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 32px; padding: 24px 26px; background: var(--indigo); color: rgba(255,255,255,.85); border-radius: var(--r); border-left: 6px solid var(--orange); }
.res-cta b { display: block; font: 700 20px var(--display); color: #fff; margin-bottom: 4px; }
.res-cta p { margin: 0; }
.res-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.res-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.res-cta .btn--ghost:hover { background: #fff; color: var(--indigo); }
.res-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.res-guides a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); background: #fff; }
.res-guides a:hover { text-decoration: none; border-color: var(--orange); box-shadow: var(--shadow-2); }
.res-guides b { font: 800 26px/1 var(--display); color: var(--orange-ink); }
.res-guides strong { display: block; font: 700 17.5px/1.35 var(--display); color: var(--indigo); margin-bottom: 6px; }
.res-guides em { font-style: normal; font-size: 15.5px; color: var(--muted); }
.res-guide { display: grid; grid-template-columns: minmax(0, 780px) 300px; justify-content: center; gap: 56px; padding: 40px 24px 64px; align-items: start; }
.res-guide__side { position: sticky; top: 96px; }
.res-mini { list-style: none; margin: 0; padding: 0; }
.res-mini li { border-top: 1px solid var(--line-soft); }
.res-mini a { display: block; padding: 9px 0; font-size: 15px; line-height: 1.4; }
.res-sources { font-size: 15.5px; }
@media (max-width: 1100px) {
  .res-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-hub__tools { grid-template-columns: 1fr; gap: 16px; }
  .res-std { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
}
@media (max-width: 1024px) {
  .res-guide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .res-guide__side { position: static; }
  .res-bar { top: 60px; }
}
@media (max-width: 720px) {
  .res-cards, .res-orgs, .res-guides, .res-toollist { grid-template-columns: minmax(0, 1fr); }
  .res-term { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .res-term dd { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .res-std { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .res-cta { grid-template-columns: minmax(0, 1fr); }
  .res-cta__btns .btn { flex: 1 1 100%; }
  .res-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .res-bar { position: static; }
  .res-hub-results a { grid-template-columns: minmax(0, 1fr); }
  .res-k { grid-row: auto; }
  .res-hub-results em { grid-column: 1; }
}

/* Trang chủ: khối tra cứu + công cụ */
.lookup { padding: 64px 0; background: var(--sand); border-top: 1px solid var(--line); }
.lookup__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.lookup__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lookup__links a { display: block; height: 100%; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--indigo); border-radius: var(--r); color: var(--ink); }
.lookup__links a:hover { text-decoration: none; border-left-color: var(--orange); box-shadow: var(--shadow-2); }
.lookup__links b { display: block; font: 700 16.5px var(--display); color: var(--indigo); margin-bottom: 4px; }
.lookup__links span { font-size: 15px; color: var(--muted); }
.lookup__links .is-tool a { border-left-color: var(--orange); }
.lookup__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 1024px) { .lookup__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 720px) { .lookup__links { grid-template-columns: minmax(0, 1fr); } .lookup { padding: 48px 0; } }

/* ===== v4.5 - Trang chủ mở đầu bằng thương hiệu ICD Việt Nam, phong cách hiện đại ===== */
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.bhero { position: relative; overflow: hidden; background: #F4F7FD; border-bottom: 1px solid var(--line); }
.bhero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(30,79,181,.13) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 55%); mask-image: linear-gradient(90deg, transparent 0, #000 55%); pointer-events: none; }
.bhero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 64px 24px 72px; }
.bhero__brand { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 8px 16px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1); }
.bhero__brand img { height: 38px; width: auto; }
.bhero__brand span { font-size: 15px; line-height: 1.35; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; }
.bhero__brand b { display: block; font: 700 15px/1.2 var(--display); color: var(--indigo-dk); letter-spacing: .01em; }
.bhero__title { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--ink); margin: 0 0 20px; }
.bhero__title em { font-style: normal; color: var(--indigo); box-shadow: inset 0 -.22em 0 rgba(246,139,29,.38); }
.bhero__lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: #3D4559; max-width: 640px; margin: 0 0 30px; }
.bhero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.bhero__cta .btn--ghost { background: #fff; }
.bhero__tel { display: inline-flex; flex-direction: column; margin-left: 8px; padding-left: 18px; border-left: 2px solid var(--orange); font: 800 20px/1.15 var(--display); color: var(--indigo-dk); white-space: nowrap; }
.bhero__tel span { font: 500 15px/1.3 var(--font); color: var(--muted); }
.bhero__tel:hover { text-decoration: none; color: var(--indigo); }
.bhero__facts { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bhero__facts strong { display: block; font: 800 clamp(24px, 2.3vw, 32px)/1.1 var(--display); letter-spacing: -.02em; color: var(--indigo); font-variant-numeric: tabular-nums; }
.bhero__facts span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.bhero__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bhero__ph { margin: 0; position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-3); background: #DDE5F4; }
.bhero__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bhero__ph:hover img { transform: scale(1.035); }
.bhero__ph--main { grid-column: 1 / -1; aspect-ratio: 16 / 10.5; }
.bhero__ph--a, .bhero__ph--b { aspect-ratio: 4 / 3; }
.bhero__ph--b { transform: translateY(18px); }
.bhero__ph figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 8px; background: rgba(18,40,94,.82); color: #fff; font-size: 15px; font-weight: 600; }
.bhero__badge { position: absolute; left: -26px; top: 46%; margin: 0; padding: 14px 18px; max-width: 210px; border-radius: 12px; background: var(--orange); color: var(--on-orange); font-size: 15px; line-height: 1.35; box-shadow: var(--shadow-3); transform: rotate(-2deg); }
.bhero__badge strong { display: block; font: 800 26px/1.05 var(--display); letter-spacing: -.02em; }
.finder__head .kicker { margin-bottom: 6px; }
.finder__search { margin: 0 0 26px; padding: 20px; background: var(--indigo); border-radius: 14px; }
.finder__search .search { box-shadow: none; }
.finder__search .hero__quick { margin-top: 14px; }
/* thẻ hiện đại: bo mềm, nhấc nhẹ khi rê chuột */
.card, .res-card a, .res-guides a, .lookup__links a, .cap__item { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover, .cap__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
@media (max-width: 1100px) {
  .bhero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 44px 24px 56px; }
  .bhero__media { max-width: 720px; }
  .bhero__badge { left: auto; right: 16px; top: auto; bottom: -14px; }
}
@media (max-width: 720px) {
  .bhero__grid { padding: 28px 16px 44px; gap: 30px; }
  .bhero__brand img { height: 32px; }
  .bhero__brand span { font-size: 15px; }
  .bhero__cta .btn { flex: 1 1 100%; }
  .bhero__tel { margin: 6px 0 0; }
  .bhero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 30px; }
  .bhero__ph--b { transform: none; }
  .bhero__badge { padding: 10px 14px; max-width: 170px; }
  .bhero__badge strong { font-size: 21px; }
  .finder__search { padding: 14px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .bhero__ph img, .card, .cap__item { transition: none; } }
.bhero__title { font-size: inherit; }
.bhero__name { display: block; font-size: clamp(44px, 6.2vw, 84px); line-height: 1; letter-spacing: -.035em; color: var(--indigo-dk); margin-bottom: 14px; }
.bhero__sub { display: block; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.22; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.bhero__brand b { font-size: 15px; }
.bhero__ph figcaption { left: auto; right: 12px; bottom: auto; top: 12px; }
@media (max-width: 720px) {
  .bhero__brand { padding: 8px 12px; }
  .bhero__brand img { display: none; }
  .bhero__brand span { border-left: 0; padding-left: 0; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .bhero__media { max-width: none; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .bhero__ph--main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; min-height: 380px; }
  .bhero__ph--a, .bhero__ph--b { aspect-ratio: auto; }
  .bhero__ph--b { transform: none; }
}

/* ===== v4.6 - Hero nền xanh đậm + hiệu ứng khi cuộn ===== */
.bhero { background: #0F2A66; color: #fff; border-bottom: 0; isolation: isolate; }
.bhero::before { display: none; }
.bhero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(900px 520px at 78% 30%, rgba(46,104,214,.55), transparent 70%), linear-gradient(180deg, #12306F 0%, #0C2357 100%); }
.bhero__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 90%); mask-image: linear-gradient(180deg, #000 0, transparent 90%); }
.bhero__slash { position: absolute; right: -8%; top: -30%; width: 46%; height: 170%; background: var(--orange); transform: rotate(14deg); opacity: .96; }
.bhero__slash::after { content: ''; position: absolute; inset: 0 auto 0 -34px; width: 10px; background: var(--orange); }
.bhero__grid { padding: 72px 24px 112px; gap: 64px; }
.bhero__brand { background: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.bhero__name { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.bhero__icd { color: var(--orange); }
.bhero__sub { color: rgba(255,255,255,.94); }
.bhero__title em { color: #fff; box-shadow: inset 0 -.24em 0 rgba(246,139,29,.75); }
.bhero__lede { color: rgba(255,255,255,.8); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--light:hover { background: #fff; color: var(--indigo-dk); border-color: #fff; }
.bhero__tel { color: #fff; border-left-color: var(--orange); }
.bhero__tel span { color: rgba(255,255,255,.66); }
.bhero__tel:hover { color: var(--orange-on-dark, #FFC47F); }
.bhero__facts { border-top-color: rgba(255,255,255,.18); }
.bhero__facts li { position: relative; padding-top: 2px; }
.bhero__facts strong { color: #fff; }
.bhero__facts li::before { content: ''; display: block; width: 28px; height: 3px; background: var(--orange); margin-bottom: 12px; }
.bhero__facts span { color: rgba(255,255,255,.7); }
.bhero__ph { border: 5px solid #fff; box-shadow: 0 24px 48px rgba(4,14,40,.45); background: #1B3A80; }
.bhero__ph figcaption { background: rgba(12,35,87,.9); }
.bhero__badge { box-shadow: 0 18px 36px rgba(4,14,40,.4); border: 3px solid #fff; }
.bhero__ticker { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; background: rgba(5,18,48,.55); border-top: 1px solid rgba(255,255,255,.1); }
.bhero__track { display: flex; width: max-content; animation: icd-marquee 38s linear infinite; }
.bhero__track span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 0 14px 22px; font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); white-space: nowrap; }
.bhero__track span::after { content: ''; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
.bhero__ticker:hover .bhero__track { animation-play-state: paused; }
@keyframes icd-marquee { to { transform: translateX(-50%); } }
.bhero__scroll { position: absolute; left: 50%; bottom: 64px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.bhero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: icd-scrolldot 1.8s ease-in-out infinite; }
@keyframes icd-scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
[data-parallax] { will-change: transform; }
.bhero__copy { will-change: opacity, transform; }

/* Hero vào trang: chạy ngay khi trang vẽ (không chờ script), từng lớp lần lượt */
@keyframes hx-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hx-img { from { opacity: 0; transform: translateY(36px) scale(.97); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes hx-badge { from { opacity: 0; transform: translateY(20px) rotate(-9deg) scale(.9); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes hx-slash { from { transform: rotate(14deg) translateX(45%); } to { transform: rotate(14deg); } }
.motion .hx { animation: hx-up .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 100ms); }
.motion .hx--img { animation-name: hx-img; animation-duration: 1s; }
.motion .bhero__badge.hx { animation-name: hx-badge; }
.motion .bhero__slash { animation: hx-slash 1.1s cubic-bezier(.2,.7,.2,1) both; }

/* Hiện dần khi cuộn tới (toàn site) */
.motion .rv { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.motion .rv--left { transform: translateX(-40px); }
.motion .rv--right { transform: translateX(40px); }
.motion .rv--zoom { transform: scale(.94); }
.motion .rv--img { clip-path: inset(8% 8% 8% 8% round 10px); transform: scale(.97); transition-property: opacity, transform, clip-path; transition-duration: .9s; }
.motion .rv.is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }
.motion .timeline.rv-line { position: relative; }
.motion .timeline.rv-line::after { content: ''; position: absolute; left: 0; top: -2px; height: 3px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.motion .timeline.rv-line.is-in::after { transform: scaleX(1); }
.top { transition: box-shadow .25s ease; }
.top.is-scrolled { box-shadow: 0 6px 24px rgba(15,42,102,.12); }
.scrollbar { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); pointer-events: none; }

@media (max-width: 1100px) {
  .bhero__slash { right: -30%; top: 30%; width: 90%; height: 120%; }
  .bhero__grid { padding: 48px 24px 104px; gap: 44px; }
  .bhero__scroll { display: none; }
}
@media (max-width: 720px) {
  .bhero__grid { padding: 30px 16px 92px; gap: 32px; }
  .bhero__slash { top: 48%; right: -50%; width: 120%; }
  .bhero__ph { border-width: 3px; }
  .bhero__track span { font-size: 15px; padding: 12px 0 12px 18px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion .rv { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .motion .hx, .motion .bhero__slash { animation: none !important; }
  .bhero__track, .bhero__scroll span { animation: none; }
  .motion .timeline.rv-line::after { transform: scaleX(1); transition: none; }
}

/* ===== Nguyên tắc ảnh: KHÔNG cắt cúp (Hiếu 2026-10-11) - ảnh hiện trọn theo tỷ lệ gốc ===== */
.bhero__media { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.bhero__ph, .bhero__ph--main, .bhero__ph--a, .bhero__ph--b { aspect-ratio: auto !important; min-height: 0 !important; grid-row: auto !important; grid-column: auto !important; }
.bhero__ph--main { flex: 1 1 100%; }
.bhero__ph--a { flex: 1.781 1 0; }
.bhero__ph--b { flex: 2.222 1 0; transform: none; }
.bhero__ph img, .cap__item img, .gallery img, .expo__grid img, .prose figure img { width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }
.bhero__ph:hover img { transform: none; }
.jg { display: flex !important; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.jg > figure { flex: 1 1 300px; margin: 0; aspect-ratio: auto !important; grid-row: auto !important; }
.expo__grid figure:nth-child(n) { aspect-ratio: auto; }
.pcard__img img, .prod__img img, .post-card img, .article__img img { object-fit: contain !important; background: #fff; }
.pcard__img, .prod__img { background: #fff; }
.article__img img { background: var(--sand); }
@media (max-width: 720px) {
  .bhero__ph--a, .bhero__ph--b { flex-basis: 0; }
  .bhero__badge { position: static; flex: 1 1 100%; max-width: none; margin: 4px 0 0; }
  .jg > figure { flex-basis: 100% !important; }
}
/* badge không đè lên ảnh: nằm dưới cụm ảnh, trên mảng cam */
.bhero__badge { position: static !important; order: 9; margin: 6px 0 0 auto; max-width: none; display: flex; align-items: center; gap: 12px; }
.bhero__badge strong { display: inline; }
@media (max-width: 720px) { .bhero__badge { margin: 4px 0 0; width: 100%; } }
.bhero__ph--a { flex: 1.781 1 178px; }
.bhero__ph--b { flex: 2.222 1 222px; }
@media (max-width: 720px) { .bhero__ph--a { flex: 1.781 1 0; } .bhero__ph--b { flex: 2.222 1 0; } }

/* ===== v4.7 - Hero sáng, dễ đọc (Hiếu 2026-10-11) ===== */
.bhero { background: #F3F7FE; color: var(--ink); }
.bhero__bg { background: radial-gradient(800px 500px at 15% 10%, #FFFFFF 0%, transparent 70%), linear-gradient(180deg, #F7FAFF 0%, #EAF1FC 100%); }
.bhero__grid-lines { background-image: linear-gradient(rgba(30,79,181,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30,79,181,.07) 1px, transparent 1px); }
.bhero__slash { opacity: 1; }
.bhero__brand { box-shadow: 0 6px 18px rgba(18,40,94,.08); border: 1px solid var(--line); }
.bhero__name { color: var(--on-orange, #12285E); text-shadow: none; }
.bhero__sub { color: #1E2433; font-weight: 700; }
.bhero__title em { color: var(--indigo); box-shadow: inset 0 -.2em 0 rgba(246,139,29,.45); }
.bhero__lede { color: #2E3648; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.7; max-width: 600px; }
.bhero__cta .btn--ghost { background: #fff; color: var(--indigo-dk); border-color: var(--indigo); }
.bhero__cta .btn--ghost:hover { background: var(--indigo); color: #fff; }
.bhero__tel { color: var(--indigo-dk); }
.bhero__tel span { color: var(--muted); }
.bhero__tel:hover { color: var(--indigo); }
.bhero__facts { border-top-color: var(--line); }
.bhero__facts strong { color: var(--indigo-dk); }
.bhero__facts span { color: #4A5368; font-size: 15px; }
.bhero__ph { border-color: #fff; box-shadow: 0 18px 40px rgba(18,40,94,.18); }
.bhero__badge { border-color: #fff; box-shadow: 0 12px 28px rgba(18,40,94,.2); }
.bhero__ticker { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18,40,94,.05); }
.bhero__track a { display: inline-flex; align-items: center; gap: 22px; padding: 15px 0 15px 22px; font: 700 15px/1 var(--display); letter-spacing: .04em; color: var(--indigo-dk); white-space: nowrap; }
.bhero__track a::after { content: ''; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
.bhero__track a:hover { color: var(--orange-ink); text-decoration: none; }
.bhero__ticker:focus-within .bhero__track { animation-play-state: paused; }
@media (max-width: 720px) { .bhero__track a { font-size: 15px; padding: 13px 0 13px 18px; gap: 18px; } }

/* ===== v4.8 - Hero tự nhiên: 1 ảnh thật hiện trọn, chữ dễ đọc, không trang trí thừa (Hiếu 2026-10-11) ===== */
.hx2 { background: #FBFAF6; border-bottom: 1px solid var(--line); }
.hx2__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 24px 40px; }
.hx2__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 15px; color: var(--muted); }
.hx2__eyebrow img { height: 26px; width: auto; }
.hx2__title { margin: 0 0 20px; }
.hx2__name { display: block; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; color: #12285E; }
.hx2__icd { color: var(--orange); }
.hx2__sub { display: block; margin-top: 12px; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.01em; font-weight: 600; color: #1E2433; }
.hx2__lede { font-size: clamp(17.5px, 1.3vw, 19px); line-height: 1.7; color: #3A4256; max-width: 560px; margin: 0 0 28px; }
.hx2__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 30px; }
.hx2__call { color: var(--muted); font-size: 16px; white-space: nowrap; }
.hx2__call b { color: #12285E; font-size: 18px; }
.hx2__call:hover { text-decoration: none; }
.hx2__call:hover b { color: var(--orange-ink); }
.hx2__proof { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 560px; }
.hx2__proof b { color: #1E2433; }
.hx2__proof span { color: var(--orange); margin: 0 6px; }
.hx2__photo { position: relative; margin: 0; }
.hx2__photo img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 44px rgba(18,40,94,.16); }
.hx2__photo figcaption { position: relative; z-index: 1; margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--orange); font-size: 15px; color: var(--muted); }
.hx2__lines { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: 26px; }
.hx2__lines-h { flex: none; font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-ink); }
.hx2__lines ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx2__lines a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #1E2433; font-size: 15px; font-weight: 600; white-space: nowrap; }
.hx2__lines a span { font-size: 15px; font-weight: 500; color: var(--muted); }
.hx2__lines a:hover { border-color: var(--indigo); color: var(--indigo); text-decoration: none; }
@media (max-width: 1100px) {
  .hx2__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 24px 32px; }
  .hx2__photo { max-width: 760px; }
  .hx2__lines { flex-direction: column; gap: 10px; }
}
@media (max-width: 720px) {
  .hx2__grid { padding: 28px 16px 24px; gap: 34px; }
  .hx2__eyebrow { font-size: 15px; align-items: flex-start; }
  .hx2__cta .btn { flex: 1 1 100%; }
  .hx2__lines { padding-bottom: 20px; }
}
.hx2__lines ul { display: grid; grid-template-columns: repeat(9, minmax(0, auto)); justify-content: start; }
.hx2__lines a { justify-content: center; width: 100%; }
@media (max-width: 1240px) { .hx2__lines ul { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; } }
@media (max-width: 720px) { .hx2__lines ul { gap: 6px; } .hx2__lines a { white-space: normal; text-align: center; padding: 8px 6px; font-size: 15px; flex-wrap: wrap; justify-content: center; column-gap: 4px; } }
@media (max-width: 720px) {
  .hx2__lines ul { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: none; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .hx2__lines ul::-webkit-scrollbar { display: none; }
  .hx2__lines li { flex: none; }
  .hx2__lines a { white-space: nowrap; width: auto; padding: 8px 12px; }
}

/* ===== v5.0 - Chữ to, rõ, dễ đọc (Noto Sans, cỡ tối thiểu 15px, màu chữ phụ đậm hơn) ===== */
:root { --ink: #161B29; --muted: #3E4558; }
body { font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { letter-spacing: -.005em; line-height: 1.22; }
.sec-title { font-size: clamp(28px, 3vw, 40px); }
.section-lede, .phead p, .hero__lede { font-size: 19px; }
.kicker { font-size: 15px; letter-spacing: .08em; }
.util { font-size: 15px; }
.btn { font-size: 17px; }
.btn--sm { font-size: 16px; }
.pcard__title { font-size: 17px; }
.pcard__specs, .stats__list span, .timeline span, .team__people span, .crumbs, .tabs a,
.sort, .sort select, .compare, .opt, .results__note, .cap__body p, .steps__list p { font-size: 16px; }
.opt em, .h-sm, .picks span, .team__contact dt, .fine, .expo__grid figcaption,
.hx2__photo figcaption, .sizes__list em, .fg__more, .fg__clear { font-size: 15px; }
.cap__body h3 { font-size: 21px; }
.prose, .entry-content { font-size: 18px; line-height: 1.75; }
/* Ô kích thước: không cắt chữ "54 mẫu" */
.sizes__list { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.sizes__list a { flex-wrap: wrap; row-gap: 2px; overflow: visible; }
.sizes__list span { font-size: 17px; }
@media (max-width: 760px) { .sizes__list a { flex-direction: column; align-items: flex-start; } }
/* Header: logo không co, chữ "Pallet nhựa" không đè menu */
.top__logo { flex-shrink: 0; }
.top__act .btn { font-size: 16px; }
@media (max-width: 1360px) { .top__logo span { display: none; } }
/* Hero màn hẹp: ảnh đội ngũ lên trước phần chữ */
@media (max-width: 1100px) { .hx2__photo { order: -1; } .hx2__grid { gap: 24px; } }
.hx2__lines a span { font-size: 15px; }
.res-src { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
/* v5.1 - hero ảnh dọc ông Lê Văn Thăng tại VILOG 2026: hiện trọn ảnh, giới hạn chiều cao */
.hx2__photo { display: flex; flex-direction: column; align-items: center; }
.hx2__photo img { width: auto; max-width: 100%; max-height: min(640px, 78vh); }
.hx2__photo figcaption { align-self: stretch; max-width: 520px; margin-inline: auto; }
@media (max-width: 1100px) { .hx2__photo img { max-height: 56vh; } }

/* ===== v5.2 - Bản di động trang chủ chuẩn web doanh nghiệp (Hiếu 2026-10-11) ===== */
.hx2__stats { display: none; }
@media (max-width: 720px) {
  .hx2 { background: #fff; }
  .hx2__grid { padding: 0 16px 24px; gap: 0; }
  .hx2__photo { margin: 0 -16px; align-items: stretch; }
  .hx2__photo img { width: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .hx2__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; padding: 40px 16px 44px; border: 0; color: #fff; font-size: 15px; line-height: 1.4; background: linear-gradient(transparent, rgba(12,26,64,.72)); }
  .hx2__copy { position: relative; z-index: 2; margin-top: -30px; padding: 22px 18px 20px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(18,40,94,.14); }
  .hx2__eyebrow { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); line-height: 1.45; }
  .hx2__name { font-size: 44px; }
  .hx2__sub { font-size: 22px; margin-top: 8px; }
  .hx2__lede { font-size: 17px; line-height: 1.65; margin-bottom: 20px; }
  .hx2__cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .hx2__cta .btn { width: 100%; }
  .hx2__call { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border: 1.5px solid #12285E; border-radius: var(--r); font-weight: 600; }
  .hx2__call-t { display: none; }
  .hx2__call b::before { content: 'Gọi '; font-weight: 600; }
  .hx2__proof { display: none; }
  .hx2__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .hx2__stats li { padding: 14px 4px 12px 0; border-bottom: 1px solid var(--line); }
  .hx2__stats li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hx2__stats li:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 2px; }
  .hx2__stats strong { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -.02em; color: #12285E; font-variant-numeric: tabular-nums; }
  .hx2__stats span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
  .hx2__lines { padding-top: 8px; }
  /* Sản phẩm: lưới 2 cột kiểu sàn thương mại lớn */
  .grid, .grid.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { flex-direction: column; }
  .pcard__img { width: 100%; aspect-ratio: 3 / 2; min-height: 0; border-bottom: 1px solid var(--line-soft); }
  .pcard__body { padding: 10px 10px 12px; gap: 6px; }
  .pcard__title { font-size: 15px; line-height: 1.35; -webkit-line-clamp: 3; }
  .pcard__specs { padding-top: 8px; }
  .pcard__specs span:first-child { display: none; }
  .pcard__specs span { font-size: 15px; }
  /* Kích thước: lưới 2 cột */
  .sizes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sizes__list a { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; }
  .sizes__list span { font-size: 16px; }
}
