/* =====================================================================
 * 「关于我们」(about) 五大模块专属样式
 * —— 仅 /about 页面（page-about.php）加载，不影响其他页面/模块。
 * 复用品牌令牌与 brand.css 的 .section / .section__title /
 * .jwmsuo-grid / .jwmsuo-card / .jwmsuo-btn 等通用类，保证风格统一。
 * ===================================================================== */

/* —— 1. 公司简介 —— */
.about-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.about-intro__lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.9;
  color: var(--jwmsuo-text-muted);
  margin: 0 0 14px;
}
.about-intro__lead strong {
  color: var(--jwmsuo-text);
  font-weight: 600;
}

/* 实力亮点：复用 .jwmsuo-grid（3/2/1 响应式） */
.about-highlights { margin-top: 36px; }
.about-highlight {
  background: var(--jwmsuo-white);
  border: 1px solid var(--jwmsuo-border);
  border-radius: var(--jwmsuo-radius-lg);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--jwmsuo-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--jwmsuo-shadow-hover);
}
.about-highlight__icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--jwmsuo-primary-tint);
  color: var(--jwmsuo-primary);
}
.about-highlight__icon svg { width: 26px; height: 26px; }
.about-highlight__title {
  font-size: 17px; font-weight: 600; color: var(--jwmsuo-text);
  margin: 0 0 6px;
}
.about-highlight__desc {
  font-size: 14px; color: var(--jwmsuo-text-muted); line-height: 1.6;
  margin: 0;
}

/* —— 2. 资质证书 —— */
.about-cert__thumb {
  aspect-ratio: 4 / 3;
  background: var(--jwmsuo-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--jwmsuo-primary);
  border-bottom: 1px solid var(--jwmsuo-border);
}
.about-cert__thumb svg { width: 64px; height: 64px; opacity: .9; }
.about-cert__body { padding: 16px 18px; }
.about-cert__name {
  font-size: 15px; font-weight: 600; color: var(--jwmsuo-text);
  margin: 0 0 4px;
}
.about-cert__note {
  font-size: 13px; color: var(--jwmsuo-text-muted); margin: 0;
}

/* —— 3. 国际贸易 —— */
.about-intl {
  max-width: 860px; margin: 0 auto;
}
.about-intl__lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.9; color: var(--jwmsuo-text-muted);
  margin: 0 0 22px;
}
.about-intl__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px;
}
.about-intl__list li {
  position: relative; padding-left: 26px;
  font-size: 15px; color: var(--jwmsuo-text); line-height: 1.6;
}
.about-intl__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--jwmsuo-primary);
}

/* —— 4. 新闻资讯 —— 复用 .jwmsuo-news__grid / .jwmsuo-news-card —— */
.about-news__more { text-align: center; margin-top: 36px; }

/* —— 5. 视频中心 —— */
.about-video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--jwmsuo-text);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.about-video__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-video__play span {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.about-video:hover .about-video__play span { transform: scale(1.08); }
.about-video__play svg { width: 24px; height: 24px; color: var(--jwmsuo-white); margin-left: 3px; }
.about-video__body { padding: 14px 16px; }
.about-video__name {
  font-size: 15px; font-weight: 600; color: var(--jwmsuo-text); margin: 0;
}

/* —— 模块内区块标题左侧装饰线（可选，增强层次） —— */
.section__title--left { text-align: left; }
.section__title--left::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--jwmsuo-primary); border-radius: 2px; margin: 12px 0 0;
}

/* —— 响应式微调 —— */
@media (max-width: 768px) {
  .about-intl__list { grid-template-columns: 1fr; }
}

/* =====================================================================
 * v8.7.1 增强样式（页头 / Tab / 数据指标 / lightbox / 弹层 / scroll-spy）
 * 颜色统一使用 :root 令牌（rgba 仅用于遮罩/叠层）。
 * ===================================================================== */

