/* ============================================================
   昱闵科技 Yumin Tech — WordPress 主题主样式
   设计语言：现代工业科技风 / 深蓝 + 科技蓝渐变 / 大留白卡片化
   ============================================================ */

:root {
  --navy-900: #050f24;
  --navy-800: #071a38;
  --navy-700: #0b2a5b;
  --blue-600: #1256d6;
  --blue-500: #2f7bff;
  --cyan-400: #00d4ff;
  --ink: #1a2333;
  --ink-2: #4b5668;
  --ink-3: #5f6b80;
  --line: #e6eaf2;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(11, 42, 91, .06);
  --shadow-md: 0 14px 40px rgba(11, 42, 91, .12);
  --shadow-lg: 0 24px 64px rgba(5, 15, 36, .22);
  --grad-brand: linear-gradient(120deg, #071a38 0%, #0b2a5b 52%, #1256d6 100%);
  --grad-accent: linear-gradient(90deg, #2f7bff, #00d4ff);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 123, 255, .38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(47, 123, 255, .5); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.btn-dark {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 10px 26px rgba(7, 26, 56, .3);
}
.btn-dark:hover { transform: translateY(-3px); background: var(--navy-700); }

/* ---------- 通用版块标题 ---------- */
.section { padding: 104px 0; }
.section-gray { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, #2f7bff);
}
.section-head .eyebrow::after { background: linear-gradient(90deg, #2f7bff, transparent); }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--ink);
}
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.section-light .section-head h2,
.section-light .section-head p { color: #fff; }
.section-light .section-head p { color: rgba(255, 255, 255, .72); }

/* 滚动显现动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ============================================================
   头部导航
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header .header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  transition: height .35s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(11, 42, 91, .1);
}
.site-header.scrolled .header-inner { height: 66px; }

/* 首页 hero 之上：透明 + 白字 */
.site-header.over-hero:not(.scrolled) { background: transparent; }
.site-header.over-hero:not(.scrolled) .menu > li > a,
.site-header.over-hero:not(.scrolled) .logo-text strong,
.site-header.over-hero:not(.scrolled) .header-phone,
.site-header.over-hero:not(.scrolled) .nav-toggle span { color: #fff; background-color: transparent; }
.site-header.over-hero:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header.over-hero:not(.scrolled) .logo-text span { color: rgba(255, 255, 255, .62); }
.site-header.over-hero:not(.scrolled) .header-phone small { color: rgba(255, 255, 255, .6); }
.site-header.over-hero:not(.scrolled) .header-phone .ico { background: rgba(255, 255, 255, .14); color: #fff; }

/* 非首页：白底深字（由 header.php 输出 .solid 类控制） */
.site-header.solid { background: #fff; box-shadow: 0 4px 18px rgba(11, 42, 91, .08); }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { display: block; height: 40px; width: auto; }
.logo-img--light { display: none; }
/* 首页 hero 透明背景时：白字版显示、深字版隐藏；滚动后/内页白底时反之 */
.site-header.over-hero:not(.scrolled) .logo-img--dark { display: none; }
.site-header.over-hero:not(.scrolled) .logo-img--light { display: block; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-accent);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px;
  box-shadow: 0 8px 18px rgba(47, 123, 255, .4);
  letter-spacing: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 21px; letter-spacing: .12em; color: var(--ink); font-weight: 800; }
.logo-text span { font-size: 10px; letter-spacing: .3em; color: var(--ink-3); text-transform: uppercase; }

.main-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
}
.menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.menu > li > a:hover::after,
.menu > li.current-menu-item > a::after,
.menu > li.current_page_item > a::after { transform: scaleX(1); }
.menu > li > a:hover { color: var(--blue-500); }

/* 下拉子菜单 */
.menu li.menu-item-has-children > a { padding-right: 28px; }
.menu li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease;
}
.menu li.menu-item-has-children:hover > a::before { transform: translateY(-30%) rotate(225deg); }
.sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 12px);
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all .28s ease;
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
}
.sub-menu a:hover { background: var(--bg); color: var(--blue-500); padding-left: 20px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--blue-600);
  flex-shrink: 0;
}
.header-phone .ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(47, 123, 255, .12);
  color: var(--blue-500);
  font-size: 17px;
}
.header-phone small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .08em; line-height: 1.2; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO 首页横幅
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--grad-brand);
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  right: -220px; top: -180px;
  background: radial-gradient(circle, rgba(0, 212, 255, .28), transparent 62%);
  filter: blur(10px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}
