:root {
  --ink: #13202a;
  --muted: #66737f;
  --paper: #ffffff;
  --soft: #f5f7f3;
  --line: #dde6e1;
  --brand: #0e5f56;
  --brand-dark: #0b3835;
  --steel: #20394d;
  --accent: #d7862e;
  --zalo: #0a72d7;
  --shadow: 0 24px 60px rgba(19, 32, 42, 0.14);
  font-family: Arial, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 60;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 5vw, 72px);
  color: #eaf3ef;
  background: var(--brand-dark);
  font-size: 14px;
}

.topbar p {
  margin: 0;
}

.topbar div {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.topbar a {
  color: #fff;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  max-width: 250px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #334a5b;
}

.main-nav a:hover,
.main-nav a.is-active,
.main-nav .nav-portal {
  color: var(--brand);
  background: #e6f1ee;
}

.header-cta {
  padding: 10px 14px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-secondary {
  color: #fff;
  background: var(--steel);
}

.btn-light {
  color: var(--brand);
  background: #fff;
  border-color: var(--line);
}

.btn-zalo {
  color: #fff;
  background: var(--zalo);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(120deg, rgba(247, 249, 245, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 100% 16%, rgba(215, 134, 46, 0.18), transparent 32%);
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 10px 0 0;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.trust-row span {
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.trust-row strong {
  display: block;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.1;
}

.hero-showcase {
  position: relative;
  min-height: 520px;
}

.showcase-main {
  width: 86%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.showcase-card {
  position: absolute;
  display: grid;
  gap: 8px;
  width: 210px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(19, 32, 42, 0.18);
  font-weight: 900;
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
}

.card-top {
  top: 46px;
  left: 0;
}

.card-bottom {
  right: 6px;
  bottom: 28px;
}

.section,
.promise-section,
.portal-cta,
.contact-section {
  padding: 74px clamp(18px, 6vw, 84px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-head h2,
.promise-section h2,
.custom-copy h2,
.portal-cta h2,
.contact-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head p,
.custom-copy p,
.portal-cta p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.products-section {
  background: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-height: 152px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.category-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 8px;
}

.category-card span {
  display: block;
  margin-bottom: 7px;
  font-size: 19px;
  font-weight: 900;
}

.category-card small {
  color: var(--muted);
}

.category-feature {
  grid-row: span 2;
}

.split-section {
  background: #eef4f1;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-grid article {
  min-height: 214px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.solution-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.solution-grid p {
  color: var(--muted);
}

.promise-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  color: #fff;
  background: var(--brand-dark);
}

.promise-section .section-label,
.portal-cta .section-label {
  color: #f1b56f;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.promise-list article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.promise-list span {
  color: #f1b56f;
  font-weight: 900;
}

.promise-list p {
  margin-bottom: 0;
}

.custom-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
  background: #fff;
}

.custom-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.process-row span {
  padding: 14px;
  color: var(--brand);
  background: #e8f2ee;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.area-grid article {
  min-height: 138px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.area-grid strong,
.area-grid span {
  display: block;
}

.area-grid strong {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 20px;
}

.area-grid span {
  color: var(--muted);
  font-size: 14px;
}

.portal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: var(--steel);
}

.portal-cta p {
  max-width: 720px;
  color: #dbe6ed;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 38px;
  align-items: start;
  background: #fff;
}

.contact-panel {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-panel a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.contact-panel span,
.contact-panel strong {
  display: block;
}

.contact-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel strong {
  color: var(--brand);
  font-size: 24px;
}

.contact-panel [data-placeholder] strong {
  color: var(--zalo);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 46px clamp(18px, 6vw, 84px) 24px;
  color: #dbe5e4;
  background: #101c25;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 9px;
  color: #dbe5e4;
}

.footer-brand .brand-mark {
  background: var(--accent);
}

.footer-brand small {
  color: #c4d1cf;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    inset: 120px 18px auto 18px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .category-grid,
  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .hero,
  .promise-section,
  .custom-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: auto;
  }

  .showcase-main {
    width: 100%;
    aspect-ratio: 16 / 11;
  }

  .showcase-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .trust-row,
  .promise-list,
  .process-row {
    grid-template-columns: 1fr;
  }

  .portal-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .category-grid,
  .solution-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .category-feature {
    grid-row: auto;
  }

  .contact-panel strong {
    font-size: 20px;
  }
}
