/*
Theme Name: rfmlcc 主题
Description: rfmlcc.com 企业官网主题 —— 射频微波瓷介电容器
Author: guwen
Version: 2.0
Text Domain: rfmlcc-theme
*/

/* ============ 设计变量 ============ */
:root {
  --primary: #0b4f9c;
  --primary-dark: #062a56;
  --primary-light: #1a6fc4;
  --accent: #3ba3ff;
  --ink: #13233a;
  --text: #33475f;
  --muted: #6b7f96;
  --line: #e3ebf5;
  --bg: #f6f9fd;
  --radius: 12px;
  --container: 1180px;
}

/* ============ 基础 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .22s, background .22s; }
a:hover { color: var(--primary-light); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; font-weight: 700; }
ul, ol { list-style-position: inside; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 通用按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s, background .22s, box-shadow .22s;
}
.btn-primary { background: #fff; color: var(--primary-dark); }
.btn-primary:hover { background: #eaf3ff; color: var(--primary-dark); transform: translateY(-1px); text-decoration: none; }
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-light); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn-ghost { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

/* ============ 顶部信息条 ============ */
.topbar { background: var(--primary-dark); color: #bcd3ec; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar-left { display: flex; align-items: center; gap: 18px; letter-spacing: .04em; }
.topbar-left .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 6px; vertical-align: 2px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar a { color: #bcd3ec; }
.topbar a:hover { color: #fff; }
.topbar .sep { color: rgba(255,255,255,.25); }

/* ============ 页头 ============ */
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 99;
  backdrop-filter: saturate(180%) blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,79,156,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(11,79,156,.22);
}
.brand-name { display: block; font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .14em; margin-top: 2px; }
.brand:hover .brand-name { color: var(--primary); }

.main-nav ul { display: flex; align-items: center; list-style: none; gap: 2px; }
.main-nav li { list-style: none; position: relative; }
.main-nav a { display: block; padding: 10px 15px; font-size: 15px; color: #31465f; font-weight: 500; border-radius: 6px; position: relative; }
.main-nav a:hover { color: var(--primary); background: #f2f7ff; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-parent > a { color: var(--primary); font-weight: 700; }
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--primary);
}
/* 下拉菜单 */
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(11,79,156,.14);
  padding: 8px; display: block; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .22s; z-index: 20;
}
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { padding: 9px 12px; font-size: 14px; border-radius: 6px; }
.main-nav .sub-menu a::after { display: none; }

/* 移动端按钮 */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 首页 Banner ============ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(97deg, rgba(4,26,54,.96) 0%, rgba(5,42,84,.87) 44%, rgba(8,58,110,.45) 78%, rgba(8,58,110,.28) 100%),
    url("assets/images/hero-bg.jpg") center right / cover no-repeat,
    linear-gradient(118deg, #052247 0%, #0b4f9c 58%, #1268b8 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -140px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,163,255,.35) 0%, rgba(59,163,255,0) 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px;
  align-items: center; padding: 86px 0 0;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.07);
  font-size: 12px; letter-spacing: .12em; color: #d7e8fb; margin-bottom: 22px;
}
.hero-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4fc3ff; box-shadow: 0 0 10px #4fc3ff; }
.hero h1 { color: #fff; font-size: 46px; line-height: 1.24; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .hl { color: #7cc4ff; }
.hero-lead { font-size: 16px; color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { display: none; } /* 背景已换成电容器实拍图，不再叠加SVG图形 */
.hero-visual svg { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.28)); }
.hero-stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.13);
  border-radius: 14px 14px 0 0; overflow: hidden; margin-top: 62px;
}
.stat { background: rgba(5,30,60,.42); padding: 22px 16px; text-align: center; }
.stat b { display: block; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.3; }
.stat b em { font-style: normal; font-size: 15px; font-weight: 600; color: #7cc4ff; margin-left: 3px; }
.stat span { font-size: 12.5px; color: rgba(255,255,255,.66); letter-spacing: .04em; }

/* ============ 通用区块 ============ */
.section { padding: 78px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.section-eyebrow { display: inline-block; font-size: 11.5px; letter-spacing: .24em; font-weight: 700; color: var(--primary-light); margin-bottom: 10px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-foot { text-align: center; margin-top: 40px; }
.link-more { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; }
.link-more:hover { gap: 9px; }

/* 关于我们 左右分栏 */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.about-visual {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 360px;
  background: linear-gradient(135deg, #062a56 0%, #0b4f9c 60%, #1a6fc4 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px rgba(6,42,86,.22);
}
.about-visual svg { width: 78%; height: auto; opacity: .95; }
.about-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px); border-radius: 10px; padding: 12px 18px; color: #fff;
}
.about-badge b { display: block; font-size: 20px; }
.about-badge span { font-size: 12px; color: rgba(255,255,255,.75); }
.about-copy h2 { font-size: 30px; margin-bottom: 18px; letter-spacing: -.02em; }
.about-copy p { color: var(--text); margin-bottom: 16px; }
.about-copy .btn { margin-top: 12px; }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(11,79,156,.13); border-color: #c9ddf4; }
.product-thumb {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef5ff 0%, #d9e8fb 100%);
  position: relative; overflow: hidden;
}
.product-thumb::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -40px; bottom: -60px;
  border-radius: 50%; background: rgba(59,163,255,.16);
}
.product-code { font-size: 24px; font-weight: 800; color: #0b4f9c; letter-spacing: .1em; position: relative; z-index: 1; }
.product-card:nth-child(3n+2) .product-thumb { background: linear-gradient(135deg, #eefaf7 0%, #d5f0e8 100%); }
.product-card:nth-child(3n+2) .product-code { color: #0d7a63; }
.product-card:nth-child(3n) .product-thumb { background: linear-gradient(135deg, #f3f0ff 0%, #e3dcfb 100%); }
.product-card:nth-child(3n) .product-code { color: #4f3fa8; }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.product-body p { font-size: 13.5px; color: var(--muted); line-height: 1.7; flex: 1; }
.product-body .link-more { margin-top: 14px; font-size: 13px; }

/* 特性 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px; transition: .25s; }
.feature:hover { box-shadow: 0 14px 34px rgba(11,79,156,.1); transform: translateY(-3px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 11px; background: #edf5ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature h3 { font-size: 16px; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* 应用领域 */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px;
  transition: .25s;
}
.industry:hover { border-color: #c9ddf4; box-shadow: 0 10px 26px rgba(11,79,156,.08); }
.industry-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; background: #edf5ff; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.industry h3 { font-size: 15px; margin-bottom: 2px; }
.industry p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; transition: .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(11,79,156,.1); border-color: #c9ddf4; }
.news-date { font-size: 12px; color: var(--primary-light); letter-spacing: .08em; font-weight: 600; margin-bottom: 10px; }
.news-card h3 { font-size: 16.5px; line-height: 1.55; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { font-size: 13px; color: var(--muted); flex: 1; }

/* CTA */
.cta { background: linear-gradient(118deg, #052247, #0b4f9c 70%, #1268b8); color: #fff; padding: 58px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 27px; letter-spacing: -.01em; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.75); font-size: 14.5px; }

/* ============ 页脚 ============ */
.site-footer { background: #041f3c; color: #93aecb; padding-top: 58px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 42px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .brand-mark { width: 38px; height: 38px; font-size: 13px; box-shadow: none; }
.footer-brand b { color: #fff; font-size: 18px; letter-spacing: .01em; }
.footer-about { line-height: 1.85; color: #8ea9c6; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #93aecb; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; line-height: 1.7; }
.footer-contact svg { flex: 0 0 15px; margin-top: 4px; color: #6fa8e0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 18px 0 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #7b97b5;
}

/* ============ 内页 ============ */
.page-hero {
  background: linear-gradient(118deg, #052247 0%, #0b4f9c 62%, #1268b8 100%);
  color: #fff; padding: 54px 0; position: relative; 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: 48px 48px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 30px; letter-spacing: -.01em; }
.breadcrumb { font-size: 12.5px; color: rgba(255,255,255,.68); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.68); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 7px; opacity: .5; }

.page-wrap { padding: 56px 0 72px; background: var(--bg); }
.single-content { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px 44px; max-width: 900px; margin: 0 auto; }
.single-content h1 { font-size: 28px; margin-bottom: 18px; letter-spacing: -.01em; }
.entry-content > p { margin-bottom: 16px; color: var(--text); }
.entry-content h2 { font-size: 21px; margin: 30px 0 12px; }
.entry-content h3 { font-size: 17px; margin: 24px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 20px; }
.entry-content li { margin-bottom: 7px; }
.entry-content img { border-radius: 8px; margin: 18px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry-content th { background: #f4f8fd; color: var(--ink); font-weight: 600; }
.entry-content blockquote { border-left: 3px solid var(--primary); background: #f6f9fd; padding: 14px 18px; margin: 18px 0; color: var(--text); }

/* 文章列表（博客页） */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-list article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: .25s; }
.post-list article:hover { box-shadow: 0 14px 34px rgba(11,79,156,.09); }
.post-list h2 { font-size: 19px; margin-bottom: 10px; }
.post-list h2 a { color: var(--ink); }
.post-list h2 a:hover { color: var(--primary); }
.post-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.post-excerpt { font-size: 14px; color: var(--text); }

/* 文章详情 */
.post-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.post-hero h1 { font-size: 32px; max-width: 900px; letter-spacing: -.02em; margin-bottom: 14px; }
.post-hero .post-meta { margin-bottom: 0; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px 44px; max-width: 860px; margin: 0 auto; }
.article-card .entry-content > p:first-child { font-size: 16.5px; color: #46596f; }
.entry-footer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* 产品详情 */
.product-detail { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.product-aside { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; position: sticky; top: 100px; }
.product-aside h3 { font-size: 17px; margin-bottom: 10px; }
.product-aside p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.product-aside .btn { width: 100%; justify-content: center; }
.aside-list { list-style: none; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.aside-list li { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted); }
.aside-list b { color: var(--ink); font-weight: 600; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.product-tags a, .product-tags span {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
  background: #eef5ff; color: var(--primary); border: 1px solid #d8e8fb;
}
.product-tags .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 分页 */
.pagination { text-align: center; margin: 40px 0 0; }
.pagination .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 3px; background: #fff;
  border: 1px solid var(--line); border-radius: 7px; color: var(--text); font-size: 14px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-visual { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .hero {
    background:
      linear-gradient(180deg, rgba(4,26,54,.88) 0%, rgba(6,42,86,.82) 100%),
      url("assets/images/hero-bg.jpg") 68% center / cover no-repeat,
      #052247;
  }
  .header-inner { height: 66px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(11,79,156,.1);
    display: none; padding: 10px 16px 18px;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px 10px; border-radius: 6px; font-size: 15px; }
  .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { display: none; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .post-list { grid-template-columns: 1fr; }
  .article-card, .single-content { padding: 26px 22px; }
  .post-hero h1 { font-size: 25px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 54px 0; }
  .hero-inner { padding-top: 48px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 14.5px; }
  .hero-stats { margin-top: 42px; }
  .stat { padding: 16px 10px; }
  .stat b { font-size: 22px; }
  .section-head h2 { font-size: 25px; }
  .product-grid, .feature-grid, .industry-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 19px; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 24px; }
  .page-wrap { padding: 36px 0 50px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ 2.1 增强：搜索 / 参数卡片 / 浮动按钮 ============ */
:root { --warm: #f59e0b; }

/* 页头搜索框 */
.header-search {
  display: flex; align-items: center; flex: 1; max-width: 380px; margin: 0 18px;
  height: 46px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0 4px 0 0;
  overflow: hidden; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,79,156,.08); }
.header-search input {
  flex: 1; min-width: 0; height: 100%; border: none; outline: none;
  padding: 0 16px; font-size: 15px; background: transparent; color: var(--ink);
}
.header-search input::placeholder { color: #9fb0c3; }
.header-search button {
  flex: 0 0 38px; width: 38px; height: 38px; padding: 0;
  border: none; cursor: pointer; border-radius: 8px;
  background: transparent; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.header-search button svg { width: 20px; height: 20px; display: block; }
.header-search button:hover { background: rgba(11,79,156,.09); color: var(--primary-dark); }

/* 产品卡片参数化 */
.product-card-meta {
  font-size: 12px; color: var(--primary-light); font-weight: 600;
  letter-spacing: .04em; margin-bottom: 6px;
}
.product-card-specs {
  list-style: none; margin: 12px 0 0; padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.product-card-specs li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 4px 0; font-size: 13px;
}
.product-card-specs span { color: var(--muted); flex-shrink: 0; }
.product-card-specs b { color: var(--ink); font-weight: 600; text-align: right; }
.btn-view {
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-view i { font-style: normal; transition: transform .25s; }
.product-card:hover .btn-view i { transform: translateX(4px); }
.product-body h3 { margin-bottom: 4px; }

/* 分类标签数量 */
.product-tags em {
  font-style: normal; font-size: 11px; font-weight: 600;
  background: rgba(11,79,156,.08); color: var(--primary);
  padding: 1px 7px; border-radius: 999px; margin-left: 3px;
}
.product-tags a.active em { background: rgba(255,255,255,.28); color: #fff; }

/* 浮动操作按钮 */
.float-actions {
  position: fixed; right: 18px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--primary);
  border: 1px solid var(--line); cursor: pointer;
  box-shadow: 0 8px 24px rgba(11,79,156,.16);
  display: flex; align-items: center; justify-content: center;
  transition: .22s; padding: 0;
}
.float-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); text-decoration: none; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .nav-toggle { order: 2; }
  .header-search { order: 3; flex: 1 1 100%; max-width: none; margin: 0; height: 44px; }
  .main-nav { order: 5; }
  .float-actions { right: 12px; bottom: 16px; }
  .float-btn { width: 42px; height: 42px; }
}
