/* ═══════════════════════════════════════════════════════════════════════
   PSI Design System 2026 — "Industrial Tech"
   Professional Service Industries · psi-vn.com
   Thay thế hoàn toàn brand.css + commerce.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Brand — PSI Blue ramp */
  --c-brand-50: #f0f5fe;
  --c-brand-100: #dce8fb;
  --c-brand-200: #bcd2f6;
  --c-brand-300: #8bb4f2;
  --c-brand-400: #4f8ae6;
  --c-brand-500: #2a69cc;
  --c-brand-600: #1a4faf;
  --c-brand: #0d3b8e;
  --c-brand-800: #0a2d6d;
  --c-brand-900: #0a1c3f;
  --c-ink-950: #06122b;

  /* Accent — PSI Red (chỉ dùng cho CTA chính) */
  --c-red-50: #fff1f2;
  --c-red-400: #f4535e;
  --c-red: #e30613;
  --c-red-600: #c2040f;

  /* Signal */
  --c-ok: #027a48;
  --c-ok-bg: #ecfdf3;
  --c-warn: #b54708;
  --c-warn-bg: #fffaeb;

  /* Neutral */
  --c-ink: #0f172a;
  --c-body: #475467;
  --c-muted: #667085;
  --c-faint: #98a2b3;
  --c-line: #e4e8ef;
  --c-line-soft: #eef1f7;
  --c-bg: #ffffff;
  --c-bg-2: #f7f9fc;
  --c-bg-3: #eef2f8;

  /* Typography */
  --f-sans: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-hero: clamp(2.05rem, 1.35rem + 3vw, 3.5rem);
  --t-h1: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
  --t-h2: clamp(1.4rem, 1.12rem + 1.2vw, 2.05rem);
  --t-h3: clamp(1.03rem, 0.98rem + 0.28vw, 1.2rem);
  --t-lead: clamp(1rem, 0.97rem + 0.2vw, 1.1rem);
  --t-body: 1rem;
  --t-sm: 0.875rem;
  --t-xs: 0.8125rem;
  --t-2xs: 0.75rem;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);
  --sh-2: 0 4px 14px -3px rgba(13, 59, 142, 0.09), 0 2px 6px -2px rgba(16, 24, 40, 0.05);
  --sh-3: 0 18px 40px -14px rgba(10, 28, 63, 0.24), 0 6px 16px -8px rgba(10, 28, 63, 0.12);
  --sh-4: 0 32px 64px -20px rgba(6, 18, 43, 0.34);
  --sh-red: 0 10px 24px -10px rgba(227, 6, 19, 0.6);
  --sh-blue: 0 10px 24px -10px rgba(13, 59, 142, 0.5);

  /* Layout */
  --wrap: 1240px;
  --gutter: 22px;
  --section-y: clamp(3.25rem, 2.4rem + 2.8vw, 5.5rem);
  --header-h: 168px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.28s;

  /* Gradients */
  --g-brand: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-600) 55%, var(--c-brand-500) 100%);
  --g-deep: linear-gradient(160deg, #06122b 0%, #0a1c3f 42%, #0d3b8e 100%);
  --g-red: linear-gradient(135deg, #f4212d 0%, var(--c-red) 55%, var(--c-red-600) 100%);
}

/* ── 2. Reset & base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-h1);
}
h2 {
  font-size: var(--t-h2);
}
h3 {
  font-size: var(--t-h3);
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

strong {
  color: var(--c-ink);
  font-weight: 650;
}

:focus-visible {
  outline: 2px solid var(--c-brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--c-brand-100);
  color: var(--c-brand);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--c-brand);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 0 0 var(--r) var(--r);
  font-weight: 600;
  font-size: var(--t-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ── 3. Layout ──────────────────────────────────────────────────────── */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - (var(--gutter) * 2), 780px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-tight {
  padding-block: clamp(2rem, 1.5rem + 1.6vw, 3.25rem);
}

.section-soft {
  background: var(--c-bg-2);
}

.section-line {
  border-top: 1px solid var(--c-line-soft);
}

.section-dark {
  background: var(--g-deep);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

/* Lưới nền kỹ thuật cho khối tối */
.grid-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.glow-fx::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 105, 204, 0.4) 0%, rgba(42, 105, 204, 0) 68%);
  pointer-events: none;
}

