/* HarmonyOS Sans SC — 相对 site.css 路径 ../fonts/ */
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../fonts/HarmonyOS_Sans_SC_Thin.woff2") format("woff2");
  font-weight: 100 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../fonts/HarmonyOS_Sans_SC_Regular.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../fonts/HarmonyOS_Sans_SC_Medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../fonts/HarmonyOS_Sans_SC_Bold.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sy-blue: #3557A5;
  --sy-deep: #17458e;
  --sy-green: #4b9b88;
  --sy-ink: #62656b;
  --sy-muted: #727171;
  --sy-surface: #f4f5f7;
  --sy-line: #e2e5ea;
  /* 桌面定稿 gutter；移动端在下方 media 覆盖 */
  --section-gutter: 52px;
  /* head 内联脚本尽早写入，避免首屏未缩放闪动 */
  --sy-scale: 1;
  --sy-design-width: 1920px;
  --sy-font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--sy-ink);
  font-family: var(--sy-font);
  background: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

@media (min-width: 768px) {
  .pc-hide {
    display: none !important;
  }
}

@media (max-width: 767.9px) {
  .mobile-hide {
    display: none !important;
  }
}

/* 桌面：1920 定稿内容宽；移动端回退 100% */
.section-box {
  width: 1580px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--section-gutter);
}

/* ==============================
   1920 设计稿整体缩放
   - 只缩放 #pageScale 页面壳
   - 弹窗 / fixed 悬浮层放在壳外，不参与 transform
   - --sy-scale 由 head 同步脚本写入，首屏即可生效
   ============================== */
.page-scale-shell {
  width: 100%;
  overflow: hidden;
}

.scale-box {
  width: var(--sy-design-width);
  transform: scale(var(--sy-scale, 1));
  transform-origin: 0 0;
  will-change: transform;
}

html.sy-desktop-scale .scale-box {
  width: var(--sy-design-width);
  transform: scale(var(--sy-scale, 1));
  transform-origin: 0 0;
}

.scale-box.center {
  transform-origin: 50% 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*
 * 核心产品 swiper 向右出血到设计宽右缘。
 * section-box = 1580 居中于 1920，左右外边距各 (1920-1580)/2，再加 padding-inline。
 * margin-right 负值 = 右边距 + section-box 右 padding，把轨道拉满到 #pageScale 右边缘。
 */
.home-products .section-box {
  overflow: visible;
}

.home-products-bleed {
  min-width: 0;
  width: 100%;
}

html.sy-desktop-scale .home-products-bleed {
  width: auto;
  max-width: none;
  margin-right: calc((1580px - var(--sy-design-width, 1920px)) / 2 - var(--section-gutter));
}

/* 注意：.swiper 必须保持 overflow:hidden，否则无法拖拽/轮播 */
html.sy-desktop-scale .home-products-bleed .home-product-swiper {
  overflow: hidden;
  width: 100%;
}

/* 首页探索盛盈卡片：悬停时以 hover 图标替换默认图标 */
#about .hover-img {
  display: none;
}

#about .group:hover .hover-img {
  display: block;
}

#about .group:hover img:not(.hover-img) {
  display: none;
}

/* 首页核心产品：偶数轮播项相对默认 65px 顶部间距上移 80px */
@media (min-width: 768px) {
  .home-product-swiper .swiper-slide:nth-child(even) {
    margin-top: -15px !important;
  }
}


@media (max-width: 767.9px) {
  :root {
    --section-gutter: 20px;
    --sy-scale: 1;
  }

  .section-box {
    width: 100%;
  }

  .page-scale-shell {
    height: auto !important;
    overflow: visible;
  }

  .scale-box,
  .scale-box.center,
  html.sy-desktop-scale .scale-box {
    width: 100% !important;
    transform: none !important;
  }

  html.sy-desktop-scale .home-products-bleed,
  .home-products-bleed {
    width: 100%;
    margin-right: 0;
  }
}

/* Phase 1 保留：通用区块标题色/字重 */
.section-title {
  color: var(--sy-blue);
  font-weight: 800;
  letter-spacing: .02em;
}

/* ==============================
   统一 Section 标题组件 .sy-heading
   用法：
   <header class="sy-heading [sy-heading--center|sy-heading--right]">
     <h2 class="sy-heading-title">公司简介</h2>
     <p class="sy-heading-sub">COMPANY PROFILE</p>
   </header>
   ============================== */
.sy-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sy-heading-title {
  color: var(--sy-blue);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}

