@charset "UTF-8";
.footer {
  padding: 48px 0;
  background: url(../images/footer.png) no-repeat center center;
  background-size: cover;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid #5b8c00;
  margin-bottom: 32px;
}
.footer__top ul {
  margin-bottom: 0;
  padding: 0;
  display: flex;
}
.footer__top ul li {
  list-style: none;
  margin-right: 12px;
}
.footer__top ul li:last-child {
  margin-right: 0;
}
.footer__bottom {
  text-align: center;
}
.footer__bottom p {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #fff;
  margin-bottom: 0;
}

.overlay {
  /* Скрываем подложку  */
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
  transition: 0.3s all;
}

/* Стили для модальных окон */
.modal {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  max-width: 384px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  text-align: left;
  padding: 24px;
  border-radius: 12px;
  transition: 0.3s all;
  box-shadow: 0 8px 8px -4px rgba(16, 24, 40, 0.04), 0 20px 24px -4px rgba(16, 24, 40, 0.1);
  background: #fff;
}
.modal .form__group {
  margin-bottom: 16px;
}
.modal__title {
  margin-bottom: 20px;
}
.modal__title span {
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  text-transform: uppercase;
  color: #020617;
  display: block;
  margin-bottom: 4px;
}
.modal__title p {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #475569;
  margin-bottom: 0;
}

.form__group-top {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.modal .form__group .form__input-wrapper input {
  border: none;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #475569;
}

.modal .modal__cross {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 26px;
  right: 26px;
  fill: #475569;
  cursor: pointer;
  stroke: #475569;
}

.modal .form__input-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  height: 46px;
  align-items: center;
}

.modal button.form__submit {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 0;
}

/* Стили для активных классов подложки и окна */
.modal.active,
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Стили для кнопки закрытия */
.modal__cross {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 20px;
  right: 20px;
  fill: #444;
  cursor: pointer;
}