/* ── 4. Typography helpers ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand-500);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--g-red);
}

.section-dark .eyebrow {
  color: var(--c-brand-300);
}

.lead {
  font-size: var(--t-lead);
  color: var(--c-body);
  max-width: 62ch;
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.74);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem);
}

.section-head h2 {
  margin: 0.65rem 0 0.6rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: none;
}

.text-muted {
  color: var(--c-muted);
}

.mono {
  font-family: var(--f-mono);
  font-variant-ligatures: none;
}

/* ── 5. Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent {
  background: var(--g-red);
  color: #fff;
  box-shadow: var(--sh-red);
}

.btn-accent:hover {
  box-shadow: 0 16px 30px -12px rgba(227, 6, 19, 0.7);
}

.btn-primary {
  background: var(--g-brand);
  color: #fff;
  box-shadow: var(--sh-blue);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px -12px rgba(13, 59, 142, 0.62);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-blue {
  background: #fff;
  color: var(--c-brand);
  border-color: var(--c-line);
  box-shadow: var(--sh-1);
}

.btn-outline-blue:hover {
  border-color: var(--c-brand-300);
  background: var(--c-brand-50);
}

.btn-ghost {
  background: transparent;
  color: var(--c-brand);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--c-brand-50);
}

.btn-sm,
.bsm {
  min-height: 40px;
  padding: 0 1rem;
  font-size: var(--t-sm);
}

.btn-lg {
  min-height: 56px;
  padding: 0 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Link mũi tên */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  font-size: var(--t-sm);
  color: var(--c-brand);
}

.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ── 6. Chips / badges ──────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  background: #fff;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--c-body);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

a.chip:hover {
  border-color: var(--c-brand-300);
  color: var(--c-brand);
  transform: translateY(-2px);
}

.chip-glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

a.chip-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-xs);
  font-size: var(--t-2xs);
  font-weight: 650;
  letter-spacing: 0.02em;
}

.badge-sample {
  background: var(--c-bg-3);
  color: var(--c-muted);
}

.badge-ok {
  background: var(--c-ok-bg);
  color: var(--c-ok);
}

.badge-brand {
  background: var(--c-brand-50);
  color: var(--c-brand);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ── 7. Header ──────────────────────────────────────────────────────── */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  transition: box-shadow var(--dur) var(--ease);
}

.site-chrome.is-scrolled {
  box-shadow: 0 8px 28px -14px rgba(10, 28, 63, 0.32);
}

/* Topbar */
.topbar {
  background: var(--c-ink-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--t-xs);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s var(--ease);
}

.topbar a:hover {
  color: #fff;
}

.topbar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
}

.topbar-pill .dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

/* Masthead */
.masthead {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line-soft);
}

.masthead-in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 80px;
  padding-block: 0.85rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand-lockup img {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-brand);
  max-width: 12rem;
}

.brand-text span {
  font-size: var(--t-2xs);
  color: var(--c-muted);
}

/* Search */
.searchbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  padding: 5px 5px 5px 1rem;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.searchbar:focus-within {
  background: #fff;
  border-color: var(--c-brand-300);
  box-shadow: 0 0 0 4px rgba(42, 105, 204, 0.13);
}

.searchbar > svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--c-faint);
}

.searchbar input,
.searchbar input[type="search"] {
  flex: 1;
  width: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  padding: 0.5rem 0;
  font-size: var(--t-sm);
}

.searchbar input::placeholder {
  color: var(--c-faint);
}

