/* 荣誉资质 — 步进轮播 + 灯箱（标题在卡片内） */



.honor-muyuan {

  position: relative;

  width: 100%;

  box-sizing: border-box;

}



.honor-muyuan__viewport {

  position: relative;

  overflow: hidden;

  width: 100%;

  touch-action: pan-y pinch-zoom;

  cursor: grab;

  user-select: none;

  -webkit-user-drag: none;

  padding: 8px 0 14px;

  margin: -8px 0 -14px;

}



.honor-muyuan__viewport::before,

.honor-muyuan__viewport::after {

  content: "";

  position: absolute;

  top: 0;

  bottom: 0;

  width: clamp(20px, 3vw, 40px);

  z-index: 2;

  pointer-events: none;

  opacity: 0.88;

}



.honor-muyuan__viewport::before {

  left: 0;

  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);

}



.honor-muyuan__viewport::after {

  right: 0;

  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);

}



.honor-muyuan.is-dragging .honor-muyuan__viewport,

.honor-muyuan__viewport:active {

  cursor: grabbing;

}



.honor-muyuan__track {

  display: flex;

  flex-wrap: nowrap;

  align-items: stretch;

  margin: 0;

  padding: 0;

  list-style: none;

  will-change: transform;

  backface-visibility: hidden;

}



.honor-muyuan__track.is-animate {

  transition: transform 0.52s cubic-bezier(0.25, 0.9, 0.35, 1);

}



.honor-muyuan__track.is-dragging {

  transition: none;

}



.honor-muyuan__item {

  flex: 0 0 auto;

  min-width: 0;

  box-sizing: border-box;

  display: flex;

}



.honor-muyuan__fig {

  margin: 0;

  width: 100%;

  display: flex;

  flex-direction: column;

}



.honor-muyuan__link {

  display: flex;

  flex: 1;

  width: 100%;

  text-decoration: none;

  color: inherit;

  border-radius: 10px;

  cursor: zoom-in;

  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

}



.honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover {

  transform: translateY(-5px);

}



.honor-muyuan__link:focus-visible {

  outline: 2px solid rgba(230, 0, 18, 0.45);

  outline-offset: 4px;

}



.honor-muyuan__card {

  display: flex;

  flex-direction: column;

  flex: 1;

  width: 100%;

  min-height: 100%;

  border-radius: 10px;

  overflow: hidden;

  background: linear-gradient(168deg, #ffffff 0%, #f7f8fa 55%, #eef0f3 100%);

  border: 1px solid rgba(15, 18, 28, 0.07);

  box-shadow:

    0 1px 0 rgba(255, 255, 255, 0.95) inset,

    0 6px 22px rgba(15, 18, 28, 0.05);

  transition:

    border-color 0.3s ease,

    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);

}



.honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover .honor-muyuan__card {

  border-color: rgba(230, 0, 18, 0.16);

  box-shadow:

    0 1px 0 rgba(255, 255, 255, 0.98) inset,

    0 16px 36px rgba(15, 18, 28, 0.09);

}



.honor-muyuan__media {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 1 1 auto;

  min-height: clamp(192px, 19.5vw, 248px);

  padding: 26px clamp(16px, 1.6vw, 22px);

  box-sizing: border-box;

}



.honor-muyuan__media img {

  display: block;

  width: auto;

  max-width: 98%;

  height: auto;

  max-height: clamp(178px, 18vw, 228px);

  object-fit: contain;

  object-position: center;

  pointer-events: none;

  -webkit-user-drag: none;

  user-select: none;

  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);

}



.honor-muyuan__media::before {

  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background: rgba(18, 22, 32, 0);

  transition: background 0.35s ease;

  pointer-events: none;

}



.honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover .honor-muyuan__media::before {

  background: rgba(18, 22, 32, 0.06);

}



.honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover .honor-muyuan__media img {

  transform: scale(1.08);

}



.honor-muyuan__zoom {

  position: absolute;

  left: 50%;

  top: 50%;

  z-index: 3;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 46px;

  height: 46px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.97);

  color: #3a3a3a;

  box-shadow: 0 10px 28px rgba(15, 18, 28, 0.16);

  opacity: 0;

  transform: translate(-50%, -50%) scale(0.88);

  transition:

    opacity 0.28s ease,

    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),

    box-shadow 0.3s ease;

  pointer-events: none;

}



