/* ===== 翰喜金属 - 专业制造企业官网样式 ===== */
:root {
  /* 工业品牌配色 */
  --primary: #1F2937;        /* 辅助色：深灰（导航/页脚/标题/结构） */
  --primary-dark: #111827;   /* 更深灰：渐变深端/深色背景 */
  --primary-light: #374151;  /* 中灰：渐变浅端 */
  --accent: #F97316;         /* 主色：橙色（按钮/标题装饰/悬停） */
  --accent-light: #FB923C;   /* 浅橙 */
  --accent-dark: #EA580C;    /* 深橙：悬停态 */
  --text: #333333;           /* 正文文字 */
  --text-light: #4b5563;     /* 次级文字 */
  --text-muted: #9ca3af;     /* 弱化文字 */
  --bg: #ffffff;             /* 主背景：白 70% */
  --bg-alt: #F8FAFC;         /* 浅灰背景 */
  --bg-dark: #1F2937;        /* 深色背景（页脚） */
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
  --container: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== 顶部栏 ===== */
.topbar { background: var(--primary-dark); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--accent-light); }
.topbar .contact-info span { margin-right: 24px; }

/* ===== 导航（深灰） ===== */
.navbar { background: var(--primary); box-shadow: 0 2px 12px rgba(0,0,0,0.18); position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #fff; }
.logo .logo-img { height: 44px; width: auto; display: block; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo .logo-text .en { font-size: 11px; color: #9ca3af; font-weight: 400; letter-spacing: 1px; }

.nav-menu { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-menu > li > a {
  padding: 8px 16px; border-radius: 6px; font-weight: 500; font-size: 15px;
  color: #e5e7eb; transition: all .2s;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active {
  background: rgba(249,115,22,0.16); color: var(--accent);
}
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 24px !important;
  border-radius: 6px; font-weight: 600; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }

/* 手机端菜单按钮（默认隐藏，≤968px 显示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero Banner ===== */
.hero { position: relative; height: 480px; overflow: hidden; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.hero-strip {
  display: flex; width: 100%; height: 100%;
}
.hero-strip img {
  flex: 1; min-width: 0; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,0.75) 0%, rgba(31,41,55,0.55) 50%, rgba(55,65,81,0.40) 100%);
  z-index: 1;
}
.hero-content {
  position: absolute; inset: 0;
  max-width: var(--container); margin: 0 auto;
  padding: 0 20px; z-index: 2;
}
.hero-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; padding: 0 20px;
  opacity: 0; transition: opacity .8s; pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide h1 { color: #fff; font-size: 46px; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.hero-slide p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 28px; max-width: 600px; }
.hero-slide .hero-btn {
  display: inline-block; padding: 14px 36px; background: var(--accent);
  color: #fff; border-radius: 6px; font-weight: 600; font-size: 16px; transition: all .3s;
}
.hero-slide .hero-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,115,12,0.4); }
.hero-dots { position: absolute; bottom: 30px; left: 20px; display: flex; gap: 8px; }
.hero-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all .3s; }
.hero-dots .dot.active { background: var(--accent); width: 30px; border-radius: 5px; }

/* ===== 通用 Section ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 34px; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; letter-spacing: 1px; }
.section-header .subtitle { color: var(--text-light); font-size: 16px; }
.section-header .divider { width: 60px; height: 4px; background: var(--accent); margin: 18px auto 0; border-radius: 2px; }

/* ===== 产品分类卡片 ===== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s; border: 1px solid var(--border);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.category-card .card-img {
  height: 220px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #e5e7eb 100%);
}
.category-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.category-card:hover .card-img img { transform: scale(1.05); }
.category-card .card-img .card-icon-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); color: rgba(255,255,255,0.3); font-size: 64px;
}
.category-card .card-body { padding: 20px 24px; }
.category-card .card-body h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.category-card .card-body p { color: var(--text-light); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.category-card .card-link { color: var(--accent); font-weight: 600; font-size: 14px; }
.category-card .card-link:hover { color: var(--accent-dark); }

/* ===== 公司介绍区 ===== */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 30px; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; }
.about-text .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.about-text .stat-item { text-align: center; }
.about-text .stat-num { font-size: 36px; font-weight: 800; color: var(--accent); }
.about-text .stat-num small { font-size: 18px; }
.about-text .stat-label { color: var(--text-light); font-size: 14px; margin-top: 4px; }
.about-visual { border-radius: var(--radius); position: relative; }
.about-visual img, .about-visual video { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.about-visual .fallback {
  width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.15); font-size: 120px;
}

