/* ==========================================================================
   components.css — 通用组件层（区块 / 页头 / 导航 / 抽屉 / Hero / 卡片 /
   徽章 / 统计 / 特性 / 页签 / 时间轴 / 手风琴 / 灯箱 / 分页 / 页脚 / 返回顶部 / 产品详情）
   类名必须与模板 / JS 完全一致
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 区块 .section
   -------------------------------------------------------------------------- */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--c-bg-white);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
  padding-left: 14px;
  border-left: 4px solid var(--c-primary);
}

.section__title small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-steel-light);
  margin-top: 6px;
  letter-spacing: .03em;
}

.section__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  white-space: nowrap;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section__more:hover {
  color: var(--c-primary-dark);
}

.section__more::after {
  content: "→";
  margin-left: 6px;
  transition: transform .2s ease;
}

.section__more:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   2. 页头 .page-head 与面包屑
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 60%, rgba(20,102,184,.75) 100%);
  padding: 60px 0;
  color: #fff;
}

.page-head__title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.page-head__sub {
  margin-top: 10px;
  font-size: 15px;
  color: #B9CFE4;
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #A9C3DC;
  text-decoration: none;
  min-height: 44px;
  padding: 4px 0;
}

.breadcrumb__item:hover {
  color: #fff;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: rgba(255,255,255,.4);
}

.breadcrumb__item:last-child {
  color: var(--c-primary);
  font-weight: 600;
}

.breadcrumb__item:last-child:hover {
  color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   3. 栅格 .grid
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --------------------------------------------------------------------------
   4. 顶部导航 .header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
  flex-shrink: 0;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.2;
  letter-spacing: .01em;
}

.header__logo-text small {
  display: block;
  font-family: var(--font-cn);
  font-size: 11px;
  font-weight: 400;
  color: var(--c-steel-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color .2s ease;
}

.nav__link:hover {
  color: var(--c-primary);
}

.nav__link.is-active {
  color: var(--c-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--c-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 汉堡按钮：桌面端隐藏，<1024px 显示（responsive.css 控制） */
.btn-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.btn-hamburger:hover {
  background: var(--c-primary-light);
}

.btn-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-navy);
  transition: transform .28s ease, opacity .28s ease;
}

.btn-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. 侧滑抽屉 .drawer
   -------------------------------------------------------------------------- */
.drawer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(11,42,74,.18);
}

.drawer.is-open {
  transform: none;
}

.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,42,74,.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.drawer__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-line);
}

.drawer__head img {
  height: 32px;
  width: auto;
}

.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 24px;
  color: var(--c-text-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.drawer__close:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
}

.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.drawer__item {
  display: block;
  padding: 0 24px;
  min-height: 48px;
  line-height: 48px;
  font-size: 17px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.drawer__item:hover {
  color: var(--c-primary);
  background: var(--c-primary-light);
}

.drawer__item.is-active {
  color: var(--c-primary);
  font-weight: 600;
  border-left-color: var(--c-primary);
  background: var(--c-primary-light);
}

.drawer__actions {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--c-line);
}

.drawer__actions .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. 语言切换 .lang-switch
   -------------------------------------------------------------------------- */
.lang-switch {
  position: relative;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-2);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.lang-switch__btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.lang-switch__btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.lang-switch.is-open .lang-switch__btn::after {
  transform: rotate(225deg) translateY(-1px);
}

.lang-switch__menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  min-width: 140px;
  display: none;
  padding: 6px;
  margin-top: 6px;
  z-index: 20;
}

.lang-switch.is-open .lang-switch__menu {
  display: block;
}

.lang-switch__item {
  padding: 10px 16px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.lang-switch__item:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}

.lang-switch__item--off {
  color: var(--c-steel-light);
  cursor: not-allowed;
}

.lang-switch__item--off:hover {
  background: none;
  color: var(--c-steel-light);
}

