/* =========================================================
   ETS Website - giao diện public
   Màu lấy từ logo: navy -> blue -> cyan
   ========================================================= */
:root {
    --navy-950: #041233;
    --navy-900: #061a44;
    --navy: #0b2a6b;
    --blue-700: #0a47a8;
    --blue: #0b5fd6;
    --blue-500: #1479e6;
    --cyan: #22d3ee;
    --cyan-600: #06b6d4;
    --ink: #0b1b3a;
    --text: #334462;
    --muted: #64748b;
    --line: #e3eaf5;
    --line-strong: #cfdaea;
    --tint: #f4f7fc;
    --tint-2: #eaf2ff;
    --white: #fff;
    --danger: #dc2626;
    --success: #059669;
    --grad: linear-gradient(100deg, #0b3a8f 0%, #1479e6 55%, #22d3ee 100%);
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 58, .06), 0 1px 3px rgba(11, 27, 58, .05);
    --shadow: 0 10px 30px -12px rgba(11, 42, 107, .22);
    --shadow-lg: 0 24px 60px -20px rgba(11, 42, 107, .35);
    --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.18em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 95, 214, .6); }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 10px 22px -8px rgba(11, 95, 214, .7); }
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(34, 211, 238, .8); }
.btn-accent:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--tint-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint-2); color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--tint-2); color: var(--blue); }
.icon-btn .icon { width: 21px; height: 21px; }
.icon-btn.danger:hover { background: #fdecec; color: var(--danger); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-900); color: #c7d4ee; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-slogan { letter-spacing: .04em; color: #8fb3ff; }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a, .topbar-links span { color: #c7d4ee; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 42, 107, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; border-left: 1px solid var(--line-strong); padding-left: 12px; }
.brand-text strong { color: var(--ink); font-size: 14px; font-weight: 700; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link.active { background: var(--tint-2); }
.nav-link .caret { width: 15px; height: 15px; transition: transform .2s; }
.mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover .caret { transform: rotate(180deg); }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: 15px; }
.mega-link small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.mega-link:hover { background: var(--tint); color: var(--blue); }
.mega-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tint-2); color: var(--blue); flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.quote-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cyan-600); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.quote-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }
.search-bar { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-bar.open { display: block; }
.search-inner { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.search-inner input { flex: 1; border: 0; outline: 0; font-size: 16px; padding: 8px 0; background: transparent; }
.search-inner > .icon { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, rgba(34, 211, 238, .25), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(20, 121, 230, .35), transparent 60%), linear-gradient(160deg, var(--navy-950) 0%, var(--navy) 60%, #0b3a8f 100%); color: #dbe7ff; overflow: hidden; padding: 72px 0 0; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.px { position: absolute; width: 22px; height: 22px; border-radius: 5px; background: var(--cyan); opacity: .7; animation: float 6s ease-in-out infinite; }
.px1 { top: 14%; right: 9%; }
.px2 { top: 14%; right: calc(9% + 30px); opacity: .45; animation-delay: -1s; }
.px3 { top: calc(14% + 30px); right: 9%; opacity: .55; animation-delay: -2s; }
.px4 { top: calc(14% + 30px); right: calc(9% + 60px); opacity: .3; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: 440px; }
.hero-slides { position: relative; min-height: 340px; }
.hero-slide { display: none; animation: fadeUp .6s ease both; }
.hero-slide.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { font-size: 18px; color: #c4d4f5; max-width: 560px; margin-bottom: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .35); color: #a5f0fc; font-size: 13px; font-weight: 500; margin-bottom: 20px; letter-spacing: .02em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-slide-img { margin-top: 24px; max-height: 120px; width: auto; }
.hero-dots { display: flex; gap: 8px; margin-top: 34px; }
.hero-dots button { width: 28px; height: 5px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .25); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hero-dots button.active { background: var(--cyan); width: 44px; }

.hero-visual { position: relative; height: 380px; }
.hv-card { background: rgba(255, 255, 255, .97); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); color: var(--ink); }
.hv-main { position: absolute; inset: 20px 30px 40px 40px; padding: 0 0 20px; overflow: hidden; }
.hv-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.hv-head span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.hv-head span:first-child { background: #fda4af; }
.hv-head span:nth-child(2) { background: #fde68a; }
.hv-head span:nth-child(3) { background: #86efac; }
.hv-head b { margin-left: 8px; font-weight: 600; color: var(--muted); }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.hv-kpis div { background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.hv-kpis small { display: block; font-size: 11px; color: var(--muted); }
.hv-kpis strong { display: block; font-size: 18px; color: var(--ink); }
.hv-kpis em { font-style: normal; font-size: 11px; color: var(--success); font-weight: 600; }
.hv-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 0 16px; }
.hv-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); background-size: 100% 300%; opacity: .9; animation: grow 1s ease both; transform-origin: bottom; }
.hv-chart span:nth-child(odd) { opacity: .55; }
@keyframes grow { from { transform: scaleY(0); } }
.hv-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; animation: float 6s ease-in-out infinite; }
.hv-float b { display: block; font-size: 14px; }
.hv-float small { color: var(--muted); font-size: 12px; }
.hv-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: #fff; }
.hv-server { left: 0; bottom: 10px; }
.hv-license { right: 0; top: 0; animation-delay: -3s; }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 30px; font-weight: 800; background: linear-gradient(90deg, #fff, #a5f0fc); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stat span { font-size: 14px; color: #a9bde3; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 48px 0 72px; }
.section-tint { background: var(--tint); }
.section-dark { background: radial-gradient(800px 400px at 100% 0, rgba(34, 211, 238, .18), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy)); color: #c4d4f5; }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head.split h2 { margin: 0; }
.section-head p { font-size: 17px; color: var(--muted); }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #a9bde3; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.section-dark .kicker { background: linear-gradient(90deg, #67e8f9, #a5f0fc); -webkit-background-clip: text; background-clip: text; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.pillar-1::before { background: linear-gradient(90deg, #0b2a6b, #0b5fd6); }
.pillar-2::before { background: linear-gradient(90deg, #0b5fd6, #1fa2e8); }
.pillar-3::before { background: linear-gradient(90deg, #1fa2e8, #22d3ee); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.pillar-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; color: #fff; }
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar-1 .pillar-icon { background: linear-gradient(135deg, #0b2a6b, #0b5fd6); }
.pillar-2 .pillar-icon { background: linear-gradient(135deg, #0b5fd6, #1fa2e8); }
.pillar-3 .pillar-icon { background: linear-gradient(135deg, #1fa2e8, #22d3ee); }
.pillar h3 { font-size: 21px; }
.pillar ul { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 8px; }
.pillar li { position: relative; padding-left: 22px; font-size: 15px; }
.pillar li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); }
.pillar-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.pillar:hover .pillar-link .icon { transform: translateX(4px); }
.pillar-link .icon { transition: transform .2s; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tint-2); color: var(--blue); flex-shrink: 0; }
.cat-icon.is-soft { background: #e0f9fd; color: #0891b2; }
.cat-icon .icon { width: 24px; height: 24px; }
.cat-text { flex: 1; min-width: 0; }
.cat-text strong { display: block; font-size: 15px; font-weight: 600; }
.cat-text small { color: var(--muted); font-size: 13px; }
.cat-arrow { color: var(--line-strong); transition: color .2s, transform .2s; }
.cat-card:hover .cat-arrow { color: var(--blue); transform: translateX(3px); }

/* Product card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.product-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--tint-2); color: var(--blue); }
.chip-hot { position: absolute; top: 12px; left: 12px; background: var(--grad); color: #fff; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.product-brand { font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.product-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--blue); }
.product-summary { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font-weight: 700; color: var(--danger); font-size: 17px; }
.price-contact { color: var(--blue); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; padding: 28px 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #c4d4f5; transition: background .25s, transform .25s, border-color .25s; }
.service-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(34, 211, 238, .5); transform: translateY(-4px); color: #c4d4f5; }
.service-card h3 { color: #fff; font-size: 22px; margin: 18px 0 2px; }
.service-card small { color: #67e8f9; font-weight: 500; margin-bottom: 12px; }
.service-card p { font-size: 15px; flex: 1; }
.service-card .pillar-link { color: #67e8f9; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; }
.service-icon .icon { width: 26px; height: 26px; }
.service-grid.light .service-card { background: #fff; border-color: var(--line); color: var(--text); }
.service-grid.light .service-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.service-grid.light .service-card h3 { color: var(--ink); }
.service-grid.light .service-card small { color: var(--blue); }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, .5), rgba(34, 211, 238, 0)); }
.steps li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.step-ico { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--navy-900); border: 2px solid rgba(34, 211, 238, .55); color: #67e8f9; margin-bottom: 10px; }
.step-ico .icon { width: 26px; height: 26px; }
.step-no { position: absolute; top: -6px; left: calc(50% + 18px); z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: var(--navy-900); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.steps strong { color: #fff; font-size: 16px; }
.steps small { color: #a9bde3; font-size: 14px; }

/* Why */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.why-text p { font-size: 17px; color: var(--muted); margin-bottom: 26px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s; }
.why-item:hover { box-shadow: var(--shadow); }
.why-item h3 { margin: 14px 0 6px; font-size: 17px; }
.why-item p { margin: 0; font-size: 15px; color: var(--muted); }
.why-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tint-2); color: var(--blue); }
.why-icon .icon { width: 22px; height: 22px; }

/* Brands */
.brands-strip { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-strip p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.brand-logo { display: grid; place-items: center; height: 48px; min-width: 100px; color: #94a3b8; font-weight: 800; font-size: 22px; letter-spacing: -.01em; transition: color .2s, filter .2s, opacity .2s; }
.brand-logo img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.brand-logo:hover { color: var(--navy); }
.brand-logo:hover img { filter: none; opacity: 1; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #e6efff, #dff8fc); color: var(--blue); }
.post-thumb-fallback .icon { width: 54px; height: 54px; opacity: .55; }
.post-body { padding: 18px 20px 22px; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-meta.big { font-size: 14px; margin-bottom: 18px; }
.post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-body h3 { font-size: 18px; line-height: 1.4; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* Contact split */
.contact-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.contact-split > div:first-child p { font-size: 17px; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; margin-bottom: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); }
.check-list .icon { color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.card-accent { background: var(--grad); color: #fff; border: 0; text-align: center; }
.card-accent h3 { color: #fff; }
.card-accent > .icon { width: 34px; height: 34px; margin-bottom: 10px; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea, .shop-toolbar select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 400; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 95, 214, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-weight: 500; font-size: 13px; }
.alert { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 52px 0 56px; background: radial-gradient(700px 300px at 100% 0, rgba(34, 211, 238, .22), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy)); color: #c4d4f5; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 6%; top: 30%; width: 64px; height: 64px; background: linear-gradient(var(--cyan), var(--cyan)) 0 0 / 18px 18px no-repeat, linear-gradient(var(--cyan), var(--cyan)) 24px 0 / 18px 18px no-repeat, linear-gradient(var(--cyan), var(--cyan)) 24px 24px / 18px 18px no-repeat, linear-gradient(var(--cyan), var(--cyan)) 48px 24px / 18px 18px no-repeat; opacity: .35; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); max-width: 860px; margin: 14px 0 10px; }
.page-hero p { max-width: 720px; font-size: 17px; margin: 0; }
.page-hero-compact { padding: 18px 0; }
.page-hero-compact::after { display: none; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: #8fa6d1; }
.breadcrumb a { color: #c4d4f5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb span { color: #8fa6d1; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.shop-sidebar { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filter-box h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.filter-list a .icon { color: var(--muted); }
.filter-list a:hover { background: var(--tint); }
.filter-list a.active { background: var(--tint-2); color: var(--blue); font-weight: 600; }
.filter-list a.active .icon { color: var(--blue); }
.filter-group { font-size: 12px; font-weight: 700; color: var(--muted); padding: 12px 10px 4px; text-transform: uppercase; letter-spacing: .06em; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--text); }
.chip-link:hover { border-color: var(--blue); color: var(--blue); }
.chip-link.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-help { text-align: center; background: var(--tint); }
.filter-help > .icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 6px; }
.filter-help h3 { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.filter-help p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-search { flex: 1; min-width: 220px; max-width: 420px; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 0 14px; background: #fff; }
.shop-search:focus-within { border-color: var(--blue); }
.shop-search .icon { color: var(--muted); }
.shop-search input { flex: 1; border: 0; outline: 0; padding: 11px 0; background: transparent; }
.shop-toolbar-right { display: flex; align-items: center; gap: 14px; }
.shop-toolbar select { width: auto; padding: 10px 12px; }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line-strong); border-radius: 18px; }
.empty > .icon { width: 44px; height: 44px; color: var(--line-strong); margin: 0 auto 12px; display: block; }
.empty.small { padding: 28px 20px; margin-bottom: 16px; }
.empty.small p { margin: 0; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination a, .pagination .dots { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border: 0; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); background: var(--tint); border-radius: 20px; border: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.pd-gallery img { width: 100%; height: 100%; object-fit: contain; }
.pd-title { font-size: clamp(26px, 3vw, 34px); margin: 4px 0 12px; }
.pd-summary { font-size: 17px; color: var(--muted); }
.pd-price { padding: 18px 20px; background: var(--tint); border-radius: 14px; margin: 18px 0; }
.pd-price .price { font-size: 26px; display: block; }
.pd-price small { color: var(--muted); font-size: 14px; }
.pd-perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-perks li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.pd-perks .icon { color: var(--blue); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 10px; overflow: hidden; height: 48px; background: #fff; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--tint); }
.qty input { width: 56px; text-align: center; border: 0; outline: 0; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-call { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--text); font-size: 15px; }
.pd-tabs { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 64px; align-items: start; }
.pd-content h2 { font-size: 24px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.pd-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--grad); }
.pd-content h2:not(:first-child) { margin-top: 40px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; background: var(--tint); font-weight: 600; color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.pd-aside .card { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; }
.pd-aside h3 { margin: 0; }

/* Prose */
.prose { font-size: 16.5px; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--cyan); background: var(--tint); border-radius: 0 10px 10px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.prose > :first-child { margin-top: 0; }

/* Solutions */
.solution-list { display: grid; gap: 96px; }
.solution-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.solution-row.reverse .solution-text { order: 2; }
.solution-text .service-icon { margin-bottom: 18px; }
.solution-text .kicker { display: block; }
.solution-text p { font-size: 17px; color: var(--muted); }
.solution-visual img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.mock-window { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.mock-window::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(rgba(34, 211, 238, .25), transparent 70%); }
.mock-body { padding: 22px; display: grid; gap: 14px; background: linear-gradient(180deg, #fff, var(--tint)); }
.mock-row { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mock-ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint-2); color: var(--blue); }
.mock-bar { height: 8px; border-radius: 4px; background: var(--grad); opacity: .8; }
.mock-row em { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.feature { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.feature span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff; flex-shrink: 0; }
.feature .icon { width: 16px; height: 16px; }

/* Article */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.article-lead { font-size: 19px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.article-cover { border-radius: 16px; margin-bottom: 28px; width: 100%; }
.article-aside .card h3 { font-size: 18px; }
.mini-posts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.mini-posts a { color: var(--ink); font-weight: 500; line-height: 1.45; display: block; }
.mini-posts a:hover { color: var(--blue); }
.mini-posts time { font-size: 13px; color: var(--muted); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.share a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tint-2); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 500; }
.tabs a:hover { border-color: var(--blue); color: var(--blue); }
.tabs a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* About & contact */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-card { padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--tint)); position: sticky; top: calc(var(--header-h) + 20px); }
.about-card img { max-width: 240px; margin: 0 auto 24px; }
.about-card dl { margin: 0; display: grid; gap: 4px; }
.about-card dt { font-size: 13px; color: var(--muted); margin-top: 10px; }
.about-card dd { margin: 0; color: var(--ink); font-weight: 600; }
.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.info-item > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; flex-shrink: 0; }
.info-item small { display: block; color: var(--muted); font-size: 13px; }
.info-item strong { color: var(--ink); font-weight: 600; }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Quote */
.quote-page { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.quote-form { display: grid; gap: 24px; }
.quote-form .card { display: grid; gap: 16px; }
.quote-form .card h2 { margin: 0; }
.quote-items { display: grid; gap: 10px; }
.quote-item { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.quote-item img { width: 72px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--tint); }
.qi-info a { color: var(--ink); font-weight: 600; display: block; line-height: 1.35; }
.qi-info small { color: var(--muted); }
.quote-item .qty { height: 40px; }
.quote-item .qty button { width: 34px; }
.quote-item .qty input { width: 48px; }
.quote-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.mini-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 44px; }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-2); color: var(--blue); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.mini-steps strong { display: block; color: var(--ink); }
.mini-steps span { font-size: 14px; color: var(--muted); }
.done { padding: 40px 0; }
.done-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 20px; box-shadow: 0 16px 40px -12px rgba(34, 211, 238, .8); }
.done-icon .icon { width: 42px; height: 42px; }
.code { font-size: 20px; color: var(--blue); letter-spacing: .04em; }
.err-code { display: block; font-size: 96px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #a9bde3; font-size: 15px; }
.footer-cta { position: relative; top: -56px; margin-bottom: -16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 4px; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-accent { background: var(--navy-950); box-shadow: none; }
.footer-cta .btn-accent:hover { background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { max-width: 180px; margin-bottom: 16px; }
.footer-company { color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #a9bde3; }
.footer a:hover { color: #67e8f9; }
.footer .btn-light, .footer .btn-light:hover { color: var(--navy); }
.footer .btn-accent, .footer .btn-accent:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: #67e8f9; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.footer-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .06); }

/* Floating contact & toast */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.float-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px -8px rgba(11, 42, 107, .6); font-weight: 700; font-size: 13px; }
.float-btn:hover { color: #fff; transform: scale(1.06); }
.float-phone { background: var(--grad); animation: ring 2.4s infinite; }
.float-phone .icon { width: 22px; height: 22px; }
.float-zalo { background: #0068ff; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .55); } 50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--navy-950); color: #fff; box-shadow: var(--shadow-lg); font-size: 15px; transition: transform .3s, visibility .3s; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .icon { color: var(--cyan); }
.toast a { color: #67e8f9; font-weight: 600; margin-left: 6px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .brand-text { display: none; }
    .nav-link { padding: 10px 9px; font-size: 14.5px; }
    .hide-md { display: none; }
}
@media (max-width: 1024px) {
    .menu-toggle { display: inline-grid; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49; visibility: hidden; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 20px 40px; background: #fff; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
    .nav.open { transform: none; opacity: 1; visibility: visible; }
    .nav-item { width: 100%; }
    .nav-item > .nav-link { display: flex; width: 100%; }
    body.menu-open { overflow: hidden; }
    .nav-link { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
    .nav-link.active { background: transparent; }
    .mega { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; display: none; }
    .has-mega.open .mega { display: block; }
    .has-mega:hover .mega { transform: none; }
    .header-actions { margin-left: auto; }
    .hero-inner { grid-template-columns: 1fr; min-height: 0; }
    .hero-visual { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .pillars, .service-grid { grid-template-columns: 1fr 1fr; }
    .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .why, .contact-split, .about, .contact-page { grid-template-columns: 1fr; gap: 36px; }
    .why-grid.cols-4 { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
    .steps::before { display: none; }
    .shop { grid-template-columns: minmax(0, 1fr); }
    .shop-sidebar > *, .shop-main { min-width: 0; }
    .shop-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .filter-help { display: none; }
    .product-detail, .pd-tabs, .article-layout, .quote-page { grid-template-columns: 1fr; }
    .pd-gallery, .about-card, .sticky, .quote-aside, .pd-aside .card { position: static; }
    .solution-row { grid-template-columns: 1fr; gap: 32px; }
    .solution-row.reverse .solution-text { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .topbar-slogan, .hide-sm, .topbar-links a:nth-child(2) { display: none; }
    .topbar-inner { justify-content: center; }
    .brand img { height: 32px; }
    .section { padding: 64px 0; }
    .section-head.split { flex-direction: column; align-items: flex-start; }
    .hero { padding-top: 48px; }
    .px, .page-hero::after { display: none; }
    .shop-sidebar { gap: 10px; }
    .filter-box { padding: 12px; }
    .filter-box h3 { font-size: 12px; margin-bottom: 8px; }
    .filter-list, .brand-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; scrollbar-width: none; }
    .filter-list li { flex-shrink: 0; }
    .filter-group { display: none; }
    .filter-list a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; font-size: 14px; white-space: nowrap; }
    .chip-link { flex-shrink: 0; white-space: nowrap; }
    .hero .lead { font-size: 16px; }
    .hero-slides { min-height: 0; }
    .pillars, .service-grid, .cat-grid, .post-grid, .why-grid, .why-grid.cols-4, .grid-2, .feature-grid, .check-list.cols-2, .pd-perks, .shop-sidebar { grid-template-columns: 1fr; }
    .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-body { padding: 12px; }
    .product-name { font-size: 14px; }
    .product-summary { display: none; }
    .product-foot { flex-direction: column; align-items: stretch; }
    .product-foot .btn { width: 100%; }
    .steps { grid-template-columns: 1fr 1fr; }
    .card { padding: 20px; }
    .footer-cta { padding: 28px 22px; top: -40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .quote-item { grid-template-columns: 56px 1fr auto; }
    .quote-item img { width: 56px; height: 44px; }
    .quote-item .qty { grid-column: 2; justify-self: start; }
    .quote-item .icon-btn { grid-row: 1; grid-column: 3; }
    .pd-actions .btn { flex: 1; }
    .shop-toolbar-right { width: 100%; justify-content: space-between; }
    .toast { white-space: normal; width: calc(100% - 32px); }
}
