/* =========================================================
   VnLed – giao diện mới
   Màu thương hiệu lấy từ logo: đỏ → cam → xanh lá → xanh dương
   ========================================================= */
:root {
  --ink: #0a0f1e;
  --ink-2: #111a33;
  --ink-3: #1b2747;
  --paper: #ffffff;
  --tint: #f3f6fb;
  --line: #e3e8f1;
  --text: #0f172a;
  --muted: #5b6478;
  --muted-dark: #9aa6c2;

  --red: #e8322b;
  --orange: #ff9a1f;
  --green: #2fb24c;
  --blue: #1e6fe8;
  --blue-d: #1557bd;
  --rgb: linear-gradient(90deg, var(--red), var(--orange) 33%, var(--green) 66%, var(--blue));

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }
/* Nút nổi 3D: gờ dày bên dưới (--edge), nhấc lên khi rê chuột, lún xuống khi bấm */
.btn { --edge: rgba(15, 23, 42, .18); box-shadow: 0 4px 0 var(--edge), 0 10px 22px rgba(15, 23, 42, .12); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--edge), 0 16px 30px rgba(15, 23, 42, .18); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge), 0 4px 10px rgba(15, 23, 42, .12); }
.btn--primary { --edge: #c2410c; background: linear-gradient(180deg, #ffb347 0%, #ff7a1a 55%, #f25a12 100%); color: #2a1000; border-color: rgba(255, 255, 255, .25); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary:hover { background: linear-gradient(180deg, #ffc266 0%, #ff8a2e 55%, #f46a1f 100%); }
.btn--ghost { --edge: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.link-arrow { font-weight: 600; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.eyebrow--dark { color: #7fb2ff; }
.rgb-text { background: var(--rgb); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block;
  box-shadow: 0 0 0 0 rgba(47, 178, 76, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 178, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 178, 76, 0); } }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--muted-dark); font-size: 13px; }
.topbar__inner { display: flex; gap: 24px; align-items: center; min-height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item:first-child { color: #dbe4f7; margin-right: auto; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 44px; height: 44px; object-fit: cover; object-position: 50% 18%; border-radius: 10px; }
.logo__text { font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.02em; color: var(--text); }
.logo__text b { color: var(--blue); }
.logo__text small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: var(--muted-dark); }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; color: #334155; transition: color .15s, background .15s; }
.nav__item > a:hover, .nav__item > a.is-current, .nav__item:hover > a { color: var(--blue); background: #eef4ff; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin-top: 8px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #334155; }
.nav__sub a:hover { background: var(--tint); color: var(--blue); }
.mega { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 4px 12px; width: min(860px, 90vw); padding: 18px; left: -40px; }
.mega__col { display: grid; align-content: start; gap: 2px; }
.mega a.mega__head { font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.mega a.mega__all { grid-column: 1 / -1; margin-top: 8px; padding: 12px; text-align: center; background: var(--tint); color: var(--blue); font-weight: 600; }
.nav .nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.hotline { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--text); line-height: 1.15; }
.hotline small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.hotline__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(232, 50, 43, .35); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% 10%, rgba(30, 111, 232, .35), transparent 60%),
              radial-gradient(800px 400px at 0% 100%, rgba(232, 50, 43, .18), transparent 60%),
              var(--ink);
}
.hero__matrix {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__matrix--soft { opacity: .35; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin-bottom: 20px; }
.hero__lead { font-size: 18px; color: #c7d2ea; max-width: 560px; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero__stats { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__stats li { padding: 18px 16px 0 0; }
.hero__stats li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero__stats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hero__stats span { font-size: 13px; color: var(--muted-dark); }

/* LED screen mockup */
.hero__screen { position: relative; }
.screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000;
  border: 6px solid #1a2238;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(30, 111, 232, .35);
}
.screen::before { /* RGB glow edge */
  content: ""; position: absolute; inset: -6px; border-radius: 14px; padding: 2px; z-index: 3; pointer-events: none;
  background: var(--rgb); opacity: .9;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.screen__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 6s ease;
}
.screen__slides img.is-active { opacity: 1; transform: scale(1); }
.screen__pixels { /* lưới điểm ảnh LED */
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply; opacity: .35;
  background-image: radial-gradient(transparent 55%, #000 60%);
  background-size: 4px 4px;
}
.screen__tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(10, 15, 30, .75); backdrop-filter: blur(6px);
}
.screen__stand { width: 34%; height: 14px; margin: 0 auto; background: linear-gradient(#1a2238, #0e1426); border-radius: 0 0 8px 8px; }
.hero__badge {
  position: absolute; right: -14px; top: -18px; z-index: 5; padding: 12px 16px; border-radius: 12px;
  background: #fff; color: var(--text); box-shadow: var(--shadow-lg); line-height: 1.25;
}
.hero__badge b { display: block; font-size: 16px; }
.hero__badge span { font-size: 12px; color: var(--muted); }

/* ---------- Clients strip ---------- */
.clients { border-bottom: 1px solid var(--line); background: #fff; }
.clients__inner { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.clients__label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.clients__list li { padding: 6px 14px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 600; color: #334155; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.section--dark .section__head p { color: var(--muted-dark); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section__head p { color: var(--muted); font-size: 17px; margin: 0; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; margin-bottom: 32px; }
.section__head--row h2 { margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service h3 { font-size: 21px; }
.service p { color: var(--muted); }
.service__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service__icon--blue { background: #e8f0ff; color: var(--blue); }
.service__icon--green { background: #e6f7ea; color: var(--green); }
.service__icon--red { background: #fdeceb; color: var(--red); }
.ticks { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Products ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; color: #334155; transition: all .2s;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; animation: fadeUp .4s ease both;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__img { position: relative; aspect-ratio: 1; background: #fff; padding: 18px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.product__img img { max-height: 100%; object-fit: contain; transition: transform .35s; }
.product:hover .product__img img { transform: scale(1.05); }
.product__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--red); }
.product__badge--new { background: var(--green); }
.product__badge--hot { background: var(--orange); }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.product__name { font-size: 16px; font-weight: 700; margin: 6px 0 14px; line-height: 1.35; }
.product__cta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.product__cta .price { color: var(--red); }
.product__cta .more { color: var(--blue); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Why us ---------- */
.why { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.why__item { background: var(--ink-2); padding: 32px; transition: background .25s; }
.why__item:hover { background: var(--ink-3); }
.why__item h3 { font-size: 19px; margin: 14px 0 8px; }
.why__item p { color: var(--muted-dark); margin: 0; font-size: 15px; }
.why__num { font-size: 13px; font-weight: 800; letter-spacing: .1em; background: var(--rgb); -webkit-background-clip: text; background-clip: text; color: transparent; }

.process { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process li { position: relative; padding-top: 52px; counter-increment: step; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--ink); z-index: 1;
}
.process li::after { content: ""; position: absolute; top: 19px; left: 46px; right: -16px; height: 2px; background: var(--rgb); opacity: .5; }
.process li:last-child::after { display: none; }
.process b { display: block; font-size: 17px; margin-bottom: 4px; }
.process span { color: var(--muted-dark); font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: #ddd; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; text-align: left;
  color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

/* ---------- Promo ---------- */
.promo {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: 20px; overflow: hidden; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(30, 111, 232, .4), transparent 60%), var(--ink);
}
.promo__media { min-height: 320px; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__copy { padding: 48px; align-self: center; }
.promo__copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.promo__copy p { color: #c7d2ea; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 20px; }
.post time, .news-list time { font-size: 13px; color: var(--muted); font-weight: 500; }
.post h3 { font-size: 18px; margin: 6px 0 0; line-height: 1.4; }
.post:hover h3 { color: var(--blue); }
.news-list { list-style: none; margin: 24px 0 0; padding: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 20px; align-items: baseline; padding: 16px 20px; font-weight: 600; transition: color .15s; }
.news-list a:hover { color: var(--blue); }
.news-list time { flex-shrink: 0; min-width: 84px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.contact__info > p { color: var(--muted); font-size: 17px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list small { display: block; color: var(--muted); font-size: 13px; }
.contact__list a { font-weight: 600; }
.contact__list a:hover { color: var(--blue); }
.contact__ic { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #e8f0ff; color: var(--blue); }
.contact__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.form { padding: 32px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form h3 { font-size: 22px; margin: 0 0 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #334155; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--text);
  padding: 12px 14px; border: 1px solid #cfd7e4; border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 232, .15); }
.form .is-invalid { border-color: var(--red); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form { position: relative; }
.form__msg { margin: 0; font-size: 14px; font-weight: 500; min-height: 1.4em; }
.form__msg.ok { color: var(--green); }
.form__msg.err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-dark); font-size: 15px; }
.rgb-bar { height: 4px; background: var(--rgb); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__about { margin-top: 18px; max-width: 340px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 20px; bottom: 24px; z-index: 40; display: grid; gap: 12px; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), inset 0 2px 0 rgba(255, 255, 255, .25), 0 10px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--zalo { background: #0068ff; }
.fab__btn--call { background: linear-gradient(180deg, #ff5a52, #e8322b); animation: ring 2.4s infinite; }

/* ---------- Banner trang chủ (ảnh trong thư viện Media) ---------- */
.banner { padding: 20px 0 0; }
.banner__wrap { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1696 / 624; background: #0a1020; box-shadow: var(--shadow-lg); }
.banner__track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.22, .8, .25, 1); }
.banner__slide { flex: 0 0 100%; height: 100%; display: block; }
.banner__slide img { width: 100%; height: 100%; object-fit: cover; }
.banner__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(5, 8, 18, .55); color: #fff; font-size: 26px; line-height: 1;
  display: grid; place-items: center; padding: 0 0 3px; opacity: 0; transition: opacity .2s, background .2s;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .35);
}
.banner__nav--prev { left: 14px; }
.banner__nav--next { right: 14px; }
.banner__wrap:hover .banner__nav, .banner__nav:focus-visible { opacity: 1; }
.banner__nav:hover { background: rgba(5, 8, 18, .8); }
.banner__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.banner__dots button { width: 26px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.banner__dots button[aria-selected="true"] { width: 44px; background: #ff7a1a; box-shadow: 0 0 10px rgba(255, 122, 26, .8); }
@media (max-width: 640px) {
  .banner { padding-top: 12px; }
  .banner__wrap { border-radius: 10px; }
  .banner__nav { display: none; }
  .banner__dots { bottom: 6px; }
  .banner__dots button { width: 16px; height: 4px; }
  .banner__dots button[aria-selected="true"] { width: 28px; }
}
@media (prefers-reduced-motion: reduce) { .banner__track { transition: none; } }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 50, 43, .5); } 60% { box-shadow: 0 0 0 14px rgba(232, 50, 43, 0); } }

.mbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 18, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__item > a { padding: 8px 8px; font-size: 14px; }
  .mega { grid-template-columns: repeat(3, minmax(150px, 1fr)); width: min(620px, 90vw); }
  .hotline > span:last-child { display: none; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .product__cta { flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  /* backdrop-filter tạo containing block cho phần tử fixed → bỏ để menu phủ toàn màn hình */
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: #fff; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__item > a { display: flex; padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__item > a:hover, .nav__item:hover > a, .nav__item > a.is-current { background: none; }
  .nav__sub, .caret { display: none; }
  .nav .nav__cta-mobile { display: flex; margin-top: 20px; border: 0; color: #fff; border-radius: 999px; }
  .hotline__icon { width: 42px; height: 42px; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
  .hero__badge { right: 8px; }
  .services, .news { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: span 2; }
  .why { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .process li:nth-child(2)::after { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .promo { grid-template-columns: 1fr; }
  .promo__media { min-height: 0; aspect-ratio: 16 / 9; }
  .promo__copy { padding: 32px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .clients__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .topbar__item:nth-child(2) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .logo__text small { display: none; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section__head { margin-bottom: 32px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }

  .hero__lead { font-size: 16px; }
  .hero__ctas .btn { width: 100%; }
  .hero__stats li { padding-right: 8px; }
  .hero__stats li + li { padding-left: 10px; }
  .hero__stats b { font-size: 22px; }
  .hero__stats span { font-size: 12px; }
  .hero__badge { top: -14px; right: 6px; padding: 8px 12px; }
  .hero__badge b { font-size: 14px; }

  .clients__list { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .clients__list::-webkit-scrollbar { display: none; }
  .clients__list li { flex-shrink: 0; }

  .services, .news, .why { grid-template-columns: 1fr; }
  .services .service:last-child { grid-column: auto; }
  .service { padding: 24px; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product__img { padding: 10px; }
  .product__body { padding: 12px; }
  .product__name { font-size: 14px; }
  .product__cta { font-size: 13px; }
  .why__item { padding: 24px; }
  .process { grid-template-columns: 1fr; row-gap: 20px; }
  .process li { padding: 0 0 0 54px; min-height: 38px; }
  .process li::after { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }
  .gallery__item:last-child { display: none; }
  .promo__copy { padding: 24px; }
  .news-list a { flex-direction: column; gap: 2px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .footer__bottom { flex-direction: column; }

  .fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar a { display: grid; place-items: center; height: 46px; border-radius: 10px; font-weight: 700; font-size: 14px; background: var(--tint); }
  .mbar .mbar__call { background: var(--red); color: #fff; }
}

/* =========================================================
   TRANG CON
   ========================================================= */

/* ---------- Nút bổ sung ---------- */
.btn--red { --edge: #991b1b; background: linear-gradient(180deg, #ff5a52, #e8322b); color: #fff; }
.btn--red:hover { background: linear-gradient(180deg, #ff6b63, #d92a23); }
.btn--zalo { --edge: #003c99; background: linear-gradient(180deg, #2b86ff, #0068ff); color: #fff; }
.btn--zalo:hover { background: linear-gradient(180deg, #4795ff, #005ee6); }
.btn--outline { --edge: #cfd7e4; border-color: #cfd7e4; color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { --edge: #b8c4d8; background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef4ff; }
.btn svg { flex-shrink: 0; }

/* ---------- Đầu trang con ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 64px;
  background: radial-gradient(900px 400px at 90% 0%, rgba(30, 111, 232, .35), transparent 60%), var(--ink); }
.page-hero--compact { padding: 36px 0 44px; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 14px 0 12px; }
.page-hero p { color: #c7d2ea; font-size: 17px; max-width: 720px; margin: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.page-hero__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted-dark); }
.crumb a:hover { color: #fff; }
.crumb > * + *::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumb span { color: #fff; font-weight: 500; }
.crumb--light { padding: 20px 0; color: var(--muted); }
.crumb--light a:hover { color: var(--blue); }
.crumb--light span { color: var(--text); }

/* ---------- Danh mục sản phẩm (shop) ---------- */
.section--shop { padding: 40px 0 96px; }
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.shop__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
.shop__side > div:last-child { display: grid; gap: 16px; }
.shop__side-head, .shop__backdrop { display: none; }
.side-box { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-box__title { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.side-box--dark { background: var(--ink); color: #fff; border: 0; display: grid; gap: 10px; }
.side-box--dark h3 { font-size: 17px; margin: 0; }
.side-box--dark p { color: var(--muted-dark); font-size: 14px; margin: 0 0 4px; }
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree > li + li { border-top: 1px dashed var(--line); }
.cat-tree a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 4px; font-size: 14px; font-weight: 600; color: #334155; border-radius: 6px; }
.cat-tree a span { font-weight: 500; color: var(--muted); font-size: 12px; background: var(--tint); border-radius: 999px; padding: 1px 8px; align-self: center; }
.cat-tree a:hover, .cat-tree a.is-active { color: var(--blue); }
.cat-tree a.is-active span { background: var(--blue); color: #fff; }
.cat-tree ul { display: none; padding: 0 0 8px 12px; border-left: 2px solid var(--line); margin-left: 6px; }
.cat-tree li.is-open > ul { display: block; }
.cat-tree ul a { font-weight: 500; padding: 6px 4px; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; font-weight: 500; }
.side-links a:hover { color: var(--blue); }

.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar__filter { display: none; padding: 10px 16px; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; border: 1px solid #cfd7e4; border-radius: 999px; background: #fff; color: var(--muted); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 232, .12); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: none; min-width: 0; color: var(--text); }
.toolbar__count { font-size: 14px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid #cfd7e4; border-radius: 10px; background: #fff; color: var(--text); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.active-filters button { border: 0; background: #e8f0ff; color: var(--blue); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.products--shop { grid-template-columns: repeat(3, 1fr); }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 1px dashed #cfd7e4; border-radius: var(--radius); background: #fff; }
.empty a { color: var(--blue); font-weight: 600; }
.empty--page { margin: 64px auto; max-width: 640px; }

.product__img--photo { padding: 0; }
.product__img--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.product__chips { list-style: none; margin: -6px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product__chips li { font-size: 12px; font-weight: 600; color: #334155; background: var(--tint); padding: 3px 8px; border-radius: 6px; }

/* ---------- Chi tiết sản phẩm ---------- */
.pd { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; padding-bottom: 64px; align-items: start; }
.pd__gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.pd__img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; cursor: zoom-in; overflow: hidden; }
.pd__img img { max-height: 100%; object-fit: contain; transition: transform .4s; }
.pd__img:hover img { transform: scale(1.04); }
.pd__img--photo { padding: 0; aspect-ratio: 4 / 3; }
.pd__img--photo img { width: 100%; height: 100%; object-fit: cover; }
.pd__zoom { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(10, 15, 30, .75); color: #fff; }
.pd__cat { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.pd__info h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 8px 0 16px; }
.pd__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: 14px; }
.pd__meta div { display: flex; gap: 8px; }
.pd__meta dt { color: var(--muted); }
.pd__meta dd { margin: 0; font-weight: 600; }
.pd__meta a { color: var(--blue); }
.pd__meta .ok { color: var(--green); }
.pd__sum { color: #334155; font-size: 16px; }
.pd__hl { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pd__hl li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.pd__hl small { display: block; font-size: 12px; color: var(--muted); }
.pd__hl b { font-size: 15px; }
.pd__price { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--red); background: #fff6f5; margin-bottom: 16px; }
.pd__price small { display: block; font-size: 12px; color: var(--muted); }
.pd__price b { font-size: 20px; color: var(--red); }
.pd__price span { font-size: 13px; color: var(--muted); }
.pd__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd__btns .btn:first-child { grid-column: 1 / -1; }
.pd__trust { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; font-size: 13px; color: var(--muted); }
.pd__trust li { padding-left: 28px; position: relative; }
.pd__trust li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pd__trust b { display: block; color: var(--text); font-size: 14px; }
.section--pd { padding: 56px 0; }
.pd__lower { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.pd__tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px 28px; min-width: 0; }
.pd__form { position: sticky; top: calc(var(--header-h) + 16px); box-shadow: var(--shadow); }
.form__hint { color: var(--muted); font-size: 14px; margin: -8px 0 0; }

.tabs--line { gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs--line .tab { border: 0; border-radius: 0; background: none; padding: 16px 18px; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); }
.tabs--line .tab.is-active { background: none; color: var(--text); border-bottom-color: var(--blue); }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; color: #334155; background: var(--tint); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line); }

/* ---------- Nội dung bài viết / văn bản ---------- */
.prose { font-size: 16px; line-height: 1.75; color: #1e293b; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose .ticks { border: 0; padding: 0; margin: 0 0 1.2em; }
.prose figure { margin: 1.6em 0; }
.prose figure button { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: none; }
.prose figure img { width: 100%; }

/* ---------- Dải CTA cuối trang ---------- */
.cta-band { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 14px 14px; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #dbe7ff; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .5); }

/* ---------- Tin tức & dự án ---------- */
.post__img { position: relative; }
.post__type { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: #e8f0ff; color: var(--blue); }
.post__img .post__type { position: absolute; left: 12px; top: 12px; background: rgba(10, 15, 30, .78); color: #fff; }
.post--big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.post--big .post__img { aspect-ratio: auto; min-height: 320px; }
.post--big .post__body { padding: 36px; align-self: center; }
.post--big h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 10px 0 12px; }
.post--big p { color: var(--muted); margin: 0; }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-row .tabs { margin: 0; }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project__img { aspect-ratio: 16 / 9; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover .project__img img { transform: scale(1.05); }
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__body h3 { font-size: 20px; margin: 0; }
.project__body p { color: var(--muted); margin: 0; flex: 1; }
.project__body .post__type { align-self: flex-start; }

.masonry { columns: 4 240px; column-gap: 14px; }
.masonry__item { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; background: #ddd; cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform .5s; }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-size: 13px; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: #fff; padding: 26px 22px; }
.stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; background: var(--rgb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Bài viết chi tiết ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article__head { max-width: 860px; }
.article__head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 14px 0 10px; }
.article__meta { color: var(--muted-dark); font-size: 14px; }
.article__cover { margin: -40px 0 36px; border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow-lg); position: relative; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__cta { margin-top: 36px; padding: 28px; border-radius: var(--radius); background: var(--tint); border-left: 4px solid var(--blue); }
.article__cta h3 { margin-top: 0; }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.article__nav a { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.article__nav a:hover { border-color: var(--blue); color: var(--blue); }
.article__nav a.next { text-align: right; }
.article__nav small { display: block; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 20px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-list a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.mini-list img { width: 76px; height: 58px; object-fit: cover; border-radius: 8px; background: var(--tint); }
.mini-list b { display: block; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-list a:hover b { color: var(--blue); }
.mini-list time { font-size: 12px; color: var(--muted); }

/* ---------- Tài liệu (cẩm nang, chính sách) ---------- */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 16px); padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.toc a:hover, .toc a.is-current { background: #eef4ff; color: var(--blue); }
.doc__sec { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: calc(var(--header-h) + 16px); }
.doc__sec + .doc__sec { margin-top: 20px; }
.doc__sec h2 { display: flex; align-items: center; gap: 14px; font-size: 24px; margin-bottom: 18px; }
.doc__num { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; font-weight: 800; color: #fff; background: var(--blue); }
.doc__sec--warn { border-color: #ffd5d2; background: #fff8f7; }
.note { padding: 14px 16px; border-radius: 10px; background: #fff6e6; border: 1px solid #ffe0a3; font-size: 15px; }
.note b { color: #b45309; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.do-dont > div { padding: 16px 18px; border-radius: 12px; }
.do-dont .do { background: #eaf8ee; }
.do-dont .dont { background: #fdeceb; }
.do-dont h4 { margin-bottom: 8px; }
.do-dont ul { margin: 0; padding-left: 18px; font-size: 15px; }
.seq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 14px; }
.seq span { padding: 8px 14px; border-radius: 999px; background: var(--tint); font-weight: 600; font-size: 14px; }
.seq i { font-style: normal; color: var(--muted); }

/* ---------- Dịch vụ ---------- */
.services--6 { grid-template-columns: repeat(3, 1fr); }
.service__link { margin-top: 18px; }
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; }
.solution img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.solution:hover img { transform: scale(1.06); }
.solution::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 8, 18, .9)); }
.solution > div { position: relative; z-index: 1; padding: 22px; }
.solution h3 { font-size: 20px; margin-bottom: 6px; }
.solution p { color: #d5def0; font-size: 14px; margin: 0 0 8px; }
.solution small { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.steps li::before { content: "0" counter(s); display: block; font-size: 28px; font-weight: 800; background: var(--rgb); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps span { font-size: 14px; color: var(--muted); }
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Giới thiệu ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.split p { color: var(--muted); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.vm > div { padding: 20px; border-radius: 12px; background: var(--tint); }
.vm b { display: block; margin-bottom: 6px; color: var(--blue); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.vm p { margin: 0; color: var(--text); }
.legal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.legal > div { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.legal h3 { font-size: 18px; }
.legal p { color: var(--muted-dark); margin: 0; font-size: 15px; }

/* ---------- Phần mềm ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.feature h3 { font-size: 19px; display: flex; gap: 12px; align-items: center; }
.feature h3 i { font-style: normal; flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 15px; background: var(--blue); }
.feature p, .feature li { color: var(--muted); font-size: 15px; }
.feature ul { padding-left: 18px; margin: 0; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perks li { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #dbe4f7; font-size: 15px; }
.perks b { display: block; color: #fff; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shots button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #111; cursor: zoom-in; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shots button:hover img { transform: scale(1.05); }
/* ---------- Kho phần mềm ---------- */
.sw-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }
.search--hero { flex: 1 1 520px; max-width: 720px; height: 54px; padding: 0 18px; border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.search--hero input { font-size: 16px; }
.sw-hero__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted-dark); font-size: 14px; }
.sw-hero__stats b { color: #fff; font-size: 18px; }
.sw { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.sw__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
.sw-nav { display: grid; gap: 2px; }
.sw-nav__group { display: block; margin: 12px 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sw-nav a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.sw-nav a:hover { background: var(--tint); }
.sw-nav a.is-active { background: #e8f0ff; color: var(--blue); }
.sw-nav em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.sw-nav .sw-logo { width: 28px; height: 28px; border-radius: 7px; }
.sw-logo { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.sw-logo img { width: 100%; height: 100%; object-fit: contain; }
.sw-logo i { font-style: normal; font-weight: 800; font-size: 13px; color: var(--blue); }
.sw-kinds { margin: 0; flex: 1; min-width: 0; }
.sw-note { margin: 0 0 20px; font-size: 14px; }
.sw-brand { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.sw-brand + .sw-brand { margin-top: 20px; }
.sw-brand__head { display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: var(--tint); border-bottom: 1px solid var(--line); }
.sw-brand__head h2 { font-size: 20px; margin: 0 0 2px; }
.sw-brand__head h2 small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.sw-brand__head p { margin: 0; font-size: 14px; color: var(--muted); }
.sw-list { list-style: none; margin: 0; padding: 0; }
.sw-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); }
.sw-item:first-child { border-top: 0; }
.sw-item:hover { background: #fafbfe; }
.sw-kind { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); font-size: 17px; }
.sw-item__main b { font-size: 15px; margin-right: 8px; }
.sw-item__main small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.sw-badge { display: inline-block; vertical-align: 1px; margin: 2px 6px 2px 0; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--tint); color: #334155; }
.sw-badge--new { background: #e6f7ea; color: #1d8a3a; }
.sw-badge--ok { background: #e8f0ff; color: var(--blue); }
.sw-badge--warn { background: #fff4e0; color: #b45309; }
.sw-item__act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.sw-btn { padding: 7px 12px; border-radius: 8px; border: 1px solid #cfd7e4; font-size: 13px; font-weight: 600; white-space: nowrap; color: #334155; background: #fff; }
.sw-btn:hover { border-color: var(--blue); color: var(--blue); }
.sw-btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.sw-btn--primary:hover { background: var(--blue-d); color: #fff; }
.sw-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sw-brand-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sw-brand-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.sw-brand-card .sw-logo { width: 44px; height: 44px; border-radius: 10px; }
.sw-brand-card b { display: block; font-size: 15px; }
.sw-brand-card small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) {
  .sw { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sw__side, .sw__main { min-width: 0; }
  .sw__side { grid-template-columns: minmax(0, 1fr); }
  .sw-kinds { flex-basis: 100%; }
  .sw__side { position: static; max-height: none; overflow: visible; }
  .sw__side .side-box:first-child { padding: 12px; }
  .sw__side .side-box__title, .sw-nav__group, .sw__help { display: none; }
  .sw-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .sw-nav::-webkit-scrollbar { display: none; }
  .sw-nav a { flex-shrink: 0; border: 1px solid var(--line); padding: 6px 10px 6px 6px; }
  .sw-brands { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sw-item { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 16px; }
  .sw-kind { width: 32px; height: 32px; font-size: 15px; }
  .sw-item__act { grid-column: 2; justify-content: flex-start; }
  .sw-brand__head { padding: 14px 16px; }
  .sw-brand__head .sw-logo { width: 44px; height: 44px; }
  .sw-brands { grid-template-columns: 1fr 1fr; }
  .search--hero { flex-basis: 100%; height: 50px; }
  .search--hero input { font-size: 15px; }
}

/* ---------- Liên hệ ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.contact-card { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); display: grid; gap: 6px; align-content: start; }
.contact-card .contact__ic { margin-bottom: 8px; }
.contact-card small { color: var(--muted); font-size: 13px; }
.contact-card b, .contact-card a { font-weight: 700; font-size: 16px; }
.contact-card a:hover { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 100%; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Responsive trang con ---------- */
@media (max-width: 1100px) {
  .products--shop { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .toolbar__filter { display: inline-flex; }
  .shop__side {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(340px, 88vw); max-height: none; padding: 0 16px 24px;
    background: var(--tint); transform: translateX(-100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .shop__side-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; padding: 16px 0; background: var(--tint); font-size: 18px; }
  .shop__side-head button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 24px; line-height: 1; }
  .shop__backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(5, 8, 18, .5); }
  .shop.filters-open .shop__side { transform: none; }
  .shop.filters-open .shop__backdrop { display: block; }
  .products--shop { grid-template-columns: repeat(3, 1fr); }
  .pd, .pd__lower { grid-template-columns: 1fr; gap: 28px; }
  .pd__gallery, .pd__form, .aside, .toc, .shop__side-wrap { position: static; }
  .page-hero__grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .article, .doc { grid-template-columns: 1fr; gap: 28px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { background: var(--tint); }
  .post--big { grid-template-columns: 1fr; }
  .post--big .post__img { min-height: 0; aspect-ratio: 16 / 9; }
  .post--big .post__body { padding: 20px; }
  .solutions, .legal { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .article__cover { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .page-hero { padding: 36px 0 44px; }
  .page-hero--compact { padding: 24px 0 32px; }
  .page-hero p { font-size: 15px; }
  .toolbar { gap: 8px; }
  .toolbar__count { order: 3; flex: 1; }
  .sort { order: 4; }
  .search { order: 2; flex-basis: 100%; }
  .products--shop { grid-template-columns: 1fr 1fr; }
  .pd { padding-bottom: 36px; }
  .pd__img { padding: 18px; }
  .pd__meta, .pd__hl, .pd__trust { grid-template-columns: 1fr; }
  .pd__btns { grid-template-columns: 1fr; }
  .pd__tabs { padding: 0 16px 20px; }
  .tabs--line .tab { padding: 14px 12px; }
  .spec th { width: 45%; }
  .spec th, .spec td { padding: 10px; font-size: 14px; }
  .projects, .features, .solutions, .legal, .vm, .do-dont, .perks, .contact-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry__item { margin-bottom: 8px; }
  .doc__sec { padding: 22px 18px; }
  .doc__sec h2 { font-size: 20px; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav a.next { text-align: left; }
  .article__cover { margin-top: -28px; border-radius: 12px; }  .contact-cards { margin-top: -28px; }
}

/* VNLED-HOTLINE:BEGIN - lam noi bat so hotline */
a[href^="tel:"]:not(.btn):not([class*="btn"]):not([class*="float"]):not([class*="fab"]) {
	color: #ffd54a;
	font-weight: 800;
	letter-spacing: .02em;
	text-shadow: 0 0 12px rgba(255, 213, 74, .45);
	white-space: nowrap;
}
a[href^="tel:"]:not(.btn):not([class*="btn"]):not([class*="float"]):not([class*="fab"]):hover {
	color: #fff;
	text-shadow: 0 0 14px rgba(255, 213, 74, .8);
}
.pd__price + * a[href^="tel:"], .contact a[href^="tel:"] { font-size: 1.15em; }
@keyframes vnledHot { 0%,100% { text-shadow: 0 0 6px rgba(255,213,74,.3); } 50% { text-shadow: 0 0 16px rgba(255,213,74,.85); } }
header a[href^="tel:"]:not([class*="btn"]):not([class*="float"]) { animation: vnledHot 2.4s ease-in-out infinite; }

.hotline { font-size: 19px; }
.hotline small { color: var(--muted); text-shadow: none; }
.mbar__call { font-size: 1.1em; }
/* VNLED-HOTLINE:END */
