:root {
  --bg: #ffffff;
  --text: #1d2c2a;
  --muted: #5f716b;
  --primary: #9fd9bc;
  --primary-dark: #5ea98a;
  --primary-light: #f2fbf6;
  --border: #dcece3;
  --hero-grad-a: #f6fcf9;
  --hero-grad-b: #eaf8f1;
  --shadow: 0 10px 30px rgba(21, 42, 35, 0.09);
  --shadow-soft: 0 18px 55px rgba(94, 169, 138, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% -5%, #f6fdf9 0%, rgba(246, 253, 249, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f1fbf6 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  width: 340px;
  height: 120px;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.5;
}

/* 绿叶丝带效果（轻量装饰） */
body::before {
  right: -70px;
  top: 160px;
  background:
    radial-gradient(ellipse at center, rgba(170, 225, 195, 0.4) 0%, rgba(170, 225, 195, 0.05) 70%, rgba(170, 225, 195, 0) 100%),
    linear-gradient(130deg, rgba(183, 232, 206, 0.55) 0%, rgba(130, 208, 171, 0.12) 100%);
  transform: rotate(-18deg);
}

body::after {
  left: -90px;
  bottom: 120px;
  background:
    radial-gradient(ellipse at center, rgba(189, 236, 214, 0.38) 0%, rgba(189, 236, 214, 0.04) 70%, rgba(189, 236, 214, 0) 100%),
    linear-gradient(130deg, rgba(175, 229, 202, 0.5) 0%, rgba(129, 206, 171, 0.08) 100%);
  transform: rotate(16deg);
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 1px dashed #9fcbb5;
  background: linear-gradient(140deg, #ffffff 0%, #eefaf3 100%);
  color: #4f7f6b;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.4px;
  color: var(--primary-dark);
}

.brand-en {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.9px;
  color: #7d9489;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
  padding: 8px 10px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8bcfb0 0%, #61b08d 100%);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero {
  padding: 34px 0 26px;
}

.hero .container,
section .container {
  position: relative;
  z-index: 1;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  backdrop-filter: blur(3px);
}

.carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #d8ece1;
  min-height: 520px;
  box-shadow: var(--shadow-soft);
  background: transparent;
}

.slide {
  display: none;
  min-height: 520px;
  position: relative;
}

.slide.active {
  display: block;
}

.slide-media {
  position: absolute;
  inset: 0;
  padding: 28px;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 2px dashed #a9cfba;
  color: #4f7f6b;
  background: linear-gradient(145deg, #f7fdf9 0%, #eaf8f0 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
}

.content-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      96deg,
      rgba(31, 70, 54, 0.58) 0%,
      rgba(61, 119, 93, 0.36) 38%,
      rgba(111, 182, 149, 0.1) 70%,
      rgba(111, 182, 149, 0.02) 100%
    );
}

.slide-caption {
  position: absolute;
  left: clamp(22px, 6vw, 72px);
  bottom: clamp(40px, 8vh, 80px);
  max-width: 560px;
  z-index: 2;
  color: #ffffff;
}

.slide-caption h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.slide-caption p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
  max-width: 92%;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
}

section {
  padding: 58px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfffd 100%);
  box-shadow: 0 5px 18px rgba(28, 53, 44, 0.06);
}

.product-category {
  margin-top: 30px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
}

.series-list {
  display: grid;
  gap: 18px;
}

.series-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

.series-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.series-sidebar-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
  padding: 2px 4px 6px;
  border-bottom: 1px solid #e6f2eb;
}

.series-nav-btn {
  position: relative;
  text-align: left;
  border: 1px solid #d9ece2;
  background: #fff;
  color: var(--muted);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 1.03rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.series-nav-btn::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #a8e1c5 0%,
    #7ec8a7 35%,
    #5cab89 70%,
    #4b9f7d 100%
  );
  box-shadow:
    0 0 0 1px rgba(116, 194, 156, 0.12),
    0 2px 8px rgba(76, 155, 121, 0.28);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.series-nav-btn:hover,
.series-nav-btn.active {
  color: var(--primary-dark);
  border-color: #9fd9bc;
  background: #f4fcf8;
}

.series-nav-btn.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.series-content {
  min-width: 0;
}

.series-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
  padding: 18px;
  display: none;
}

.series-block.active {
  display: block;
}

.series-head {
  margin-bottom: 14px;
}

