/* ============ 基础 ============ */
:root {
  --red: #d50f1c;
  --red-dark: #a50b16;
  --orange: #ff7a00;
  --dark: #17171a;
  --dark-2: #1f1f23;
  --grey: #f6f6f8;
  --text: #2b2b2e;
  --text-light: #6b6b70;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-red: 0 12px 32px rgba(213, 15, 28, .28);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(213, 15, 28, .38);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .7);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

/* ============ 导航 ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: all .35s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  backdrop-filter: blur(8px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: baseline; gap: 8px; }

.brand-logo {
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--red);
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(0,0,0,.08);
}

.brand-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.site-header:not(.scrolled) .brand-sub,
.site-header:not(.scrolled) .nav-link { color: var(--white); }

.site-header:not(.scrolled) .nav-toggle span { background: var(--white); }

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link.active { color: var(--red) !important; }

.header-cta { padding: 9px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: all .3s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(255, 122, 0, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(213, 15, 28, .45), transparent 60%),
    linear-gradient(135deg, #151517 0%, #232327 55%, #2b1518 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(closest-side at 60% 40%, #000, transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 0, .5);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 2px;
}

.text-accent {
  background: linear-gradient(120deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slogan {
  margin-top: 16px;
  font-size: 20px;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, .85);
}

.hero-desc {
  margin-top: 20px;
  max-width: 540px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 42px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges li {
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-cover {
  width: min(360px, 78%);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: rotate(3deg);
  transition: transform .5s ease;
  position: relative;
  z-index: 2;
}

.hero-cover:hover { transform: rotate(0deg) scale(1.02); }

.hero-visual-glow {
  position: absolute;
  width: 70%; height: 60%;
  top: 20%;
  background: radial-gradient(closest-side, rgba(255, 122, 0, .5), transparent);
  filter: blur(40px);
  z-index: 1;
}

/* ============ 数据条 ============ */
.stats {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 38px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-num span { font-size: 20px; margin-left: 2px; }

.stat-label {
  margin-top: 6px;
  font-size: 14px;
  opacity: .88;
}

/* ============ 通用板块 ============ */
.section { padding: 96px 0; }

.section-dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(213, 15, 28, .16), transparent 60%),
    var(--dark);
  color: var(--white);
}

.section-grey { background: var(--grey); }

.section-head { text-align: center; margin-bottom: 56px; }

.section-kicker {
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--red);
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: 2px;
}

.section-line {
  width: 56px; height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.section-sub {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 15px;
}

.section-dark .section-sub { color: rgba(255, 255, 255, .6); }

.album-link { color: var(--orange); font-weight: 600; }
.album-link:hover { text-decoration: underline; }

/* ============ 关于我们 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.about-text h3 { font-size: 26px; font-weight: 800; }

.about-en {
  color: var(--red);
  font-size: 13px;
  letter-spacing: 1px;
  margin: 6px 0 20px;
  font-weight: 600;
}

.about-text p { margin-bottom: 14px; color: #444; }

.about-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.point {
  background: var(--grey);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 14px 18px;
  transition: all .3s;
}

.point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.point-title { font-weight: 700; font-size: 16px; }

.point-desc { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.about-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
  outline: 1px solid #eee;
}

/* ============ 产品中心 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(213, 15, 28, .55);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .45);
}

.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}

.product-card:hover .product-img img { transform: scale(1.06); }

.product-body { padding: 24px 24px 28px; flex: 1; }

.product-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 0, .45);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 16px;
}

.product-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-models span {
  font-size: 12px;
  background: rgba(213, 15, 28, .14);
  color: #ff8f96;
  border: 1px solid rgba(213, 15, 28, .35);
  padding: 3px 10px;
  border-radius: 5px;
}

/* ============ 服务与支持 ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transform: scaleX(0);
  transition: transform .35s ease;
  transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: var(--shadow-red);
}

.service-card h3 { font-size: 19px; margin-bottom: 12px; }

.service-card p { font-size: 14px; color: var(--text-light); }

/* ============ 资质认证 ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid #eee;
  transition: all .3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.cert-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.cert-card h3 { font-size: 17px; margin-bottom: 12px; }

.cert-card p, .cert-card li { font-size: 13.5px; color: var(--text-light); }

.cert-card ul li {
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
}

.cert-card ul li:last-child { border-bottom: none; }

/* ============ 画册 ============ */
.album-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
}

.album-scroll::-webkit-scrollbar { height: 8px; }

.album-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .08); border-radius: 8px; }

.album-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 8px;
}

.album-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  border: 2px solid rgba(255, 255, 255, .12);
  transition: all .3s ease;
  position: relative;
}

.album-item img { width: 100%; }

.album-item .album-page-no {
  position: absolute;
  right: 8px; bottom: 8px;
  background: rgba(0, 0, 0, .65);
  color: var(--white);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
}

.album-item:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}

/* ============ 联系我们 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
}

.contact-main {
  background: linear-gradient(135deg, var(--dark), #2b1518);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 42px;
}

.contact-main h3 { font-size: 22px; margin-bottom: 26px; }

.contact-list li {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 15px;
}

.contact-list li:last-child { border-bottom: none; }

.contact-label {
  flex: 0 0 64px;
  color: var(--orange);
  font-weight: 700;
}

.contact-main a:hover { color: var(--orange); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  flex: 1;
  background: var(--grey);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: all .3s;
}

.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.contact-card h4 { font-size: 17px; margin-bottom: 10px; }

.contact-card p { font-size: 14px; color: var(--text-light); margin-bottom: 4px; }

.contact-card a:hover { color: var(--red); }

/* ============ 页脚 ============ */
.site-footer {
  background: #101012;
  color: rgba(255, 255, 255, .65);
  padding: 52px 0 30px;
}

.footer-inner { text-align: center; }

.footer-brand { margin-bottom: 18px; }

.footer-brand .brand-logo { font-size: 32px; }

.footer-brand .brand-sub { color: var(--white); margin-left: 8px; }

.footer-brand p {
  margin-top: 8px;
  letter-spacing: 6px;
  font-size: 13px;
  color: var(--orange);
}

.footer-info p { font-size: 13.5px; margin-bottom: 6px; }

.footer-copy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all .35s ease;
  z-index: 90;
  box-shadow: var(--shadow-red);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============ 灯箱 ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, .93);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(88vw, 640px);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  transition: background .25s;
}

.lightbox button:hover { background: var(--red); }

.lightbox-close {
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  font-size: 26px;
}

.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  background: rgba(255, 255, 255, .1);
  padding: 4px 16px;
  border-radius: 20px;
}

/* ============ 滚动出现动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-cover { width: min(260px, 60%); }
}

@media (max-width: 820px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
    padding: 10px 0;
  }

  .main-nav.open .nav-link {
    color: var(--text) !important;
    padding: 14px 6%;
    border-bottom: 1px solid #f0f0f0;
  }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .product-grid, .cert-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .album-item { flex: 0 0 160px; }
  .contact-main { padding: 32px 24px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
