/* ============================================================
   业务详情 business-detail.css — 对照设计稿 4业务领域-详细
   ============================================================ */

.biz-detail-page .page-banner {
  background-image: url("../images/业务-banner.png");
}

/* 【区块1】业务图标 Tab 导航 */
.biz-tabs {
  padding: 40px 0 18px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.biz-tabs .tabs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}

.biz-tabs a {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 12px 4px 16px;
  color: #999999;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  position: relative;
  transition: color 0.2s;
}

.biz-tabs a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 10px;
  opacity: 0.4;
  filter: grayscale(1);
}

.biz-tabs a.active,
.biz-tabs a:hover {
  color: #ed7330;
}

.biz-tabs a.active img,
.biz-tabs a:hover img {
  opacity: 1;
  filter: none;
}

.biz-tabs a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -19.5px;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: #ed7330;
}

/* 【区块2】业务介绍：左图+联系 / 右正文 */
.biz-intro {
  padding: 50px 0 80px;
  background: #fff;
}

.biz-intro-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 128px;
  align-items: start;
}

.biz-intro .cover-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 51px;
}

.biz-intro .side img.cover {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

/* 图上白色圆标 + 橙色图标 */
.biz-intro .cover-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-intro .cover-badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.biz-intro .contact-box {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: 13px;
  color: #666666;
  line-height: 1.8;
}

.biz-intro .contact-box .tip {
  margin: 0 0 34px;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  color: #999999;
  line-height: 21px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.biz-intro .contact-box .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #333333;
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  font-style: normal;
  text-transform: none;
}

.biz-intro .contact-box .row + .row {
  margin-top: 32px;
}

.biz-intro .contact-box .row-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ed7330;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.biz-intro .contact-box .row-ico img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.biz-intro .biz-sec-title {
  margin: 0 0 26px;
  padding: 0 0 27px;
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: #ed7330;
  text-align: left;
  line-height: 21px;
  font-style: normal;
  text-transform: none;
  border-bottom: none;
  position: relative;
}

.biz-intro .biz-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 1px;
  background: #ed7330;
  z-index: 1;
}

.biz-intro .biz-sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; max-width: 766px;
  max-width: 100%;
  height: 1px;
  background: #dddddd;
}

.biz-intro .biz-block p {
  width: 100%; max-width: 766px;
  max-width: 100%;
  margin: 0 0 16px;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  color: #333333;
  line-height: 21px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.biz-intro .biz-block {
  margin-bottom: 128px;
}

/* 【区块3】专业律师（右栏内，与业务介绍对齐） */
.biz-intro .biz-lawyers {
  padding: 0 0 48px;
  background: transparent;
}

.biz-intro .biz-lawyers .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.biz-intro .biz-lawyers .card {
  text-align: left;
}

.biz-intro .biz-lawyers .card .photo-box {
  width: 100%;
  aspect-ratio: 276 / 345;
  background: #f1eeed;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.biz-intro .biz-lawyers .card .photo-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* 完整 JPG 人像统一铺满裁切，避免 contain 导致远近不一、露底 */
  object-fit: cover;
  object-position: center top;
  margin: 0;
  display: block;
}

.biz-intro .biz-lawyers .card .name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 25px;
  letter-spacing: 0;
  text-align: left;
}

.biz-intro .biz-lawyers .card .name span {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #333333;
  line-height: 25px;
  letter-spacing: 0;
}

/* 【区块4】相关案例列表（右栏内；行样式见 common.css .related-item） */
.biz-intro .biz-related {
  padding: 0 0 40px;
  background: transparent;
}

.biz-intro .related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biz-intro .related-item p {
  width: 100%;
  max-width: 572px;
}

@media (max-width: 1000px) {
  .biz-tabs .tabs {
    flex-wrap: wrap;
  }

  .biz-tabs a {
    flex: 1 1 30%;
  }

  .biz-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .biz-intro .biz-block {
    margin-bottom: 48px;
  }

  .biz-intro .biz-block p,
  .biz-intro .biz-sec-title::after {
    width: 100%;
    max-width: 100%;
  }

  .biz-intro .biz-lawyers .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .biz-tabs {
    padding: 24px 0 12px;
  }

  .biz-tabs a {
    flex: 1 1 45%;
    font-size: 12px;
    padding: 10px 4px 14px;
  }

  .biz-tabs a img {
    width: 32px;
    height: 32px;
  }

  .biz-intro {
    padding: 32px 0 48px;
  }

  .biz-intro .biz-lawyers .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .biz-intro .related-item {
    flex-wrap: wrap;
  }

  .biz-intro .related-item p {
    max-width: 100%;
  }
}
