:root {
  --navy-950: #021228;
  --navy-900: #031730;
  --navy-800: #0a2350;
  --navy-700: #14316c;
  --red: #d71920;
  --red-600: #b5131a;
  --gold: #f0cd85;
  --gold-2: #c99a4a;
  --ink: #0f1b33;
  --muted: #5b6478;
  --line: #e4e8f0;
  --soft: #f4f6fa;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(3, 23, 48, .10);
  --wrap: 1200px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", var(--font);
  --font-serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1em; height: 1em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 6px; font-weight: 600; font-size: 14px; border: 1.5px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn svg.i { width: 16px; height: 16px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(215, 25, 32, .28); }
.btn-red:hover { background: var(--red-600); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border-color: var(--red); color: var(--red); background: #fff; padding: 9px 18px; font-size: 13px; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 86px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 74px; width: auto; }
.logo small { font-size: 6.4px; letter-spacing: .02em; color: var(--navy-800); font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; list-style: none; }
.nav { padding: 0; margin-block: 0; }
.nav a.nav-link { white-space: nowrap; display: flex; align-items: center; gap: 4px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: #1b2640; border-radius: 6px; position: relative; }
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--red); }
.nav a.nav-link.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.nav .chev { width: 12px; height: 12px; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 8px; display: none; border: 1px solid var(--line); }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; }
.dropdown a:hover { background: var(--soft); color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: #1b2640; }
.icon-btn:hover { background: var(--soft); color: var(--red); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 62%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(3, 23, 48, .82) 18%, rgba(3, 23, 48, .25) 48%, rgba(3, 23, 48, 0) 70%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 22% 62%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 31% 32%, #cfe0ff 50%, transparent 52%), radial-gradient(1px 1px at 8% 78%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 40% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 17% 45%, #fff 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 36% 84%, #dbe7ff 50%, transparent 52%), radial-gradient(1px 1px at 4% 30%, #fff 50%, transparent 52%);
  background-size: 360px 300px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 80% at 15% 40%, rgba(40, 70, 160, .35), transparent 70%); }