.searchbar button {
  flex: none;
  height: 38px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--r-full);
  background: var(--g-brand);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: 650;
  cursor: pointer;
  transition: box-shadow var(--dur) var(--ease);
}

.searchbar button:hover {
  box-shadow: var(--sh-blue);
}

/* Hotline + CTA */
.mast-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mast-hotline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.mast-hotline .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--c-brand-50);
  color: var(--c-brand);
  flex: none;
}

.mast-hotline .ic svg {
  width: 19px;
  height: 19px;
}

.mast-hotline small {
  display: block;
  font-size: var(--t-2xs);
  color: var(--c-muted);
  line-height: 1.2;
}

.mast-hotline a {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.nav-toggle i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  position: relative;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  transition: transform var(--dur) var(--ease);
}

.nav-toggle i::before {
  top: -6px;
}
.nav-toggle i::after {
  top: 6px;
}

.site-chrome.is-open .nav-toggle i {
  background: transparent;
}

.site-chrome.is-open .nav-toggle i::before {
  transform: translateY(6px) rotate(45deg);
}

.site-chrome.is-open .nav-toggle i::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav bar */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--c-line-soft);
}

.navbar-in {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  min-height: 50px;
}

.nav-link,
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-body);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-drop-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform var(--dur) var(--ease);
}

.nav-link:hover,
.nav-drop-btn:hover,
.nav-link.is-active,
.nav-drop-btn.is-active,
.nav-drop.is-open .nav-drop-btn {
  background: var(--c-brand-50);
  color: var(--c-brand);
}

.nav-drop.is-open .nav-drop-btn svg {
  transform: rotate(180deg);
}

.nav-spacer {
  flex: 1;
}

.nav-drawer-cta {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-full);
  background: var(--c-brand-50);
  color: var(--c-brand);
  font-size: var(--t-sm);
  font-weight: 650;
  transition: background var(--dur) var(--ease);
}

.nav-cta:hover {
  background: var(--c-brand-100);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Dropdown panels */
.nav-drop {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  z-index: 130;
  animation: dropIn 0.2s var(--ease-out) both;
}

.nav-panel[hidden] {
  display: none !important;
}

.nav-panel.mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 0.5rem 1.5rem;
  padding: 1.25rem;
  min-width: min(760px, calc(100vw - 48px));
}

.nav-panel h4 {
  font-size: var(--t-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 0.6rem;
  padding-inline: 0.35rem;
}

.nav-panel a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 550;
  color: var(--c-body);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-panel a:hover {
  background: var(--c-brand-50);
  color: var(--c-brand);
}

.nav-panel a .ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--r-xs);
  background: var(--c-bg-2);
  color: var(--c-brand-500);
}

.nav-panel a:hover .ic {
  background: #fff;
}

.nav-panel a .ic svg {
  width: 16px;
  height: 16px;
}

.nav-panel-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r);
  background: var(--c-bg-2);
  font-size: var(--t-sm);
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 18, 43, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.site-chrome.is-open ~ .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

/* ── 8. Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--g-deep);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  padding-block: clamp(2.75rem, 2rem + 3vw, 5rem) clamp(3rem, 2.2rem + 3vw, 5.5rem);
}

.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--t-hero);
  color: #fff;
  margin: 1rem 0 1rem;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7fb0ff 0%, #ffffff 55%, #ffd0d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
  margin-bottom: 1.5rem;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 560px;
  padding: 6px 6px 6px 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-full);
  backdrop-filter: blur(10px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.hero-search:focus-within {
  border-color: rgba(143, 176, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(42, 105, 204, 0.22);
}

.hero-search > svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: rgba(255, 255, 255, 0.55);
}

.hero-search input,
.hero-search input[type="search"] {
  flex: 1;
  width: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: #fff;
  padding: 0.65rem 0;
  font-size: 1rem;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-search button {
  flex: none;
  height: 44px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: var(--r-full);
  background: var(--g-red);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
  box-shadow: var(--sh-red);
  transition: transform var(--dur) var(--ease);
}

.hero-search button:hover {
  transform: translateY(-1px);
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust div strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 750;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-trust div span {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.55);
}

/* Panel ảnh nổi */
.hero-visual {
  position: relative;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--sh-4);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 43, 0) 45%, rgba(6, 18, 43, 0.72) 100%);
}

