.contact_main {
  padding: 8.2rem 0 14.4rem;
}
.contact_main .head h1 {
  font-size: 4.8rem;
  line-height: 1.29166667;
  font-weight: 500;
  letter-spacing: 0.115rem;
}
.contact_main .quote_form {
  flex: 1;
  width: 100%;
}
.contact_main form .main {
  max-width: 53rem;
  display: grid;
  gap: 2.8rem;
  margin-top: 4.4rem;
}
.contact_main form span {
  width: 100%;
}
.contact_main form .label {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  color: #141414;
  margin-bottom: 1rem;
}
.contact_main form input,
.contact_main form textarea {
  display: block;
  width: 100%;
  font-size: 1.7rem;
  color: #7c7d7f;
  border: 1px solid #f7f7f7;
  background-color: #f7f7f7;
  border-radius: 0.4rem;
  height: 5.6rem;
  padding: 0 2rem;
}
.contact_main form input::placeholder,
.contact_main form textarea::placeholder {
  color: #7c7d7f;
}
.contact_main form input:focus,
.contact_main form textarea:focus {
  border-color: var(--primary);
}
.contact_main form textarea {
  padding: 1.7rem 2rem;
  height: 13.1rem;
}
.contact_main form textarea::placeholder {
  opacity: 0.5;
}
.contact_main form span:has(input[type=checkbox]) {
  margin-top: 0.4rem;
}
.contact_main form input[type=checkbox] {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 2px;
  border-color: #c9c9c9;
  vertical-align: top;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact_main form input[type=checkbox]::after {
  content: '';
  display: block;
  width: 80%;
  height: 80%;
  background: url(../img/gou.svg) no-repeat center / contain;
  transition: all 0.3s;
  opacity: 0;
}
.contact_main form input[type=checkbox]:checked::after {
  opacity: 1;
}
.contact_main form input[type=checkbox] ~ span {
  vertical-align: top;
  cursor: pointer;
  color: #4f5154;
  line-height: 2.8rem;
  display: inline-block;
  width: calc(100% - 2.6rem);
  padding-left: 0.9rem;
  margin-top: -0.4rem;
  letter-spacing: -0.007rem;
}
.contact_main form input[type=checkbox] ~ span a {
  color: var(--primary);
  text-decoration: underline;
  transition: all 0.3s;
}
.contact_main form input[type=checkbox] ~ span a:hover {
  color: var(--secondary);
  text-decoration-color: transparent;
}
.contact_main form span:has(input[type=submit]) {
  margin-top: 0.8rem;
}
.contact_main form input[type=submit] {
  transition: all 0.3s;
  text-align: center;
  border-radius: 100px;
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  min-width: 19.5rem;
  width: auto;
}
.contact_main form input[type=submit]:hover {
  background-color: transparent;
  color: var(--primary);
}
.contact_main .info {
  width: 48.98551%;
  padding-bottom: 2px;
}
.contact_main .info .img {
  margin-right: -31%;
  border-radius: 3.3rem;
  --h: 61.24293785%;
}
.contact_main .info .img:hover img {
  transform: scale(1.02);
}
.contact_main .info .desc {
  margin-top: 5.1rem;
}
.contact_main .info .social_wrap {
  margin-top: 3.5rem;
}
.contact_main .info .social_wrap .title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #141414;
  letter-spacing: 0.02rem;
}
.contact_main .info .social_wrap .social {
  margin-top: 1.8rem;
  gap: 2rem 2.5rem;
}
.contact_main .info .social_wrap .social .active a {
  background-color: var(--primary);
}
.contact_main .info .social_wrap .social .active a::after {
  filter: contrast(0) brightness(2);
}
.contact_main .info .social_wrap .social a {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
}
.contact_main .info .social_wrap .social a::after {
  background-size: 56.8%;
}
.contact_team {
  width: calc(100% - 4rem);
  max-width: 180rem;
  border-radius: 3.2rem;
  background-color: var(--bg);
  margin: 0 auto;
  padding: 14.2rem 0 13.8rem;
}
.contact_team .items ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}
.contact_team .items li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.contact_team .items li::before {
  display: block;
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 1.5rem;
  content: '';
  background: no-repeat center / 41% var(--primary);
  margin-bottom: 4.2rem;
}
.contact_team .items li .label {
  color: #595959;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.contact_team .items li a,
.contact_team .items li p {
  font-size: 2.2rem;
  line-height: 1.53681818;
  font-weight: 600;
  color: #212121;
  letter-spacing: 0.02rem;
}
.contact_team .items li p {
  hyphens: auto;
  max-width: 36.8rem;
}
.contact_team .items li a {
  vertical-align: top;
  transition: all 0.3s;
  text-decoration: underline;
}
.contact_team .items li a:hover {
  color: var(--primary);
  text-decoration-color: transparent;
}
.contact_team .items .email::before {
  background-image: url("../img/icon-email-w.svg");
}
.contact_team .items .address::before {
  background-image: url("../img/icon-locate-w.svg");
  background-size: 31.1%;
}
.contact_team .items .phone::before {
  background-image: url("../img/icon-phone-w.svg");
  background-size: 42%;
}
.contact_projects {
  padding: 12.1rem 0 0;
  overflow: hidden;
}
.contact_projects .contact_projects_swiper {
  width: calc(100% - 4rem);
  max-width: 180rem;
  margin: 4.8rem auto 0;
}
.contact_projects .contact_projects_swiper .swiper-wrapper {
  transition: linear;
}
.contact_projects .contact_projects_swiper .swiper-slide {
  max-width: 428px;
}
.contact_projects .contact_projects_swiper .img {
  border-radius: 2.4rem;
  padding-bottom: 103.27103%;
  transition: all 0.3s;
}
.contact_projects .contact_projects_swiper .img:hover {
  transform: translateY(-2%);
  box-shadow: var(--shadow);
}
.contact_projects .contact_projects_swiper .img:hover img {
  transform: scale(1.02);
}
footer .footer_top {
  padding-top: 15.3rem;
}
body .wpcf7-spinner{
  width: 24px !important;
  margin-top: 1rem;
  margin-left: 0;
}
.wpcf7-response-output{
  padding: 0;
  margin: 0;
  border: none;
}


@media screen and (max-width: 768px) {
  .contact_main{
    padding: 5rem 0;
  }
  .contact_main .head h1{
    font-size: 25px;
    line-height: 1.3;
  }
  .contact_main form .main{
    margin-top: 20px;
  }
  .contact_main form .label{
    font-size: 15px;
  }
  .contact_main form input, .contact_main form textarea{
    font-size: 15px;
    height: 50px;
    
  }
  .contact_main form textarea{
    height: 150px;
  }
  .contact_main form .main{
    gap: 15px;
  }
  .contact_main .info{
    width: 100%;
  }
  .contact_main .info .img{
    margin-right: 0;
  }
  .contact_main .info .desc{
    margin-top: 2rem;
  }
  .contact_main .info .social_wrap .title{
    font-size: 18px;
  }
  .contact_main .info .social_wrap .social a{
    width: 35px;
    height: 35px;
  }
  .contact_team{
    padding: 50px 0;
  }
  .contact_team .items{
    overflow: auto;
  }
  .contact_team .items ul{
    grid-template-columns: repeat(1,1fr);
    gap: 20px;
  }
  .contact_team .items li{
    min-width: 200px;
  }
  .contact_team .items li::before{
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  .contact_team .items li a, .contact_team .items li p{
    font-size: 15px;
  }
  .contact_projects{
    padding: 5rem 0;
  }
  footer .footer_top{
    padding-top: 50px;
  }
}