/*========= FUNCTIONS ==========*/
/*========= MIXINS ==========*/
.form-wrapper {
  display: flex;
  gap: 30px;
}
.form-image {
  width: 50%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.form-image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: top center;
}
img.block-logo {
  max-width: 130px;
  height: auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  position: absolute;
  left: 40px;
  top: 40px;
}
.form-content {
  width: 50%;
  background: var(--bg_fourth);
  padding: 60px;
  border-radius: 20px;
}
.form-content .form-submit {
  margin-top: 25px;
}
.form-contacts {
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.form-phone {
  font-size: clamp(14px, 0.00375 * 100vw + 12.8px, 20px);
  font-family: var(--font_r);
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--head);
}
.form-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.form-socials_item {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease-out, border 0.4s ease-out;
}
.form-socials_item img {
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  transition: filter 0.1s ease-out;
}
.form-socials_item:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.form-socials_item:hover img {
  filter: brightness(0) invert(15%) sepia(13%) saturate(5747%) hue-rotate(258deg) brightness(95%) contrast(93%);
}
.form-title {
  margin-bottom: 15px;
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font_m);
}
.form-desc {
  font-family: var(--font_m);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-bottom: 40px;
}
.form-notice {
  font-family: var(--font_r);
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  color: var(--main-text-primary);
  margin-top: 10px;
}
.file-input {

}
.file-input input {
  appearance: none;
  height: 1px;
  width: 1px;
  display: contents;
}
.file-input .label {
  font-family: var(--font_r);
  font-weight: 700;
  font-size: 16px;
  line-height: 110%;
  color: var(--primary);
  cursor: pointer;
}
.file-input .label:hover {
  text-decoration: underline;
}
.block-notice {
  width: 100%;
  max-width: 376px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;
  background: var(--bg_fourth);
  padding: 20px;
  border-radius: 10px;
}
.block-notice__title {
  font-family: var(--font_r);
  font-weight: 600;
  font-size: 30px;
  line-height: 110%;
  color: var(--head-primary);
  margin-bottom: 5px;
}
.block-notice__desc {
  font-family: var(--font_r);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  color: var(--primary);
  margin-bottom: 25px;
}
.block-notice .form-submit {
  width: 100%;
}

@media (max-width: 1100px) {
  .form-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  .form-image {
    /*height: 350px;*/
    width: 100%;
    border-radius: 15px;
  }
  img.block-logo {
    max-width: 100px;
  }
  .block-notice__title {
    font-size: 25px;
  }
  .block-notice__desc {
    font-size: 16px;
  }
  .form-content {
    border-radius: 15px;
    width: 100%;
    padding: 20px;
  }
  .form-title {
    font-size: 40px;
  }
  .form-desc {

  }
}
@media (max-width: 992px) {
  .form-block {
    padding: 20px 0 !important;
  }
  .form-content {
    padding: 15px;
  }
  .form-content .form-submit {
    margin-top: 10px;
  }
  .form-contacts {
    margin-top: 20px;
    gap: 10px;
  }
}

@media (max-width: 769px) {
  .form-title {
    font-size: 30px;
  }
  img.block-logo {
    max-width: 70px;
    top: 20px;
    left: 20px;
  }
  .block-notice {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}
@media (max-width: 498px) {
  .form-title {
    font-size: 20px;
  }
  .form-desc {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .form-vacancy .file-input .label {
    font-size: 14px;
  }
  .block-notice {
    padding: 15px;
    width: auto;
  }
  .block-notice__title {
    font-size: 20px;
  }
  .block-notice__desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
}