:root {
  --bg: #f5fbf7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #edf8f0;
  --line: #d9e7de;
  --text: #112018;
  --muted: #5a6b62;
  --brand-50: #eefbf4;
  --brand-100: #d8f4e4;
  --brand-300: #8fd6b0;
  --brand-500: #25946a;
  --brand-600: #177853;
  --brand-700: #115d40;
  --dark: #0f1f18;
  --dark-soft: #162a21;
  --shadow: 0 24px 60px rgba(17, 32, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 214, 176, 0.18), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(37, 148, 106, 0.1), transparent 22%),
    linear-gradient(180deg, #f6fcf8 0%, #ffffff 45%, #f8fcf9 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(217, 231, 222, 0.8);
}
.nav-bar, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-bar { min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 14px 30px rgba(23, 120, 83, 0.24);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-text strong { font-size: 18px; letter-spacing: 0.04em; }
.brand-text small {
  color: var(--brand-700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}
.desktop-nav, .nav-actions, .hero-actions, .section-inline-head, .footer-links {
  display: flex;
  align-items: center;
}
.desktop-nav { gap: 28px; color: var(--muted); font-size: 14px; }
.desktop-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--brand-700); }
.nav-actions { gap: 16px; }
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-select {
  min-width: 124px;
  height: 44px;
  padding: 0 40px 0 16px;
  border: 1px solid rgba(143, 214, 176, 0.4);
  border-radius: 999px;
  background: rgba(237, 248, 240, 0.92);
  color: var(--brand-700);
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.lang-select-wrap.is-upgraded::after,
.lang-select-wrap.is-upgraded .lang-select {
  display: none;
}
.lang-switcher {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  min-width: 154px;
}
.lang-toggle {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(143, 214, 176, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 248, 240, 0.96) 100%);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(17, 32, 24, 0.08);
  cursor: pointer;
  transition: 0.22s ease;
}
.lang-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 148, 106, 0.5);
  box-shadow: 0 18px 34px rgba(17, 32, 24, 0.12);
}
.lang-toggle:focus-visible,
.lang-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(143, 214, 176, 0.18);
}
.lang-toggle[aria-expanded="true"] {
  border-color: rgba(37, 148, 106, 0.56);
  box-shadow: 0 20px 36px rgba(37, 148, 106, 0.16);
}
.lang-toggle-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffffff 0 18%, transparent 19%),
    linear-gradient(135deg, var(--brand-300), var(--brand-700));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.lang-current {
  min-width: 0;
  flex: 1;
  text-align: left;
}
.lang-toggle-caret {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}
.lang-toggle[aria-expanded="true"] .lang-toggle-caret {
  transform: rotate(225deg) translateY(-1px);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  min-width: 100%;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 231, 222, 0.9);
  box-shadow: 0 28px 48px rgba(17, 32, 24, 0.14);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.2s ease;
}
.lang-switcher.is-open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-option {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: 0.18s ease;
}
.lang-option::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(17, 32, 24, 0.16);
  transition: 0.18s ease;
}
.lang-option:hover {
  background: rgba(238, 251, 244, 0.92);
  color: var(--brand-700);
}
.lang-option.is-active {
  background: linear-gradient(180deg, rgba(238, 251, 244, 1) 0%, rgba(216, 244, 228, 0.8) 100%);
  color: var(--brand-700);
}
.lang-option.is-active::after {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 14px 30px rgba(23, 120, 83, 0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(23, 120, 83, 0.28);
}
.btn-secondary { background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--brand-300); color: var(--brand-700); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; margin: 0 auto; background: var(--text); border-radius: 999px; }
.mobile-nav { display: none; border-top: 1px solid rgba(217, 231, 222, 0.7); background: rgba(255, 255, 255, 0.96); }
.mobile-nav.is-open { display: block; }
.mobile-nav-inner { padding: 20px 0 24px; display: flex; flex-direction: column; gap: 18px; }
.hero-section, .section { position: relative; }
.hero-section { overflow: hidden; padding: 72px 0 48px; }
.hero-grid, .two-col, .cooperation-grid, .contact-grid { display: grid; gap: 48px; }
.hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(143, 214, 176, 0.4);
}
.hero-copy h1, .section-title, .visual-panel h2 { margin: 18px 0 0; line-height: 1.15; }
.hero-copy h1 { max-width: 760px; font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -0.04em; }
.hero-desc, .section-text, .visual-panel p, .feature-card p, .product-card p, .mini-card p, .news-card p, .contact-list span {
  color: var(--muted);
  line-height: 1.9;
}
.hero-desc { max-width: 700px; margin: 22px 0 0; font-size: 17px; }
.hero-actions { gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.stats-grid, .info-grid, .feature-grid, .product-grid, .mini-grid, .news-grid { display: grid; gap: 22px; }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 42px; }
.stat-card, .info-card, .product-card, .mini-card, .news-card, .contact-form, .media-card, .card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}
.stat-card, .info-card, .news-card { padding: 22px; }
.stat-card span, .info-card span, .news-card span { display: block; color: var(--muted); font-size: 14px; }
.stat-card strong, .info-card strong { display: block; margin-top: 12px; font-size: 34px; font-weight: 700; color: var(--text); }
.hero-visual { overflow: hidden; padding: 18px; position: relative; }
.hero-visual img, .media-card img, .product-card img { width: 100%; border-radius: 26px; }
.hero-visual img { min-height: 540px; object-fit: cover; }
.visual-panel {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 36px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(15, 31, 24, 0.78);
  color: #fff;
  backdrop-filter: blur(12px);
}
.visual-tag {
  display: inline-block;
  color: var(--brand-300);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 700;
}
.visual-panel h2 { font-size: 30px; }
.visual-panel p { color: rgba(255, 255, 255, 0.78); margin-top: 14px; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(70px); pointer-events: none; }
.hero-glow-a { width: 260px; height: 260px; left: -40px; top: 60px; background: rgba(143, 214, 176, 0.36); }
.hero-glow-b { width: 300px; height: 300px; right: -90px; top: 140px; background: rgba(37, 148, 106, 0.18); }
.section { padding: 96px 0; }
.two-col, .contact-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }
.media-card { overflow: hidden; background: linear-gradient(180deg, #0f1f18 0%, #183125 100%); }
.media-card img { min-height: 420px; object-fit: cover; }
.section-title { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; }
.section-text { margin: 18px 0 0; max-width: 760px; font-size: 16px; }

#about .two-col {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 32px;
}

#about .media-card {
  min-height: 100%;
  border-radius: 36px;
}

