@font-face {
  font-family: "HYQiHei45";
  src: url("../fonts/HYQiHei_45S-BbazDp96.ttf") format("truetype");
}

@font-face {
  font-family: "HYQiHei55";
  src: url("../fonts/HYQiHei_55S-vm_eQuxf.ttf") format("truetype");
}

@font-face {
  font-family: "PoppinsLocal";
  src: url("../fonts/Poppins-Regular-CTKNfV9P.ttf") format("truetype");
}

:root {
  --nx-green: #17370d;
  --nx-fresh: #a2dd00;
  --nx-line: #88c12e;
  --nx-pale: #d6f4b8;
  --nx-warm: #f1f0e9;
  --nx-text: #040000;
  --nx-muted: #6c6a5d;
  --nx-page: min(100%, 1440px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--nx-text);
  background: #fff;
  font-family: "HYQiHei55", Arial, sans-serif;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 44px 0 26px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.site-logo img {
  width: 190px;
  height: auto;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.primary-menu a {
  font-size: 13px;
  font-weight: 700;
  color: #19191a;
}

.primary-menu a:hover {
  color: var(--nx-green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--nx-green);
}

.site-main {
  min-height: 60vh;
}

.section {
  width: var(--nx-page);
  margin: 0 auto;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 26px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: #fff;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 72px 20px 44px;
}

.section-title .en {
  font-family: "PoppinsLocal", Arial, sans-serif;
  font-size: 30px;
  color: var(--nx-green);
}

.section-title .cn {
  font-size: 24px;
  color: var(--nx-text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0 48px 86px;
}

.product-card {
  overflow: hidden;
  background: var(--nx-warm);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-card-footer {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
}

.product-card-title {
  font-size: 20px;
}

.product-card-more {
  margin-top: 8px;
  font-size: 14px;
}

.join-band {
  position: relative;
  color: var(--nx-green);
}

.join-band img {
  width: 100%;
}

.join-copy {
  position: absolute;
  top: 14%;
  left: 7%;
}

.join-copy h2 {
  margin: 0 0 16px;
  font-size: 60px;
  font-family: "HYQiHei45", Arial, sans-serif;
}

.join-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 55px;
  border: 1px solid var(--nx-green);
  font-size: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: var(--nx-page);
  margin: 0 auto;
}

.about-grid img,
.about-tile {
  min-height: 48vw;
  max-height: 806px;
  object-fit: cover;
}

.about-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw;
  background: var(--nx-warm);
}

.about-tile h2 {
  margin: 0 0 24px;
  font-size: 24px;
}

.about-tile p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.8;
}

.green-visual img {
  width: 100%;
}

.page-hero img {
  width: 100%;
}

.content-band {
  width: var(--nx-page);
  margin: 0 auto;
  padding: 80px 48px;
}

.split-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-row:nth-child(even) .split-copy {
  order: 2;
}

.split-copy {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
  padding: 76px;
  background: var(--nx-warm);
}

.split-copy h2,
.article-section h2 {
  margin: 0 0 24px;
  font-size: 28px;
}

.split-copy p,
.article-section p {
  font-size: 18px;
  line-height: 1.85;
}

.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  border-bottom: 3px solid var(--nx-line);
  padding: 28px 20px;
  overflow-x: auto;
}

.timeline-nav a {
  font-family: "PoppinsLocal", Arial, sans-serif;
  color: #7f8080;
}

.timeline-item {
  padding: 90px 20px 40px;
  text-align: center;
}

.timeline-item h2 {
  margin: 0 0 24px;
  font-family: "PoppinsLocal", Arial, sans-serif;
  font-size: 60px;
}

.timeline-item p {
  max-width: 820px;
  margin: 0 auto 34px;
  font-size: 18px;
  line-height: 1.8;
}

.timeline-item img {
  margin: 0 auto;
}

.csr-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 60px;
}

.csr-sidebar {
  position: sticky;
  top: 110px;
  height: max-content;
}

.csr-sidebar h1 {
  font-size: 36px;
}

.csr-sidebar a {
  display: block;
  margin: 18px 0;
  color: var(--nx-green);
}

.article-section {
  padding: 52px 0;
}

.article-section img {
  width: 100%;
  max-width: 953px;
  margin: 34px 0;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.contact-info li {
  margin: 18px 0;
  font-size: 22px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.contact-card {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 42px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.button-link {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid currentColor;
  padding: 12px 28px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 76px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.product-thumbs img {
  width: 78px;
  height: 86px;
  object-fit: contain;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.product-thumbs img.is-active {
  border-color: var(--nx-text);
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail-copy .category {
  color: var(--nx-fresh);
  font-size: 26px;
}

.product-detail-copy h1 {
  color: var(--nx-muted);
  font-size: 30px;
}

.tabs-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.tabs-nav button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #787878;
  font: inherit;
  padding: 10px 0;
  cursor: pointer;
}

.tabs-nav button.is-active {
  color: var(--nx-green);
  border-color: var(--nx-fresh);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.site-footer {
  background: var(--nx-green);
  color: #fff;
}

.footer-inner {
  width: var(--nx-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px;
}

.footer-logo {
  width: 335px;
}

.footer-info p,
.copyright {
  margin: 8px 0;
  font-size: 14px;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-qr img {
  width: 90px;
}

.copyright {
  margin: 0;
  padding: 0 48px 28px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .site-logo img {
    width: 138px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-menu {
    display: block;
    padding: 12px 22px 22px;
  }

  .primary-menu li {
    padding: 12px 0;
  }

  .section-title {
    padding: 44px 20px 28px;
  }

  .section-title .en {
    font-size: 24px;
  }

  .section-title .cn {
    font-size: 18px;
  }

  .product-grid,
  .about-grid,
  .split-row,
  .csr-layout,
  .contact-info,
  .contact-cards,
  .product-detail,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 16px;
    padding: 0 20px 54px;
  }

  .join-copy h2 {
    font-size: 34px;
  }

  .join-copy span {
    min-width: 142px;
    min-height: 38px;
    font-size: 18px;
  }

  .about-tile,
  .split-copy {
    min-height: auto;
    padding: 38px 20px;
  }

  .split-row:nth-child(even) .split-copy {
    order: initial;
  }

  .content-band {
    padding: 44px 20px;
  }

  .timeline-item h2 {
    font-size: 38px;
  }

  .csr-sidebar {
    position: static;
  }

  .contact-card {
    min-height: 300px;
  }

  .footer-inner {
    padding: 34px 20px;
  }

  .footer-logo {
    width: 260px;
  }
}