/* —— 颜色令牌化：修正既有视频缩略图的硬编码色 —— */
.about-video__thumb {
  background: var(--jwmsuo-text);
}
.about-video__play span { background: var(--jwmsuo-primary); }
.about-video__play svg { color: var(--jwmsuo-white); }

/* 证书缩略图内的真实图片 */
.about-cert__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-cert__thumb--placeholder { color: var(--jwmsuo-primary); }

/* —— 页头（唯一 H1 + 面包屑） —— */
.about-hero {
  position: relative;
  background-color: var(--jwmsuo-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 220px;
  display: flex;
  align-items: center;
  color: var(--jwmsuo-white);
  padding: 48px 0;
}
.about-hero .container { width: 100%; }
.about-hero .jwmsuo-breadcrumb { color: rgba(255, 255, 255, .85); margin-bottom: 12px; }
.about-hero .jwmsuo-breadcrumb a { color: rgba(255, 255, 255, .85); }
.about-hero .jwmsuo-breadcrumb a:hover { color: var(--jwmsuo-white); }
.about-hero .jwmsuo-breadcrumb__sep { color: rgba(255, 255, 255, .7); }
.about-hero .jwmsuo-breadcrumb__current { color: var(--jwmsuo-white); }
.about-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--jwmsuo-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

/* —— sticky 横向 Tab 导航 —— */
.about-tabs {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--jwmsuo-white);
  border-bottom: 1px solid var(--jwmsuo-border);
  box-shadow: var(--jwmsuo-shadow);
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.about-tabs__item {
  position: relative;
  display: inline-block;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--jwmsuo-text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  flex: 0 0 auto;
}
.about-tabs__item:hover { color: var(--jwmsuo-primary); }
.about-tabs__item.is-active {
  color: var(--jwmsuo-primary);
  border-bottom-color: var(--jwmsuo-primary);
}
.about-tabs.is-stuck { box-shadow: var(--jwmsuo-shadow-hover); }

/* 锚点平滑滚动时的偏移（避免被 sticky Tab 遮挡标题） */
#about-company,
#about-cert,
#about-trade,
#about-news,
#about-video {
  scroll-margin-top: 76px;
}

/* —— 公司简介：数据指标条 —— */
.jwmsuo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 8px;
}
.about-stat {
  background: var(--jwmsuo-white);
  border: 1px solid var(--jwmsuo-border);
  border-radius: var(--jwmsuo-radius-lg);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--jwmsuo-shadow);
}
.about-stat__num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--jwmsuo-primary);
  line-height: 1.1;
}
.about-stat__suffix {
  font-size: .55em;
  margin-left: 2px;
  color: var(--jwmsuo-primary-dark);
}
.about-stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--jwmsuo-text-muted);
}

/* —— 国际贸易：覆盖行业标签云 —— */
.about-intl__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--jwmsuo-primary-dark);
  background: var(--jwmsuo-primary-tint);
  border: 1px solid var(--jwmsuo-border);
  border-radius: 999px;
}

/* —— 证书 lightbox —— */
.about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .85);
  padding: 24px;
}
.about-lightbox[hidden] { display: none; }
.about-lightbox__img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--jwmsuo-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.about-lightbox__close,
.about-vmodal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: var(--jwmsuo-white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.about-lightbox__close:hover,
.about-vmodal__close:hover { background: rgba(255, 255, 255, .3); }

/* —— 视频弹层 —— */
.about-vmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .85);
  padding: 24px;
}
.about-vmodal[hidden] { display: none; }
.about-vmodal__frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 1);
  border-radius: var(--jwmsuo-radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.about-vmodal__frame > * { width: 100%; height: 100%; }

/* 视频卡片可点击态 */
.about-video { cursor: pointer; }
.about-video:focus-visible {
  outline: 3px solid var(--jwmsuo-primary);
  outline-offset: 2px;
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
  .jwmsuo-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .jwmsuo-stats { grid-template-columns: 1fr; }
  .about-hero { min-height: 180px; padding: 36px 0; }
  .about-tabs { justify-content: flex-start; }
  .section { padding: 44px 0; }
}
