/* ============================================================
   外贸企业站 · 全站样式
   ============================================================ */
:root {
  --primary: #0a2540;
  --primary-2: #103a63;
  --accent: #f59e0b;
  --accent-2: #d97706;
  --text: #1f2937;
  --text-2: #4b5563;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  /*--radius: 12px;*/
  --radius: 0px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 6px 20px rgba(10,37,64,.08);
  --shadow-lg: 0 18px 40px rgba(10,37,64,.14);
  --transition: all .3s cubic-bezier(.4,0,.2,1);

  /*--page-max: 1600px;*/
  --page-max: 90%;
  --page-pad: clamp(16px, 3vw, 48px);
  --section-y: clamp(48px, 6vw, 96px);
  --title-1: clamp(28px, 4.2vw, 52px);
  --title-2: clamp(22px, 2.6vw, 42px);
  --body-1: clamp(15px, 1.1vw, 17px);
  --gap: clamp(14px, 1.6vw, 28px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text); line-height: 1.65; background: var(--bg);
  font-size: var(--body-1);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { color: var(--primary); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; }

.container { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-left: var(--page-pad); padding-right: var(--page-pad); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(229,231,235,.6);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(10,37,64,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: clamp(64px, 6vw, 80px); gap: 16px; }
.logo img { max-height: clamp(36px, 4vw, 48px); width: auto; }
.logo-text { font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); color: var(--primary); }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: block; padding: 12px clamp(10px, 1vw, 18px); color: var(--text); font-weight: 500; font-size: clamp(14px, 1vw, 15px); border-radius: 8px; white-space: nowrap; }
.main-nav > ul > li > a:hover { color: var(--primary); background: rgba(10,37,64,.05); }
.main-nav .caret { display:inline-block; width: 0; height: 0; margin-left: 6px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; vertical-align: middle; }
.sub-menu {
  display: block; opacity: 0; visibility: hidden; transform: translateY(8px);
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius-sm);
  padding: 8px; margin-top: 6px; transition: var(--transition);
  border: 1px solid var(--border); z-index: 10;
}
.has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li { position: relative; }
.sub-menu a { padding: 10px 14px; font-size: 14px; border-radius: 6px; color: var(--text-2); }
.sub-menu a:hover { background: var(--bg-alt); color: var(--primary); }
.sub-menu .sub-menu { top: 0; left: 100%; margin-top: 0; margin-left: 4px; }
.nav-cta > a { background:linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff !important; padding: 10px clamp(14px, 1.2vw, 20px); border-radius: 999px; font-weight: 600; box-shadow: 0 4px 14px rgba(245,158,11,.35); margin-left: 10px; }
.nav-cta > a:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,158,11,.45); color:#FF3!important; background:linear-gradient(135deg, var(--accent-2), var(--accent))!important}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO SLIDER 多张轮播
   ============================================================ */
/* ============================================================
   HERO SLIDER 全屏 Banner (自适应比例)
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* 核心：设定宽高比。如果你的图大多是 1920x800，这里写 1920/800 或者 24/10 */
  aspect-ratio: 24 / 10; 
  /* 最小高度，防止手机端太扁 */
  min-height: 400px; 
  overflow: hidden;
  color: #fff;
  background: #0a2540;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* 背景层 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a2540;
  background-image: var(--hero-bg, none), linear-gradient(135deg, #0a2540 0%, #103a63 60%, #1a4d80 100%);
  /* 使用 cover 确保填满设定的比例框架，如果图片比例和容器完全一致则完全不会裁切 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04); 
  animation: heroZoom 18s ease-out infinite alternate;
}

@keyframes heroZoom { 
  from { transform: scale(1.0); } 
  to { transform: scale(1.0); } 
}

/* 遮罩层 */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10,37,64, calc(var(--overlay-opacity) + 0.15)) 0%, rgba(10,37,64, var(--overlay-opacity)) 50%, rgba(10,37,64, calc(var(--overlay-opacity) + 0.1)) 100%);
  pointer-events: none;
}

/* 内容区 */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  animation: heroFadeUp 1s ease-out;
  width: 100%;
}

@keyframes heroFadeUp { 
  from { opacity: 0; transform: translateY(24px); } 
  to { opacity: 1; transform: translateY(0); } 
}

/* 文字样式 */
.hero-content h1,
.hero-content .slide-h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
  font-weight: 800;
}

.hero-content p {
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.6;
  opacity: .92;
  margin: 0 auto 34px;
  max-width: 720px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: clamp(12px, 1.2vw, 16px) clamp(26px, 2.4vw, 38px);
  font-size: clamp(14px, 1.05vw, 16px);
}

/* 底部数据条 */
.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  background:rgba(10,37,64,0.3);
  padding: clamp(20px, 2vw, 30px) 0;
  /*backdrop-filter: blur(4px);*/
}

.hero-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: clamp(16px, 2vw, 32px);
  text-align: center;
}

.hero-stats .num {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-stats .lbl {
  font-size: clamp(11px, .9vw, 13px);
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 6px;
}

/* 滑动指示器 & 箭头 */
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(90px, 10vh, 120px);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--accent);
  width: 50px;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.hero-nav:hover { background: rgba(255,255,255,.25); }
.hero-nav.prev { left: clamp(12px, 2vw, 32px); }
.hero-nav.next { right: clamp(12px, 2vw, 32px); }

/* 向下滚动提示 */
.hero-scroll {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px;
  z-index: 3; display: flex; justify-content: center; padding-top: 6px; transition: var(--transition);
}
.hero-scroll:hover { border-color: var(--accent); }
.hero-scroll span { display: block; width: 3px; height: 8px; background: rgba(255,255,255,.85); border-radius: 2px; animation: heroScrollDot 1.6s ease-in-out infinite; }
@keyframes heroScrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ============================================================
   响应式适配
   ============================================================ */
