:root {
  --steel-50: #f4f6f8;
  --steel-100: #e8ecef;
  --steel-200: #cdd3d8;
  --steel-300: #a8b0b8;
  --steel-400: #84909a;
  --steel-500: #636d76;
  --steel-600: #4a535b;
  --steel-700: #363d44;
  --steel-800: #252b30;
  --steel-900: #171b1f;
  --brand-red: #d42027;
  --brand-red-light: #e8454b;
  --ice: #7eb8d4;
  --ice-light: #a8d4ea;
  --accent: #6a8fa8;
  --accent-light: #b8d0e0;
  --white: #ffffff;
  --text: #252b30;
  --text-muted: #636d76;
  --border: #d8dee3;
  --shadow: 0 10px 40px rgba(37, 43, 48, 0.1);
  --shadow-lg: 0 20px 50px rgba(37, 43, 48, 0.14);
  --radius: 10px;
  --nav-height: 68px;
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", "Segoe UI", sans-serif;
  --metal-gradient: linear-gradient(135deg, #eef1f4 0%, #b8c2cb 35%, #f0f3f6 55%, #9aabb8 100%);
  --metal-shine: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  --steel-mesh: linear-gradient(rgba(106,143,168,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(106,143,168,0.04) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--text);
  background-color: var(--steel-50);
  background-image: var(--steel-mesh);
  background-size: 32px 32px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

body.lang-en { font-family: var(--font-en); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  transition: box-shadow 0.25s;
}

.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-brand {
  flex-shrink: 0;
  display: block;
}

.logo-brand img {
  height: 48px;
  width: auto;
  max-width: none;
}

.logo-text .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--steel-800);
  letter-spacing: 0.01em;
  line-height: 1.35;
  max-width: 240px;
}
.logo-text .tagline { display: none; }

.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--steel-600);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--steel-800); background: var(--steel-100); }
.nav-links a.active {
  color: var(--brand-red);
  background: rgba(212, 32, 39, 0.08);
  font-weight: 600;
}

.lang-switch {
  margin-left: 8px;
  padding: 7px 14px !important;
  border: 1px solid var(--steel-300) !important;
  color: var(--steel-700) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.lang-switch:hover { background: var(--steel-100) !important; border-color: var(--steel-400) !important; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--steel-700); transition: 0.3s; }

/* Carousel */
.carousel {
  position: relative;
  height: clamp(520px, 72vh, 720px);
  overflow: hidden;
  background: var(--steel-800);
}

.carousel-track { height: 100%; position: relative; }

.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.carousel-slide.active { opacity: 1; visibility: visible; }

.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.carousel-slide.active img { transform: scale(1); }

.carousel-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 32px) 0 48px;
  background:
    linear-gradient(100deg, rgba(15,18,22,0.92) 0%, rgba(23,27,31,0.72) 42%, rgba(23,27,31,0.18) 72%, transparent 100%),
    linear-gradient(to top, rgba(15,18,22,0.55) 0%, transparent 45%);
  pointer-events: none;
}

.carousel-slide.active .carousel-overlay { pointer-events: auto; }

.carousel-content {
  color: var(--white);
  max-width: 760px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease 0.15s, transform 0.65s ease 0.15s;
}
.carousel-slide.active .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

.carousel-content .label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 20px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ice-light);
  margin-bottom: 22px;
}
.carousel-content .label::before {
  content: "";
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--brand-red), rgba(212,32,39,0.35));
  border-radius: 2px;
  flex-shrink: 0;
}

.carousel-content h2 {
  font-size: clamp(2.25rem, 5.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

.carousel-content p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 32px;
}

.carousel-content .btn {
  min-width: 168px;
  padding: 14px 28px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.carousel-btn:hover { background: rgba(255,255,255,0.22); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--brand-red);
  box-shadow: 0 0 8px rgba(212,32,39,0.6);
  transform: scale(1.25);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--metal-gradient);
  color: var(--steel-800);
  box-shadow: 0 4px 20px rgba(37,43,48,0.18);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--metal-shine);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-dark {
  background: var(--steel-700);
  color: var(--white);
}
.btn-dark:hover { background: var(--steel-800); }

