@charset "utf-8";

/* 全站补充样式，在所有主样式之后加载 */

/* 右侧浮动客服栏避让（栏宽 70px + 右边距 17px） */
@media (min-width: 1025px) {
  .zy-pg > .zy-shell { padding-right: 88px; }
  .zy-pg.zy-pg--alt > .zy-shell { padding-right: 88px; }
}

/* 新闻分类筛选（模板输出 <a>，需按链接样式处理） */
.zy-filter a {
  display: inline-flex; align-items: center; height: 42px; padding: 0 22px;
  border-radius: 999px; border: 1px solid #e2eae6; background: #fff;
  font-size: 14px; color: #5c6b63; transition: all .35s;
}
.zy-filter a:hover { border-color: var(--brand); color: var(--brand); }
.zy-filter a[data-on="1"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 富文本容器（后台编辑器输出的标题、段落、列表、图片） */
.zy-richtext { max-width: 900px; color: #3b4a42; font-size: 16px; line-height: 1.95; }
.zy-richtext h2 { font-size: 24px; color: #16281f; font-weight: 600; margin: 40px 0 14px; line-height: 1.4; }
.zy-richtext h3 { font-size: 19px; color: #16281f; font-weight: 600; margin: 30px 0 12px; }
.zy-richtext p { margin: 0 0 16px; }
.zy-richtext ul, .zy-richtext ol { margin: 0 0 18px; padding-left: 22px; }
.zy-richtext li { margin-bottom: 8px; }
.zy-richtext img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0 18px; }
.zy-richtext blockquote { margin: 22px 0; padding: 14px 20px; border-left: 3px solid var(--brand);
  background: var(--brand-soft, #f2f8f4); color: #2c3d33; border-radius: 0 8px 8px 0; }
.zy-richtext a { color: var(--brand); }

/* 字体栈：仅使用系统内置字体，不加载外部字体文件 */
body, input, textarea, select, button {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans CJK SC", "WenQuanYi Micro Hei", system-ui, -apple-system,
               "Segoe UI", Roboto, Arial, sans-serif;
}

/* 区块管理输出的 <p> 归零，继承外层排版 */
.zy-banner__en > p, .zy-banner__title > p, .zy-banner__desc > p,
.zy-pagehead__title h3 > p, .zy-pagehead__sub > p,
.zp-tag > p, .zp-hero__title > p, .zp-hero__sub > p {
  margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit;
}
.zy-banner__en > p, .zy-banner__title > p, .zy-pagehead__title h3 > p,
.zp-tag > p, .zp-hero__title > p { display: inline; }

/* 内页锚点子导航：建立层叠上下文，贴住固定头部 100px 下方 */
.zy-side { z-index: 30; top: 100px; background: #fff; box-shadow: 0 1px 0 rgba(22, 40, 31, .07); }
/* 锚点定位补偿（头部 100px + 子导航 80px） */
.zy-side__item { height: 190px; margin-top: -190px; }

/* 发展历程：深色底，保证白色文字对比度 */
.zy-history {
  background:
    radial-gradient(ellipse 46% 44% at 8% 96%, rgba(var(--brand-rgb, 61, 187, 126), .22) 0%, rgba(var(--brand-rgb, 61, 187, 126), 0) 60%),
    linear-gradient(135deg, #0b2419 0%, #14382a 52%, #0b2419 100%);
}
.zy-history > .zy-shell { padding-right: 88px; }
@media (max-width: 767px) {
  .zy-history > .zy-shell { padding-right: 20px; }
}
@media (max-width: 991px) {
  .zy-side { top: 0; }
  .zy-side__item { height: 0; margin-top: 0; }
}

/* 手机端菜单按钮切换为 × 形 */
.zy-mhead__toggle span { transition: opacity .25s, transform .25s; }
.zy-mhead__toggle.clicked span { opacity: 0; transform: scaleX(.2); }
.zy-mhead__toggle.clicked:before,
.zy-mhead__toggle.clicked:after { transform-origin: center center; }
.zy-mhead__toggle.clicked:before { transform: translateY(9px) rotate(45deg); }
.zy-mhead__toggle.clicked:after { transform: translateY(-9px) rotate(-45deg); }

/* 证书自动滚动：宽度由脚本写入，位移由 Web Animations 驱动 */
.zy-marq { position: relative; overflow: hidden; }
.zy-marq .zy-marq__track {
  --marq-gap: clamp(12px, 1.5vw, 24px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--marq-cell-w, clamp(180px, 14.6vw, 236px));
  column-gap: var(--marq-gap);
  row-gap: clamp(14px, 1.4vw, 22px);
  width: max-content;
  animation: none !important;
  will-change: transform;
}
/* 两行布局按列填充 */
.zy-marq[data-rows="2"] .zy-marq__track {
  grid-template-rows: repeat(2, auto);
  align-content: start;
}
.zy-marq .zy-marq__cell {
  width: auto;
  margin-right: 0;
  white-space: normal;
}
.zy-marq .zy-marq__cell .zy-pic { aspect-ratio: 3 / 4; }
/* 占位格：把奇数张内容补齐成整列 */
.zy-marq .zy-marq__cell--void { visibility: hidden; background: none; }
.zy-marq__name {
  margin: 10px 2px 2px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: #2f3d35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zy-team__marq {
  display: block;
}
.zy-marq .zy-marq__cell:hover .zy-pic {
  border-color: var(--brand);
  box-shadow: 0 14px 30px rgba(var(--brand-rgb), .16);
}
/* 警告：此处不可写 transform:none !important，否则会覆盖动画位移导致整块静止 */
.zy-strength > .zy-shell,
.zy-team > .zy-shell { padding-right: 88px; }
@media (max-width: 767px) {
  .zy-strength > .zy-shell,
  .zy-team > .zy-shell { padding-right: 16px; }
}

/* 关于页板块标题：主标题大、副标题小 */
.zy-profile .zy-head__main,
.zy-history .zy-head__main,
.zy-strength .zy-head__main,
.zy-team .zy-head__main,
.zy-culture .zy-head__main {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.25;
  padding-left: clamp(44px, 3.8vw, 62px);
  font-weight: 500;
}
.zy-profile .zy-head__sub,
.zy-history .zy-head__sub,
.zy-strength .zy-head__sub,
.zy-team .zy-head__sub,
.zy-culture .zy-head__sub {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  margin-top: 12px;
  letter-spacing: .02em;
}

/* 企业文化：桌面 5 列、中屏 3 列、窄屏单列 */
.zy-culture__list li .zy-pic { aspect-ratio: 500 / 460; }
.zy-culture__list li .zy-pic img { width: 100%; height: 100%; object-fit: cover; }
/* 图片上的文字加暗色渐变，保证可读性 */
.zy-culture__list li::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 26, 20, .42) 0%, rgba(9, 26, 20, .30) 40%, rgba(9, 26, 20, .24) 62%, rgba(9, 26, 20, .60) 100%);
  pointer-events: none;
}
.zy-culture__card { z-index: 2; }
/* 高调（浅色）背景图下白字可读性：顶部压暗 + 文字投影 */
.zy-culture__list li .zy-culture__name,
.zy-culture__list li .zy-culture__latin {
  text-shadow: 0 1px 10px rgba(4, 18, 13, .55), 0 1px 2px rgba(4, 18, 13, .38);
}
/* 第 3、4、5 张为高调背景（浅灰展厅 / 亮青阶梯 / 白色握手），白字叠加需单独压暗。
   ★ 后台若调整这 5 条的排序或换图，此处 nth-child 需同步复核。 */
.zy-culture__list li:nth-child(3) .zy-pic img,
.zy-culture__list li:nth-child(4) .zy-pic img,
.zy-culture__list li:nth-child(5) .zy-pic img {
  filter: brightness(.62) saturate(.92);
}
@media (min-width: 1200px) {
  .zy-culture .zy-culture__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(14px, 1.1vw, 20px);
  }
  .zy-culture .zy-culture__list li { width: auto; }
  .zy-culture__card { padding: 18px 16px; }
  .zy-culture__name { font-size: clamp(15px, 1.05vw, 18px); line-height: 1.35; }
  .zy-culture__latin { font-size: 11px; margin-bottom: 10px; }
  .zy-culture__rule { height: 26px; }
  .zy-culture__desc { font-size: 13px; line-height: 1.75; }
  .zy-culture__idx { width: 26px; height: 26px; font-size: 12px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .zy-culture .zy-culture__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .zy-culture .zy-culture__list li { width: auto; }
}

/* 板块锚点：跳转后避开固定头部（PC 100px / 移动端 70px） */
.zy-sol__row[id], .zy-str__row[id], .zy-prod__card[id] { scroll-margin-top: 120px; }
@media (max-width: 991px) {
  .zy-sol__row[id], .zy-str__row[id], .zy-prod__card[id] { scroll-margin-top: 80px; }
}
