/* 顶部联系方式条 */
.top-sticky{position:sticky;top:0;z-index:60;background:#fff}
.top-sticky .site-header{position:static;top:auto;z-index:auto}
.topbar{background:var(--brand);color:#fff}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;flex-wrap:nowrap}
.topbar-tag{font-size:.82rem;opacity:.85;letter-spacing:.04em;white-space:nowrap}
.topbar-links{display:flex;align-items:center;gap:18px;flex-wrap:nowrap}
.topbar-links a{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:600;font-size:.92rem;white-space:nowrap;flex:0 0 auto}
.topbar-links a:hover{text-decoration:underline}
.topbar-links svg{width:16px;height:16px;flex:0 0 16px;display:block}
.topbar-wechat{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:600;font-size:.92rem;white-space:nowrap;flex:0 0 auto}
.topbar-wechat b{font-weight:700;user-select:all}
.topbar-wechat svg{width:16px;height:16px;flex:0 0 16px;display:block}

/* 首页紧凑版：减少空白与重复区块，滚动条更快到底 */
.home .section{padding:34px 0}
.home section[id]{scroll-margin-top:120px}
.home .hero{padding:40px 0 22px}
.home .hero-grid{display:block}
.home .hero-media{display:none}
.home .hero h1{font-size:clamp(1.55rem,3vw,2.2rem);margin-bottom:12px}
.home .hero .lead{max-width:70ch}
.home .hero-actions{margin:16px 0 12px}
.home .hero-points{gap:14px;font-size:.86rem}
.home .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0}
.home .stats-grid strong{font-size:1.15rem}
.home .section-head{margin-bottom:16px}
.home .section-head h2{font-size:clamp(1.35rem,2.6vw,1.8rem)}
.home .section-head .lead{margin-top:6px}
.home .group-title{margin:18px 0 8px}

/* 产品行 */
.home .prod-list{display:flex;flex-direction:column;gap:8px}
.home .prod{display:flex;align-items:center;gap:14px;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.home .prod img{width:72px;height:54px;object-fit:cover;border-radius:8px;flex:none;border:1px solid var(--border)}
.home .prod-main{flex:1;min-width:0}
.home .prod-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.98rem;font-weight:600;color:var(--text);line-height:1.4}
.home .prod-title .tag{margin:0;padding:2px 8px;font-size:.72rem}
.home .prod-desc{margin:2px 0 0;color:var(--muted);font-size:.84rem;line-height:1.45}
.home .prod .btn{flex:none}

/* 表格与 FAQ 紧凑 */
.home table th,.home table td{padding:8px 10px;font-size:.9rem}
.home .faq details{padding:8px 0}
.home .faq summary{font-size:.95rem}

/* 关于 / 联系 */
.home .about-grid{gap:24px}
.home .about-list li{padding:6px 0}
.home #contact .contact-actions{margin-top:14px}
.home #contact .note{margin-top:10px}

@media (max-width:640px){
  .top-sticky{position:static}
  .topbar{position:sticky;top:0;z-index:60;box-shadow:0 2px 8px rgba(15,23,42,.12)}
  .contact-rail{display:none}
  .topbar-tag{display:none}
  .topbar-inner{justify-content:center;gap:24px;min-height:40px}
  .topbar-links a{font-size:.86rem}
  .topbar-wechat{font-size:.86rem}
  .home section[id]{scroll-margin-top:56px}
  .home .stats-grid{grid-template-columns:1fr;gap:0;padding:8px 0}
  .home .stats-grid div{flex-direction:row;align-items:baseline;justify-content:flex-start;text-align:left;gap:8px;padding:5px 0}
  .home .stats-grid strong{font-size:1rem;min-width:18px}
  .home .stats-grid span{font-size:.8rem}
  .home .cards-4{grid-template-columns:1fr;gap:8px}
  .home .cards-4 .card{flex-direction:row;align-items:stretch;gap:0}
  .home .cards-4 .card-media{width:96px;flex:none;aspect-ratio:auto;border-right:1px solid var(--border)}
  .home .cards-4 .card-media img{height:100%;object-fit:cover}
  .home .cards-4 .card-body{padding:10px 12px;gap:4px;justify-content:center}
  .home .cards-4 .tags{display:none}
  .home .cards-4 .card-body h4{font-size:.95rem}
  .home .cards-4 .card-body p{font-size:.8rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .home .cards-4 .card-body .meta{font-size:.72rem;margin-top:0}
  .home .cards-4 .card-body .btn{padding:6px 10px;font-size:.8rem;margin-top:4px}
  .home .topbar-links{gap:14px}
  .home .section{padding:26px 0}
  .home .prod img{display:none}
  .home .prod{padding:10px 12px}
  .home .prod .btn{padding:6px 10px;font-size:.8rem}
}