.hero-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sh-3);
  animation: floaty 6s ease-in-out infinite;
}

.hero-card .ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-xs);
  background: var(--c-brand-50);
  color: var(--c-brand);
  flex: none;
}

.hero-card .ic svg {
  width: 20px;
  height: 20px;
}

.hero-card strong {
  display: block;
  font-size: var(--t-sm);
  color: var(--c-ink);
  line-height: 1.3;
}

.hero-card span {
  font-size: var(--t-2xs);
  color: var(--c-muted);
}

.hero-card-a {
  left: -22px;
  bottom: 22%;
}

.hero-card-b {
  right: -14px;
  top: 12%;
  animation-delay: -3s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Thanh USP dưới hero */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line-soft);
  border-block: 1px solid var(--c-line-soft);
}

.usp-strip div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-ink);
}

.usp-strip svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--c-brand-500);
}

/* ── 9. Cards ───────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

a.card:hover,
.card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-3);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  font-size: var(--t-sm);
  color: var(--c-muted);
  flex: 1;
}

.card .link-arrow {
  margin-top: 1rem;
}

.ic-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--c-brand-50), var(--c-brand-100));
  color: var(--c-brand);
  flex: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.ic-tile svg {
  width: 24px;
  height: 24px;
}

a.card:hover .ic-tile,
.card-hover:hover .ic-tile {
  background: var(--g-brand);
  color: #fff;
}

.ic-tile-red {
  background: linear-gradient(135deg, var(--c-red-50), #ffe0e2);
  color: var(--c-red);
}

a.card:hover .ic-tile-red {
  background: var(--g-red);
  color: #fff;
}

/* Card danh mục có ảnh */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--sh-2);
}

.cat-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 18, 43, 0.1) 0%, rgba(6, 18, 43, 0.55) 45%, rgba(6, 18, 43, 0.93) 100%);
  transition: background var(--dur) var(--ease);
}

.cat-card:hover img {
  transform: scale(1.06);
}

.cat-card:hover::after {
  background: linear-gradient(180deg, rgba(13, 59, 142, 0.18) 0%, rgba(6, 18, 43, 0.6) 45%, rgba(6, 18, 43, 0.95) 100%);
}

.cat-card h3 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.cat-card p {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.9rem;
}

.cat-card .link-arrow {
  color: #fff;
}

.cat-card .badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* Card sản phẩm / SKU */
.sku-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sku-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-3);
}

.sku-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-2);
  overflow: hidden;
}

.sku-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.sku-card:hover .sku-card-media img {
  transform: scale(1.05);
}

.sku-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem;
  flex: 1;
}

.sku-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: var(--t-2xs);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-faint);
}

.sku-card h3 {
  font-size: 0.975rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.sku-card h3 a:hover {
  color: var(--c-brand);
}

.sku-code {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  color: var(--c-brand);
  background: var(--c-brand-50);
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-xs);
}

.sku-specs {
  margin-top: 0.25rem;
  border-top: 1px solid var(--c-line-soft);
}

.sku-specs li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: var(--t-2xs);
  color: var(--c-muted);
}

.sku-specs li span:last-child {
  color: var(--c-ink);
  font-weight: 600;
  text-align: right;
}

.sku-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-2xs);
  font-weight: 600;
  color: var(--c-ok);
}

.sku-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.sku-stock.is-sample {
  color: var(--c-muted);
}

.sku-compare {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-2xs);
  color: var(--c-muted);
  cursor: pointer;
  user-select: none;
}