.btn-light {
  background: var(--white);
  color: var(--steel-700);
  border: 1px solid var(--border);
}
.btn-light:hover { border-color: var(--steel-400); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--metal-gradient);
  padding: 52px 0;
  border-bottom: 1px solid var(--steel-300);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--metal-shine);
  opacity: 0.5;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--steel-800);
  margin-bottom: 8px;
}

.page-hero p { color: var(--steel-600); font-size: 1rem; max-width: 560px; }

.breadcrumb {
  font-size: 13px; color: var(--steel-500);
  margin-bottom: 12px;
}
.breadcrumb a:hover { color: var(--steel-800); }

/* Sections */
section { padding: 72px 0; }
section.compact { padding: 56px 0; }

.section-header { text-align: center; margin-bottom: 44px; }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand-red);
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--steel-800);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
  font-size: 0.98rem;
}

/* Stats bar */
.stats-bar {
  background: linear-gradient(180deg, var(--white) 0%, var(--steel-100) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
}

.stats-bar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--ice), var(--steel-400));
}

.seo-intro {
  padding: 28px 0;
  background: var(--steel-50);
  border-bottom: 1px solid var(--border);
}
.seo-intro p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 920px;
}
.seo-intro strong {
  color: var(--steel-700);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-size: 1.85rem; font-weight: 800;
  background: linear-gradient(135deg, var(--steel-700), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
}

.stat-item .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(180deg, var(--brand-red), var(--ice));
  transition: height 0.3s;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-300);
  transform: translateY(-4px);
}

.service-card .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--steel-100), var(--steel-200));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.service-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--steel-800); }
.service-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.service-card .link { font-size: 13px; font-weight: 600; color: var(--steel-600); }
.service-card .link:hover { color: var(--steel-800); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-card .img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--steel-100);
  cursor: zoom-in;
  position: relative;
}
.product-card .img-wrap::after {
  content: "🔍 点击放大 · 滚轮缩放";
  position: absolute; right: 10px; bottom: 10px;
  padding: 5px 12px;
  font-size: 11px; font-weight: 600;
  color: var(--white);
  background: rgba(37, 43, 48, 0.78);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
body.lang-en .product-card .img-wrap::after { content: "🔍 Click · scroll to zoom"; }
.product-card .img-wrap:hover::after { opacity: 1; }
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  transform-origin: center center;
  transition: transform 0.35s;
}
.product-card:hover img { transform: scale(1.08); }

.product-card .info { padding: 16px; }
.product-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.product-card p { font-size: 12px; color: var(--text-muted); }

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.why-item .num {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand-red), var(--ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
  margin-bottom: 10px;
}

.why-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.why-item p { font-size: 12px; color: var(--text-muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--steel-800) 0%, var(--steel-700) 50%, #3a4a55 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--steel-mesh);
  background-size: 24px 24px;
  opacity: 0.4;
}
.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 24px; font-size: 0.95rem; }
.cta-banner .btn-primary { margin: 0 6px; }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.about-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.95rem; }

.feature-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 24px; list-style: none;
}
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  padding: 10px 12px;
  background: var(--steel-50);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.feature-icon { color: var(--steel-500); font-weight: 700; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.value-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--steel-800); }
.value-card p { font-size: 13px; color: var(--text-muted); }

.timeline {
  max-width: 680px; margin: 0 auto;
  list-style: none;
}
.timeline li {
  display: flex; gap: 20px;
  padding-bottom: 28px;
  border-left: 2px solid var(--steel-200);
  margin-left: 12px;
  padding-left: 28px;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px;
  background: var(--steel-400);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.timeline .year { font-weight: 800; color: var(--steel-600); font-family: var(--font-en); min-width: 48px; }
.timeline .desc { font-size: 14px; color: var(--text-muted); }

/* Custom page */
.custom-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.custom-steps {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; list-style: none; margin: 24px 0;
}
.custom-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--steel-200);
  color: var(--steel-800);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  font-family: var(--font-en);
}
.custom-steps strong { display: block; font-size: 13px; margin-bottom: 2px; }
.custom-steps span { font-size: 12px; color: var(--text-muted); }

.custom-tags {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
}
.custom-tags li {
  padding: 7px 14px;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--steel-600);
}

.custom-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.custom-panel h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }

