/* ============================================================
 * GTG 广测集团 - 关于广测（about.html）专属样式
 * 依赖 solar.css 的子页基础模块（Banner / 锚点导航 / 区块 / team-band / honor-row）
 * ============================================================ */

/* ---------- 集团简介 ---------- */
.ab-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 48px;
}
.ab-intro-text .ab-lead {
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: .5px;
}
.ab-intro-text p:not(.ab-lead) {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 2.1;
  letter-spacing: .5px;
  color: var(--text-light);
}
.ab-intro-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 90, 45, .12);
}
.ab-intro-photo img { width: 100%; display: block; }

/* 组织架构数字条 */
.ab-orgs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.ab-orgs span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 22px;
  background: var(--bg-light);
  border-radius: 12px;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: var(--text-light);
}
.ab-orgs b { font-size: 22px; font-weight: 800; color: var(--green); }
.ab-orgs b i { font-style: normal; font-size: 14px; }

/* ---------- 集团文化 ---------- */
.ab-culture {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.ab-cul-card {
  grid-column: span 2;
  position: relative;
  padding: 30px 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.ab-cul-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 155, 76, .35);
  box-shadow: 0 20px 44px rgba(0, 90, 45, .12);
}
.ab-cul-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 155, 76, .1);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--green);
}
.ab-cul-card h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 1px;
}
/* 使命 / 愿景：绿色大卡 */
.ab-cul-main,
.ab-cul-vision {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border: none;
  color: #fff;
}
.ab-cul-vision {
  background: linear-gradient(135deg, #10361f 0%, var(--green-dark) 100%);
}
.ab-cul-main .ab-cul-tag,
.ab-cul-vision .ab-cul-tag {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.ab-cul-main h3,
.ab-cul-vision h3 { font-size: 24px; }

/* ---------- 一站式服务流程 ---------- */
.ab-svc-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.ab-svc-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px 18px;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.ab-svc-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 155, 76, .35);
  box-shadow: 0 20px 44px rgba(0, 90, 45, .12);
}
.ab-svc-step span {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(0, 155, 76, .18);
  transition: color .3s ease;
}
.ab-svc-step:hover span { color: var(--green); }
.ab-svc-step b {
  display: block;
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 1px;
}
.ab-svc-step p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-light);
}

/* 检测能力标签 */
.ab-svc-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ab-cap {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 26px 28px;
}
.ab-cap h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.ab-cap h4::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--green);
}
.ab-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-tags span {
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--text);
  transition: all .25s ease;
}
.ab-tags span:hover {
  border-color: var(--green);
  background: rgba(0, 155, 76, .06);
  color: var(--green);
}

/* ---------- 认可资质标签 ---------- */
.ab-honor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.ab-honor-tags span {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
  transition: all .25s ease;
}
.ab-honor-tags span:hover { border-color: var(--green); color: var(--green); }
.ab-honor-tags span.hot {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 155, 76, .22);
}

/* about 页资质卡：横版竖版混排一行 */
#honor .honor-row-h { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
#honor .honor-v .honor-media { height: 210px; }

/* ---------- 实验基地 ---------- */
.ab-lab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ab-lab-card {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ab-lab-card.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ab-lab-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
.ab-lab-card:hover img { transform: scale(1.06); }
.ab-lab-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  color: #fff;
}
.ab-lab-card figcaption b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: 1px; }
.ab-lab-card figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
}
.ab-lab-note {
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: .5px;
  color: var(--text-light);
}

/* ---------- 合作客户 ---------- */
.ab-clients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ab-client-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease, border-color .3s ease;
}
.ab-client-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 155, 76, .35);
  box-shadow: 0 14px 32px rgba(0, 90, 45, .1);
}
.ab-client-chip img { max-width: 100%; max-height: 56px; object-fit: contain; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .ab-svc-flow { grid-template-columns: repeat(3, 1fr); }
  .ab-lab-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-clients { grid-template-columns: repeat(4, 1fr); }
  #honor .honor-row-h { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .ab-intro { grid-template-columns: 1fr; gap: 28px; }
  .ab-culture { grid-template-columns: repeat(2, 1fr); }
  .ab-cul-card,
  .ab-cul-main,
  .ab-cul-vision { grid-column: span 1; }
  .ab-svc-caps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ab-svc-flow { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ab-lab-grid { grid-template-columns: 1fr; }
  .ab-lab-card.big { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
  .ab-clients { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ab-client-chip { height: 76px; }
  .ab-culture { grid-template-columns: 1fr; }
  #honor .honor-row-h { grid-template-columns: 1fr 1fr; }
}

/* ---------- 合作机构 ---------- */
.ab-partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ab-partner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.ab-partner:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 155, 76, .35);
  box-shadow: 0 18px 40px rgba(0, 90, 45, .12);
}
.ab-partner .icon {
  flex-shrink: 0;
  width: 26px;
  font-size: 26px;
  height: 26px;
  color: var(--green);
}
.ab-partner b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: .5px; }
.ab-partner span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--text-light);
}

