.contacts-wrapper {
  width: 100%;
  height: 557px;
  background-color: var(--color-midnight);
  margin: 154px 0 167px;
}

.contacts-wrapper-vacansies {
  height: calc(557px + 71px);
  padding-bottom: 71px;
}

.contacts-wrapper-two-columns {
  display: flex;
  justify-content: stretch;
}

.contacts-relative {
  position: relative;
}

.contacts-full-height {
  height: 100%;
}

.contacts-block-contacts {
  display: flex;
  justify-content: space-between;
  flex-direction: column;

  width: 50%;
  height: 80%;

  margin: auto 0;
}

.contacts-block {
  display: flex;
  flex-direction: column;
  width: fit-content;

  gap: 16px;
  margin-bottom: 12px;
}

.contacts-block:has(ul) .nav-feedback {
  margin: 0 0 10px;
  line-height: 150%;
}

.contacts-block ul {
  margin: 0;
}

.contacts-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contacts-block-label-image {
  max-width: 40px;
  max-height: 40px;
  width: 100%;
  height: 100%;
}

.contacts-block-label-title {
  font-size: 32px;
  font-family: var(--font-Futura-Cyrillic-Demi);
  font-weight: 500;
  color: var(--color-white);
  text-transform: capitalize;
}

.contact-form {
  position: relative;
  width: 100%;
}

.contact-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-grey-light);
  border-radius: 9px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 90%;
  height: fit-content;
  min-height: 647px;
  background-color: var(--color-white);
  position: absolute;
  right: 0;
  top: -50px;
  padding: 5%;

  box-sizing: border-box;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: fit-content;
  width: 100%;
}

.contact-form-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
}

.contact-form-block-gap {
  gap: 15px;
}

.cv-input {
  display: none;
}
.cv-value {
  height: 20px;
  margin-bottom: 10px;
}

.file-error {
  margin-bottom: 10px;
}

.contact-form-block-title {
  font-size: 56px;
  font-weight: 500;
  font-family: var(--font-Futura-Cyrillic-Demi);
  color: var(--color-black);
  margin: 0;
}

.contact-form-block-description {
  color: var(--color-gray);
  font-size: 16px;
  font-family: var(--font-roboto-regular);
  font-weight: 400;
  line-height: 24px;
}

.contact-form-input-block {
  width: 100%;
}

.contact-form-input {
  padding-bottom: 12px;
}

.contact-form-textarea {
  resize: vertical;
  max-height: 150px;
  min-height: 40px;
}

.contact-form-input, .contact-form-textarea {
  width: 100%;
  height: 34px;
  border: none;
  border-bottom: 1px solid var(--color-grey-5);
  font-family: var(--font-roboto-regular);
}

.contact-form-input::placeholder, .contact-form-textarea {
  color: var(--color-gray);
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-roboto-regular);
}

.contact-form-validation-error {
  font-size: 16px;
  font-family: var(--font-roboto-regular);
  visibility: hidden;
  color: var(--color-error);
}

.contact-form-block-btns-block {
  display: flex;
  justify-content: space-between;
}

.contact-form-block-btns {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.file_requirements_text {
  font-size: 12px;
  color: var(--color-gray);
  text-transform: uppercase;
}

.file_requirements_text_bold {
  color: var(--color-black);
  text-transform: uppercase;
}

.captcha-block {
  min-height: 80px;
}

.contact-form-btn {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 90%;
  height: 60px;
  min-height: 60px;

  background-color: var(--color-orange-light);
  border: none;
  border-radius: 50px;

  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-Futura-Cyrillic-Demi);
  color: var(--color-white);
  text-align: center;

  outline: none;
  cursor: pointer;
}

.contact-form-btn-no-back {
  background-color: transparent;
  border: 1px solid var(--color-orange-light);
  color: var(--color-orange-light);
}

.contact-form-success {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 38px;
  min-height: 550px;
  display: none;
}

.contact-form-success-icon {
  max-width: 83px;
  max-height: 83px;
  width: 100%;
  height: 100%;
}

.contact-form-success-title {
  font-size: 56px;
  font-family: var(--font-Futura-Cyrillic-Demi);
  font-weight: 500;
  color: var(--color-nero);
  margin: 0;
  text-align: center;
}

.contact-form-success-description {
  font-size: 16px;
  font-family: var(--font-roboto-regular);
  color: var(--color-gray);
  font-weight: 400;
  line-height: 145%;
  text-align: center;
}

.cv-value {
  display: flex;
  align-items: center;
}

.cv-value-icon {
  min-width: 21px;
  min-height: 21px;
  width: 21px;
  height: 21px;
  background-image: url(/wp-content/themes/pnnsite/assets/images/ui-line-icons/file.svg);
}

.cv-value-filename {
  text-align: justify;
  color: var(--color-gray);
  font-family: var(--font-roboto-regular);
  font-size: 12px;
  font-weight: 400;
  line-height: 200%;
}

.cv-value-detach{
  background-image: url(/wp-content/themes/pnnsite/assets/images/ui-line-icons/cross.svg);
  margin: 0 8px;
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.contact-form-success-btn {
  text-transform: uppercase;
}

.contact-form-block-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 1023.98px) {
  .contact-form-wrapper {
    top: 0;
    min-height: 719px;
    border-radius: unset;
  }
  .contacts-wrapper {
    margin: 0 0 167px;
  }
  .contacts-no-padding {
    padding: 0;
  }
  .contacts-block-contacts {
    display: none;
  }
  .contact-form-wrapper {
    width: 100%;
  }

  .contacts-wrapper-two-columns {
    flex-direction: column;
  }

  .contact-form-block-btns {
    flex-direction: column;
    align-items: center;
  }

  .contact-form-block-file {
    margin: 0 auto;
  }
  .contact-form-block-row {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 767.98px) {
  .contact-form-wrapper {
    min-height: 739px;
  }

  .contact-form-block-title, .contact-form-success-title  {
    font-size: 36px;
  }

  .contact-form-block-description, .contact-form-success-description {
    font-size: 14px;
  }

  .contact-form-block-gap {
    gap: 5px;
  }

  .contact-form-block-btns-block {
    flex-direction: column;
  }

  .contact-form-block-btns:nth-child(2) {
    height: 100%;
    margin-top: 20px;
  }

  .contact-form-btn {
    width: 100%;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .contact-form-input::placeholder, .contact-form-textarea {
    font-size: 14px;
  }
  .contact-form-btn {
    font-size: 14px;
  }
  .file-error {
    margin-bottom: 0;
  }
  .contact-form-validation-error {
    font-size: 12px;
  }
}