.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--gradient-footer);
  max-width: 1920px;
  margin-inline: auto;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer .decor {
  z-index: 0;
}

.footer {
  padding: 48px 0 28px;
  color: var(--color-on-dark-secondary);
}

.footer__top {
  display: flex;
  gap: 26px;
  padding-bottom: 40px;
}

.footer__brand {
  width: 210px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-on-dark-primary);
}

.footer__logo img {
  width: 30px;
}

.footer__logo .accent {
  color: var(--color-brand-400);
}

.footer__rule {
  height: 1px;
  background: var(--color-dark-border);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social img {
  width: 19px;
}

.footer__social .icon--solid {
  width: 19px;
  height: 19px;
  color: #d6e8e3;
}

.footer__social:hover .icon--solid {
  color: var(--color-brand-400);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__col--services {
  width: 150px;
}

.footer__col--company {
  width: 120px;
}

.footer__col--support {
  width: 170px;
}

.footer__col--contacts {
  width: 168px;
}

.footer__title {
  color: var(--color-brand-400);
  font-size: var(--text-question-size);
  font-weight: var(--text-question-weight);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__col li img {
  width: 17px;
  flex: none;
}

.footer__col li .icon--solid {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--color-brand-400);
}

.footer__cta {
  position: relative;
  width: 310px;
  flex: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(20, 70, 59, .55), rgba(6, 35, 31, .85));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  align-self: flex-start;
  height: 380px;
}

.footer__cta-title {
  color: var(--color-on-dark-primary);
}

.footer__cta img {
  position: absolute;
  right: -12px;
  bottom: -1px;
  width: 180px;
  pointer-events: none;
}

.footer__cta .btn {
  position: relative;
  z-index: 1;
  background: var(--gradient-brand-on-dark);
  color: var(--color-text-inverse);
  --btn-x: 26px;
  padding: 15px var(--btn-x);
}

.footer__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
}

.footer__stats > span {
  width: 1px;
  height: 54px;
  background: var(--color-dark-border);
}

.footer__stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.footer__stat-icon img {
  width: 25px;
}

.footer__stat b {
  display: block;
  color: var(--color-on-dark-primary);
  font-size: var(--text-stat-size);
  font-weight: var(--text-stat-weight);
}

.footer__stat span {
  color: var(--color-on-dark-muted);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  color: var(--color-on-dark-muted);
}

@media (min-width: 769px) and (max-width: 1100px) {
  .footer__top {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    width: auto;
  }

  .footer__brand p {
    max-width: 560px;
  }

  .footer__col {
    width: auto;
  }

  .footer__cta {
    grid-column: 1 / -1;
    width: auto;
    height: auto;
    min-height: 220px;
    padding-right: 240px;
  }
}

@media (max-width: 768px) {
  .footer__cta {
    height: auto;
    min-height: 220px;
    padding-right: 220px;
  }
}

@media (max-width: 560px) {
  .footer__cta {
    min-height: 0;
    padding-right: 30px;
    padding-bottom: 200px;
  }
}

@media (max-width: 768px) {
  .footer__top {
    flex-wrap: wrap;
  }

  .footer__brand {
    width: 100%;
  }

  .footer__cta {
    width: 100%;
  }
}