.honor-muyuan__zoom-icon {

  display: block;

  flex-shrink: 0;

}



.honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover .honor-muyuan__zoom {

  opacity: 1;

  transform: translate(-50%, -50%) scale(1);

  box-shadow: 0 12px 32px rgba(15, 18, 28, 0.2);

}



.honor-muyuan__cap {

  flex: 0 0 auto;

  margin: 0;

  padding: 26px clamp(14px, 1.35vw, 20px);

  text-align: center;

  font-size: var(--inner-body-fs);

  line-height: var(--inner-body-lh);

  font-weight: 500;

  letter-spacing: 0.01em;

  color: #404040;

  background: rgba(255, 255, 255, 0.55);

  border-top: 1px solid rgba(15, 18, 28, 0.06);

  transition: color 0.25s ease, background 0.25s ease;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

  min-height: 3.05em;

  box-sizing: border-box;

}



.honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover .honor-muyuan__cap {

  color: #2a2a2a;

  background: rgba(255, 255, 255, 0.72);

}



.honor-muyuan__pager {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-top: clamp(30px, 3.4vw, 42px);

}



.honor-muyuan__dot {

  position: relative;

  width: 44px;

  height: 4px;

  margin: 0;

  padding: 12px 0;

  border: none;

  border-radius: 999px;

  background: transparent;

  cursor: pointer;

}



.honor-muyuan__dot::after {

  content: "";

  position: absolute;

  left: 0;

  right: 0;

  top: 50%;

  height: 4px;

  margin-top: -2px;

  border-radius: 999px;

  background: #dcdcdc;

  transition:

    background 0.25s ease,

    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

}



.honor-muyuan__dot.is-active::after {

  background: var(--brand, #e60012);

  transform: scaleY(1.12);

}



.honor-muyuan__dot:hover:not(.is-active)::after {

  background: #c4c4c4;

}



.honor-muyuan__empty {

  margin: 0;

  padding: 24px;

  text-align: center;

  font-size: var(--inner-label-fs);

  color: #666;

}



.honor-muyuan__title {

  margin: 0 0 clamp(32px, 3.5vw, 44px);

  text-align: center;

  font-size: var(--inner-section-title-fs);

  font-weight: 700;

  line-height: var(--inner-section-title-lh);

  letter-spacing: 0.02em;

  color: var(--color-title, #333);

}



.strength-honor-certs__wrap {

  margin-top: clamp(8px, 1vw, 14px);

}



.strength-honor-certs__wrap .honor-muyuan__viewport {

  padding: 10px 0 18px;

  margin: -10px 0 -18px;

}



.strength-honor-certs__wrap .honor-muyuan__viewport::before,

.strength-honor-certs__wrap .honor-muyuan__viewport::after {

  width: clamp(28px, 4vw, 52px);

  opacity: 1;

}



.strength-honor-certs__wrap .honor-muyuan__viewport::before {

  background: linear-gradient(90deg, #f3f4f6 0%, rgba(243, 244, 246, 0) 100%);

}



.strength-honor-certs__wrap .honor-muyuan__viewport::after {

  background: linear-gradient(270deg, #f3f4f6 0%, rgba(243, 244, 246, 0) 100%);

}



.strength-honor-certs__wrap .honor-muyuan__card {

  border-radius: 12px;

  background: #fff;

  border-color: rgba(15, 18, 28, 0.06);

  box-shadow:

    0 1px 0 rgba(255, 255, 255, 1) inset,

    0 8px 32px rgba(15, 18, 28, 0.07);

}



.strength-honor-certs__wrap .honor-muyuan:not(.is-dragging) .honor-muyuan__link:hover .honor-muyuan__card {

  box-shadow:

    0 1px 0 rgba(255, 255, 255, 1) inset,

    0 20px 44px rgba(15, 18, 28, 0.11);

}



.strength-honor-certs__wrap .honor-muyuan__cap {

  background: #fafbfc;

  font-weight: 600;

  color: #333;

}



.strength-honor-certs__wrap .honor-muyuan__pager {

  margin-top: clamp(44px, 4.8vw, 56px);

  margin-bottom: 0;

}



.strength-honor-certs__wrap .honor-muyuan__dot {

  padding-top: 8px;

  padding-bottom: 4px;

}



@media (prefers-reduced-motion: reduce) {

  .honor-muyuan__track.is-animate {

    transition: none;

  }



  .honor-muyuan__link,

  .honor-muyuan__media img,

  .honor-muyuan__dot::after {

    transition: none;

  }

}



@media (max-width: 639px) {

  .honor-muyuan__dot {

    width: 32px;

  }



  .honor-muyuan__viewport::before,

  .honor-muyuan__viewport::after {

    width: 16px;

  }



  .honor-muyuan__cap {

    min-height: auto;

    font-size: var(--inner-body-fs);

  }

}



/* 灯箱 */

html.honor-lightbox-open {
  overflow: hidden;
}

.honor-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vh, 72px) clamp(12px, 2.5vw, 24px) clamp(20px, 3vh, 32px);
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
}

.honor-lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
}

.honor-lightbox:not(.is-open) .honor-lightbox__close {
  opacity: 0;
  pointer-events: none;
}

.honor-lightbox.is-open .honor-lightbox__close {
  opacity: 1;
  pointer-events: auto;
}

.honor-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.honor-lightbox.is-open .honor-lightbox__backdrop {
  opacity: 1;
}

.honor-lightbox__close {
  position: fixed;
  top: max(env(safe-area-inset-top, 0px), clamp(14px, 2.5vh, 22px));
  right: max(env(safe-area-inset-right, 0px), clamp(14px, 2.5vw, 22px));
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.honor-lightbox__close:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.28);
}

