.popup-presentation {
  display: none;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.72);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}
.popup-presentation__wrap {
  max-width: 930px;
  width: 100%;
  margin: 120px auto 120px;
  padding-inline: 20px;
}
@media (max-width: 1199px) {
  .popup-presentation__wrap {
    margin-block: 60px;
  }
}
@media (max-width: 991px) {
  .popup-presentation__wrap {
    margin-block: 40px;
  }
}
.popup-presentation__content {
  position: relative;
  padding: 0 20px 120px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.popup-presentation__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 112px;
  background-color: #ebebeb;
}
@media (max-width: 991px) {
  .popup-presentation__content::before {
    height: 91px;
  }
}
@media (max-width: 479px) {
  .popup-presentation__content::before {
    height: 73px;
  }
}
@media (max-width: 991px) {
  .popup-presentation__content {
    padding-bottom: 80px;
  }
}
@media (max-width: 767px) {
  .popup-presentation__content {
    padding-bottom: 40px;
  }
}
@media (max-width: 479px) {
  .popup-presentation__content {
    padding-bottom: 24px;
  }
}
.popup-presentation__image {
  position: relative;
  z-index: 3;
  max-width: 340px;
  width: 100%;
}
@media (max-width: 991px) {
  .popup-presentation__image {
    max-width: 270px;
  }
}
@media (max-width: 479px) {
  .popup-presentation__image {
    max-width: 217px;
  }
}
.popup-presentation__image img {
  width: 100%;
}
.popup-presentation__text {
  max-width: 600px;
  width: 100%;
  margin-top: -41px;
}
.popup-presentation__text:not(:last-child) {
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  .popup-presentation__text {
    max-width: 540px;
    margin-top: -30px;
  }
}
@media (max-width: 767px) {
  .popup-presentation__text {
    max-width: 500px;
    margin-top: -20px;
  }
}
@media (max-width: 479px) {
  .popup-presentation__text:not(:last-child) {
    margin-bottom: 16px;
  }
}
.popup-presentation__text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 120%;
  color: #102A1F;
  text-align: center;
  margin: 0;
}
@media (max-width: 991px) {
  .popup-presentation__text h2 {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  .popup-presentation__text h2 {
    font-size: 24px;
  }
}
@media (max-width: 479px) {
  .popup-presentation__text h2 {
    font-size: 20px;
  }
}
.popup-presentation__text h2 span {
  color: #265742;
}
.close-popup {
  position: absolute;
  z-index: 10;
  top: 15px;
  right: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  cursor: pointer;
  background-color: transparent;
}
@media (max-width: 767px) {
  .close-popup {
    width: 30px;
    height: 30px;
    top: 12px;
    right: 16px;
  }
}
@media (max-width: 479px) {
  .close-popup {
    width: 24px;
    height: 24px;
    top: 9px;
    right: 11px;
  }
}
.close-popup img {
  width: 100%;
  height: 100%;
}

.form-popup {
  max-width: 616px;
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
@media (max-width: 479px) {
  .form-popup {
    row-gap: 16px;
  }
}
.form-popup__field {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.form-popup__field label {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 479px) {
  .form-popup__field label {
    font-size: 14px;
  }
}
.form-popup__field input,
.form-popup__field select {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}
@media (max-width: 479px) {
  .form-popup__field input,
  .form-popup__field select {
    font-size: 14px;
  }
}
.form-popup__field input::placeholder,
.form-popup__field select::placeholder {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: rgba(0, 0, 0, 0.6);
}
@media (max-width: 479px) {
  .form-popup__field input::placeholder,
  .form-popup__field select::placeholder {
    font-size: 14px;
  }
}
.form-popup__field input:focus,
.form-popup__field select:focus {
  border-color: #007aff;
}
.form-popup__field select {
  cursor: pointer;
}
.form-popup__button {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  gap: 10px;
  width: 100%;
  height: 54px;
  background-color: #265742;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 122%;
  color: #FFFFFF;
  text-align: center;
}
@media (any-hover: hover) {
  .form-popup__button:hover {
    opacity: 0.8;
  }
}
@media (max-width: 479px) {
  .form-popup__button {
    height: 52px;
    font-size: 16px;
  }
}

.w-form-done {
  font-family: 'Montserrat', sans-serif;
  display: none;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  margin-top: 10px;
  padding: 20px;
  text-align: center;
  background-color: #ddd;
}

.w-form-fail {
  font-family: 'Montserrat', sans-serif;
  display: none;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background-color: #ffdede;
}