:root {
  --red: #a62a26;
  --red-dark: #7a1a17;
  --red-tint: #f7e9e6;
  --paper: #fcfaf8;
  --ink: #22262b;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --gold: #dea529;
  --white: #ffffff;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-sm: 0 4px 12px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 46px; width: auto; }
.brand-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--gray);
  font-family: Arial, sans-serif;
  letter-spacing: .3px;
}

/* Nav */
.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a:hover { text-decoration: none; }

/* Language switcher */
.lang-switch a {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.2;
  transition: all .25s ease;
}
.lang-switch a::after { display: none; }
.lang-switch a:hover {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1d21 0%, #2c3036 100%);
  color: var(--white);
  padding: 120px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/production-line.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero .container { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: rgba(166,42,38,.9);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 20px;
  line-height: 1.15;
  font-weight: 700;
}
.hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  max-width: 700px;
  margin: 0 0 32px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(166,42,38,.35);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title h2 {
  font-size: 32px;
  margin: 0 0 10px;
  color: var(--ink);
}
.section-title .en {
  color: var(--red);
  font-size: 14px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-title .line {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -70px;
  position: relative;
  z-index: 3;
}
.stat-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.stat-card .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}
.stat-card .label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 6px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.about-text h3 {
  font-size: 24px;
  margin: 0 0 18px;
  color: var(--ink);
}
.about-text p { margin: 0 0 16px; color: #444; }
.about-text ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: #444;
}
.about-text li { margin-bottom: 8px; }
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid #f0e9e6;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-icon {
  height: 120px;
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--red);
}
.product-body { padding: 24px; }
.product-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}
.product-body p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.product-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--light-gray);
  color: var(--gray);
  border-radius: 20px;
}

/* Capability */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.capability-item {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--red);
}
.capability-item h4 { margin: 0 0 10px; font-size: 18px; }
.capability-item p { margin: 0; color: #555; font-size: 14px; }

/* Process */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
}
.step::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -20px;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.step:last-child::after { display: none; }
.step .num {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  margin: 0 auto 12px;
}
.step h4 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 13px; color: var(--gray); }

/* Certs */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.cert-item .icon {
  font-size: 36px;
  color: var(--red);
  margin-bottom: 12px;
}
.cert-item h4 { margin: 0 0 6px; font-size: 16px; }
.cert-item p { margin: 0; font-size: 13px; color: var(--gray); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
}
.contact-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-row .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-row h4 { margin: 0 0 4px; font-size: 16px; }
.contact-row p { margin: 0; color: #444; font-size: 14px; }
.contact-row a { font-weight: 500; }
.wechat-placeholder {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  border: 2px dashed #ddd;
}
.wechat-placeholder .qr-icon {
  font-size: 64px;
  color: var(--gray);
  margin-bottom: 12px;
}
.wechat-placeholder p { margin: 0; color: var(--gray); }

/* Page header */
.page-header {
  background: var(--red);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.page-header h1 { margin: 0 0 10px; font-size: 36px; }
.page-header .en { opacity: .85; font-family: Arial, sans-serif; font-size: 14px; letter-spacing: 1px; }

/* Product detail */
.product-detail { background: var(--white); }
.product-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.product-intro.reverse { direction: rtl; }
.product-intro.reverse > * { direction: ltr; }
.product-intro h3 { font-size: 24px; margin: 0 0 14px; color: var(--ink); }
.product-intro p { color: #444; margin: 0 0 14px; }
.product-intro ul { color: #444; padding-left: 18px; }
.product-intro li { margin-bottom: 6px; }
.product-intro img { border-radius: var(--radius); box-shadow: var(--shadow); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.spec-table th {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
}
.spec-table tr:nth-child(even) { background: var(--red-tint); }
.spec-table td:first-child { font-weight: 500; width: 30%; }

/* References */
.reference-note {
  background: var(--red-tint);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.reference-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.reference-item {
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reference-item strong { color: var(--ink); font-size: 15px; }
.reference-item span { color: var(--gray); font-size: 13px; }

/* Footer */
.site-footer {
  background: #1a1d21;
  color: rgba(255,255,255,.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 0; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid,
  .product-intro,
  .product-intro.reverse { grid-template-columns: 1fr; direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reference-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
    display: none;
    padding: 16px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .nav-toggle { display: block; }
  .hero { padding: 80px 0 100px; }
  .stats-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .products-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

/* Composite highlights strip */
.hl-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 8px;
}
.hl-strip > div {
  background: var(--white);
  border: 1px solid #f0d9d6;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.hl-strip strong {
  display: block;
  color: var(--red);
  font-size: 22px;
  line-height: 1.3;
}
.hl-strip strong span {
  font-size: 13px;
  font-weight: 600;
  margin-left: 8px;
  color: var(--red);
  opacity: .85;
}
.hl-strip em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

/* Reference clients */
.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.client-grid span {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink);
}

@media (max-width: 760px) {
  .hl-strip { grid-template-columns: 1fr; }
}