.sy-heading-sub {
  margin-bottom: 0.2rem;
  color: var(--sy-muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
}

.sy-heading--center {
  align-items: center;
  text-align: center;
}

.sy-heading--right {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 767.9px) {
  .sy-heading--right {
    align-items: flex-start;
    text-align: left;
  }
}

/* 通用辅助元素（保留各页面原有视觉效果） */
.sy-link-more {
  display: inline-block;
  color: var(--sy-blue);
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.sy-link-more::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  content: "";
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform .3s ease;
}

.sy-link-more:hover::after {
  transform: scaleX(.62);
}

/* 遮罩：居中；内部卡片用 data-scale-modal 等比缩小适配矮屏/窄屏 */
.sy-overlay {
  overflow: hidden;
}

.sy-modal-scale {
  transform-origin: center center;
  will-change: transform;
  max-width: none;
}

/* 通用模态卡（联系/简历成功弹窗共用外观）——定稿宽度，小屏靠 scale 适配 */
.sy-modal-card {
  position: relative;
  width: 520px;
  max-width: none;
  padding: 48px;
  text-align: center;
  background: #fff;
  border: 10px solid rgba(255, 255, 255, .3);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.sy-modal-card .sy-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  line-height: 1;
  color: #777;
  cursor: pointer;
  background: none;
  border: 0;
  transition: color .2s ease;
}

.sy-modal-card .sy-modal-close:hover {
  color: var(--sy-blue);
}

.sy-modal-card .sy-modal-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  font-size: 32px;
  color: #fff;
  background: var(--sy-blue);
  border-radius: 50%;
  place-items: center;
}

.sy-modal-card .sy-modal-title {
  margin: 24px 0 0;
  color: var(--sy-blue);
  font-size: 26px;
  font-weight: 800;
}

.sy-modal-card .sy-modal-desc {
  margin: 12px 0 0;
  color: var(--sy-ink);
  font-size: 14px;
}

.sy-modal-card .sy-modal-btn {
  margin-top: 32px;
  padding: 8px 40px;
  color: var(--sy-ink);
  cursor: pointer;
  background: #e8e8e8;
  border: 0;
  border-radius: 999px;
  transition: background .2s ease;
}

.sy-modal-card .sy-modal-btn:hover {
  background: #dcdcdc;
}

.global-map .country-label {
  fill: #707070;
  font-family: var(--sy-font);
  font-size: 20px;
}

html[lang="en"] .global-map .country-label {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .01em;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .86);
  stroke-width: 3px;
}

html[lang="en"] .global-map .country-label-line {
  fill: none;
  stroke: #8a98bc;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}

.global-map .map-marker {
  filter: drop-shadow(0 3px 5px rgba(49, 87, 165, .2));
}

.global-map .map-marker > path,
.global-map .map-marker > circle:not(.marker-pulse) {
  transform-box: fill-box;
  transform-origin: center;
  animation: global-map-marker-bob 2.8s ease-in-out infinite;
}

.global-map .marker-pulse {
  fill: rgba(53, 87, 165, .16);
  stroke: #3557a5;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: global-map-pulse 2.4s cubic-bezier(.2, .65, .35, 1) infinite;
  vector-effect: non-scaling-stroke;
}

.global-map .map-marker:nth-of-type(2) .marker-pulse,
.global-map .map-marker:nth-of-type(7) .marker-pulse {
  animation-delay: -.48s;
}

.global-map .map-marker:nth-of-type(3) .marker-pulse,
.global-map .map-marker:nth-of-type(8) .marker-pulse {
  animation-delay: -.96s;
}

.global-map .map-marker:nth-of-type(4) .marker-pulse,
.global-map .map-marker:nth-of-type(9) .marker-pulse {
  animation-delay: -1.44s;
}

.global-map .map-marker:nth-of-type(5) .marker-pulse,
.global-map .map-marker:nth-of-type(10) .marker-pulse {
  animation-delay: -1.92s;
}

.global-map .map-marker:nth-of-type(even) > path,
.global-map .map-marker:nth-of-type(even) > circle:not(.marker-pulse) {
  animation-delay: -1.4s;
}

@keyframes global-map-marker-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes global-map-pulse {
  0% {
    opacity: .78;
    transform: scale(.55);
  }

  72%,
  100% {
    opacity: 0;
    transform: scale(2.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-map .map-marker > path,
  .global-map .map-marker > circle:not(.marker-pulse),
  .global-map .marker-pulse {
    animation: none;
  }

  .global-map .marker-pulse {
    opacity: .28;
  }
}

.cover {
  background-position: center;
  background-size: cover;
}

.hero-home {
  background: #17458e;
}

.home-hero-media {
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  transition: transform 7s ease-out;
}

.home-hero-slide-1 {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=2400&q=92");
}

.home-hero-slide-2 {
  background-image: url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=2400&q=92");
}

.home-hero-slide-3 {
  background-image: url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=2400&q=92");
}

.home-hero-swiper .swiper-slide-active .home-hero-media {
  transform: scale(1.075);
}

.home-hero-copy > * {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .8s ease, transform .9s cubic-bezier(.22, .72, .24, 1);
}

.home-hero-copy > :nth-child(2) {
  transition-delay: .16s;
}

.home-hero-swiper .swiper-slide-active .home-hero-copy > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-hero-mouse {
  animation: home-hero-mouse-float 2.1s ease-in-out infinite;
}

.home-hero-mouse-wheel {
  animation: home-hero-mouse-wheel 1.7s ease-in-out infinite;
}

@keyframes home-hero-mouse-float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 7px);
  }
}

