:root {
  --darkblue: #000223;
  --blue: #0057be;
  --lightblue: #03b6fc;
  --grey: #5b637b;
  --bg: #f8f8f8;
  --white: #fff;
  --modal-bg: rgba(0, 0, 0, 0.6);
  --modal-icon: #ffffff;
  --modal-close-bg: #af0005;
  --font-family: "Inter", sans-serif;
  --second-family: "PF Agora Slab Pro", sans-serif;
}

.wrapper {
  max-width: 1600px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 48px;
}
@media (max-width: 1503px) {
  .wrapper {
    max-width: 100%;
  }
}
@media (max-width: 1023px) {
  .wrapper {
    padding-inline: 40px;
  }
}
@media (max-width: 767px) {
  .wrapper {
    padding-inline: 20px;
  }
}

.modal {
  position: fixed;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.3s, visibility 0.3s;
  transition: opacity 0.3s, visibility 0.3s;
  inset: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background-color: var(--modal-bg);
  color: var(--black);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.modal *,
.modal *::before,
.modal *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.modal__bg-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.modal__bg-images img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background-position: top right;
}
.modal__body {
  position: relative;
  max-width: 1248px;
  width: 1248px;
  margin: 0 auto;
  overflow: hidden;
  padding: 56px 40px 70px;
  background: #06b7fd;
  border-radius: 0;
}
.modal__title {
  font-family: var(--second-family);
  font-weight: 900;
  font-size: 48px;
  line-height: 117%;
  color: var(--white);
  margin: 0;
  margin-bottom: 15px;
  max-width: 670px;
}
.modal__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 570px;
}
.modal__over-images {
  position: relative;
  z-index: 2;
}
.modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--modal-icon);
  background-color: var(--modal-close-bg);
  border: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.modal__close svg {
  display: block;
  width: 16px;
  height: auto;
}
.modal__close svg path {
  stroke: currentColor;
}
.modal__close:hover, .modal__close:active, .modal__close:focus {
  width: 56px;
  height: 56px;
}
.modal.active {
  pointer-events: initial;
  visibility: visible;
  opacity: 1;
}
.modal__button {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px 24px;
  line-height: 1;
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--white) !important;
  text-decoration: none !important;
  min-height: 42px;
  position: relative;
}
.modal__button::before {
  content: "";
  display: block;
  z-index: 0;
  background-color: #af0005;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.modal__button span {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.modal__button:hover::before {
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
}
@media (max-width: 1440px) {
  .modal__body {
    max-width: 100%;
    width: 100%;
    padding: 88px 48px 58px;
  }
  .modal__title {
    font-size: 32px;
    max-width: 448px;
  }
  .modal__text {
    font-size: 16px;
    max-width: 400px;
  }
}
@media (max-width: 1023px) {
  .modal .form__button {
    max-width: 224px;
    margin-left: 0;
  }
}
@media (max-width: 950px) {
  .modal__body {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 767px) {
  .modal__body {
    padding: 17px 20px 30px;
  }
  .modal__title {
    font-size: 28px;
    line-height: 125%;
  }
  .modal__close {
    top: 0;
    right: 0;
  }
  .modal__close svg {
    scale: 0.8;
  }
  .modal .form__grid {
    gap: 16px;
    grid-template-columns: repeat(1, 1fr);
  }
  .modal .form__grid .form__button {
    max-width: 100%;
    width: 100%;
  }
  .modal__bg-images img {
    background-position: top center;
  }
  .modal__body {
    padding: 270px 20px 30px;
  }
  .modal__title {
    font-size: 20px;
  }
  .modal__text {
    font-size: 15px;
    margin-bottom: 20px;
  }
}

.modal-open {
  overflow: hidden;
}/*# sourceMappingURL=custom-style.css.map */