.hero-in { min-height: clamp(520px, 72vh, 640px); display: flex; align-items: center; padding-block: 64px; }
.hero-copy { max-width: 640px; }
.eyebrow { font-family: var(--font-head); letter-spacing: .18em; font-size: 13px; font-weight: 500; text-transform: uppercase; color: #dfe6f5; margin: 0 0 14px; }
.hero h1 { font-family: var(--font-serif); font-weight: 600; text-transform: uppercase; margin: 0; line-height: 1.12; }
.hero h1 .gold { display: block; white-space: nowrap; font-size: clamp(28px, 4vw, 52px); background: linear-gradient(180deg, #fbe3a8 0%, var(--gold) 45%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .01em; }
.hero h1 .gold em { font-style: normal; font-size: .72em; }
.hero h1 .sub { display: block; font-size: clamp(22px, 2.8vw, 33px); color: #fff; font-weight: 500; margin-top: 6px; }
.hero p.lead { color: #d8e0f0; margin: 22px 0 30px; font-size: 15.5px; max-width: 470px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.play { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--navy-900); display: grid; place-items: center; }
.play svg { width: 10px; height: 10px; }

/* ---------- Features strip ---------- */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-block: 26px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.feature b { display: block; font-size: 13.5px; color: var(--navy-800); font-weight: 700; line-height: 1.35; }
.feature span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }

/* ---------- Section heads ---------- */
section { position: relative; }
.sec { padding-block: 64px; }
.sec-soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.sec-head h2, .h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; color: var(--navy-800); margin: 0 0 8px; letter-spacing: .01em; }
.sec-head p { margin: 0; color: var(--muted); font-size: 14px; }
.sec-head-row { position: relative; }
.sec-head-row .btn-outline { position: absolute; right: 0; top: 4px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(3, 23, 48, .06); border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; cursor: pointer; text-align: left; padding: 0; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-card .ph { aspect-ratio: 172 / 112; overflow: hidden; }
.p-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .ph img { transform: scale(1.05); }
.p-card .body { padding: 16px 16px 18px; display: flex; gap: 10px; align-items: flex-start; flex: 1; }
.p-card .body .circle-arrow { align-self: flex-end; }
.p-card h3 { font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--navy-800); text-transform: uppercase; margin: 0 0 6px; }
.p-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.circle-arrow { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #9aa3b5; display: grid; place-items: center; flex: none; color: #5b6478; transition: .2s; }
.circle-arrow svg { width: 14px; height: 14px; }
.p-card:hover .circle-arrow { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Catalog (sản phẩm thật, quản lý trong /admin) ---------- */
.catalog { margin-top: 44px; scroll-margin-top: 100px; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.cat-tab { border: 1px solid #d5dbe7; background: #fff; border-radius: 99px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: #1b2640; transition: .2s; }
.cat-tab:hover { border-color: var(--red); color: var(--red); }
.cat-tab.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.cat-tab small { opacity: .65; margin-left: 4px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.prod:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prod .ph { aspect-ratio: 1 / 1; background: #0a0a0d; overflow: hidden; }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; }
.prod .ph.noimg { display: grid; place-items: center; text-align: center; background: radial-gradient(120% 90% at 50% 0%, #17336f 0%, var(--navy-900) 70%); color: var(--gold); padding: 16px; }
.prod .ph.noimg svg { width: 46px; height: 46px; margin: 0 auto 10px; display: block; }
.prod .ph.noimg b { display: block; font-family: var(--font-serif); font-size: 17px; line-height: 1.3; color: #fbe3a8; font-weight: 500; }
.prod .ph.noimg small { display: block; margin-top: 8px; font-size: 11px; color: #9fb0cf; letter-spacing: .04em; }
.prod .info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod .grp { font-size: 11.5px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.prod h3 { margin: 0; font-size: 15px; color: var(--navy-800); line-height: 1.35; }
.prod .code { font-size: 12px; color: var(--muted); }
.prod p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.prod .quote { margin-top: auto; padding-top: 10px; }
.prod .quote button { width: 100%; border: 1.5px solid var(--red); color: var(--red); background: #fff; border-radius: 6px; padding: 8px; font-weight: 600; font-size: 13px; cursor: pointer; transition: .2s; }
.prod .quote button:hover { background: var(--red); color: #fff; }

/* ---------- Why ---------- */
.why { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.why-media { position: absolute; inset: 0 0 0 auto; width: 44%; z-index: -1; }
.why-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(3, 23, 48, .55) 35%, rgba(3, 23, 48, 0) 70%); }
.why::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 90% at 10% 30%, rgba(40, 70, 160, .35), transparent 70%); }
.why-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding-block: 64px; align-items: center; }
.why h2 { font-family: var(--font-head); font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin: 0 0 18px; text-transform: uppercase; }
.why p { color: #d3dbec; margin: 0 0 26px; max-width: 470px; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.why-card { background: #fff; color: var(--ink); border-radius: 8px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.why-card .ic { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(215, 25, 32, .35); display: grid; place-items: center; color: var(--red); flex: none; }
.why-card .ic svg { width: 19px; height: 19px; }
.why-card b { display: block; font-size: 13.5px; color: var(--navy-800); line-height: 1.3; }
.why-card span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ---------- Gallery / projects ---------- */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid #c7cdd9; background: #fff; display: grid; place-items: center; cursor: pointer; color: #4a5368; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.car-btn:hover { border-color: var(--red); color: var(--red); }
.car-btn svg { width: 16px; height: 16px; }
.car-btn.prev { left: -48px; }
.car-btn.next { right: -48px; }
.proj { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 159 / 105; cursor: zoom-in; border: 0; padding: 0; background: var(--navy-900); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj:hover img { transform: scale(1.05); }
.proj .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(2, 10, 25, .85)); color: #fff; font-size: 12.5px; display: flex; gap: 6px; align-items: center; text-align: left; }
.proj .cap svg { width: 14px; height: 14px; color: #fff; flex: none; }
.center { text-align: center; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.step { text-align: center; position: relative; padding: 0 6px; }
.step .ic { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; border: 1.5px solid #cdd6ea; display: grid; place-items: center; color: #2f63d8; background: #fff; box-shadow: 0 4px 12px rgba(20, 49, 108, .08); }
.step .ic svg { width: 28px; height: 28px; }
.step .no { font-family: var(--font-head); color: var(--red); font-weight: 800; font-size: 14px; }
.step h3 { font-size: 14px; font-weight: 500; margin: 2px 0 0; color: #1b2640; line-height: 1.45; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 24px; right: -14px; width: 20px; height: 10px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='%237b8498' stroke-width='1.4'/%3E%3C/svg%3E"); }
.policy { margin: 30px auto 0; max-width: 820px; text-align: center; background: var(--soft); border: 1px dashed #cdd5e3; border-radius: 10px; padding: 12px 18px; font-size: 13.5px; color: #3b4559; }

/* ---------- CTA + form ---------- */
.cta { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .55; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(3, 23, 48, .85) 40%, rgba(3, 23, 48, .55) 70%, rgba(3, 23, 48, .85) 100%); }
.cta-in { display: grid; grid-template-columns: 1fr 440px; gap: 48px; padding-block: 56px; align-items: center; }
.cta h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; font-weight: 800; text-transform: uppercase; margin: 0 0 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #e7ecf6; }
.checks .box { width: 24px; height: 24px; border-radius: 4px; background: #fff; color: var(--navy-900); display: grid; place-items: center; flex: none; }
.checks .box svg { width: 15px; height: 15px; }
.form-card { background: #fff; color: var(--ink); border-radius: 12px; padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.form-card h3 { display: flex; gap: 10px; align-items: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; margin: 0; color: var(--navy-800); text-transform: uppercase; }
.form-card h3 svg { width: 26px; height: 26px; color: var(--red); }
.form-card .hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 16px; }
.field { position: relative; margin-bottom: 10px; }
.field svg { position: absolute; left: 12px; top: 13px; width: 16px; height: 16px; color: #8a93a6; pointer-events: none; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dfe3ea; border-radius: 6px; padding: 10px 12px 10px 38px; font-size: 14px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 76px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23555' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center/14px; color: #1b2640; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(20, 49, 108, .12); }
.hp { position: absolute; left: -9999px; }
.form-card .btn-red { width: 100%; margin-top: 4px; padding: 13px; text-transform: uppercase; }
.form-msg { font-size: 13px; margin-top: 10px; display: flex; gap: 6px; align-items: center; justify-content: center; color: #4a5368; }
.form-msg svg { width: 15px; height: 15px; color: #1aa260; }
.form-msg.err { color: var(--red); }
.form-done { text-align: center; padding: 30px 6px; }
.form-done .ok { width: 56px; height: 56px; border-radius: 50%; background: #e7f7ee; color: #1aa260; display: grid; place-items: center; margin: 0 auto 14px; }
.form-done .ok svg { width: 28px; height: 28px; }

/* ---------- Customers ---------- */
.cust-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
.cust { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 2px 10px rgba(3, 23, 48, .05); display: flex; flex-direction: column; }
.cust .q { width: 28px; height: 22px; color: #2f63d8; margin-bottom: 10px; }
.cust p { margin: 0 0 18px; color: #3b4559; font-size: 14px; flex: 1; }
.cust .who { display: flex; gap: 12px; align-items: center; }
.cust .av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; display: grid; place-items: center; flex: none; }
.cust .av svg { width: 22px; height: 22px; }
.cust b { display: block; font-size: 14px; color: var(--navy-800); }
.cust span { font-size: 12.5px; color: var(--muted); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.n-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.n-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.n-card .ph { aspect-ratio: 16 / 10; background: var(--navy-900); overflow: hidden; }
.n-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.n-card .body { padding: 16px 18px 20px; }
.n-card .meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.n-card .tag { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.n-card h3 { font-size: 16.5px; line-height: 1.4; margin: 6px 0 8px; color: var(--navy-800); }
.n-card p { margin: 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c9d2e3; font-size: 13.5px; }
.foot-in { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 1.1fr; gap: 36px; padding-block: 48px 30px; }
.foot-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot-logo img { height: 110px; width: auto; }
.foot-logo small { font-size: 12px; letter-spacing: .04em; color: var(--gold); }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 13.5px; text-transform: uppercase; margin: 0 0 14px; letter-spacing: .02em; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; margin-top: 2px; color: #fff; flex: none; }
.contact-list a:hover, .links a:hover { color: #fff; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.links a::before { content: "- "; }
.socials { display: flex; gap: 10px; margin-bottom: 18px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: .2s; }
.socials a:hover { transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.s-fb { background: #1877f2; } .s-yt { background: #ff0000; } .s-tt { background: #000; } .s-zl { background: #0068ff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; font-size: 12.5px; color: #93a0b8; flex-wrap: wrap; }

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.float-contact a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.float-contact a svg { width: 24px; height: 24px; }
.fc-phone { background: var(--red); animation: pulse 2s infinite; }
.fc-zalo { background: #0068ff; font-weight: 800; font-size: 13px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .5); } 70% { box-shadow: 0 0 0 14px rgba(215, 25, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 25, 32, 0); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(2, 8, 20, .92); z-index: 100; display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox .x { position: absolute; top: 16px; right: 16px; color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- Article page ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding-block: 48px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: -1; }
.page-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); margin: 6px 0 8px; line-height: 1.25; }
.crumbs { font-size: 13px; color: #b8c3d9; }
.crumbs a:hover { color: #fff; }
.toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; min-width: min(320px, 100%); }
.search svg { width: 16px; height: 16px; color: var(--muted); }
.search input { border: 0; outline: 0; padding: 10px 0; flex: 1; min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.chip.on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.prose { font-size: 16px; line-height: 1.8; color: #222b3d; }
.prose img { border-radius: 8px; height: auto; margin: 18px 0; }
.prose h2, .prose h3 { color: var(--navy-800); line-height: 1.35; margin: 28px 0 10px; }
.prose a { color: var(--red); text-decoration: underline; }
.prose blockquote { margin: 18px 0; padding: 10px 18px; border-left: 4px solid var(--red); background: var(--soft); border-radius: 0 8px 8px 0; }
.prose .cover { width: 100%; border-radius: 12px; margin: 0 0 24px; }
.aside-box { background: var(--soft); border-radius: 12px; padding: 20px; position: sticky; top: 96px; }
.aside-box h4 { margin: 0 0 10px; font-family: var(--font-head); color: var(--navy-800); text-transform: uppercase; font-size: 14px; }
.aside-box .mini { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; }
.aside-box .mini img { width: 72px; height: 52px; object-fit: cover; border-radius: 6px; flex: none; background: var(--navy-900); }

/* ---------- Responsive ---------- */
@media (max-width: 1290px) {
  .car-btn.prev { left: -10px; } .car-btn.next { right: -10px; }
}
@media (max-width: 1100px) {
  .features-in { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .step:nth-child(3)::after { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: 86px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 20px; gap: 0; box-shadow: var(--shadow); display: none; max-height: calc(100vh - 86px); overflow: auto; }
  .nav.open { display: flex; }
  .nav a.nav-link { padding: 12px 6px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.nav-link.active::after { display: none; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 960px) {
  .header-cta { display: none; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .why-in, .cta-in, .article { grid-template-columns: 1fr; }
  .why-media { width: 100%; opacity: .35; }
  .track { grid-auto-columns: calc((100% - 16px) / 2); }
  .cust-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-head-row .btn-outline { position: static; margin-top: 12px; }
  .hero-media { width: 100%; opacity: .55; }
  .aside-box { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .header-in { height: 72px; }
  .nav { inset: 72px 0 auto 0; }
  .logo img { height: 60px; }
  .sec { padding-block: 48px; }
  .hero-in { min-height: 520px; padding-block: 48px; }
  .features-in { grid-template-columns: 1fr 1fr; }
  .features-in .feature:last-child { grid-column: 1 / -1; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-card .body { padding: 12px; }
  .p-card h3 { font-size: 12.5px; }
  .p-card p { font-size: 12px; }
  .p-card .circle-arrow { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .cat-tab { flex: none; }
  .prod h3 { font-size: 14px; }
  .prod .ph.noimg b { font-size: 15px; }
  .track { grid-auto-columns: 82%; }
  .cust-track { grid-auto-columns: 88%; }
  .car-btn { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .cta-in { padding-block: 44px; }
  .form-card { padding: 18px; }
  .news-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
  .float-contact a { width: 44px; height: 44px; }
}