/* --------------------------------------------------------------------------
   7. 首页 Hero 轮播
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  height: 88vh;
  max-height: 900px;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}

.hero__slide {
  flex: 0 0 100%;
  position: relative;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  padding: 0 8%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #BFD6EA;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(2px);
}

.hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 720px;
}

.hero__subtitle {
  font-size: 20px;
  color: #DCE8F4;
  margin-top: 16px;
  max-width: 640px;
  line-height: 1.7;
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero__dot {
  width: 34px;
  height: 10px;
  border-radius: 5px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background-color .2s ease;
}

.hero__dot.is-active {
  background: #fff;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(11,42,74,.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, border-color .2s ease;
}

.hero__arrow:hover {
  background: rgba(20,102,184,.6);
  border-color: #fff;
}

.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* --------------------------------------------------------------------------
   8. 卡片 .card（产品 / 新闻 / 案例通用）
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--c-primary);
}

.card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--c-primary-light);
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.card:hover .card__img img {
  transform: scale(1.05);
}

.card__img .card__img-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

.card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.45;
}

.card__title a {
  color: inherit;
}

.card__title a:hover {
  color: var(--c-primary);
}

.card__text {
  font-size: 14px;
  color: var(--c-steel);
  margin-top: 8px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  font-size: 13px;
  color: var(--c-steel-light);
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.card__meta span + span::before {
  content: "·";
  margin-right: 6px;
  color: var(--c-line);
}

.card__link {
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.card__link::after {
  content: "→";
  margin-left: 6px;
  transition: transform .2s ease;
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. 标签 / 徽章
   -------------------------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
  background: var(--c-primary-light);
  color: var(--c-primary);
  white-space: nowrap;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
  background: var(--c-primary-light);
  color: var(--c-primary);
  white-space: nowrap;
}

.badge--ok {
  background: #EAF7F0;
  color: var(--c-success);
}

.badge--warn {
  background: #FDF6E8;
  color: #B0761B;
}

.badge--danger {
  background: #FDF0F0;
  color: var(--c-danger);
}

.badge--steel {
  background: #EEF2F6;
  color: var(--c-steel);
}

/* --------------------------------------------------------------------------
   10. 数据统计 .stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  transition: box-shadow .25s ease, transform .25s ease;
}

.stat:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.stat__num {
  font-size: 40px;
  font-weight: 700;
  color: var(--c-primary);
  font-family: var(--font-en);
  line-height: 1.1;
}

.stat__num em {
  font-style: normal;
  font-size: 20px;
  color: var(--c-accent);
}

.stat__label {
  color: var(--c-steel);
  margin-top: 8px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   11. 特性 .features
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.feature:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--c-primary);
  transform: translateY(-3px);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-en);
  margin-bottom: 14px;
}

.feature__icon--accent {
  background: var(--c-accent);
}

.feature__title {
  font-weight: 600;
  font-size: 17px;
  color: var(--c-text);
}

.feature__text {
  font-size: 14px;
  color: var(--c-steel);
  margin-top: 8px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. 页签 .tabs
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-text-2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.tab:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.tab.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   13. 时间轴 .timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--c-line);
}

.timeline__item {
  position: relative;
  padding: 0 0 28px 12px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--c-primary);
}

.timeline__year {
  font-weight: 700;
  color: var(--c-primary);
  font-size: 18px;
  font-family: var(--font-en);
}

.timeline__title {
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
  margin-top: 2px;
}

.timeline__body {
  color: var(--c-text-2);
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. 手风琴 .accordion
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.accordion__item {
  border-bottom: 1px solid var(--c-line);
}

.accordion__item:last-child {
  border-bottom: 0;
}

.accordion__head {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
  min-height: 52px;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  position: relative;
  transition: color .2s ease;
}

.accordion__head:hover {
  color: var(--c-primary);
}

.accordion__head::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--c-primary);
  border-radius: 50%;
  background: var(--c-primary-light);
  transition: transform .3s ease;
}

.accordion__item.is-open .accordion__head::after {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
  color: var(--c-steel);
  line-height: 1.7;
  font-size: 14px;
}

.accordion__item.is-open .accordion__body {
  max-height: 400px;
  padding-bottom: 16px;
}

/* --------------------------------------------------------------------------
   15. 灯箱 .lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,42,74,.92);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: 92%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox__caption {
  color: #fff;
  margin-top: 14px;
  text-align: center;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.6;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color .2s ease;
}

.lightbox__close:hover {
  background: rgba(255,255,255,.15);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color .2s ease;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,.15);
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* --------------------------------------------------------------------------
   16. 分页 .pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.pagination__item:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.pagination__item.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  cursor: default;
}

.pagination__item.is-disabled {
  color: var(--c-steel-light);
  cursor: not-allowed;
  opacity: .6;
}

/* --------------------------------------------------------------------------
   17. 页脚 .footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--c-navy);
  color: #fff;
  margin-top: 80px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand img {
  height: 36px;
  width: auto;
}

.footer__brand span {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer__text {
  color: #A9C3DC;
  font-size: 14px;
  line-height: 1.8;
}

.footer__link {
  display: block;
  color: #A9C3DC;
  text-decoration: none;
  padding: 6px 0;
  font-size: 14px;
  transition: color .2s ease;
}

.footer__link:hover {
  color: #fff;
}

.footer__contact {
  color: #A9C3DC;
  font-size: 14px;
  line-height: 2;
}

.footer__contact strong {
  color: #fff;
  font-weight: 600;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #8A9AAB;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   18. 返回顶部 .back-to-top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, background-color .2s ease;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(11,42,74,.3);
}

.back-to-top:hover {
  background: var(--c-primary-dark);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   19. 产品详情 .pdetail
   -------------------------------------------------------------------------- */
