.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 145, 77, .14), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(0, 151, 178, .14), transparent 30rem),
    linear-gradient(180deg, #081a28 0%, #020617 100%);
  padding: clamp(58px, 7vw, 86px) 0 30px;
  color: #e5e7eb;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 145, 77, .9), rgba(255, 145, 77, .28), transparent);
  box-shadow: 0 0 22px rgba(255, 145, 77, .38);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(150px, 1fr));
  gap: clamp(28px, 4vw, 54px);
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer-brand {
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: min(230px, 100%);
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand-copy {
  max-width: 310px;
  margin: 14px auto 0;
  color: rgba(226, 232, 240, .78);
  font-size: 14px;
  line-height: 1.58;
}

.footer-brand > p:not(.footer-brand-copy),
.footer-bottom-legacy {
  display: none;
}

.footer-col h4 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--ydea-font-mono);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contacts address,
.footer-contacts span,
.footer-contacts a {
  color: rgba(226, 232, 240, .78);
  font-size: 14px;
  line-height: 1.45;
}

.footer-links a,
.footer-contacts a {
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: #ff914d;
  transform: translateX(3px);
}

.footer-contacts address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-style: normal;
}

.footer-contacts address strong {
  color: #fff;
  font-weight: 850;
}

.footer-bottom {
  width: min(1180px, calc(100% - 36px));
  margin: 46px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  color: rgba(226, 232, 240, .58);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 52px 0 28px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    align-items: start;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-logo {
    width: min(220px, 74vw);
  }

  .footer-brand-copy {
    max-width: 360px;
    font-size: 13.5px;
  }

  .footer-col h4 {
    margin-bottom: 8px;
    font-size: 14px;
    text-align: center;
  }

  .footer-links a,
  .footer-contacts address,
  .footer-contacts span,
  .footer-contacts a {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .footer-contacts {
    align-items: center;
    padding-top: 8px;
    text-align: center;
  }

  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-contacts address {
    align-items: center;
  }

  .footer-bottom {
    margin-top: 34px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 46px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .footer-col,
  .footer-links {
    align-items: center;
  }

  .footer-brand {
    padding-bottom: 24px;
  }

  .footer-links,
  .footer-contacts {
    width: 100%;
    padding: 22px 0 0;
    margin-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, .13);
  }

  .footer-links a {
    width: min(100%, 280px);
    max-width: 280px;
    padding: 2px 0;
    text-align: center;
  }

  .footer-contacts address {
    width: min(100%, 300px);
  }

  .footer-logo {
    width: min(205px, 78vw);
  }

  .footer-brand-copy {
    max-width: 300px;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  .footer-bottom {
    width: min(100% - 28px, 1180px);
    margin-top: 28px;
    padding-top: 18px;
    font-size: 12.5px;
    line-height: 1.45;
  }

}
