.footer {
  padding: 85px 0 93px 0;
  background: linear-gradient(243deg, #8233ff 17.11%, rgba(2, 72, 202, 0) 321.48%, #ffffff 296.48%);
}

@media screen and (max-width: 1240px) {
  .footer {
    padding: 70px 0;
  }
}

@media screen and (max-width: 991px) {
  .footer {
    padding: 50px 0;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 30px 0;
  }
}

.footer__blocks {
  display: flex;
  margin-bottom: 78px;
}

@media screen and (max-width: 1240px) {
  .footer__blocks {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 767px) {
  .footer__blocks {
    flex-direction: column;
    text-align: center;
    margin-bottom: 46px;
  }
}

.footer__block {
  margin-right: 89px;
}

@media screen and (max-width: 1240px) {
  .footer__block {
    margin-right: 40px;
  }
}

@media screen and (max-width: 991px) {
  .footer__block {
    margin-right: 38px;
  }
}

.footer__block:last-child {
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .footer__block {
    margin-right: 0;
    margin-bottom: 25px;
  }
  .footer__block:last-child {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 991px) {
  .footer__block:first-child .footer__menu li:nth-child(2) {
    line-height: 114%;
    margin-top: 7px;
  }
}

@media screen and (max-width: 767px) {
  .footer__block:first-child .footer__menu li:nth-child(2) {
    margin-top: 0;
    line-height: 228%;
  }
}

@media screen and (max-width: 991px) {
  .footer__block:nth-child(3) .footer__menu li:nth-child(3) {
    line-height: 114%;
    margin-top: 7px;
  }
}

@media screen and (max-width: 767px) {
  .footer__block:nth-child(3) .footer__menu li:nth-child(3) {
    margin-top: 0;
    line-height: 228%;
  }
}

@media screen and (max-width: 991px) {
  .footer__block:nth-child(4) .footer__menu li:nth-child(1) {
    line-height: 114%;
    margin-top: 27px;
  }
}

@media screen and (max-width: 767px) {
  .footer__block:nth-child(4) .footer__menu li:nth-child(1) {
    margin-top: 0;
    line-height: 228%;
  }
}

@media screen and (max-width: 991px) {
  .footer__block:nth-child(4) .footer__menu li:nth-child(2) {
    line-height: 114%;
    margin-top: 10px;
  }
}

@media screen and (max-width: 767px) {
  .footer__block:nth-child(4) .footer__menu li:nth-child(2) {
    margin-top: 0;
    line-height: 228%;
  }
}

.footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  line-height: 162%;
  color: var(--theme-primary-text);
  font-family: "Gotham Pro";
  margin-bottom: 19px;
}

@media screen and (max-width: 1240px) {
  .footer__title {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .footer__title {
    justify-content: center;
    font-size: 26px;
    font-family: "Gilroy";
    font-weight: 500;
    margin-bottom: 6px;
  }
}

.footer__menu {
  font-size: 17px;
  line-height: 228%;
  font-family: "Gotham Pro";
}

.footer__menu a {
  transition: opacity 0.3s ease;
}

.footer__menu a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 1240px) {
  .footer__menu {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .footer__menu {
    font-size: 19px;
    font-family: "Gilroy";
  }
}

.footer__logo {
  justify-content: flex-start;
}

@media screen and (max-width: 991px) {
  .footer__logo {
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .footer__logo {
    display: none;
  }
}

.footer__logo-mob {
  display: none;
}

@media screen and (max-width: 767px) {
  .footer__logo-mob {
    display: flex;
    margin: 0 auto;
    margin-bottom: 43px;
  }
}

.footer__item {
  position: relative;
}

.footer__card {
  position: absolute;
  bottom: -59px;
  right: -88px;
}

@media screen and (max-width: 1350px) {
  .footer__card {
    right: -35px;
  }
}

@media screen and (max-width: 1240px) {
  .footer__card {
    right: 0;
  }
}

@media screen and (max-width: 991px) {
  .footer__card {
    bottom: -40px;
  }
}

@media screen and (max-width: 767px) {
  .footer__card {
    position: static;
    margin: 0 auto;
    width: 89px;
    height: 30px;
  }
}

.wrapper.active .footer {
  background: linear-gradient(263.74deg, #0059ff -14.89%, rgba(2, 72, 202, 0) 302.48%, #0059ff 302.48%);
}

.wrapper.active .footer__menu {
  color: rgba(255, 255, 255, 0.9);
}

.wrapper.active .footer__logo {
  color: var(--theme-primary-text);
}

.wrapper.active .footer__logo-mob {
  color: var(--theme-primary-text);
}

.footer__contact {
  color: #ffffff;
}

.footer__ip-info {
  color: var(--theme-primary-text);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer__ip-info:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .footer__ip-info {
    font-size: 16px;
    display: inline-block;
    text-align: center;
  }
}