/* ============================================================
   无锡市新盛工业气体 — 全局样式
   风格: 工业大气 / 蓝白配色 / 现代科技感
   ============================================================ */

:root {
  --primary: #0B5FD9;
  --primary-dark: #0848B0;
  --primary-deep: #063A86;
  --primary-light: #2D8BF0;
  --primary-bright: #5AA9FF;
  --accent: #F5B400;
  --bg-white: #FFFFFF;
  --bg-soft: #F3F7FD;
  --bg-tech: #E7F1FE;
  --bg-light: #F3F7FD;
  --bg-dark: #06203F;
  --text-primary: #0B2545;
  --text-secondary: #475A72;
  --text-muted: #8194AB;
  --border: #E3EAF2;
  --border-strong: #CBD7E5;
  --shadow-sm: 0 2px 8px rgba(11, 95, 217, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 95, 217, 0.10);
  --shadow-lg: 0 26px 64px rgba(11, 95, 217, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== 通用容器 ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== 顶部导航 ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  line-height: 1.2;
}

.logo-text-main {
  font-size: 25px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  position: relative;
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}

.nav a:hover::after,
.nav a.active::after {
  width: 24px;
}

.nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.header-cta {
  margin-left: 16px;
  padding: 11px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  box-shadow: 0 6px 14px rgba(11, 95, 217, 0.24);
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(11, 95, 217, 0.32);
}

/* === 汉堡按钮（仅手机端显示） === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 手机端导航遮罩 */
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 12, 30, 0.45);
  z-index: 90;
}

/* ========== Hero Banner ========== */
.hero {
  position: relative;
  min-height: 740px;
  background: #063a86;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 双背景图层：两张厂区图交叉淡入 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0) scale(1);
}

/* Ken Burns：图片激活后缓慢放大，时长对齐 4 秒切换节奏 */
.hero-bg-layer.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroBgZoom 4s ease-out forwards;
}