.sku-compare input {
  width: 15px;
  height: 15px;
  accent-color: var(--c-brand);
  cursor: pointer;
}

.sku-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.sku-actions .btn {
  flex: 1;
  min-width: 118px;
}

/* Card nhu cầu */
.need-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.need-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-3);
}

.need-card h3 {
  margin-bottom: 0.4rem;
}

.need-card p {
  font-size: var(--t-sm);
  color: var(--c-muted);
  flex: 1;
  margin-bottom: 1.1rem;
}

.need-card .btn,
.need-card .link-arrow {
  align-self: flex-start;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Chip hãng */
.brand-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.9rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: #fff;
  font-weight: 650;
  font-size: 0.9375rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.brand-chip:hover {
  transform: translateY(-3px);
  border-color: var(--c-brand-300);
  color: var(--c-brand);
  box-shadow: var(--sh-2);
}

/* Số liệu */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.stat strong {
  display: block;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--c-brand);
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.section-dark .stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section-dark .stat strong {
  color: #fff;
}

.section-dark .stat span {
  color: rgba(255, 255, 255, 0.6);
}

/* Mục kiến thức */
.tech-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tech-item {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 1.75rem;
  border-radius: var(--r);
  background: var(--c-bg-2);
  overflow: hidden;
}

.tech-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--g-brand);
}

.tech-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.tech-item p {
  font-size: var(--t-sm);
  color: var(--c-muted);
}

/* ── 10. Marquee hãng ───────────────────────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-faint);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.marquee-track span:hover {
  color: var(--c-brand);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ── 11. Split / quy trình / FAQ ────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--f-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-brand-300);
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq-list details[open] {
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-2);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 650;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-brand-50);
  color: var(--c-brand);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--c-brand);
  color: #fff;
}

.faq-list details p {
  padding: 0 1.35rem 1.25rem;
  font-size: var(--t-sm);
  color: var(--c-muted);
}

/* Bảng dữ liệu */
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}

.data-table {
  min-width: 640px;
  font-size: var(--t-sm);
}

.data-table th {
  text-align: left;
  padding: 0.9rem 1.1rem;
  background: var(--c-bg-2);
  color: var(--c-ink);
  font-weight: 650;
  font-size: var(--t-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.data-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--c-line-soft);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: var(--c-brand-50);
}

.spec-table {
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
  font-size: var(--t-sm);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--c-line-soft);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 40%;
  background: var(--c-bg-2);
  color: var(--c-muted);
  font-weight: 600;
}

.doc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--c-ink);
  background: #fff;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.doc-list a:hover {
  border-color: var(--c-brand-300);
  transform: translateX(3px);
}

.doc-list a span {
  color: var(--c-brand);
  font-size: var(--t-xs);
}

/* ── 12. CTA band ───────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--g-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(2.75rem, 2rem + 2.6vw, 4.5rem);
}

.cta-band-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ── 13. PLP ────────────────────────────────────────────────────────── */
.plp-layout,
.catalog-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.filter-panel,
.catalog-filters {
  position: sticky;
  top: 96px;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.filter-panel h2,
.catalog-filters h2 {
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 1rem;
}

.filter-group {
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--c-line-soft);
}

.filter-group:last-of-type {
  border-bottom: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.filter-group legend,
.filter-group h3 {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 0.6rem;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: var(--t-sm);
  color: var(--c-body);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.filter-group label:hover {
  color: var(--c-brand);
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--c-brand);
  cursor: pointer;
}

.filter-group input[type="search"],
.filter-group input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg-2);
  font-size: var(--t-sm);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.filter-group input[type="search"]:focus {
  background: #fff;
  border-color: var(--c-brand-300);
  box-shadow: 0 0 0 3px rgba(42, 105, 204, 0.12);
}

.plp-toolbar,
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 1.1rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-ink);
}

.plp-toolbar select,
select.input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: var(--t-sm);
  cursor: pointer;
}