@media (max-width: 860px) {
  .hero-slider {
    aspect-ratio: 4 / 3; /* 手机端改为稍微方一点的 4:3，防止图片被裁掉太多 */
    min-height: 300px;
  }
  .hero-bg {
    background-image: var(--hero-bg-m, var(--hero-bg, none)), linear-gradient(135deg, #0a2540 0%, #103a63 60%, #1a4d80 100%);
  }
  .hero-nav { display: none; } /* 手机端隐藏左右箭头，手势滑动即可 */
  .hero-stats { display: none; } /* 手机端如果太挤，可以隐藏统计数据 */
}

/* PAGE BANNER 内页 */
.page-banner {
  position: relative; width: 100%; min-height: 60vh; min-height: 60svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: #fff; background: #0a2540; isolation: isolate;
  /*margin-bottom: clamp(28px, 3vw, 48px);*/
}
.page-banner-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #0a2540;
  background-image: var(--page-banner-bg, none), linear-gradient(135deg, #0a2540 0%, #103a63 60%, #1a4d80 100%);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
  transform: scale(1.0); animation: pageBannerZoom 20s ease-out infinite alternate;
}
@keyframes pageBannerZoom { from { transform: scale(1.00); } to { transform: scale(1.0); } }
.page-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,37,64, calc(var(--overlay-opacity) + 0.15)) 0%, rgba(10,37,64, var(--overlay-opacity)) 50%, rgba(10,37,64, calc(var(--overlay-opacity) + 0.1)) 100%);
  pointer-events: none;
}
.page-banner-content {
  position: relative; z-index: 2; text-align: center; max-width: 900px;
  padding: clamp(40px, 6vh, 80px) var(--page-pad); animation: pageBannerFade 0.9s ease-out;
}
@keyframes pageBannerFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.page-banner-content h1 { color: #fff; font-size: clamp(28px, 4vw, 52px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; font-weight: 800; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.page-banner-content p { font-size: clamp(14px, 1.3vw, 18px); opacity: .92; margin: 0 auto; max-width: 680px; line-height: 1.6; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.detail-subtitle { font-size: clamp(20px, 1.8vw, 26px); color: var(--primary); margin: 0 0 24px; }

/* BUTTONS */
.btn {
  display: inline-block; padding: clamp(11px, 1vw, 14px) clamp(22px, 2vw, 32px);
  border-radius: 999px; border: 0; cursor: pointer;
  font-size: clamp(14px, 1vw, 15px); font-weight: 600;
  transition: var(--transition); text-align: center; font-family: inherit;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 24px rgba(245,158,11,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,158,11,.45); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color:#fff; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-2); color:#fff; transform: translateY(-2px); }

/* SECTION */
.section { padding: var(--section-y) 0; }
.section.alt { background:#FFF; }
.section.news { background:#f8fafc;}
.section-head { text-align: center; margin-bottom: clamp(30px, 4vw, 56px); }
.section-head h2 { font-size: var(--title-2); margin: 0 0 12px; text-transform: uppercase;}
.section-head p { color: var(--muted); font-size: clamp(14px, 1.1vw, 16px); margin: 0 auto; max-width: 660px; }
.section-head::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 18px auto 0; }
.section-foot { text-align: center; margin-top: clamp(28px, 3vw, 48px); }

/* GRID */
.grid { display: grid; gap: var(--gap); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #FFFFFF; transition: var(--transition); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent;border: 1px solid #f9f9f9;}
.card-img { position: relative; overflow: hidden; aspect-ratio: 4/4; background: #FFF; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: clamp(16px, 1.4vw, 22px); flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: clamp(15px, 1.1vw, 17px); margin: 0 0 8px; line-height: 1.4; }
.card-body p { font-size: clamp(13px, .95vw, 14px); color: var(--muted); margin: 0; flex: 1; }
.card-body .card-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.card-body .card-link::after { content: ' →'; transition: var(--transition); }
.card:hover .card-body .card-link::after { margin-left: 4px; }
.card a { color: inherit; display: block; }
/* ============================================================
   列表页特定样式：产品 1:1，新闻/案例 4:3
   ============================================================ */

/* 产品列表：一行 4 个，图片 1:1 */
.type-product .card-img,
.type-list .card-img {
  aspect-ratio: 1 / 1 !important; 
}

/* 新闻和案例列表：一行 3 个，图片 4:3 */
.type-article .card-img,
.type-case .card-img {
  aspect-ratio: 5 / 3 !important;
}

/* 确保卡片内的图片撑满且不变形 */
.type-product .card-img img,
.type-list .card-img img,
.type-article .card-img img,
.type-case .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1200px) {
  .type-product.grid, .type-list.grid { grid-template-columns: repeat(4, 1fr); }
  .type-article.grid, .type-case.grid { grid-template-columns: repeat(3, 1fr); }
}

/* ABOUT */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 4vw, 60px); align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-badge { position: absolute; right: 20px; bottom: 20px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; display: flex; flex-direction: column; align-items: center; }
.about-badge .badge-num { font-size: 30px; font-weight: 800; line-height: 1; }
.about-badge .badge-txt { font-size: 12px; opacity: .95; margin-top: 4px; line-height: 1.2; }
.about-content .eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.about-content h2 { font-size: var(--title-2); margin: 0 0 18px; }
.about-content p { font-size: clamp(14px, 1.05vw, 16px); color: var(--text-2); margin: 0 0 22px; }
.about-points { list-style: none; padding: 0; margin: 0 0 28px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--text-2); }
.about-points svg { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
/* ============================================================
   关于我们（左图右文各 50%）
   ============================================================ */
.about-split-section {
  padding: 0;
  background: #f8fafc;
}
.about-split {
  display: flex;
  min-height: 600px;
}

/* 左侧图片区 */
.about-split-media {
  flex: 0 0 50%;       /* 核心：固定 50% 宽度 */
  width: 50%;
  position: relative;
  background: #e2e8f0;
}
.about-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧内容区 */
.about-split-content {
  flex: 0 0 50%;       /* 核心：固定 50% 宽度 */
  width: 50%;
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 80px) clamp(30px, 5vw, 80px);
}

.about-split-inner {
  max-width: 100%;     /* 允许撑满右侧容器 */
  width: 100%;
}
.about-split-inner h2 {
  font-size: clamp(28px, 3vw, 42px);
  color: #111;
  margin: 0 0 20px;
  font-weight: 700;
  text-transform: uppercase;
}
.about-split-inner .about-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 30px;
}

.about-divider {
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 30px;
}

.about-advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-advantages-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}
.about-advantages-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
}

