.footer {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--color-white);
  overflow: hidden;
}

.footer__glow {
  position: absolute;
  top: 92px;
  left: 360px;
  width: 708px;
  height: 708px;
  border-radius: 50%;
  background: #fd7b12;
  filter: blur(170px);
  opacity: 0.04;
  pointer-events: none;
}

.footer__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0 40px;
  position: absolute;
  bottom: 40px;
  left: 0;
}

.footer__copy {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 18px;
  line-height: 22.5px;
  color: var(--color-text-primary);
  white-space: nowrap;
}

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

.footer__link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: var(--color-text-primary);
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer__link:hover::after {
  width: 100%;
}

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

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.footer__contact-item img {
  width: 18px;
  height: 18px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-badge-bg);
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.footer__social:hover {
  opacity: 0.7;
}

.footer__social img {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer {
    height: auto;
  }

  .footer__glow {
    display: none;
  }

  .footer__row {
    position: static;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    padding: 60px 40px;
    border-top: 1px solid var(--color-dot);
  }

  .footer__nav {
    flex-wrap: wrap;
  }

  .footer__contact {
    flex-basis: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .footer {
    height: auto;
  }

  .footer__glow {
    display: none;
  }

  .footer__row {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 16px;
    border-top: 1px solid var(--color-dot);
  }

  .footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    order: 1;
  }

  .footer__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    order: 2;
  }

  .footer__copy {
    order: 3;
  }

  .footer__row .dot {
    display: none;
  }
}