@keyframes heroBgZoom {
  0%   { transform: translateZ(0) scale(1); }
  100% { transform: translateZ(0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer,
  .hero-bg-layer.is-active {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* 蓝色蒙层：左侧文字区压暗保证可读，右侧保留图片明亮、整体保留蓝调 */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(4, 18, 44, 0.82) 0%,
      rgba(6, 32, 70, 0.62) 38%,
      rgba(8, 46, 102, 0.30) 64%,
      rgba(8, 46, 102, 0.10) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  margin-top: 24px;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1px;
  max-width: 820px;
  text-shadow: 0 1px 10px rgba(2, 14, 38, 0.45);
}

.hero-title span {
  color: inherit;
}

.hero-subtitle {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  text-shadow: 0 1px 8px rgba(2, 14, 38, 0.4);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.btn-primary {
  background: var(--primary-bright);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 95, 217, 0.22);
}

.btn-primary:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(11, 95, 217, 0.28);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(245, 180, 0, 0.12);
}

.btn-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.btn-primary:hover .btn-arrow::after,
.btn-outline:hover .btn-arrow::after {
  transform: translateX(4px);
}

/* ========== 内页 Banner（小） ========== */
.page-banner {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(115deg, #063A86 0%, #0B5FD9 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-banner-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6, 58, 134, 0.82) 0%, rgba(11, 95, 217, 0.72) 100%);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-banner p {
  margin-top: 16px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: rgba(255, 255, 255, 0.4); }

/* ========== 通用 section 标题 ========== */
.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section.dark {
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(2, 12, 30, 0.28) 0%, transparent 55%),
    linear-gradient(165deg, #020C1B 0%, #063A86 48%, var(--primary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 420px at 18% 22%, rgba(90, 169, 255, 0.16) 0%, transparent 70%),
    radial-gradient(circle 560px at 86% 70%, rgba(45, 139, 240, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.section.dark::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.section.dark .container { position: relative; z-index: 1; }
.section.dark .section-title { color: #fff; }
.section.dark .section-desc { color: rgba(255, 255, 255, 0.82); }
.section.dark .section-title .accent { color: var(--primary-bright); }

/* 深色区卡片统一升级为质感白卡 */
.section.dark .product-card,
.section.dark .feature-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(2, 12, 30, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.section.dark .product-card::before,
.section.dark .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-bright) 0%, var(--primary-light) 100%);
  opacity: 0.9;
}
.section.dark .product-card:hover,
.section.dark .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(2, 12, 30, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.section.dark .product-card:hover::before,
.section.dark .feature-card:hover::before {
  height: 3px;
}

.section.dark .product-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 95, 217, 0.30);
}
.section.dark .feature-icon {
  box-shadow: 0 10px 24px rgba(11, 95, 217, 0.30);
}

.section.dark .timeline::before { background: rgba(255, 255, 255, 0.25); }
.section.dark .timeline-dot {
  border-color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}
.section.dark .timeline-year,
.section.dark .timeline-title { color: #fff; }
.section.dark .timeline-desc { color: rgba(255, 255, 255, 0.8); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  margin-top: 20px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.section-title .accent {
  color: inherit;
}

.section-desc {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ========== 数据统计条 ========== */
.stats-band {
  margin-top: -56px;
  position: relative;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px 56px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 18%;
  height: 64%;
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  font-feature-settings: "tnum";
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-num b {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-label {
  margin-top: 4px;
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ========== 产品 / 服务卡片 ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 关于页厂区一览：桌面端 3 列 */
.facility-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  transition: height 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before { height: 100%; }

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-tech), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-icon svg { width: 32px; height: 32px; }

.product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-desc {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.product-tag {
  margin-top: 16px;
  display: inline-block;
  padding: 4px 10px;
  font-size: 14px;
  color: var(--primary);
  background: var(--bg-tech);
  border-radius: 999px;
}

/* 产品大卡片（首页展示） */
.product-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  padding: 36px 32px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 22px rgba(11, 95, 217, 0.25);
}

.feature-icon svg { width: 32px; height: 32px; }

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.feature-list {
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
  transform: rotate(-45deg);
}

/* ========== 关于我们横排 ========== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: rgba(255, 255, 255, 0.95);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-visual-badge-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.about-visual-badge-desc {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.about-content h2 {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.about-content h2 .accent {
  color: inherit;
}

.about-content p {
  margin-top: 20px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--text-secondary);
}

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

.about-point {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-point-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-point-icon svg { width: 18px; height: 18px; }

.about-point-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.about-cta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.about-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ========== 应用领域 / 客户行业 ========== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.industry-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--bg-tech);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg { width: 28px; height: 28px; }

.industry-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.industry-desc {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-muted);
}

/* ========== 时间轴（企业历程） ========== */
.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 880px;
  padding: 24px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 18px 40px;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-tech);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.timeline-title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-desc {
  margin-top: 6px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== 联系我们 ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}

.contact-info-card {
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  border-radius: var(--radius-md);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-info-card > * {
  position: relative;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

.contact-info-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: flex-start;
}

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

.contact-list-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-list-icon svg { width: 20px; height: 20px; }

.contact-list-text {
  flex: 1;
}

.contact-list-text-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-list-text-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.contact-list-text-value a:hover { color: var(--accent); }

/* 微信咨询面板（替换原表单） */
.contact-wechat-panel {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-wechat-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #07C160 100%);
}
.contact-wechat-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 18px;
}
.contact-wechat-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-wechat-qr {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 0;
}
.contact-wechat-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-wechat-qr-img {
  width: 180px;
  height: 180px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}
.contact-wechat-qr-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* QR 占位图通用样式（用于弹窗 + 面板，由 JS 填充 25×25 单元）*/
.qr-cell {
  background: transparent;
  border-radius: 1px;
}
.qr-cell.is-on { background: #063a86; }

/* ========== 产品详情表（产品中心页面） ========== */
.product-list-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-list-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
}

.product-list-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-list-icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(11, 95, 217, 0.2);
}

.product-list-info { flex: 1; min-width: 0; }

.product-list-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-list-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-list-spec {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.product-list-spec-item {
  display: flex;
  font-size: 15px;
}

.product-list-spec-label {
  color: var(--text-muted);
  flex: 0 0 80px;
}

.product-list-spec-value {
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-all;
  overflow-wrap: break-word;
}

.product-list-desc {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* 产品类别切换标签 */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 11px 26px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.product-tab.active,
.product-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(11, 95, 217, 0.2);
}

.product-section {
  display: none;
}

.product-section.active {
  display: block;
}

/* ========== CTA 横条 ========== */
.cta-band {
  background:
    linear-gradient(115deg, rgba(6, 58, 134, 0.96) 0%, rgba(11, 95, 217, 0.82) 100%),
    url("../images/factory-3.jpg") center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cta-band p {
  margin-top: 10px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.cta-phone-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
}

.cta-phone-icon svg { width: 22px; height: 22px; }

.cta-phone-text-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.cta-phone-text-value {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-feature-settings: "tnum";
  letter-spacing: 0.5px;
}

/* ========== 底部 ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand h3 {
  font-size: 24px;
  color: #fff;
  font-weight: 800;
}

.footer-brand-desc {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 360px;
}

.footer-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-bright);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--primary-bright);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.7;
}

.footer-contact-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(90, 169, 255, 0.15);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon svg { width: 16px; height: 16px; }

.footer-contact-text-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}

.footer-contact-text-value {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-top: 2px;
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 24px;
  row-gap: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom > :nth-child(1) { grid-column: 1; grid-row: 1; justify-self: start; }
.footer-bottom > :nth-child(2) { grid-column: 2; grid-row: 1; justify-self: end; }
.footer-bottom > :nth-child(3) { grid-column: 1; grid-row: 2; justify-self: start; }

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-credit {
  display: block;
  font-size: 15px;
}
.footer-credit:hover {
  color: var(--primary-bright);
  text-decoration: underline;
}

/* 关注我们 - 跨整行居中 */
.footer-follow {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.footer-follow .footer-title {
  margin-bottom: 22px;
}
/* 整行居中容器内的标题：装饰线跟随文字居中，而非贴父容器左边 */
.footer-follow .footer-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 微信二维码 */
.footer-qr {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  margin: 0 auto;
}

.footer-qr-item {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-qr-box {
  width: 128px;
  height: 128px;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.footer-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

@media (max-width: 480px) {
  .footer-qr { gap: 20px; }
  .footer-qr-box { width: 104px; height: 104px; }
  .footer-qr-item { font-size: 13px; }
  .contact-wechat-qr { gap: 20px; }
  .contact-wechat-qr-img { width: 132px; height: 132px; }
}

/* ========== 浮动按钮 ========== */
.float-actions {
  position: fixed;
  right: 24px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(90, 109, 122, 0.30);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  position: relative;
}

.float-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.float-btn svg { width: 22px; height: 22px; }

.float-btn.phone { background: #5E9BC4; color: #fff; }
.float-btn.phone:hover { background: #4E8BB4; }

.float-btn-wechat { background: #7FBF8A; }
.float-btn-wechat:hover { background: #6FAE7A; }

.float-btn-tip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(94, 155, 196, 0.95);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.float-btn-tip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: inherit;
}

.float-btn:hover .float-btn-tip {
  opacity: 1;
}

/* 微信弹窗（一键弹出二维码） */
.wechat-popup {
  position: fixed;
  right: 92px;
  bottom: 32px;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(6, 58, 134, 0.28);
  z-index: 49;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wechat-popup.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wechat-popup-head {
  background: linear-gradient(135deg, #07C160 0%, #06A050 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wechat-popup-head-icon {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wechat-popup-head-icon svg { width: 22px; height: 22px; }
.wechat-popup-head-text { flex: 1; line-height: 1.3; }
.wechat-popup-head-title {
  font-size: 17px;
  font-weight: 700;
}
.wechat-popup-head-sub {
  font-size: 13px;
  opacity: 0.92;
  margin-top: 2px;
}
.wechat-popup-close {
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.wechat-popup-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.wechat-popup-close svg { width: 16px; height: 16px; }
.wechat-popup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.wechat-popup-qr {
  padding: 8px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.wechat-popup-qr-img {
  width: 140px; height: 140px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}
.wechat-popup-role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.wechat-popup-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.wechat-popup-tip {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wechat-popup-tip svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--primary); }

/* 弹窗背景遮罩（仅小屏可见） */
.wechat-popup-mask {
  position: fixed;
  inset: 0;
  background: rgba(6, 58, 134, 0.45);
  z-index: 48;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wechat-popup-mask.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* 微信按钮激活态（弹窗打开时高亮） */
.float-btn-wechat.is-active {
  background: #6FAE7A;
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(111, 174, 122, 0.45);
}
.float-btn-wechat.is-active:hover {
  background: #5F9E6A;
}

/* ========== 企业资质 ========== */
.certificate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.certificate-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.certificate-img-wrap {
  padding: 28px 28px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.certificate-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.certificate-info {
  padding: 22px 24px 26px;
  text-align: center;
}

.certificate-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.certificate-desc {
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.certificate-range {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .certificate-img-wrap { padding: 18px 18px 16px; }
  .certificate-info { padding: 18px 18px 22px; }
  .certificate-title { font-size: 17px; }
  .certificate-desc { font-size: 14px; }
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .product-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 32px; }
  .stat-item::after { display: none; }
}

@media (max-width: 768px) {
  .hero { height: auto; padding: 80px 0 60px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 17px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .about-content h2 { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; }

  /* 手机端头部：隐藏 CTA，公司名放大与汉堡按钮同行 */
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .header-cta { display: none; }
  .logo { flex: 1; min-width: 0; }
  .logo-text-main {
    font-size: clamp(16px, 5.5vw, 22px);
    letter-spacing: 0;
    line-height: 1.3;
    white-space: nowrap;
  }
  .nav-toggle { display: inline-flex; margin-left: 8px; flex-shrink: 0; }
  .header.nav-open ~ .nav-mask { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 6px 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 16px 34px rgba(2, 12, 30, 0.16);
  }
  .header.nav-open .nav { display: flex; }
  .nav a {
    padding: 15px 24px;
    font-size: 16px;
    color: var(--text-primary);
  }
  .nav a::after { display: none; }
  .nav a.active {
    color: var(--primary);
    background: #f4f8fc;
    font-weight: 600;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid,
  .facility-grid { grid-template-columns: 1fr; gap: 20px; }

  /* 手机端 footer-bottom：隐藏资质行，剩余两行垂直居中 */
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 12px;
  }
  .footer-bottom > :nth-child(2) { display: none; }
  .footer-bottom > :nth-child(1),
  .footer-bottom > :nth-child(3) {
    grid-column: 1;
    justify-self: center;
  }
  .footer-bottom > :nth-child(1) { grid-row: 1; }
  .footer-bottom > :nth-child(3) { grid-row: 2; }

  .product-list-wrap { grid-template-columns: 1fr; }
  .product-list-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
  }
  .product-list-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  .product-list-spec {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
  .product-list-spec-item {
    align-items: baseline;
  }
  .product-list-spec-value {
    word-break: break-all;
    overflow-wrap: break-word;
    line-height: 1.5;
  }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }

  /* 微信弹窗在移动端改为底部抽屉式 */
  .wechat-popup {
    right: 16px;
    left: 16px;
    bottom: 100px;
    width: auto;
    transform-origin: bottom center;
  }
}

/* ========== 动效 ========== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ========== 无障碍：尊重"减少动效"系统偏好 ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== 官网网址链接（联系方式 / footer） ========== */
.contact-list-text-value a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact-text-value a {
  color: #fff;
  word-break: break-all;
}
.footer-contact-text-value a:hover {
  color: var(--primary-bright);
  text-decoration: underline;
}
