/* ============================================================
   联系我们 contact.css — 对照 img/6联系我们.jpg
   ============================================================ */

.contact-page .page-banner {
  background-image: url("../images/联系我们-banenr.png");
}

/* 【区块1】联系荣尊 三卡片 */
.contact-info {
  padding: 80px 0 50px;
  background: #fff;
}

/* 本页标题下划线间距略大 */
.contact-info .sec-title .line {
  margin: 14px 0 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  text-align: center;
  padding: 48px 28px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.25s;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* 滑入：仅下方信息变橙；小标题保持黑色 */
.contact-card:hover .val,
.contact-card:hover .val.phone {
  color: #ed7330;
}

.contact-card .ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.contact-card .ico img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(1800%) hue-rotate(346deg) brightness(98%) contrast(92%);
}

.contact-card h3 {
  margin: 0 0 12px;
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #111111;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.contact-card .val {
  margin: 0;
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111111;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  font-style: normal;
  text-transform: none;
  transition: color 0.25s;
}

.contact-card .val.phone {
  font-size: 16px;
}

/* 【区块2】地图 */
.contact-map {
  padding: 30px 0 80px;
  background: #fff;
}

.contact-map .map-frame {
  width: 100%;
  height: 420px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}

.contact-map .map-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .contact-info {
    padding: 48px 0 32px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 32px 20px;
  }

  .contact-map {
    padding: 20px 0 48px;
  }

  .contact-map .map-frame {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .contact-info {
    padding: 36px 0 24px;
  }

  .contact-map .map-frame {
    height: 240px;
  }
}
