@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Poppins-Light.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
}

:root {
  --navy: #293860;
  --navy-2: #1c2a4a;
  --red: #c8102e;
  --ink: #333;
  --muted: #666;
  --line: #e5e5e5;
  --bg: #fff;
  --en: Poppins, Arial, sans-serif;
  --cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--cn);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

.wrap { width: min(1360px, calc(100% - 64px)); margin: 0 auto; }

/* ===== header overlay（对齐汉京：叠在大图上，下滑再变白） ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 80;
  color: #fff;
  background: linear-gradient(180deg, rgba(8,12,22,.38), rgba(8,12,22,0));
  transition: background .28s ease, box-shadow .28s ease, color .28s ease;
}
.site-header.is-solid {
  position: fixed;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 28px rgba(16,24,40,.08);
}
.hd {
  display: flex;
  align-items: center;
  height: 90px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 180px; flex: 0 0 auto; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo.is-full { height: 50px; }

.nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; }
.nav > li { position: relative; list-style: none; }
.nav, .nav ul { margin: 0; padding: 0; }
.nav > li > a {
  display: block;
  padding: 0 1.2vw;
  line-height: 90px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  white-space: nowrap;
}
.nav > li > a:hover,
.nav > li > a.is-on { color: var(--red); }
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  z-index: 20;
}
.nav > li:hover .sub { display: block; }
.sub a { display: block; padding: 12px 20px; font-size: 16px; letter-spacing: 0; }
.sub a:hover { background: #f6f7fa; color: var(--red); }

.hd-side {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 8px;
  flex: 0 0 auto;
}
.hd-side > a {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}
.hd-side a:hover { color: var(--red); }
.lang { position: relative; cursor: default; }
.lang span {
  font-family: var(--en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: .92;
}
.lang span::after { content: " ▾"; font-size: 11px; opacity: .7; }
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  width: 40px; height: 40px;
}

/* ===== hero slider ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #111;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  background: center/cover no-repeat;
}
.slide.is-on { opacity: 1; z-index: 1; }
.slide .wrap {
  position: relative;
  z-index: 2;
  height: 100%;
}
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,18,32,.55) 10%, rgba(12,18,32,.25) 70%);
}
.slide-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 760px;
}
.slide-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: 2px;
}
.slide-copy h6 {
  margin: 8px 0 0;
  font-family: var(--en);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: none;
  opacity: .9;
}
.slide-copy hr {
  width: 72px;
  border: 0;
  border-top: 2px solid #fff;
  margin: 22px 0;
}
.slide-copy p { margin: 0 0 8px; font-size: 16px; font-weight: 400; }
.slide-copy p span { display: block; font-size: 14px; opacity: .8; margin-top: 6px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 22px;
  font-size: 16px;
  letter-spacing: 1px;
}
.more:hover { background: #fff; color: var(--navy); }
.more i {
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.hero-nav {
  position: absolute; z-index: 3;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }
.scrolldown {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  letter-spacing: .16em;
  text-align: center;
}
.mouse {
  width: 18px; height: 28px;
  border: 1px solid #fff;
  border-radius: 10px;
  margin: 0 auto 8px;
  position: relative;
}
.mouse::after {
  content: "";
  width: 3px; height: 6px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 7px; top: 5px;
  animation: drop 1.4s infinite;
}
@keyframes drop {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ===== sections ===== */
.sec { padding: 90px 0 80px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 {
  margin: 0 0 13px;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--navy);
}
.sec-head .en {
  margin: 0 0 25px;
  font-family: var(--en);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: #999;
}
.sec-head .en b { color: var(--navy); font-weight: 400; }
.sec-head p { margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.prod-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a center/cover no-repeat;
  transition: transform .35s ease;
}
.prod-card:hover { transform: translateY(-4px); }
.prod-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(20,28,48,.72));
}
.prod-card .inner { position: relative; z-index: 1; height: 100%; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.prod-card h3 { margin: 0 0 8px; font-size: 28px; font-weight: 400; letter-spacing: 1px; }
.prod-card p { margin: 0 0 18px; font-size: 16px; opacity: .88; }
.prod-card .more { align-self: flex-start; }

.about-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.about-top h2 {
  margin: 0 0 13px;
  font-size: 34px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--navy);
}
.about-top .en {
  margin: 0;
  font-family: var(--en);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: #999;
}
.about-top .en b { color: var(--navy); font-weight: 400; }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 8px 18px;
  font-size: 16px;
  letter-spacing: 1px;
}
.btn-line:hover { background: var(--navy); color: #fff; }
.about-text { color: #666; max-width: 100%; margin-bottom: 40px; font-size: 16px; line-height: 1.8; }

.culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
}
.culture article {
  border: 1px solid var(--line);
  padding: 24px 20px;
}
.culture h3 { margin: 0 0 10px; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.culture p { margin: 0; color: #666; font-size: 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 40px;
}
.stat b {
  display: block;
  font-family: var(--en);
  font-size: 40px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.1;
}
.stat b small { font-size: 16px; margin-left: 4px; font-family: var(--cn); }
.stat span { color: #666; font-size: 16px; }

.spots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spot { position: relative; height: 180px; overflow: hidden; color: #fff; }
.spot img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.spot span {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 18px; letter-spacing: 1px; font-weight: 400;
}

.news-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.news-list { display: grid; gap: 0; }
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-item time { display: block; font-family: var(--en); font-size: 28px; color: var(--navy); letter-spacing: 0; font-weight: 400; }
.news-item small { color: #999; font-size: 14px; }
.news-item h3 { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.6; }
.news-item:hover h3 { color: var(--red); }
.news-aside {
  min-height: 280px;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 400;
}

.foot-qr {
  text-align: center;
  justify-self: end;
}
.foot-qr p {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
}
.foot-qr img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.page-banner {
  position: relative;
  height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,16,28,.28) 0%, rgba(10,16,28,.22) 42%, rgba(10,16,28,.68) 100%),
    url("../img/banner.jpg") center/cover no-repeat;
}
.banner-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-size: 6vw;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(255,255,255,.1);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}
.banner-inner { position: relative; z-index: 2; width: 100%; }
.page-banner h1 {
  margin: 0 0 48px;
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: 400;
}
.banner-tabs {
  position: absolute;
  left: 0;
  top: 52%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.banner-tabs a {
  min-width: 128px;
  padding: 10px 35px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 400;
}
.banner-tabs a + a { border-top: 1px solid #eee; }
.banner-tabs a.is-on,
.banner-tabs a:hover {
  background: var(--navy);
  color: #fff;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px;
  cursor: pointer;
}
.chip.is-on, .chip:hover { border-color: var(--navy); color: var(--navy); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); }
.card:hover { border-color: var(--navy); }
.card .pic { height: 170px; background: #111 center/contain no-repeat; }
.card .meta { padding: 14px; }
.card .meta small { color: var(--navy); font-size: 12px; }
.card .meta b { display: block; margin-top: 4px; font-weight: 550; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { width: 100%; height: 360px; object-fit: cover; }
.prose p { margin: 0 0 14px; color: #666; font-size: 16px; line-height: 1.8; }
.muted { color: #888; }
.note { margin-top: 20px; color: #888; font-size: 13px; }
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  border: 1px solid var(--line);
  padding: 22px 20px;
  min-height: 180px;
}
.step i {
  display: block;
  color: var(--navy);
  font-style: normal;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 10px; font-size: 20px; font-weight: 400; letter-spacing: 0; }
.step p { margin: 0; color: #666; font-size: 16px; }
.timeline { display: grid; gap: 0; }
.tl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tl b { color: var(--navy); font-size: 20px; font-weight: 400; font-family: var(--en); }
.tl p { margin: 0; color: #666; font-size: 16px; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.res-box {
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 180px;
}
.res-box h3 { margin: 0 0 12px; letter-spacing: 0; font-weight: 400; font-size: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.panel dt { color: var(--navy); font-size: 14px; letter-spacing: 1px; margin-top: 16px; }
.panel dt:first-child { margin-top: 0; }
.panel dd { margin: 6px 0 0; font-size: 16px; }
.map-box {
  min-height: 420px;
  height: 100%;
  border: 1px solid var(--line);
  background: #f4f5f8;
  padding: 0;
  overflow: hidden;
  position: relative;
}
#factory-map { width: 100%; height: 100%; min-height: 420px; }
.map-pin { background: none; border: 0; }
.map-pin i {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  background: var(--red);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.leaflet-popup-content { font-size: 13px; line-height: 1.6; }
.leaflet-popup-content a { color: var(--navy); }

.site-footer {
  background: #1a1f2b;
  color: #9aa3b2;
  padding: 48px 0 20px;
  font-size: 14px;
  line-height: 1.8;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 132px; gap: 24px; margin-bottom: 28px; align-items: start; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-weight: 400; letter-spacing: 0; font-size: 16px; }
.site-footer a:hover { color: #fff; }
.copy { border-top: 1px solid #2c3342; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.copy a { color: #c5ccd6; }
.copy a:hover { color: #fff; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open {
    display: block;
    position: absolute;
    top: 90px; left: 0; right: 0;
    background: #fff;
    color: var(--navy);
    padding: 8px 0 16px;
  }
  .nav.open > li > a { padding: 0 20px; line-height: 50px; font-size: 16px; letter-spacing: 0; }
  .nav.open .sub { position: static; box-shadow: none; display: block; }
  .menu-btn { display: block; }
  .hd-side { display: none; }
  .prod-grid, .stats, .spots, .news-wrap, .split, .contact-grid, .grid, .foot-grid, .process, .res-grid, .culture { grid-template-columns: 1fr 1fr; }
  .hero { height: 80vh; }
  .page-banner { height: 420px; }
  .banner-tabs { display: none; }
  .banner-mark { font-size: 12vw; }
}
@media (max-width: 640px) {
  .prod-grid, .stats, .spots, .news-wrap, .split, .contact-grid, .grid, .foot-grid, .news-item, .process, .res-grid, .tl, .culture { grid-template-columns: 1fr; }
  .about-top { flex-direction: column; align-items: flex-start; }
  .page-banner { height: 360px; }
  .page-banner h1 { margin-bottom: 36px; letter-spacing: 2px; }
  .sec-head h2, .about-top h2, .sec-head .en, .about-top .en { font-size: 24px; }
}