@keyframes home-hero-mouse-wheel {
  0% {
    opacity: 0;
    transform: translateY(-2px);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-media,
  .home-hero-copy > *,
  .home-hero-mouse,
  .home-hero-mouse-wheel {
    animation: none;
    transition: none;
  }
}

/* home-products-bleed 桌面边距改由 html.sy-desktop-scale 控制（见文件顶部 scale 区） */

.nav-link {
  position: relative;
}

.nav-link::after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
  transition: width .25s ease;
}

.nav-link:hover::after,
.desktop-nav-group:hover > .nav-link::after,
.desktop-nav-group:focus-within > .nav-link::after,
.desktop-nav-group.active > .nav-link::after {
  width: 100%;
}

.product-menu-tab::after {
  position: absolute;
  top: 8px;
  right: -1px;
  width: 2px;
  height: 40px;
  content: "";
  background: var(--sy-blue);
  opacity: 0;
}

.product-menu-tab[data-active="true"] {
  color: var(--sy-blue);
}

.product-menu-tab[data-active="true"]::after {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--sy-blue);
}

.swiper-pagination-bullet-active {
  background: var(--sy-blue);
}

.nav-button.is-disabled {
  cursor: default;
  pointer-events: none;
  background: #d7d7d7;
}

/* Phase 1 保留：移动菜单 / 模态显隐（与 site.js classList.toggle 配合） */
.mobile,
.mobile-panel,
.modal {
  display: none;
}

.mobile.open,
.mobile-panel.open,
.modal.open {
  display: flex;
}

.form-bg {
  background: linear-gradient(90deg, rgba(19, 57, 96, .96), rgba(22, 61, 103, .6)), url("../images/11-1.webp") center / cover;
}

.recruit-img {
  background:  url("../images/11-2.webp") center / cover;
}

.pin {
  position: absolute;
  color: var(--sy-blue);
  font-weight: 700;
  transform: translate(-50%, -100%);
}

.pin::after {
  display: block;
  font-size: 24px;
  line-height: 14px;
  text-align: center;
  content: "●";
}

.country-label {
  fill: #727171;
  font-family: var(--sy-font);
  font-size: 17px;
  font-weight: 400;
  dominant-baseline: alphabetic;
}

.tab.active {
  color: var(--sy-blue);
  border-bottom: 2px solid var(--sy-blue);
}

.item {
  display: grid;
}

.item.hide {
  display: none;
}

/* 首页与技术页：主要排版进入正常文档流，卡片内部图片仍保留定位。 */
.advantage-stage {
  min-height: auto !important;
  aspect-ratio: auto !important;
  padding-top: 120px;
  padding-bottom: 112px;
  overflow: hidden;
}

.advantage-stage > .page-heading,
.advantage-stage > .carousel-window,
.advantage-stage > .controls,
.advantage-stage > .progress {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  transform: none !important;
}

.advantage-stage > .carousel-window {
  height: 600px !important;
  margin-top: 78px;
  overflow: hidden;
}

.advantage-stage.tech-advantage-stage > .carousel-window {
  height: 610px !important;
  max-height: 610px;
}

.advantage-stage > .controls {
  justify-content: center;
  margin-top: 30px;
}

.advantage-stage > .progress {
  width: 220px !important;
  margin: 20px auto 0;
}

/* 公司简介 */
.profile-stage {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 58px 7%;
  min-height: auto !important;
  aspect-ratio: auto !important;
  padding-top: 132px;
  padding-bottom: 132px;
  overflow: visible !important;
}

