/* ============================================================
   about.css - 关于我们页面样式
   前缀标识: zs
============================================================ */

/* ============================================================
   About Banner
============================================================ */
.zs-ab-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.zs-ab-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.zs-ab-banner-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* 文案左对齐：左边距与页面内容区（max-width 1400px + 30px 内边距）对齐 */
  padding: 0 30px 0 max(30px, calc(50% - 670px));
  text-align: left;
}

.zs-ab-banner-title {
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  font-family: 'Georgia','Times New Roman',serif;
  font-style: italic;
  letter-spacing: 3px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ============================================================
   分类Tab导航 - 固定在顶部
============================================================ */
.zs-ab-nav {
  background: #f5f5f5;
  border-bottom: none;
  position: sticky;
  top: 70px;
  z-index: 50;
}

.zs-ab-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}

.zs-ab-nav-tab {
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.zs-ab-nav-tab:hover {
  color: #333;
}

.zs-ab-nav-tab.zs-ab-tab-active {
  color: #1e1440;
  font-weight: 700;
  border-bottom-color: #5B4A9E;
}

/* ============================================================
   通用板块容器
============================================================ */
.zs-ab-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 30px 60px;
}

.zs-ab-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1e1440;
  font-family: 'Georgia','Times New Roman',serif;
  font-style: italic;
  margin-bottom: 36px;
}

/* ============================================================
   Company - Vision/Missions/Values
============================================================ */
/* 1) Vision/Missions/Values - 浅灰背景，去掉边框 */
.zs-ab-vmv {
  display: flex;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
}

.zs-ab-vmv-item {
  flex: 1;
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid #e8e8e8;
}

.zs-ab-vmv-item:last-child {
  border-right: none;
}

.zs-ab-vmv-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e1440;
  margin-bottom: 12px;
}

.zs-ab-vmv-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* Company描述段落 */
.zs-ab-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Company简介 - 左图右文 */
.zs-ab-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.zs-ab-intro-img {
  flex: 0 0 45%;
  border-radius: 8px;
  overflow: hidden;
}

.zs-ab-intro-img img {
  display: block;
  width: 100%;
  height: auto;
}

.zs-ab-intro-text {
  flex: 1;
  min-width: 0;
}

.zs-ab-intro-text .zs-ab-desc {
  margin-bottom: 16px;
}

.zs-ab-intro-text .zs-ab-desc:last-child {
  margin-bottom: 0;
}

/* 数据看板 - 圆形数据 */
/* 2) 数据看板 - 浅灰背景，文字灰色加粗 */
.zs-ab-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 36px 0;
  padding: 0;
  background: transparent;
}

.zs-ab-stat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.3s ease;
  padding: 8px;
  background: #f5f5f5;
}

.zs-ab-stat:hover {
  border-color: #5B4A9E;
}

.zs-ab-stat strong {
  font-size: 13px;
  color: #666666;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}

.zs-ab-stat span {
  font-size: 13px;
  color: #666666;
  font-weight: 700;
  margin-top: 4px;
  display: block;
}

/* 3) 企业文化 - 浅灰背景圆角，无左边框，左右各半，中间分割线，左标题居中 */
.zs-ab-culture {
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  margin-top: 40px;
  border: none;
}

.zs-ab-culture-left {
  width: 50%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid #ddd;
}

.zs-ab-culture-left h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1e1440;
  font-family: 'Georgia','Times New Roman',serif;
  font-style: italic;
  line-height: 1.5;
}

.zs-ab-culture-right {
  width: 50%;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zs-ab-culture-right h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e1440;
  margin-bottom: 12px;
}

.zs-ab-culture-right p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ============================================================
   Application
============================================================ */
.zs-ab-app-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.zs-ab-app-list {
  margin-bottom: 20px;
}

.zs-ab-app-list li {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 4px;
}

.zs-ab-app-list li strong {
  color: #1e1440;
}

/* 应用领域图片网格 */
.zs-ab-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 24px;
}

.zs-ab-app-card {
  text-align: center;
}

.zs-ab-app-card-img {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f5f5f5;
  aspect-ratio: 4 / 3;
}

.zs-ab-app-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.zs-ab-app-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* ============================================================
   Capability - 子板块
