:root {
  --blue: #004aad;
  --blue-deep: #06285c;
  --ink: #101c2e;
  --muted: #5a6677;
  --line: #dde2e8;
  --paper: #f3f5f7;
  --white: #fff;
  --hi: #ff8a00;
  --hi-dark: #e67900;
  --silver: #c8ced6;
  --sale: #c2410c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Be Vietnam Pro", system-ui, sans-serif;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
small { font-size: 12px; }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; z-index: 100; padding: 10px 16px; background: var(--white); }
.skip:focus { left: 8px; top: 8px; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Dai phan quang tren dong phuc bao ho: dung lam net nhan dien xuyen suot trang */
.reflect { height: 12px; background: linear-gradient(var(--hi) 0 25%, var(--silver) 25% 75%, var(--hi) 75%); }

.eyebrow { margin-bottom: 12px; color: var(--hi); font: 700 18px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 24px; border-radius: 4px; font-weight: 600; transition: background-color .15s, border-color .15s; }
.btn-hi { background: var(--hi); color: var(--ink); }
.btn-hi:hover { background: var(--hi-dark); }
.btn-line { border: 2px solid rgba(255, 255, 255, .5); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.more .i { width: 18px; height: 18px; transition: transform .15s; }
.more:hover .i { transform: translateX(4px); }

/* Dau trang */
.topbar { background: var(--blue-deep); color: #d4dceb; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 24px; padding-block: 7px; }
.topbar-r { display: flex; gap: 24px; }
.topbar a:hover { color: var(--white); }

.mainbar { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.mainbar .wrap { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { border-radius: 4px; }
.brand span { display: grid; line-height: 1.1; }
.brand b { color: var(--blue); font: 700 27px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand small { margin-top: 3px; color: var(--muted); }
.search { display: flex; flex: 1; max-width: 560px; margin-inline: auto; border: 1.5px solid var(--line); border-radius: 4px; transition: border-color .15s; }
.search:focus-within { border-color: var(--blue); }
.search input[type=search] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; background: none; color: inherit; font: inherit; outline: 0; }
.search button { display: grid; place-items: center; width: 50px; border: 0; background: none; color: var(--blue); cursor: pointer; }
.hotline { display: flex; align-items: center; gap: 10px; flex: none; color: var(--blue); }
.hotline span { display: grid; line-height: 1.25; }
.hotline small { color: var(--muted); }
.hotline b { font: 700 23px/1.1 var(--display); }
.iconbtn { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 4px; background: var(--paper); color: var(--ink); cursor: pointer; }
.iconbtn:hover { background: var(--line); }
.menu-btn { display: none; }

.nav { position: sticky; top: 73px; z-index: 30; background: var(--blue); color: var(--white); }
.nav-list { display: flex; }
.nav-list > li > a { display: block; padding: 12px 20px; font: 700 18px/1.3 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.nav-list > li:first-child > a { padding-left: 0; }
.nav-list > li > a:hover { background: var(--blue-deep); }
.has-mega > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 28px max(var(--gutter), calc((100vw - 1248px) / 2)); background: var(--white); color: var(--ink); border-bottom: 4px solid var(--hi); box-shadow: 0 16px 32px rgba(16, 28, 46, .16); grid-template-columns: repeat(7, 1fr); gap: 24px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.mega p { margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.mega li a { display: block; padding: 5px 0; font-weight: 500; }
.mega li a:hover { color: var(--blue); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--blue-deep); color: var(--white); }
.hero-copy { align-self: center; padding: 64px 56px 64px max(var(--gutter), calc((100vw - 1248px) / 2)); }
h1 { font: 700 clamp(42px, 5vw, 68px)/1.04 var(--display); text-transform: uppercase; }
.lede { max-width: 54ch; margin-top: 18px; color: #d4dceb; font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-img { position: relative; min-height: 460px; margin: 0; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.facts li { padding-inline: 24px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; color: var(--blue); font: 700 32px/1.1 var(--display); text-transform: uppercase; }
.facts span { color: var(--muted); font-size: 14px; }

/* Tieu de muc */
h2 { font: 700 clamp(32px, 3.4vw, 44px)/1.08 var(--display); text-transform: uppercase; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head .more { flex: none; color: var(--blue); }

/* Danh muc theo vi tri bao ve */
.zones-sec { padding-block: 40px 56px; }
.zones { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px 12px; }
.zone { display: grid; grid-column: span var(--n); grid-template-columns: subgrid; align-content: start; row-gap: 10px; }
.zone h3 { grid-column: 1 / -1; padding-bottom: 7px; border-bottom: 2px solid var(--ink); font-size: 14px; font-weight: 600; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 124px; padding: 16px 8px; background: var(--paper); border-radius: 4px; text-align: center; font-size: 14px; font-weight: 500; line-height: 1.3; transition: background-color .15s, color .15s; }
.tile:hover { background: #e2ebf8; color: var(--blue); }

/* Ke san pham */
.shelf { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; padding-block: 32px; }
.shelf-panel { position: sticky; top: 140px; padding: 26px 24px; background: var(--blue); color: var(--white); border-radius: 4px; box-shadow: inset 0 8px 0 var(--hi); }
.shelf-panel h2 { margin-top: 6px; font-size: 40px; }
.shelf-panel p { margin-top: 12px; color: #dbe5f5; font-size: 14px; }
.shelf-subs { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
.shelf-subs a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font-size: 14px; }
.shelf-subs a:hover { color: #ffd199; }
.shelf-panel .more { margin-top: 20px; color: #ffd199; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(0, 74, 173, .12); }
.card-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.card:hover .card-img img { transform: scale(1.04); }
.badge { position: absolute; z-index: 1; left: 0; top: 10px; padding: 2px 9px; background: var(--hi); color: var(--ink); border-radius: 0 3px 3px 0; font-size: 13px; font-weight: 700; }
.card-name { display: -webkit-box; flex: 1; margin: 12px 14px 8px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 500; line-height: 1.4; min-height: 2.8em; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 14px 14px; }
.card-price b { color: var(--blue); font-size: 16px; font-weight: 700; }
.card-price s { color: var(--muted); font-size: 13px; }

/* May theo yeu cau */
.factory { margin-block: 32px; background: var(--blue-deep); color: var(--white); }
.factory-img { position: relative; aspect-ratio: 3.57; margin: 0; overflow: hidden; }
/* Anh goc co san dai chu xanh tren va duoi: cat chi lay phan anh xuong may */
.factory-img img { position: absolute; left: 50%; top: -46.9%; width: auto; height: 156.25%; max-width: none; transform: translateX(-50%); }
.factory-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-block: 48px 56px; }
.factory .btn { margin-top: 28px; }
.ticks li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 500; }
.ticks .i { color: var(--hi); }
.clients { margin-top: 24px; }
.clients p { margin-bottom: 10px; color: #b8c6dc; font-size: 14px; }
.clients ul { display: flex; flex-wrap: wrap; gap: 8px; }
.clients li { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; font-size: 14px; }

/* Tin tuc */
.news { padding-block: 40px 56px; }
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, auto); gap: 16px 28px; }
.post { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.post-lead { grid-row: 1 / 4; grid-template-columns: 1fr; gap: 14px; }
.post-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); border-radius: 4px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post time { color: var(--muted); font-size: 13px; }
.post h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.post:hover h3 { color: var(--blue); }
.post-lead h3 { font: 700 30px/1.15 var(--display); }
.post-lead p { margin-top: 8px; color: var(--muted); }

/* Lien he */
.contact { background: var(--hi); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-block: 36px; }
.contact p { max-width: 50ch; margin-top: 6px; }
.people { display: flex; gap: 12px; }
.people a { display: grid; min-width: 170px; padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: 4px; line-height: 1.25; transition: background-color .15s; }
.people a:hover { background: var(--blue-deep); }
.people small { color: #c7d0dd; }
.people b { font: 700 24px/1.15 var(--display); }

/* Chan trang */
.foot { background: var(--ink); color: #c7d0dd; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-block: 48px 32px; }
.foot h2 { margin-bottom: 14px; color: var(--white); font: 600 15px/1.45 var(--body); text-transform: none; }
.foot p { margin-bottom: 8px; }
.foot p b { color: var(--white); font-weight: 500; }
.foot li { padding: 3px 0; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-end { padding-block: 14px 20px; color: #8a97a9; font-size: 13px; }

/* Lien he nhanh */
.dock { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 8px; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding-inline: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 4px 14px rgba(16, 28, 46, .18); font-size: 14px; font-weight: 600; }
.dock a:nth-child(n+3) { display: none; }
.dock .i { width: 20px; height: 20px; }
.dock-call { color: var(--ink); background: var(--hi) !important; border-color: var(--hi) !important; }
.dock-zalo { color: var(--blue); }

@media (max-width: 1100px) {
  .topbar-r, .hotline { display: none; }
  .shelf { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .shelf-panel { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .shelf-panel > * { grid-column: 1; }
  .shelf-panel .more { grid-column: 2; grid-row: 1; align-self: start; margin-top: 8px; }
  .shelf-subs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .shelf-subs a { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; }
  .zones { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
  .zone[style*="--n:3"] { grid-column: span 3; }
  .hero-copy { padding-right: 32px; }
  .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .mainbar .wrap { flex-wrap: wrap; gap: 8px 10px; }
  .brand { margin-right: auto; }
  .brand img { width: 50px; height: 42px; }
  .brand b { font-size: 23px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input[type=search] { height: 42px; }
  .menu-btn { display: grid; }

  .nav { position: fixed; inset: 0 0 0 auto; top: 0; z-index: 60; width: min(320px, 86vw); overflow-y: auto; visibility: hidden; transform: translateX(100%); transition: transform .2s, visibility .2s; }
  .nav.open { visibility: visible; transform: none; box-shadow: -8px 0 28px rgba(0, 0, 0, .3); }
  .nav-list { display: block; padding-block: 12px; }
  .nav-list > li > a, .nav-list > li:first-child > a { padding: 11px 0; }
  .has-mega > a::after { display: none; }
  .mega, .has-mega:hover .mega, .has-mega:focus-within .mega { position: static; display: block; padding: 0 0 8px; background: none; color: var(--white); border: 0; box-shadow: none; }
  .mega p { display: none; }
  .mega li a { padding: 7px 0 7px 12px; font-weight: 400; }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .hero-copy { padding: 28px var(--gutter) 32px; }
  h1 { font-size: clamp(38px, 11vw, 54px); }
  .lede { font-size: 16px; }
  .cta .btn { flex: 1 1 100%; }

  .facts { grid-template-columns: repeat(2, 1fr); gap: 18px 0; padding-block: 22px; }
  .facts li { padding-inline: 14px; }
  .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts b { font-size: 26px; }
  .facts span { display: block; font-size: 13px; line-height: 1.35; }

  .zones-sec { padding-block: 24px 32px; }
  .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .zone, .zone[style*="--n:3"] { grid-column: span 2; }
  .zone[style*="--n:1"] { grid-column: span 1; }
  .tile { flex-direction: row; min-height: 60px; padding: 8px 10px; text-align: left; font-size: 13px; }
  .tile img { width: 34px; height: 34px; flex: none; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 16px; }

  .shelf { padding-block: 20px; }
  .shelf-panel { display: block; padding: 22px 16px 18px; }
  .shelf-panel h2 { font-size: 34px; }
  .shelf-panel .more { margin-top: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-name { margin: 10px 10px 6px; font-size: 14px; }
  .card-price { margin: 0 10px 12px; }
  .card-price b { font-size: 15px; }

  .factory-img { aspect-ratio: 16 / 9; }
  .factory-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 36px; }
  .factory .btn { width: 100%; }

  .news { padding-block: 28px 36px; }
  .news-grid { display: flex; flex-direction: column; }
  .post { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .post-lead { grid-template-columns: 1fr; }
  .post-lead h3 { font-size: 26px; }
  .post h3 { font-size: 15px; }

  .contact .wrap { padding-block: 28px; }
  .people { flex-direction: column; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 32px 16px; }
  .foot-co { grid-column: 1 / -1; }
  .foot { padding-bottom: 60px; }

  .dock { left: 0; right: 0; bottom: 0; gap: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(16, 28, 46, .1); }
  .dock a, .dock a:nth-child(n+3) { display: flex; flex: 1; flex-direction: column; gap: 2px; height: 58px; padding: 0; border: 0; border-radius: 0; box-shadow: none; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
