@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@500;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-soft: #eef4f0;
  --text: #11211a;
  --muted: #5d6d65;
  --primary: #18c66f;
  --primary-strong: #0e8f52;
  --primary-soft: #dcf7e9;
  --accent: #b87b2a;
  --accent-soft: #efe0cd;
  --line: #d6e2dc;
  --deep: #0d261a;
  --deep-soft: #123225;
  --warn: #f2994a;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-1: 0 10px 30px rgba(11, 42, 29, 0.08);
  --shadow-2: 0 18px 42px rgba(11, 42, 29, 0.14);
  --container: 1240px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
}

[data-lang][hidden] {
  display: none !important;
}

html:not([data-lang='en']) [data-lang='en'] {
  display: none !important;
}

html[data-lang='en'] [data-lang='zh'] {
  display: none !important;
}

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

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

.page {
  position: relative;
  isolation: isolate;
}

.page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(24, 198, 111, 0.08), transparent 36%),
    radial-gradient(circle at 82% 3%, rgba(184, 123, 42, 0.1), transparent 30%),
    linear-gradient(180deg, #f7f9f7 0%, #eef3f0 100%);
}

.page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(90deg, rgba(80, 66, 42, 0.08) 0, rgba(80, 66, 42, 0.08) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(0deg, rgba(14, 58, 38, 0.05) 0, rgba(14, 58, 38, 0.05) 1px, transparent 1px, transparent 56px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 246, 245, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: var(--space-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.brand-mark {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), #64f2ae);
  box-shadow: 0 0 0 5px rgba(24, 198, 111, 0.12);
}

.brand-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 14px;
}

.main-nav a {
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-xs);
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0;
}

.mobile-nav nav {
  display: grid;
  gap: var(--space-3);
}

.mobile-nav a {
  font-size: 14px;
  color: var(--muted);
}

.mobile-nav a.active {
  color: var(--primary-strong);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: var(--space-10) auto var(--space-12);
  min-height: 530px;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow-2);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(98deg, rgba(10, 28, 20, 0.82), rgba(10, 28, 20, 0.48), rgba(10, 28, 20, 0.18));
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-16) var(--space-10);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #d7fce9;
  background: rgba(24, 198, 111, 0.18);
  backdrop-filter: blur(6px);
  margin-bottom: var(--space-4);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1,
.h1 {
  font-family: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 700;
}

h2,
.h2 {
  font-family: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
}

h3,
.h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
}

.lead {
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  max-width: 660px;
}

.btn-row {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn {
  border: 1px solid transparent;
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--primary);
  color: #0d2a1d;
  box-shadow: 0 10px 24px rgba(24, 198, 111, 0.35);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  color: #0f251a;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.section {
  margin-bottom: var(--space-20);
}

.section-head {
  margin-bottom: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
}

.section-head p {
  margin: var(--space-3) 0 0;
  color: var(--muted);
  max-width: 700px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  box-shadow: var(--shadow-1);
}

.stat-card strong {
  display: block;
  font-family: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  color: var(--primary-strong);
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 92px;
}

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

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

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

.card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-5);
}

.card-title {
  margin: 0 0 var(--space-2);
  font-size: 19px;
  font-weight: 700;
}

.card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-meta {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--line);
  display: grid;
  gap: var(--space-2);
  color: #3e5148;
  font-size: 13px;
}

.link-inline {
  margin-top: var(--space-4);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--primary-strong);
  font-weight: 700;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.advantage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
}

.advantage-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-bottom: var(--space-3);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 18px;
  font-weight: 700;
}

.advantage h4 {
  margin: 0 0 var(--space-2);
  font-size: 18px;
}

.advantage p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.band {
  background: linear-gradient(120deg, #0d2d20 0%, #0a2419 100%);
  color: #f4fff9;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  border: 1px solid rgba(24, 198, 111, 0.26);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 198, 111, 0.25), transparent 68%);
  right: -120px;
  top: -170px;
}

.band .section-head p {
  color: rgba(225, 245, 235, 0.8);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.app-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.75));
}

.app-card span {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  z-index: 1;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3);
}

