footer {
  position: relative;
  z-index: 1;
}

footer .footer--main {
  background: #000;
  border-radius: 56px 56px 0 0;
}

footer .footer--main .footer__wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 56px 161px;
}

footer .footer--main .footer__wrapper .footer__left {
  width: 100%;
}

@media all and (max-width: 767px) {
  footer .footer--main .footer__wrapper .footer__left {
    width: auto;
  }
}

footer .footer--main .footer__wrapper .footer__left .footer__logo {
  display: flex;
}

footer .footer--main .footer__wrapper .footer__left .footer__logo {
  display: flex;
}

footer .footer--main .footer__wrapper .footer__left .footer__logo img {
  max-height: 60px;
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
  object-fit: contain;
  object-position: left center;
}
footer .footer--main .footer__wrapper .footer__center {
  width: 100%;
}
@media all and (max-width: 767px) {
  footer .footer--main .footer__wrapper .footer__center {
    width: auto;
  }
}

footer .footer--main .footer__wrapper .footer__center .menu {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 48px;
  justify-content: center;
  padding: 0;
  list-style: none;
  color: #fff;
}

footer .footer--main .footer__wrapper .footer__center .menu .footer__menu_item {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  leading-trim: both;
  line-height: 24px;
  order: 0;
  text-edge: cap;
}

footer .footer--main .footer__wrapper .footer__center .menu .footer__menu_item a {
  color: #fff;
  position: relative;
}

footer .footer--main .footer__wrapper .footer__center .menu .footer__menu_item a:hover {
  text-decoration: none;
}

footer .footer--main .footer__wrapper .footer__center .menu .footer__menu_item .footer__menu_link:after {
  background-color: #fff;
  bottom: -4px;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  right: 0;
  transition: width 0.2s linear;
  width: 0;
}

footer .footer--main .footer__wrapper .footer__center .menu .footer__menu_item .footer__menu_link:hover:after {
  background-color: #fff;
  left: 0;
  transition-delay: 0.3s;
  width: 100%;
  z-index: 10;
}

footer .footer--main .footer__wrapper .footer__right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
@media all and (max-width: 767px) {
  footer .footer--main .footer__wrapper .footer__right {
    width: auto;
  }
}
.socials__wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 32px;
  padding: 0;
}

.socials__wrapper .social__text p {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  leading-trim: both;
  line-height: 24px;
  text-edge: cap;
}

.socials__wrapper .social__items {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 0;
}

.socials__wrapper .social__items .social__item {
  display: flex;
}

.socials__wrapper .social__items .social__item .social__icon {
  height: 56px;
  width: 56px;
}

footer .footer--sub {
  background: linear-gradient(101.81deg, #eafbff 4.5%, #e9e9e9 94.48%);
}

footer .footer--sub .menu {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 120px;
  justify-content: center;
  padding: 0;
  padding-bottom: 12px;
  padding-top: 12px;
  list-style: none;
  margin-bottom: 0;
}

footer .footer--sub .menu .footer__menu_item {
  font-size: 12px;
  font-weight: 500;
  leading-trim: both;
  line-height: 16px;
  text-edge: cap;
}

footer .footer--sub .menu .footer__menu_item .footer__menu_link {
  color: inherit;
  position: relative;
  text-decoration: none;
}

@media all and (max-width: 991px) {
  footer .footer--main {
    border-radius: 32px 32px 0 0;
  }

  footer .footer--main .footer__wrapper {
    flex-direction: column;
    gap: 56px;
    padding: 56px 0;
  }

  footer .footer--main .footer__wrapper .footer__center .menu {
    flex-direction: column;
    gap: 48px;
  }

  .socials__wrapper {
    align-items: center;
    flex-direction: column;
    gap: 24px;
  }

  footer .footer--sub .menu {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 48px;
    padding-top: 48px;
  }

  footer .footer--main .footer__wrapper .footer__left .footer__logo img {
    max-height: 51px;
  }
}
