/* Section3 六大优势（源站：浅色背景图 + 白色大卡片） */
.section3 {
  position: relative;
  padding: 0 0 90px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.s3-head {
  text-align: center;
  padding: 62px 0 34px;
}

.s3-head h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #393e44;
  text-transform: uppercase;
}

.s3-head h3 {
  font-size: 20px;
  color: #393e44;
  margin-top: 5px;
}

/* 白色大卡片 */
.s3-card {
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow: 1px 3px 6px #ccc;
  padding: 52px 0 60px;
}

/* 顶部编号导航 */
.s3-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid #f0f0f0;
}

.s3-tab {
  width: 130px;
  text-align: center;
  cursor: pointer;
}

.s3-tab h4 {
  font-size: 15px;
  font-weight: 600;
  color: #282828;
  transition: 0.4s;
  white-space: normal;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s3-tab i {
  display: block;
  width: 40px;
  height: 40px;
  margin: 16px auto 0;
  border-radius: 50%;
  background: #bebebe;
  color: #fff;
  font-style: normal;
  font-size: 16px;
  line-height: 40px;
  transition: 0.4s;
}

.s3-tab.on h4 {
  color: #bca289;
}

.s3-tab.on i {
  background: #bca289;
}

/* 内容 */
.s3-panels {
  width: 900px;
  max-width: 100%;
  margin: 56px auto 0;
}

.s3-panel {
  display: none;
  align-items: flex-start;
  gap: 35px;
}

.s3-panel.on {
  display: flex;
  animation: s3Fade 0.45s ease;
}

@keyframes s3Fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.s3-pic {
  flex: 0 0 400px;
  height: 260px;
  overflow: hidden;
}

.s3-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s3-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.s3-info h3 {
  font-size: 18px;
  color: #282828;
}

.s3-info h4 {
  font-size: 14px;
  color: #bdbdbd;
  font-weight: lighter;
  text-transform: uppercase;
  margin: 2px 0 0;
}

.s3-info p {
  margin-top: 18px;
  color: #282828;
  font-size: 15px;
  line-height: 23px;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* 响应式 */
@media screen and (max-width: 1240px) {
  .s3-tabs {
    gap: 18px;
  }

  .s3-card {
    padding: 38px 0 44px;
  }

  .s3-panels {
    margin-top: 38px;
  }
}

@media screen and (max-width: 1024px) {
  .s3-tabs {
    gap: 0;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .s3-tabs::-webkit-scrollbar {
    display: none;
  }

  .s3-tab {
    flex: 0 0 auto;
    width: 110px;
  }

  .s3-tab h4 {
    font-size: 13px;
  }

  .s3-panel {
    gap: 24px;
  }

  .s3-pic {
    flex: 0 0 45%;
    height: 220px;
  }
}

@media screen and (max-width: 768px) {
  .section3 {
    padding-bottom: 46px;
  }

  .s3-head {
    padding: 36px 0 22px;
  }

  .s3-head h2 {
    font-size: 20px;
  }

  .s3-head h3 {
    font-size: 15px;
  }

  .s3-card {
    padding: 24px 15px 30px;
  }

  .s3-tabs {
    gap: 14px;
    padding-bottom: 20px;
  }

  .s3-tab {
    width: 90px;
  }

  .s3-tab h4 {
    font-size: 12px;
  }

  .s3-tab i {
    width: 28px;
    height: 28px;
    font-size: 12px;
    line-height: 28px;
    margin-top: 8px;
  }

  .s3-panels {
    margin-top: 22px;
  }

  .s3-panel.on {
    display: block;
  }

  .s3-pic {
    width: 100%;
    height: 190px;
    margin-bottom: 16px;
  }

  .s3-info p {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* 2026-10-21 手机端优势标题允许换行 */
@media screen and (max-width: 768px) {
  .s3-info h3 {
    font-size: 15px;
    white-space: normal;
    word-break: break-word;
  }
}