.hero-glow-2 {
  position: absolute;
  width: 560px; height: 560px;
  left: -200px; bottom: -220px;
  background: radial-gradient(circle, rgba(47, 123, 255, .3), transparent 65%);
}
@keyframes heroGlow { to { transform: translate(-60px, 60px) scale(1.15); } }

/* 射频波纹装饰 */
.hero-waves {
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  pointer-events: none;
}
.hero-waves i {
  position: absolute; inset: 0;
  border: 1px solid rgba(0, 212, 255, .35);
  border-radius: 50%;
  animation: wave 4.5s linear infinite;
  opacity: 0;
}
.hero-waves i:nth-child(2) { animation-delay: 1.5s; }
.hero-waves i:nth-child(3) { animation-delay: 3s; }
@keyframes wave {
  0% { transform: scale(.25); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: scale(1); opacity: 0; }
}
.hero-chip {
  position: absolute;
  right: calc(8% + 165px); top: 50%;
  transform: translateY(-50%);
  width: 130px; height: 130px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(47, 123, 255, .35), rgba(0, 212, 255, .18));
  border: 1px solid rgba(0, 212, 255, .45);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  box-shadow: 0 0 60px rgba(0, 212, 255, .35), inset 0 0 30px rgba(0, 212, 255, .15);
  animation: chipFloat 5s ease-in-out infinite;
}
.hero-chip svg { width: 64px; height: 64px; }
@keyframes chipFloat { 50% { transform: translateY(calc(-50% - 16px)); } }

/* Hero 入场动画（页面加载依次淡入） */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-tag, .hero h1, .hero .lead, .hero-actions, .hero-stats { animation: heroIn .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero-tag { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero .lead { animation-delay: .3s; }
.hero-actions { animation-delay: .45s; }
.hero-stats { animation-delay: .62s; }

/* 选项卡切换时卡片依次淡入 */
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.product-grid.tab-switch .product-card { animation: cardIn .5s cubic-bezier(.16, 1, .3, 1) both; }
.product-grid.tab-switch .product-card:nth-child(2) { animation-delay: .05s; }
.product-grid.tab-switch .product-card:nth-child(3) { animation-delay: .1s; }
.product-grid.tab-switch .product-card:nth-child(4) { animation-delay: .15s; }
.product-grid.tab-switch .product-card:nth-child(5) { animation-delay: .2s; }
.product-grid.tab-switch .product-card:nth-child(6) { animation-delay: .25s; }
.product-grid.tab-switch .product-card:nth-child(7) { animation-delay: .3s; }
.product-grid.tab-switch .product-card:nth-child(n+8) { animation-delay: .35s; }

.hero-content { position: relative; z-index: 2; max-width: 700px; color: #fff; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(0, 212, 255, .4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--cyan-400);
  background: rgba(0, 212, 255, .07);
  margin-bottom: 28px;
}
.hero-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-400); }
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 40px;
  gap: 24px;
}
.hero-stats .num {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.hero-stats .num b { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.hero-stats .label { font-size: 14px; color: rgba(255, 255, 255, .62); margin-top: 6px; letter-spacing: .06em; }

/* ============================================================
   核心优势
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px 34px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease, border-color .4s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ico {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(47, 123, 255, .14), rgba(0, 212, 255, .1));
  color: var(--blue-500);
  display: grid; place-items: center;
  font-size: 30px;
  margin-bottom: 22px;
  transition: all .4s ease;
}
.feature-card:hover .feature-ico { background: var(--grad-accent); color: #fff; transform: rotate(-6deg) scale(1.06); }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-2); }
.feature-num { position: absolute; right: 22px; top: 18px; font-size: 44px; font-weight: 800; color: var(--bg); line-height: 1; }

/* ============================================================
   产品中心
   ============================================================ */
.product-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.product-tabs button {
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .3s ease;
}
.product-tabs button:hover { color: var(--blue-500); border-color: var(--blue-500); }
.product-tabs button.active {
  background: var(--grad-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(47, 123, 255, .35);
}
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
/* 分类筛选：初始隐藏第 9 个及之后的产品，切换分类时由脚本控制 */
.product-card.is-hidden { display: none; }
.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
/* 白底产品图用 contain 完整呈现，避免宽幅图被裁掉左右两侧 */
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-cat-tag {
  position: absolute;
  left: 14px; top: 14px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  background: rgba(7, 26, 56, .65);
  backdrop-filter: blur(6px);
  letter-spacing: .04em;
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 17.5px; font-weight: 700; line-height: 1.4; }
.product-body p { font-size: 13.5px; color: var(--ink-3); flex: 1; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-500);
  margin-top: 6px;
}
.product-link i { font-style: normal; transition: transform .3s ease; }
.product-card:hover .product-link i { transform: translateX(6px); }

/* ============================================================
   行业案例
   ============================================================ */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.solution-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.8;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.solution-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 36, 0) 30%, rgba(5, 15, 36, .88) 100%);
  transition: opacity .4s ease;
}
.solution-card:hover img { transform: scale(1.09); }
.solution-info { position: relative; z-index: 2; padding: 26px; color: #fff; width: 100%; }
.solution-info .no { font-size: 13px; letter-spacing: .2em; color: var(--cyan-400); font-weight: 700; }
.solution-info h3 { font-size: 20px; font-weight: 700; margin: 6px 0 8px; }
.solution-info p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .75);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .45s ease;
}
.solution-card:hover .solution-info p { max-height: 120px; opacity: 1; }

