/* ================================================================
About Page
   ================================================================ */

/* ---------- 通用 ---------- */
.nv-section { padding: 80px 0; }
.nv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.nv-section-title { text-align: center; margin-bottom: 56px; }
.nv-section-title h2 {
  font-size: 34px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.3;
}
.nv-section-title p {
  font-size: 15px;
  color: #999;
  margin: 0;
  line-height: 1.7;
}
.nv-section-title__bar {
  width: 44px;
  height: 3px;
  background: #E8890C;
  margin: 14px auto 16px;
}

/* ---------- Banner ---------- */
.ab-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.ab-banner__bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.ab-banner__overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.46);
}
.ab-banner__content {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  text-align: center;
}
.ab-banner__content h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 6px;
  margin: 0 0 18px;
  line-height: 1.2;
}
.ab-banner__content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 3px;
  margin: 0;
}

/* ---------- 面包屑 ---------- */
.ab-breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
}
.ab-breadcrumb .nv-container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.ab-breadcrumb a { color: #666; text-decoration: none; }
.ab-breadcrumb a:hover { color: #E8890C; }
.ab-breadcrumb__sep { color: #bbb; font-size: 12px; }
.ab-breadcrumb__cur { color: #E8890C; }

/* ---------- 企业简介 ---------- */
.ab-intro { background: #fff; }
.ab-intro__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.ab-intro__left { flex: 1; min-width: 0; }
.ab-intro__left .nv-section-title {
  text-align: left;
  margin-bottom: 28px;
}
.ab-intro__left .nv-section-title__bar { margin-left: 0; }
.ab-intro__text {
  font-size: 15px;
  color: #555;
  line-height: 1.95;
  margin-bottom: 16px;
}
.ab-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.ab-intro__tag {
  border: 1px solid #E8890C;
  color: #E8890C;
  padding: 7px 20px;
  font-size: 13px;
  border-radius: 2px;
  letter-spacing: 1px;
}
.ab-intro__right {
  flex: 0 0 460px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.ab-intro__img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.ab-intro__right:hover .ab-intro__img { transform: scale(1.04); }
.ab-intro__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(232, 137, 12, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s;
  z-index: 2;
}
.ab-intro__play:hover {
  background: #E8890C;
  transform: translate(-50%, -50%) scale(1.1);
}
.ab-intro__play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

/* ---------- 核心数据 ---------- */
.ab-stats {
  position: relative;
  padding: 80px 0;
  background-image: url('/uploads/about/stats_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #0e121c;
}
.ab-stats__overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(14, 18, 28, 0.78);
}
.ab-stats__inner { position: relative; z-index: 2; }
.ab-stats__title {
  text-align: center;
  margin-bottom: 56px;
}
.ab-stats__title h2 {
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: 2px;
}
.ab-stats__title p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.ab-stats__title__bar {
  width: 44px;
  height: 3px;
  background: #E8890C;
  margin: 14px auto 16px;
}
.ab-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ab-stats__item {
  text-align: center;
  padding: 48px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s;
}
.ab-stats__item:hover { background: rgba(255, 255, 255, 0.04); }
.ab-stats__item:nth-child(3n) { border-right: none; }
.ab-stats__item:nth-child(4),
.ab-stats__item:nth-child(5),
.ab-stats__item:nth-child(6) { border-bottom: none; }
.ab-stats__num {
  font-size: 54px;
  font-weight: 700;
  color: #E8890C;
  line-height: 1;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.ab-stats__unit {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  font-family: inherit;
}
.ab-stats__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
  letter-spacing: 1px;
}

/* ---------- 发展历程 ---------- */
.ab-timeline { background: #f7f8fa; }
.ab-timeline__body {
  position: relative;
  padding: 20px 0;
}
.ab-timeline__body::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #ddd 60px, #ddd calc(100% - 60px), transparent);
  transform: translateX(-50%);
}
.ab-timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 44px;
  position: relative;
}
.ab-timeline__item:last-child { margin-bottom: 0; }
.ab-timeline__item:nth-child(odd) { flex-direction: row; }
.ab-timeline__item:nth-child(odd) .ab-timeline__year {
  text-align: right;
  padding-right: 52px;
}
.ab-timeline__item:nth-child(odd) .ab-timeline__content {
  padding-left: 52px;
}
.ab-timeline__item:nth-child(even) { flex-direction: row-reverse; }
.ab-timeline__item:nth-child(even) .ab-timeline__year {
  text-align: left;
  padding-left: 52px;
}
.ab-timeline__item:nth-child(even) .ab-timeline__content {
  padding-right: 52px;
  text-align: right;
}
.ab-timeline__year {
  flex: 0 0 50%;
  font-size: 26px;
  font-weight: 700;
  color: #E8890C;
  padding-top: 0;
  line-height: 1.3;
  font-family: Arial, 'Helvetica Neue', sans-serif;
}
.ab-timeline__dot {
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E8890C;
  border: 3px solid #f7f8fa;
  box-shadow: 0 0 0 2px #E8890C;
  z-index: 1;
}
.ab-timeline__content {
  flex: 0 0 50%;
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  padding-top: 2px;
}
.ab-timeline__content strong {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- 企业文化 ---------- */
.ab-culture { display: flex; overflow: hidden; }
.ab-culture__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 440px;
}
.ab-culture__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ab-culture__item:hover img { transform: scale(1.07); }
.ab-culture__overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(8, 16, 34, 0.60);
  transition: background 0.35s;
}
.ab-culture__item:hover .ab-culture__overlay {
  background: rgba(8, 16, 34, 0.44);
}
.ab-culture__text {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 48px 40px;
  z-index: 2;
}
.ab-culture__text h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 3px;
}
.ab-culture__bar {
  width: 36px;
  height: 2px;
  background: #E8890C;
  margin: 0 auto 20px;
}
.ab-culture__text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  margin: 0;
}

/* ---------- 资质认证 ---------- */
.ab-cert { background: #fff; }
.ab-cert__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ab-cert__item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ab-cert__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.ab-cert__img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.ab-cert__name {
  padding: 12px 10px;
  font-size: 12px;
  color: #666;
  text-align: center;
  border-top: 1px solid #f2f2f2;
  line-height: 1.5;
}

/* ---------- 荣誉奖项 ---------- */
.ab-honors { background: #f7f8fa; }
.ab-honors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ab-honors__item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ab-honors__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}
.ab-honors__img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ab-honors__name {
  padding: 13px 14px;
  font-size: 12px;
  color: #555;
  text-align: center;
  border-top: 1px solid #f2f2f2;
  line-height: 1.6;
}

/* ---------- WOW 动画入场辅助 ---------- */
.ab-fade-up {
  visibility: hidden;
}

/* ================================================================
   Responsive
   ================================================================ */

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  .ab-banner { margin-top: 70px; height: 320px; }
  .ab-banner__content h1 { font-size: 32px; }

  .ab-intro__inner { gap: 48px; }
  .ab-intro__right { flex: 0 0 360px; }

  .ab-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-stats__item:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.07); }
  .ab-stats__item:nth-child(2n) { border-right: none; }
  .ab-stats__item:nth-child(5),
  .ab-stats__item:nth-child(6) { border-bottom: none; }
  .ab-stats__item:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,0.07); }

  .ab-cert__grid,
  .ab-honors__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
  /* Common */
  .nv-section { padding: 48px 0; }
  .nv-container { padding: 0 16px; }
  .nv-section-title { margin-bottom: 28px; }
  .nv-section-title h2 { font-size: 22px; }

  /* Banner */
  .ab-banner { margin-top: 70px; height: 220px; }
  .ab-banner__content h1 { font-size: 22px; letter-spacing: 3px; }
  .ab-banner__content p { font-size: 13px; letter-spacing: 1px; }

  /* 企业简介 */
  .ab-intro__inner {
    flex-direction: column;
    gap: 28px;
  }
  .ab-intro__right { flex: none; width: 100%; }
  .ab-intro__left .nv-section-title { margin-bottom: 20px; }

  /* 核心数据 */
  .ab-stats { padding: 48px 0; background-attachment: scroll; }
  .ab-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ab-stats__item { padding: 28px 12px; }
  .ab-stats__num { font-size: 36px; }
  .ab-stats__unit { font-size: 16px; }
  .ab-stats__title h2 { font-size: 22px; }

  /* 时间轴 — 改为单列靠左 */
  .ab-timeline__body::before {
    left: 8px;
    transform: none;
  }
  .ab-timeline__item,
  .ab-timeline__item:nth-child(even) {
    flex-direction: column !important;
    padding-left: 32px;
  }
  .ab-timeline__item:nth-child(odd) .ab-timeline__year,
  .ab-timeline__item:nth-child(even) .ab-timeline__year {
    flex: none;
    width: 100%;
    text-align: left;
    padding: 0 0 8px;
    font-size: 20px;
  }
  .ab-timeline__item:nth-child(odd) .ab-timeline__content,
  .ab-timeline__item:nth-child(even) .ab-timeline__content {
    flex: none;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .ab-timeline__dot {
    left: 8px;
    top: 4px;
    transform: none;
  }

  /* 企业文化 */
  .ab-culture { flex-direction: column; }
  .ab-culture__item { min-height: 220px; }

  /* 资质认证 & 荣誉奖项 */
  .ab-cert__grid,
  .ab-honors__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