/* ===== 企业介绍区域（深灰带） ===== */
.about-band { background: var(--primary); }
.about-band .about-section { align-items: center; }
.about-band .about-text h2 { color: #fff; position: relative; padding-left: 18px; }
.about-band .about-text h2::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px;
  border-radius: 3px; background: var(--accent);
}
.about-band .about-text p { color: #cbd5e1; }
.about-band .about-text .stat-num { color: var(--accent); }
.about-band .about-text .stat-label { color: #9ca3af; }

/* ===== 优势列表 ===== */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow); transition: all .3s;
  border-top: 4px solid transparent;
}
.advantage-card:hover { border-top-color: var(--accent); transform: translateY(-4px); }
.advantage-card .adv-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
}
.advantage-card .adv-icon svg { width: 32px; height: 32px; fill: var(--accent); }
.advantage-card h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.advantage-card p { color: var(--text-light); font-size: 14px; }

/* ===== 流程步骤 ===== */
.process-steps { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 20px; }
.process-step { flex: 1; min-width: 140px; text-align: center; position: relative; }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--primary); color: #fff; font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
}
.process-step:nth-child(even) .step-num { background: var(--accent); }
.process-step h3 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-weight: 600; color: var(--primary-dark); font-size: 15px;
}
.faq-question .faq-icon { transition: transform .3s; font-size: 18px; color: var(--accent); }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 24px; color: var(--text-light); }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ===== 案例卡片 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .case-img { height: 180px; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; }
.case-card .case-img .icon { font-size: 48px; opacity: 0.3; }
.case-card .case-body { padding: 20px 24px; }
.case-card .case-body h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.case-card .case-body p { color: var(--text-light); font-size: 13px; margin-bottom: 12px; }
.case-card .case-tags { display: flex; gap: 8px; }
.case-card .case-tag { background: var(--bg-alt); color: var(--text-light); font-size: 12px; padding: 4px 10px; border-radius: 4px; }

