/*------------------------start---------------------------------------------------------------------------*/
/*--提交电子邮件部分开始 */
.email-submit {
  width: 100%;
  background-color: #607574;
  /* 深蓝色背景 */
  padding: 3em 1.5em;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, sans-serif;
}
/* 主标题 */
.submit-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
/* 分隔线 */
.submit-divider {
  width: 80px;
  height: 2px;
  background-color: #ffffff;
  margin: 0 auto 20px;
}
/* 说明文字 */
.submit-subtitle {
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  margin: 0 0 25px;
  line-height: 1.5;
}
/* 桌面端表单布局（>768px） */
.submit-form {
  display: flex;
  gap: 0;
  max-width: 650px;
  margin: 0 auto;
}
.submit-input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 0;
  font-size: 14px;
  outline: none;
}
.submit-btn {
  margin-left: 1em;
  padding: 14px 35px;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  border-color: #DAB88B;
}
/* 移动端响应式（≤768px） */
@media (max-width: 768px) {
  .submit-form {
    flex-direction: column;
    gap: 12px;
  }
  .submit-input {
    width: 80%;
    padding: 16px;
    margin: 0 auto;
  }
  .submit-btn {
    width: 80%;
    padding: 16px;
    margin: 0 auto;
  }
}
/*--提交电子邮件部分结束 */
/*----------------------end-----------------------------------------------------------------------------*/
.footer {
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, sans-serif;
  color: #0f304a;
  padding: 40px 20px;
  font-weight: normal;
}
/* 桌面 4列 */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
}
.footer-column ul li a:hover {
  color: #0f304a;
}
/* 桌面端：社交图标在第4列内部，默认不显示 */
.footer-column .social-icons {
  display: none;
}
.footer-column .social-icons .iconfont {
  font-size: 1.5em;
  color: #607574;
  transition: color 0.3s ease-in;
}
.footer-column .social-icons .iconfont:hover {
  color: #DAB88B;
}
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 15px;
  color: #666;
}
/* ===================== 移动端 ===================== */
@media (max-width: 768px) {
  .footer {
    padding: 0;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
  }
  .footer-column {
    border-bottom: 1px solid #e0e0e0;
  }
  .footer-column h3 {
    padding: 18px 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
  }
  /* 右侧加号 */
  .footer-column h3::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
  }
  .footer-column.active h3::after {
    transform: rotate(45deg);
  }
  /* 平滑展开动画 */
  .footer-column ul {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    margin: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .footer-column.active ul {
    max-height: 500px;
    padding-bottom: 15px;
    padding-top: 5px;
  }
  .footer-column .letsbefriends {
    display: none;
  }
  /* 移动端：隐藏列内图标，底部显示并居中 */
  .footer-column .social-icons {
    display: none !important;
  }
  .footer-social {
    display: flex !important;
    justify-content: center;
    padding: 30px 20px;
  }
  .footer-social .social-icons .iconfont {
    margin-right: 2em;
    font-size: 1.5em;
    color: #607574;
    transition: color 0.3s ease-in;
  }
  .footer-social .social-icons .iconfont:hover {
    color: #DAB88B;
  }
  .footer-bottom {
    margin: 0;
    padding: 20px;
  }
}
/* 桌面端：图标显示在第4列内部 */
@media (min-width: 769px) {
  .footer-column:last-child .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }
  .footer-social {
    display: none !important;
  }
}
