/*  ========================================
    公共页脚样式 - footer.css
    ======================================== */
/* 页脚容器 */
.footer .logo {
  padding-bottom: 24px;
}
.footer .logo .img {
  width: 245px;
  aspect-ratio: 245/44;
}
.footer .footer1 {
  border-top: 1px solid rgba(216, 175, 95, 0.2);
  border-bottom: 1px solid rgba(216, 175, 95, 0.2);
}
.footer .footer1 .title {
  font-size: 25px;
  color: var(--deputy-color);
}
.footer .footer1 .linksBox {
  width: 48%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer .footer1 .linksBox .navlist .item {
  width: 48%;
  max-width: 270px;
}
.footer .footer1 .linksBox .navlist .item .title {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(216, 175, 95, 0.2);
}
.footer .footer1 .linksBox .navlist .item .list {
  margin-top: 30px;
}
.footer .footer1 .linksBox .navlist .item .list a {
  margin-top: 20px;
  opacity: 0.8;
  color: var(--deputy-color);
  font-family: Montserrat-Regular;
}
.footer .footer1 .linksBox .navlist .item .list a:hover {
  opacity: 1;
}
.footer .footer1 .linksBox .links {
  display: flex;
  gap: 24px;
}
.footer .footer1 .linksBox .links .item {
  position: relative;
}
.footer .footer1 .linksBox .links .item img {
  width: 40px;
}
.footer .footer1 .linksBox .links .item .hide {
  position: absolute;
  bottom: 100%;
  left: max(-30px, calc(-1*var(--w-padding)/2));
  background-color: #fff8d4;
  visibility: hidden;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s;
}
.footer .footer1 .linksBox .links .item .hide img {
  width: 100px;
}
.footer .footer1 .linksBox .links .item:hover .hide {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.footer .footer1 .formBox {
  width: 49%;
  max-width: 680px;
}
.footer .footer1 .formBox .title {
  margin-bottom: 12px;
}
.footer .footer1 .formBox .title img {
  width: 44px;
  margin-right: 10px;
}
.footer .footer1 .formBox .desc {
  font-size: 18px;
  color: #FFFFFF;
  opacity: 0.8;
  margin-top: 6px;
}
.footer .footer1 .formBox .form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 0;
  margin-top: 28px;
}
.footer .footer1 .formBox .form .label {
  font-size: 18px;
  color: #FFFFFF;
  opacity: 0.8;
  margin-bottom: 10px;
}
.footer .footer1 .formBox .form .input {
  width: calc(50% - 12px);
}
.footer .footer1 .formBox .form input,
.footer .footer1 .formBox .form textarea {
  background: #272727;
  width: 100%;
  font-size: 16px;
  color: var(--active-color);
}
.footer .footer1 .formBox .form input {
  height: 46px;
  padding: 0 20px;
}
.footer .footer1 .formBox .form .textarea {
  width: 100%;
}
.footer .footer1 .formBox .form .textarea textarea {
  padding: 13px 20px;
  height: 124px;
}
.footer .footer1 .formBox .form .box {
  gap: 24px;
}
.footer .footer1 .formBox .form .box .input2 {
  flex: 1;
  gap: 0;
}
.footer .footer1 .formBox .form .box .input2 input {
  flex: 1;
}
.footer .footer1 .formBox .form .box .input2 .code {
  width: 140px;
  height: 100%;
}
.footer .footer1 .formBox .form .box .button {
  width: 222px;
  height: 46px;
  background-color: var(--active-color);
  color: #320F00;
  font-size: 18px;
}
.footer .footer1 .formBox .form .box .button img {
  width: 28px;
  margin-left: 3px;
}
.footer .footer2 {
  padding: 32px 0;
  gap: 10px;
  font-family: Montserrat-Light;
  font-size: 15px;
}
.footer .footer2 div,
.footer .footer2 p,
.footer .footer2 a {
  font-family: Montserrat-Light;
  color: rgba(255, 248, 212, 0.5);
}
.footer .footer2 a:hover {
  color: var(--deputy-color);
}
.footer .footer2 .links {
  gap: 10px;
}
.footer .footer2 .links .line {
  width: 1px;
  height: 12px;
  background-color: rgba(255, 248, 212, 0.5);
}
/* 响应式 */
@media screen and (max-width: 1024px) {
  .footer .footer1 .formBox .form .box .button {
    width: 100%;
  }
  .footer .footer1 .title {
    font-size: 20px;
  }
  .footer .footer1 .formBox .title img {
    width: 40px;
  }
  .footer .footer1 .formBox .desc,
  .footer .footer1 .formBox .form .label {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .footer .footer1 {
    gap: calc(var(--w-padding)/2);
  }
  .footer .footer1 .linksBox {
    width: 100%;
    max-width: none;
    gap: calc(var(--w-padding)/2);
  }
  .footer .footer1 .linksBox .navlist {
    width: 100%;
  }
  .footer .footer1 .linksBox .navlist .item {
    max-width: none;
  }
  .footer .footer1 .formBox {
    max-width: none;
    width: 100%;
  }
  .footer .footer1 .formBox .form {
    gap: calc(var(--w-padding)/2);
  }
  .footer .footer1 .formBox .form .box {
    width: 100%;
    gap: inherit;
  }
}
@media screen and (max-width: 480px) {
  .footer .logo {
    padding: 15px 0;
  }
  .footer .footer1 .linksBox .navlist .item {
    width: 100%;
  }
  .footer .footer1 .linksBox .navlist .item .title {
    display: none;
  }
  .footer .footer1 .linksBox .navlist .item .list {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .footer .footer1 .linksBox .navlist .item .list a {
    margin: 0;
  }
  .footer .footer1 .linksBox .navlist .item:nth-child(2) {
    display: none;
  }
  .footer .footer1 .formBox .form .input {
    width: 100%;
  }
  .footer .footer1 .formBox .form input {
    padding: 0 13px;
  }
  .footer .footer1 .formBox .form .textarea textarea {
    height: 92px;
    padding: 13px;
  }
  .footer .footer2 {
    padding: 20px 0;
    gap: 10px;
  }
  .footer .footer1 .formBox .title img {
    width: 32px;
    margin-right: 5px;
  }
  .footer .footer1 .formBox .form {
    margin-top: 15px;
  }
}