.view-toggle {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  background: var(--c-bg-3);
  border-radius: var(--r-full);
}

.view-toggle button {
  border: 0;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-muted);
  font-size: var(--t-xs);
  font-weight: 650;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.view-toggle button.is-active {
  background: #fff;
  color: var(--c-brand);
  box-shadow: var(--sh-1);
}

.sku-grid.is-list {
  grid-template-columns: 1fr;
}

.sku-grid.is-list .sku-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
}

.sku-grid.is-list .sku-card-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 160px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-body);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.pagination button:hover {
  border-color: var(--c-brand-300);
  color: var(--c-brand);
}

.pagination button.is-active {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
}

.compare-bar {
  position: sticky;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  box-shadow: var(--sh-3);
  font-size: var(--t-sm);
  font-weight: 600;
}

.compare-bar.is-on {
  display: flex;
}

/* ── 14. PDP ────────────────────────────────────────────────────────── */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}

.pdp-gallery {
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-bg-2);
  box-shadow: var(--sh-2);
}

.pdp-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pdp-summary h1 {
  margin: 0.5rem 0 0.75rem;
}

.pdp-sku {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: var(--t-sm);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-xs);
  background: var(--c-brand-50);
  color: var(--c-brand);
  margin-bottom: 0.75rem;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.35rem 0;
}

/* ── 15. Forms ──────────────────────────────────────────────────────── */
.quote-panel {
  padding: clamp(1.35rem, 1rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}

.quote-panel h2,
.quote-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.quote-panel > p {
  font-size: var(--t-sm);
  color: var(--c-muted);
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-row .field {
  margin-bottom: 0;
}

label {
  font-size: var(--t-xs);
  font-weight: 650;
  color: var(--c-ink);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="file"],
input:not([type]),
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg-2);
  font-size: var(--t-sm);
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: var(--c-faint);
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--c-brand-400);
  box-shadow: 0 0 0 4px rgba(42, 105, 204, 0.13);
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input[type="file"] {
  padding: 0.5rem 0.6rem;
  font-size: var(--t-xs);
}

.form-hint,
.form-note {
  font-size: var(--t-2xs);
  color: var(--c-muted);
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  background: var(--c-ok-bg);
  color: var(--c-ok);
  font-size: var(--t-sm);
  font-weight: 600;
}

.form-success.is-visible {
  display: flex;
}

/* Form trên nền tối */
.form-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-4);
}

.form-dark h2,
.form-dark h3 {
  color: #fff;
}

.form-dark > p,
.form-dark .form-note,
.form-dark .form-hint {
  color: rgba(255, 255, 255, 0.6);
}

.form-dark label {
  color: rgba(255, 255, 255, 0.86);
}

.form-dark input,
.form-dark select,
.form-dark textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.form-dark input::placeholder,
.form-dark textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-dark input:focus,
.form-dark select:focus,
.form-dark textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--c-brand-300);
  box-shadow: 0 0 0 4px rgba(143, 176, 255, 0.16);
}

.form-dark option {
  color: var(--c-ink);
}

/* ── 16. Page chrome ────────────────────────────────────────────────── */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  background: linear-gradient(180deg, var(--c-bg-2) 0%, #fff 100%);
  border-bottom: 1px solid var(--c-line-soft);
}

.page-head h1 {
  margin: 0.7rem 0 0.65rem;
}

.page-head-dark {
  background: var(--g-deep);
  color: rgba(255, 255, 255, 0.76);
  border-bottom: 0;
}

.page-head-dark h1 {
  color: #fff;
}

.page-head-dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: var(--t-xs);
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-brand);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: var(--c-faint);
}

.page-head-dark .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
}

.page-head-dark .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r);
  background: var(--c-warn-bg);
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: var(--t-xs);
  line-height: 1.6;
}

.notice svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
}

.notice-sample {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  background: var(--c-bg-2);
  border: 1px dashed var(--c-line);
  color: var(--c-muted);
  font-size: var(--t-xs);
  margin-bottom: 1rem;
}

