/* ============================================================
   HBZHENSU.COM — B2B 外贸独立站样式
   对标 hbdymed.com 版式：轮播 / 数据条 / 产品网格 / 工厂图集 / 资讯 / 页脚
   纯静态，无外部依赖，可直接 file:// 预览
   ============================================================ */

:root {
  --primary: #11609e;
  --primary-dark: #0b3d6b;
  --primary-light: #e9f2fa;
  --accent: #ff7a3d;
  --text: #2b3340;
  --muted: #64748a;
  --line: #e3ebf2;
  --bg-soft: #f1f6fb;
  --footer: #0a2540;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 60, 110, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1380px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-orange { background: var(--accent); color: #fff; }
.btn-orange:hover { background: #e86a2e; transform: translateY(-2px); }

.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker {
  color: var(--primary); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px;
}
.section-head h2 { font-size: 34px; margin: 10px 0 12px; color: var(--primary-dark); }
.section-head p { color: var(--muted); max-width: 720px; margin: 0 auto; }

/* ============================================================
   顶部导航
   ============================================================ */
.topbar {
  background: var(--primary-dark);
  color: #cfe0f0;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; }
.topbar a { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--primary); }
.logo .logo-img { height: 38px; width: auto; display: block; }
.nav-menu { display: flex; gap: 34px; }
.nav-menu a { font-weight: 500; color: var(--text); font-size: 16px; padding: 8px 0; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.wa-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; padding: 9px 18px;
  border-radius: 24px; font-weight: 600; font-size: 14px;
}
.wa-link:hover { opacity: .9; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--primary); border: 1.5px solid var(--primary);
  padding: 8px 16px; border-radius: 24px; font-weight: 600; font-size: 14px; cursor: pointer;
  line-height: 1;
}
.lang-switch:hover { background: var(--primary-light); }
.nav-cta .lang-switch::before { content: '🌐'; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--primary); }

/* ============================================================
   Hero 轮播
   ============================================================ */
