.contactPage {
  background: #f6f6f6;
  padding: 0.76rem 0 1.12rem;
}

.contactMap {
  height: 7.06rem;
  position: relative;
  background-image: url(../images/map.png);
  background-size: auto 100%;
  background-position: center right;
  background-repeat: no-repeat;
  margin-bottom: 1.41rem;
}

.contactCard {
  position: absolute;
  left: 0;
  top: 0rem;
  width: 6.8rem;
  height: 6.74rem;
  background: #FFFFFF;
  padding: 0.57rem 0.4rem 0.4rem;
}

.contactCard h1 {
  font-weight: 500;
  font-size: 0.35rem;
  color: #000000;
  text-align: center;
  border-bottom: 0.01rem solid #e5e8ee;
  padding-bottom: 0.3rem;
  margin-bottom: 0.2rem;
}

.contactCard p {
  font-weight: 400;
  font-size: 0.16rem;
  color: #747474;
  margin-bottom: .2rem;
  display: flex;
  flex-direction: column;
}

.contactCard p strong {
  font-weight: 500;
  font-size: 0.2rem;
  color: #000000;
  line-height: 1;
  margin-bottom: .05rem;
}

.contactCard .code {
  position: absolute;
  right: .4rem;
  bottom: .4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
  font-size: 0.16rem;
  color: #707070;
}

.contactCard .code img {
  width: 1.69rem;
  height: 1.69rem;
  margin-bottom: .16rem;
}

.mapadd {
  position: absolute;
  width: 0.12rem;
  height: 0.12rem;
  background: #1A62B9;
  border-radius: 50%;
}

.mapadd::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.14rem;
  height: 0.14rem;
  border-radius: 50%;
  border: 0.01rem dotted var(--blue);
  box-sizing: border-box;
  /*box-shadow: 0 0 0 0.09rem rgba(11, 99, 199, 0.12);*/
  animation: shadowPulse 2s ease-in-out infinite;
}

@keyframes shadowPulse {

  0%,
  100%{
    /*box-shadow: 0 0 0 0.03rem rgba(11, 99, 199, 0);*/
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  33% {
    /*box-shadow: 0 0 0 0.08rem rgba(11, 99, 199, 0.3);*/
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
  
  66%{
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  
}

.mapadd span {
  position: absolute;
  font-size: 0.16rem;
  font-weight: 400;
  font-size: 0.18rem;
  color: #000000;
  white-space: nowrap;
}

.messageTitle {
  text-align: center;
  margin-bottom: 0.55rem;
}

.messageTitle em {
  font-family: MiSans, MiSans;
  font-weight: 100;
  font-size: 0.55rem;
  color: #8C8C8C;
  font-style: normal;
  margin-bottom: .17rem;
}

.messageTitle h2 {
  font-weight: 500;
  font-size: 0.45rem;
  color: #000000;
  margin-bottom: 1.12rem;
}

.contactForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.contactForm label {
  font-weight: bold;
  font-size: 0.2rem;
  color: #000000;
}

.contactForm label.textarea{
    grid-column: span 2;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  height: 0.55rem;
  border-bottom: 0.01rem solid #dfe3e8;
  margin-top: 0.1rem;
  color: #333;
}

.contactForm textarea {
  grid-column: span 2;
  height: 3rem;
  background: #fff;
  border: 0;
  padding: 0.18rem;
}

.submitBtn {
  grid-column: span 2;
  width: 1.7rem;
  height: 0.5rem;
  background: var(--blue);
  font-weight: 400;
  font-size: 0.18rem;
  color: #FFFFFF;
  margin: 0.4rem auto 0;
}

@media (max-width: 1024px) {
  .contactPage {
    padding: 0.48rem 0 0.78rem;
  }

  .contactMap {
    height: auto;
    min-height: 0rem;
    margin-bottom: 0.72rem;
    background-size: cover;
    background-position: center;
    padding-top: 0rem;
  }

  .contactCard {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0.36rem 0.28rem;
    box-shadow: 0 0.08rem 0.28rem rgba(0, 0, 0, 0.08);
  }

  .contactCard h1 {
    font-size: 0.34rem;
    padding-bottom: 0.24rem;
  }

  .contactCard p,
  .contactCard .code,
  .contactForm label {
    font-size: 0.2rem;
  }

  .contactCard p strong {
    font-size: 0.24rem;
  }

  .contactCard .code {
    position: static;
    align-items: flex-start;
    margin-top: 0.2rem;
  }

  .contactCard .code img {
    width: 1.48rem;
    height: 1.48rem;
  }

  .mapadd,
  .mapadd span {
    display: none;
  }

  .messageTitle {
    margin-bottom: 0.42rem;
  }

  .messageTitle em {
    font-size: 0.38rem;
  }

  .messageTitle h2 {
    font-size: 0.36rem;
    margin-bottom: 0.42rem;
  }

  .contactForm {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  .contactForm label.textarea,
  .contactForm textarea,
  .submitBtn {
    grid-column: span 1;
  }

  .contactForm input,
  .contactForm textarea {
    height: 0.66rem;
    font-size: 0.22rem;
  }

  .contactForm textarea {
    height: 2.8rem;
  }

  .submitBtn {
    width: 2rem;
    height: 0.62rem;
    font-size: 0.22rem;
  }
}
