/* ============================================================
   汉王大健康 Hanvon Healthcare — 官网主题样式
   视觉基础：原站 hanvonhealth（白底导航 / 蓝色悬停下拉 / Lato 风格）
   强调色：科技蓝 #266FFF
   ============================================================ */

:root {
  --primary: #266FFF;
  --primary-dark: #1a55d6;
  --ink: #313131;
  --muted: #8d8d8d;
  --line: #e8ecf3;
  --bg-soft: #f6f8fc;
  --footer-bg: #101a30;
  --footer-ink: #9fb0cc;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
}

img { max-width: 100%; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.clearfix::after { content: ""; display: table; clear: both; }

/* ---------------- 顶部条 ---------------- */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  background: #fff;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--primary); }
.topbar .lang a.active { color: var(--primary); font-weight: 600; }
.topbar .lang span { margin: 0 6px; color: #d3d3d3; }

/* ---------------- 头部导航 ---------------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(16, 26, 48, .08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand img { height: 46px; width: auto; display: block; }

.main-nav > ul { display: flex; align-items: center; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 28px 20px;
  font-size: 16px;
  color: var(--ink);
  position: relative;
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a { color: var(--primary); }
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after { transform: scaleX(1); }

/* 下拉菜单（沿用原站蓝底风格） */
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(38, 111, 255, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
  z-index: 999;
}
.main-nav .dropdown-menu:empty { display: none; }
.main-nav li:hover > .dropdown-menu,
.main-nav li.open > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu li.active a { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 9px 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------------- Banner / Hero ---------------- */
.hero { position: relative; overflow: hidden; background: #eef3fb; }
.hero-track { display: flex; transition: transform .7s ease; }
.hero-slide { position: relative; flex: 0 0 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide { aspect-ratio: 1920 / 800; }
.hero-slide .hero-caption {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 20, 60, .45);
}
.hero-caption h2 { font-size: 44px; font-weight: 700; letter-spacing: 2px; }
.hero-caption p { font-size: 20px; margin-top: 10px; letter-spacing: 4px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  transition: background .2s;
}
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; z-index: 5; }
.hero-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .55);
  margin: 0 5px;
  cursor: pointer;
}
.hero-dots button.active { background: var(--primary); }

/* 内页横幅 */
.page-banner { position: relative; overflow: hidden; background: #dfe8f5; }
.page-banner img { width: 100%; display: block; min-height: 90px; object-fit: cover; }
.page-banner .banner-title {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 6px;
  text-shadow: 0 2px 12px rgba(0, 20, 60, .4);
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.breadcrumb-bar .container { padding-top: 12px; padding-bottom: 12px; }
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar .cur { color: var(--primary); }

/* ---------------- 通用版块 ---------------- */
.section { padding: 70px 0; }
.section.soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 { font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: 2px; }
.section-title .sub { color: var(--muted); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-top: 6px; }
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }

.btn-blue {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 11px 34px;
  border-radius: 4px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: background .2s ease, transform .2s ease;
}
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-line {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 15px;
}
.btn-line:hover { background: var(--primary); color: #fff !important; }

/* ---------------- 首页产品区 ---------------- */
.home-products .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.p-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}
.p-card:hover { box-shadow: 0 14px 34px rgba(16, 26, 48, .12); transform: translateY(-4px); }
.p-card .thumb { height: 320px; overflow: hidden; background: #f2f5fa; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .thumb img { transform: scale(1.05); }
.p-card .info { padding: 26px 30px 30px; }
.p-card .info h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.p-card .info p { color: var(--muted); font-size: 14px; min-height: 66px; }
.p-card .info .btn-blue { margin-top: 18px; }

/* ---------------- Home product recommendation (horizontal cards) ---------------- */
.rec-wrap { position: relative; }
.rec-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px; }
.rec-track::-webkit-scrollbar { display: none; }
.rec-card { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px 26px; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.rec-card:hover { box-shadow: 0 14px 34px rgba(16, 26, 48, .12); transform: translateY(-4px); }
.rec-card h3 { font-size: 18px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.rec-card > p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-card .rec-pic { margin-top: 22px; height: 200px; display: flex; align-items: center; justify-content: center; }
.rec-card .rec-pic img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s ease; }
.rec-card:hover .rec-pic img { transform: scale(1.05); }
.rec-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 16px rgba(16, 26, 48, .18); color: #333; font-size: 26px; line-height: 1; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; }
.rec-arrow:hover { background: #fff; color: var(--primary); }
.rec-prev { left: -16px; }
.rec-next { right: -16px; }
.rec-arrow.disabled { opacity: .3; pointer-events: none; }

/* ---------------- Platform list cards ---------------- */
.pf-card {
  display: flex;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  transition: box-shadow .25s ease;
}
.pf-card:hover { box-shadow: 0 14px 34px rgba(16, 26, 48, .12); }
.pf-card .thumb {
  flex: 0 0 360px;
  height: 250px;
  background: #f2f5fa;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-card .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pf-card .info { flex: 1; min-width: 0; }
.pf-card .info h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.pf-card .info p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 20px; }

/* ---------------- 品牌介绍 ---------------- */
.brand-intro .wrap { display: grid; grid-template-columns: 6.5fr 3.5fr; gap: 50px; align-items: center; }
.brand-intro .text p { text-indent: 2em; margin-bottom: 18px; color: #555; line-height: 2; }
.brand-intro .pic { border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px rgba(16, 26, 48, .14); }
.brand-intro .pic img { display: block; width: 100%; }

/* ---------------- 首页新闻 ---------------- */
.news-list .news-item {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.news-item .date-box {
  flex: 0 0 86px;
  text-align: center;
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 12px 0;
  color: var(--primary);
}
.news-item .date-box .d { font-size: 26px; font-weight: 700; line-height: 1.2; display: block; }
.news-item .date-box .ym { font-size: 13px; color: var(--muted); }
.news-item .txt { flex: 1; min-width: 0; }
.news-item .txt h3 { font-size: 18px; font-weight: 600; line-height: 1.5; }
.news-item .txt h3 a:hover { color: var(--primary); }
.news-item .txt p { color: var(--muted); font-size: 14px; margin: 8px 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .more { color: var(--primary); font-size: 14px; }
.news-item .more:hover { color: var(--primary-dark); }
.news-item .more::after { content: " →"; }

/* ---------------- 内页布局（侧栏 + 内容） ---------------- */
.page-body { padding: 56px 0 70px; }
.page-body .layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }

.side-nav { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.side-nav .side-title {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 22px;
  letter-spacing: 2px;
}
.side-nav a {
  display: block;
  padding: 14px 22px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  position: relative;
}
.side-nav a:last-child { border-bottom: none; }
.side-nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform .2s;
}
.side-nav a:hover, .side-nav a.active { color: var(--primary); background: var(--bg-soft); }
.side-nav a:hover::before, .side-nav a.active::before { transform: scaleY(1); }
.side-nav a.active { font-weight: 600; }
.side-nav a.sub { padding-left: 42px; font-size: 14px; color: var(--muted); }
.side-nav a.sub:hover, .side-nav a.sub.active { color: var(--primary); }

.page-main { min-width: 0; }
.page-main > h1.page-h { font-size: 26px; font-weight: 700; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--line); position: relative; }
.page-main > h1.page-h::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--primary); }

/* ---------------- 产品总览 ---------------- */
.series-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.series-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.series-card:hover { box-shadow: 0 12px 30px rgba(16, 26, 48, .1); transform: translateY(-4px); }
.series-card .thumb { display: block; height: 190px; overflow: hidden; background: #f2f5fa; }
.series-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; }
.series-card h3 { font-size: 18px; padding: 18px 10px 4px; }
.series-card .go { color: var(--primary); font-size: 13px; display: inline-block; padding-bottom: 18px; }
.series-card .go::after { content: " →"; }

/* ---------------- 产品型号列表 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.product-item:hover { box-shadow: 0 12px 30px rgba(16, 26, 48, .1); transform: translateY(-4px); }
.product-item .thumb { height: 210px; display: flex; align-items: center; justify-content: center; background: #f8fafd; padding: 14px; }
.product-item .thumb img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product-item h3 { font-size: 16px; font-weight: 600; padding: 14px 12px 16px; }
.product-item h3 a:hover { color: var(--primary); }

/* ---------------- 产品/平台详情 ---------------- */
.detail-head { text-align: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.detail-head h1 { font-size: 28px; font-weight: 700; }
.detail-head .meta { color: var(--muted); font-size: 13px; margin-top: 12px; }
.detail-head .meta span { margin: 0 12px; }

.product-hero { display: grid; grid-template-columns: 420px 1fr; gap: 44px; align-items: center; margin-bottom: 40px; }
.product-hero .pic { background: #f8fafd; border: 1px solid var(--line); border-radius: 8px; padding: 24px; text-align: center; }
.product-hero .pic img { max-height: 380px; }
.product-hero .desc { color: #555; line-height: 2; }
.product-hero .desc:only-child { grid-column: 1 / -1; }

/* 富文本正文排版 */
.content { font-size: 15px; line-height: 2; color: #444; word-break: break-word; }
.content p { margin-bottom: 16px; }
.content img { max-width: 100%; height: auto; display: block; margin: 10px auto; border-radius: 4px; }
.content h1, .content h2, .content h3, .content h4 { margin: 24px 0 12px; font-weight: 700; color: var(--ink); }
.content ul, .content ol { padding-left: 24px; margin-bottom: 16px; list-style: disc; }
.content ol { list-style: decimal; }
.content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.content td, .content th { border: 1px solid var(--line); padding: 8px 12px; }
.content a { color: var(--primary); }
.content blockquote { border-left: 3px solid var(--primary); background: var(--bg-soft); padding: 12px 18px; margin-bottom: 16px; color: #666; }

/* 平台详情功能块 */
.feat-block { margin-top: 46px; }
.feat-block > h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.feat-block > .lead { color: var(--muted); margin-bottom: 22px; }
.feat-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0; }
.feat-point { background: var(--bg-soft); border-radius: 8px; padding: 22px 20px; text-align: center; }
.feat-point .num { color: var(--primary); font-size: 22px; font-weight: 700; display: block; margin-bottom: 6px; }
.feat-point .name { font-weight: 600; }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot-row .shot { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f8fafd; text-align: center; display: flex; align-items: center; justify-content: center; }
.shot-row .shot img { max-height: 420px; width: auto; max-width: 100%; }
.shot-row.wide .shot img { width: 100%; max-height: none; }

/* ---------------- 新闻列表 ---------------- */
.news-page-list .news-item { border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; margin-bottom: 20px; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.news-page-list .news-item:hover { box-shadow: 0 10px 26px rgba(16, 26, 48, .08); }

/* ---------------- 分页 ---------------- */
.pagination-bar { text-align: center; margin-top: 36px; }
.pagination-bar a, .pagination-bar span {
  display: inline-block;
  min-width: 38px;
  padding: 7px 13px;
  margin: 0 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 14px;
  background: #fff;
}
.pagination-bar a:hover { border-color: var(--primary); color: var(--primary); }
.pagination-bar a.page-num-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination-bar .current, .pagination-bar span.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.no-data { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------------- 时间轴 ---------------- */
.timeline { position: relative; margin: 40px 0 10px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), #9db9ff); }
.timeline .tl-item { position: relative; padding: 0 0 30px 20px; }
.timeline .tl-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}
.timeline .tl-time { color: var(--primary); font-weight: 700; font-size: 17px; }
.timeline .tl-text { color: #555; margin-top: 2px; }
.timeline .tl-item.tbc::before { border-color: #c6d6f5; }
.timeline .tl-item.tbc .tl-time { color: var(--muted); }

/* ---------------- About - company profile (background image) ---------------- */
.about-hero { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 50px; background: url(../images/about_bg.jpg) center/cover no-repeat; }
.about-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .82); }
.about-hero-text { position: relative; padding: 56px 64px; }
.about-hero-text p { color: #2b3a55; line-height: 2.1; margin-bottom: 16px; text-align: justify; }
.about-hero-text p:last-child { margin-bottom: 0; }
.about-timeline-img img { width: 100%; display: block; border-radius: 8px; }

/* ---------------- 公司荣誉 ---------------- */
.honor-block { margin-bottom: 56px; }
.honor-block > h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.honor-block > .lead { color: var(--muted); margin-bottom: 22px; }
.honor-wall { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.honor-wall img { display: block; width: 100%; }
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert-grid .cert { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.cert-grid .cert img { width: 100%; height: 260px; object-fit: contain; background: #fff; display: block; }
.cert-grid.c2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.cert-grid.c2 .cert img { height: 320px; }
.stride-shots { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.stride-shots .shot { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stride-shots img { width: 100%; display: block; }
.stride-link { color: var(--primary); word-break: break-all; }
.badge-strip { margin: 20px 0 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.badge-strip img { height: 84px; width: auto; max-width: 100%; }
.award-grid { margin-top: 18px; grid-template-columns: repeat(4, 1fr); }

/* Image lightbox */
.cert img, .honor-wall img, .badge-strip img, .stride-shots img { cursor: zoom-in; }
.img-lightbox { position: fixed; inset: 0; background: rgba(15,23,42,.88); z-index: 9999; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.img-lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; background: #fff; border-radius: 6px; box-shadow: 0 10px 60px rgba(0,0,0,.5); }
.lb-close { position: fixed; top: 14px; right: 26px; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; user-select: none; }
.lb-close:hover { color: #dbe7ff; }

/* ---------------- 联系我们 ---------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.contact-card { border: 1px solid var(--line); border-radius: 8px; padding: 30px 26px; text-align: center; background: #fff; }
.contact-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 24px;
  line-height: 56px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.contact-card p { color: #555; font-size: 14px; }
.map-banner { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 44px; }
.map-banner img { width: 100%; display: block; }
.contact-map-row { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin-bottom: 44px; }
.contact-map-row .contact-cards { grid-template-columns: 1fr; gap: 16px; margin-bottom: 0; }
.contact-map-row .contact-card { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.contact-map-row .contact-card .icon { margin-bottom: 6px; }
.contact-map-row .map-banner { margin-bottom: 0; display: block; }
.contact-map-row .map-banner img { height: 100%; object-fit: cover; }
a.map-link { transition: box-shadow .2s ease; }
a.map-link:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.shop-qrs { display: grid; grid-template-columns: repeat(3, 200px); gap: 30px; justify-content: center; text-align: center; }
.shop-qrs .qr img { width: 200px; height: 200px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; }
.shop-qrs .qr p { margin-top: 10px; color: #555; font-size: 14px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); margin-top: 0; }
.site-footer .container { max-width: 1400px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 0.7fr 0.7fr 2fr; gap: 24px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; font-weight: 600; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 44px; margin-bottom: 16px; background: #fff; border-radius: 4px; padding: 4px 10px; }
.footer-brand p { font-size: 14px; margin-bottom: 6px; }
.footer-qrs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.footer-qrs .qr img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; padding: 8px; }
.footer-qrs .qr p { font-size: 12px; text-align: center; margin-top: 8px; line-height: 1.5; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; text-align: center; }
.footer-copy span { margin: 0 10px; display: inline-block; }

/* ---------------- 返回顶部 ---------------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 60px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .page-body .layout { grid-template-columns: 1fr; }
  .side-nav { margin-bottom: 10px; }
  .pf-card { flex-direction: column; align-items: stretch; gap: 22px; }
  .pf-card .thumb { flex: none; height: 240px; }
  .brand-intro .wrap { grid-template-columns: 1fr; }
  .home-products .cards { grid-template-columns: 1fr; }
  .series-cards { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .stride-shots { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-map-row { grid-template-columns: 1fr; }
  .hero-caption h2 { font-size: 30px; }
  .rec-card { flex-basis: calc(33.333% - 14px); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .site-header .container { min-height: 64px; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16, 26, 48, .1);
    display: none;
  }
  .main-nav.show { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { padding: 14px 20px; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    background: var(--bg-soft);
    display: none;
  }
  .main-nav li.open > .dropdown-menu { display: block; }
  .main-nav .dropdown-menu a { color: var(--ink); }
  .main-nav .dropdown-menu a:hover { background: var(--line); color: var(--primary); }
  .section { padding: 46px 0; }
  .section-title h2 { font-size: 24px; }
  .hero-slide { aspect-ratio: 1920 / 800; }
  .hero-caption h2 { font-size: 22px; }
  .hero-caption p { font-size: 14px; letter-spacing: 2px; }
  .hero-arrow { display: none; }
  .rec-card { flex-basis: calc(50% - 10px); }
  .rec-arrow { display: none; }
  .about-hero-text { padding: 30px 22px; }
  .series-cards, .product-grid, .feat-points, .shot-row { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid.c2 { grid-template-columns: 1fr; }
  .shop-qrs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 26px; }
  .footer-qrs { grid-template-columns: repeat(2, 1fr); }
  .news-list .news-item { gap: 14px; }
  .news-item .date-box { flex-basis: 70px; }
  .page-banner .banner-title { font-size: 22px; letter-spacing: 3px; }
  .detail-head h1 { font-size: 20px; }
}

/* 轮播限宽：视口接近轮播最大宽度时恢复通栏 */
@media (max-width: 1479px) {
  .hero { margin-top: 0; border-radius: 0; }
}
