.wrapper {
  overflow: hidden;
  min-height: 100vh;
  background: linear-gradient(270deg, #191a1b 0%, #0e0f0f 100%);
}

.contact {
  position: relative;
  min-height: 85vh;
}

.contact .text {
  position: relative;
  z-index: 3;
  padding: 132px 0 20px;
}

.contact .text h1 {
  font-size: 44px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  margin: 0 0 21px;
  color: #fff;
}

.contact .text label {
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 20px;
  color: #fff;
}

.contact .text input {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;
  display: block;
  overflow: hidden;
  width: 100%;
  margin-top: 5px;
  padding: 10px 14px;
  color: #fff;
  border: 1px solid #545454;
  border-radius: 8px;
  background: #202020;
}

.contact .text textarea {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 120px;
  margin-top: 5px;
  padding: 10px 14px;
  resize: none;
  color: #fff;
  border: 1px solid #545454;
  border-radius: 8px;
  background: #202020;
}

.contact .text input::-webkit-input-placeholder,
.contact .text textarea::-webkit-input-placeholder {
  color: #747474;
}

.contact .text textarea::-moz-placeholder,
.contact .text input::-moz-placeholder {
  color: #747474;
}

.contact .text textarea:-moz-placeholder,
.contact .text input:-moz-placeholder {
  color: #747474;
}

.contact .text textarea:-ms-input-placeholder,
.contact .text input:-ms-input-placeholder {
  color: #747474;
}

.contact .text textarea:focus::-webkit-input-placeholder,
.contact .text input:focus::-webkit-input-placeholder {
  color: transparent;
}

.contact .text textarea:focus::-moz-placeholder,
.contact .text input:focus::-moz-placeholder {
  color: transparent;
}

.contact .text textarea:focus:-moz-placeholder,
.contact .text input:focus:-moz-placeholder {
  color: transparent;
}

.contact .text .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 19px;
  flex-basis: 100%;
}

.contact .text .form-row:first-of-type {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contact .text .form-row:first-of-type p {
  flex-basis: 48%;
}

.contact .text button,
.contact .text .wpcf7-submit {
  font-size: 19.6px;
  font-weight: 500;
  font-style: normal;
  line-height: 26.4px;
  padding: 19px;
  cursor: pointer;
  transition: all .3s;
  text-align: center;
  color: #1d1d1d;
  border: none;
  border-radius: 8px;
  background: #fff;
  box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, .25) inset, 0 4px 20px 0 rgba(255, 255, 255, .24);
  flex-basis: 100%;
}

.contact .text button:hover,
.contact .text .wpcf7-submit:hover {
  color: #fff;
  border-color: #fff;
  background: #202020;
}

.contact .text .wpcf7-not-valid-tip {
  font-size: 12px;
  line-height: 100%;
  position: absolute;
  margin-top: 5px;
  color: #b91818;
}

.contact .text .wpcf7 form.invalid .wpcf7-response-output,
.contact .text .wpcf7 form.unaccepted .wpcf7-response-output,
.contact .text .wpcf7 form.payment-required .wpcf7-response-output {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #c0c0c0;
  border-color: transparent;
}

.contact .text .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}

.contact .text .form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact .text .form .form-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 19px;
  flex-basis: 100%;
}

.contact .contact-info {
  position: relative;
  padding: 40px;
  border-radius: 20px;
  background: #1d1d1d;
}

.contact .contact-info:after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 96px;
  content: '';
  opacity: .08;
  background: url(../img/about-bg.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
}

.contact .contact-info .links {
  margin-bottom: 18px;
}

.contact .contact-info .links li {
  margin-bottom: 22px;
}

.contact .contact-info .links li a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact .contact-info .links li a img {
  width: 20px;
}

.contact .contact-info .links li a span {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;
  color: #fff;
  flex-basis: 50%;
  flex-grow: 2;
}

.contact .contact-info .links li:last-child {
  margin-bottom: 0;
}

.contact .contact-info .social {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact .contact-info .social li a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-info .social li a img {
  width: 20px;
}

@media screen and (min-width: 768px) {
  .contact {
    display: flex;
    align-items: center;
  }

  .contact .content {
    display: flex;
    padding: 170px 0 60px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contact .text {
    padding: 0;
    flex-basis: 48%;
  }

  .contact .contact-info {
    margin-top: 95px;
    padding: 100px 40px;
    flex-basis: 48%;
  }

  .contact .contact-info:after {
    top: 10px;
    right: 10px;
    bottom: auto;
  }
}

@media screen and (min-width: 1024px) {
  .contact .contact-info:after {
    top: 17px;
    right: 18px;
    bottom: auto;
    width: 120px;
    height: 120px;
  }

  .contact .contact-info .links {
    margin-bottom: 40px;
  }

  .contact .contact-info .links li {
    margin-bottom: 41px;
  }

  .contact .contact-info .links li a {
    gap: 14px;
  }

  .contact .contact-info .links li a img {
    width: 23px;
  }

  .contact .contact-info .social li a img {
    width: 24px;
  }
}

@media screen and (min-width: 1280px) {
  .contact .content {
    padding: 167px 0 69px;
  }

  .contact .text {
    flex-basis: 48.5%;
  }

  .contact .text h1 {
    font-size: 60px;
    line-height: normal;
    width: 100%;
    margin: 0 0 39px;
  }

  .contact .text textarea {
    height: 135px;
  }

  .contact .text .wpcf7-submit {
    margin-top: 40px;
  }

  .contact .text .form .form-item textarea {
    height: 135px;
  }

  .contact .text .form .send {
    margin-top: 21px;
  }

  .contact .contact-info {
    margin-top: 115px;
    padding: 142px 60px;
    flex-basis: 40.5%;
  }
}