#about .media-card img {
  height: 100%;
  min-height: 640px;
  object-position: center;
}

#about .section-title {
  max-width: 10ch;
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
}

#about .section-text {
  max-width: 560px;
}

#about .info-grid {
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#about .info-card {
  min-height: 154px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px;
}

#about .info-card span {
  font-size: 13px;
  line-height: 1.7;
}

#about .info-card strong {
  margin-top: 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
}
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 148, 106, 0.28), transparent 28%),
    linear-gradient(180deg, #0e1d17 0%, #12241c 100%);
}
.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-300);
  border-color: rgba(255, 255, 255, 0.1);
}
.section-text-dark, .feature-card p, .contact-panel .section-text-dark, .contact-panel .contact-list span { color: rgba(236, 244, 239, 0.72); }
.feature-grid { margin-top: 42px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}
.feature-card span { color: var(--brand-300); font-weight: 700; letter-spacing: 0.22em; }
.feature-card h3, .product-card h3, .mini-card h3, .news-card h3 { margin: 14px 0 0; font-size: 26px; line-height: 1.25; }
.section-inline-head { justify-content: space-between; gap: 24px; align-items: flex-end; }
.text-link { color: var(--brand-700); font-weight: 700; white-space: nowrap; }
.product-grid { margin-top: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { overflow: hidden; padding-bottom: 24px; }
.product-card img { aspect-ratio: 1 / 0.78; object-fit: cover; }
.product-card div { padding: 24px 24px 0; }
.product-card p, .mini-card p, .news-card p { margin: 14px 0 0; font-size: 15px; }
.section-soft { background: linear-gradient(180deg, var(--brand-50) 0%, #ffffff 100%); }
.cooperation-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: start; }
.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-card { padding: 28px; }
.news-grid { margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card span { color: var(--brand-700); font-weight: 700; }
.contact-section { padding-top: 0; }
.contact-grid { align-items: stretch; }
.contact-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(37, 148, 106, 0.22), transparent 28%),
    linear-gradient(180deg, #0f1f18 0%, #162b22 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-list { margin-top: 34px; display: grid; gap: 24px; }
.contact-list strong { display: block; margin-top: 10px; font-size: 18px; color: #fff; }
.contact-form { padding: 32px; display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form label { display: block; }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form span { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-300); box-shadow: 0 0 0 4px rgba(143, 214, 176, 0.14); }
.site-footer { border-top: 1px solid rgba(217, 231, 222, 0.9); background: rgba(255, 255, 255, 0.86); }
.footer-row { min-height: 86px; color: var(--muted); font-size: 14px; }
.footer-links { gap: 18px; }
.accent { background: linear-gradient(180deg, var(--brand-50) 0%, #ffffff 100%); border-color: rgba(143, 214, 176, 0.32); }
.section-head.narrow { max-width: 740px; }

@media (max-width: 1100px) {
  .hero-grid, .two-col, .cooperation-grid, .contact-grid, .feature-grid, .product-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .two-col, .cooperation-grid, .contact-grid { grid-template-columns: 1fr; }

  #about .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #about .media-card img {
    min-height: 480px;
  }
}

@media (max-width: 840px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .stats-grid, .info-grid, .product-grid, .mini-grid, .news-grid, .feature-grid, .contact-form { grid-template-columns: 1fr; }
  .hero-section { padding-top: 42px; }
  .hero-visual img { min-height: 380px; }
  .visual-panel { position: static; margin-top: 18px; }
  .section { padding: 72px 0; }
  .section-inline-head, .footer-row { flex-direction: column; align-items: flex-start; }

  #about .section-title,
  #about .section-text {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .nav-bar { min-height: 74px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 10px; letter-spacing: 0.12em; }
  .lang-select { min-width: 108px; height: 40px; padding-left: 14px; }
  .lang-switcher { min-width: 118px; }
  .lang-toggle { height: 42px; }
  .lang-menu { width: min(220px, calc(100vw - 24px)); right: 0; }
  .hero-copy h1 { font-size: 34px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .stat-card strong, .info-card strong { font-size: 28px; }
  .product-card div, .mini-card, .news-card, .contact-form, .contact-panel, .feature-card { padding: 22px; }

  #about .media-card {
    border-radius: 28px;
  }

  #about .media-card img {
    min-height: 320px;
  }

  #about .info-card {
    min-height: auto;
    padding: 22px;
  }
}
