/**
 * zygw 首页底部 Footer（三行）
 * 统一 rem：1rem = 16px
 */

.zygw-footer {
  background: #070c20;
  color: rgba(255, 255, 255, 0.92);
}

.zygw-footer-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 第一行：四列图标 + 文案 */
.zygw-footer-top {
  padding: 2rem 0;
  position: relative;
}

/* 全宽分隔线：避免 100vw 导致横向滚动 */
.zygw-footer-divider-full {
  height: 0.0625rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.10);
}

.zygw-footer-top-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.zygw-footer-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.zygw-footer-feature img {
  width: 2.875rem;
  height: 2.875rem;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.zygw-footer-feature h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: rgba(255, 255, 255, 0.95);
}

.zygw-footer-feature p {
  font-size: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* 第二行：三列 */
.zygw-footer-mid {
  padding: 2.25rem 0 2rem;
}

.zygw-footer-mid-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 1.3fr;
  gap: 2.5rem;
}

.zygw-footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-bottom: 2.1rem;
}

.zygw-footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .4rem;
  width: 4.875rem;
  height: 0.125rem;
  background: linear-gradient(90deg, #2E83FF 0 1.25rem, #313340 1.25rem 100%);
  opacity: 0.9;
}

.zygw-footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zygw-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
}

.zygw-footer-links a:hover {
  color: #60a5fa;
}

.zygw-footer-contact {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.zygw-footer-wechat {
  width: 8.5rem;
  height: 8.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 0.0625rem solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zygw-footer-wechat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 第三行：版权（100% 宽黑底） */
.zygw-footer-bottom-bar {
  background: #000000;
}

.zygw-footer-bottom {
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  text-align: center;
}

@media (max-width: 64rem) {
  .zygw-footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zygw-footer-mid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 48rem) {
  .zygw-footer-mid-grid {
    gap: 1.5rem;
  }

  .zygw-footer-col {
    text-align: center;
  }

  .zygw-footer-col h3 {
    padding-bottom: 1.6rem;
  }

  .zygw-footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .zygw-footer-links {
    justify-items: center;
  }

  .zygw-footer-contact {
    text-align: center;
  }

  .zygw-footer-wechat {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 40rem) {
  .zygw-footer-top {
    padding: 1.5rem 0;
  }

  .zygw-footer-mid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 24rem) {
  .zygw-footer-mid-grid {
    grid-template-columns: 1fr;
  }
}