/* ============================================================
   关于我们横条
   ============================================================ */
.about-strip { position: relative; background: var(--grad-brand); border-radius: 24px; overflow: hidden; padding: 72px 76px; color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.about-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.about-strip > * { position: relative; }
.about-strip h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 14px 0 18px; }
.about-strip .eyebrow { color: var(--cyan-400); font-size: 13px; letter-spacing: .3em; font-weight: 700; }
.about-strip p { color: rgba(255, 255, 255, .78); font-size: 15.5px; margin-bottom: 34px; }
.about-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-badge {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 22px 24px;
  backdrop-filter: blur(6px);
  transition: background .3s ease, transform .3s ease;
}
.about-badge:hover { background: rgba(255, 255, 255, .13); transform: translateY(-4px); }
.about-badge b { display: block; font-size: 26px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-badge span { font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* ============================================================
   新闻中心
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.news-date::before { content: ""; width: 18px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.news-body h3 { font-size: 17px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-body h3 { color: var(--blue-500); }
.news-body p { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   联系我们
   ============================================================ */
.contact-section { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.contact-section::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -260px; bottom: -320px;
  background: radial-gradient(circle, rgba(47, 123, 255, .22), transparent 65%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact-info h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: rgba(255, 255, 255, .68); margin-bottom: 40px; }
.contact-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item .ico {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px;
  background: rgba(47, 123, 255, .16);
  color: var(--cyan-400);
  display: grid; place-items: center;
  font-size: 21px;
}
.contact-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14.5px; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.contact-item a:hover { color: var(--cyan-400); }
.contact-hotline { margin-top: 30px; display: flex; gap: 40px; flex-wrap: wrap; }
.contact-hotline .num { font-size: 30px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.contact-hotline small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); letter-spacing: .1em; margin-bottom: 4px; }
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  background: var(--navy-700);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-map { position: relative; }
.map-tabs { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; }
.map-tab {
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  cursor: pointer; border: 1px solid rgba(11, 42, 91, .15);
  background: rgba(255, 255, 255, .92); color: #0b2a5b;
  transition: all .2s;
}
.map-tab:hover { transform: translateY(-1px); }
.map-tab.active {
  background: linear-gradient(90deg, #2f7bff, #00d4ff);
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(47, 123, 255, .4);
}
.contact-map-canvas { width: 100%; height: 420px; }
@media (max-width: 768px) { .contact-map-canvas { height: 300px; } }

/* ============================================================
   产品推荐轮播（自定义 banner）
   ============================================================ */
.hero.hero-slider {
  display: block;
  min-height: 0;
  padding: 0;
  background: #04101f;
}
.product-recommend-slider {
  /* 图片通栏铺满：突破内容容器宽度，左右到屏幕边缘 */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #04101f;
}
/* 多张轮播叠在同一格，容器高度随图片比例自动变化 */
.hero-slides { position: relative; display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity .85s ease, visibility .85s;
  background: #04101f;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

/* 图片：宽度铺满、高度按原始比例自适应，不裁剪、不加蒙版 */
.hero-slide-img {
  display: block;
  width: 100%;
  height: auto;
  background: #04101f;
}

/* 文案移到图片下方，避免遮挡图片 */
.hero-slide-copy {
  position: static;
  background: #071a38;
  padding: 46px 0 46px;
  transition: none; /* 切图时文字不淡入淡出，避免两张文字重叠 */
}
.hero-slide:not(.is-active) .hero-slide-copy { visibility: hidden; }
.hero-slide-copy .container { position: relative; z-index: 2; }
.hero-slide h3 {
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 12px;
  color: #fff;
}
.hero-slide .lead { font-size: 16px; color: rgba(255, 255, 255, .78); max-width: 720px; margin-bottom: 22px; }
.hero-slide.is-active .hero-content { animation: heroIn .9s cubic-bezier(.16, 1, .3, 1) both; }

/* 左右箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.hero-arrow:hover {
  background: rgba(0, 212, 255, .22);
  border-color: rgba(0, 212, 255, .8);
  box-shadow: 0 0 22px rgba(0, 212, 255, .45);
}
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* 圆点指示器 */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: width .3s, background .3s, box-shadow .3s;
}
.hero-dot.is-active {
  width: 46px;
  background: linear-gradient(90deg, #2f7bff, #00d4ff);
  box-shadow: 0 0 12px rgba(0, 212, 255, .6);
}

@media (max-width: 920px) {
  /* 手机端：图片在上、说明在下 */
  .hero-slide-copy { padding: 28px 0 32px; }
  .hero-slide h3 { font-size: clamp(22px, 5vw, 30px); margin-bottom: 10px; }
  .hero-slide .lead { font-size: 14.5px; margin-bottom: 18px; }
  .hero-arrow { display: none; }
  .hero-dot { width: 22px; }
  .hero-dot.is-active { width: 34px; }
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 76px 0 56px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand p { margin: 18px 0 22px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--cyan-400); padding-left: 6px; }
/* 联系方式独占一行：地址与电话并排 */
.footer-contact-col { grid-column: 1 / -1; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-contact li { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; line-height: 1.7; }
.footer-contact .ico { color: var(--cyan-400); flex-shrink: 0; }
.footer-contact .fc-addr { flex: 1 1 auto; min-width: 0; }
.footer-contact .fc-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}
.footer-contact .fc-phone a { color: #fff; font-weight: 600; letter-spacing: .02em; }
.footer-contact .fc-phone a:hover { color: var(--cyan-400); padding-left: 0; }
.footer-contact .fc-phone em { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .4); }
.footer-bottom a:hover { color: var(--cyan-400); }

/* 联系页前置 footer 无分隔线问题 */
.contact-section + .site-footer .footer-main { border-top: none; }

/* ============================================================
   侧边悬浮客服
   ============================================================ */
.float-bar {
  position: fixed;
  right: 22px; bottom: 90px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-item {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  font-size: 21px;
  color: var(--blue-600);
  transition: all .3s ease;
}
.float-item:hover { background: var(--grad-accent); color: #fff; transform: translateX(-4px); }
.float-item .tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(8px, -50%);
  background: var(--navy-800);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  pointer-events: none;
}
.float-item:hover .tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.float-item.back-top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.float-item.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ============================================================
   内页通用
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 84px;
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, #000 20%, transparent 80%);
}
.page-hero > .container { position: relative; }
.page-hero h1, .page-hero .hero-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: .04em; }
.page-hero .hero-title { margin: .67em 0; }
.page-hero .sub { margin-top: 10px; font-size: 14px; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan-400); font-weight: 700; }
.breadcrumb { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .66); display: inline-flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb .sep { opacity: .5; }

.content-area { padding: 80px 0 110px; }

/* 内页两栏（侧边分类） */
.layout-with-side { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.layout-with-side > * { min-width: 0; } /* 防网格子项内容撑破布局 */
.side-cats { position: sticky; top: calc(var(--header-h) + 24px); }
.side-cats h3 {
  background: var(--grad-brand);
  color: #fff;
  font-size: 17px;
  padding: 18px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  letter-spacing: .06em;
}
.side-cats ul { background: #fff; border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.side-cats li { border-bottom: 1px solid var(--line); }
.side-cats li:last-child { border-bottom: none; }
.side-cats a, .side-cats .cat-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px;
  font-size: 15px;
  color: var(--ink-2);
  transition: all .25s ease;
}
.side-cats a::after { content: "›"; font-size: 18px; color: var(--ink-3); transition: transform .25s ease; }
.side-cats a:hover, .side-cats .current-cat a { background: var(--bg); color: var(--blue-600); font-weight: 600; padding-left: 28px; }
.side-cats a:hover::after { transform: translateX(4px); color: var(--blue-500); }

/* 归档卡片列表 */
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; }
/* WordPress the_posts_pagination() 会再包一层 nav.pagination > .nav-links，
   页码实际在 .nav-links 内，必须让它横向排列，否则页码会竖向堆叠 */
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px;
  padding: 0 14px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  color: var(--ink-2);
  transition: all .25s ease;
}
.pagination .page-numbers:hover { border-color: var(--blue-500); color: var(--blue-500); }
.pagination .page-numbers.current { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(47, 123, 255, .35); }

/* 文章详情 */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.45; font-weight: 800; margin-bottom: 16px; }
.article-meta { display: flex; gap: 24px; font-size: 13.5px; color: var(--ink-3); }
.article-content { font-size: 16.5px; color: #2b3444; line-height: 2; }
/* 正文段落统一首行缩进 2 个中文字符（旧站手工空格由 the_content 过滤器清除） */
.article-content p { margin-bottom: 1.4em; text-indent: 2em; }
.article-content p:has(> img:only-child),
.article-content p:has(> a > img:only-child) { text-indent: 0; }
.article-content img { border-radius: var(--radius); margin: 1.6em auto; }
.article-content h2 { font-size: 24px; margin: 1.8em 0 .9em; padding-left: 16px; border-left: 4px solid var(--blue-500); line-height: 1.4; }
.article-content h3 { font-size: 20px; margin: 1.6em 0 .8em; }
.article-content ul, .article-content ol { margin: 0 0 1.4em 1.4em; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
  margin: 1.6em 0;
  padding: 20px 28px;
  background: var(--bg);
  border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
}
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
/* span 必须占据弹性宽度，否则子链接 max-width 百分比会把文字压成竖排 */
.article-nav > span { flex: 1 1 0; min-width: 0; }
.article-nav > span:last-child { text-align: right; }
.article-nav a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink-2); max-width: 100%; }
.article-nav a:hover { color: var(--blue-500); }

/* 搜索框 */
.search-box { display: flex; max-width: 480px; margin: 0 auto 50px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.search-box input { flex: 1; border: none; outline: none; padding: 14px 24px; font-size: 15px; font-family: inherit; }
.search-box button { padding: 0 30px; background: var(--grad-accent); color: #fff; font-size: 15px; font-weight: 600; }

/* 搜索结果 / 空状态 */
.result-item { padding: 30px 0; border-bottom: 1px solid var(--line); }
.result-item h2 { font-size: 20px; margin-bottom: 8px; }
.result-item h2 a:hover { color: var(--blue-500); }
.result-item p { color: var(--ink-2); font-size: 15px; }
.empty-state { text-align: center; padding: 90px 0; color: var(--ink-3); }
.empty-state .big { font-size: 60px; margin-bottom: 20px; }

/* ============================================================
   资料下载
   ============================================================ */
.download-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; color: var(--ink-2); font-size: 15px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.download-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47, 123, 255, .32); }
.dl-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(47, 123, 255, .1);
  color: var(--blue-500);
}
.dl-icon svg { width: 24px; height: 24px; }
.dl-body { flex: 1 1 auto; min-width: 0; }
.dl-body h3 { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
.dl-body h3 a:hover { color: var(--blue-500); }
.dl-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.dl-type {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.dl-btn {
  flex-shrink: 0;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .28s ease;
}
.dl-btn:hover { background: var(--grad-accent); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(47, 123, 255, .32); }

/* 详情页文件下载框 */
.dl-file-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 32px 0 40px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--grad-brand);
  color: #fff;
}
.dl-file-ico {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  color: var(--cyan-400);
}
.dl-file-ico svg { width: 26px; height: 26px; }
.dl-file-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dl-file-info strong { font-size: 17px; font-weight: 700; }
.dl-file-info span { font-size: 13px; color: rgba(255, 255, 255, .62); }
.dl-file-box .btn { flex-shrink: 0; }

/* ============================================================
   商城入口
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--shop-c, var(--blue-500));
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.shop-tmall { --shop-c: #ff0036; }
.shop-taobao { --shop-c: #ff5000; }
.shop-1688 { --shop-c: #ff6a00; }
.shop-badge {
  position: absolute;
  right: 20px; top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--shop-c);
  background: color-mix(in srgb, var(--shop-c) 10%, #fff);
}
.shop-ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--shop-c);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--shop-c) 28%, transparent);
}
.shop-ico svg { width: 30px; height: 30px; }
.shop-card h3 { font-size: 20px; font-weight: 700; margin-top: 20px; letter-spacing: .01em; }
.shop-sub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.shop-card p { flex: 1 1 auto; margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.shop-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--shop-c);
  transition: transform .28s ease, box-shadow .28s ease;
}
.shop-go:hover { transform: translateY(-2px); box-shadow: 0 12px 24px color-mix(in srgb, var(--shop-c) 34%, transparent); }
.shop-go i { font-style: normal; }

.shop-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 30px 36px;
  border-radius: var(--radius);
  background: var(--grad-brand);
  color: #fff;
}
.shop-note strong { display: block; font-size: 18px; margin-bottom: 6px; }
.shop-note span { font-size: 14px; color: rgba(255, 255, 255, .68); }
.shop-note .btn { flex-shrink: 0; }
.shop-content { margin-top: 40px; }

/* ============================================================
   生产级打磨：可访问性 / 图标规范 / WP 对齐 / 降级
   ============================================================ */

/* 键盘焦点指示 */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero :focus-visible,
.contact-section :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan-400); }