============================================================ */
.zs-ab-cap-block {
  margin-bottom: 50px;
  background: #fcfcfc;
  padding: 30px;
  border-radius: 8px;
}

.zs-ab-cap-block:last-child {
  margin-bottom: 0;
}

.zs-ab-cap-subtitle {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #1e1440;
  font-family: 'Georgia','Times New Roman',serif;
  font-style: italic;
  margin-bottom: 16px;
}

.zs-ab-cap-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.zs-ab-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

/* 三列均分 */
.zs-ab-cap-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.zs-ab-cap-card {
  text-align: center;
}

/* 所有Capability图片统一高度 - 响应式等比缩小 */
.zs-ab-cap-card-img {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f5f5f5;
  aspect-ratio: 4 / 3;
}

.zs-ab-cap-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Fabrication 16张网格 */
.zs-ab-cap-grid-fixed .zs-ab-cap-card-img {
  aspect-ratio: 4 / 3;
}

.zs-ab-cap-grid-fixed .zs-ab-cap-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zs-ab-cap-card h4 {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

/* 规格表格 */
.zs-ab-cap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 24px;
}

.zs-ab-cap-table th,
.zs-ab-cap-table td {
  padding: 10px 14px;
  border: 1px solid #ddd;
  text-align: center;
}

.zs-ab-cap-table th {
  background: #f8f6ff;
  color: #1e1440;
  font-weight: 600;
}

.zs-ab-cap-table td {
  color: #5B4A9E;
}

.zs-ab-cap-table tr td:first-child {
  color: #333;
  text-align: left;
  font-weight: 500;
}

/* 检测设备描述列表 */
.zs-ab-cap-specs {
  margin-bottom: 20px;
}

.zs-ab-cap-specs li {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 4px;
}

.zs-ab-cap-specs li strong {
  color: #1e1440;
}

/* ============================================================
   响应式
============================================================ */
@media screen and (max-width: 1024px) {
  .zs-ab-banner-title { font-size: 36px; }
  .zs-ab-section { padding: 40px 20px 50px; }
  .zs-ab-cap-grid, .zs-ab-app-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 768px) {
  .zs-ab-banner-title { font-size: 28px; }
  .zs-ab-nav { top: 50px; }
  .zs-ab-nav-inner { overflow-x: auto; justify-content: flex-start; gap: 0; -webkit-overflow-scrolling: touch; }
  .zs-ab-nav-inner::-webkit-scrollbar { display: none; }
  .zs-ab-nav-tab { padding: 12px 20px; font-size: 13px; flex-shrink: 0; }
  .zs-ab-section { padding: 30px 16px 40px; }
  .zs-ab-section-title { font-size: 22px; margin-bottom: 24px; }
  .zs-ab-vmv { flex-direction: column; }
  .zs-ab-vmv-item { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .zs-ab-vmv-item:last-child { border-bottom: none; }
  .zs-ab-stats { gap: 16px; }
  .zs-ab-stat { width: 80px; height: 80px; }
  .zs-ab-stat strong { font-size: 11px; }
  .zs-ab-stat span { font-size: 10px; }
  .zs-ab-intro { flex-direction: column; gap: 20px; }
  .zs-ab-intro-img { flex: none; width: 100%; }
  .zs-ab-culture { flex-direction: column; }
  .zs-ab-culture-left { width: 100%; padding: 24px 20px; }
  .zs-ab-culture-right { padding: 24px 20px; }
  .zs-ab-cap-grid, .zs-ab-app-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .zs-ab-cap-table { font-size: 11px; }
  .zs-ab-cap-table th, .zs-ab-cap-table td { padding: 8px 8px; }
}

@media screen and (max-width: 480px) {
  .zs-ab-banner-title { font-size: 22px; }
  .zs-ab-stats { gap: 12px; }
  .zs-ab-stat { width: 70px; height: 70px; }
}

/* ============================================================
   图片大图查看弹窗
============================================================ */
.zs-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.zs-lightbox.zs-lightbox-show {
  display: flex;
}

.zs-lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.zs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
  line-height: 1;
}

.zs-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* zs-ab-banner 文案左对齐（小屏左边距） */
@media screen and (max-width: 768px) {
  .zs-ab-banner-overlay {
    padding: 0 16px;
  }
}