.profile-stage > .profile-title,
.profile-stage > .profile-copy,
.profile-stage > .stats {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.profile-stage > .profile-title {
  flex: 0 1 34%;
}

.profile-stage > .profile-copy {
  flex: 1 1 56%;
  width: auto !important;
  font-size: 21px;
  line-height: 1.72;
}

.profile-stage > .profile-copy br,
.esg-stage br,
.cert-stage .intro br {
  display: none;
}

.profile-stage > .stats {
  display: grid;
  flex: 1 0 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  width: 100% !important;
  margin-top: 18px;
}

.history-section {
  padding-block: 132px;
  overflow: hidden;
}

/* 1080px 高度的桌面视口：仅压缩留白与轮播区，保持半圆轮盘几何不变 */
@media (min-width: 768px) and (max-height: 1080px) {
  .history-section {
    padding-block: 40px;
  }

  #about-evolution .swiper-year {
    margin-top: 16px;
    margin-bottom: 0;
  }

  #about-evolution .history-swiper {
    padding-block: 10px;
  }

  #about-evolution .history-swiper,
  #about-evolution .history-swiper .swiper-slide > div,
  #about-evolution .swiper-year > .relative.w-full:first-child {
    height: 280px !important;
  }

  #about-evolution .swiper-year > .relative.w-full:first-child {
    margin-bottom: 12px;
  }

  #about-evolution [data-history-prev] img,
  #about-evolution [data-history-next] img {
    height: 60px;
  }

  #about-evolution #main-year-display {
    font-size: 60px;
  }

  #about-evolution .swiper-year > .flex.items-center.justify-center {
    margin-bottom: 88px;
  }
}

/* 发展历程卡片激活态：与源站一致，仅替换品牌色 */
#about-evolution .swiper-slide {
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about-evolution .swiper-slide-active .item {
  opacity: 1;
  z-index: 10;
  background: #3557A5;
  color: #fff;
  height: 100%;
  font-weight: 700;
  font-size:18px;
}
#about-evolution .swiper-slide-active .item h2{
  font-size:46px;
}
html[lang="en"] #about-evolution .swiper-slide-active .item h2{
  font-size:36px;
  
}
/* 年份导航下方的小方块指针 */
#about-evolution .dian::before {
  content: '';
  width: 12px;
  height: 12px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: #3557A5;
  transform: translate(-50%, -50%);
}

/* 半圆刻度轮盘 */
#about-evolution .dial-container {
  perspective: 1000px;
}

#about-evolution .dial-wheel {
  transition: transform .5s cubic-bezier(.25, 1, .5, 1);
  transform-origin: center center;
}

#about-evolution .dial-item {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: bottom center;
}

#about-evolution .dial-tick {
  width: 1px;
  height: 10px;
  background-color: #e5e7eb;
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: bottom center;
}

#about-evolution .dial-tick.major {
  height: 20px;
  background-color: #9ca3af;
}

#about-evolution .dial-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  white-space: nowrap;
  font-size: 14px;
  color: #6b7280;
}

/* 企业文化 */
.culture-stage {
  min-height: auto !important;
  aspect-ratio: auto !important;
  padding-top: 112px;
  padding-bottom: 132px;
  overflow: visible !important;
}

.culture-stage > .heading {
  position: static !important;
  inset: auto !important;
}

.culture-stage .page-flow {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 500px) minmax(240px, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 12px 22px;
  margin-top: 52px;
  position: relative;
}

.culture-stage .copy {
  position: absolute;
}

.culture-stage .culture-map {
  position: relative !important;
  inset: auto !important;
  aspect-ratio: 561 / 539;
  transform: none !important;
  margin-top:110px;
}

.culture-stage .copy.top{
    top: 0px;
    left: 40%;
}
.culture-stage .copy.left{
    left: 18%;
    top: 47%;
}
.culture-stage .copy.right{
    right: 20%;
    top: 47%;
}

.culture-stage .copy.right{
    right: 20%;
    top: 47%;
}
.culture-stage .copy.bottom-left{
    bottom: -7%;
    left: 22%;
}
.culture-stage .copy.bottom-right{
    bottom: -7%;
    right: 23%;
}

.culture-stage .culture-map {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  justify-self: center;
  width: min(100%, 500px) !important;
}

html[lang="en"] .culture-stage .copy.left{
  left: 11%;
}
html[lang="en"] .culture-stage .copy.right{
  right: 13%;
}
html[lang="en"] .culture-stage .copy.bottom-left{
  bottom: -10%;
}
html[lang="en"] .culture-stage .copy.bottom-right{
  bottom: -14%;
}

.inner-core {
  background: radial-gradient(circle at 45% 18%, rgba(255, 255, 255, .55) 0 6%, rgba(255, 255, 255, .1) 7%, transparent 12%), radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .3), transparent 38%), linear-gradient(180deg, #56a3e0 0%, #9fc7ea 28%, #dfe9f4 56%, #8db2da 73%, #4b7dbf 100%);
  box-shadow: 0 0 36px rgba(74, 95, 160, .24), 0 12px 34px rgba(55, 78, 146, .18);
}

.inner-core::before,
.inner-core::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
}

.inner-core::before {
  right: 12%;
  bottom: 18%;
  left: 12%;
  height: 30%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55) 26%, transparent 72%);
  opacity: .65;
}

.inner-core::after {
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .2) 35%, rgba(42, 86, 157, .18));
}

/* 荣誉资质 */
.cert-stage {
  
  padding-top: 112px;
  padding-bottom: 132px;

}

