html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  background-color: #f2f2f2;
}
p,
a,
li,
label {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: normal;
}
.content {
  flex: 1 0 auto;
  margin-top: -20px;
  z-index: 1;
}
.header-wrap {
  width: 100%;
  background-color: #f2f2f2;
}
.header {
  width: 100%;
  max-width: 1000px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer-wrapper {
  flex-shrink: 0;
  background-color: #fff;
}

.logo {
  padding: 28px 0 0;
  display: flex;
  align-items: center;
}
.logo img {
  width: 144px;
}
.logo p {
  margin-left: 30px;
  padding-left: 30px;
  padding-top: 6px;
  padding-bottom: 5px;
  border-left: 1px solid #000;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #000000;
}

.header .contacts {
  padding-top: 20px;
  display: flex;
  align-items: center;
}
.header .contacts a {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #000000;
}
.header .contacts .info {
  margin-right: 10px;
}
.header .contacts .info p {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  text-align: right;
  color: #808080;
}
.header .contacts .button {
  width: 160px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Roboto Slab", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  color: #a33739;

  border: 1px solid #a33739;
  box-sizing: border-box;
  border-radius: 4px;
}
.footer-wrapper {
  position: relative;
}
.footer-wrapper::before {
  width: 100%;
  height: 160px;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  transform: skew(0, -4deg);
  background-color: #fff;
}
.footer-wrapper::after {
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  left: 0;
  background-color: #fff;
}
.footer {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: block;
  z-index: 1;
}
.footer p:first-child {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  color: #565656;
}
.footer .row {
  margin-top: 60px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.footer .row p {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #808080;
}
.footer .row a {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  text-decoration-line: underline;
  color: #808080;
}

.main {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1000px;
  padding: 50px 20px 0;
  margin: 0 auto;
}
.main .left {
  width: calc(100% - 296px);
}
.main .left .title {
  font-family: "Roboto Slab", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #000000;
}
.main .left .subtitle {
  margin: 30px 0 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  color: #000000;
}
.main .left ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  color: #000000;
}
.main .left ul li::before {
  content: "";
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("img/point.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px;
}
.main .left ul li span {
  font-weight: 700;
}
.main .right {
  position: relative;
  width: 296px;
}
.main .right img.abs {
  position: absolute;
  max-width: none;
  right: 50px;
}
.main .right .authors {
  margin-top: 356px;
}
.main .right .authors img {
  display: block;
  margin: 0 auto;
}
.main .right .authors p {
  margin-top: 15px;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: #3d3d2f;
}
.main .right .authors p span {
  font-weight: 700;
}

.main-form {
  margin-top: 58px;
  display: flex;
  flex-direction: row;
}
.main-form label {
  margin-bottom: 4px;
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #000000;
}
.main-form input[type="tel"] {
  width: 270px;
  height: 64px;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  padding: 20px;
  letter-spacing: 0.05em;
  color: #000000;
  background-color: transparent;
}
.main-form input[type="submit"] {
  width: 270px;
  height: 64px;
  font-family: "Roboto Slab", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 21px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #ffffff;
  background: #a33739;
  border-radius: 8px;
  text-align: center;
  text-transform: uppercase;
}
.main-form .col:first-child {
  margin-right: 40px;
}

@media (max-width: 992px) {
  .logo p {
    display: none;
  }
  .header .contacts .button {
    display: none;
  }
  .main {
    flex-direction: column;
  }
  .main .left {
    width: 100%;
  }
  .main .right {
    width: 100%;
  }
  .main .right img.abs {
    position: relative;
  }
  .main .right .authors {
    margin-top: 0;
  }
  .footer-wrapper::before {
    display: none;
  }
  .footer-wrapper::after {
    display: none;
  }
  .footer-wrapper {
    margin-top: 20px;
    background-color: transparent;
  }
  .footer .row {
    flex-direction: column-reverse;
  }
  .footer .row a {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .header {
    padding-top: 20px;
  }
  .logo img {
    max-width: 135px;
  }
  .logo {
    padding: 0;
  }
  .header .contacts {
    padding-top: 0;
  }
  .header .contacts a {
    font-size: 19px;
  }
  .header .contacts .info p {
    font-size: 12px;
  }
  .main-form {
    margin-top: 20px;
    flex-direction: column;
  }
  .main-form .col:first-child {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .main-form input[type="tel"],
  .main-form input[type="submit"] {
    width: 100%;
  }
  .main .right {
    margin-top: 20px;
  }
  .main .left .title {
    font-size: 31px;
  }
  .footer .row p {
    text-align: center;
  }
  .main .right img.abs {
    max-width: 100%;
  }
  .main .right .authors {
    margin-top: 10px;
  }
  .footer .row {
    margin-top: 30px;
  }
}





.modal,
.modal__outer {
  width: 100%;
  top: 0;
  left: 0;
}
.modal {
  height: 100vh;
  height: -webkit-calc(var(--vh, 1vh) * 100);
  height: calc(var(--vh, 1vh) * 100);
  z-index: 40;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
  -o-transition: opacity 0.5s ease, visibility 0.5s ease;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  position: fixed;
}
.modal.open,
.modal__inner.open {
  opacity: 1;
  visibility: visible;
}
.modal__outer {
  height: 100%;
  position: absolute;
  overflow: hidden;
  overflow-y: auto;
}
.modal__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: auto;
  min-height: 100%;
  padding: 15px 0;
  position: relative;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.5s ease,
  -webkit-transform 0.4s ease;
  -o-transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.5s ease;
  transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.5s ease;
  transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.5s ease,
  -webkit-transform 0.4s ease;
}
.modal__overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.modal-box {
  background: #fff;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.8),
  0 32px 60px rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.8), 0 32px 60px rgba(0, 0, 0, 0.32);
  -webkit-border-radius: 12px;
  border-radius: 12px;
}
.modal-callback {
  position: relative;
  margin: auto;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
  pointer-events: all;
  max-width: 548px;
  width: 100%;
  z-index: 1;
  padding: 48px 64px;
}
.modal-callback__close {
  padding: 16px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  z-index: 2;
}
.modal-callback__close svg {
  width: 24px;
  height: 24px;
  fill: #5f933f;
  -webkit-transition: fill 0.15s ease;
  -o-transition: fill 0.15s ease;
  transition: fill 0.15s ease;
}
.modal-callback__close:hover svg {
  fill: #000;
}
.modal-callback .form__title {
  font-family: "Roboto Slab", sans-serif;
  font-size: 22px;
  line-height: 140%;
}
.modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
}
.modal .input-text {
  background: #fff;
  border: 1px solid gray;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  height: 64px;
  padding: 0 24px;
  font-size: 20px;
  line-height: 100%;
  width: 100%;
  display: block;
  -webkit-transition: border-color 0.15s ease, color 0.15s ease;
  -o-transition: border-color 0.15s ease, color 0.15s ease;
  transition: border-color 0.15s ease, color 0.15s ease;
  color: #000;
  position: relative;
  z-index: 1;
}
.modal .input-text::-ms-input-placeholder {
  color: #bdbdbd;
}
.modal .input-text::placeholder {
  color: #bdbdbd;
}
.modal .input-text::-webkit-input-placeholder {
  color: #bdbdbd;
}
.modal .input-text:-moz-placeholder,
.modal .input-text::-moz-placeholder {
  color: #bdbdbd;
}
.modal .input-text:-ms-input-placeholder {
  color: #bdbdbd;
}
.modal .input-text.error {
  border-color: #973737;
  color: #973737;
}
.modal .input-text_phone::-ms-input-placeholder {
  color: #000;
}
.modal .input-text_phone::placeholder {
  color: #000;
}
.modal .input-text_phone::-webkit-input-placeholder {
  color: #000;
}
.modal .input-text_phone:-moz-placeholder,
.modal .input-text_phone::-moz-placeholder {
  color: #000;
}
.modal .input-text_phone:-ms-input-placeholder {
  color: #000;
}
.modal .input-label {
  padding-left: 8px;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 140%;
  display: block;
}
.modal .form__title {
  margin-bottom: 24px;
}
.modal .button {
  text-align: center;
  outline: 0;
  border: 0;
  -webkit-transition: background 0.3s ease, color 0.3s ease,
  -webkit-box-shadow 0.3s ease;
  -o-transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
  -webkit-box-shadow 0.3s ease;
  color: #fff;
  font-family: "Roboto Slab", sans-serif;
  line-height: 100%;
  padding: 24px 16px;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  text-transform: uppercase;
}
.modal .button_primary {
  background: #973737;
  -webkit-box-shadow: 0 8px 20px rgba(151, 55, 55, 0.35);
  box-shadow: 0 8px 20px rgba(151, 55, 55, 0.35);
}
.modal .button_primary:hover {
  background: #bb4646;
  -webkit-box-shadow: 0 8px 20px rgba(151, 55, 55, 0.7);
  box-shadow: 0 8px 20px rgba(151, 55, 55, 0.7);
}
.modal .form_box {
  padding: 32px;
  background: rgba(242, 242, 242, 0.5);
  -webkit-border-radius: 12px;
  border-radius: 12px;
}
.modal .form__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 24px;
}
.modal .form__input {
  margin-bottom: 16px;
}
.modal .form__button {
  margin-top: 40px;
  display: block;
  width: 100%;
}
.modal .form__policy {
  margin-top: 12px;
}
.modal .form__policy_small {
  max-width: 348px;
}
.modal .form-policy {
  font-size: 14px;
  line-height: 140%;
  text-align: center;
}
.modal .form-policy a {
  -webkit-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
  color: #5f933f;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}