.modal {
  border-radius: 56px;
  background: #fff;
  padding: 52px 85px;
  min-height: 305px;
  max-width: 710px;
  width: 100%;
  position: relative;
}
.modal.modal--success .modal__success-message {
  display: block;
}
.modal.modal--success .modal_form {
  display: none;
}
.modal__success-message {
  display: none;
  font-size: 30px;
  color: #1e3a5e;
  font-family: Gilroy;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .modal {
    padding: 25px;
    border-radius: 25px;
  }
}
.modal__header h2 {
  color: #1e3a5e;
  font-family: Gilroy;
  font-size: 39px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .modal__header h2 {
    font-size: 22px;
    text-align: left;
  }
}
.modal__close-btn {
  background: no-repeat;
  border: none;
  position: absolute;
  top: 20px;
  right: 28px;
  cursor: pointer;
}
.modal__close-btn img {
  width: 100%;
}
@media (max-width: 768px) {
  .modal__close-btn {
    width: 35px;
    right: 20px;
  }
}
.modal__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal__body label {
  display: flex;
  flex-direction: column;
  color: #1e3a5e;
  font-family: Gilroy;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}
.modal__body input[type=text],
.modal__body input[type=tel] {
  border-radius: 10px;
  border: 1px solid #1e3a5e;
  background: #fff;
  padding: 16px 20px;
  font-family: Gilroy;
  margin-top: 10px;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.modal__bottom {
  display: flex;
  gap: 20px;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .modal__bottom {
    flex-direction: column;
    text-align: center;
  }
}
.modal__bottom button {
  border-radius: 10px;
  background: #1e3a5e;
  padding: 15px 30px;
  color: #fff;
  font-family: Gilroy;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  border: none;
  cursor: pointer;
  opacity: 0.9;
}
.modal__bottom button:hover {
  opacity: 1;
}
.modal__bottom span {
  color: #1e3a5e;
  font-family: Gilroy;
  max-width: 364px;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.modal__information {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  color: #000;
  font-family: Gilroy;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-top: 43px;
}
@media (max-width: 768px) {
  .modal__information {
    font-size: 13px;
  }
}
.modal__overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5098039216);
  z-index: 5;
}
.modal__overlay--show {
  display: flex;
}/*# sourceMappingURL=style.css.map */