.cert-stage > .heading,
.cert-stage > .cert-logos,
.cert-stage > .intro,
.cert-stage > .cert-grid,
.cert-stage > .learn-more {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  transform: none !important;
}

.cert-stage > .heading {
  grid-column: 2;
  text-align: right;
}

/* ISO 标识：左列，跨标题+简介两行 */
.cert-stage > .cert-logos {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 300px;
}

.cert-stage > .cert-logos img {
  display: inline-block;
  width: 92px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
  mix-blend-mode: multiply;
}

.cert-stage > .cert-logos img:nth-child(2) {
  margin-top: -32px;
}

/* 荣誉资质 ISO 标识：源图比例不同，统一放入同尺寸容器。 */
.cert-stage .cert-logos {
  align-items: center;
  justify-items: center;
}

.cert-stage .cert-logo-mark {
  display: grid;
  width: 92px;
  height: 92px;
  overflow: hidden;
  place-items: center;
}

.cert-stage .cert-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: contain;
}

.cert-stage .cert-logo-mark--iso14001 {
  border-radius: 50%;
  overflow: visible;
}

.cert-stage .cert-logo-mark--iso14001 img {
    width: 92px;
    max-width: none;
    height: auto;
    transform: translateY(-28px);
}

.cert-stage > .intro {
  grid-column: 2;
  font-size: 20px;
  line-height: 1.72;
}

.cert-stage > .cert-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 82px;
  margin: 28px auto 0;
  color: #747474;
  padding:50px 80px;
}

/* 证书卡片：边框 / 悬停 / 标题（原 Tailwind 工具类，迁入避免依赖 uno 重建） */
.cert-stage .cert-card {
  text-align: center;
}

.cert-stage .cert-frame {
  width: 100%;
  border: 4px solid #3557a5;
  transform-origin: center;
  transition: transform .3s ease, filter .3s ease;
}

.cert-stage .cert-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.cert-stage .cert-card:hover .cert-frame {
  transform: translateY(-5px) scale(1.014);
  filter: drop-shadow(0 10px 16px rgba(42, 63, 112, .1));
}

.cert-stage .cert-caption {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.48;
}

.cert-stage > .learn-more {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 16px;
}

