.footer {
  background: var(--primary-900);
  color: var(--white);
}
.footer .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 130px;
}
.footer__head {
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  max-width: 97%;
}
.footer__title {
  font: 700 24px/32px var(--Mont);
  color: white;
}
.footer__form {
  display: -ms-flexbox;
  display: flex;
  max-width: 524px;
  width: 100%;
  background: #fff;
  border-radius: 4px;
}
.footer__input {
  width: 100%;
}
.footer__input input {
  padding: 12px;
  font: 400 14px/16px var(--Lato);
  border: none;
  border-radius: 4px;
  width: 100%;
}
.footer__input input:-ms-input-placeholder {
  color: #BFBFBF;
}
.footer__input input::placeholder {
  color: #BFBFBF;
}
.footer__button {
  width: -moz-max-content;
  width: max-content;
  text-align: center;
  border-radius: 4px;
  padding: 8px 24px;
  color: var(--color-white);
  text-transform: uppercase;
  background: var(--primary-400);
  font: 700 14px/24px var(--Lato);
  transition: 0.4s ease;
  display: block;
}
.footer__button:hover {
  transition: 0.2s ease;
  background: #1C5DC4;
}
.footer__menu {
  color: var(--color-white);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 12px;
  min-width: 198px;
}
.menu, .textwidget{
  margin: 0;
  display: flex;
  flex-direction: column;
  gap:12px;
}
.textwidget p{
  margin: 0;
}
.footer__menu-title {
  margin-bottom: 4px;
  color:var(--color-white);
  font: 700 16px/24px var(--Mont);
}
.footer__menu:nth-child(2), .footer__menu:nth-child(3) {
  margin-left: 40px;
}
.footer__menu-wrap {
  display: -ms-flexbox;
  display: flex;
  gap: 69px;
  margin: 64px 0 72px;
  -ms-flex-pack: justify;
      justify-content: space-between;
}
.footer__menu a {
  font: 400 14px/16px var(--Lato);
  color:white;
  display: block;
}
.phone{
  display: flex;
  align-items: center;
  gap:20px;
}
.phone > *:first-child{
  position: relative;
  &:after{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -12px;
    width:4px;
    height:4px;
    background: var(--color-white);
    border-radius: 50%;
  }
}
.footer__menu-icon {
  position: relative;
  padding-left: 24px;
}
.footer__menu-icon:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 16px;
  height: 16px;
  transition: 0.2s ease;
}
.footer__menu-icon.location:after {
  background: url(../img/footer/map.svg) center/16px 16px no-repeat;
}
.footer__menu-icon.phone:after {
  background: url(../img/footer/phone.svg) center/16px 16px no-repeat;
}
.footer__menu-icon.email:after {
  background: url(../img/footer/email.svg) center/16px 16px no-repeat;
}
.footer__menu-social {
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}
.footer__menu-social a {
  width: 24px;
  height: 24px;
}
.footer__bottom {
  color: var(--color-white);
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
}
.footer__bottom-block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 16px;
}
.footer__bottom-block > * {
  font: 400 14px/16px var(--Lato);
}
.footer__bottom-block.language {
  gap: 8px;
  margin-right: 16px;
}
.footer__bottom-block.language > * {
  font: 700 12px/16px var(--Lato);
}
.footer__input {
  position: relative;
}
.footer label.error {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: red;
  font: 400 14px/16px var(--Lato);
}

@media only screen and (max-width: 1440px) {
  .footer__menu-wrap {
    gap: 2vw;
  }
  .footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (max-width: 991px) {
  .footer__menu-wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 40px 24px;
  }
  .footer__menu {
    margin: 0 !important;
    min-width: auto;
    width: calc(50% - 12px);
  }
  .footer__head {
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: start;
        align-items: flex-start;
  }
}
@media only screen and (max-width: 666px) {
  .footer .container {
    padding: 24px 12px;
  }
  .footer__menu-wrap {
    margin: 24px 0;
  }
  .footer__title {
    font-size: 20px;
  }
  .footer__menu-title {
    font-size: 14px;
    line-height: 24px;
  }
  .footer__menu a {
    font-size: 12px;
  }
  .footer__menu, .menu, .textwidget {
    gap: 8px;
  }
  .footer__menu-wrap {
    gap: 24px;
  }
  .footer__bottom-block a {
    display: none;
  }
  .footer__bottom-block > * {
    font-size: 12px;
  }
  .phone{
    flex-direction: column;
    align-items: flex-start;
    gap:4px;
  }
  .phone > :first-child:after {
    display: none;
  }
}
@media only screen and (max-width: 480px) {
  .footer__form {
    -ms-flex-direction: column;
        flex-direction: column;
    gap: 8px;
    background: none;
  }
  .footer__button {
    width: 100%;
  }
  .footer__head {
    gap: 12px;
  }
  .footer label.error {
    bottom: 0px;
    left: unset;
    right: 5px;
    font: 400 12px/16px var(--Lato);
  }
}