/* ==========================================================================
   东越纺织 dongyue_v2 · 全站样式（单文件，含响应式）
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-deep: #173f8f;
  --brand-soft: #eff6ff;
  --brand-line: #bfdbfe;
  --ink: #1e293b;
  --ink-2: #64748b;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-deep: #0f172a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-brand: 0 8px 22px rgba(37, 99, 235, .22);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.35; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ---------- 布局 ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: block; clear: both; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }

/* ---------- 区块标题 ---------- */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en {
  display: block;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.sec-head h2 { font-size: 30px; color: var(--ink); letter-spacing: 2px; }
.sec-head h2 b { color: var(--brand); }
.sec-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  margin: 14px auto 0;
}

/* ---------- 顶部条 ---------- */
.top-bar { background: #f1f5f9; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.top-bar a { color: var(--ink-2); }
.top-bar .hot { display: flex; align-items: center; gap: 6px; }
.top-bar .hot svg { width: 14px; height: 14px; fill: var(--brand); }
.top-bar .hot b { color: var(--brand); font-weight: 700; letter-spacing: .5px; }

/* ---------- 站点头部 ---------- */
.site-header { position: relative; z-index: 100; background: var(--bg); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { max-height: 58px; width: auto; }
.logo .brand { display: flex; flex-direction: column; }
.logo .brand .cn { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.logo .brand .cn b { color: var(--brand); }
.logo .brand .en { font-size: 11px; letter-spacing: 2.5px; color: var(--ink-3); text-transform: uppercase; }
.logo .tagline { font-size: 12px; color: var(--ink-2); border-left: 1px solid var(--line); padding-left: 16px; margin-left: 4px; line-height: 1.8; }
.logo .tagline b { color: var(--brand); }

/* 导航条 */
.nav-bar { background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, #3b82f6); box-shadow: 0 2px 12px rgba(37, 99, 235, .25); }
.nav-bar .container { display: flex; align-items: center; }
.main-nav { display: flex; flex: 1; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 16px 30px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  letter-spacing: 1.5px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.main-nav > li:first-child > a { border-left: 0; }
.main-nav > li > a:hover,
.main-nav > li.active > a,
.main-nav > li.cur > a { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-more { margin-left: auto; color: rgba(255, 255, 255, .8); font-size: 13px; }
.nav-more a { color: rgba(255, 255, 255, .85); }
.nav-more a:hover { color: #fff; }

/* 汉堡（移动端） */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  line-height: 44px;
  text-align: center;
  margin-left: auto;
  box-shadow: var(--shadow-brand);
}

/* ---------- 全屏菜单（移动端） ---------- */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 70%, #3b82f6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s ease, visibility .32s ease;
}
.nav-panel.open { transform: none; visibility: visible; }
.nav-panel .np-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
}
.nav-panel .np-home {
  position: absolute;
  top: 20px; left: 20px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.nav-panel .np-home svg { width: 16px; height: 16px; fill: rgba(255,255,255,.7); }
.nav-panel .np-list { width: 100%; max-width: 360px; padding: 0 24px; }
.nav-panel .np-list a {
  display: block;
  text-align: center;
  padding: 15px 0;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.nav-panel .np-list a:hover,
.nav-panel .np-list a.cur,
.nav-panel .np-list a.active { background: #fff; color: var(--brand-deep); }
.nav-panel .np-contact { margin-top: 22px; color: rgba(255, 255, 255, .75); font-size: 13px; text-align: center; letter-spacing: 1px; }
.nav-panel .np-contact b { color: #fff; font-size: 16px; }

/* ---------- Banner 轮播 ---------- */
.hero { position: relative; height: 480px; overflow: hidden; background: #e8eef7; }
.hero .slides { position: relative; height: 100%; }
.hero .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  background-size: cover;
  background-position: center center;
}
.hero .slide.on { opacity: 1; z-index: 1; }
.hero .slide a { display: block; height: 100%; }
.hero .arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, .35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
}
.hero:hover .arrow { opacity: 1; }
.hero .arrow:hover { background: rgba(37, 99, 235, .9); }
.hero .arrow svg { width: 22px; height: 22px; fill: #fff; }
.hero .arrow.prev { left: 24px; }
.hero .arrow.next { right: 24px; }
.hero .dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 8px;
}
.hero .dots i {
  width: 26px; height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.hero .dots i.on { background: var(--brand); width: 38px; }

/* ---------- 合作伙伴 ---------- */
.partners { text-align: center; }
.partners-scroll { position: relative; }
.partners .grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.partners .grid::-webkit-scrollbar { display: none; }
.partners .grid li {
  flex-shrink: 0;
  width: 230px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.partners .grid li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.partners .grid li a { display: block; }
.partners .grid li .swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0 14px;
  box-sizing: border-box;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px),
    radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.18) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.30) 100%);
}
.partners .grid li .swatch .name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.16);
  white-space: nowrap;
}
.partners .grid li:nth-child(1) .swatch { background-color: #3B5B92; }
.partners .grid li:nth-child(2) .swatch { background-color: #4A6FA5; }
.partners .grid li:nth-child(3) .swatch { background-color: #5B7FA8; }
.partners .grid li:nth-child(4) .swatch { background-color: #4E8AA8; }
.partners .grid li:nth-child(5) .swatch { background-color: #6B8FA8; }
.partners .grid li:nth-child(6) .swatch { background-color: #9AA5AD; }
.partners .grid li:nth-child(7) .swatch { background-color: #5A6066; }
.partners .grid li:nth-child(8) .swatch { background-color: #7A8086; }
.partners .grid li:nth-child(9) .swatch { background-color: #8A827A; }
.partners .grid li:nth-child(10) .swatch { background-color: #B8AE9C; }
.partners .grid li:nth-child(11) .swatch { background-color: #A89B82; }
.partners .grid li:nth-child(12) .swatch { background-color: #9C9078; }
.partners .grid li:nth-child(13) .swatch { background-color: #7C93A3; }
.partners .grid li:nth-child(14) .swatch { background-color: #3E4A5A; }
.partners .grid li:nth-child(15) .swatch { background-color: #4E6B5A; }
.partners .grid li:nth-child(16) .swatch { background-color: #9A6B52; }
.partners .grid li:nth-child(17) .swatch { background-color: #6A7468; }
.partners .grid li:nth-child(18) .swatch { background-color: #D8CFC0; }
.partners .grid li:nth-child(n+19) .swatch { background-color: #7C93A3; }
.partners .scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, box-shadow .2s ease;
}
.partners .scroll-btn:hover { background: var(--brand); box-shadow: var(--shadow-md); }
.partners .scroll-btn::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
}
.partners .scroll-btn.prev { left: -20px; }
.partners .scroll-btn.prev::before { transform: rotate(45deg); }
.partners .scroll-btn.next { right: -20px; }
.partners .scroll-btn.next::before { transform: rotate(225deg); }
.partners .scroll-btn:hover::before { border-color: #fff; }

/* ---------- 产品中心 ---------- */
.prod .layout { display: flex; gap: 28px; }
.prod .cats { width: 230px; flex-shrink: 0; }
.prod .cats .box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.prod .cats .box .title {
  padding: 16px 20px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  color: #fff;
}
.prod .cats .box .title h3 { font-size: 17px; letter-spacing: 1px; }
.prod .cats .box .title span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; }
.prod .cats .list { padding: 10px 0; max-height: 430px; overflow: hidden; transition: max-height .3s ease; }
.prod .cats .list.expanded { max-height: none; }
.prod .cats .list a {
  display: block;
  padding: 11px 20px;
  color: var(--ink-2);
  font-size: 14px;
  border-left: 3px solid transparent;
}
.prod .cats .list a:hover,
.prod .cats .list a.cur { color: var(--brand); background: var(--brand-soft); border-left-color: var(--brand); }
.prod .cats .toggle {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: var(--brand);
  border-top: 1px dashed var(--line);
  background: #fff;
}
.prod .tabs { flex: 1; min-width: 0; }
.prod .tabs .tab-head {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--brand-line);
  margin-bottom: 22px;
}
.prod .tabs .tab-head .tab-btn {
  position: relative;
  padding: 12px 22px;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: 1px;
}
.prod .tabs .tab-head .tab-btn.on { color: var(--brand); }
.prod .tabs .tab-head .tab-btn.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.prod .tabs .tab-head .more { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.prod .tabs .tab-head .more:hover { color: var(--brand); }
.prod .tabs .tab-panel { display: none; }
.prod .tabs .tab-panel.on { display: block; }
.prod .prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prod-card a { display: block; }
.prod-card .thumb { overflow: hidden; background: var(--bg-soft); }
.prod-card .thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .thumb img { transform: scale(1.05); }
.prod-card .name {
  display: block;
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-card .name:hover { color: var(--brand); }

/* ---------- 四大法宝 ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.feat-card .no {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 52px;
  box-shadow: var(--shadow-brand);
}
.feat-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.feat-card .em { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 10px; }
.feat-card p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 四大优势 ---------- */
.advs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.adv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  opacity: 0;
  transition: opacity .25s ease;
}
.adv-card:hover::before { opacity: 1; }
.adv-card h3 { font-size: 18px; color: var(--brand); margin-bottom: 2px; }
.adv-card .sub { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 12px; }
.adv-card p { font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.adv-card p b { color: var(--ink); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  position: relative;
  text-align: center;
  padding: 24px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .dot {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
  line-height: 46px;
}
.step h3 { font-size: 14px; color: var(--ink); font-weight: 600; }
.step .arrow {
  position: absolute;
  top: 50%; right: -13px;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  color: var(--brand-line);
  z-index: 2;
}
.step .arrow svg { width: 20px; height: 20px; fill: var(--brand-line); }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-deep); color: #94a3b8; padding: 52px 0 30px; }
.footer .container { display: flex; gap: 48px; }
.footer .f-col { flex: 1; }
.footer .f-col.wide { flex: 1.6; }
.footer h4 { color: #e2e8f0; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 2px; background: var(--brand); }
.footer .f-links a { display: inline-block; margin: 0 18px 10px 0; color: #94a3b8; font-size: 13px; }
.footer .f-links a:hover { color: #fff; }
.footer .f-contact p { font-size: 13px; line-height: 2.1; }
.footer .f-contact svg { width: 14px; height: 14px; fill: var(--brand); vertical-align: -2px; margin-right: 6px; }
.footer .f-copyright { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 20px; text-align: center; font-size: 12px; color: #64748b; }
.footer .f-copyright a { color: #94a3b8; }
.footer .f-copyright a:hover { color: #fff; }

/* ---------- 内页 banner ---------- */
.page-banner { position: relative; height: 220px; overflow: hidden; background: linear-gradient(120deg, var(--brand-deep), #3b82f6); }
.page-banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.page-banner .mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 63, 143, .55), rgba(37, 99, 235, .25)); }
.page-banner .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.page-banner h1 { color: #fff; font-size: 30px; letter-spacing: 3px; }
.page-banner .en { color: rgba(255, 255, 255, .65); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-top: 4px; }

/* ---------- 面包屑 ---------- */
.crumb { padding: 16px 0; font-size: 13px; color: var(--ink-2); }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--brand); }
.crumb b { color: var(--brand); font-weight: 600; }

/* ---------- 列表页 ---------- */
.list-layout { display: flex; gap: 28px; padding: 8px 0 40px; align-items: flex-start; }
.list-main { flex: 1; min-width: 0; }
.list-side { width: 260px; flex-shrink: 0; }

/* 产品卡片网格（列表页） */
.prod-grid--list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* 默认列表（新闻/文章） */
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; }
.news-list a:hover .t { color: var(--brand); }
.news-list .t { font-size: 15px; font-weight: 600; color: var(--ink); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list .date { font-size: 13px; color: var(--ink-3); flex-shrink: 0; }

/* 案例列表 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-grid:empty::after {
  content: "暂无内容，敬请期待";
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-3);
  padding: 60px 0;
  font-size: 15px;
}

/* ---------- 分页（覆盖 {page} 内联样式） ---------- */
.pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  gap: 8px !important;
  margin: 34px 0 10px !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
}
.pagination li a,
.pagination li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  background: #fff !important;
  color: var(--ink-2) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transition: all .2s ease !important;
  text-decoration: none !important;
}
.pagination li a:hover { color: var(--brand) !important; border-color: var(--brand) !important; background: var(--brand-soft) !important; }
.pagination li.active span { color: #fff !important; background: var(--brand) !important; border-color: var(--brand) !important; font-weight: 600 !important; box-shadow: var(--shadow-brand) !important; }
.pagination li.disabled span { color: var(--ink-3) !important; background: var(--bg-soft) !important; cursor: not-allowed !important; }

/* ---------- 侧栏 ---------- */
.side-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 22px; background: #fff; }
.side-card .s-title { padding: 15px 18px; background: linear-gradient(90deg, var(--brand-deep), var(--brand)); color: #fff; }
.side-card .s-title h3 { font-size: 16px; letter-spacing: 1px; }
.side-card .s-title span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; }
.side-card .s-body { padding: 12px 0; }
.side-card .s-body a { display: block; padding: 10px 20px; color: var(--ink-2); font-size: 14px; border-left: 3px solid transparent; }
.side-card .s-body a:hover,
.side-card .s-body a.cur { color: var(--brand); background: var(--brand-soft); border-left-color: var(--brand); }
.side-hotline { padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), #3b82f6); color: #fff; box-shadow: var(--shadow-brand); }
.side-hotline span { display: block; font-size: 13px; opacity: .85; margin-bottom: 4px; }
.side-hotline b { font-size: 22px; letter-spacing: 1px; }

/* ---------- 详情页 ---------- */
.detail-top { display: flex; gap: 30px; padding: 10px 0 26px; }
.detail-gallery { width: 46%; flex-shrink: 0; }
.detail-gallery .main-img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.detail-gallery .main-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.detail-gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.detail-gallery .thumbs li {
  flex-shrink: 0;
  width: 66px; height: 66px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s ease, border-color .2s ease;
}
.detail-gallery .thumbs li.on { opacity: 1; border-color: var(--brand); }
.detail-gallery .thumbs li img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { font-size: 24px; color: var(--ink); margin-bottom: 14px; letter-spacing: .5px; }
.detail-info .params {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.detail-info .params li {
  display: flex;
  font-size: 14px;
  line-height: 2.4;
  border-bottom: 1px dashed var(--line);
}
.detail-info .params li:last-child { border-bottom: 0; }
.detail-info .params .k { width: 110px; flex-shrink: 0; padding: 2px 18px; background: var(--bg-soft); color: var(--ink-2); }
.detail-info .params .v { padding: 2px 18px; color: var(--ink); font-weight: 500; }
.detail-info .params .v b { color: var(--brand); }
.detail-info .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-info .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}
.detail-info .btn svg { width: 16px; height: 16px; fill: currentColor; }
.detail-info .btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.detail-info .btn--primary:hover { background: var(--brand-dark); }
.detail-info .btn--ghost { background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line); }
.detail-info .btn--ghost:hover { background: var(--brand); color: #fff; }

/* 详情 Tab */
.detail-tabs { border-bottom: 2px solid var(--brand-line); display: flex; gap: 4px; }
.detail-tabs .tab-btn { padding: 12px 28px; font-size: 16px; color: var(--ink-2); font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; margin-right: 4px; }
.detail-tabs .tab-btn.on { color: var(--brand); background: #fff; border-color: var(--brand-line); }
.detail-panel { display: none; padding: 26px 4px 10px; }
.detail-panel.on { display: block; }
.detail-content { font-size: 15px; line-height: 1.9; color: var(--ink); }
.detail-content p { margin-bottom: 12px; }
.detail-content img { max-width: 100%; border-radius: var(--radius); margin: 10px auto; }
.detail-content h1, .detail-content h2, .detail-content h3 { margin: 20px 0 10px; color: var(--ink); }
.detail-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.detail-content table td, .detail-content table th { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }
.detail-content table th { background: var(--bg-soft); font-weight: 600; }
.detail-content ul, .detail-content ol { padding-left: 22px; margin-bottom: 12px; }
.detail-content li { margin-bottom: 6px; }
.detail-tags { margin-top: 18px; padding: 12px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); border-left: 3px solid var(--brand); font-size: 13px; color: var(--ink-2); }
.detail-pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.detail-pager a { color: var(--ink-2); max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-pager a:hover { color: var(--brand); }

/* ---------- 单页 ---------- */
.page-body { padding: 8px 0 40px; }
.page-body .content-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 40px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.page-article { font-size: 15px; line-height: 2; color: var(--ink); }
.page-article img { max-width: 100%; border-radius: var(--radius); margin: 12px auto; }
.page-article p { margin-bottom: 14px; }
.page-article h1, .page-article h2, .page-article h3 { margin: 22px 0 12px; }

/* 关于我们子导航 */
.about-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 20px; }
.about-nav a {
  padding: 10px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
}
.about-nav a:hover,
.about-nav a.cur { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: var(--shadow-brand); }

/* ---------- 联系我们 ---------- */
.contact-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
.contact-layout .contact-grid { margin-bottom: 0; grid-template-columns: repeat(2, 1fr); }
.contact-layout .contact-grid .contact-card:last-child { grid-column: 1 / -1; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon svg { width: 24px; height: 24px; fill: var(--brand); }
.contact-card h3 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.contact-card p b { color: var(--brand); font-size: 15px; }

/* ---------- 电话可点击 / 微信复制 ---------- */
.tel-link { color: inherit; text-decoration: none; }
.tel-link:hover { text-decoration: underline; }
.wx-box { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wx-box .wx-id b { color: var(--brand); font-size: 15px; }
.wx-qr { width: 132px; height: 132px; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; }
.wx-tip { font-size: 12px; color: var(--ink-2); }
.wx-actions { display: flex; gap: 8px; }
.wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  font-family: inherit;
}
.wx-btn:hover { background: var(--brand); color: #fff; }
.wx-btn:active { transform: scale(.96); }

/* 复制/操作提示 Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%) translateY(16px);
  background: rgba(15, 23, 42, .88);
  color: #fff;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 在线留言 ---------- */
.msg-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px 32px;
  margin-bottom: 28px;
}
.msg-head { margin-bottom: 22px; }
.msg-head h3 { font-size: 20px; color: var(--ink); position: relative; padding-left: 12px; }
.msg-head h3::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px; background: var(--brand);
}
.msg-head p { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.msg-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.msg-item { display: flex; flex-direction: column; }
.msg-item label { font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.msg-item .req { color: #e53e3e; margin-left: 2px; }
.msg-item input,
.msg-item textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d8dee9;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfe;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.msg-item textarea { min-height: 96px; resize: vertical; }
.msg-item input:focus,
.msg-item textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  background: #fff;
}
.msg-item:nth-last-child(2) { grid-column: 1 / -1; }
.msg-submit { margin-top: 18px; }
.msg-submit button {
  padding: 10px 34px;
  border: none;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.msg-submit button:hover { background: var(--brand-deep); }
.msg-submit button:active { transform: scale(.97); }
.msg-submit button:disabled { opacity: .6; cursor: not-allowed; }
.msg-tip {
  display: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.msg-tip.ok { display: block; background: #effbea; color: #2f6f24; }
.msg-tip.err { display: block; background: #fff1f1; color: #b3261e; }

/* ---------- 搜索 ---------- */
.search-form { display: flex; max-width: 520px; margin: 10px auto 8px; }
.search-form input {
  flex: 1;
  height: 44px;
  padding: 0 18px;
  border: 2px solid var(--brand);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
}
.search-form button {
  height: 44px;
  padding: 0 24px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex; align-items: center; gap: 6px;
}
.search-form button svg { width: 15px; height: 15px; fill: #fff; }
.search-result li { border-bottom: 1px solid var(--line); }
.search-result a { display: block; padding: 16px 4px; }
.search-result a:hover h4 { color: var(--brand); }
.search-result h4 { font-size: 15px; color: var(--ink); }
.search-result p { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.8; }
.search-empty { text-align: center; padding: 60px 0; color: var(--ink-3); }

/* ---------- 热门关键词条 ---------- */
.keyword-bar { background: linear-gradient(90deg, var(--brand-soft), #fff); border-bottom: 1px solid var(--line); }
.keyword-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 10px 20px; font-size: 13px; color: var(--ink-2); }
.keyword-bar b { color: var(--brand); font-weight: 600; }
.keyword-bar a { color: var(--ink-2); }
.keyword-bar a:hover { color: var(--brand); }

/* ---------- 回顶部 / 悬浮 ---------- */
.back-top {
  position: fixed;
  right: 22px; bottom: 64px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, background .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--brand); }
.back-top svg { width: 20px; height: 20px; fill: #fff; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .section { padding: 52px 0; }
  .prod .layout { gap: 20px; }
  .prod .cats { width: 200px; }
  .feats, .advs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .prod-grid--list { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout .contact-grid .contact-card:last-child { grid-column: auto; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { flex-wrap: wrap; gap: 32px; }
  .footer .f-col { flex: 1 1 40%; }
  .footer .f-col.wide { flex: 1 1 100%; }
  .hero { height: 420px; }
  .detail-top { flex-direction: column; }
  .detail-gallery { width: 100%; max-width: 560px; margin: 0 auto; }
  .list-side { width: 220px; }
}

@media (max-width: 767px) {
  .container { padding: 0 14px; }
  .section { padding: 42px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 24px; }
  .sec-head .en { font-size: 11px; }

  /* 移动端隐藏百度商桥悬浮窗 */
  .embed-icon { display: none !important; }

  /* 顶部条：仅保留热线 */
  .top-bar .welcome { display: none; }
  .top-bar .container { justify-content: center; }

  /* 头部 */
  .site-header .container { height: 64px; }
  .logo img { max-height: 44px; }
  .logo .brand .cn { font-size: 18px; }
  .logo .tagline { display: none; }
  .nav-toggle { display: block; }
  .nav-bar .main-nav, .nav-bar .nav-more { display: none; }
  .nav-bar .container { height: 0; }

  /* Banner */
  .hero { height: auto; min-height: 0; aspect-ratio: auto; }
  .hero .slide { background-size: 100% auto; background-position: center top; }
  .hero .arrow { display: none; }
  .hero .dots { bottom: 12px; }

  /* 分页：移动端保留完整页码（覆盖 {page} 内联的 640 隐藏规则） */
  .pagination li { display: inline-flex !important; }

  /* 在线留言：移动端单列 */
  .msg-wrap { padding: 24px 18px; }
  .msg-row { grid-template-columns: 1fr; gap: 14px; }
  .msg-item:nth-last-child(2) { grid-column: auto; }
  .pagination li a,
  .pagination li span { min-width: 38px; height: 38px; padding: 0 10px; font-size: 14px; }

  /* 合作伙伴 */
  .partners .grid { gap: 10px; }
  .partners .grid li { width: 150px; }
  .partners .grid li .swatch { aspect-ratio: 16 / 10; }
  .partners .grid li .swatch .name { font-size: 14px; letter-spacing: 1px; }
  .partners .scroll-btn { width: 30px; height: 30px; }
  .partners .scroll-btn.prev { left: -8px; }
  .partners .scroll-btn.next { right: -8px; }

  /* 产品中心 */
  .prod .layout { flex-direction: column; }
  .prod .cats { width: 100%; }
  .prod .cats .list { max-height: 190px; }
  .prod .cats .list.expanded { max-height: none; }
  .prod .tabs .tab-head .tab-btn { padding: 10px 12px; font-size: 14px; }
  .prod .tabs .tab-head .more { display: none; }
  .prod .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-card .name { font-size: 13px; padding: 10px 8px; }

  /* 四大法宝 / 优势 / 流程 */
  .feats, .advs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feat-card, .adv-card { padding: 20px 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .step .arrow { display: none; }

  /* 页脚 */
  .footer { padding: 40px 0 24px; }
  .footer .container { flex-direction: column; gap: 26px; }
  .footer .f-col, .footer .f-col.wide { flex: 1 1 100%; }

  /* 内页 banner */
  .page-banner { height: 150px; }
  .page-banner h1 { font-size: 22px; }

  /* 列表 */
  .list-layout { flex-direction: column; padding: 4px 0 30px; }
  .list-side { width: 100%; }
  .prod-grid--list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .news-list .date { font-size: 12px; }

  /* 详情 */
  .detail-info h1 { font-size: 20px; }
  .detail-info .params .k { width: 96px; padding: 2px 12px; }
  .detail-info .params .v { padding: 2px 12px; }
  .detail-info .cta .btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: 14px; }
  .detail-tabs .tab-btn { padding: 11px 16px; font-size: 15px; }
  .detail-content { font-size: 14px; }
  .detail-pager { flex-direction: column; gap: 8px; }

  /* 单页 */
  .page-body .content-wrap { padding: 22px 18px; }
  .about-nav a { padding: 8px 18px; font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-layout .contact-grid { grid-template-columns: 1fr; }

  /* 分页 */
  .pagination li a, .pagination li span { min-width: 36px; height: 36px; padding: 0 10px; }

  /* 回顶部 */
  .back-top { right: 14px; bottom: 50px; }
}