.cert-stage .learn-more {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.empty-more-message {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 14px 0 0;
  color: #747474;
  font-size: 14px;
}
.advantage-slide:nth-child(odd){
  margin-top:-30px;
}

/* ESG 与检测创新 */
.esg-stage {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 70px;
  min-height: auto !important;
  aspect-ratio: auto !important;
  padding-top: 150px;
  padding-bottom: 170px;
  overflow: visible !important;
}

.esg-stage > .esg-heading,
.esg-stage > .intro-copy {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.esg-stage > .intro-copy {
  width: min(760px, 55%) !important;
  font-size: 20px;
  line-height: 1.72;
}

.esg-card-copy {
  position: absolute;
  right: 46px;
  bottom: 46px;
  left: 46px;
}

[data-esg-accordion] [data-esg-card]:hover .esg-card-copy {
  top: 60px;
  bottom: auto;
}

.inspection-stage {
  min-height: auto !important;
  aspect-ratio: auto !important;
  padding-top: 112px;
  padding-bottom: 126px;
  overflow: visible !important;
}

.inspection-stage > .heading,
.inspection-stage > .accordion {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  transform: none !important;
}

.inspection-stage > .accordion {
  height: 660px !important;
  margin-top: 60px;
}

.inspection-stage .panel.active {
  flex-grow: 1.8;
  transition: flex-grow 0.45s cubic-bezier(.22, .72, .24, 1);
}

.inspection-stage .panel.active .panel-bg {
  filter: saturate(1.04);
  transform: scale(1.04);
}

.inspection-stage .panel .panel-bg {
  position: relative;
}

.inspection-stage .panel .panel-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.inspection-stage .panel .panel-bg img:first-child {
  opacity: 1;
}

.inspection-stage .panel.active .panel-bg img:last-child {
  opacity: 1;
}

.inspection-stage .panel.active .panel-bg img:first-child {
  opacity: 0;
}

.inspection-stage .panel.active .panel-overlay-active {
  opacity: 1;
}

.inspection-stage .panel.left .icon-wrap,
.inspection-stage .panel.right .icon-wrap {
  top: 47%;
}

.inspection-stage .panel.active .icon-wrap {
  top: 35%;
  width: 12.8%;
  min-width: 58px;
  max-width: 92px;
}

.inspection-stage .panel.left .collapsed-copy,
.inspection-stage .panel.right .collapsed-copy {
  bottom: 41.5%;
}

.inspection-stage .panel.active .collapsed-copy {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.inspection-stage .panel.active .expanded-copy {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: 160ms;
}


.advantage-stage .advantage-card,
.esg-stage [class*="card"] {
  transition: all 0.45s cubic-bezier(.22, .72, .24, 1);
  transition-delay: 0s;
}

.governance-art {
  background: radial-gradient(circle at 78% 19%, rgba(255, 255, 255, .18), transparent 21%), linear-gradient(135deg, #6f8bc5, #3b5eae 52%, #2f4f9d);
}

.governance-art::before,
.governance-art::after {
  position: absolute;
  content: "";
  border: 2px solid rgba(255, 255, 255, .85);
  opacity: .16;
}

.governance-art::before {
  top: 18%;
  right: 12%;
  width: 35%;
  height: 48%;
  transform: skewY(-8deg);
}

.governance-art::after {
  top: 28%;
  right: 21%;
  width: 30%;
  height: 48%;
  transform: skewY(9deg);
}

.gttop-icon {
  width: 48px;
}

.gttop-icon .cls-2 {
  fill: #ccc;
}


/* 原 @media (max-width: 1100px) 桌面中段断点已移除：
   scale-box 下 >768 一律按 1920 定稿；移动适配见下方 760px */

@media (max-width: 767.9px) {
  .hero-home {
    background-position: 58% center;
  }

  .pin {
    font-size: 9px;
  }

  .advantage-stage > .carousel-window {
    height: 510px !important;
  }

  .profile-stage > .stats,
  .cert-stage > .cert-grid,
  .culture-stage .page-flow {
    grid-template-columns: 1fr;
  }



  .culture-stage .culture-map {
    width: min(88vw, 440px) !important;
  }

  .inspection-stage > .accordion {
    display: grid;
    height: auto !important;
    grid-template-columns: 1fr;
  }

  .inspection-stage .panel,
  .inspection-stage .panel.active {
    width: 100%;
    height: 340px;
    flex: none;
  }

  .inspection-stage .panel.left .icon-wrap,
  .inspection-stage .panel.right .icon-wrap,
  .inspection-stage .panel.active .icon-wrap {
    top: 35%;
    width: 66px;
    min-width: 66px;
    max-width: 66px;
  }
}

/* 产品列表：整屏左右分色（左白 / 右灰），与侧栏 330px 对齐 */
.product-list-card__media {
  background: linear-gradient(180deg, #f4f4f4 0%, #f4f4f4 64%, #e2e6ef 84%, #aab9da 100%);
  isolation: isolate;
  padding:4rem 0;
}

.product-list-vue[v-cloak] {
  display: none;
}

.product-list-card__media img {
  mix-blend-mode: multiply;
}

.product-box {
  /* 默认整页右灰，侧栏区域盖白；桌面用渐变铺满 scale 设计宽 */
  background: #f3f3f3;
}

.product-box-side {
  background: #ffffff;
}

.product-box-main {
  background: #fff;
}

/* 1920 设计宽内：分界 = 外边距 + section-box 左 padding + 侧栏 330 */
html.sy-desktop-scale .product-box {
  background: linear-gradient(
    to right,
    #ffffff 0,
    #ffffff calc((var(--sy-design-width, 1920px) - 1580px) / 2 + var(--section-gutter, 52px) + 330px),
    #f3f3f3 calc((var(--sy-design-width, 1920px) - 1580px) / 2 + var(--section-gutter, 52px) + 330px),
    #f3f3f3 100%
  );
}

html.sy-desktop-scale .product-box-side,
html.sy-desktop-scale .product-box-main {
  background: transparent;
}

@media (max-width: 767.9px) {
  .product-box {
    background: #fff;
  }

  .product-box-side {
    background: #ffffff;
  }

  .product-box-main {
    background: #fff;
  }
}

/* 产品详情：整屏左右分色（左品牌蓝 / 右灰），左栏约 42% */
.product-detail {
  background: #f3f3f3;
}

.product-detail-side {
  background: #315bb2;
}

.product-detail-main {
  background: #f3f3f3;
}

/*
 * 分界 = 设计宽左外边距 + section-box 左 padding + 内容区 42%
 * 内容区宽 = 1580 - 2 * gutter
 * ≈ (1920-1580)/2 + 52 + (1580-104)*0.42 = 170 + 52 + 619.92 ≈ 842px
 */
html.sy-desktop-scale .product-detail {
  --product-detail-split: calc(
    (var(--sy-design-width, 1920px) - 1580px) / 2
    + var(--section-gutter, 52px)
    + (1580px - var(--section-gutter, 52px) * 2) * 0.42
  );
  background: linear-gradient(
    to right,
    #315bb2 0,
    #315bb2 var(--product-detail-split),
    #f3f3f3 var(--product-detail-split),
    #f3f3f3 100%
  );
}

html.sy-desktop-scale .product-detail-side,
html.sy-desktop-scale .product-detail-main {
  background: transparent;
}

@media (max-width: 767.9px) {
  .product-detail {
    background: #fff;
  }

  .product-detail-side {
    background: #315bb2;
  }

  .product-detail-main {
    background: #f3f3f3;
  }
}

/* 首页新闻中心：右侧「更多内容」默认约 8 条高度，超出滚动 */
.home-news-more {
  max-height: 340px;
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 87, 165, .35) transparent;
}

.home-news-more::-webkit-scrollbar {
  width: 6px;
}

.home-news-more::-webkit-scrollbar-thumb {
  background: rgba(53, 87, 165, .35);
  border-radius: 999px;
}

.home-news-more::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 767.9px) {
  .home-news-more {
    max-height: 440px;
  }
}

/* 首页：核心优势 / 品牌合作 — hover 图片轻微放大 */
.home-advantage-bg {
  overflow: hidden;
}

.home-advantage-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .55s cubic-bezier(.22, .72, .24, 1);
}

.home-advantage-card:hover .home-advantage-bg img {
  transform: scale(1.08);
}

/* Keep the four Core Advantage cards aligned despite different text lengths. */
.home-advantage-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.home-advantage-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-advantage-content {
  position: absolute;
  inset-inline: 0;
  top: 84px;
  width: min(82%, 330px);
  display: grid;
  grid-template-rows: 120px 125px 216px;
  justify-items: center;
  margin-inline: auto;
}

.home-advantage-title {
  width: 100%;
  margin-top: 7px;
}

.home-advantage-description {
  width: 100%;
  margin-top: 33px;
}

@media (max-width: 767.9px) {
  .home-advantage-content {
    position: static;
    width: min(82%, 330px);
    min-height: 76%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 52px;
  }

  .home-advantage-icon {
    margin-bottom: 40px;
  }

  .home-advantage-title,
  .home-advantage-description {
    width: auto;
    margin-top: 0;
  }

  .home-advantage-description {
    margin-top: 24px;
  }
}

/* 1:1 正方形用 height:0 + padding-bottom 实现,不依赖 aspect-ratio(Safari <15 不支持) */
.home-partner-logo {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sy-line, #e2e5ea);
  box-sizing: border-box;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.home-partner-logo img {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: auto;
  height: auto;
  max-width: calc(100% - 36px);
  max-height: calc(100% - 36px);
  margin: auto;
  object-fit: contain;
  transition: transform .35s cubic-bezier(.22, .72, .24, 1);
}

.home-partner-logo:hover {
  border-color: rgba(49, 91, 178, .35);
  box-shadow: 0 8px 22px rgba(49, 91, 178, .08);
}

.home-partner-logo:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .home-advantage-card:hover .home-advantage-bg img,
  .home-partner-logo:hover img {
    transform: none;
  }
}

/* 新闻详情正文 */
.news-content p {
  margin: 0 0 1.75rem;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.news-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 3.5rem auto;
  max-height: 540px;
  object-fit: cover;
}

.news-content h2,
.news-content h3,
.news-content h4 {
  margin: 2rem 0 1rem;
  color: var(--sy-blue);
  font-weight: 700;
}

/* ==============================
   顶部导航：向下滚动时固定在视口顶部
   - 固定态脱离 #pageScale 缩放壳，挂在 body 下（见 site.js initStickyNav）
   - 脱壳后不继承 1920 设计宽，按视口宽铺满；内容仍走 .section-box 居中
   - 占位 .site-nav-placeholder 留在壳内原位，避免移走节点后页面高度跳动
   ============================== */
.site-nav-placeholder {
  /* 高度由 JS 按导航实测高度写入，桌面端为缩放后高度 */
}

.site-nav.is-pinned {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  /* 脱壳后需自行还原设计稿缩放：宽度放大 1/scale，再 scale 回铺满视口，
     字号/高度视觉比例与缩放后的页面正文保持一致 */
  width: calc(100% / var(--sy-scale, 1));
  z-index: 60;
  transform: scale(var(--sy-scale, 1));
  transform-origin: 0 0;
  background: rgba(23, 69, 142, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 6px 24px rgba(22, 55, 116, 0.18);
  /* 提前为导航建合成层，脱壳瞬间不触发 paint 白屏；
     入场只用 opacity 淡入，避免 translateY(-100%) 造成"先消失再滑入"的观感 */
  will-change: transform, opacity;
  animation: sy-nav-fade-in 0.28s ease-out;
}

/* 固定态下，原本浮于深色 banner 上的白字导航仍可读；下拉菜单同步加深色背景兜底 */
.site-nav.is-pinned .section-box {
  height: 120px;
}

/* 移动端：不缩放，固定条用自然高度，避免与移动端布局冲突 */
html.sy-mobile-layout .site-nav.is-pinned {
  width: 100%;
  transform: none;
}
html.sy-mobile-layout .site-nav.is-pinned .section-box {
  height: 3.5rem;
}

@keyframes sy-nav-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav.is-pinned { animation: none; }
}

/* ============================================================
   浏览器兼容回退(手写区,uno.css 为构建产物,勿放其中)
   ============================================================ */

/* Safari <15.4 不识别 svh 单位 → 用 100vh 兜底(新浏览器走 100svh) */
.max-md\:h-\[min\(100svh\,720px\)\] {
  height: min(100vh, 720px);
  height: min(100svh, 720px);
}

/* 统一用 height:0 + padding-bottom 实现 561/539 比例,新浏览器 aspect-ratio:auto 不覆盖 */
.aspect-\[561\/539\] {
  height: 0;
  padding-bottom: calc(539 / 561 * 100%);
  aspect-ratio: auto;
}

/* English theme: English labels and paragraphs need more room than Chinese copy. */
html[lang="en"] {
  text-rendering: optimizeLegibility;
}

html[lang="en"] :where(.sy-heading-title, .sy-heading-sub) {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html[lang="en"] #pageScale :is(h1, h2, h3) {
  text-transform: uppercase;
}

html[lang="en"] .sy-heading-title {
  line-height: 1.16;
  letter-spacing: .01em;
}

html[lang="en"] .sy-heading-sub {
  letter-spacing: .12em;
  line-height: 1.35;
  display: none;
}

html[lang="en"] :where(.profile-copy, .global-map > div > p, .cert-stage .intro) {
  letter-spacing: .005em;
  line-height: 1.75;
}

html[lang="en"] .profile-stage > .profile-title {
  flex-basis: 39%;
}

html[lang="en"] .profile-stage > .profile-copy {
  flex-basis: 53%;
}

html[lang="en"] #about-esg .sy-heading-title {
  max-width: 560px;
  font-size: 42px;
}

html[lang="en"] #about-esg .sy-heading-sub {
  max-width: 560px;
}