/* ── 17. Footer ─────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-ink-950);
  color: rgba(255, 255, 255, 0.62);
  padding-top: clamp(3rem, 2.2rem + 2.4vw, 4.5rem);
  font-size: var(--t-sm);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem 2rem;
  padding-bottom: 2.75rem;
}

.footer-brand img {
  height: 54px;
  width: auto;
  padding: 0.5rem 0.7rem;
  background: #fff;
  border-radius: var(--r-sm);
  margin-bottom: 1.1rem;
}

.footer-brand p {
  max-width: 30ch;
  margin-bottom: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer-social a:hover {
  background: var(--c-brand);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-size: var(--t-2xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 0.6rem;
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col strong {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── 18. Trang cảm ơn ───────────────────────────────────────────────── */
.thank-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--g-deep);
  position: relative;
  overflow: hidden;
}

.thank-box {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-4);
  text-align: center;
}

.thank-box .ic-check {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  background: var(--c-ok-bg);
  color: var(--c-ok);
  animation: popIn 0.5s var(--ease-out) both;
}

.thank-box .ic-check svg {
  width: 34px;
  height: 34px;
}

.thank-box h1 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.thank-box > p {
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}

/* ── 19. Support widget (js/support-widget.js) ──────────────────────── */
.psi-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
}

.psi-support {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.psi-bubble-rail {
  max-height: min(52vh, 340px);
  overflow: hidden;
  animation: dropIn 0.24s var(--ease-out) both;
}

.psi-bubble-scroll {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  max-height: min(52vh, 340px);
  overflow-y: auto;
  padding: 6px 4px;
  scrollbar-width: none;
}

.psi-bubble-scroll::-webkit-scrollbar {
  display: none;
}

.psi-bubble {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  flex: none;
  box-shadow: var(--sh-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.psi-bubble:hover {
  transform: scale(1.1);
}

.psi-bub-chat {
  background: var(--g-brand);
}
.psi-bub-call {
  background: var(--g-red);
}
.psi-bub-zalo {
  background: #0068ff;
}
.psi-bub-fb,
.psi-bub-page {
  background: #1877f2;
}
.psi-bub-tele {
  background: #229ed9;
}
.psi-bub-mail {
  background: var(--c-brand-500);
}

.psi-support-fab {
  min-width: 62px;
  height: 62px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: var(--r-full);
  background: var(--g-red);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--sh-red);
  display: grid;
  place-items: center;
  animation: pulse 2.6s infinite;
}

.psi-support.is-open .psi-support-fab {
  background: var(--g-brand);
  animation: none;
}

.psi-fab-close {
  display: none;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}

.psi-support.is-open .psi-fab-open {
  display: none;
}

.psi-support.is-open .psi-fab-close {
  display: block;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.45), var(--sh-red);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(227, 6, 19, 0), var(--sh-red);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0), var(--sh-red);
  }
}

.psi-chat {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 96;
  width: min(370px, calc(100vw - 32px));
  height: min(500px, calc(100vh - 150px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  overflow: hidden;
  animation: dropIn 0.24s var(--ease-out) both;
}

.psi-chat[hidden] {
  display: none !important;
}

.psi-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: var(--g-brand);
  color: #fff;
}

.psi-chat-head strong {
  color: #fff;
  font-size: 0.95rem;
}

.psi-chat-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.psi-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  overflow-y: auto;
  background: var(--c-bg-2);
}

.psi-chat-msg {
  max-width: 88%;
}

.psi-chat-msg p {
  padding: 0.65rem 0.85rem;
  font-size: var(--t-sm);
  line-height: 1.5;
  border-radius: var(--r);
}

.psi-chat-bot p {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  border-bottom-left-radius: 4px;
}

.psi-chat-user {
  align-self: flex-end;
}