.pdetail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.pdetail__gallery {
  position: sticky;
  top: 96px;
}

.pdetail__main-img {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  cursor: zoom-in;
}

.pdetail__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdetail__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pdetail__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease;
}

.pdetail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdetail__thumb:hover {
  border-color: var(--c-primary);
}

.pdetail__thumb.is-active {
  border-color: var(--c-primary);
}

.pdetail__info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
}

.pdetail__sub {
  margin-top: 10px;
  font-size: 15px;
  color: var(--c-steel);
  line-height: 1.7;
}

.pdetail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pdetail__specs {
  margin-top: 24px;
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
}

.pdetail__specs-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 12px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

.spec-table thead th {
  background: var(--c-navy);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.spec-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 36%;
  color: var(--c-text-2);
  font-weight: 500;
  white-space: nowrap;
}

.pdetail__cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   20. 案例卡片 meta（复用 .card 体系）
   -------------------------------------------------------------------------- */
.case-card .card__meta {
  margin-top: 10px;
}

.case-card .card__meta .tag {
  margin-right: 0;
}

/* 通用：图片占位底色 */
.img-placeholder {
  background: linear-gradient(135deg, var(--c-primary-light), #D6E6F6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 14px;
}

/* ========== 21. 导航"产品中心"下拉菜单（悬停/触屏点击） ========== */
.nav-drop { position: relative; }
.nav__caret { font-size: 10px; margin-left: 4px; opacity: .7; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 210px; background: #fff; border: 1px solid var(--c-line);
  border-radius: 8px; box-shadow: var(--shadow-pop); padding: 8px;
  display: none; z-index: 120;
}
.nav-drop:hover .nav-dropdown,
.nav-drop:focus-within .nav-dropdown,
.nav-drop.is-open .nav-dropdown { display: block; }
.nav-dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-dropdown__item {
  display: block; padding: 9px 14px; border-radius: 6px; color: var(--c-text-2);
  font-size: 14px; text-decoration: none; white-space: nowrap; min-height: 38px;
}
.nav-dropdown__item:hover { background: var(--c-primary-light); color: var(--c-primary); }

/* ========== 22. 产品中心：左侧分类目录树 ========== */
.pcat { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.tree {
  background: #fff; border: 1px solid var(--c-line); border-radius: 8px;
  padding: 16px; position: sticky; top: 92px;
}
.tree__head { font-weight: 600; font-size: 15px; padding: 0 8px 12px; border-bottom: 1px solid var(--c-line); margin-bottom: 10px; color: var(--c-text); }
.tree__item { display: block; padding: 9px 10px; border-radius: 6px; color: var(--c-text-2); font-size: 14px; text-decoration: none; }
.tree__item:hover { background: var(--c-primary-light); color: var(--c-primary); }
.tree__item.is-active { background: var(--c-primary); color: #fff; font-weight: 600; }
.tree__branch { margin-bottom: 2px; }
.tree__row { display: flex; align-items: center; }
.tree__toggle {
  width: 32px; height: 32px; flex: 0 0 32px; border: 0; background: none; cursor: pointer;
  color: var(--c-steel); font-size: 12px; border-radius: 6px; transition: transform .2s;
}
.tree__toggle:hover { background: var(--c-primary-light); color: var(--c-primary); }
.tree__branch.is-open .tree__toggle { transform: rotate(90deg); }
.tree__item--cat { flex: 1; }
.tree__children {
  display: none; padding-left: 14px; border-left: 2px solid var(--c-line);
  margin-left: 15px; margin-bottom: 6px;
}
.tree__branch.is-open .tree__children { display: block; }
.tree__leaf { display: block; padding: 7px 10px; border-radius: 6px; color: var(--c-steel); font-size: 13px; text-decoration: none; }
.tree__leaf:hover { background: var(--c-primary-light); color: var(--c-primary); }
.tree__leaf--empty { color: var(--c-steel-light); font-style: italic; }

/* 移动端抽屉：分类子菜单 */
.drawer__sub { padding: 0 20px 8px 28px; }
.drawer__sub-item { display: block; padding: 9px 0; color: var(--c-steel); font-size: 14px; text-decoration: none; }
.drawer__sub-item:hover { color: var(--c-primary); }

/* ========== 23. RTL（波斯语）适配 ========== */
[dir="rtl"] .lang-switch__menu { right: auto; left: 0; }
[dir="rtl"] .hero__arrow--prev { left: auto; right: 24px; }
[dir="rtl"] .hero__arrow--next { right: auto; left: 24px; }
[dir="rtl"] .tree__children {
  padding-left: 0; padding-right: 14px; border-left: 0;
  border-right: 2px solid var(--c-line); margin-left: 0; margin-right: 15px;
}
[dir="rtl"] .tree__branch.is-open .tree__toggle { transform: rotate(-90deg); }
[dir="rtl"] .nav__caret { margin-left: 0; margin-right: 4px; }

/* ========== 24. 产品详情页：第一行简介 + 第二行详情 ========== */
.pdetail__info h1 { font-size: 30px; color: var(--c-navy); }
.pdetail__info .badge { margin-bottom: 10px; }
.pdetail__summary {
  font-size: 17px;
  color: var(--c-text-2);
  line-height: 1.75;
  margin: 14px 0 0;
}
.pdetail__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) {
  .pdetail__info h1 { font-size: 24px; }
}

/* ========== 25. 联系悬浮窗（右下角，可关闭/重新打开） ========== */
.float-contact {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 230px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 42, 74, .16);
  padding: 16px;
  z-index: 140;
  transition: opacity .25s, transform .25s;
}
.float-contact.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.float-contact__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: var(--c-steel-light);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.float-contact__close:hover { color: var(--c-danger); background: var(--c-bg); }
.float-contact__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
  padding-right: 24px;
  margin-bottom: 10px;
}
.float-contact__qr {
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 10px;
  background: #fff;
}
.float-contact__qr img { width: 100%; height: auto; display: block; }
.float-contact__list { list-style: none; margin: 0; padding: 0; }
.float-contact__list li {
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.6;
  padding: 3px 0;
  word-break: break-all;
}
.float-contact__label { color: var(--c-steel); }
.float-contact__list a { color: var(--c-primary); text-decoration: none; }
.float-contact__list a:hover { text-decoration: underline; }
.float-contact__open {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--c-primary);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 42, 74, .25);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.float-contact__open.is-visible { opacity: 1; pointer-events: auto; }
.float-contact__open:hover { background: var(--c-primary-dark); }

/* --------------------------------------------------------------------------
   产品页：本分类其他产品（文字内链）
   作用：让同分类的每个产品都从彼此页面获得一条以产品名为锚文本的内链，
        均衡内链权重、增加抓取路径（配合"相关产品"改为相邻环形取用）
   -------------------------------------------------------------------------- */
.sibling-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 28px;
}
.sibling-links li { margin: 0; padding: 0; }
.sibling-links a {
  display: block;
  padding: 6px 0 6px 16px;
  position: relative;
  color: var(--c-text);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px dashed var(--c-line);
  transition: color .2s, border-color .2s;
}
.sibling-links a::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: .55;
}
.sibling-links a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.sibling-links a:hover::before { opacity: 1; }
@media (max-width: 767px) {
  .sibling-links { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767px) {
  .float-contact { right: 14px; bottom: 84px; width: 210px; padding: 14px; }
  .float-contact__open { right: 14px; bottom: 84px; }
}

/* ---------- 表单反垃圾验证（一位数加法题） ---------- */
.form__group--captcha { max-width: 240px; }
.form__input--captcha { max-width: 96px; text-align: center; font-weight: 600; letter-spacing: .06em; }
