/* 首页：首屏侧栏 + 下滑出现顶部导航 */
.page-home { background: #fff; }

.scroll-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 300;
  height: 100px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.18) -2px 0 3px 1px;
  transform: translateY(-110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-nav.show { transform: translateY(0); }

.sn-inner {
  height: 100%;
  width: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
}
.sn-logo { flex: 0 0 260px; min-width: 260px; display: block; line-height: 0; }
.sn-logo img { height: 68px; width: 260px; object-fit: contain; object-position: left center; }
.sn-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: nowrap;
}
.sn-menu > a,
.sn-drop > a {
  display: inline-flex;
  align-items: center;
  height: 100px;
  padding: 0;
  font-size: 18px;
  color: #444;
  position: relative;
  white-space: nowrap;
  font-weight: 400;
  line-height: 18px;
}
.sn-menu > a:hover,
.sn-drop:hover > a { color: #70bb2b; }
.sn-lang,
.sn-phone {
  color: #444 !important;
  font-weight: 400 !important;
  font-size: 18px !important;
}

.sn-drop { position: relative; }
.sn-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
}
.sn-drop:hover .sn-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sn-sub a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: #444;
}
.sn-sub a:hover { background: #f3faf3; color: #2e7d32; }
.sn-lang, .sn-phone { color: #444 !important; font-weight: 400 !important; }
.sn-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #123;
}
.hero-track { height: 100%; display: flex; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.12) 40%, rgba(0,0,0,.2));
}
.hero-slide .ken {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  animation: ken 14s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 8vw 0 16vw;
  animation: heroIn 1s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-content .sub {
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-content h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1.35;
  margin-bottom: 28px;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.9);
  color: #fff;
  letter-spacing: 2px;
  font-size: 13px;
  background: rgba(255,255,255,.06);
  transition: 0.3s;
}
.btn-more:hover { background: #fff; color: #222; }
.btn-more.dark { color: #2e7d32; border-color: #2e7d32; background: transparent; }
.btn-more.dark:hover { background: #2e7d32; color: #fff; }

.hero-side {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 210px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(180deg, rgba(18,48,72,.45), rgba(10,30,48,.55));
  transition: opacity 0.4s, transform 0.4s;
}
.hero-side.away { opacity: 0; transform: translateX(-16px); pointer-events: none; }
.hero-side .side-logo { padding: 26px 20px 0; }
.hero-side .side-logo img { width: 150px; height: auto; }
.hero-side nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 0 28px;
}
.hero-side nav a {
  color: #fff;
  letter-spacing: 2px;
  font-size: 16px;
  padding-left: 12px;
  position: relative;
}
.hero-side nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: #fff;
  transition: 0.25s;
}
.hero-side nav a:hover::before,
.hero-side nav a.active::before { width: 8px; }
.side-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 32px 26px;
  opacity: 0.9;
}
.side-scroll span {
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  font-size: 11px;
}
.mouse {
  width: 18px; height: 28px;
  border: 1.5px solid #fff;
  border-radius: 10px;
  position: relative;
}
.mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  background: #fff;
  border-radius: 2px;
  animation: mouse 1.4s infinite;
}
@keyframes mouse {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

.hero-nav {
  position: absolute;
  right: 28px;
  bottom: 36px;
  z-index: 6;
  display: flex;
  gap: 12px;
}
.hero-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.25s;
}
.hero-nav button:hover { background: rgba(255,255,255,.2); }
.hero-dots {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-dots span.active { background: #fff; transform: scale(1.3); }

/* sections：尺寸对齐原站 1600 宽下的计算值 */
.page-home .h-sec > .container { width: min(1560px, calc(100% - 30px)); }
.h-sec { padding: 72px 0 64px; }
.h-title { text-align: center; margin-bottom: 36px; }
.h-title h2 { font-size: 34px; font-weight: 700; letter-spacing: 0; color: #70bb2b; line-height: normal; }
.h-title p { color: #999; margin-top: 8px; font-size: 16px; letter-spacing: 0; }

.about-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 70px;
  align-items: start;
}
.about-copy .desc {
  color: #2c2c2c;
  font-size: 16px;
  line-height: 40px;
  text-align: justify;
}
.about-copy .desc strong { color: #2c2c2c; font-weight: 700; }
.circle-more {
  width: 52px;
  height: 52px;
  margin-top: 8px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b5b5b5;
  background: #fff;
}
.circle-more svg { display: block; }
.circle-more:hover { border-color: #70bb2b; color: #70bb2b; }
.about-photo img {
  width: 100%;
  height: 445px;
  object-fit: cover;
}

.stats-band {
  position: relative;
  color: #fff;
  min-height: 456px;
  padding: 78px 0 70px;
  background: #1a3d24 url("../assets/images/forest.jpg") center/cover no-repeat;
  text-align: center;
}
.stats-band h3 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: #fff;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  background: rgba(112, 187, 43, 0.7);
  min-height: 129px;
  padding: 18px 10px 8px;
  align-items: center;
}
.stat-row > div { border-right: 1px solid rgba(255, 255, 255, 0.65); }
.stat-row > div:last-child { border-right: none; }
.stat-row .n {
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  color: #fff;
}
.stat-row .n small { font-size: 16px; font-weight: 400; margin-left: 4px; }
.stat-row .l { margin-top: 0; font-size: 16px; line-height: 32px; color: #fff; }

.prod-wrap { position: relative; }
.prod-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-card { display: block; }
.prod-card .pic { position: relative; background: #f4f4f4; overflow: hidden; }
.prod-card img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; }
.prod-card h3 {
  position: absolute;
  left: 16px;
  bottom: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0;
  color: #333;
}
.prod-side {
  position: absolute;
  top: 58%;
  z-index: 2;
  width: 42px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #6aa0e0;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.prod-side.prev { left: -36px; }
.prod-side.next { right: -36px; }

.news-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.35s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-card .txt { padding: 14px 12px 18px; }
.news-card .date { color: #999; font-size: 12px; }
.news-card h4 {
  font-size: 15px;
  margin: 6px 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  color: #777;
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-band {
  position: relative;
  min-height: 280px;
  background: #333 center/cover no-repeat;
  display: flex;
  align-items: center;
}
.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}
.feat-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1000px, 92%);
  margin: 0 auto;
  padding: 48px 0;
}
.feat-item {
  text-align: center;
  color: #fff;
  transition: transform 0.35s;
}
.feat-item:hover { transform: translateY(-8px); }
.feat-item .ico {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.feat-item h4 { font-size: 16px; font-weight: 500; letter-spacing: 1px; }

.apps {
  padding: 80px 0;
  background-color: #f7f7f7;
  background-image: url("../assets/images/apps_bg.jpg");
  background-repeat: repeat;
}
.apps .h-title { margin-bottom: 48px; }
.apps .container { width: min(1000px, calc(100% - 40px)); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.logo-grid a {
  background: #fff;
  border: 1px solid #e7e7e7;
  display: grid;
  place-items: center;
  padding: 0;
  box-sizing: border-box;
  aspect-ratio: 160 / 71;
  transition: 0.25s;
}
.logo-grid a:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.logo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.h-footer {
  background: #323232;
  color: #c8c6c6;
  padding: 56px 0 0;
  font-size: 14px;
}
.h-footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 18px;
}
.hf-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
  width: min(1200px, calc(100% - 40px));
}
.hf-cols {
  display: flex;
  gap: 36px;
  flex: 1 1 auto;
  min-width: 0;
}
.hf-col { min-width: 88px; }
.hf-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hf-links a {
  color: #c8c6c6;
  font-size: 14px;
  line-height: 1.5;
}
.hf-links a:hover { color: #fff; }
.hf-contact-wrap {
  flex: 0 0 260px;
  max-width: 280px;
}
.hf-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hf-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.66);
  font-size: 14px;
}
.hf-contact img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hf-qr {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
  padding-top: 4px;
}
.hf-qr figure { margin: 0; text-align: center; }
.hf-qr img {
  width: 81px;
  height: 81px;
  object-fit: contain;
  background: #fff;
  display: block;
}
.hf-qr figcaption {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
  color: #fff;
}
.hf-copy {
  background: #70bb2b;
  padding: 10px 0;
  min-height: 48px;
  box-sizing: border-box;
}
.hf-copy-inner {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}
.hf-copy-inner a { color: #fff; }
.hf-copy-inner a:hover { text-decoration: underline; }

.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .news-row { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-main { flex-wrap: wrap; }
  .hf-cols { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1360px) {
  .sn-inner { padding: 0 20px; }
  .sn-logo { flex-basis: 180px; min-width: 180px; }
  .sn-logo img { width: 180px; height: 48px; }
  .sn-menu { gap: 22px; }
  .sn-menu > a, .sn-drop > a, .sn-lang, .sn-phone { font-size: 16px !important; }
}
@media (max-width: 960px) {
  .scroll-nav { transform: none; }
  .sn-logo img { width: 150px; height: 40px; }
  .hero-side { display: none; }
  .page-home .hero { height: 72vh; min-height: 480px; }
  .hero-content { padding: 70px 20px 0; }
  .hero-dots { display: none; }
  .about-wrap, .prod-row, .feat-row, .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row .n { font-size: 32px; }
  .sn-toggle {
    display: flex;
    margin-left: auto;
    width: 42px; height: 42px;
    border: 1px solid #e5e5e5;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }
  .sn-toggle span { width: 18px; height: 2px; background: #333; display: block; }
  .sn-menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 78px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    max-height: calc(100vh - 78px);
    overflow: auto;
  }
  .sn-menu.open { display: flex; }
  .scroll-nav { overflow: visible; height: auto; }
  .sn-menu > a, .sn-drop > a { height: auto; padding: 12px 20px; white-space: normal; }
  .sn-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 12px; }
}
@media (max-width: 640px) {
  .about-wrap, .prod-row, .news-row, .feat-row, .stat-row { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; row-gap: 12px; }
  .logo-grid a { width: 100%; height: auto; aspect-ratio: 160 / 71; }
  .logo-grid img { width: 100%; height: auto; }
  .hf-main { flex-direction: column; }
  .hf-cols { gap: 20px; }
  .hf-contact-wrap { max-width: none; flex: none; }
  .hf-qr { flex-wrap: wrap; }
  .hf-copy-inner { flex-direction: column; text-align: center; }
  .float-tools { right: 8px; }
  .float-smart { right: 12px; bottom: 20px; width: 54px; height: 54px; }
  .float-smart svg { width: 28px; height: 28px; }
  .prod-card img { height: 220px; }
  .about-photo img { height: 220px; }
  .hero-content h1 { font-size: 24px; letter-spacing: 2px; }
  .h-title h2 { font-size: 24px; }
}
