/* Nhãn Mác VDK — giao diện trang giới thiệu / báo giá B2B. Navy (uy tín) · trắng · teal (nút hành động) · xám nhạt. */
:root {
  /* Bảng màu "xưởng dệt": mực navy (uy tín) · đồng thau (20 năm, thủ công) · đỏ chỉ (nút hành động) · nền vải lanh */
  --navy: #0d1f3c; --navy-2: #16305a; --teal: #c8402e; --teal-d: #a8321f; --ink: #1a2233; --muted: #5d6676;
  --gold: #b8893a; --gold-l: #efe2c6; --gold-d: #8a6420;
  --line: #e6e0d6; --bg: #ffffff; --bg-2: #f7f3ec; --mint: #fbeee8; --sky: #eef2f8; --sand: #f5ecd9;
  --bad: #b42318; --ok: #157347; --radius: 16px; --shadow: 0 12px 34px rgba(13, 31, 60, .08); --shadow-2: 0 22px 50px rgba(13, 31, 60, .16);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mbar: 0px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scroll-padding-bottom: calc(var(--mbar) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); padding-bottom: var(--mbar); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
h1, h2, h3, h4, .h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 2.8vw, 30px); }
h3, .h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 60%, transparent); outline-offset: 2px; }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; touch-action: manipulation; }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-d); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--teal); }
.btn.link { background: none; color: var(--teal-d); padding-left: 6px; padding-right: 6px; }
.btn.big { min-height: 52px; padding: 12px 22px; font-size: 17px; }
.btn.sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Đầu trang */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.logo b { display: block; font-size: 18px; letter-spacing: .01em; }
.logo small { display: block; color: var(--muted); font-size: 12px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-2); color: var(--navy); }
.site-nav a.tool { color: var(--teal-d); }
.menu-btn { display: none; margin-left: auto; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; }
.head-cta { white-space: nowrap; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.draftbar { background: #fde68a; color: #713f12; text-align: center; padding: 8px 12px; font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #23497a 100%); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: #dbe5f3; max-width: 640px; }
.hero-cta { margin: 22px 0 12px; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn.ghost:hover { border-color: #fff; }
.hero .btn.link { color: #bfe9e6; }
.hero-art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); background: #eef3f8; }
.illus { position: absolute; right: 8px; bottom: 8px; background: rgba(20, 41, 74, .78); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; }

/* Khối nội dung */
.sect { padding: 48px 0; }
.sect.alt { background: var(--bg-2); }
.sub { color: var(--muted); max-width: 760px; }
.intro { font-size: 18px; color: var(--ink); }
.hl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hl li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.hl .ic { width: 34px; height: 34px; color: var(--teal); background: var(--mint); border-radius: 10px; padding: 6px; }
.hl p { margin: 0; font-size: 14.5px; color: var(--muted); }
.highlights { padding-top: 0; margin-top: -26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pimg { position: relative; display: block; background: #eef3f8; aspect-ratio: 32 / 22; }
.pimg img, .pimg svg { width: 100%; height: 100%; object-fit: cover; }
.pbody { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pbody h2, .pbody h3 { font-size: 19px; margin: 0; }
.pbody h2 a, .pbody h3 a { color: var(--navy); text-decoration: none; }
.pbody p { color: var(--muted); font-size: 15px; margin: 0; }
.pbody ul { margin: 4px 0 8px; padding-left: 18px; font-size: 14.5px; }
.pbody .row { margin-top: auto; }
.tiers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tier { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-decoration: none; color: var(--ink); text-align: center; transition: border-color .15s, transform .15s; }
.tier b { font-size: 24px; color: var(--navy); }
.tier span { font-size: 13px; color: var(--muted); }
.tier em { font-style: normal; font-size: 13px; color: var(--teal-d); font-weight: 700; margin-top: 6px; }
.tier:hover { border-color: var(--teal); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 18px 0 0; }
.steps li { counter-increment: s; background: var(--sky); border-radius: var(--radius); padding: 16px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { font-size: 14.5px; margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img, .gallery video { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.placeholder { border: 2px dashed #f59e0b; background: #fffbeb; color: #92400e; border-radius: 12px; padding: 16px; }
.tool-cta { background: var(--sand); }
.tool-cta p { margin: 0; color: var(--muted); }
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq p { padding: 0 16px 14px; margin: 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ic { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols3 h2 { font-size: 20px; }
.tip { background: var(--mint); border-left: 4px solid var(--teal); border-radius: 10px; padding: 16px 18px; }
.tip p { margin: 0; }
.prod { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.prod-art { position: relative; border-radius: var(--radius); overflow: hidden; background: #eef3f8; }
.prod .lead { font-size: 17px; color: var(--muted); }
.price-note { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Form báo giá */
.quote { background: linear-gradient(180deg, var(--bg-2), #fff); padding: 52px 0; border-top: 1px solid var(--line); }
.quote-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.quote-side { position: sticky; top: 90px; }
.quote-side .ticks { margin: 14px 0 18px; }
.side-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.qform, .qdone { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.qform.small { padding: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.f { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.f input, .f select, .f textarea { display: block; margin-top: 5px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; min-height: 46px; width: 100%; font-size: 16px; }
.f .err { display: block; margin-top: 4px; }
.f textarea { resize: vertical; min-height: 84px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent); }
.f.invalid input, .f.invalid select, .f.invalid textarea { border-color: var(--bad); }
.f .err { color: var(--bad); font-weight: 400; font-size: 13.5px; }
.req { color: var(--bad); }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.purpose { border: 0; padding: 0; margin: 0 0 14px; display: flex; gap: 8px; }
.purpose label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; font-weight: 700; color: var(--navy); }
.purpose label:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; }
.chip.on, .chip:hover { border-color: var(--teal); color: var(--teal-d); }
.more { margin: 14px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.more .f:last-child { margin-top: 12px; }
.files { margin: 8px 0 14px; }
.drop { display: flex; align-items: center; gap: 12px; border: 2px dashed #b9c6d6; border-radius: 12px; padding: 14px; cursor: pointer; background: var(--bg-2); color: var(--navy); }
.drop .ic { width: 30px; height: 30px; color: var(--teal); flex: none; }
.drop small { display: block; color: var(--muted); font-size: 13px; }
.drop.over { border-color: var(--teal); background: var(--mint); }
#qFiles { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.file-list img, .file-list .fic { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; background: var(--bg-2); flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.file-list .fn { flex: 1; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.file-list .fn small { display: block; color: var(--muted); }
.file-list button { border: 0; background: none; color: var(--bad); font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 10px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.check.invalid { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts { margin: 8px 0; min-height: 0; }
.form-msg { margin: 8px 0; font-size: 15px; }
.form-msg.bad { color: var(--bad); background: #fef3f2; border: 1px solid #fecdca; border-radius: 10px; padding: 10px 12px; }
.form-msg.ok { color: var(--ok); }
.hint { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.qdone { text-align: center; }
.qdone .code { font-size: 22px; color: var(--navy); letter-spacing: .04em; }
.qdone .row { justify-content: center; margin-top: 12px; }
.ic.big { width: 56px; height: 56px; color: #fff; background: var(--ok); border-radius: 50%; padding: 12px; margin: 0 auto; }
.lookup-res { margin-top: 16px; background: var(--mint); border-radius: 12px; padding: 16px; }

/* Kiến thức */
.posts { display: grid; gap: 14px; margin-top: 18px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.post-card h2 { font-size: 20px; margin-bottom: 6px; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card p { margin: 0; color: var(--muted); }
.badge { display: inline-block; background: #fde68a; color: #713f12; font-size: 12px; padding: 2px 8px; border-radius: 6px; vertical-align: middle; }
.article h2 { margin-top: 1.4em; }
.article .meta { color: var(--muted); font-size: 14px; }
.article li { margin-bottom: 6px; }
.article blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--teal); background: var(--mint); border-radius: 0 10px 10px 0; }
.tablewrap { overflow-x: auto; margin: 1em 0; }
.tablewrap table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 15px; }
.tablewrap th, .tablewrap td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tablewrap th { background: var(--bg-2); color: var(--navy); }
.cta-box { margin-top: 32px; background: var(--sky); border-radius: var(--radius); padding: 20px; }
.empty { color: var(--muted); }

/* Chân trang */
.site-foot { background: var(--navy); color: #c9d5e6; padding: 40px 0 18px; font-size: 15px; }
.site-foot a { color: #e6eef8; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-foot h2 { color: #fff; font-size: 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 18px; }
.foot-contact { margin-top: 10px !important; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 26px; padding-top: 14px; font-size: 13px; color: #9fb0c8; }

/* Thanh liên hệ cố định trên điện thoại */
.mobile-bar { display: none; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--mbar)); z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14.5px; flex: 1 1 240px; }

@media (max-width: 1080px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --mbar: calc(62px + env(safe-area-inset-bottom)); }
  body { font-size: 16px; }
  .head-in { min-height: 58px; gap: 10px; }
  .site-nav { top: 58px; }
  .head-cta { display: none; }
  .logo small { display: none; }
  .hero-in, .prod, .quote-in, .cols3, .foot-grid { grid-template-columns: 1fr; }
  .hero-in { padding-top: 28px; padding-bottom: 40px; gap: 22px; }
  .hero-art { max-height: 220px; }
  .hero-art svg { height: 220px; width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-contact, .side-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-contact .btn, .side-contact .btn { min-width: 0; padding: 10px 8px; font-size: 14.5px; }
  .hl { grid-template-columns: 1fr; }
  .hl li { flex-direction: row; align-items: flex-start; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .sect { padding: 36px 0; }
  .quote-side { position: static; }
  .qform, .qdone { padding: 16px; border-radius: 14px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); gap: 6px; box-shadow: 0 -6px 18px rgba(20, 41, 74, .08); }
  .mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; border-radius: 10px; text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 700; }
  .mobile-bar a .ic { width: 22px; height: 22px; }
  .mobile-bar a.mb-quote { background: var(--teal); color: #fff; flex: 1.6; }
  body.typing .mobile-bar { display: none; } /* bàn phím đang mở (iPhone): không che ô nhập */
  body.typing { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .site-head, .mobile-bar, .quote, .site-foot, .consent { display: none !important; }
}
.checklist { list-style: none; padding-left: 0; }
.checklist .cb { color: var(--teal); font-size: 18px; margin-right: 4px; }

/* Catalogue */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 18px 0; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ccard[hidden] { display: none; }
.cimg { position: relative; display: block; background: #f1f4f8; }
.cimg img { width: 100%; height: auto; aspect-ratio: auto; }
.cimg .mode { position: absolute; left: 10px; top: 10px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.cimg .mode.real { background: var(--ok); }
.cimg .zoomhint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 4px; align-items: center; background: rgba(20, 41, 74, .82); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.cimg .zoomhint .ic { width: 16px; height: 16px; }
.cbody { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cbody h2, .cbody h3 { font-size: 19px; margin: 0; }
.cbody dl { margin: 0; display: grid; gap: 4px; font-size: 14.5px; }
.cbody dl div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.cbody dt { color: var(--muted); }
.cbody dd { margin: 0; }
.cbody .note { color: var(--muted); font-size: 14px; margin: 0; }
.cbody .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cbody .tags span { background: var(--mint); color: var(--teal-d); font-size: 12.5px; padding: 2px 8px; border-radius: 999px; }
.cbody .btn { margin-top: auto; align-self: flex-start; }
.cfilter, .cmode { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
dialog.zoom { width: min(1100px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; overflow: hidden; }
dialog.zoom::backdrop { background: rgba(10, 20, 35, .75); }
.zbar { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.zbar b { flex: 1; min-width: 0; color: var(--navy); }
.zwrap { overflow: auto; max-height: calc(94vh - 56px); background: #f1f4f8; -webkit-overflow-scrolling: touch; }
.zwrap img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.zwrap.big img { width: 200%; max-width: none; cursor: zoom-out; }
.fbvideo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 9 / 12; border-radius: 12px; background: linear-gradient(160deg, var(--navy), #1877f2); color: #fff; text-decoration: none; text-align: center; padding: 16px; }
.fbvideo .ic { width: 40px; height: 40px; }
.fbvideo small { opacity: .85; }
.gallery iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 12px; background: #000; }
.illus.real { background: rgba(21, 115, 71, .9); }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.reviews blockquote { margin: 0; background: #fff; border-left: 4px solid var(--teal); border-radius: 10px; padding: 14px; }
.reviews cite { color: var(--muted); font-style: normal; font-size: 14px; }
.dmode { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.dmode legend { font-weight: 700; color: var(--navy); font-size: 14.5px; margin-bottom: 6px; }
.dmode label { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 14.5px; cursor: pointer; }
.dmode label:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 760px) { .ccards { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr !important; } .dmode label { flex: 1 1 100%; } }


.logo b { white-space: nowrap; font-size: 17px; }
.logo small { white-space: nowrap; }
@media (max-width: 760px) { .logo b { font-size: 15.5px; white-space: normal; line-height: 1.25; } }


/* ================= Giao diện 2026.10 — "xưởng dệt": navy · đồng thau · đỏ chỉ ================= */
h1, h2, h3, h4, .h4 { font-family: var(--font); letter-spacing: -.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-d); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; margin: 0 0 10px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 25%, transparent); }
.sect-head { margin-bottom: 22px; }
.sect-head h2 { margin-bottom: .3em; }
.sect-head::after { content: ''; display: block; width: 64px; height: 3px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 13px); border-radius: 2px; }
.center .sect-head::after, .sect-head.center::after { margin-left: auto; margin-right: auto; }
.btn { border-radius: 12px; letter-spacing: .005em; }
.btn.primary { background: var(--teal); box-shadow: 0 8px 20px color-mix(in srgb, var(--teal) 30%, transparent); }
.btn.primary:hover { background: var(--teal-d); transform: translateY(-1px); }
.btn.ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn.link { color: var(--navy-2); }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); animation: vdkshine 4.5s ease-in-out 1.5s infinite; }
@keyframes vdkshine { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.chip.on, .chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); color: #fff; }
.ticks .ic, .values .ic { color: var(--gold); }

/* Thanh trên cùng */
.topbar { background: var(--navy); color: #c9d3e3; font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar .ic { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--gold); }
.tb-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-right { display: flex; align-items: center; gap: 14px; }
.tb-right > a { color: #fff; text-decoration: none; white-space: nowrap; }
.tb-right > a:hover { color: var(--gold-l); }
.tb-right b { color: var(--gold-l); letter-spacing: .02em; }
.topbar .socials.icons .appic { width: 22px; height: 22px; }

/* Đầu trang */
.site-head { background: rgba(255, 255, 255, .92); transition: box-shadow .25s, background .25s; }
.site-head.scrolled { box-shadow: 0 8px 24px rgba(13, 31, 60, .08); background: rgba(255, 255, 255, .97); }
.site-nav a { font-weight: 500; position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; }
.site-nav a.tool { color: var(--teal); font-weight: 600; }
.logo { flex: none; }
.logo b { font-weight: 800; }
.site-nav a { padding: 8px 9px; }

/* Hero ảnh thật toàn khung */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 0%, #23497a 0%, transparent 60%), linear-gradient(160deg, #0a1830 0%, var(--navy) 55%, #142c52 100%); }
.hero-photo .hero-bg, .page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: vdkzoom 24s ease-in-out infinite alternate; }
.hero-photo .hero-bg::after, .page-hero .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 21, 42, .96) 0%, rgba(9, 21, 42, .86) 45%, rgba(9, 21, 42, .45) 100%), linear-gradient(0deg, rgba(9, 21, 42, .6), transparent 40%); }
@keyframes vdkzoom { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-in { position: relative; z-index: 1; grid-template-columns: 1.3fr .7fr; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.1; text-wrap: balance; }
.hero .eyebrow { color: var(--gold-l); }
.hero .lead { color: #d9e2ef; font-size: clamp(17px, 1.9vw, 21px); }
.hero .btn.ghost { backdrop-filter: blur(4px); background: rgba(255, 255, 255, .06); }
.hero-trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d9e2ef; font-size: 15px; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--gold); }
.hero-trust a { color: #fff; }
.hero > .illus { z-index: 2; top: 12px; bottom: auto; }
.hero .hero-art { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto 40px; }
.hero-badge { display: flex; justify-content: center; }
.woven { position: relative; width: 250px; padding: 26px 18px; text-align: center; color: var(--gold-l); border-radius: 10px; transform: rotate(-4deg);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 4px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px), linear-gradient(160deg, #1d3a68, #0d1f3c);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); animation: vdkfloat 6s ease-in-out infinite; }
.woven::before { content: ''; position: absolute; inset: 9px; border: 1.6px dashed rgba(239, 226, 198, .55); border-radius: 6px; }
.woven::after { content: ''; position: absolute; top: -12px; left: 50%; width: 46px; height: 24px; margin-left: -23px; border-radius: 0 0 6px 6px; background: var(--gold); opacity: .9; }
.woven small { display: block; font-size: 10.5px; letter-spacing: .28em; opacity: .8; }
.woven b { display: block; font-size: 78px; line-height: 1; font-weight: 800; color: #fff; margin: 8px 0 2px; font-family: Georgia, "Times New Roman", serif; }
.woven em { display: block; font-style: normal; font-weight: 800; letter-spacing: .18em; font-size: 14px; margin-bottom: 10px; color: var(--gold-l); }
@keyframes vdkfloat { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }

/* Dải số liệu */
.stats { position: relative; z-index: 3; margin-top: -48px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
.stats li { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); font-weight: 800; line-height: 1.15; }
.stats li:nth-child(-n+2) b { color: var(--teal); }
.stats li > span { color: var(--muted); font-size: 14px; }

/* Dải chữ chạy */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); margin-top: 40px; }
.ticker-in { display: flex; width: max-content; gap: 28px; padding: 14px 0; animation: vdkticker 38s linear infinite; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.ticker-in i { color: var(--gold); font-style: normal; }
.ticker:hover .ticker-in { animation-play-state: paused; }
@keyframes vdkticker { to { transform: translateX(-50%); } }
.intro-sect { padding-bottom: 8px; }
.intro { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--navy); text-align: center; }

/* Về xưởng */
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mosaic { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 460px; }
.mosaic a { display: block; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); }
.mosaic .m-0 { grid-row: span 2; }
.mosaic.m1 { grid-template-columns: 1fr; } .mosaic.m2 { grid-template-rows: 1fr; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.06); }
.values { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 14px; }
.values li { display: flex; gap: 12px; align-items: flex-start; }
.values .ic { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--gold-l); color: var(--gold-d); }
.values b { display: block; color: var(--navy); }
.values span { color: var(--muted); font-size: 15px; }
.values.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.values.grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.about-teaser .row .socials { margin-left: 6px; }
.makes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.makes li { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.makes li:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.makes .num { font-family: Georgia, serif; font-size: 44px; line-height: 1; color: var(--gold); opacity: .6; display: block; margin-bottom: 8px; }
.makes p { color: var(--muted); margin: 0; }
.story p { font-size: 17px; }

/* Trang con: phần đầu */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 400px at 90% 0%, #23497a 0%, transparent 60%), linear-gradient(160deg, #0a1830, var(--navy)); padding: 64px 0 88px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; text-wrap: balance; }
.page-hero .lead { color: #d9e2ef; max-width: 720px; font-size: clamp(17px, 1.9vw, 20px); }
.page-hero .eyebrow { color: var(--gold-l); }
.page-hero .btn.ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); }
.page-hero + .stats { margin-top: -44px; }
.crumbs + * {}
body.about .crumbs, body.kt .crumbs { margin-bottom: 4px; }

/* Thẻ sản phẩm / catalogue */
.pcard, .ccard { transition: transform .3s, box-shadow .3s; border-radius: var(--radius); }
.pcard:hover, .ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.pimg img, .pimg svg, .cimg img { transition: transform .6s; }
.pcard:hover .pimg img, .pcard:hover .pimg svg, .ccard:hover .cimg img { transform: scale(1.05); }
.pimg, .cimg { overflow: hidden; }
.pbody h2 a, .pbody h3 a { color: var(--navy); }
.cbody .tags span { background: var(--gold-l); color: var(--gold-d); }
.cimg .mode { background: rgba(13, 31, 60, .88); backdrop-filter: blur(4px); }
.tier { border-radius: var(--radius); transition: transform .25s, border-color .25s, box-shadow .25s; }
.tier:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.tier b { font-weight: 800; }
.tier em { color: var(--teal); }

/* Khối tối: sản phẩm đã làm */
.sect.dark { background: radial-gradient(900px 400px at 10% 0%, #1d3a68 0%, transparent 60%), var(--navy); color: #d9e2ef; }
.sect.dark h2 { color: #fff; }
.sect.dark .sub { color: #b9c6da; }
.sect.dark .eyebrow { color: var(--gold-l); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; overflow: hidden; }
.masonry figure a { display: block; overflow: hidden; }
.masonry img, .masonry video { width: 100%; height: auto; display: block; transition: transform .6s; background: #000; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry a img { max-height: 440px; object-fit: cover; }
.pbody .row { flex-wrap: nowrap; }
.masonry figcaption { padding: 10px 14px 12px; font-size: 14px; color: #d9e2ef; }
.masonry figcaption small { color: var(--gold-l); }
.follow { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px 18px; }
.follow p { margin: 0; flex: 1 1 320px; }
.follow b { color: #fff; }

/* Mạng xã hội */
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14.5px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.socials a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.socials .appic { width: 28px; height: 28px; }
.socials.icons a { padding: 0; border: 0; background: none; }
.socials.icons a:hover { box-shadow: none; transform: scale(1.12); }
.socials.icons .appic { width: 36px; height: 36px; }

/* Quy trình */
.process .steps { counter-reset: s; position: relative; }
.process .steps li { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s; }
.process .steps li:hover { transform: translateY(-3px); }
.process .steps li::before { background: var(--navy); box-shadow: 0 0 0 5px var(--gold-l); font-weight: 800; }
.steps li { background: #fff; }
.tool-cta { background: linear-gradient(120deg, var(--sand), var(--bg-2)); }
.tool-cta-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.tool-cta-in > div { flex: 1 1 420px; }
.faq { border-radius: 14px; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow); border-color: var(--gold-l); }
.faq summary::after { color: var(--gold); }

/* Form báo giá */
.quote { background: linear-gradient(180deg, var(--bg-2), #fff); }
.qform { border-radius: 20px; }
.purpose label:has(input:checked), .dmode label:has(input:checked) { border-color: var(--navy); background: var(--sky); }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(22, 48, 90, .14); }
.drop .ic { color: var(--navy-2); }
.drop.over { border-color: var(--navy-2); background: var(--sky); }
.check input { accent-color: var(--navy-2); }

/* Dải kêu gọi cuối trang + chân trang */
.cta-band { background: linear-gradient(120deg, var(--teal-d), var(--teal) 60%, #d9663f); color: #fff; padding: 40px 0; }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #ffe9e1; }
.cta-band .eyebrow { color: #ffe1d3; }
.cta-band .btn.primary { background: #fff; color: var(--teal-d); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.cta-band .btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.site-foot { background: #0a1830; padding-top: 52px; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand span { display: flex; flex-direction: column; }
.foot-brand small { font-weight: 400; font-size: 13px; color: #9fb0c8; }
.site-foot h2 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-follow { color: #9fb0c8; }
.site-foot .socials a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #e6eef8; }

/* Kiến thức */
.kt-hero { padding-bottom: 40px; }
.kt-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.kt-hero .chip { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.kt-hero .chip.on, .kt-hero .chip:hover { background: #fff; color: var(--navy); border-color: #fff; }
.kt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 0; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.post-card[hidden] { display: none; }
.kt-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.kt-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .kt-cover img { transform: scale(1.05); }
.kt-cover-txt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; padding: 22px; color: #fff; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 4px), linear-gradient(150deg, var(--c), #0a1830); }
.kt-cover-txt::before { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(239, 226, 198, .45); border-radius: 8px; }
.kt-cover-txt small { color: var(--gold-l); letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; font-weight: 700; }
.kt-cover-txt b { font-size: 20px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kt-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kt-body h2 { font-size: 19px; margin: 0; }
.kt-body h2 a { color: var(--navy); text-decoration: none; }
.kt-body p { margin: 0; color: var(--muted); font-size: 15px; }
.kt-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--teal); text-decoration: none; }
.kt-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; color: var(--muted); margin: 0; }
.kt-cat { background: var(--gold-l); color: var(--gold-d); font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.posts:not(.mini) > .post-card:first-child:not([hidden]) { grid-column: 1 / -1; flex-direction: row; }
.posts:not(.mini) > .post-card:first-child .kt-cover { flex: 1.2; aspect-ratio: auto; min-height: 280px; }
.posts:not(.mini) > .post-card:first-child .kt-body { flex: 1; padding: 26px; justify-content: center; }
.posts:not(.mini) > .post-card:first-child h2 { font-size: 26px; }
.posts.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.posts.mini .kt-cover-txt b { font-size: 15px; }
.posts.mini .kt-body h2 { font-size: 16px; }
.posts.mini .kt-body p { display: none; }
.kt-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.side-box p { color: var(--muted); font-size: 15px; }
.side-box.dark { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #d9e2ef; border: 0; }
.side-box.dark h2 { color: #fff; }
.side-box.dark p { color: #c4d0e2; }
.side-box.dark .eyebrow { color: var(--gold-l); }
.side-cat { display: block; text-decoration: none; font-weight: 700; }
.side-cat img { border-radius: 10px; margin-bottom: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.kt-empty { text-align: center; background: #fff; border: 1px dashed var(--gold); border-radius: 20px; padding: 32px 24px; }
.kt-empty-ic .ic { width: 56px; height: 56px; margin: 0 auto 8px; color: var(--gold); }
.kt-empty p { color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.kt-topics { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
.kt-topics li { border-left: 4px solid var(--c); background: var(--bg-2); border-radius: 10px; padding: 12px 14px; }
.kt-topics b { display: block; color: var(--navy); }
.kt-topics span { color: var(--muted); font-size: 14px; }
.art-head { background: linear-gradient(180deg, var(--bg-2), #fff); padding: 34px 0 10px; }
.art-head h1 { font-size: clamp(28px, 4vw, 44px); text-wrap: balance; }
.art-head .lead { font-size: 19px; color: var(--muted); }
.art-by { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 14.5px; }
.article { font-size: 17.5px; line-height: 1.75; padding-top: 10px; padding-bottom: 20px; min-width: 0; }
.article h2 { font-size: 26px; margin-top: 1.6em; }
.article h2::before { content: ''; display: block; width: 36px; height: 3px; background: var(--gold); margin-bottom: 10px; border-radius: 2px; }
.article blockquote { border-left-color: var(--gold); background: var(--bg-2); }
.art-cover { margin: 0 0 20px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-img { margin: 1.4em 0; }
.art-img img { border-radius: 12px; margin: 0 auto; }
.art-img figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.art-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.related { margin-top: 28px; }
.cta-box { background: linear-gradient(140deg, var(--sky), var(--bg-2)); border: 1px solid var(--line); }

/* Hiệu ứng xuất hiện khi cuộn (chỉ khi có JavaScript và người dùng không tắt chuyển động) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js.rv-safe .reveal { opacity: 1; transform: none; } /* site.js không chạy được: vẫn hiện nội dung */

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .kt-layout { grid-template-columns: 1fr; }
  .kt-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .makes { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
  .topbar-in { justify-content: flex-end; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .hero-in { padding-top: 40px; padding-bottom: 72px; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats li { padding: 16px 14px; }
  .about-in { grid-template-columns: 1fr; gap: 24px; }
  .mosaic { height: 320px; }
  .values.grid { grid-template-columns: 1fr; }
  .posts, .posts.mini { grid-template-columns: 1fr; }
  .posts:not(.mini) > .post-card:first-child { flex-direction: column; }
  .posts:not(.mini) > .post-card:first-child .kt-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .kt-side { grid-template-columns: 1fr; }
  .kt-topics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .page-hero { padding: 40px 0 72px; }
  .cta-band .btn { flex: 1 1 100%; }
  .article { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  .ticker-in { animation: none; flex-wrap: wrap; width: auto; }
}
