:root {
  --ink: #172126;
  --muted: #63717a;
  --line: #d8e0e2;
  --paper: #f7f9f7;
  --panel: #ffffff;
  --steel: #6a747b;
  --blue: #0b5d75;
  --copper: #c2793b;
  --green: #2f6f61;
  --sand: #f0e6d7;
  --shadow: 0 18px 42px rgba(23, 33, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 249, 247, 0.94);
  border-bottom: 1px solid rgba(216, 224, 226, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: 190px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .brand-logo {
    height: 40px;
    max-width: 170px;
  }
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: #2f3b41;
  font-size: 14px;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.main-nav a:hover {
  border-color: var(--copper);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: #e8eeee;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-switch button {
  min-width: 48px;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button.active {
  color: #fff;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 80px;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 25, 28, 0.88), rgba(9, 45, 53, 0.58) 45%, rgba(9, 45, 53, 0.2)),
    linear-gradient(0deg, rgba(9, 25, 28, 0.56), rgba(9, 25, 28, 0.08) 48%);
}

.hero-content {
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4bd80;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 860px;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

h4 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.zh {
  color: var(--muted);
  font-size: 16px;
}

.hero-zh {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 22px clamp(18px, 4vw, 38px);
  background: #fff;
}

.metrics strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  color: var(--blue);
}

.metrics span {
  color: var(--muted);
}

.metrics em {
  color: #7b868d;
  font-style: normal;
}

.section,
.process-section,
.contact-section {
  padding: clamp(46px, 6vw, 78px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

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

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

.capability-grid article,
.product-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.04);
}

.capability-grid article {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: clamp(26px, 4vw, 42px);
  border-left: 6px solid var(--green);
}

.capability-grid article::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, rgba(47, 111, 97, 0), rgba(47, 111, 97, 0.08));
  pointer-events: none;
}

.capability-grid h3 {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: clamp(26px, 3vw, 36px);
}

.capability-grid p {
  max-width: 840px;
  font-size: 18px;
  line-height: 1.72;
}

.capability-grid p,
.product-grid p,
.section-heading p,
.quality p,
.contact-section p {
  color: var(--muted);
}

.capability-grid h4,
.product-grid h4 {
  margin-top: -4px;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-weight: 700;
}

.product-section {
  background: var(--sand);
}

.showcase-section {
  background: var(--sand);
}

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

.showcase-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(21, 23, 26, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.05);
}

.showcase-card:hover strong {
  color: var(--blue);
}

.showcase-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfe3e4;
}

.showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.showcase-card:hover img {
  transform: scale(1.025);
}

.showcase-content {
  display: grid;
  gap: 8px;
  padding: 22px 24px 24px;
}

.showcase-content .eyebrow {
  display: block;
  margin: 0;
}

.showcase-content strong {
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  transition: color 0.2s ease;
}

.product-entry-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.product-entry-section .section-heading {
  margin-bottom: 0;
}

.product-entry {
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) minmax(180px, 1fr);
  overflow: hidden;
  min-height: 260px;
  background: #fff;
  border: 1px solid rgba(21, 23, 26, 0.12);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.product-entry:hover strong {
  color: var(--blue);
}

.product-entry-image {
  min-height: 260px;
  background: #dfe3e4;
}

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

.product-entry-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 32px;
}

.product-entry-content strong {
  color: var(--green);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  transition: color 0.2s ease;
}

.product-entry-content span {
  color: var(--muted);
}

.product-visual {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border-radius: 6px;
  border: 1px solid rgba(21, 23, 26, 0.12);
  background: #dfe3e4;
}

.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-page {
  padding-top: 73px;
}

.product-list-hero {
  padding-bottom: 34px;
  background: #fff;
}

.product-list-hero h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
}

.product-list-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.product-gallery-section {
  padding: 0 clamp(20px, 5vw, 72px) clamp(46px, 6vw, 78px);
  background: #fff;
}

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

.product-gallery figure {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #e2e7e8;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: zoom-in;
}

.product-gallery figure:focus-visible {
  outline: 3px solid rgba(47, 111, 97, 0.35);
  outline-offset: 3px;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(9, 25, 28, 0.88);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.factory-page {
  padding-top: 73px;
  background: #fff;
}

.factory-hero {
  position: relative;
  min-height: 44vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 100px clamp(20px, 5vw, 72px) 46px;
  color: #fff;
  isolation: isolate;
}

.factory-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(9, 25, 28, 0.82), rgba(9, 25, 28, 0.18));
}

.factory-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-hero-content {
  max-width: 860px;
}

.factory-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.equipment-section {
  background: #fff;
}

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

.equipment-gallery figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #e2e7e8;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.04);
}

.equipment-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-section {
  background: #102629;
  color: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.22);
}

.process-list li {
  min-height: 160px;
  padding: 22px;
  background: #173236;
}

.process-list strong,
.process-list span,
.process-list em {
  display: block;
}

.process-list strong {
  margin-bottom: 4px;
  font-size: 20px;
}

.process-list em {
  margin-bottom: 14px;
  color: #ffd3a3;
  font-style: normal;
}

.process-list span {
  color: rgba(255, 255, 255, 0.74);
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.quality-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.quality-list li {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.quality-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.quality-list li:last-child {
  border-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  color: #fff;
  background: var(--green);
}

.contact-section .eyebrow {
  color: #ffd3a3;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.contact-card a,
.contact-card span {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-card span {
  border-bottom: 0;
  padding-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero {
    min-height: 760px;
    padding-top: 76px;
  }

  .metrics,
  .capability-grid,
  .product-grid,
  .process-list,
  .split,
  .showcase-grid,
  .product-entry-section,
  .quality,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .products-page {
    padding-top: 0;
  }

  .factory-page {
    padding-top: 0;
  }

}

@media (max-width: 560px) {
  .main-nav {
    gap: 10px 14px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section,
  .process-section,
  .contact-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .capability-grid article,
  .product-grid article,
  .process-list li {
    min-height: auto;
  }

  .product-entry,
  .product-gallery,
  .equipment-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
