/* 关于我们页 · 云纹 Contour */

/* 顶部无 hero，首个区块需避开固定导航 */
#qualifications { padding-top: 130px; }

.floaty--a2 {
  top: -60px;
  right: 6%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(10, 90, 240, 0.3), transparent 68%);
  animation-duration: 15s;
}

/* ---------- 公司简介 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 46px;
  align-items: start;
}
.intro-grid__text p { font-size: 19px; color: var(--ink-2); }
.intro-grid__chips { margin-top: 26px; }
.intro-grid__note {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.fact-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background-color: var(--paper);
  background-image:
    var(--contour),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(228, 238, 255, 0.88));
  background-size: 280px 280px, cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.fact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--azure-2), var(--alt));
}
.fact-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.fact-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 0 4px rgba(10, 90, 240, 0.16);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 90, 240, 0.32); }
  70% { box-shadow: 0 0 0 9px rgba(10, 90, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 90, 240, 0); }
}
.fact-card__badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--azure), var(--azure-2));
  box-shadow: 0 8px 20px rgba(10, 90, 240, 0.28);
}
.fact-card .stat-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.fact-card .stat__value { font-size: clamp(24px, 2.4vw, 32px); }
/* 办公点：总部 + 各地办事处 */
.fact-sites { margin-top: 22px; }
.fact-sites__label {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.fact-sites .chip-row { gap: 6px; }
.fact-sites .chip { padding: 4px 11px; font-size: 14px; }
.fact-sites .chip--hq {
  color: #fff;
  background: linear-gradient(120deg, var(--azure), var(--azure-2));
  border-color: transparent;
  box-shadow: 0 6px 14px -8px var(--azure-glow);
}
.fact-card__trust {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--azure);
}

/* ---------- 公司团队 ---------- */
.team-intro { max-width: 900px; }
.team-intro p {
  font-size: 19px;
  line-height: 2;
  color: var(--ink-2);
  text-indent: 2em;
}
.team-intro p + p { margin-top: 14px; }

/* ---------- 发展历程时间线 ---------- */
.timeline {
  --tl-progress: 0;
  position: relative;
  margin-top: 46px;
  padding: 8px 0 4px;
  list-style: none;
}
/* 中轴基线 + 随滚动生长的进度线 */
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after {
  height: auto;
  background: linear-gradient(180deg, var(--azure), var(--azure-2));
  transform: translateX(-50%) scaleY(var(--tl-progress));
  transform-origin: top;
  box-shadow: 0 0 12px var(--azure-glow);
}
.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 52px 44px;
}
.timeline__item--alt { margin-left: 50%; }
/* 节点圆点 */
.timeline__dot {
  position: absolute;
  top: 30px;
  right: -8px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--azure);
  box-shadow: 0 0 0 4px rgba(10, 90, 240, 0.14);
  animation: pulse 2.8s ease-out infinite;
}
.timeline__item--alt .timeline__dot { right: auto; left: -8px; }
/* 连接横线 */
.timeline__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 38px;
  height: 1px;
  background: var(--line);
}
.timeline__item--alt .timeline__dot::before { right: auto; left: 14px; }
/* 年份卡片 */
.timeline__card {
  position: relative;
  padding: 24px 26px 22px;
  border-radius: var(--radius);
  background-color: var(--paper);
  background-image: var(--contour);
  background-size: 280px 280px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.timeline__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
  border-color: rgba(10, 90, 240, 0.3);
}
.timeline__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--azure);
}
.timeline__item:last-child .timeline__year {
  background: linear-gradient(120deg, var(--azure), var(--azure-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.timeline__tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.timeline__list { display: grid; gap: 7px; }
.timeline__list li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.timeline__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azure-2);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .timeline::before,
  .timeline::after { left: 7px; transform: none; }
  .timeline::after { transform: scaleY(var(--tl-progress)); transform-origin: top; }
  .timeline__item,
  .timeline__item--alt {
    width: 100%;
    margin-left: 0;
    padding: 0 0 36px 38px;
  }
  .timeline__dot,
  .timeline__item--alt .timeline__dot { right: auto; left: 0; }
  .timeline__dot::before,
  .timeline__item--alt .timeline__dot::before {
    right: auto;
    left: 14px;
    width: 24px;
  }
  .timeline__year { font-size: 27px; }
}

/* ---------- 图库 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery__cell {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.gallery__cell:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: rgba(10, 90, 240, 0.3);
}
.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gallery__cell:hover img { transform: scale(1.06); }
.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 14px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 15, 28, 0.78));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.gallery__cell:hover .gallery__caption,
.gallery__cell:focus-visible .gallery__caption { opacity: 1; transform: none; }
.gallery__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  color: var(--azure);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.gallery__cell:hover .gallery__zoom,
.gallery__cell:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 40px;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 14, 26, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
  animation: lb-fade 0.3s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  animation: lb-pop 0.4s var(--ease-out);
}
@keyframes lb-pop {
  from { opacity: 0; transform: scale(0.94) translateY(14px); }
  to { opacity: 1; transform: none; }
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  color: #ccd4e0;
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox__caption { font-size: 16.5px; font-weight: 600; }
.lightbox__count { font-size: 11.5px; letter-spacing: 0.14em; color: #7a8798; }
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  background: rgba(11, 18, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.25s, transform 0.25s;
}
.lightbox__close:hover { background: var(--azure); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: rgba(11, 18, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.25s, transform 0.25s;
}
.lightbox__nav:hover { background: var(--azure); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__nav--prev:hover { transform: translateX(-3px); }
.lightbox__nav--next:hover { transform: translateX(3px); }

@media (max-width: 1000px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .lightbox { padding: 16px; }
  .lightbox__img { max-height: calc(100vh - 150px); }
  .lightbox__nav { width: 38px; height: 38px; margin-top: -19px; font-size: 22px; }
}