.series-head h3 {
  color: var(--primary-dark);
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.series-head p {
  color: var(--muted);
  font-size: 0.92rem;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.series-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.series-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.series-card h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  padding: 10px 10px 4px;
}

.series-card p {
  color: var(--muted);
  font-size: 0.86rem;
  padding: 0 10px 12px;
}

.product-category h3 {
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.product-category p {
  color: var(--muted);
  margin-bottom: 14px;
}

.product-gallery {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.gallery-window {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 14px;
  transition: transform 0.35s ease;
}

.product-card {
  min-width: calc((100% - 28px) / 3);
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-image-placeholder {
  height: 200px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(140deg, #f7fdf9 0%, #eaf8f0 100%);
  color: #598672;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(30, 68, 53, 0.05) 0%, rgba(30, 68, 53, 0.74) 100%);
}

.gallery-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #beddce;
  background: linear-gradient(145deg, #ffffff 0%, #edf8f2 100%);
  color: #4b7f68;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.video-box {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
}

.home-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #0f1614;
}

.page-banner {
  background: linear-gradient(180deg, #f2fbf6 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.page-banner h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  margin-bottom: 8px;
}

.page-banner p {
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.contact-item strong {
  color: var(--primary-dark);
}

.contact-company {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.contact-logo-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px dashed #9fcbb5;
  background: linear-gradient(140deg, #ffffff 0%, #eefaf3 100%);
  color: #4f7f6b;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.contact-links-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.link-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card span {
  display: block;
  text-align: center;
  padding: 8px 8px 4px;
  color: var(--primary-dark);
  font-weight: 600;
}

.link-text-reserve {
  display: block;
  margin: 0 8px 10px;
  padding: 7px 6px;
  font-style: normal;
  font-size: 0.85rem;
  color: #6f8d80;
  border: 1px dashed #b7d8c8;
  border-radius: 8px;
  text-align: center;
  background: #fbfffd;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(68, 125, 99, 0.14);
}

/* 服务板块：独立区域，与产品介绍并列 */
.service-section {
  background: transparent;
}

/* 联系方式：logo 独立居中行 */
.contact-item--centered {
  text-align: center;
}

.contact-item--centered p {
  text-align: center;
  font-size: 1.04rem;
  line-height: 1.95;
}

.contact-logo-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-logo-box--lg {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  font-size: 0.88rem;
}

.contact-logo-img--lg {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
}

.footer {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.floating-consult {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: min(260px, calc(100vw - 28px));
  border: 1px solid rgba(172, 216, 195, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(70, 127, 101, 0.16);
  padding: 12px 12px 10px;
  transition: all 0.28s ease;
}

.floating-consult p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4f6d62;
  margin-bottom: 10px;
}

.floating-consult .consult-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(120deg, #8dd2b2 0%, #63af8d 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.consult-toggle {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #5daa89;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.floating-consult.collapsed {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
}

.floating-consult.collapsed p,
.floating-consult.collapsed .consult-btn {
  display: none;
}

.floating-consult.collapsed .consult-toggle {
  position: static;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(120deg, #8dd2b2 0%, #63af8d 100%);
  font-size: 1.2rem;
}

/* 环保流光效果仅放在底部，避免影响内容板块 */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.footer::before {
  left: -8%;
  right: -8%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(128, 205, 171, 0) 0%, rgba(128, 205, 171, 0.6) 50%, rgba(128, 205, 171, 0) 100%);
  animation: shimmerFlow 6.5s linear infinite;
}

.footer::after {
  right: 4%;
  bottom: 8px;
  width: 180px;
  height: 58px;
  border-radius: 999px;
  opacity: 0.28;
  background:
    radial-gradient(ellipse at center, rgba(173, 227, 198, 0.45) 0%, rgba(173, 227, 198, 0) 74%),
    linear-gradient(130deg, rgba(183, 232, 206, 0.45) 0%, rgba(130, 208, 171, 0.05) 100%);
}

@keyframes shimmerFlow {
  0% {
    left: -35%;
    opacity: 0;
  }
  12% {
    opacity: 0.65;
  }
  42% {
    opacity: 0.28;
  }
  60% {
    left: 120%;
    opacity: 0;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .grid-3,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .main-nav ul {
    gap: 14px;
  }

  .hero {
    padding-top: 18px;
  }

  .carousel,
  .slide {
    min-height: 430px;
  }

  .slide-media {
    padding: 16px;
  }

  .slide-caption {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .slide-caption p {
    max-width: 100%;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .product-card {
    min-width: 100%;
  }

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

  .series-layout {
    grid-template-columns: 1fr;
  }

  .series-sidebar {
    position: static;
  }

  .contact-links-grid {
    grid-template-columns: 1fr;
  }

  .footer::after {
    width: 120px;
    height: 44px;
    opacity: 0.2;
  }

  .floating-consult {
    right: 12px;
    bottom: 12px;
    padding: 10px;
  }
}