.psi-chat-user p {
  background: var(--g-brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.psi-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--c-line);
  background: #fff;
}

.psi-chat-form button {
  border: 0;
  padding: 0 1.1rem;
  border-radius: var(--r-sm);
  background: var(--g-red);
  color: #fff;
  font-weight: 650;
  font-size: var(--t-sm);
  cursor: pointer;
}

.psi-chat-foot {
  padding: 0.5rem 0.9rem 0.75rem;
  font-size: var(--t-2xs);
  color: var(--c-muted);
  background: #fff;
}

.psi-chat-foot a {
  color: var(--c-brand);
  font-weight: 600;
}

.psi-mobile-bar {
  display: none;
}

/* CTA báo giá dính đáy (mobile) */
.mobile-quote-cta {
  display: none;
}

/* ── 20. Reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── 21. Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1140px) {
  .masthead-in {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .mast-hotline {
    display: none;
  }

  .nav-panel.mega {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-in,
  .split,
  .pdp-grid,
  .cta-band-in {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card-a {
    left: 12px;
  }
  .hero-card-b {
    right: 12px;
  }

  .grid-4,
  .sku-grid,
  .brand-row,
  .stat-row,
  .steps,
  .usp-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .need-grid,
  .tech-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plp-layout,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .catalog-filters {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .topbar {
    display: none;
  }

  .masthead-in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "search search";
    gap: 0.75rem;
    min-height: 0;
  }

  .brand-lockup {
    grid-area: brand;
  }

  .nav-toggle {
    grid-area: toggle;
  }

  .searchbar {
    grid-area: search;
    max-width: none;
  }

  .mast-actions {
    display: none;
  }

  /* Drawer */
  .navbar {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 125;
    width: min(340px, 88vw);
    padding: 1.25rem 1.1rem 2rem;
    background: #fff;
    border: 0;
    box-shadow: var(--sh-4);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 0.34s var(--ease-out);
  }

  .site-chrome.is-open .navbar {
    transform: none;
  }

  .navbar-in {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
  }

  .nav-link,
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1rem;
  }

  .nav-drop {
    width: 100%;
  }

  .nav-panel,
  .nav-panel.mega {
    position: static;
    display: block;
    min-width: 0;
    margin: 0.15rem 0 0.5rem;
    padding: 0.35rem 0.35rem 0.35rem 0.9rem;
    border: 0;
    border-left: 2px solid var(--c-line);
    border-radius: 0;
    box-shadow: none;
    animation: none;
  }

  .nav-panel h4 {
    margin-top: 0.6rem;
  }

  .nav-panel-cta {
    display: none;
  }

  .nav-spacer {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.75rem;
    padding-block: 0.8rem;
  }

  .nav-drawer-cta {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-line-soft);
  }

  .topbar-left span:first-child,
  .topbar-right {
    display: none;
  }

  .mobile-quote-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 58px;
    z-index: 88;
    padding: 0.55rem var(--gutter);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--c-line);
  }

  .mobile-quote-cta .btn {
    width: 100%;
  }

  .psi-mobile-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--c-ink-950);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .psi-mobile-bar a,
  .psi-mobile-bar button {
    display: grid;
    place-items: center;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--t-xs);
    font-weight: 600;
    cursor: pointer;
  }

  .psi-mobile-bar a:last-child {
    background: var(--g-red);
    color: #fff;
  }

  .psi-float {
    bottom: 128px;
    right: 14px;
  }

  .psi-chat {
    right: 12px;
    bottom: 128px;
    height: min(66vh, 480px);
  }

  body {
    padding-bottom: 122px;
  }
}

@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .sku-grid,
  .need-grid,
  .tech-list,
  .brand-row,
  .stat-row,
  .steps,
  .usp-strip,
  .form-row,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .sku-grid.is-list .sku-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

  .hero-trust {
    gap: 1.25rem 2rem;
  }

  .btn-row .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .section-head-row {
    align-items: flex-start;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
