/* 关于大宅门 */

/* 字体：与整装服务 / 首页一致 */
.page-hero h1 {
  font-family: "SourceHanSerifCN-Heavy", var(--serif);
  font-weight: 900;
}

.page-hero p {
  font-family: "SourceHanSerifCN-SemiBold", var(--serif);
  font-weight: 600;
}

.about-intro {
  padding: 90px 0;
  background: #fbf9f4;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 570px;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 32px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 29px;
}

.about-intro-text h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #84070d;
  margin-top: 28px;
}

.about-intro-text p {
  font-family: "SourceHanSerifCN-SemiBold", var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
  text-align: justify;
}

.about-intro-img {
  width: 570px;
  height: 371px;
  overflow: hidden;
  border-radius: 19px;
  flex-shrink: 0;
}

.about-intro-img img {
  width: 570px;
  height: 371px;
  object-fit: cover;
  display: block;
  border-radius: 19px;
}

/* 数据条 */
.about-stats {
  background: #f5f2ec;
  padding: 52px 0;
  border-top: 1px solid #ebe6df;
  border-bottom: 1px solid #ebe6df;
}

.about-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.about-stat {
  text-align: left;
  padding: 0;
}

.about-stat .num {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 42px;
  font-weight: bold;
  color: #84070d;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.about-stat .num-sup {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 1;
  margin-left: 1px;
}

.about-stat .num-unit {
  font-size: 0.55em;
  margin-left: 2px;
  font-weight: bold;
}

.about-stat .num-lg {
  font-size: 1em;
}

.about-stat .num-label {
  font-size: 0.62em;
  font-weight: bold;
  letter-spacing: 1px;
}

.about-stat .desc {
  font-family: "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  font-size: 13px;
  color: #333;
  line-height: 1.85;
}

/* 品牌文化 */
.about-culture {
  padding: 90px 0;
  background: #fbf9f4;
}

.about-culture-grid {
  display: grid;
  grid-template-columns: 570px 1fr;
  gap: 60px;
  align-items: center;
}

.about-culture-img {
  width: 570px;
  height: 371px;
  overflow: hidden;
  border-radius: 19px;
  flex-shrink: 0;
}

.about-culture-img img {
  width: 570px;
  height: 371px;
  object-fit: cover;
  display: block;
  border-radius: 19px;
}

.about-culture-text h2 {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 32px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 29px;
}

.about-culture-text h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #84070d;
  margin-top: 28px;
}

.about-culture-text p {
  font-family: "SourceHanSerifCN-SemiBold", var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
  text-align: justify;
  margin-bottom: 22px;
}

.about-culture-text p:last-child {
  margin-bottom: 0;
}

/* 设计团队 — 一屏 4 张（超出完全隐藏），进度条 + 圆箭头
 * 单卡图 272×281
 */
.about-team {
  position: relative;
  padding: 90px 0 72px;
  background: #f5f2ec;
  overflow: hidden;
}

.about-team > .container {
  position: relative;
  z-index: 1;
}

.about-team-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.about-team-head h2 {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 32px;
  font-weight: bold;
  color: var(--text);
  margin: 0 0 29px;
}

.about-team-head h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #84070d;
  margin-top: 28px;
}

.about-team-tabs {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 8px;
}

.about-team-tab {
  font-family: "SourceHanSerifCN-SemiBold", var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  position: relative;
  padding: 0 0 10px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.about-team-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.about-team-tab:hover,
.about-team-tab.active {
  color: #84070d;
}

.about-team-tab.active::after {
  background: #84070d;
}

/* 可视区卡死 4 张宽度，第 5 张完全不露 */
.about-team-slider-outer {
  width: 100%;
  overflow: hidden;
}

.about-team-slider-wrap {
  position: relative;
  width: 100%;
}

.about-team .cases-panel[hidden] {
  display: none !important;
}

.about-team .slider-track {
  display: flex;
  gap: calc((100% - 272px * 4) / 3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  padding-right: 0;
}

.about-team .slider-track::-webkit-scrollbar {
  display: none;
}

.about-team-slide {
  flex: 0 0 272px;
  width: 272px;
  scroll-snap-align: start;
  text-align: center;
}

.about-team-photo {
  width: 272px;
  height: 281px;
  overflow: hidden;
  border-radius: 6px;
  background: #ece8e2;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-team-name {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 16px;
  font-weight: bold;
  color: #84070d;
  line-height: 1.4;
  margin-bottom: 6px;
}

.about-team-role {
  font-family: "SourceHanSerifCN-Medium", var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

.about-team-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
}

/* 进度条（关于页未引入 index.css，需在此补全） */
.about-team .cases-progress {
  flex: 1;
  height: 1px;
  background: #ddd5cf;
  position: relative;
}

.about-team .cases-progress::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--cases-progress, 25%);
  height: 100%;
  background: #84070d;
  transition: width 0.3s ease;
}

.about-team .slider-arrows {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
}

.about-team .slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #b5b0ab;
  border: 1px solid #dcd6d0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.about-team .slider-arrow:hover {
  background: #84070d;
  border-color: #84070d;
  color: #fff;
}

@media (max-width: 992px) {
  .about-team {
    padding: 64px 0 56px;
  }

  .about-team-head {
    margin-bottom: 32px;
  }

  .about-team .slider-track {
    gap: 24px;
  }

  .about-team-slide {
    flex-basis: 200px;
    width: 200px;
  }

  .about-team-photo {
    width: 200px;
    height: 207px;
  }
}

@media (max-width: 768px) {
  .about-team {
    padding: 48px 0 48px;
  }

  .about-team-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
  }

  .about-team-head h2 {
    font-size: 26px;
  }

  .about-team-tabs {
    gap: 24px;
  }

  .about-team .slider-track {
    gap: 16px;
  }

  .about-team-slide {
    flex-basis: 160px;
    width: 160px;
  }

  .about-team-photo {
    width: 160px;
    height: 165px;
    margin-bottom: 12px;
  }

  .about-team-name {
    font-size: 15px;
  }

  .about-team-role {
    font-size: 12px;
  }

  .about-team-controls {
    margin-top: 24px;
    gap: 16px;
  }

  .about-team .slider-arrow {
    width: 36px;
    height: 36px;
  }
}
