/* =========================================
   宁波锐丰高分子材料有限公司 - 官网主样式
   配色：深蓝主色 + 橙色点睛（工业制造业风格）
   ========================================= */

:root {
  /* 主色 */
  --color-primary: #1E3A8A;        /* 深蓝主色 */
  --color-primary-dark: #0D2456;
  --color-primary-light: #2952CC;
  --color-accent: #F97316;          /* 橙色：仅作点睛 */
  --color-accent-dark: #C2410C;
  --color-accent-light: #FB923C;

  /* 中性 */
  --color-bg: #FFFFFF;
  --color-bg-soft: #F7F9FC;
  --color-bg-grey: #F3F4F6;
  --color-border: #E5E7EB;
  --color-text: #1F2937;
  --color-text-soft: #4B5563;
  --color-text-mute: #9CA3AF;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #2952CC 100%);
  --gradient-accent: linear-gradient(135deg, #C2410C 0%, #F97316 100%);
  --gradient-hero: linear-gradient(135deg, rgba(13,36,86,0.92) 0%, rgba(30,58,138,0.78) 50%, rgba(41,82,204,0.65) 100%);

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 12px rgba(30,58,138,0.08);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 间距 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;

  /* 容器 */
  --container: 1240px;
  --header-h: 80px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== 顶部 ===================== */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span::before { content: "📞"; margin-right: 4px; }
.topbar-info span:last-child::before { content: "✉"; }
.topbar-social { display: flex; gap: 12px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  height: var(--header-h);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.header-scrolled { box-shadow: var(--shadow-md); }
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--color-primary);
}
.logo img { height: 40px; width: auto; display: block; }
.footer .logo img { height: 48px; }
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 18px; color: var(--color-primary); }
.logo-text small { font-size: 11px; color: var(--color-text-mute); font-weight: 400; letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  position: relative;
  padding: 0 18px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: all .2s;
}
.nav a:hover { color: var(--color-primary); }
.nav a.active { color: var(--color-primary); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.nav-cta {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 0 22px !important;
  border-radius: 22px !important;
  margin-left: 12px;
  box-shadow: 0 4px 12px rgba(30,58,138,0.28);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,58,138,0.4); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  font-size: 24px;
  color: var(--color-primary);
}

/* ===================== Hero 轮播 ===================== */
.hero-slider {
  position: relative;
  height: 680px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,36,86,0.88) 0%, rgba(13,36,86,0.55) 55%, rgba(13,36,86,0.25) 100%);
}
.hero-slide .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}
.hero-tag::before { content: ""; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; }
.hero h1, .hero-slide h1 {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: #fff;
}
.hero-slide h1 em {
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-slide p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 轮播指示点 */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dot {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
}
.slider-dot.active { background: #fff; width: 48px; }

/* 轮播箭头 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.22); }
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

/* 数据带 */
.hero-stats {
  background: var(--gradient-primary);
  color: #fff;
  padding: 40px 0;
}
.hero-stats .container { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; }
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-num { font-size: 42px; font-weight: 800; color: #fff; line-height: 1; }
.hero-stats .stat-num small { font-size: 20px; color: var(--color-accent-light); margin-left: 4px; }
.hero-stats .stat-label { font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 8px; letter-spacing: 1px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all .25s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gradient-accent); color: #fff; box-shadow: 0 4px 16px rgba(249,115,22,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,0.5); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-light { background: var(--color-primary); color: #fff; }
.btn-light:hover { background: var(--color-primary-light); transform: translateY(-2px); }

/* ===================== Section 通用 ===================== */
.section { padding: var(--space-xl) 0; }
.section-tight { padding: var(--space-lg) 0; }
.section-grey { background: var(--color-bg-soft); }
.section-dark { background: var(--color-primary-dark); color: #fff; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding: 0 24px;
}
.section-head .label::before,
.section-head .label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--color-primary);
}
.section-head .label::before { left: 0; }
.section-head .label::after { right: 0; }
.section-head h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head .label { color: rgba(255,255,255,0.7); }
.section-dark .section-head .label::before,
.section-dark .section-head .label::after { background: rgba(255,255,255,0.5); }
.section-head p {
  font-size: 16px;
  color: var(--color-text-soft);
  max-width: 640px;
  margin: 0 auto;
}
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

/* ===================== 关于我们 ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 60%;
  height: 60%;
  border: 4px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content h2 {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}
.about-content h2 span { color: var(--color-primary); }
.about-content p {
  font-size: 15px;
  color: var(--color-text-soft);
  margin-bottom: 16px;
  line-height: 1.85;
}
.about-features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}
.about-feature::before {
  content: "✓";
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* 数据 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--color-primary-light); }
.stat-card .num {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .num small { font-size: 22px; color: var(--color-primary-light); margin-left: 4px; }
.stat-card .label { font-size: 14px; color: var(--color-text-soft); }
.section-dark .stat-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section-dark .stat-card .label { color: rgba(255,255,255,0.75); }

/* ===================== 产品 ===================== */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.product-tab {
  padding: 10px 24px;
  border: 2px solid var(--color-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-soft);
  background: #fff;
  transition: all .2s;
}
.product-tab:hover, .product-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all .3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.product-thumb {
  aspect-ratio: 4/3;
  background: var(--color-bg-grey);
  position: relative;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.08); }
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.product-body { padding: 20px; }
.product-cat { font-size: 12px; color: var(--color-primary-light); font-weight: 600; letter-spacing: 1px; margin-bottom: 6px; }
.product-card h3 { font-size: 17px; color: var(--color-primary); margin-bottom: 8px; }
.product-card p { font-size: 13px; color: var(--color-text-soft); line-height: 1.6; margin-bottom: 14px; }
.product-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-link::after { content: "→"; transition: transform .2s; }
.product-card:hover .product-link::after { transform: translateX(4px); }