html[lang="en"] :where(.business-contact-card, .contact-info-card) :where(b, h3, p) {
  overflow-wrap: anywhere;
}

html[lang="en"] .site-nav .nav-link {
  letter-spacing: 0;
}

html[lang="en"] .site-nav .product-menu-layout {
  width: max-content;
  max-width: calc(100vw - 48px);
  grid-template-columns: 240px max-content;
}

/* Let an English product panel grow with its active text, while retaining
   a right-side breathing room and preventing it from leaving the viewport. */
html[lang="en"] .site-nav .product-menu-panels {
  margin-right: 50px;
  max-width: min(680px, calc(100vw - 300px));
}

html[lang="en"] .site-nav .product-menu-panel {
  box-sizing: border-box;
  max-width: 680px;
  padding-left: 45px;
}

/* The second column contains the longest English product names. Let that
   column size itself to its text instead of splitting the panel in half. */
html[lang="en"] .site-nav .product-menu-children {
  grid-template-columns: 200px max-content;
  column-gap: 16px;
}

html[lang="en"] .site-nav [data-product-menu] .product-menu-tab {
  padding-inline: 42px;
}

@media (min-width: 768px) {
  html[lang="en"] #footer .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 260px);
    column-gap: 48px;
  }

  /* The EN footer contact keeps the shared vertical layout on PC
     (QR code, phone, address stacked and right-aligned), so unlike the
     mobile rules there are no horizontal overrides for it here. */

  html[lang="en"] #footer .footer-main > nav {
    min-width: 0;
  }

  html[lang="en"] #footer .footer-bottom {
    align-items: flex-start;
    line-height: 1.6;
  }
}

@media (min-width: 768px) {
  html[lang="en"] [data-esg-accordion] {
    height: 540px;
  }

  html[lang="en"] [data-esg-accordion] [data-esg-card]:hover {
    flex: 2.5 1 0%;
  }

  html[lang="en"] [data-esg-accordion] [data-esg-card] .esg-card-copy > p:last-child {
    max-width: none;
    letter-spacing: .015em;
    line-height: 1.5;
  }

  html[lang="en"] [data-esg-accordion] [data-esg-card]:hover .esg-card-copy > p:last-child {
    max-height: 280px;
  }

  html[lang="en"] .site-nav .en-desktop-nav {
    gap: 20px;
    white-space: nowrap;
  }

  html[lang="en"] .site-nav .en-desktop-nav > .desktop-nav-group {
    flex: 0 0 auto;
    min-width: max-content;
  }

  html[lang="en"] .site-nav .en-desktop-nav .nav-link {
    font-size: 18px;
    line-height: 1.2;
  }

  html[lang="en"] .culture-stage .sy-heading-title,
  html[lang="en"] .cert-stage .sy-heading-title,
  html[lang="en"] .global-map .sy-heading-title {
    max-width: 580px;
  }
}
