/* ============================================================
   森夫官网 · 视觉重构样式基座（HBC 工业科技风 · 保留森夫蓝 #008aff）
   单 DOM 响应式；不依赖 Bootstrap；自带 12 栅格。
   所有视觉规则集中在此，旧 plugin/*.css 已不再引用。
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --c-primary:        #008aff;   /* 森夫品牌主蓝 */
  --c-primary-dark:   #005bb5;   /* 悬停/按压 */
  --c-primary-deep:   #003a73;   /* 深色区块/导航 */
  --c-primary-deeper: #002a55;   /* 页脚更深 */
  --c-primary-soft:   #e8f2ff;   /* 浅蓝底 */
  --c-ink:            #14202e;   /* 标题深墨 */
  --c-body:           #54607a;   /* 正文 */
  --c-muted:          #8a93a6;   /* 弱化文字 */
  --c-line:           #e7ebf2;   /* 描边 */
  --c-bg:             #ffffff;
  --c-bg-soft:        #f5f8fc;   /* 浅灰蓝区块底 */
  --c-bg-dark:        #0b2138;   /* 深色区块 */

  --radius:    6px;
  --radius-lg: 12px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 10px rgba(16,40,80,.06);
  --shadow:    0 10px 30px rgba(16,40,80,.10);
  --shadow-lg: 0 18px 50px rgba(16,40,80,.16);

  --maxw: 1440px;
  --header-h: 76px;

  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--c-body);
  background: var(--c-bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; color: var(--c-ink); font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
::selection { background: var(--c-primary); color: #fff; }

/* ---------- 栅格（移动优先，自包含） ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
[class^="col-"], [class*=" col-"] { width: 100%; padding: 0 12px; min-width: 0; }
@media (min-width: 576px) {
  .col-sm-3 { width: 25%; } .col-sm-4 { width: 33.3333%; }
  .col-sm-6 { width: 50%; } .col-sm-8 { width: 66.6667%; } .col-sm-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-md-2 { width: 16.6667%; } .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.3333%; } .col-md-5 { width: 41.6667%; }
  .col-md-6 { width: 50%; } .col-md-7 { width: 58.3333%; }
  .col-md-8 { width: 66.6667%; } .col-md-9 { width: 75%; } .col-md-12 { width: 100%; }
}

/* ---------- 区块通用 ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-dark); color: #cdd9e8; }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.section__title { font-size: 34px; position: relative; padding-bottom: 20px; }
.section__title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 54px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-dark));
}
.section__sub { margin-top: 16px; color: var(--c-muted); font-size: 15px; }
.section--dark .section__sub { color: #9fb1c6; }
.text-center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: all .22s ease; line-height: 1; white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(0,138,255,.28); }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,138,255,.36); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--light { background: #fff; color: var(--c-primary-deep); }
.btn--light:hover { background: var(--c-primary-soft); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: #fff; color: var(--c-primary-deep); }
.btn--block { display: flex; width: 100%; }
.btn .arrow { transition: transform .22s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent; transition: all .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--c-line); }
.header-inner { display: flex; align-items: center; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--c-ink); letter-spacing: .02em; }
.brand-name small { display: block; font-size: 10px; font-weight: 500; color: var(--c-muted); letter-spacing: .12em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 16px; font-size: 15px; font-weight: 600;
  color: var(--c-ink); border-radius: var(--radius);
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover { color: var(--c-primary); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--c-primary); }

.nav-extra { display: flex; align-items: center; gap: 14px; margin-left: 18px; }
.lang-switch { font-size: 13px; font-weight: 600; color: var(--c-muted); padding: 6px 12px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); }
.lang-switch:hover { color: var(--c-primary); border-color: var(--c-primary); }
.btn-nav-cta { padding: 9px 20px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s; }
.nav-toggle span:nth-child(1){ top: 13px; } .nav-toggle span:nth-child(2){ top: 20px; } .nav-toggle span:nth-child(3){ top: 27px; }
.nav-toggle.open span:nth-child(1){ top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ top: 20px; transform: rotate(-45deg); }

/* 移动抽屉 */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px; z-index: 1100;
  background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .3s ease; padding: 24px; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 14px 8px; font-size: 16px; font-weight: 600; color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.mobile-nav a.active { color: var(--c-primary); }
.mobile-nav .lang-switch { display: inline-block; margin-top: 18px; }
.mobile-mask { position: fixed; inset: 0; background: rgba(8,20,40,.45); z-index: 1050; opacity: 0; visibility: hidden; transition: .3s; }
.mobile-mask.open { opacity: 1; visibility: visible; }

/* ---------- 首屏 Hero ---------- */
.hero { position: relative; }
.hero .swiper { height: 78vh; min-height: 520px; position: relative; overflow: hidden; }
.hero-slide { position: relative; height: 100%; display: flex; align-items: center; }
.hero-slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(1.24) saturate(1.28) contrast(1.02); }
.hero-slide__mask { position: absolute; inset: 0; z-index: 1; background: radial-gradient(55% 70% at 76% 20%, rgba(96,200,255,.24), transparent 68%), linear-gradient(100deg, rgba(2,44,94,.80) 0%, rgba(0,96,184,.44) 52%, rgba(0,150,255,.16) 100%); }
.hero-slide__inner { position: relative; z-index: 2; color: #fff; max-width: 860px; }
.hero-eyebrow { display: inline-block; font-size: 13px; letter-spacing: .3em; font-weight: 600; color: #a9d5ff; text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(32px, 5vw, 60px); line-height: 1.1; font-weight: 800; color: #fff; text-shadow: 0 2px 22px rgba(0,26,56,.34); }
.hero-desc { margin: 22px 0 32px; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.8; color: #e2eeff; max-width: 680px; text-shadow: 0 1px 10px rgba(0,26,56,.28); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero .swiper-pagination { bottom: 26px !important; text-align: left; padding-left: max(20px, calc((100% - var(--maxw))/2 + 20px)); }
.hero .swiper-pagination-bullet { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45); opacity: 1; transition: .3s; }
.hero .swiper-pagination-bullet-active { width: 52px; background: var(--c-primary); }
.hero .swiper-button-next, .hero .swiper-button-prev { color: #fff; width: 44px; height: 44px; }
.hero .swiper-button-next::after, .hero .swiper-button-prev::after { font-size: 18px; }
.hero .swiper-button-next:hover, .hero .swiper-button-prev:hover { color: var(--c-primary); }

/* ---------- 关于我们板块 ---------- */
.about-block { align-items: center; }
.about-block__media { position: relative; }
.about-block__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-block__img img { width: 100%; height: 420px; object-fit: cover; }
.about-block__text .section__title { text-align: left; }
.about-block__text .section__title::after { left: 0; transform: none; }
.about-block__lead { font-size: 16px; color: var(--c-body); margin: 18px 0 26px; }
.about-stats-mini { display: flex; gap: 30px; margin-top: 8px; }
.about-stats-mini div { }
.about-stats-mini b { display: block; font-size: 30px; color: var(--c-primary); font-weight: 800; }
.about-stats-mini span { font-size: 13px; color: var(--c-muted); }

/* ---------- 核心优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 768px){ .adv-grid { grid-template-columns: repeat(4, 1fr); } }
.adv-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px 26px; transition: .25s; }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.adv-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.adv-card__icon svg { width: 28px; height: 28px; }
.adv-card__title { font-size: 18px; margin-bottom: 10px; }
.adv-card__text { font-size: 14px; color: var(--c-body); line-height: 1.7; }

/* ---------- 产品 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (min-width: 768px){ .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px){ .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.prod-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.prod-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-bg-soft); }
.prod-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover .prod-card__img { transform: scale(1.06); }
.prod-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card__name { font-size: 17px; font-weight: 700; color: var(--c-ink); }
.prod-card__desc { font-size: 13.5px; color: var(--c-body); margin: 8px 0 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card__more { font-size: 14px; font-weight: 600; color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; }
.prod-card:hover .prod-card__more .arrow { transform: translateX(4px); }
.prod-card__more .arrow { transition: transform .22s; }

/* 产品中心页分类筛选 */
.prod-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.prod-filter button { padding: 9px 22px; border: 1px solid var(--c-line); background: #fff; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--c-body); cursor: pointer; transition: .2s; }
.prod-filter button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.prod-filter button.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------- 厂区 / 资质 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 768px){ .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px){ .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- 企业荣誉：横向轮播（撑满正文宽） ---------- */
.honor-swiper { width: 100%; overflow: hidden; }
.honor-swiper .swiper-wrapper { align-items: stretch; }
.honor-swiper .swiper-slide { height: auto; }
.honor-item { height: 100%; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px; aspect-ratio: 5/7; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: .3s; }
.honor-item img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.honor-item:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: var(--shadow); }
.honor-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; }
.honor-btn { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid #e6edf5; color: var(--c-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s; box-shadow: 0 4px 14px rgba(0, 58, 115, .06); padding: 0; }
.honor-btn svg { width: 22px; height: 22px; display: block; }
.honor-btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 10px 22px rgba(0, 138, 255, .3); }
.honor-btn:active { transform: scale(.95); }
.honor-btn.swiper-button-disabled { opacity: .35; cursor: default; background: #fff; border-color: #e6edf5; color: var(--c-primary); box-shadow: none; }
@media (max-width: 767px){ .honor-btn { width: 46px; height: 46px; } .honor-nav { gap: 14px; margin-top: 22px; } }

/* ---------- 数据实力（浅色科技带） ---------- */
.section--stat { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f1f6fd 100%); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section--stat::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(0, 138, 255, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 138, 255, .075) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 0%, transparent 78%); mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 0%, transparent 78%); }
.section--stat .section__title { color: var(--c-ink); }
/* 让文字避开底部波浪：波浪高 120px，需留出足够下内边距（用 .section.section--stat 提高优先级，避免被后面的 .section 媒体查询覆盖） */
.section.section--stat { padding-bottom: 96px; }
@media (min-width: 768px){ .section.section--stat { padding-bottom: 116px; } }
.section--stat > .container { position: relative; z-index: 1; }
.stat-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; overflow: hidden; pointer-events: none; }
.stat-wave svg { width: 200%; height: 100%; display: block; }
.stat-wave .wave-a { animation: waveFlowA 18s linear infinite; }
.stat-wave .wave-b { animation: waveFlowB 26s linear infinite; }
@keyframes waveFlowA { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes waveFlowB { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.stat-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: center; }
@media (min-width: 768px){ .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; color: var(--c-primary-deep); line-height: 1; font-variant-numeric: tabular-nums; transition: color .3s; }
.stat__num .stat__s { color: var(--c-primary); font-size: .62em; font-weight: 700; margin-left: 2px; }
.stat__num .stat__v { color: inherit; }
.stat__num.is-done { animation: statPop .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes statPop { 0% { transform: scale(1); } 42% { transform: scale(1.09); } 100% { transform: scale(1); } }
.stat__label { margin-top: 12px; font-size: 15px; color: var(--c-body); }
.stat__label p { margin: 0; }
@media (prefers-reduced-motion: reduce){ .stat-wave svg { animation: none; } .stat__num.is-done { animation: none; } }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 28px; }
@media (min-width: 768px){ .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--c-bg-soft); }
.news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 13px; color: var(--c-primary); font-weight: 600; margin-bottom: 10px; }
.news-card__title { font-size: 17px; line-height: 1.5; color: var(--c-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__excerpt { font-size: 13.5px; color: var(--c-body); margin: 10px 0 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { font-size: 14px; font-weight: 600; color: var(--c-primary); }

/* 新闻详情 */
.article-detail { max-width: 1000px; margin: 0 auto; }
.article-detail__title { font-size: 30px; line-height: 1.4; margin-bottom: 16px; }
.article-detail__meta { display: flex; gap: 20px; color: var(--c-muted); font-size: 14px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--c-line); }
.article-detail__content { font-size: 16px; line-height: 1.95; color: #2c3a4d; }
.article-detail__content img { max-width: 100%; border-radius: var(--radius); margin: 18px 0; }
.article-detail__content p { margin: 0 0 1.2em; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--c-line); }
.post-nav a { font-size: 14px; color: var(--c-body); }
.post-nav a:hover { color: var(--c-primary); }
.post-nav .disabled { color: var(--c-muted); pointer-events: none; }

/* ---------- 发展历程（方案 C：三列画廊卡） ---------- */
.tl-c { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 600px){ .tl-c { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px){ .tl-c { grid-template-columns: repeat(3, 1fr); } }
.tl-c__card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s; }
.tl-c__card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: #cfe4ff; }
.tl-c__pic { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); }
.tl-c__pic img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.tl-c__card:hover .tl-c__pic img { transform: scale(1.07); }
.tl-c__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,42,85,0) 45%, rgba(0,42,85,.55)); }
.tl-c__y { position: absolute; left: 0; bottom: 0; z-index: 2; font-size: 30px; font-weight: 800; color: #fff; padding: 0 18px 10px; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,20,50,.35); }
.tl-c__bd { padding: 16px 20px 22px; }
.tl-c__t { font-size: 16px; font-weight: 700; color: var(--c-ink); margin: 0 0 6px; }
.tl-c__d { font-size: 14px; color: var(--c-body); margin: 0; line-height: 1.75; }

/* ---------- FAQ 手风琴 ---------- */
.faq-list { width: 100%; margin: 0; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; transition: .2s; }
.faq-item.open { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.faq-item__q { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--c-ink); }
.faq-item__q .q-mark { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.faq-item__q .toggle { margin-left: auto; width: 20px; height: 20px; position: relative; transition: transform .3s; }
.faq-item__q .toggle::before, .faq-item__q .toggle::after { content: ""; position: absolute; background: var(--c-primary); border-radius: 2px; }
.faq-item__q .toggle::before { left: 0; right: 0; top: 9px; height: 2px; }
.faq-item__q .toggle::after { top: 0; bottom: 0; left: 9px; width: 2px; transition: transform .3s; }
.faq-item.open .faq-item__q .toggle::after { transform: scaleY(0); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item__a-inner { padding: 0 22px 20px 62px; color: var(--c-body); font-size: 14.5px; line-height: 1.8; }

/* ---------- 栏目横幅 ---------- */
.page-banner { position: relative; min-height: 320px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(115deg, #0b5cad 0%, #0f8fe6 100%); }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(1.24) saturate(1.28) contrast(1.02); }
.page-banner__mask { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(2, 44, 94, .72) 0%, rgba(0, 104, 196, .44) 55%, rgba(0, 150, 255, .18) 100%); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(52% 72% at 76% 16%, rgba(96,200,255,.34), transparent 68%), radial-gradient(42% 62% at 10% 90%, rgba(0,138,255,.2), transparent 72%); }
.page-banner__inner { position: relative; z-index: 2; color: #fff; text-align: center; width: 100%; }
.page-banner__title { margin: 0; font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: #fff; text-shadow: 0 3px 20px rgba(0, 52, 104, .38); }
.page-banner__sub { margin-top: 12px; color: #e2f1ff; font-size: 15px; letter-spacing: .04em; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 992px){ .contact-wrap { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.contact-wrap > div:first-child { display: flex; flex-direction: column; }
.contact-info { background: var(--c-bg-soft); border-radius: var(--radius-lg); padding: 36px 32px; height: 100%; }
.contact-info__item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--c-line); flex: 1; align-items: center; }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.contact-info__ic svg { width: 22px; height: 22px; }
.contact-info__label { font-size: 13px; color: var(--c-muted); }
.contact-info__val { font-size: 16px; font-weight: 600; color: var(--c-ink); }

.contact-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .form-tip { font-size: 13px; color: var(--c-muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 576px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--c-line); border-radius: var(--radius); font-size: 14.5px; font-family: inherit; color: var(--c-ink); background: #fff; transition: .2s; }
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-msg { margin-top: 14px; font-size: 14px; padding: 10px 14px; border-radius: var(--radius); display: none; }
.form-msg.ok { display: block; background: #e8f7ee; color: #1f9254; }
.form-msg.err { display: block; background: #fdecec; color: #d8453b; }

/* ---------- CTA 引导带 ---------- */
.cta-band { background: linear-gradient(110deg, var(--c-primary-deep), var(--c-primary)); border-radius: var(--radius-lg); padding: 52px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; color: #fff; }
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { margin: 8px 0 0; color: #d6e6fb; }
.cta-band__phone { font-size: 30px; font-weight: 800; color: #fff; }
.cta-band__phone a { color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-primary-deeper); color: #b9c7da; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 36px; padding: 60px 0 44px; }
.footer-brand { flex: 2 1 280px; }
.footer-col { flex: 1 1 180px; min-width: 160px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; color: #93a4bd; line-height: 1.9; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-left: 12px; }
.footer-col h4::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--c-primary); }
.footer-col a { display: block; padding: 7px 0; color: #b9c7da; font-size: 14px; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; padding: 7px 0; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--c-primary); flex: 0 0 16px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; color: #8da0bb; text-align: center; line-height: 1.9; }
.footer-bottom a { color: #8da0bb; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 返回顶部 ---------- */
.back-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 900; cursor: pointer; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--c-primary-dark); }

/* ---------- 焦点框修复（鼠标点击不出现黑框，键盘 Tab 保留） ---------- */
a:focus:not(:focus-visible), button:focus:not(:focus-visible), .btn:focus:not(:focus-visible), input:focus:not(:focus-visible), select:focus:not(:focus-visible), textarea:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible), [contenteditable]:focus:not(:focus-visible) { outline: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, [contenteditable]:focus-visible { outline: 2px solid rgba(0,138,255,.55) !important; outline-offset: 2px; }
html { -webkit-tap-highlight-color: transparent; }

/* ---------- 动效（进入视口） ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式微调 ---------- */
@media (max-width: 991px){
  .main-nav, .nav-extra { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .section__title { font-size: 28px; }
  .about-block__img img { height: 300px; }
  .hero .swiper { height: 64vh; min-height: 420px; }
  .hero .swiper-pagination { padding-left: 20px; }
}
@media (max-width: 575px){
  .container { padding: 0 16px; }
  .brand-logo { height: 30px; }
  .brand-name { font-size: 15px; }
  .section { padding: 50px 0; }
  .cta-band { padding: 36px 24px; }
  .cta-band__phone { font-size: 24px; }
}

/* ---------- 产品详情 ---------- */
.pd { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 880px){ .pd { grid-template-columns: 1fr 1fr; } }
.pd-gallery__main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-bg-soft); }
.pd-gallery__main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 84px; height: 84px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--c-bg-soft); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--c-primary); }
.pd-info__name { font-size: 28px; }
.pd-info__model { display: inline-block; margin: 12px 0 18px; font-size: 13px; color: var(--c-primary); background: var(--c-primary-soft); padding: 4px 12px; border-radius: var(--radius-pill); font-weight: 600; }
.pd-info__intro { font-size: 16px; color: var(--c-body); margin-bottom: 24px; }
/* 产品详情：全宽区块，位于商品图片下方 */
.pd-detail { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--c-line); }
.pd-detail__title { font-size: 22px; font-weight: 700; color: var(--c-ink); margin-bottom: 20px; padding-left: 14px; border-left: 4px solid var(--c-primary); line-height: 1.3; }
.pd-detail__body { font-size: 15px; line-height: 1.95; color: #2c3a4d; }
.pd-detail__body img { max-width: 100%; border-radius: var(--radius); margin: 14px 0; }
.pd-detail__body p { margin: 0 0 12px; }
.pd-actions { display: flex; gap: 14px; margin: 26px 0; flex-wrap: wrap; }
.pd-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.pd-post-nav a { font-size: 14px; color: var(--c-body); }
.pd-post-nav a:hover { color: var(--c-primary); }
.pd-post-nav .disabled { color: var(--c-muted); pointer-events: none; }

/* 图片占位（无封面时） */
.img-ph { width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); }