/* ===================== 优势 ===================== */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage {
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all .3s;
  position: relative;
}
.advantage:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
}
.advantage:hover .advantage-icon { background: rgba(255,255,255,0.15); }
.advantage:hover .advantage-num { color: rgba(255,255,255,0.3); }
.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--color-bg-grey);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all .3s;
}
.advantage-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-border);
  line-height: 1;
  transition: color .3s;
}
.advantage h3 { font-size: 18px; margin-bottom: 10px; color: var(--color-primary); transition: color .3s; }
.advantage:hover h3 { color: #fff; }
.advantage p { font-size: 13px; line-height: 1.7; color: var(--color-text-soft); transition: color .3s; }
.advantage:hover p { color: rgba(255,255,255,0.85); }

/* ===================== 设备/工厂 ===================== */
.equipment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.equip-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.equip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.equip-item:hover img { transform: scale(1.1); }
.equip-item::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,36,86,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s;
}
.equip-item:hover::after { opacity: 1; }

/* ===================== 案例 ===================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-tag { position: absolute; top: 12px; left: 12px; background: var(--color-primary); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; }
.case-body { padding: 24px; }
.case-card h3 { font-size: 18px; color: var(--color-primary); margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--color-text-soft); margin-bottom: 16px; }
.case-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-mute); border-top: 1px solid var(--color-border); padding-top: 16px; }

/* ===================== 合作客户 ===================== */
.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.client-logo {
  aspect-ratio: 3/2;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-mute);
  transition: all .2s;
}
.client-logo:hover { border-color: var(--color-primary-light); color: var(--color-primary); }

/* ===================== 新闻 ===================== */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.news-feature {
  grid-row: span 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
}
.news-feature .news-thumb { aspect-ratio: 4/3; }
.news-feature .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .news-body { padding: 24px; }
.news-feature h3 { font-size: 22px; color: var(--color-primary); margin-bottom: 12px; line-height: 1.4; }
.news-feature p { font-size: 14px; color: var(--color-text-soft); }

.news-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all .2s;
}
.news-item:hover { border-color: var(--color-primary-light); transform: translateX(4px); }
.news-date {
  font-size: 12px;
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: monospace;
}
.news-item h4 { font-size: 15px; color: var(--color-primary); margin-bottom: 8px; line-height: 1.5; }
.news-item p { font-size: 12px; color: var(--color-text-mute); }

