:root {
  --ink: #143043;
  --muted: #5d6e78;
  --paper: #f4f7f6;
  --white: #ffffff;
  --line: #d7e1e5;
  --teal: #0c6670;
  --teal-dark: #063f4a;
  --orange: #e5833c;
  --green-soft: #e7f1ec;
  --blue-soft: #e7f1f4;
  --sand: #f7efe6;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(20, 48, 67, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
}

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

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

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

.brand img {
  width: 132px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand span { display: block; font-size: 20px; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #335160;
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover { color: var(--teal); }

.nav .nav-cta {
  color: var(--white);
  background: var(--teal);
  padding: 9px 14px;
  border-radius: var(--radius);
}

.nav .phone-link {
  color: var(--white);
  background: var(--orange);
  padding: 9px 14px;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(229, 131, 60, 0.22);
  white-space: nowrap;
  order: 99;
}

.hero {
  padding: 76px 0 44px;
  background:
    linear-gradient(90deg, rgba(244, 247, 246, 0.96) 0%, rgba(244, 247, 246, 0.9) 42%, rgba(244, 247, 246, 0.48) 72%, rgba(244, 247, 246, 0.18) 100%),
    linear-gradient(180deg, rgba(244, 247, 246, 0.28), rgba(244, 247, 246, 0.72)),
    url("factory-hero.jpg?v=factory-hero-20260817") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  background: var(--blue-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 18px 0 18px;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: #385665;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.button.secondary {
  background: var(--white);
  color: var(--teal-dark);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.trust-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(20, 48, 67, 0.06);
}

.trust-list strong { display: block; font-size: 22px; line-height: 1.2; }
.trust-list span { color: var(--muted); font-size: 13px; font-weight: 800; }

.hero-panel {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 154px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
}

.hero-panel h2 { margin-bottom: 10px; font-size: 26px; line-height: 1.25; }
.hero-panel p { color: rgba(255, 255, 255, 0.78); }

.panel-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.panel-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 10px;
}

.section { padding: 68px 0; }
.section.compact { padding-top: 44px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-head p {
  max-width: 650px;
  color: var(--muted);
  margin: 10px 0 0;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  white-space: nowrap;
}

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

.product-card,
.note-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 48, 67, 0.06);
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-media {
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.note-card {
  padding: 20px;
}

.product-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-bar button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #365564;
  padding: 8px 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.filter-bar button.active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

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

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

.cert-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 48, 67, 0.07);
}

.cert-media {
  aspect-ratio: 3 / 4;
  background: #eef4f2;
}

.cert-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.cert-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(12, 102, 112, 0.12), rgba(229, 131, 60, 0.16)),
    repeating-linear-gradient(0deg, rgba(20, 48, 67, 0.08), rgba(20, 48, 67, 0.08) 1px, transparent 1px, transparent 16px);
}

.cert-placeholder span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--green-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.cert-placeholder strong { color: var(--teal-dark); }
.cert-body { padding: 16px; }
.cert-body h3 { margin: 10px 0 10px; font-size: 18px; line-height: 1.35; }
.cert-body p { color: var(--muted); margin: 0 0 6px; font-size: 13px; }

.case-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 48, 67, 0.07);
}

.case-media {
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(12, 102, 112, 0.14), rgba(229, 131, 60, 0.14)),
    repeating-linear-gradient(90deg, rgba(20, 48, 67, 0.08), rgba(20, 48, 67, 0.08) 1px, transparent 1px, transparent 18px);
}

.case-placeholder span,
.case-topline span,
.article-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--green-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.case-placeholder strong { color: var(--teal-dark); }

.case-body { padding: 18px; }

.case-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.case-card h3 {
  min-height: 56px;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0 0 14px;
}

.case-facts div { min-width: 0; }
.case-facts dt { color: var(--muted); font-size: 12px; font-weight: 900; }
.case-facts dd { margin: 0; font-size: 14px; font-weight: 900; word-break: break-word; }
.case-card p { color: var(--muted); margin: 0; font-size: 14px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.article-feature {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.article-feature h3 { margin-bottom: 12px; font-size: 26px; line-height: 1.3; }
.article-feature p { color: rgba(255, 255, 255, 0.78); }

.article-list {
  display: grid;
  gap: 10px;
}

.article-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.article-row:hover { border-color: var(--teal); }
.article-date { color: var(--muted); font-size: 13px; font-weight: 900; }
.article-title-link { display: block; color: var(--ink); }
.article-title-link:hover { color: var(--teal-dark); }
.article-main strong { display: block; line-height: 1.35; }
.article-main em { display: block; color: var(--muted); font-style: normal; font-size: 13px; margin-top: 4px; }
.article-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.article-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.article-action.external {
  border-color: var(--orange);
  color: #9a4e18;
  background: var(--sand);
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.article-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(20, 48, 67, 0.07);
}

.article-detail h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  margin: 14px 0 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.article-summary {
  margin: 22px 0;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: var(--blue-soft);
  color: #315160;
  border-radius: var(--radius);
}

.article-cover {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-cover figcaption {
  margin: 0;
  padding: 9px 12px;
  color: var(--muted);
  background: var(--paper);
  font-size: 13px;
}

.article-content {
  color: #314d5b;
  font-size: 17px;
}

.article-content h2 {
  margin: 34px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 25px;
  line-height: 1.35;
}

.article-content h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.article-content p {
  margin: 0 0 18px;
}

.article-sidebar {
  display: grid;
  gap: 14px;
}

.article-sidebar .note-card h3 { margin-bottom: 8px; }

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

.note-card ul {
  padding-left: 20px;
  margin: 10px 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.faq-item h3 { margin-bottom: 8px; font-size: 18px; }
.faq-item p { margin: 0; color: var(--muted); }

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.lead-form,
.lead-side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 48, 67, 0.07);
}

.lead-form { padding: 22px; }
.lead-side { padding: 24px; background: var(--sand); }

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 11px 12px;
}

.lead-form textarea {
  margin-top: 14px;
  resize: vertical;
  min-height: 130px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 102, 112, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.form-actions button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-actions span {
  flex: 1 1 260px;
  color: var(--muted);
  font-size: 13px;
}

.lead-form.submitted {
  border-color: rgba(12, 102, 112, 0.42);
}

.lead-side h3 { margin-bottom: 12px; font-size: 24px; }
.lead-side ul { padding-left: 20px; color: #445d69; }
.lead-side p { color: var(--muted); margin-bottom: 0; }

.data-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 38px 0;
  background: #102c3c;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer strong { color: var(--white); }
.footer a { color: var(--white); font-weight: 900; }

code {
  background: var(--blue-soft);
  color: var(--teal-dark);
  border-radius: 4px;
  padding: 2px 5px;
}

@media (max-width: 920px) {
  .hero-grid,
  .article-layout,
  .article-page,
  .lead-layout,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .product-grid,
  .case-grid,
  .cert-grid,
  .knowledge-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { align-items: flex-start; padding: 12px 0; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .header-inner { flex-direction: column; gap: 10px; }
  .brand img { width: 120px; height: 52px; }
  .brand span { font-size: 18px; }
  .hero { padding-top: 42px; }
  .trust-list,
  .product-grid,
  .case-grid,
  .cert-grid,
  .knowledge-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .article-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .article-actions { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .case-card h3 { min-height: auto; }
}