.logo-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  display: grid;
  place-items: center;
  min-height: 80px;
  color: #44584e;
  font-weight: 700;
  font-size: 13px;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: var(--space-8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: var(--space-6);
}

.info-stack {
  display: grid;
  gap: var(--space-4);
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: var(--space-5);
}

.info-card h4 {
  margin: 0 0 var(--space-1);
  font-size: 18px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.factory-map-shell {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin-top: var(--space-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(24, 198, 111, 0.08), rgba(184, 123, 42, 0.1)),
    #f6faf8;
}

.factory-map {
  width: 100%;
  height: 260px;
}

.factory-map[hidden] {
  display: none;
}

.factory-map-loading,
.factory-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 50%, transparent 50% 100%) 0 0 / 28px 28px,
    rgba(246, 250, 248, 0.92);
}

.factory-map-loading[hidden],
.factory-map-fallback[hidden] {
  display: none;
}

.factory-map-loading {
  font-size: 13px;
  font-weight: 700;
}

.factory-map-fallback p {
  margin: 0;
  color: var(--muted);
}

.qr-box {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.qr {
  width: 86px;
  height: 86px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #f7f7f7, #e2e2e2);
  position: relative;
}

.qr::before,
.qr::after {
  content: '';
  position: absolute;
  inset: 16px;
  background:
    conic-gradient(from 90deg, #111 25%, transparent 0 50%, #111 0 75%, transparent 0),
    repeating-linear-gradient(0deg, #111 0 4px, transparent 4px 8px),
    repeating-linear-gradient(90deg, #111 0 4px, transparent 4px 8px);
  opacity: 0.24;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: #2d4238;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7d6cf;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 198, 111, 0.18);
  outline: none;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.page-hero {
  background: linear-gradient(130deg, rgba(9, 33, 23, 0.96), rgba(9, 33, 23, 0.78));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-10);
  margin: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero, none);
  background-size: cover;
  background-position: center;
  opacity: 0.24;
}

.page-hero > * {
  position: relative;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.pill {
  font-size: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #3f564b;
  padding: 6px 11px;
  border-radius: 999px;
}

.timeline {
  display: grid;
  gap: var(--space-4);
}

.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: var(--space-4);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  min-height: 140px;
}

.news-meta {
  color: #4b6257;
  font-size: 13px;
}

.news-card h3 {
  margin: 6px 0 8px;
  font-size: 22px;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.quote-strip {
  margin-top: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, #0f3727 0%, #145d40 100%);
  color: #e4fff1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

.site-footer {
  margin-top: var(--space-20);
  background: #0e241a;
  color: #d8e8df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-10) 0;
}

.footer-grid h4 {
  margin: 0 0 var(--space-3);
  color: #f3fff8;
  font-size: 15px;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: #b9ccc2;
  font-size: 13px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-4) 0 var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #95ab9f;
  font-size: 12px;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border-radius: 999px;
  background: #0f241b;
  color: #fff;
  border: 1px solid rgba(24, 198, 111, 0.45);
  padding: 10px 14px;
  box-shadow: var(--shadow-2);
  z-index: 25;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1150px) {
  .main-nav {
    gap: var(--space-3);
  }

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

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

  .catalog-sidebar {
    position: static;
  }

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

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

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

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

@media (max-width: 960px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav,
  .header-actions .btn.primary {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-nav.show {
    display: block;
  }

  .hero {
    min-height: 440px;
  }

  .hero-content {
    padding: var(--space-12) var(--space-6);
  }

  .stat-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-grid.two-col,
  .catalog-grid,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-text {
    font-size: 15px;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-switch button {
    padding: 5px 8px;
    font-size: 11px;
  }

  .hero {
    min-height: 390px;
    margin-top: var(--space-6);
    border-radius: var(--radius-md);
  }

  .hero-content {
    padding: var(--space-10) var(--space-5);
  }

  .btn-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .section {
    margin-bottom: var(--space-16);
  }

  .card-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }

  .factory-map-shell,
  .factory-map {
    min-height: 220px;
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-8) 0;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    font-size: 12px;
  }
}
