.site-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 40px;
  width: 100%;
  max-width: 1320px;
  padding: 32px 32px 12px;
  margin: 140px auto 0;
  border-radius: 32px 32px 0 0;
  background: rgb(255 255 255 / 60%);
  box-shadow: var(--shadow-block);
  -webkit-backdrop-filter: blur(98px);
  backdrop-filter: blur(98px);
}

.site-footer__top {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  padding: 12px 10px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-block);
}

.site-footer__branding {
  display: block;
  width: 110px;
  height: 72px;
}

.site-footer__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-footer__socials,
.site-footer__social {
  display: flex;
  align-items: center;
}

.site-footer__socials {
  gap: 24px;
}

.site-footer__social {
  gap: 16px;
  font-size: 18px;
  line-height: 1;
}

.site-footer__social-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  box-shadow: var(--shadow-control);
}

.site-footer__social-icon img {
  width: 15px;
  height: 15px;
}

.site-footer__social:first-child .site-footer__social-icon img {
  width: 14px;
  height: 14px;
}

.site-footer__tagline {
  justify-self: end;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.2;
  text-align: right;
}

.site-footer__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-variation-settings:
    "wdth" 100,
    "wght" 500;
  font-weight: 500;
  line-height: 1;
}

.site-footer__links,
.site-footer__contact-list {
  display: flex;
  flex-direction: column;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 17px;
}

.site-footer__links {
  gap: 8px;
}

.site-footer__contact-list {
  gap: 12px;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__contact img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.site-footer__contact span {
  line-height: 1.2;
}

.site-footer__contacts {
  width: 31%;
  max-width: 315px;
}

.site-footer__divider,
.site-footer__mobile-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-element);
}

.site-footer__mobile-divider {
  display: none;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.site-footer__license {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.site-footer__license img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.site-footer__copyright {
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.site-footer a {
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .site-footer {
    gap: 24px;
    padding: 32px 12px 12px;
    margin-top: 60px;
    max-width: calc(100% - 24px);
  }

  .site-footer__top {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-radius: 16px;
    background: rgb(255 255 255 / 60%);
  }

  .site-footer__branding {
    width: 69px;
    height: 46px;
  }

  .site-footer__socials {
    gap: 12px;
  }

  .site-footer__social {
    gap: 0;
  }

  .site-footer__social-name,
  .site-footer__tagline {
    display: none;
  }

  .site-footer__content {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer__column,
  .site-footer__contacts {
    width: 100%;
    max-width: none;
  }

  .site-footer__mobile-divider {
    display: block;
  }

  .site-footer__divider {
    display: none;
  }

  .site-footer__desktop-break {
    display: none;
  }

  .site-footer__bottom {
    gap: 6px;
  }

  .site-footer__license {
    gap: 8px;
    font-size: 12px;
  }

  .site-footer__copyright {
    font-size: 10px;
  }
}