/* ===== 新闻卡片（新版：可点击 + 分类标签 + 响应式） ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: all .2s;
}
.news-card:hover { box-shadow: 0 10px 30px rgba(30,58,138,.12); transform: translateY(-4px); border-color: var(--color-primary); }
.news-card--feature { grid-column: 1 / -1; flex-direction: row; }
.news-card--feature .news-card-thumb { flex: 0 0 46%; aspect-ratio: 16/9; }
.news-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-cat {
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
}
.news-card .news-date { font-size: 12px; color: var(--color-primary-light); font-weight: 600; font-family: monospace; }
.news-card h3 { font-size: 17px; color: var(--color-primary); line-height: 1.5; margin: 0; }
.news-card--feature h3 { font-size: 24px; }
.news-card p { font-size: 13px; color: var(--color-text-mute); margin: 0; line-height: 1.6; }
.news-filter { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.news-tab {
  padding: 8px 22px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  color: #4b5563;
  transition: .2s;
}
.news-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.news-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
@media (max-width: 768px) {
  .news-card--feature { flex-direction: column; }
  .news-card--feature .news-card-thumb { flex: auto; }
}

/* ===================== 询价 CTA ===================== */
.cta {
  background: var(--gradient-primary);
  color: #fff;
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  background: var(--color-primary-light);
  border-radius: 50%;
  opacity: 0.2;
}
.cta h2 { font-size: 32px; margin-bottom: 12px; position: relative; z-index: 1; }
.cta p { font-size: 16px; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===================== Footer ===================== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer-contact div { display: flex; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.footer-contact div::before { content: "▸"; color: rgba(255,255,255,0.4); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ===================== 页面 Header Banner ===================== */
.page-banner {
  background: var(--gradient-primary);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(41,82,204,0.3) 0%, transparent 55%);
}
.page-banner h1 { font-size: 44px; position: relative; z-index: 1; margin-bottom: 12px; }
.page-banner .breadcrumb { font-size: 14px; opacity: 0.85; position: relative; z-index: 1; }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .product-grid, .advantages, .equipment { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-feature { grid-row: span 1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 16px; }
  .nav a.active::after { display: none; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-slider { height: 520px; }
  .hero-slide h1 { font-size: 34px; }
  .hero-slide p { font-size: 15px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 20px; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .hero-stats .stat-num { font-size: 30px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content h2 { font-size: 28px; }
  .about-features { grid-template-columns: 1fr; }
  .product-grid, .advantages, .equipment { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 40px 24px; flex-direction: column; text-align: center; }
  .cta h2 { font-size: 24px; }
  .page-banner { padding: 56px 0 40px; }
  .page-banner h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .product-grid, .advantages, .equipment { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .hero-slider { height: 460px; }
  .hero-slide h1 { font-size: 28px; }
  .hero-slide p { font-size: 14px; }
  .hero-stats .container { flex-direction: column; gap: 16px; }
  .container { padding: 0 16px; }
}

/* ===================== 工具类 ===================== */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===================== 产品参数 ===================== */
.product-params { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.param-chip {
  font-size: 11px;
  padding: 3px 9px;
  background: var(--color-bg-grey);
  color: var(--color-text-soft);
  border-radius: 4px;
  line-height: 1.5;
}

/* ===================== 产品规格参数表 ===================== */
.spec-table-wrap { overflow-x: auto; margin-top: 64px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.spec-table thead th { background: var(--color-primary); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .5px; white-space: nowrap; }
.spec-table tbody tr:nth-child(even) { background: var(--color-bg-soft); }
.spec-table tbody tr:hover { background: #eef2fb; }
.spec-table td:first-child { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.spec-table .spec-note { font-size: 12px; color: var(--color-text-mute); margin-top: 12px; }

/* ===================== 详情页 ===================== */
.detail-hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.detail-thumb { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4/3; background: var(--color-bg-grey); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb .product-tag { top: 16px; left: 16px; }
.detail-info h2.detail-title { font-size: 36px; color: var(--color-primary); margin-bottom: 16px; letter-spacing: -1px; }
.detail-info > p { color: var(--color-text-soft); line-height: 1.85; margin-bottom: 20px; font-size: 15px; }
.detail-sub { font-size: 14px; color: var(--color-primary); font-weight: 600; margin-bottom: 10px; }
.detail-section { margin-bottom: 48px; }
.detail-section h2 {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary-light);
}
.detail-list { list-style: none; display: grid; gap: 12px; }
.detail-list li {
  padding: 14px 18px 14px 42px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  position: relative;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
}
.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* FAQ 区块 */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px 24px; transition: all .2s; }
.faq-item:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-sm); }
.faq-q { font-weight: 700; color: var(--color-primary); margin-bottom: 10px; font-size: 16px; line-height: 1.5; }
.faq-q::before { content: "Q  "; color: var(--color-accent); font-weight: 800; }
.faq-a { color: var(--color-text-soft); font-size: 14px; line-height: 1.8; }
.faq-a::before { content: "A  "; color: var(--color-primary-light); font-weight: 800; }

@media (max-width: 768px) {
  .detail-hero { grid-template-columns: 1fr; gap: 32px; }
  .detail-info h2.detail-title { font-size: 26px; }
  .detail-section h2 { font-size: 20px; }
}

/* ===================== 基地联系方式 ===================== */
.base-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.base-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 14px;
  transition: all .2s;
  background: #fff;
  word-break: break-all;
}
.base-btn:hover { border-color: var(--color-primary); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.base-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 0 24px;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.base-card:hover { border-color: var(--color-primary-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.base-card-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 18px; }
.base-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.base-card:hover .base-card-img img { transform: scale(1.06); }
.base-card h3 { color: var(--color-primary); font-size: 20px; padding: 0 20px; }
.base-card .base-role { font-size: 13px; color: var(--color-primary-light); font-weight: 600; padding: 0 20px; }
.base-card .base-addr { font-size: 13px; color: var(--color-text-soft); line-height: 1.7; padding: 0 20px; }
.base-card .base-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 0 20px; margin-top: 4px; }
.base-card .base-link {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.base-card .base-link:hover { background: var(--color-primary); color: #fff; }
.base-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .base-grid { grid-template-columns: 1fr; } }

/* ===================== 董事长寄语 ===================== */
.chairman {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0;
}
.chairman-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
}
.chairman-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.chairman-photo:hover img { transform: scale(1.04); }

.chairman-photo .photo-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 100px 24px 24px;
  background: linear-gradient(to top, rgba(13,36,86,0.95) 0%, rgba(13,36,86,0.55) 55%, transparent 100%);
  color: #fff;
  text-align: center;
}
.chairman-photo .photo-name-main {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.chairman-photo .photo-name-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.chairman-body { position: relative; }

.chairman-body .chairman-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.chairman-quote-mark {
  font-size: 120px;
  line-height: 0.5;
  color: var(--color-accent);
  opacity: 0.55;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 8px;
  height: 50px;
  font-weight: 700;
}

.chairman-text {
  font-size: 17px;
  line-height: 2.1;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
}

.chairman-sign {
  margin-top: 40px;
  padding-left: 24px;
  position: relative;
}

.chairman-sign::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.chairman-sign-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.chairman-sign-title {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .chairman { grid-template-columns: 1fr; gap: 48px; padding: 0; }
  .chairman-photo { max-width: 320px; margin: 0 auto; width: 100%; }
  .chairman-text { font-size: 15px; }
  .chairman-quote-mark { font-size: 90px; height: 36px; }
  .chairman-sign-name { font-size: 20px; }
}

/* ===================== 移动端视觉增强 v2 ===================== */
@media (max-width: 768px) {
  /* 首页轮播：文字可读性 + 按钮 */
  .hero-slider { height: 500px; }
  .hero-content { max-width: 100%; }
  .hero-slide::before { background: linear-gradient(to right, rgba(13,36,86,0.82) 0%, rgba(13,36,86,0.55) 55%, rgba(13,36,86,0.25) 100%); }
  .hero-slide h1 { font-size: 30px; line-height: 1.3; letter-spacing: -0.5px; }
  .hero-slide p { font-size: 14px; line-height: 1.7; margin-top: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-tag { font-size: 12px; padding: 6px 14px; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .btn { padding: 12px 20px; font-size: 14px; }

  /* 首页数据带：2列网格，不再竖排挤 */
  .hero-stats .container { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 8px; }
  .hero-stats .stat-item { padding: 0; }
  .hero-stats .stat-num { font-size: 30px; }
  .hero-stats .stat-num small { font-size: 15px; }
  .hero-stats .stat-label { font-size: 13px; margin-top: 6px; }

  /* 关于页数据带 */
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-card .num { font-size: 28px; }
  .stat-card .label { font-size: 13px; }

  /* 区块标题 + 间距 */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 13px; line-height: 1.7; }

  /* 产品/案例卡片 */
  .product-grid, .advantages, .equipment { gap: 12px; }
  .product-card h3 { font-size: 16px; }
  .product-card p { font-size: 12px; }
  .case-card h3 { font-size: 16px; }
  .case-card p { font-size: 13px; }

  /* 详情页 */
  .detail-hero { gap: 24px; }
  .detail-info h2.detail-title { font-size: 24px; }
  .detail-info > p { font-size: 14px; }
  .detail-section { margin-bottom: 36px; }
  .detail-section h2 { font-size: 19px; }
  .detail-list li { padding: 12px 14px 12px 38px; font-size: 14px; }
  .faq-item { padding: 16px 16px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 13px; }

  /* 页脚 */
  .footer { padding: 44px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer h4 { font-size: 16px; }
  .footer-bottom { font-size: 12px; }

  /* 触控目标优化 */
  .nav a { padding: 14px 16px; font-size: 16px; }
  .base-link { padding: 10px 14px; }
  .base-btn { padding: 14px 16px; }

  /* 联系我们页（内联样式多，需 !important 压过） */
  .contact-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .contact-title { font-size: 26px !important; }
  .contact-card { padding: 24px 20px !important; }
  .form-row { grid-template-columns: 1fr !important; gap: 14px !important; }
  .form-row + .form-row { margin-bottom: 14px !important; }

  /* 关于页内联 grid（同上，!important 压过） */
  .about-series-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .about-series-grid > div { padding: 20px 12px !important; }
  .about-certs-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .about-special-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}

@media (max-width: 480px) {
  .contact-title { font-size: 22px !important; }
  .contact-card { padding: 20px 16px !important; border-radius: 12px !important; }
  .about-series-grid { grid-template-columns: 1fr !important; }
  .about-special-grid > div { padding: 16px 12px !important; }
}

@media (max-width: 480px) {
  .hero-slider { height: 460px; }
  .hero-slide h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats .stat-num { font-size: 26px; }
  .section-head h2 { font-size: 22px; }
  .btn { font-size: 14px; padding: 11px 18px; }
  .detail-info h2.detail-title { font-size: 22px; }
  .page-banner h1 { font-size: 24px; }
  .more-scenes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .more-scene img { height: 130px; }
  .more-scene-label { font-size: 13px; padding: 8px 10px; }
}

/* 更多应用场景（cases.html 底部 9 张扩展场景图） */
.more-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.more-scene {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.more-scene:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.16);
}
.more-scene img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.more-scene-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 768px) {
  .more-scenes { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .more-scene img { height: 160px; }
}

/* ===== 参观工厂：视频播放按钮（底部条）+ 弹窗 ===== */
.video-play-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border: none;
  cursor: pointer;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.92), rgba(30, 58, 138, 0.72));
  color: #fff;
  transition: background 0.3s;
  z-index: 2;
  font-family: inherit;
}
.video-play-btn:hover { background: linear-gradient(to top, rgba(30, 58, 138, 1), rgba(30, 58, 138, 0.85)); }
.video-play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-accent, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding-left: 3px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.video-play-btn:hover .video-play-icon { transform: scale(1.1); }
.video-play-text {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.open { display: flex; }
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}
.video-modal-box {
  position: relative;
  width: min(960px, 100%);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-modal-box video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(0, 0, 0, 0.85); }
.video-modal-tip {
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  background: #000;
}