/* 手机端：上下堆叠 */
@media (max-width: 860px) {
  .about-split {
    flex-direction: column;
    min-height: auto;
  }
  .about-split-media {
    flex: 0 0 auto;
    width: 100%;
    height: 320px;
  }
  .about-split-content {
    flex: 0 0 auto;
    width: 100%;
    padding: 40px 20px;
  }
}

/* ADVANTAGE */
.advantage-item { background: #fff; padding: clamp(22px, 2.2vw, 34px); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.advantage-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.advantage-icon { width: 62px; height: 62px; border-radius: 14px; background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(245,158,11,.05)); display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 18px; }
.advantage-icon img { width: 100%; height: 100%; object-fit: contain; }
.advantage-item h3 { font-size: clamp(16px, 1.15vw, 18px); margin: 0 0 8px; }
.advantage-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* INDUSTRY */
.industry-card { overflow: hidden; border-radius: var(--radius); }
.industry-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f1f5f9; }
.industry-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.industry-card:hover .industry-img img { transform: scale(1.08); }
.industry-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.9) 0%, rgba(10,37,64,.35) 55%, transparent 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.industry-overlay h3 { color: #fff; font-size: clamp(16px, 1.3vw, 20px); margin: 0 0 6px; }
.industry-overlay p { font-size: 13px; opacity: .85; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ============================================================
   工厂实力（左文右图滑动）
   ============================================================ */
.factory-slider-section {
  background-color: #eef4f3; /* 类似参考图的浅青色背景 */
  padding: clamp(60px, 8vw, 100px) 0;
}

.factory-slider-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.factory-slider-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  color: #111;
  margin: 0 0 10px;
  font-weight: 700; /* 标题稍微加粗 */
  text-transform:uppercase;
}
.factory-slider-head p {
  color: #555;
  font-size: 16px;
  margin: 0;
}

/* 滑动容器 */
.factory-slider-wrapper {
  /*max-width: 1200px;*/
  margin: 0 auto;
  position: relative;
}
.factory-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.factory-slider::-webkit-scrollbar { display: none; }

/* 单张卡片：左文右图 */
.factory-slide-item {
  flex: 0 0 100%; /* 每次展示 1 个 */
  scroll-snap-align: center;
  display: flex;
  background: #fff;
  min-height: 480px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

/* 左侧文字区 */
.fs-content {
  flex: 0 0 50%; /* 左侧占 40% */
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.fs-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  font-weight: 500;
}
.fs-content h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  color: #111;
  line-height: 1.4;
  margin: 0 0 30px;
  font-weight: 500;
}
.fs-link {
  font-size: 15px;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.fs-link:hover {
  opacity: 0.6;
}

/* 右侧图片区 */
.fs-image {
  flex: 0 0 60%; /* 右侧占 60% */
  overflow: hidden;
}
.fs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.factory-slide-item:hover .fs-image img {
  transform: scale(1.03);
}

/* 底部控制条 */
.fs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.fs-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: opacity 0.3s;
}
.fs-btn:hover { opacity: 0.5; }
.fs-counter {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  letter-spacing: 1px;
}

/* 平板/手机适配 */
@media (max-width: 860px) {
  .factory-slide-item {
    flex-direction: column-reverse; /* 手机端图片在上面，文字在下面 */
    min-height: auto;
  }
  .fs-content { padding: 30px 20px; }
  .fs-image {
    width: 100%;
    height: 300px;
  }
}

/* FACTORY */
.factory-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); }
.factory-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #f1f5f9; }
.factory-item.factory-large { grid-column: span 2; }
@media (max-width: 860px) { .factory-item.factory-large { grid-column: span 1; } }
.factory-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.factory-item:hover img { transform: scale(1.05); }
.factory-label { position: absolute; left: 16px; bottom: 16px; background: rgba(10,37,64,.75); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(6px); }

/* TESTIMONIAL */
.testimonial-card { background: #fff; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--radius); border: 1px solid var(--border); position: relative; transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quote-mark { position: absolute; top: 10px; right: 20px; font-size: 60px; line-height: 1; color: var(--accent); opacity: .15; font-family: Georgia, serif; }
.stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-content { font-size: 15px; line-height: 1.7; color: var(--text-2); margin: 0 0 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 15px; color: var(--primary); }
.testimonial-author span { display: block; font-size: 13px; color: var(--muted); }

/* CERT */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--gap); }
.cert-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); }
.cert-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.cert-item img { width: 100%; aspect-ratio: 3/4; object-fit: contain; margin-bottom: 12px; }
.cert-item span { display: block; font-size: 13px; color: var(--text-2); }

/* NEWS DATE / CASE TAG */
.news-date { display: inline-block; font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.case-tag { position: absolute; top: 14px; left: 14px; background: rgba(10,37,64,.85); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; backdrop-filter: blur(6px); }

/* BREADCRUMB */
/* ============ 面包屑（悬浮 Pill 风格） ============ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  /*width: fit-content;
  max-width: 100%;*/
  width:100%;
  margin: 0 0 50px;
  padding: 15px 0px;
  background:#f0f0f0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /*border-radius: 999px;*/
  box-shadow: 0 8px 24px rgba(10,37,64,.1), 0 1px 2px rgba(10,37,64,.05);
  font-size: 15px;
  color: var(--text-2);
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255,255,255,.6);
}