.faq-list { list-style: none; max-width: 760px; margin: 0 auto; }
.faq-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.faq-list li:last-child { border-bottom: none; }
.faq-list strong { display: block; font-size: 14px; margin-bottom: 6px; color: var(--steel-800); }
.faq-list p { font-size: 13px; color: var(--text-muted); }

/* Factory */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.factory-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.factory-card img { width: 100%; height: 100%; object-fit: cover; }
.factory-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,31,34,0.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
}
.factory-card .overlay span { font-size: 13px; font-weight: 600; color: var(--white); }

.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.cap-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cap-item .icon { font-size: 24px; margin-bottom: 10px; }
.cap-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--steel-800); }
.cap-item p { font-size: 12px; color: var(--text-muted); }

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.process-step {
  text-align: center;
  padding: 20px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
}
.process-step .step-icon { font-size: 22px; margin-bottom: 8px; }
.process-step strong { display: block; font-size: 13px; margin-bottom: 4px; color: var(--steel-800); }
.process-step span { color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 720px;
}

.contact-info { display: flex; flex-direction: column; gap: 22px; }

.contact-item { display: flex; gap: 14px; }

.contact-item .icon-wrap {
  width: 42px; height: 42px;
  background: var(--steel-100);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.contact-item h4 {
  font-size: 11px; font-weight: 700;
  color: var(--steel-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-item p, .contact-item a { font-size: 14px; font-weight: 500; }
.contact-item a:hover { color: var(--steel-600); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--steel-700); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--steel-50);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--steel-400);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.map-box {
  background: var(--steel-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.map-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.map-box p { font-size: 13px; color: var(--text-muted); }

.map-embed {
  padding: 0;
  min-height: auto;
  overflow: hidden;
  text-align: left;
}
.map-iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  border-radius: var(--radius);
}

/* Lightbox — full-screen zoom viewer */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  display: none;
  flex-direction: column;
  background: rgba(10, 12, 14, 0.96);
}
.lightbox.open { display: flex; }

.lightbox-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 14px 20px;
  background: rgba(23, 27, 31, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.lightbox-caption {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lightbox-tool-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 20px; font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-tool-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
}
.lightbox-zoom-level {
  min-width: 52px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.lightbox-close {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(212,32,39,0.85); border-color: transparent; }

.lightbox-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.lightbox-viewport.is-dragging { cursor: grabbing; }
.lightbox-viewport img {
  position: absolute;
  top: 0; left: 0;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}
.lightbox-hint {
  flex-shrink: 0;
  padding: 10px 20px 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  background: rgba(23, 27, 31, 0.85);
}

.bg-white { background: var(--white); }
.bg-light { background: linear-gradient(180deg, var(--steel-50) 0%, var(--steel-100) 100%); }

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

.category-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 36px;
}
.category-tabs button {
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--steel-600);
  cursor: pointer;
  transition: 0.2s;
}
.category-tabs button.active,
.category-tabs button:hover {
  background: var(--steel-700);
  color: var(--white);
  border-color: var(--steel-700);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--steel-900) 0%, #0f1215 100%);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 24px;
  border-top: 3px solid var(--brand-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h4 {
  font-size: 13px; font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }

.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; max-width: 280px; }

.footer-bottom {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px;
}

.footer-beian {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.footer-beian:hover { color: var(--ice-light); }

.footer .logo-text .name { color: var(--white); font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .carousel {
    height: clamp(460px, 62vh, 580px);
  }
  .carousel-overlay {
    align-items: flex-end;
    padding-bottom: 56px;
  }
  .carousel-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    margin-bottom: 16px;
  }
  .carousel-content p {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }
  .carousel-content .label { margin-bottom: 16px; }
  .carousel-content .label::before { width: 40px; }
  .lightbox-toolbar { padding: 10px 12px; gap: 10px; }
  .lightbox-caption { font-size: 13px; }
  .lightbox-tool-btn, .lightbox-close { width: 36px; height: 36px; font-size: 18px; }
  .lightbox-hint { font-size: 11px; padding: 8px 12px 12px; }

  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%); opacity: 0;
    transition: 0.3s; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle { display: flex; }

  .stats-grid, .service-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .custom-inner { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-btn { display: none; }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-beian {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .stats-grid, .service-grid, .why-grid, .factory-grid, .process-flow, .footer-grid { grid-template-columns: 1fr; }
  .custom-steps, .feature-list { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