/* 跳转链接（键盘用户） */
.skip-link {
  position: fixed;
  left: 16px; top: -64px;
  z-index: 2000;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  transition: top .3s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SVG 图标统一尺寸 */
.ico svg, .feature-ico svg, .float-item svg { display: block; }
.header-phone .ico svg { width: 17px; height: 17px; }
.feature-ico svg { width: 30px; height: 30px; }
.contact-item .ico svg { width: 22px; height: 22px; }
.float-item svg { width: 21px; height: 21px; }
.footer-contact .ico svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 5px; }

/* 自定义 Logo */
.custom-logo { max-height: 44px; width: auto; }

/* 无图占位 */
.thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
}
.solution-card .thumb-placeholder { position: absolute; inset: 0; }

/* WP 图片对齐类 */
.article-content .aligncenter { display: block; margin-inline: auto; }
.article-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.article-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.article-content .alignwide { margin-inline: calc(-1 * min(8vw, 80px)); max-width: none; }

/* 长标题防溢出 */
.product-body h3, .news-body h3, .solution-info h3, .article-header h1 { overflow-wrap: break-word; }

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   响应式
   ============================================================ */

/* 侧栏布局内的产品网格（覆盖默认 4 列） */
.layout-with-side .product-grid { grid-template-columns: repeat(3, 1fr); }