.breadcrumb a{
  color: var(--text-2);
  font-weight: 500;
  padding: 0px 0;
  transition: color .2s;
  text-decoration: none;
  height:20px;
  overflow:hidden;
  line-height:20px;
  display:inline-block;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .bc-home svg { color: var(--accent);}
.breadcrumb .bc-home span { margin-left: 2px; }
.breadcrumb .bc-sep {
  color: var(--text-2);
  font-size: 16px;
  font-weight: 600;
  padding:0 10px 10px 10px;
  height:20px;
  overflow:hidden;
  line-height:20px;
  display:inline-block;
}
.breadcrumb .bc-current {
  color: var(--primary);
  font-weight: 600;
  padding: 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
  height:20px;
  overflow:hidden;
  line-height:20px;
  display:inline-block;
}
@media (max-width: 860px) {
  .breadcrumb {
    margin: 0 auto 28px;
    padding: 8px 16px;
    font-size: 12px;
    gap: 6px;
  }
  .breadcrumb .bc-current { max-width: 180px; }
  .breadcrumb .bc-sep { font-size: 13px; }
}
@media (max-width: 480px) {
  .breadcrumb {
    border-radius: 14px;
    padding: 10px 14px;
    justify-content: center;
    text-align: center;
    margin: -20px auto 24px;
  }
}

/* CONTENT */
.content { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.8; color: var(--text-2); }
.content h2, .content h3 { margin-top: 1.5em; }
.content img { margin: 20px 0; border-radius: var(--radius-sm); }
.content p { margin: 0 0 1em; }

/* PRODUCT */
.product-detail { padding-bottom: 40px; }
.product-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; margin-bottom: 32px; }
.product-gallery img { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #f1f5f9; cursor: zoom-in; transition: var(--transition); width: 100%; }
.product-gallery img:hover { border-color: var(--accent); transform: scale(1.02); }
.product-params { background: var(--bg-alt); padding: clamp(18px, 2vw, 28px); border-radius: var(--radius); margin-bottom: 32px; }
.product-params h2 { font-size: clamp(17px, 1.5vw, 20px); margin: 0 0 16px; }
.product-params table { width: 100%; border-collapse: collapse; }
.product-params th, .product-params td { padding: 12px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.product-params tr:last-child th, .product-params tr:last-child td { border-bottom: 0; }
.product-params th { color: var(--primary); font-weight: 600; width: 30%; min-width: 120px; }
.product-content { margin-bottom: 30px; }
.product-content h2 { font-size: clamp(17px, 1.5vw, 20px); }

/* CONTACT / INQUIRY */
.contact-wrap, .inquiry-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 3vw, 44px); padding: 20px 0 60px; }
.contact-info { background: var(--bg-alt); padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); }
.contact-info ul { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-info li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.contact-info li:last-child { border-bottom: 0; }
.contact-info strong { color: var(--primary); display: inline-block; min-width: 90px; }
.contact-form, .inquiry-form-wrap { background: #fff; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.inquiry-form label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; margin-top: 6px; font-family: inherit; transition: var(--transition); background: #fff; color: var(--text); }
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
.inquiry-form button { width: 100%; margin-top: 8px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert.ok { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.alert.err { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }

/* FOOTER */
.site-footer { background: var(--primary); color: #cbd5e1; margin-top:0px; }
/* 首页页脚去掉顶部间距 */
.footer-home {
  margin-top:-30px !important;
}
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 44px); padding: clamp(40px, 5vw, 68px) var(--page-pad) clamp(28px, 3vw, 44px); max-width: var(--page-max); margin: 0 auto; }
.site-footer h3 { color: #fff; font-size: clamp(18px, 1.6vw, 22px); margin: 0 0 14px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--accent); }
.footer-desc { font-size: 14px; color: #94a3b8; margin: 0 0 20px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { padding: 6px 0; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { opacity: .7; flex-shrink: 0; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { padding: 5px 0; font-size: 14px; }
.footer-bottom { background: rgba(0,0,0,.2); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 13px; color: #94a3b8; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; }

/* PAGINATION */
.pagination { margin: 46px 0 20px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-2); font-weight: 500; background: #fff; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* CTA */
/* ============================================================
   CTA 底部引导（渐变全宽）
   ============================================================ */
.cta-gradient-section {
  /* 背景渐变色：参考图是从左蓝到右粉紫 */
  background: linear-gradient(90deg, #7b9ec6 0%, #9a6faf 50%, #c44f82 100%);
  padding:50px 0;
  width: 100%;
  margin-top:100px;
}

.cta-gradient-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 左侧文字 */
.cta-gradient-text {
  max-width: 700px;
}
.cta-gradient-text h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; /* 粗体 */
  margin: 0 0 10px;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform:uppercase;
}
.cta-gradient-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.5vw, 20px);
  margin: 0;
}

/* 右侧按钮区 */
.cta-gradient-action {
  flex-shrink: 0;
}

/* 亮黄色胶囊按钮 */
.cta-yellow-btn {
  display: inline-block;
  background: #fde047; /* 亮黄色 */
  color: #111111;      /* 黑色文字 */
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 999px; /* 胶囊形状 */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.cta-yellow-btn:hover {
  background: #facc15; /* 悬停稍微加深 */
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 响应式：手机端上下堆叠 */
@media (max-width: 860px) {
  .cta-gradient-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .cta-gradient-text {
    max-width: 100%;
  }
}

/* BACK TO TOP */
.back-to-top { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; border: 0; cursor: pointer; font-size: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 90; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 1080px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); border-top: 1px solid var(--border); max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .main-nav a { padding: 14px 20px; border-radius: 0; white-space: normal; }
  .sub-menu { opacity: 1 !important; visibility: visible !important; transform: none !important; position: static; box-shadow: none; padding: 0 0 0 20px; margin: 0; border: 0; min-width: 0; display: none; }
  .has-sub.opened > .sub-menu { display: block; }
  .sub-menu a { padding: 10px 20px; }
  .nav-cta { padding: 14px 20px; }
  .nav-cta > a { margin-left: 0; display: inline-block; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-fullscreen { min-height: 90vh; min-height: 90svh; }
  .hero-bg { background-image: var(--hero-bg-m, var(--hero-bg, none)), linear-gradient(135deg, #0a2540 0%, #103a63 60%, #1a4d80 100%); }
  .hero-content { padding-top: 80px; padding-bottom: 140px; }
  .hero-stats { padding-bottom: 70px; }
  .page-banner { min-height: 48vh; min-height: 48svh; }
  .page-banner-bg { background-image: var(--page-banner-bg-m, var(--page-banner-bg, none)), linear-gradient(135deg, #0a2540 0%, #103a63 60%, #1a4d80 100%); }
}
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
/* ============================================================
   产品详情：图册 + 侧栏询盘
   ============================================================ */
.product-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(28px, 4vw, 60px);
  align-items: flex-start;
  margin-bottom: 48px;
}
.product-media { position: sticky; top: 100px; }
.product-main-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--border);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.product-main-img img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
}
.product-thumbs .pt {
  padding: 0; border: 2px solid var(--border); border-radius: 8px;
  background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 1/1;
  transition: var(--transition);
}
.product-thumbs .pt img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs .pt:hover,
.product-thumbs .pt.active { border-color: var(--accent); }

.product-info h1 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 14px;
  line-height: 1.25;
}
.product-summary {
  font-size: 15px;
  color: var(--text-2);
  margin: 0 0 20px;
}
.product-quick-params {
  list-style: none; padding: 16px 0 0; margin: 0 0 22px;
  border-top: 1px solid var(--border);
}
.product-quick-params li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-2);
}
.product-quick-params strong { color: var(--primary); }
.product-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.product-inquiry {
  background: var(--bg-alt);
  padding: clamp(18px, 2vw, 28px);
  border-radius:10px;/* var(--radius)*/
  border: 1px solid var(--border);
}
.product-inquiry h3 {
  font-size: 18px;
  margin: 0 0 18px;
}
.product-inquiry .form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .product-inquiry .form-2 { grid-template-columns: 1fr; }
}

.product-tabs {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.wa-float {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(78px, 9vw, 90px);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 99;
  transition: var(--transition);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); color: #fff; }

/* 型号 */
.product-model { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.product-model strong { color: var(--primary); }

/* 询盘产品卡 */
.inquiry-product-card {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 16px;
}
.inquiry-product-card img {
  width: 60px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.inquiry-product-card strong { display: block; font-size: 14px; color: var(--primary); }
.inquiry-product-card span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 在线询盘页：多产品选择 */
.inquiry-page-wrap { padding: 0 0 60px; /*max-width: 960px;*/ margin: 0 auto; }
.inquiry-form-large { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.inquiry-step { margin-bottom: 34px; }
.inquiry-step h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; margin: 0 0 18px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700;
}
.product-picker { max-height: 480px; overflow-y: auto; padding: 4px; border: 1px solid var(--border); border-radius: 8px; }
.picker-group { border-bottom: 1px dashed var(--border); padding: 12px 8px; }
.picker-group:last-child { border-bottom: 0; }
.picker-group-title { font-weight: 700; color: var(--primary); font-size: 14px; margin-bottom: 10px; }
.picker-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 10px;
}
.picker-item { cursor: pointer; display: block; }
.picker-item input { display: none; }
.picker-card {
  position: relative; display: flex; gap: 10px; align-items: center;
  border: 2px solid var(--border); border-radius: 10px; padding: 8px 10px;
  background: #fff; transition: var(--transition);
}
.picker-card:hover { border-color: #cbd5e1; }
.picker-card img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.picker-info strong { display: block; font-size: 13px; color: var(--text); line-height: 1.3; }
.picker-info span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.picker-check {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.picker-item input:checked + .picker-card { border-color: var(--accent); background: #fffbeb; }
.picker-item input:checked + .picker-card .picker-check { display: flex; }
.picker-hint { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.picker-hint a { color: var(--accent); margin-left: 8px; }
.inquiry-actions { text-align: right; padding-top: 10px; border-top: 1px solid var(--border); }
.inquiry-actions .btn { padding: 14px 40px; font-size: 16px; }

/* 首页：产品分类目录样式 */
.cat-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--gap);
}
.cat-tile {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-tile::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
  transform: scaleY(0); transform-origin: center; transition: transform .3s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-tile:hover::before { transform: scaleY(1); }
.cat-tile-img {
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: 12px; overflow: hidden; background: #f1f5f9;
}
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover .cat-tile-img img { transform: scale(1.08); }
.cat-tile-info { flex: 1; min-width: 0; }
.cat-tile-info h3 { font-size: 17px; margin: 0 0 4px; color: var(--primary); }
.cat-tile-info p { font-size: 13px; color: var(--muted); margin: 0; }
.cat-tile-arrow {
  font-size: 22px; color: var(--accent); flex-shrink: 0;
  transition: transform .3s ease;
}
.cat-tile:hover .cat-tile-arrow { transform: translateX(6px); }

@media (max-width: 560px) {
  .cat-tile { padding: 12px 16px; gap: 12px; }
  .cat-tile-img { width: 64px; height: 64px; }
  .cat-tile-info h3 { font-size: 15px; }
  .cat-tile-info p { font-size: 12px; }
}
.related-products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-products h2 {
  font-size: clamp(20px, 1.8vw, 26px);
  margin: 0 0 24px;
}
.rp-model { font-size: 12px; color: var(--accent); margin-top: -4px; }
/* 语言切换 */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 14px;
}
.nav-lang a {
  color: var(--text-2);
  font-weight: 500;
  padding: 4px 0;
  transition: var(--transition);
}
.nav-lang a:hover { color: var(--primary); }
.nav-lang a.active {
  color: var(--accent);
  font-weight: 700;
}
.nav-lang span { color: #cbd5e1; font-size: 12px; }

@media (max-width: 860px) {
  .nav-lang { padding: 14px 20px; justify-content: center; border-top: 1px solid var(--border); }
}
/* FAQ */
/* ============================================================
   产品详情页 - FAQ (高级卡片式)
   ============================================================ */
.product-faq {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* 标题带图标 */
.faq-main-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--primary);
  margin: 0 0 30px;
}

/* 列表容器 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 卡片项 */
.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(245,158,11,0.1);
}

/* 提问行 */
.faq-item summary {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* Q 图标 */
.faq-icon-q {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fffbeb;
  color: #f59e0b;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 16px;
}

/* 问题文字 */
.faq-question-text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

/* 右侧箭头（旋转动画） */
.faq-arrow {
  color: #94a3b8;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}
.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

/* 答案行 */
.faq-answer {
  display: flex;
  padding: 0 24px 24px 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  animation: fadeInDown 0.3s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* A 图标 */
.faq-icon-a {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0fdf4;
  color: #22c55e;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 16px;
  margin-top: 2px;
}

/* 答案文字 */
.faq-answer-text {
  flex: 1;
}
.product-downloads {
  margin: 20px 0 24px;
  padding: 16px 20px;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
}
.product-downloads h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #b45309;
}
.product-downloads ul { list-style: none; padding: 0; margin: 0; }
.product-downloads li { margin-bottom: 8px; }
.product-downloads li:last-child { margin-bottom: 0; }
.product-downloads a {
  display: flex; align-items: center; gap: 8px;
  color: #0a2540; font-size: 14px; font-weight: 500;
}
.product-downloads a:hover { color: #b45309; }
.product-downloads a em {
  margin-left: auto;
  color: #94a3b8;
  font-style: normal;
  font-size: 12px;
}

.cat-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cat-filter-bar a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.cat-filter-bar a:hover { border-color: var(--accent); color: var(--accent); }
.cat-filter-bar a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.card-model {
  font-size: 12px !important;
  color: var(--accent) !important;
  margin-top: -4px !important;
  margin-bottom: 6px !important;
}

.empty-tip {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 15px;
}
/* 询盘多产品选择增强 */
.picker-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.picker-search {
  flex: 1;
  min-width: 200px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: var(--transition);
}
.picker-search:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,158,11,.12);
}
.picker-btn {
  padding: 0 18px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.picker-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ========== 页头搜索按钮 ========== */
.nav-search {
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.search-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.search-toggle:hover {
  background: rgba(10,37,64,.06);
  color: var(--primary);
}

/* ========== 搜索弹层 ========== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,37,64,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-panel {
  width: min(90%, 720px);
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  position: relative;
  transform: translateY(-20px) scale(.98);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.search-overlay.open .search-panel {
  transform: translateY(0) scale(1);
}
.search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.search-close:hover { background: #e2e8f0; }

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 6px 6px 6px 18px;
  transition: var(--transition);
}
.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,158,11,.12);
}
.search-form .search-ico {
  color: var(--muted);
  flex-shrink: 0;
}
.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  height: 46px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}
.search-form button {
  height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a2540, #1a4d80);
  color: #fff;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.search-form button:hover {
  background: linear-gradient(135deg, #103a63, #0a2540);
  transform: translateY(-1px);
}

.search-tips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.search-tips a {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--text-2);
  border: 1px solid var(--border);
  font-size: 13px;
  transition: var(--transition);
}
.search-tips a:hover {
  background: #fffbeb;
  border-color: var(--accent);
  color: #b45309;
}

@media (max-width: 860px) {
  .nav-search { display: none; }
  .search-overlay { padding-top: 8vh; }
  .search-panel { padding: 24px; }
  .search-form input { font-size: 15px; }
}
/* ========== 搜索结果页 ========== */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.search-result-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.sr-thumb {
  width: 90px; height: 90px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sr-info { flex: 1; min-width: 0; }
.sr-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  background: #fffbeb;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.sr-info h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--primary);
  line-height: 1.35;
}
.sr-model {
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 4px;
}
.sr-sum {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-arrow {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s;
}
.search-result-item:hover .sr-arrow { transform: translateX(6px); }

@media (max-width: 560px) {
  .search-result-item { padding: 12px; gap: 12px; }
  .sr-thumb { width: 64px; height: 64px; }
  .sr-info h3 { font-size: 14px; }
  .sr-sum { -webkit-line-clamp: 2; font-size: 12px; }
}
/* 搜索结果类型筛选 */
.search-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.search-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.search-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.search-tabs a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.search-tabs .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 12px;
  font-weight: 600;
}
.search-tabs a:not(.active) .tab-count {
  background: #f1f5f9;
  color: var(--text-2);
}
.product-applications {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
  font-size: 13px;
}
.product-applications strong { color: var(--muted); font-weight: 500; }
.app-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 500;
}
/* 应用行业：左大右二 */
.ind-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: clamp(420px, 48vw, 620px);
}
.ind-big {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  background: #f1f5f9;
}
.ind-small-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.ind-small {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  background: #f1f5f9;
}
.ind-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.ind-mosaic a:hover img { transform: scale(1.06); }
.ind-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,.92) 0%, rgba(10,37,64,.35) 60%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.ind-big .ind-overlay { padding: 36px; }
.ind-overlay h3 {
  color: #fff;
  font-size: clamp(18px, 1.6vw, 26px);
  margin: 0 0 8px;
  line-height: 1.25;
}
.ind-small .ind-overlay h3 { font-size: clamp(15px, 1.2vw, 18px); }
.ind-overlay p {
  font-size: 13px;
  opacity: .85;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ind-arrow {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 20px;
  transition: transform .3s;
}
.ind-big:hover .ind-arrow { transform: translateX(6px); }

@media (max-width: 860px) {
  .ind-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .ind-big { grid-row: auto; aspect-ratio: 4/3; }
  .ind-small-col {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ind-small { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .ind-small-col { grid-template-columns: 1fr; }
}
/* 工厂：马赛克拼图 */
.factory-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.factory-mosaic .fm-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f1f5f9;
}
.factory-mosaic .fm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.factory-mosaic .fm-item:hover img { transform: scale(1.05); }

/* 第 1 张：左大，占 2 列 2 行 */
.factory-mosaic .fm-pos-0 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
/* 第 2、3 张：右侧第 3 列上下 */
.factory-mosaic .fm-pos-1 { grid-column: 3; grid-row: 1; }
.factory-mosaic .fm-pos-2 { grid-column: 3; grid-row: 2; }
/* 第 4、5 张：右侧第 4 列上下 */
.factory-mosaic .fm-pos-3 { grid-column: 4; grid-row: 1; }
.factory-mosaic .fm-pos-4 { grid-column: 4; grid-row: 2; }
/* 第 6 张：下方通栏宽，占满剩余 */
.factory-mosaic .fm-pos-5 {
  grid-column: 1 / 5;
  grid-row: 3;
  height: 220px;
}

/* 只有 3 张图时：左大 + 右侧 2 张 */
.factory-mosaic:has(.fm-pos-2):not(:has(.fm-pos-3)) {
  grid-template-rows: 220px 220px;
}
.factory-mosaic:has(.fm-pos-2):not(:has(.fm-pos-3)) .fm-pos-0 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.factory-mosaic:has(.fm-pos-2):not(:has(.fm-pos-3)) .fm-pos-1 {
  grid-column: 3 / 5;
  grid-row: 1;
}
.factory-mosaic:has(.fm-pos-2):not(:has(.fm-pos-3)) .fm-pos-2 {
  grid-column: 3 / 5;
  grid-row: 2;
}

.factory-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(10,37,64,.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
  .factory-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
  }
  .factory-mosaic .fm-pos-0 { grid-column: 1 / 3; grid-row: 1; }
  .factory-mosaic .fm-pos-1 { grid-column: 1; grid-row: 2; }
  .factory-mosaic .fm-pos-2 { grid-column: 2; grid-row: 2; }
  .factory-mosaic .fm-pos-3 { grid-column: 1; grid-row: 3; }
  .factory-mosaic .fm-pos-4 { grid-column: 2; grid-row: 3; }
  .factory-mosaic .fm-pos-5 { grid-column: 1 / 3; grid-row: 4; }
}
@media (max-width: 560px) {
  .factory-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .factory-mosaic .fm-item { aspect-ratio: 4/3; }
  .factory-mosaic .fm-pos-0,
  .factory-mosaic .fm-pos-1,
  .factory-mosaic .fm-pos-2,
  .factory-mosaic .fm-pos-3,
  .factory-mosaic .fm-pos-4,
  .factory-mosaic .fm-pos-5 { grid-column: auto; grid-row: auto; height: auto; }
}
/* ============================================================
   为什么选我们（背景 + 悬浮卡片）
   ============================================================ */
.why-services {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.why-services-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(10,37,64,.75) 100%);
  z-index: 1;
}
.why-services-inner {
  position: relative;
  z-index: 2;
}
.why-services-head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.why-services-head h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 14px;
  line-height: 1.2;
  text-transform: uppercase;
}
.why-services-head p {
  color: rgba(255,255,255,.75);
  font-size: clamp(14px, 1.1vw, 16px);
  margin: 0 auto;
  max-width: 640px;
}

/* 卡片网格：等宽 4 列 */
.why-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

/* 卡片 */
.service-card {
  background: #fff;
  padding: clamp(32px, 3.5vw, 52px) clamp(20px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  min-height: 340px;
  border-radius:10px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* 线性图标 */
.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: clamp(24px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a2540;
}
.service-icon svg,
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.service-icon span {
  font-size: 56px;
  line-height: 1;
  color: #0a2540;
}

.service-card h3 {
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.4;
}

.service-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 auto;
  flex: 1;
  padding-bottom: 20px;
}

.service-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #111;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s ease;
  margin-top: 8px;
}
.service-btn:hover {
  background: #111;
  color: #fff;
}

/* 响应式 */
@media (max-width: 1080px) {
  .why-services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-services { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .why-services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 30px 20px; }
  .why-services { padding: 60px 0; }
}
/* ============================================================
   产品分类（全屏左右分屏，无底色、无标题）
   ============================================================ */
.category-fullscreen-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  background: #0a2540; /* 占位底色 */
}

.category-slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.category-slider {
  display: flex;
  gap: 0; /* 无缝拼接 */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 70vh; /* 控制这块区域的高度，可按需调整，参考图看起来是一屏高度 */
  min-height: 500px;
}
.category-slider::-webkit-scrollbar {
  display: none;
}

/* 单个分类卡片 */
.category-slide-item {
  flex: 0 0 50%; /* 桌面端：每个占 50% */
  scroll-snap-align: start;
  position: relative;
  height: 100%;
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.category-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}
.category-slide-item:hover img {
  transform: scale(1.05);
}

/* 居中文字内容 */
.cat-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 20px;
  background: rgba(0,0,0,0.15); /* 极淡的遮罩，让白色文字更清晰 */
  transition: background 0.3s;
}
.category-slide-item:hover .cat-slide-content {
  background: rgba(0,0,0,0.3);
}

.cat-slide-content h3 {
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  margin: 0 0 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cat-slide-content p {
  color: rgba(255,255,255,.9);
  font-size: clamp(14px, 1.2vw, 18px);
  margin: 0 0 30px;
  max-width: 420px;
  line-height: 1.6;
}

.cat-slide-btn {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid #fff;
  transition: all .3s ease;
}
.category-slide-item:hover .cat-slide-btn {
  opacity: 0.8;
  letter-spacing: 2px;
}

/* 左右滑动箭头 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all .3s ease;
}
.slider-arrow:hover {
  background: #fff;
  color: #0a2540;
}
.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* 响应式：手机端每次 1 个 */
@media (max-width: 860px) {
  .category-slider {
    height: 60vh;
    min-height: 400px;
  }
  .category-slide-item {
    flex: 0 0 100%;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .slider-arrow.prev { left: 15px; }
  .slider-arrow.next { right: 15px; }
}
/* ============================================================
   询盘页产品选择弹窗
   ============================================================ */

/* 已选区 */
.selected-products-area {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 16px;
  min-height: 80px;
}
.empty-selected {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}
/* 已选产品列表 */
.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.selected-tag-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  width: calc(50% - 6px); /* PC端一行两个 */
  transition: var(--transition);
}
.selected-tag-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.st-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
}
.st-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.st-info {
  flex: 1;
  min-width: 0;
}
.st-info strong {
  display: block;
  font-size: 14px;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.st-info span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.selected-tag-item .remove-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #fee2e2;
  border: 0;
  color: #ef4444;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.selected-tag-item .remove-tag:hover {
  background: #fca5a5;
  color: #991b1b;
}

@media (max-width: 600px) {
  .selected-tag-item { width: 100%; }
}

/* 弹窗遮罩 */
.picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,37,64,.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.picker-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 弹窗主体 */
.picker-modal-content {
  width: min(90%, 900px);
  height: 85vh;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.picker-overlay.open .picker-modal-content {
  transform: translateY(0);
}

/* 头部 */
.picker-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.picker-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.picker-close {
  background: #f1f5f9;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  transition: background .2s;
}
.picker-close:hover { background: #e2e8f0; }

/* 搜索条 */
.picker-search-bar {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
}
.picker-search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: 0;
}

/* 滚动内容区 */
.picker-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.picker-group { margin-bottom: 30px; }
.picker-group-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 3px solid var(--accent);
}
.picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

/* 单个产品卡片 */
.picker-item { cursor: pointer; display: block; }
.picker-item input { display: none; }
.picker-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: all .2s;
  position: relative;
}
.picker-card:hover { border-color: #cbd5e1; background: #f8fafc; }
.picker-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f1f5f9;
}
.picker-info { flex: 1; min-width: 0; }
.picker-info strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.picker-model { font-size: 12px; color: var(--muted); }

/* 自定义复选框 UI */
.picker-checkbox-ui {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all .2s;
}
.picker-item input:checked + .picker-card {
  border-color: var(--accent);
  background: #fffbeb;
}
.picker-item input:checked + .picker-card .picker-checkbox-ui {
  background: var(--accent);
  border-color: var(--accent);
}
.picker-item input:checked + .picker-card .picker-checkbox-ui::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

/* 底部 */
.picker-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.picker-footer span { font-size: 14px; color: #555; }
.picker-footer strong { color: var(--accent); font-size: 18px; margin: 0 4px; }

@media (max-width: 600px) {
  .picker-modal-content { height: 95vh; width: 100%; border-radius: 16px 16px 0 0; margin-top: auto; }
  .picker-grid { grid-template-columns: 1fr; }
}
/* 自定义 Toast 提示 */
.custom-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #10b981; /* 默认绿色 */
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.custom-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.custom-toast.error {
  background: #ef4444;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.article-layout {
  padding-top: 20px;
  padding-bottom: 60px;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* 主内容区 */
.article-main { min-width: 0; }
.article-header { margin-bottom: 30px; }
.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(24px, 3vw, 36px);
  color: #111;
  line-height: 1.3;
  margin: 0 0 20px;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.article-share a {
  color: #888;
  transition: color .2s;
}
.article-share a:hover { color: var(--accent); }

.article-cover {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.article-body h2, .article-body h3 { margin-top: 1.5em; margin-bottom: 0.5em; color: #111; }
.article-body p { margin-bottom: 1.2em; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; padding-left: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.article-body th, .article-body td { border: 1px solid #e5e7eb; padding: 10px; text-align: left; }
.article-body th { background: #f8fafc; }

/* 上下篇 */
.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  gap: 20px;
}
.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  max-width: 45%;
}
.article-nav-item.disabled { color: #ccc; font-size: 14px; }
.article-nav-item.right { text-align: right; align-self: flex-end; }
.article-nav-item .nav-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.article-nav-item .nav-title {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav-item.next { text-align: right; }
.article-nav-item.next .nav-title { align-self: flex-end; }
.article-nav-item:hover .nav-title { color: var(--accent); }

/* 侧边栏 */
.article-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #eef0f3;
}
.sidebar-widget h3 {
  font-size: 16px;
  color: #111;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f59e0b;
  display: inline-block;
}
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { margin-bottom: 8px; }
.sidebar-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #555;
  border-radius: 8px;
  background: #f8fafc;
  text-decoration: none;
  transition: all .2s;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  background: #0a2540;
  color: #fff;
}

/* 侧边栏产品横向滚动 */
.sidebar-products-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.sidebar-products-scroll::-webkit-scrollbar { height: 4px; }
.sidebar-products-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.sp-card {
  flex: 0 0 calc(50% - 6px); /* 一屏显示 2 个，如果想一屏 4 个就写 25% */
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}
.sp-img {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 8px;
}
.sp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sp-card:hover .sp-img img { transform: scale(1.05); }
.sp-name {
  font-size: 13px;
  color: #111;

  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 新闻详情页 - 相关阅读 */
.related-reading {
  margin-top: 50px;
  margin-bottom: 30px;
  padding-top: 30px;
  border-top: 1px dashed #e5e7eb;
}
.related-reading h3 {
  font-size: 20px;
  color: #111;
  margin-bottom: 20px;
}
.related-reading-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rr-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.rr-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  border-color: transparent;
}
.rr-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}
.rr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.rr-item:hover .rr-img img {
  transform: scale(1.05);
}
.rr-info {
  padding: 12px;
}
.rr-info h4 {
  font-size: 14px;
  color: #111;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rr-date {
  font-size: 12px;
  color: #888;
}

@media (max-width: 860px) {
  .related-reading-list { grid-template-columns: 1fr; }
}
/* 产品详情 - Key Takeaways */
.product-takeaways {
  background: #f0fdf4; /* 极淡的绿色背景，表示“通过/核心” */
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.tk-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #166534;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
}
.product-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-takeaways li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
.product-takeaways li:last-child {
  margin-bottom: 0;
}
.product-takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}
.product-takeaways strong {
  color: #166534;
}
/* AEO 速读摘要框 */
.aeo-summary-box {
  background: #f0fdf4; /* 柔和的护眼绿 */
  border-left: 4px solid #22c55e;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 30px;
}
.aeo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #166534;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.aeo-summary-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  font-weight: 500;
}
/* 视频播放按钮角标 */
.product-thumbs .pt-video {
  position: relative;
}
.product-thumbs .pt-video .video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: rgba(220, 38, 38, 0.9);
  border-radius: 50%;
  border: 2px solid #fff;
}
.product-thumbs .pt-video .video-play-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}