.hero { position: relative; overflow: hidden; height: 600px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center; color: #fff;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .slide-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%; }
.hero-slide h1 { font-size: 48px; line-height: 1.2; margin-bottom: 18px; max-width: 700px; }
.hero-slide p.lead { font-size: 19px; max-width: 560px; margin-bottom: 30px; opacity: .95; }
.hero-slide .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.slide-1 {
  background: var(--primary-light) url('../images/hero-banner.jpg?v=3') left 12% / cover no-repeat;
}
.slide-2 {
  background:
    linear-gradient(115deg, rgba(8, 40, 62, .88) 0%, rgba(10, 70, 95, .72) 55%, rgba(23, 162, 184, .60) 100%),
    url('../images/factory-line.jpg?v=5') center center / cover no-repeat;
}
.slide-3 {
  background:
    linear-gradient(115deg, rgba(18, 32, 54, .88) 0%, rgba(30, 58, 96, .74) 55%, rgba(61, 120, 181, .60) 100%),
    url('../images/showroom.jpg?v=4') center center / cover no-repeat;
}
.slide-1 .slide-inner { display: none; }
body.lang-zh .slide-1 {
  background:
    linear-gradient(115deg, rgba(8, 38, 60, .90) 0%, rgba(10, 58, 86, .72) 52%, rgba(20, 110, 130, .42) 100%),
    url('../images/hero-scene.jpg') center center / cover no-repeat;
}
body.lang-zh .slide-1 .slide-inner { display: block; }
.hero1-points { display: flex; gap: 26px; flex-wrap: wrap; margin: 6px 0 28px; }
.hero1-points span { font-size: 15px; font-weight: 600; opacity: .95; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.hero-dots button.active { background: #fff; }

/* ============================================================
   数据条
   ============================================================ */
.stats { background: var(--primary); color: #fff; padding: 46px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 42px; font-weight: 800; }
.stat-label { font-size: 15px; opacity: .9; margin-top: 4px; }

/* ============================================================
   产品网格
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }
.product-thumb {
  height: 220px; display: grid; place-items: center;
  background: var(--primary-light); position: relative; cursor: pointer;
}
.product-body h3 a { color: inherit; text-decoration: none; }
.product-body h3 a:hover { color: var(--primary); }
.product-thumb .ph-icon { font-size: 56px; opacity: .55; }
.product-thumb .ph-tag {
  position: absolute; top: 14px; left: 14px; background: var(--primary);
  color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px;
}
.product-body { padding: 20px 22px 24px; }
.product-body h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.product-body .link { color: var(--primary); font-weight: 600; font-size: 14.5px; }

/* 服务优势 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
}
.feature-card .f-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--primary-light); display: grid; place-items: center; color: var(--primary);
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   工厂图集
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item {
  height: 260px; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; color: #fff; position: relative;
}
.gallery-item .g-label { position: absolute; bottom: 16px; left: 18px; font-weight: 700; font-size: 16px; }
.gallery-item .ph-icon { font-size: 48px; opacity: .7; }
.g-factory { background: linear-gradient(135deg, #1c4e89, #3a79b8); }
.g-showroom { background: linear-gradient(135deg, #0f5f73, #2496a8); }
.g-office { background: linear-gradient(135deg, #27415e, #4a6f9c); }
.g-warehouse { background: linear-gradient(135deg, #5a4a2f, #8a7448); }

/* 关于简介段 */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 32px; color: var(--primary-dark); margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.company-meta { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.company-meta li { color: var(--text); font-size: 15px; padding-left: 18px; position: relative; }
.company-meta li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.company-meta strong { color: var(--primary-dark); }
.about-visual {
  height: 380px; border-radius: var(--radius);
  overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   资讯 / 博客
   ============================================================ */
.news-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.news-filters button {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 9px 22px; border-radius: 24px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: all .2s ease;
}
.news-filters button:hover { border-color: var(--primary); color: var(--primary); }
.news-filters button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }
.news-thumb { height: 190px; background: var(--primary-light); display: block; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px; }
.news-date { color: var(--accent); font-size: 13px; font-weight: 600; margin: 4px 0 6px; }
.news-body h3 { font-size: 18px; margin: 0 0 8px; color: var(--primary-dark); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.news-body .link { color: var(--primary); font-weight: 600; font-size: 14.5px; }

/* CTA 条 */
.cta-band {
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 60px 0; text-align: center;
}
.cta-band h2 { font-size: 32px; margin-bottom: 14px; }
.cta-band p { opacity: .9; margin-bottom: 26px; }

/* ============================================================
   联系页
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.info-item .i-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--primary-light);
  display: grid; place-items: center; font-size: 22px; flex: none;
}
.info-item h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.info-item p { color: var(--muted); font-size: 15px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-group label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fafbfd;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }

/* ============================================================
   页脚
   ============================================================ */
.footer { background: var(--footer); color: #b8c8d8; padding: 70px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer p { font-size: 14.5px; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  text-align: center; font-size: 13.5px; color: #8fa3b8;
}

/* 产品分类侧栏（products页） */
.page-banner {
  position: relative;
  background: #123a63 url('../images/page-banner-bg.jpg?v=1') center center / cover no-repeat;
  color: #fff; padding: 78px 0; text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 38, 74, .78), rgba(9, 38, 74, .58));
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { font-size: 38px; margin-bottom: 10px; letter-spacing: 1px; }
.page-banner p { opacity: .9; }
.breadcrumb { margin-top: 12px; font-size: 14px; opacity: .95; }
.breadcrumb a { color: #dbeafe; text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: .7; }
.breadcrumb .current { color: #fff; }

/* 产品详情页 */
.detail-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start; }
.pd-side { position: sticky; top: 20px; }
.pd-side li a { color: inherit; text-decoration: none; display: block; }
.pd-side li .en { display: block; font-size: 14.5px; }
.pd-side li .cn { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.pd-side li.active { background: var(--primary-light); color: var(--primary); }
.pd-side li.active .en { font-weight: 600; }
.pd-side li.active .cn { color: var(--primary); }

.detail-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.pd-gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pd-main { min-height: 380px; background: #fff; display: flex; align-items: center; justify-content: center; }
.pd-main img { max-width: 100%; max-height: 400px; object-fit: contain; display: block; padding: 20px; border-radius: 10px; }
.pd-info { padding-top: 6px; }
.pd-info .cat-tag { display: inline-block; margin-bottom: 12px; }
.pd-info h2 { font-size: 28px; color: var(--primary-dark); margin: 0 0 16px; line-height: 1.3; }
.pd-info .pd-desc { color: var(--muted); margin-bottom: 18px; }
.pd-highlights { margin: 0 0 22px; display: grid; gap: 10px; }
.pd-highlights li { position: relative; padding-left: 20px; color: var(--text); font-size: 14.5px; }
.pd-highlights li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-next-btn { background: transparent; color: var(--primary); border-color: var(--primary); }
.pd-next-btn:hover { background: var(--primary); color: #fff; }

.pd-detail-tabs { margin-top: 36px; }
.pd-tab-head { display: flex; gap: 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pd-tab-head button { background: #f2f6fa; border: none; padding: 13px 26px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-right: 1px solid #fff; }
.pd-tab-head button.active { background: #fff; color: var(--primary-dark); box-shadow: inset 0 -2px 0 var(--primary); }
.pd-panel { background: #fff; border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 28px 30px; }
.pd-panel p { color: var(--muted); line-height: 1.7; }
.pd-panel ol { margin: 0; padding-left: 0; list-style: none; counter-reset: adv; }
.pd-panel ol li { counter-increment: adv; position: relative; padding-left: 34px; margin-bottom: 18px; color: var(--muted); line-height: 1.6; }
.pd-panel ol li::before { content: counter(adv); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.pd-panel ol li strong { color: var(--primary-dark); display: block; margin-bottom: 3px; }

.pd-specs { margin-top: 36px; }
.pd-specs h3, .pd-related h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.spec-table th { width: 220px; color: var(--primary-dark); background: var(--bg-soft); font-weight: 600; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.pd-related { margin-top: 44px; }
.pd-related .product-card { cursor: pointer; }
.pd-related .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1080px) {
  .detail-wrap { grid-template-columns: 1fr; }
  .pd-side { display: none; }
}
@media (max-width: 760px) {
  .detail-row { grid-template-columns: 1fr; }
  .pd-related .product-grid { grid-template-columns: repeat(2, 1fr); }
}
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; }
.side-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-cat h4 { color: var(--primary-dark); margin-bottom: 14px; }
.side-cat li { padding: 9px 12px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.side-cat li:hover, .side-cat li.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

/* 分类筛选 */
.product-card.hidden { display: none; }
.cat-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.cat-empty p { margin: 0; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .gallery, .stats .container { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-wrap, .shop-layout { grid-template-columns: 1fr; }
  .hero-slide h1 { font-size: 34px; }
}
@media (max-width: 720px) {
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 10px 20px 20px; display: none;
    box-shadow: 0 12px 20px rgba(0,0,0,.1);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }

  /* 窄屏导航压缩：避免 logo / 按钮挤压重叠 */
  .nav { gap: 10px; }
  .logo { gap: 8px; }
  .logo .logo-img { height: 32px; }
  .logo span { font-size: 18px; }
  .nav-cta { gap: 10px; }
  .lang-switch { padding: 7px 12px; font-size: 13px; }
  .wa-link { padding: 8px 11px; }
  .wa-txt { display: none; }

  .product-grid, .news-grid, .feature-grid, .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { height: 340px; }
  .hero-slide h1 { font-size: 28px; }
  .hero-slide p.lead { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .container { flex-direction: column; gap: 2px; }

  /* 规格表窄屏：压缩首列宽度与内边距 */
  .spec-table th { width: 110px; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 13.5px; }

  /* 面包屑窄屏：允许换行、缩小间距 */
  .breadcrumb { font-size: 13px; line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
  .breadcrumb .sep { margin: 0 5px; }
}

/* ===== 分类标签 & 品类矩阵 ===== */
.cat-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.cat-matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 16px; aspect-ratio: 4 / 3.3;
  background: linear-gradient(165deg, #eef3f9 0%, #d7e4f2 100%);
  border: 1px solid var(--line); text-align: center; transition: all .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .c-icon {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 7% 8% 22%; background: transparent; border-radius: 0; margin: 0;
  mix-blend-mode: multiply;
}
.cat-card .c-icon:not(img) { font-size: 54px; display: grid; place-items: center; padding-bottom: 28%; }
.cat-card .cat-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 16px;
  background: linear-gradient(to top, rgba(18,48,86,.78) 0%, rgba(18,48,86,0) 100%);
}
.cat-card h3 { font-size: 16px; color: #fff; }
.cat-card p { font-size: 12.5px; color: rgba(255,255,255,.9); margin-top: 3px; }
.cat-group-title { font-size: 22px; color: var(--primary-dark); margin: 36px 0 18px; padding-left: 12px; border-left: 4px solid var(--primary); }
@media (max-width: 960px){ .cat-matrix { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .cat-matrix { grid-template-columns: 1fr;} }

/* ===== 产品/工厂图片 ===== */
.product-thumb { position: relative; overflow: hidden; background: #f2f6fa; }
.product-thumb img.product-img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 6px; position: absolute; inset: 0; }
.product-thumb.has-img { background: #fff; }
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img.gallery-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gallery-item .g-label { position: absolute; bottom: 14px; left: 16px; z-index: 2; background: rgba(10,45,90,.75); color:#fff; padding:6px 14px; border-radius:20px; }
.product-thumb .ph-tag { position: absolute; z-index: 2; top: 14px; left: 14px; }
.product-thumb .ph-icon { position: relative; z-index: 1; }

/* ===== 产品卡迷你轮播（多图组合品类） ===== */
.mc { position: relative; overflow: hidden; display: block; height: 220px; }
.mc-track { position: absolute; inset: 0; display: flex; transition: transform .35s ease; }
.mc-slide { flex: 0 0 100%; min-width: 100%; height: 100%; position: relative; display: grid; place-items: center; }
.mc-slide img.product-img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 6px 34px; position: absolute; inset: 0; }
.mc-slide .ph-icon { position: relative; z-index: 1; }
.mc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--primary-dark); font-size: 20px; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0,0,0,.2);
  opacity: 0; transition: opacity .2s;
}
.mc:hover .mc-arrow { opacity: 1; }
.mc-prev { left: 8px; } .mc-next { right: 8px; }
.mc-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; z-index: 3; }
.mc-dots button { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,.6); cursor: pointer; padding: 0; }
.mc-dots button.active { background: #fff; width: 16px; border-radius: 4px; }
.mc.single .mc-arrow, .mc.single .mc-dots { display: none; }

/* ============================================================
   柔和几何装饰：板块衔接圆弧 / 淡底纹 / 圆角柔化
   ============================================================ */

/* CTA 横幅与页脚之间的舒缓大波浪过渡（替代生硬直角分界） */
.cta-band { position: relative; }
.cta-band::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,34 C320,68 560,68 760,38 C960,10 1200,10 1440,38 L1440,80 L0,80 Z' fill='%230a2540'/%3E%3C/svg%3E") no-repeat bottom center / 100% 100%;
  pointer-events: none; z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }

/* 浅灰蓝区块右下角的同心圆弧底纹，层次清晰但不抢主体 */
.section-soft {
  background-color: var(--bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%23bcd9ef' stroke-width='2'%3E%3Ccircle cx='300' cy='300' r='80'/%3E%3Ccircle cx='300' cy='300' r='140'/%3E%3Ccircle cx='300' cy='300' r='200'/%3E%3Ccircle cx='300' cy='300' r='250'/%3E%3C/g%3E%3Ccircle cx='300' cy='300' r='30' fill='%23d8ecf9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 430px auto;
}

/* 白色区块右上角点缀淡圆弧（关于简介段） */
.about-section { position: relative; overflow: hidden; }
.about-section::before {
  content: ''; position: absolute; top: -140px; right: -140px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, var(--primary-light) 0%, rgba(233,242,250,0) 70%);
  pointer-events: none;
}

/* 图片圆角柔化（参考大圆弧裁切） */
.about-visual { border-radius: 24px; }
.gallery-item { border-radius: 18px; }
.news-thumb { border-radius: 20px 20px 0 0; }

/* 无配图的纯文字资讯卡片 */
.news-card.no-thumb { background: linear-gradient(180deg, var(--primary-light) 0%, #fff 78%); }
.news-card.no-thumb .news-body { padding-top: 26px; }

@media (max-width: 720px) {
  .section-soft { background-size: 260px auto; }
}

/* ============================================================
   新闻详情页
   ============================================================ */
.article-container { max-width: 860px; }
.article-detail {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 42px; overflow: hidden;
}
.article-thumb { height: 320px; border-radius: 18px; overflow: hidden; margin-bottom: 28px; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.article-meta .news-date { margin: 0; }
.article-title { font-size: 32px; color: var(--primary-dark); line-height: 1.3; margin-bottom: 22px; }
.article-body p { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
.article-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.article-empty { text-align: center; padding: 60px 20px; }
.article-empty h1 { color: var(--primary-dark); margin-bottom: 12px; }
.article-empty p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 720px) {
  .article-detail { padding: 24px 20px; }
  .article-title { font-size: 26px; }
  .article-thumb { height: 220px; }
}
