/* ========== PC端 ≥1024px ========== */
footer {
  background: #fff;
  color: #111;
  padding-top: 3em;
  border-top: 6px solid #f7f8fa;
  font-size: 1.1em;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto 1.5em auto;
  align-items: flex-start;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 1.5em;
}

.footer-col a {
   /* 去掉 A 标签所有样式 */
  text-decoration-line: none;
}

.footer-title {
  font-size: 1.7em;
  font-weight: bold;
  margin-bottom: 0.7em;
}
.footer-tel, .footer-email {
  color: #888;
  font-size: 1.1em;
  margin-top: 1.2em;
}
.footer-social {
  display: flex;
  gap: 0.7em;
  margin-top: 1.2em;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  font-size: 2em;
  transition: transform 0.18s;
}
.footer-social-icon:hover {
  transform: scale(1.13);
}
.footer-logo-col {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: right;
}
.footer-logo {
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.footer-copyright {
  text-align: center;
  color: #888;
  font-size: 1em;
  margin-top: 1.5em;
}

/* ========== 平板端 768px~1023px ========== */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    max-width: 768px;
    padding: 0 1em;
  }
  .footer-col, .footer-logo-col {
    padding: 0 1em;
    align-items: flex-start;
    text-align: left;
  }
  .footer-title {
    font-size: 1.2em;
  }
  .footer-logo {
    font-size: 1.5em;
  }
}

/* ========== 手机端 ≤767px ========== */
@media (max-width: 767px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100% !important;
    max-width: 100vw;
    padding: 0 0.5em;
    box-sizing: border-box;
  }
  .footer-col, .footer-logo-col {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    box-shadow: none;
  }
  .footer-title {
    flex: 0 0 auto;
    font-weight: bold;
    font-size: 1em;
    color: #1e3264;
    margin-right: 1em;
    min-width: 5em;
  }
  .footer-tel, .footer-email, .footer-social, .footer-logo {
    flex: 1 1 auto;
    text-align: right;
    font-size: 1em;
    color: #222;
    margin: 0;
  }
  .footer-logo-col, .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .footer-logo img {
    margin: 0 auto;
    display: block;
  }
  .footer-social {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1em;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin: 0;
    padding: 0;
  }
  .footer-copyright, #footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.2em;
    font-size: 0.95em;
    line-height: 1.6;
    border-top: 1px solid #f7f8fa;
    height: auto !important;
    margin-bottom: 1em;
  }
  .footer-copyright a, #footer-text a {
    margin: 0;
    padding: 0;
    display: block;
  }
  .footer-logo {
    font-size: 1.3em;
  }
}

.footer-copyright, #footer-text {
  border-top: 1px solid #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
}
.footer-copyright a {
  color: #bfa046;
  text-decoration: none;
}