/* 触屏通用优化 */
a, button, .product-card, .solution-card { -webkit-tap-highlight-color: transparent; }

/* 正文宽表横向滑动（产品参数表防溢出） */
.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.article-content iframe { max-width: 100%; }

@media (max-width: 1100px) {
  .product-grid, .features-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-with-side .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-waves, .hero-chip { display: none; }
  /* 平板横屏：头部空间收紧，防导航溢出 */
  .site-header .header-inner { gap: 18px; }
  .header-phone { display: none; }
  .menu > li > a { padding: 10px 10px; font-size: 15px; }
  .menu li.menu-item-has-children > a { padding-right: 24px; }
  .menu li.menu-item-has-children > a::before { right: 10px; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 72px) 0 80px; }
}
@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 16px 4%;
    transform: translateY(-130%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { transform: translateY(0); }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li > a { color: var(--ink) !important; padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .menu > li > a::after { display: none; }
  /* 子菜单默认折叠，点击父项展开（手风琴） */
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 0 18px;
    min-width: 0;
    display: none;
  }
  .menu li.sub-open > .sub-menu { display: block; transform: none; }
  .menu li.menu-item-has-children > a::before { right: 12px; }
  .menu li.sub-open > a::before { transform: translateY(-30%) rotate(225deg); }
  .sub-menu a { padding: 13px 16px; white-space: normal; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .features-grid, .product-grid, .solution-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-with-side .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip { grid-template-columns: 1fr; padding: 56px 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-map, .contact-map iframe { min-height: 300px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .layout-with-side { grid-template-columns: 1fr; }
  .side-cats { position: static; }
  .download-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  /* 产品分类侧栏 → 顶部横向滑动条 */
  .side-cats h3 { padding: 14px 20px; font-size: 15px; border-radius: var(--radius) var(--radius) 0 0; }
  .side-cats ul {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    scrollbar-width: none;
  }
  .side-cats ul::-webkit-scrollbar { display: none; }
  .side-cats li { border-bottom: none; flex-shrink: 0; border-right: 1px solid var(--line); }
  .side-cats li:last-child { border-right: none; }
  .side-cats a, .side-cats .cat-name { padding: 13px 18px; white-space: nowrap; font-size: 14px; }
  .side-cats a::after { display: none; }
  .side-cats a:hover, .side-cats .current-cat a { padding-left: 18px; }
  /* 产品选项卡 → 横向滑动 */
  .product-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-left: -4%;
    margin-right: -4%;
    padding-left: 4%;
    padding-right: 4%;
    scrollbar-width: none;
  }
  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tabs button { flex-shrink: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .pagination { flex-wrap: wrap; }
  .search-box input { font-size: 16px; } /* iOS 防聚焦放大 */
  .float-bar { right: 14px; bottom: 70px; gap: 8px; }
  .float-item { width: 46px; height: 46px; border-radius: 12px; }
  .float-item .tip { display: none; }
}
/* 手机端：整体尺度按小屏重算，避免沿用 PC 留白与大字号 */
@media (max-width: 600px) {
  :root { --header-h: 66px; } /* 头部更紧凑，页面可见内容更多 */

  /* 版块留白与标题 */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head .eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: .26em; }
  .section-head h2 { font-size: 23px; letter-spacing: 0; line-height: 1.35; }
  .section-head p { font-size: 15px; line-height: 1.75; margin-top: 12px; }

  /* 列表统一单列，缩小卡片间距 */
  .features-grid, .product-grid, .solution-grid, .news-grid, .archive-grid,
  .layout-with-side .product-grid { grid-template-columns: 1fr; gap: 18px; }

  /* 内页头图区：压缩 PC 比例的留白 */
  .page-hero { padding: calc(var(--header-h) + 34px) 0 40px; }
  .page-hero h1, .page-hero .hero-title { font-size: 26px; letter-spacing: .02em; }
  .page-hero .hero-title { margin: .4em 0; }
  .page-hero .sub { margin-top: 6px; font-size: 12px; letter-spacing: .28em; }
  .breadcrumb { margin-top: 14px; font-size: 12.5px; }
  .content-area { padding: 40px 0 64px; }

  /* 首页首屏 */
  .hero { min-height: 0; padding: calc(var(--header-h) + 44px) 0 56px; }
  .hero h1 { font-size: 30px; line-height: 1.3; }
  .hero p.lead { font-size: 15.5px; line-height: 1.8; margin-bottom: 30px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: auto; justify-content: center; }
  .hero-stats { margin-top: 44px; padding-top: 26px; gap: 18px 12px; }
  .hero-stats .num { font-size: 30px; }
  .hero-stats .label { font-size: 12.5px; }

  /* 卡片：降低图片占比与内边距，缩短单卡片高度 */
  .product-thumb { aspect-ratio: 3 / 2; }
  .product-body { padding: 18px 18px 20px; gap: 6px; }
  .product-body h3 { font-size: 16.5px; }
  .product-body p { font-size: 13px; }
  .news-thumb { aspect-ratio: 16 / 9; }
  .news-body { padding: 18px 18px 20px; gap: 8px; }
  .news-body h3 { font-size: 16.5px; }
  .news-body p { font-size: 13.5px; }
  .solution-card { aspect-ratio: 16 / 10; }
  .solution-info { padding: 20px; }
  .solution-info h3 { font-size: 17px; }
  .solution-info p { max-height: none; opacity: 1; font-size: 13.5px; }

  .about-strip { padding: 38px 22px; border-radius: 18px; }
  .about-badges { gap: 12px; }
  .about-badge { padding: 14px 16px; }
  .about-badge b { font-size: 22px; }

  /* 正文 */
  .article-header { margin-bottom: 26px; padding-bottom: 20px; }
  .article-header h1 { font-size: 22px; }
  .article-meta { flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; }
  .article-content { font-size: 16px; line-height: 1.85; }
  .article-content h2 { font-size: 20px; margin: 1.5em 0 .7em; padding-left: 12px; }
  .article-content h3 { font-size: 17px; margin: 1.4em 0 .6em; }
  .article-nav { gap: 16px; align-items: center; }
  .article-nav a { max-width: 100%; }

  /* 搜索与空状态 */
  .empty-state { padding: 56px 0; }
  .empty-state .big { font-size: 44px; }
  .result-item { padding: 22px 0; }
  .result-item h2 { font-size: 17px; }
  .result-item p { font-size: 14px; }

  /* 页脚：PC 四栏在手机上改为 2 栏，避免页脚长达千像素 */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 44px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { margin: 14px 0 0; font-size: 13px; line-height: 1.75; }
  .footer-col h4 { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; }
  .footer-col li { margin-bottom: 0; }
  .footer-col a { display: block; padding: 9px 0; } /* 触控区域放大到 40px 以上 */
  .footer-contact-col { grid-column: 1 / -1; padding-top: 26px; }
  .footer-contact li { flex-wrap: wrap; gap: 6px 8px; margin-bottom: 16px; font-size: clamp(10.5px, 3vw, 12px); line-height: 1.65; overflow: hidden; }
  .footer-contact .fc-addr { flex: 1 1 0; min-width: 0; white-space: nowrap; } /* 与定位图标同行，地址不折行 */
  .footer-contact .fc-phone { flex: 1 1 100%; margin-left: 0; gap: 6px; align-items: center; } /* 电话另起一行，图标与定位图标左对齐 */
  .footer-contact .ico svg { margin-top: 0; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; text-align: center; gap: 6px; font-size: 12.5px; padding: 20px 0; }

  /* 资料下载 / 商城入口 */
  .download-intro { margin-bottom: 24px; font-size: 13.5px; text-align: left; }
  .download-card { padding: 16px 18px; gap: 14px; flex-wrap: wrap; }
  .dl-icon { width: 42px; height: 42px; border-radius: 10px; }
  .dl-icon svg { width: 20px; height: 20px; }
  .dl-body h3 { font-size: 15.5px; }
  .dl-btn { padding: 8px 16px; font-size: 12.5px; }
  .dl-file-box { flex-wrap: wrap; gap: 14px; padding: 20px; }
  .dl-file-box .btn { width: 100%; justify-content: center; }
  .dl-file-info strong { font-size: 16px; }
  .shop-card { padding: 26px 22px 24px; }
  .shop-card h3 { font-size: 18px; }
  .shop-note { padding: 24px 22px; gap: 18px; }
  .shop-note strong { font-size: 16px; }
  .shop-note .btn { width: 100%; justify-content: center; }

  /* 悬浮客服与联系信息 */
  .float-bar { right: 12px; bottom: 60px; gap: 8px; }
  .float-item { width: 46px; height: 46px; border-radius: 12px; }
  .float-item .tip { display: none; }
  .contact-hotline { flex-direction: column; gap: 20px; }
  .contact-hotline .num { font-size: 26px; }
}
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stats .num { font-size: 28px; }
  .logo-text span { display: none; }
}
