:root {
  --color-blue: #0b5cab;
  --color-blue-dark: #073d72;
  --color-blue-soft: #e7f1fb;
  --color-ink: #1b2430;
  --color-muted: #5f6b7a;
  --color-line: #dbe2ea;
  --color-panel: #f6f8fb;
  --color-white: #ffffff;
  --color-industrial: #2e343b;
  --color-zalo: #0068ff;
  --shadow-soft: 0 16px 36px rgba(18, 35, 58, 0.12);
  --shadow-card: 0 10px 26px rgba(18, 35, 58, 0.08);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

:where(a, button, summary):focus-visible {
  outline: 3px solid rgba(255, 196, 87, 0.95);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  color: var(--color-ink);
}

h1 {
  max-width: 12.5em;
  font-size: clamp(2.2rem, 4.8vw, 4.65rem);
  letter-spacing: 0;
}

h2 {
  max-width: 18em;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.12rem;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 4px 22px rgba(18, 35, 58, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-blue-dark);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  background: var(--color-blue);
  border: 2px solid var(--color-blue-dark);
  border-radius: var(--radius);
  box-shadow: inset -6px -6px 0 rgba(7, 61, 114, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-industrial);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-blue-dark);
  background: var(--color-blue-soft);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: var(--color-white);
  background: var(--color-blue);
  box-shadow: 0 8px 18px rgba(11, 92, 171, 0.22);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--color-white);
  background: var(--color-blue-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-industrial);
  border-radius: 999px;
}

.hero,
.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: 70px 0 64px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-subtitle,
.section-heading p,
.final-cta > p {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-blue);
  box-shadow: 0 12px 26px rgba(11, 92, 171, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-blue-dark);
}

.button-secondary {
  color: var(--color-blue-dark);
  background: var(--color-white);
  border-color: var(--color-line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  box-shadow: var(--shadow-card);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 8px 0 0;
  overflow: hidden;
  list-style: none;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.benefit-strip li {
  min-width: 0;
  padding: 14px 16px;
  color: var(--color-industrial);
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--color-panel);
}

.hero-media {
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.hero-media figcaption {
  padding: 12px 14px;
  color: var(--color-muted);
  font-size: 0.9rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--color-line);
}

.section-heading,
.why,
.process,
.faq,
.final-cta {
  display: grid;
  gap: 16px;
}

.feature-grid,
.product-grid,
.customer-grid,
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 26px 0 0;
}

.product-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.product-search {
  display: grid;
  gap: 8px;
  min-width: min(100%, 320px);
  color: var(--color-industrial);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font: inherit;
}

.product-search input:focus-visible {
  outline: 3px solid rgba(255, 196, 87, 0.95);
  outline-offset: 3px;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--color-blue-dark);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--color-white);
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.product-summary {
  margin-top: 16px;
  color: var(--color-muted);
  font-weight: 700;
}

.feature-grid article,
.product-grid article,
.customer-grid article,
.process-list li {
  min-width: 0;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.feature-grid article {
  border-top: 4px solid var(--color-blue);
}

.feature-grid p,
.product-grid p,
.customer-grid p,
.process-list p,
.faq p {
  margin-top: 10px;
  color: var(--color-muted);
}

.product-grid article {
  padding: 0;
  overflow: hidden;
}

.product-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-panel);
}

.product-grid h3,
.product-grid p {
  padding-right: 22px;
  padding-left: 22px;
}

.product-grid h3 {
  padding-top: 20px;
}

.product-grid p {
  padding-bottom: 22px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 18px;
}

.product-meta span {
  padding: 5px 8px;
  color: var(--color-blue-dark);
  background: var(--color-blue-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-empty,
.product-noscript {
  margin-top: 18px;
  padding: 18px;
  color: var(--color-muted);
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.product-load-more {
  margin-top: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
  margin: 28px 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.gallery img:first-child {
  min-height: 320px;
}

.table-scroll {
  overflow-x: auto;
  scrollbar-gutter: stable;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.oem table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: transparent;
}

.oem caption {
  padding: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.92rem;
  text-align: left;
  caption-side: top;
}

.oem th,
.oem td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}

.oem th {
  color: var(--color-industrial);
  font-weight: 800;
}

.oem thead th {
  color: var(--color-white);
  background: var(--color-industrial);
}

.oem tbody tr:nth-child(even) {
  background: var(--color-panel);
}

.oem tbody tr:last-child th,
.oem tbody tr:last-child td {
  border-bottom: 0;
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding-top: 58px;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--color-blue);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.customer-grid article {
  background: var(--color-panel);
  box-shadow: none;
}

.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.faq summary {
  padding: 18px 20px;
  color: var(--color-industrial);
  font-weight: 800;
  cursor: pointer;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--color-line);
}

.faq details p {
  padding: 0 20px 20px;
}

.final-cta {
  margin-bottom: 72px;
  padding: 48px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue-dark), var(--color-industrial));
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.final-cta h2,
.final-cta .eyebrow,
.final-cta > p {
  color: var(--color-white);
}

.final-cta > p {
  opacity: 0.86;
}

.final-cta .button-secondary {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.floating-zalo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 46px;
  padding: 10px 15px;
  color: var(--color-white);
  font-weight: 900;
  background: var(--color-zalo);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 104, 255, 0.32);
}

.site-footer {
  padding: 28px 24px;
  color: #dce6f1;
  text-align: center;
  background: var(--color-industrial);
}

.site-footer p {
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 980px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

  h1 {
    max-width: 14em;
  }

  .benefit-strip,
  .feature-grid,
  .product-grid,
  .customer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .product-filters {
    justify-content: flex-start;
  }

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

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery img:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    width: min(100% - 32px, var(--max-width));
  }

  .brand span:last-child {
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    gap: 34px;
    padding: 42px 0 48px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .hero-subtitle,
  .section-heading p,
  .final-cta > p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .benefit-strip,
  .feature-grid,
  .product-grid,
  .customer-grid,
  .process-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .benefit-strip li,
  .feature-grid article,
  .customer-grid article,
  .process-list li {
    padding: 18px;
  }

  .product-grid h3,
  .product-grid p {
    padding-right: 18px;
    padding-left: 18px;
  }

  .product-meta {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gallery img,
  .gallery img:first-child {
    grid-column: auto;
    min-height: 210px;
  }

  .section {
    padding: 54px 0;
  }

  .oem th,
  .oem td {
    padding: 14px;
  }

  .final-cta {
    width: calc(100% - 32px);
    margin-bottom: 62px;
    padding: 30px 20px;
  }

  .floating-zalo {
    right: 16px;
    bottom: 16px;
  }
}
