.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  color: #d7e2ec;
  background: #102538;
  border-top: 4px solid #1597e5;
  font-family: inherit;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer__inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2fr);
  gap: clamp(48px, 8vw, 110px);
  padding: 58px 0 42px;
}

.site-footer__brand {
  max-width: 330px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-footer__logo:hover,
.site-footer__logo:focus {
  color: #fff;
  text-decoration: none;
}

.site-footer__logo img {
  display: block;
  width: 45px;
  height: 35px;
  object-fit: contain;
}

.site-footer__brand > p {
  margin: 20px 0 24px;
  color: #aebfce;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.site-footer__rating {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  color: #d7e2ec;
  text-decoration: none;
}

.site-footer__rating:hover,
.site-footer__rating:focus {
  color: #fff;
  text-decoration: none;
}

.site-footer__rating-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer__rating-name img,
.site-footer__score {
  display: block;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: auto;
  height: auto;
  color: inherit;
  background: transparent !important;
  box-shadow: none;
  line-height: normal;
}

.site-footer__column h2 {
  margin: 0 0 19px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.site-footer__column ul {
  display: block !important;
  position: static;
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li {
  display: block !important;
  position: static;
  float: none !important;
  clear: both;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.site-footer__column li + li {
  margin-top: 11px;
}

.site-footer__column a {
  display: inline;
  position: static;
  float: none !important;
  height: auto;
  padding: 0;
  color: #aebfce;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 17px 0;
  border-top: 1px solid rgba(215, 226, 236, .16);
}

.site-footer__bottom p {
  margin: 0;
  color: #8fa5b8;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer__social {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.site-footer__social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #d7e2ec;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(215, 226, 236, .2);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  color: #fff;
  background: #087fc9;
  border-color: #1597e5;
  outline: 0;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .site-footer__inner {
    width: min(100% - 30px, 540px);
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 44px 0 32px;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .site-footer__bottom {
    align-items: flex-start;
  }
}

@media (max-width: 479.98px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__bottom {
    flex-direction: column;
    min-height: 0;
    padding: 22px 0 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__column a,
  .site-footer__social a {
    transition: none;
  }
}