:root {
  --green-950: #20382b;
  --green-900: #324f3e;
  --green-800: #486f56;
  --green-700: #6f967b;
  --green-100: #e8f1eb;
  --cream: #faf9f4;
  --ink: #15212b;
  --muted: #647181;
  --line: #dde6de;
  --panel: #ffffff;
  --orange: #e96932;
  --blue: #0068ff;
  --shadow: 0 22px 60px rgba(24, 34, 45, .14);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--green-900);
  color: #e9f3ec;
  font-size: 13px;
  font-weight: 700;
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar span { white-space: nowrap; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(111, 150, 123, .97);
  border-bottom: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 26px rgba(24, 34, 45, .13);
}
.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: 190px;
  font-weight: 900;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green-900);
  background: #f3f7ef;
  font-weight: 900;
}
.brand small {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}
.search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: #fbfbf5;
  padding: 8px 9px 8px 16px;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}
.search button,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.search button,
.btn-primary {
  color: #fff;
  background: var(--green-900);
}
.btn-orange {
  color: #fff;
  background: var(--orange);
}
.btn-line {
  color: #fff;
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.1);
}
.btn-light {
  color: var(--green-900);
  background: #e3f0e6;
}
.btn:hover,
.search button:hover { transform: translateY(-1px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 900;
}
.nav-links a {
  min-height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-bottom-color: #fff;
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #101820;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 22, .86) 0%, rgba(10, 16, 22, .64) 45%, rgba(10, 16, 22, .26) 100%),
    url("assets/cnc-phay-ic-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream), rgba(250,249,244,0));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 76px 0 122px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(95, 134, 106, .24);
  border: 1px solid rgba(232, 241, 235, .26);
  color: #e8f1eb;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}
h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}
.hero p {
  max-width: 640px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.86);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.strip {
  margin-top: -64px;
  position: relative;
  z-index: 3;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.strip-item {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}
.strip-item:last-child { border-right: 0; }
.strip-item strong {
  display: block;
  font-size: 28px;
  color: var(--green-900);
}
.strip-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

section { padding: 78px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.eyebrow {
  color: var(--green-800);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}
.lead {
  color: var(--muted);
  max-width: 680px;
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(24,34,45,.07);
}
.card-media {
  height: 220px;
  background: #dde6de;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body { padding: 22px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}
.card p {
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 700;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
}

.feature-band {
  background: var(--green-950);
  color: #fff;
}
.feature-band .lead,
.feature-band .eyebrow { color: #dbe9de; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 20px;
}
.feature strong {
  display: block;
  margin-bottom: 8px;
}
.feature span {
  color: rgba(255,255,255,.74);
  font-weight: 700;
}

.page-hero {
  background: var(--green-950);
  color: #fff;
  padding: 72px 0;
}
.page-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  font-weight: 700;
}
.catalog {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.sidebar a {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}
.sidebar a:last-child { border-bottom: 0; }
.sidebar a.active,
.sidebar a:hover { color: var(--green-900); }

.process {
  counter-reset: step;
}
.process .feature {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.process .feature::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-900);
  color: #fff;
  font-weight: 900;
}
.process .feature span { color: var(--muted); }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}
.form-grid {
  display: grid;
  gap: 12px;
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  outline: 0;
  background: #fff;
}
.form-grid textarea { min-height: 118px; resize: vertical; }

.footer {
  background: #142119;
  color: rgba(255,255,255,.78);
  padding: 44px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}
.footer a,
.footer p {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}
.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

.mobile-bottom {
  display: none;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}
.floating-contact a {
  min-width: 154px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(24, 34, 45, .22);
}
.floating-call {
  background: var(--orange);
}
.floating-zalo {
  background: var(--blue);
}
.floating-contact span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

@media (max-width: 980px) {
  .nav-inner { flex-wrap: wrap; padding: 12px 0; }
  .brand { min-width: auto; }
  .search { order: 3; flex-basis: 100%; }
  .nav-links { display: none; }
  .strip-grid,
  .grid-3,
  .grid-2,
  .feature-list,
  .contact-panel,
  .footer-grid,
  .catalog {
    grid-template-columns: 1fr;
  }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .sidebar { position: static; }
}

@media (max-width: 620px) {
  body { padding-bottom: 62px; }
  .topbar { display: none; }
  .hero { min-height: 560px; }
  .hero-actions .btn { width: 100%; }
  section { padding: 54px 0; }
  .section-head { display: block; }
  .mobile-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .mobile-bottom a {
    min-height: 58px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }
  .mobile-bottom a.active { color: var(--green-900); }
  .floating-contact {
    right: 12px;
    bottom: 74px;
  }
  .floating-contact a {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }
  .floating-contact strong {
    display: none;
  }
}