/* ---------- 企业风采 ---------- */
.ab-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ab-style-card {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ab-style-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
.ab-style-card:hover img { transform: scale(1.06); }
.ab-style-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .68));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

@media (max-width: 1100px) {
  .ab-partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ab-partners { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ab-partner { padding: 16px 16px; }
  .ab-style-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================================
 * 关于广测：集团数据 / 合作机构
 * ============================================================ */

/* ---------- 集团数据：桌面六项横排，小屏分行 ---------- */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 44px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ab-stat {
  min-width: 0;
  padding: 4px 12px;
  text-align: center;
}
.ab-stat + .ab-stat { border-left: 1px solid var(--line); }
.ab-stat b {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.5px;
  color: var(--green-dark);
  line-height: 1.15;
  white-space: nowrap;
}
/* 数字与 + 号同一行（覆盖 .ab-stat span 的块级规则） */
.ab-stat b .count { display: inline; }
.ab-stat b i {
  font-style: normal;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--green);
}
.ab-stat > span {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .5px;
  color: var(--text-light);
}

/* ---------- 合作机构：logo 卡片墙 ---------- */
.ab-partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.ab-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.ab-partner:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 155, 76, .35);
  box-shadow: 0 18px 40px rgba(0, 90, 45, .12);
}
.ab-plogo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  margin-bottom: 12px;
}
.ab-plogo img {
  max-width: 82%;
  max-height: 64px;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.ab-partner:hover .ab-plogo img { transform: scale(1.06); }
.ab-partner b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.ab-partner > span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--text-light);
}

@media (max-width: 1100px) {
  .ab-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .ab-stat:nth-child(3n + 1) { border-left: 0; }
  .ab-stat b { font-size: 40px; }
  .ab-partner-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .ab-partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ab-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
    margin-top: 32px;
    padding: 30px 0;
  }
  .ab-stat { padding: 0 10px; }
  .ab-stat:nth-child(n) { border-left: 0; }
  .ab-stat:nth-child(even) { border-left: 1px solid var(--line); }
  .ab-stat b { font-size: 36px; }
  .ab-stat b i { font-size: 20px; }
  .ab-partner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- 合作机构：slide 滚动卡（logo 居中） ---------- */
.ab-partner-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 210px;
  padding: 20px 14px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 60, 30, .08);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}
.ab-partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 90, 45, .16);
}
.ab-partner-card .ab-plogo {
  height: 58px;
  margin-bottom: 10px;
}
.ab-partner-card .ab-plogo img {
  max-width: 84%;
  max-height: 58px;
  /* flex 容器已保证水平垂直居中 */
  object-fit: contain;
}
.ab-partner-card b { font-size: 14.5px; }
.ab-partner-card > span { margin-top: 3px; }

@media (max-width: 768px) {
  .ab-partner-card { width: 170px; padding: 16px 12px 13px; }
  .ab-partner-card .ab-plogo { height: 46px; }
  .ab-partner-card .ab-plogo img { max-height: 46px; }
}

/* 关于详情客户：缩小白底框，保留标志的清晰尺寸。 */
.about-detail-layout .client-logo-card{flex:0 0 220px;width:220px}
.about-detail-layout .client-controls button{top:64px}
.about-detail-layout .client-logo-frame{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:120px;padding:10px 14px;border:1px solid var(--line);background:#fff;border-radius:10px}
.about-detail-layout .client-logo-frame picture{display:block;width:115px;height:61px;max-width:100%}
.about-detail-layout .client-logo-frame img{width:100%;height:100%;padding:0;border:0;background:transparent;border-radius:0;object-fit:contain}
.about-detail-layout .ab-plogo picture{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
@media(max-width:600px){.about-detail-layout .client-logo-card{flex-basis:min(200px,calc(100vw - 112px));width:min(200px,calc(100vw - 112px))}.about-detail-layout .client-logo-frame{height:110px}.about-detail-layout .client-controls button{top:59px}}

/* 合作机构标志缩小10%，下方名称和说明统一12px。 */
.about-detail-layout .ab-partner-card .ab-plogo picture{transform:scale(.9)}
.about-detail-layout .ab-partner-card b,.about-detail-layout .ab-partner-card>span:not(.ab-plogo){font-size:12px}