.honor-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(88vh, 860px);
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease;
}

.honor-lightbox.is-open .honor-lightbox__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.honor-lightbox__shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 20px);
  width: 100%;
}

.honor-lightbox__figure {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(920px, 100%);
}

.honor-lightbox__card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.35);
}

.honor-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.1vw, 12px) clamp(10px, 1.2vw, 14px);
  box-sizing: border-box;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.honor-lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(74vh, 680px);
  object-fit: contain;
  transform: scale(0.9);
  opacity: 0.4;
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease;
}

.honor-lightbox__stage.is-revealed .honor-lightbox__img,
.honor-lightbox__img.is-revealed {
  transform: scale(1);
  opacity: 1;
}

.honor-lightbox.is-switching .honor-lightbox__img {
  transform: scale(0.94);
  opacity: 0.25;
}

.honor-lightbox__info {
  display: grid;
  grid-template-columns: minmax(48px, auto) minmax(0, 1fr) 40px;
  align-items: center;
  column-gap: clamp(10px, 1.4vw, 16px);
  padding: clamp(12px, 1.4vw, 14px) clamp(14px, 1.6vw, 18px);
  border-top: 1px solid rgba(15, 18, 28, 0.07);
  background: #fff;
}

.honor-lightbox__meta {
  margin: 0;
  justify-self: start;
  padding: 4px 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #666;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(15, 18, 28, 0.06);
}

.honor-lightbox__meta[hidden] {
  visibility: hidden;
}

.honor-lightbox__cap {
  margin: 0;
  padding: 0;
  justify-self: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: var(--inner-body-fs);
  line-height: var(--inner-body-lh);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #1a1d26;
}

.honor-lightbox__info-close {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.honor-lightbox__info-close:hover {
  background: rgba(15, 18, 28, 0.07);
  color: #222;
}

.honor-lightbox__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.honor-lightbox__nav:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
  .honor-lightbox {
    padding-top: 52px;
    padding-bottom: 16px;
  }

  .honor-lightbox__shell {
    flex-wrap: wrap;
    gap: 12px;
  }

  .honor-lightbox__figure {
    order: 1;
    flex: 1 1 100%;
  }

  .honor-lightbox__nav {
    order: 2;
    width: 42px;
    height: 42px;
  }

  .honor-lightbox__nav--prev {
    margin-left: auto;
  }

  .honor-lightbox__img {
    max-height: min(62vh, 520px);
  }

  .honor-lightbox__info {
    grid-template-columns: minmax(44px, auto) minmax(0, 1fr) 36px;
    column-gap: 8px;
    padding: 10px 12px 12px;
  }

  .honor-lightbox__meta {
    padding: 3px 8px;
    font-size: 11px;
  }

  .honor-lightbox__cap {
    font-size: 14px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .honor-lightbox__info-close {
    width: 32px;
    height: 32px;
  }
}