/* ===== 产品列表页 ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0; text-align: center; color: #fff;
}
.page-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 15px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.6); justify-content: center; margin-top: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }

.product-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 20px; border: 2px solid var(--border); border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 14px; color: var(--text);
  transition: all .2s; font-weight: 500;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--accent); color: var(--accent); background: #fff7ed; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all .3s ease;
  border: 1px solid #e5e5e5; position: relative;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); border-color: #dc2626; }
.product-card .product-img {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden; position: relative;
  background: linear-gradient(100deg, #eef2f7 30%, #e2e8f0 50%, #eef2f7 70%);
  background-size: 200% 100%;
  animation: imgShimmer 1.4s linear infinite;
}
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card .product-img img.img-broken { display: none; }
.product-card:hover .product-img img { transform: scale(1.06); }
@keyframes imgShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.product-card .product-img .img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); }
.product-card .product-badge {
  position: absolute; top: 8px; left: 8px; background: #dc2626;
  color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 4px; font-weight: 700;
  letter-spacing: 0.5px;
}
.product-card .product-badge.hot { background: #dc2626; }
.product-card .product-body { width: 100%; padding: 10px 12px 12px; border-top: 1px solid #eee; background: #fafafa; transition: background .3s; }
.product-card:hover .product-body { background: #f0f0f0; }
.product-card:hover .product-body .product-title,
.product-card:hover .product-body .product-code,
.product-card:hover .product-body .product-seo-title { color: #333; }
.product-card .product-body .product-title {
  font-size: 15px; font-weight: 700; color: #555; margin-bottom: 4px;
  line-height: 1.35; transition: color .3s;
}
.product-card .product-body .product-seo-title {
  font-size: 11px; color: #888; line-height: 1.5;
  margin-bottom: 6px; min-height: 32px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s;
}
.product-card .product-body .product-code {
  font-size: 12px; color: #999; margin-bottom: 4px; transition: color .3s;
}
.product-card .more-btn {
  display: inline-block; background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff; font-size: 12px; font-weight: 600; padding: 5px 22px;
  border-radius: 20px; letter-spacing: 0.5px; transition: all .25s;
}
.product-card:hover .more-btn {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 2px 8px rgba(217,119,6,0.35);
}

/* ===== 产品详情页 ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-gallery .main-img {
  aspect-ratio: 1 / 1; width: 100%; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #e5e7eb 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .main-img .img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); }
.product-gallery .main-img { position: relative; }
.product-gallery .nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 2;
}
.product-gallery .nav-arrow:hover { background: rgba(0,0,0,.65); }
.product-gallery .nav-arrow.prev { left: 12px; }
.product-gallery .nav-arrow.next { right: 12px; }
.product-gallery .thumb-list { display: flex; gap: 10px; flex-wrap: wrap; }
.product-gallery .thumb-list .thumb {
  width: 72px; height: 72px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 2px solid transparent; transition: border-color .2s; background: #f1f5f9;
}
.product-gallery .thumb-list .thumb.active { border-color: var(--accent); }
.product-gallery .thumb-list .thumb:hover { border-color: var(--primary); }
.product-info h1 { font-size: 28px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.product-info .product-model { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.product-info .product-desc { color: var(--text-light); margin-bottom: 24px; font-size: 15px; }
.product-info .spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.product-info .spec-table th, .product-info .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; text-align: left; }
.product-info .spec-table th { background: var(--bg-alt); font-weight: 600; color: var(--primary-dark); width: 120px; }
.product-info .feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-info .feature-list .tag { background: #fff7ed; color: var(--accent-dark); padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.product-info .cta-box {
  background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.product-info .cta-box .cta-label { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.product-info .cta-box .cta-value { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; }
.product-info .cta-btn {
  display: inline-block; padding: 14px 40px; background: var(--accent);
  color: #fff; border-radius: 6px; font-weight: 600; font-size: 16px; transition: all .3s;
}
.product-info .cta-btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

.related-products h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ===== 新闻列表 ===== */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .news-img { height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .news-body .news-cat { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.news-card .news-body h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.5; }
.news-card .news-body p { color: var(--text-light); font-size: 13px; flex: 1; margin-bottom: 12px; }
.news-card .news-body .news-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

/* ===== 新闻详情 ===== */
.news-article { max-width: 800px; margin: 0 auto; }
.news-article h1 { font-size: 30px; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.news-article .article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.news-article .article-img { width: 100%; height: 360px; border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; background: var(--bg-alt); }
.news-article .article-img img { width: 100%; height: 100%; object-fit: cover; }
.news-article .article-content { font-size: 15px; color: var(--text); line-height: 1.9; }
.news-article .article-content h2 { font-size: 22px; font-weight: 700; color: var(--primary-dark); margin: 24px 0 12px; }
.news-article .article-content h3 { font-size: 18px; font-weight: 600; color: var(--primary); margin: 20px 0 8px; }
.news-article .article-content p { margin-bottom: 16px; }
.news-article .article-content ul, .news-article .article-content ol { margin-bottom: 16px; padding-left: 24px; }
.news-article .article-content li { margin-bottom: 8px; }

/* ===== 工厂展示 ===== */
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.factory-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s; border: 1px solid var(--border);
}
.factory-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.factory-card .factory-img { height: 240px; overflow: hidden; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); }
.factory-card .factory-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.factory-card:hover .factory-img img { transform: scale(1.05); }
.factory-card .factory-body { padding: 20px; }
.factory-card .factory-body h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.factory-card .factory-body p { color: var(--text-light); font-size: 14px; }
.factory-card .factory-body .factory-cat { display: inline-block; background: var(--bg-alt); color: var(--accent); font-size: 12px; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }

/* ===== 资质认证（统一新版：带证书图片） ===== */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; text-align: center; }
.cert-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cert-card .cert-image { height: 220px; overflow: hidden; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; padding: 12px; }
.cert-card .cert-image img { width: 100%; height: 100%; object-fit: contain; }
.cert-card .cert-body { padding: 16px; }
.cert-card .cert-body h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.cert-card .cert-body p { font-size: 13px; color: var(--text-light); }

