.footer {
  padding: 60px 0;
  position: relative;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__label-wrapper {
  display: flex;
  align-items: center;
  margin: 0 0 24px 0;
}

.footer__corner {
  pointer-events: none;
  flex-shrink: 0;
}

.footer__corner--top-left {
  align-self: start;
}

.footer__corner--bottom-right {
  align-self: end;
}

.footer__label {
  font-family: var(--font-secondary);
  font-weight: 60;
  font-size: 16px;
  line-height: 88%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-black);
  opacity: var(--opacity-label);
  padding: 4px 0;
}

.footer__social {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) var(--easing-default);
  cursor: pointer;
}

.footer__icon:hover {
  transform: scale(0.95);
}

.footer__icon svg {
  width: 32px;
  height: 32px;
}

@media (hover: none) and (pointer: coarse) {
  .footer__icon:active {
    transform: scale(0.95);
  }
}

.footer__decor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.footer__decor--left {
  top: 0;
  left: 0;
}

.footer__decor--right {
  top: 0;
  right: 0;
}

.footer__decor--right-mobile {
  display: none;
  top: 0;
  right: 0;
}

.footer__brand {
  position: absolute;
  bottom: -415px;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  max-height: 817px;
}

@media (max-width: 1440px) {
  .footer__brand {
    bottom: -360px;
  }
}

@media (max-width: 1024px) {
  .footer__brand {
    bottom: -247px;
  }
}

@media (max-width: 768px) {
  .footer__decor--left {
    display: none;
  }

  .footer__decor--right {
    display: none;
  }

  .footer__decor--right-mobile {
    display: block;
    top: 35px;
  }
}

@media (max-width: 320px) {
  .footer {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .footer__label-wrapper {
    justify-content: center;
    margin-bottom: 12px;
  }

  .footer__label {
    font-size: 14px;
  }
}

