.qicheng-contact-details {
  padding-top: var(--title-font-padding-top);
  padding-bottom: calc(max(40px, 2.5rem) + var(--border-radius-lg));
  background: #fff;
  position: relative;
  z-index: 1;
}

/* 头部区域 */
.contact-header {
  text-align: center;
  margin-bottom: max(40px, 3.33333rem);
}

.contact-title {
  color: var(--text-color-black);
  text-align: center;
  font-family: var(--font-family);
  font-size: var(--title-font-size-xl);
  font-weight: var(--title-font-weight);
  line-height: 1.3333;
  letter-spacing: -0.9px;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: var(--text-color-black);
  text-align: center;
  font-family: var(--font-family);
  font-size: var(--text-font-size-xxl);
  font-weight: var(--font-weight);
  line-height: 1.4;
  margin: 0;
}

/* 联系信息列表 */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 max(40px, 2.5rem) 0;
  display: flex;
  flex-direction: column;
  gap: max(20px, 1.38888rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: max(8px, 0.5rem);
}

.contact-item:nth-child(1) {
  grid-column: 1 / 3;
}

.contact-icon {
  --icon-size: max(1.1111rem, 30px);
  flex-shrink: 0;
  width: var(--icon-size);
  height: var(--icon-size);
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-label {
  color: var(--text-color-black);
  font-family: var(--font-family);
  font-size: var(--title-font-size-xs);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.contact-value {
  color: var(--text-color-black);
  font-family: var(--font-family);
  font-size: var(--title-font-size-xsm);
  font-weight: 500;
  line-height: normal;
  word-break: break-word;
}

.contact-value a {
  position: relative;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: var(--primary-color);
}

/* Hover 图片弹出层 */
.hover-img-popup {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 100;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hover-img-popup::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.hover-img-popup img {
  display: block;
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.contact-value a.has-hover-img:hover .hover-img-popup {
  opacity: 1;
  visibility: visible;
}

/* 地图区域 */
.contact-map {
  width: 100%;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  min-height: max(450px, 25rem);
  border: none;
  display: block;
}

/* 响应式设计 */
@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 820px) {
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 552px) {
  .hover-img-popup {
    left: auto;
    right: 0;
    transform: none;
  }

  .contact-list {
    display: flex;
  }
  .hover-img-popup::before {
    left: auto;
    right: 20px;
    transform: none;
    top: -6px;
  }

  .hover-img-popup img {
    max-width: 150px;
    max-height: 150px;
  }
}

@media screen and (max-width: 390px) {
  .hover-img-popup img {
    max-width: 120px;
    max-height: 120px;
  }
}