/* ===== 合作伙伴（统一新版：带Logo图片） ===== */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: all .3s; }
.partner-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-card .partner-logo { width: 100px; height: 60px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: #fff; }
.partner-card .partner-logo img { max-width: 100%; max-height: 60px; object-fit: contain; }
.partner-card h4 { font-size: 15px; font-weight: 600; color: var(--primary-dark); margin-bottom: 4px; }
.partner-card p { font-size: 13px; color: var(--text-light); }

/* ===== 关于我们页 ===== */
.about-page-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.about-page-text h2 { font-size: 24px; color: var(--primary-dark); margin-bottom: 16px; font-weight: 700; }
.about-page-text p { color: var(--text-light); margin-bottom: 12px; }
.about-page-visual {
  height: 350px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.about-page-visual img { width: 100%; height: 100%; object-fit: cover; }

.timeline { max-width: 800px; margin: 0 auto; }
.timeline-item { display: flex; gap: 24px; padding-bottom: 32px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--border); }
.timeline-item:last-child::before { display: none; }
.timeline-item .timeline-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; z-index: 1; }
.timeline-item .timeline-content { flex: 1; }
.timeline-item .timeline-content h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 6px; }
.timeline-item .timeline-content p { color: var(--text-light); font-size: 14px; }

/* ===== 联系页面 ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-info-card h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 20px; font-weight: 700; }
.contact-info-card .info-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-card .info-item .icon { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.contact-info-card .info-item .info-text h4 { font-size: 14px; color: var(--text-light); font-weight: 500; }
.contact-info-card .info-item .info-text p { font-size: 15px; color: var(--text); font-weight: 600; }

.contact-form { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 20px; font-weight: 700; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group label .required { color: #dc2626; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; font-family: var(--font); transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--accent); color: #fff;
  border: none; border-radius: 6px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--accent-dark); }

/* ===== 浮动询盘按钮 ===== */
.float-inquiry {
  position: fixed; right: 20px; bottom: 80px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 20px rgba(232,115,12,0.4); transition: all .3s;
}
.float-inquiry:hover { transform: scale(1.1); }
.float-inquiry svg { width: 28px; height: 28px; fill: #fff; }

/* 移动端底部固定联系条（默认隐藏，≤640px 显示） */
.mobile-contact-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
  background: var(--accent); color: #fff; text-align: center;
  padding: 14px; font-size: 16px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-contact-bar:active { background: var(--accent-dark); }

/* ===== Footer（深灰） ===== */
.footer { background: var(--bg-dark); color: #9ca3af; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9ca3af; font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact .icp { font-size: 12px; color: #6b7280; margin-top: 12px; }
.footer-contact .icp a { color: #6b7280; text-decoration: none; }
.footer-contact .icp a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 20px; text-align: center; font-size: 13px; }

/* ===== 案例详情 ===== */
.case-detail-content { max-width: 800px; margin: 0 auto; }
.case-detail-content .case-meta { display: flex; gap: 12px; margin-bottom: 20px; }
.case-detail-content h1 { font-size: 28px; color: var(--primary-dark); margin-bottom: 16px; }
.case-detail-content .case-body { font-size: 15px; color: var(--text-light); line-height: 1.9; }

/* ===== 数据统计条 ===== */
.stats-bar { background: var(--primary-dark); padding: 24px 0; }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats-bar .stat-item .num { font-size: 28px; font-weight: 800; color: var(--accent); }
.stats-bar .stat-item .num small { font-size: 16px; }
.stats-bar .stat-item .label { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 2px; }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--primary);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    box-shadow: 0 16px 30px rgba(0,0,0,0.25);
    z-index: 999;
  }
  .nav-menu.open { max-height: 82vh; overflow-y: auto; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    display: block; padding: 15px 20px; border-radius: 0;
    font-size: 16px; color: #e5e7eb;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-menu > li > a:hover, .nav-menu > li > a.active {
    background: rgba(249,115,22,0.16); color: var(--accent);
  }
  .nav-cta { margin: 14px 20px; text-align: center; padding: 14px !important; border-radius: 6px; }

  /* ===== 手机端 Hero：只显示2张图横排 ===== */
  .hero { height: 360px; }
  .hero-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hero-strip::-webkit-scrollbar { display: none; }
  .hero-strip img { flex: 0 0 50vw; min-width: 50vw; }

  .category-grid, .advantages-grid, .case-grid, .factory-grid, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section, .product-detail, .contact-layout, .about-page-content { grid-template-columns: 1fr; }
  .hero-slide h1 { font-size: 28px; }
  .hero-slide p { font-size: 14px; margin-bottom: 18px; }
  .hero-content { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .cert-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { padding: 18px 0; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-bar .stat-item .num { font-size: 24px; }
  .stats-bar .stat-item .num small { font-size: 14px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 24px; letter-spacing: 0.5px; }

  /* ===== 小屏手机：Hero 只显示1张全宽图 ===== */
  .hero { height: 300px; }
  .hero-strip img { flex: 0 0 100vw; min-width: 100vw; }
  .hero-overlay { background: linear-gradient(135deg, rgba(17,24,39,0.80) 0%, rgba(31,41,55,0.60) 100%); }
  .hero-slide { padding: 0 18px; }
  .hero-slide h1 { font-size: 22px; line-height: 1.3; }
  .hero-slide p { font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
  .hero-slide .hero-btn {
    padding: 13px 32px; font-size: 15px; min-height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .hero-dots { bottom: 12px; }
  .hero-dots .dot { width: 8px; height: 8px; }

  .category-grid, .advantages-grid, .case-grid, .product-grid, .factory-grid, .advantage-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .about-text .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-grid, .partner-grid { grid-template-columns: 1fr; }
  .stats-bar { padding: 14px 0; }
  .stats-bar .container { grid-template-columns: 1fr; gap: 10px; }
  .stats-bar .stat-item .num { font-size: 22px; }
  .stats-bar .stat-item .num small { font-size: 13px; }
  .news-list { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 24px; }
  .page-banner { height: 180px; }
  .cta-box { flex-direction: column; gap: 12px; text-align: center; }

  /* 产品页手机端：单列、方形图片、名称清晰 */
  .product-card .product-img { aspect-ratio: 1 / 1; }
  .product-card .product-img img { object-fit: contain; padding: 20px; }
  .product-card .product-body { padding: 10px 12px 12px; }
  .product-card .product-body .product-title { font-size: 14px; color: #555; }
  .product-card .product-body .product-seo-title { -webkit-line-clamp: 3; min-height: auto; }
  .product-card .product-body .product-code { font-size: 12px; color: #999; }

  /* 浮动咨询按钮上移，避免被底部联系条遮挡 */
  .float-inquiry { bottom: 72px; }

  /* 移动端底部固定联系条（让联系按钮更明显） */
  .mobile-contact-bar { display: block; }
  body { padding-bottom: 56px; }

  /* 联系页地图手机端优化 */
  .map-embed iframe { height: 200px; }
  .map-actions { flex-direction: column; gap: 8px; }
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.loading { text-align: center; padding: 60px; color: var(--text-muted); }
.btn-primary {
  display: inline-block; padding: 12px 32px; background: var(--accent);
  color: #fff !important; border-radius: 6px; font-weight: 600; transition: all .3s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-block; padding: 12px 32px; border: 2px solid var(--primary);
  color: var(--primary) !important; border-radius: 6px; font-weight: 600; transition: all .3s;
}
.btn-outline:hover { background: var(--primary); color: #fff !important; }

/* ===== 页面横幅 ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.page-banner h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.8; }

/* ===== 浅色面包屑 ===== */
.breadcrumb-light { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb-light a { color: var(--text-light); }
.breadcrumb-light a:hover { color: var(--accent); }
.breadcrumb-light span { color: var(--text-muted); }

/* ===== 新闻筛选条 ===== */
.news-filter { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; justify-content: center; }

/* ===== 新闻列表(新版) ===== */
.news-card-image { height: 220px; overflow: hidden; display: block; line-height: 0; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s; }
.news-card:hover .news-card-image img { transform: scale(1.03); }
.news-card-image .img-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; }
.news-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.news-tag { display: inline-block; font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 8px; align-self: flex-start; }
.news-summary { color: var(--text-light); font-size: 13px; flex: 1; margin-bottom: 12px; line-height: 1.6; }
.news-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 16px; }

/* ===== 新闻详情页 ===== */
.article-content h1 { font-size: 28px; font-weight: 800; color: var(--primary-dark); margin: 12px 0; line-height: 1.4; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-cover { width: 100%; max-height: 400px; overflow: hidden; border-radius: var(--radius); margin-bottom: 24px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.article-cover img { max-width: 100%; max-height: 400px; object-fit: contain; }
.article-body { font-size: 15px; color: var(--text); line-height: 1.9; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--primary-dark); margin: 24px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 600; color: var(--primary); margin: 20px 0 8px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin-bottom: 16px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 14px; color: var(--text-light); }
.share-link { color: var(--accent); cursor: pointer; padding: 6px 16px; border: 1px solid var(--accent); border-radius: 4px; font-size: 13px; transition: all .2s; }
.share-link:hover { background: var(--accent); color: #fff; }
.cta-box { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 24px 32px; border-radius: var(--radius); text-decoration: none; transition: transform .3s; }
.cta-box:hover { transform: translateY(-2px); color: #fff; }
.cta-box h3 { font-size: 18px; margin-bottom: 4px; }
.cta-box p { font-size: 14px; opacity: 0.8; }
.cta-arrow { font-size: 16px; font-weight: 600; color: var(--accent-light); white-space: nowrap; }
.related-section { margin-top: 48px; }
.related-section h2 { font-size: 24px; font-weight: 700; color: var(--primary-dark); margin-bottom: 24px; }

/* ===== 工厂展示(新版) ===== */
.factory-card-image { height: 240px; overflow: hidden; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); }
.factory-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.factory-card:hover .factory-card-image img { transform: scale(1.05); }
.factory-card-body { padding: 20px; }
.factory-card-body h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.factory-card-body p { color: var(--text-light); font-size: 14px; }

/* ===== 案例列表 ===== */
.case-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
.case-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all .3s; border: 1px solid var(--border); }
.case-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.case-card-body { padding: 28px 32px; }
.case-card-body h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.case-summary { color: var(--text-light); font-size: 15px; margin-bottom: 16px; }
.case-content { color: var(--text); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tag { background: var(--bg-alt); color: var(--text-light); font-size: 12px; padding: 4px 12px; border-radius: 4px; }

/* ===== 联系页面(新版) ===== */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form-wrap { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.contact-form-wrap h2 { font-size: 24px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.form-intro { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }
.prefill-info { display: flex; align-items: center; justify-content: space-between; background: #fff7ed; border: 1px solid var(--accent); border-radius: 6px; padding: 10px 16px; margin-bottom: 16px; font-size: 14px; color: var(--accent-dark); }
.prefill-close { cursor: pointer; font-size: 20px; color: var(--accent); line-height: 1; }
.form-group .req { color: #dc2626; }
.btn-submit { width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .3s; }
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 24px; }
.contact-card { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .ci-icon { width: 44px; height: 44px; border-radius: 8px; background: #fff7ed; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ci-icon svg { width: 22px; height: 22px; color: var(--accent); }
.contact-item .ci-label { font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
.contact-item .ci-value { font-size: 15px; color: var(--text); font-weight: 600; }
.contact-map { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-map h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.map-address { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: #e5e7eb; }
.map-embed iframe { display: block; width: 100%; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--text);
  transition: all .2s;
}
.map-link-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== CTA横幅 ===== */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 48px; text-align: center; border-radius: var(--radius); }
.cta-banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: 0.8; margin-bottom: 24px; }

/* ===== 优势网格 ===== */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.btn-back { display: inline-block; margin-top: 20px; padding: 10px 24px; background: var(--primary); color: #fff !important; border-radius: 6px; font-size: 14px; }

/* ===== 图片回退 ===== */
.img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); position: relative; }
.img-fallback::after { content: ''; width: 56px; height: 56px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(255,255,255,0.25)' d='M12 2L4 5v7c0 5.5 3.8 10.7 8 12 4.2-1.3 8-6.5 8-12V5l-8-3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.img-fallback svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.3); }

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}
/* 子元素依次延迟出现 */
.revealed .delay-1 { transition-delay: 0.1s; }
.revealed .delay-2 { transition-delay: 0.2s; }
.revealed .delay-3 { transition-delay: 0.3s; }
.revealed .delay-4 { transition-delay: 0.4s; }
.revealed .delay-5 { transition-delay: 0.5s; }
.revealed .delay-6 { transition-delay: 0.6s; }

/* ===== 关于我们媒体（视频/图片）动态样式 ===== */
.about-media-video {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #000;
  display: block;
}
.about-media-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.about-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: #F8FAFC;
  border-radius: var(--radius);
  color: #9ca3af;
  font-size: 14px;
}
/* 左侧简介文字样式 */
#about-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 12px;
}

/* 悬停上浮优先级：避免被滚动入场动画的 transform 覆盖（动画与 hover 同元素冲突） */
.product-card:hover,
.category-card:hover,
.case-card:hover,
.factory-card:hover,
.cert-card:hover,
.partner-card:hover,
.news-card:hover,
.advantage-card:hover { transform: translateY(-6px) !important; }
