/* ============================================================
   业务领域 business.css — 对照设计稿
   卡片 570×293；默认白底；滑入橙底
   ============================================================ */

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

.biz-section {
  padding: 70px 0 80px;
  background: #f7f7f7;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 570px));
  gap: 35px;
  justify-content: center;
}

/* —— 默认态 —— */
.biz-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 570px;
  height: 293px;
  padding: 40px 36px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.biz-card .biz-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #dddddd;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.biz-card .biz-icon .icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.biz-card .biz-icon .icon-white {
  display: none;
}

.biz-card .biz-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.biz-card h3 {
  margin: 0 0 6px;
  font-family: "HarmonyOS_Sans_SC_Bold", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ed7330;
  line-height: 19px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: color 0.3s ease;
}

.biz-card .en {
  margin: 0 0 16px;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #999999;
  line-height: 19px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: color 0.3s ease;
}

.biz-card p {
  width: 375px;
  max-width: 100%;
  margin: 0;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  color: #999999;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: color 0.3s ease;
}

/* 默认不显示箭头；仅滑入态显示 */
.biz-card .go,
.biz-card .circle-arrow.go {
  margin-top: auto;
  align-self: flex-start;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.biz-card .go img,
.biz-card .circle-arrow.go img {
  width: 12px;
  height: 12px;
  display: block;
  /* 白箭头转橙色，并旋转为指向右 */
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(1800%) hue-rotate(346deg) brightness(98%) contrast(92%);
  transform: rotate(45deg);
}

.biz-card:hover .go,
.biz-card.active .go,
.biz-card:hover .circle-arrow.go,
.biz-card.active .circle-arrow.go {
  opacity: 1;
  transform: translateY(0);
  background: #ffffff;
  border: none;
}

/* —— 滑入 / hover / active —— */
.biz-card:hover,
.biz-card.active {
  background: #ed7330;
  border-color: #ed7330;
  box-shadow: 0 8px 24px rgba(237, 115, 48, 0.28);
}

.biz-card:hover .biz-icon,
.biz-card.active .biz-icon {
  background: #ffffff;
  border-color: #ffffff;
}

.biz-card:hover h3,
.biz-card.active h3 {
  color: #ffffff;
  font-family: "HarmonyOS_Sans_SC_Bold", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 19px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.biz-card:hover .en,
.biz-card.active .en {
  color: #ffffff;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.biz-card:hover p,
.biz-card.active p {
  width: 375px;
  max-width: 100%;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  color: #ffffff;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.biz-card:hover .go,
.biz-card.active .go {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .biz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .biz-card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .biz-section {
    padding: 48px 0 56px;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }

  .biz-card {
    flex-direction: row;
    height: auto;
    min-height: 0;
    padding: 28px 20px;
    gap: 16px;
  }

  .biz-card .biz-icon {
    width: 56px;
    height: 56px;
  }

  .biz-card .biz-icon .icon {
    width: 28px;
    height: 28px;
  }

  .biz-card p,
  .biz-card:hover p,
  .biz-card.active p {
    width: 100%;
  }
}
