.ly-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(231, 14, 14, .14), transparent 30%),
    #131830;
}

.ly-footer::before {
  z-index: -1;
  pointer-events: none;
  opacity: .22;
}

.ly-footer__container,
.ly-footer__grid,
.ly-footer__bottom {
  position: relative;
  z-index: 1;
}

.ly-footer__grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(160px, 1fr));
  gap: 44px;
  align-items: start;
}

.ly-footer__about p {
  max-width: 410px;
  margin: 24px 0 22px;
  color: #aeb6d8;
  font-size: 14px;
  line-height: 1.75;
}

.ly-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.ly-footer__brand:hover,
.ly-footer__brand:focus-visible {
  color: #fff;
}

.ly-footer__brand img {
  flex: 0 0 auto;
  width: 50px;
  height: 58px;
}

.ly-footer__brand strong {
  color: #ef4328;
}

.ly-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid rgba(239, 67, 40, .6);
  border-radius: 8px;
  background: rgba(239, 67, 40, .1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ly-footer__cta:hover,
.ly-footer__cta:focus-visible {
  border-color: #ef4328;
  background: #d93c24;
  color: #fff;
  transform: translateY(-1px);
}

.ly-footer__section h2 {
  position: relative;
  margin: 2px 0 25px;
  padding: 0 0 13px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.ly-footer__section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  border-radius: 2px;
  background: #ef4328;
}

.ly-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ly-footer__links li {
  margin: 0 0 10px;
}

.ly-footer__links a,
.ly-footer__link-button {
  position: relative;
  display: inline-block;
  border: 0;
  padding: 2px 0;
  background: none;
  color: #aeb6d8;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.ly-footer__links a:hover,
.ly-footer__links a:focus-visible,
.ly-footer__link-button:hover,
.ly-footer__link-button:focus-visible {
  color: #fff;
  transform: translateX(4px);
}

.ly-footer__contacts address {
  margin: 0;
  font-style: normal;
}

.ly-footer__contact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 12px;
  color: #aeb6d8;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ly-footer__contact:hover,
.ly-footer__contact:focus-visible {
  color: #fff;
}

.ly-footer__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #d93c24;
  transition: transform .2s ease, background-color .2s ease;
}

.ly-footer__contact:hover .ly-footer__icon,
.ly-footer__contact:focus-visible .ly-footer__icon {
  background: #ef4328;
  transform: translateY(-1px);
}

.ly-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.ly-footer__bottom p {
  margin: 0;
  color: #8993ba;
  font-size: 13px;
}

.ly-footer__bottom p a {
  color: #ef4328;
}

.ly-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.ly-footer__legal a {
  color: #8993ba;
  font-size: 13px;
}

.ly-footer__legal a:hover,
.ly-footer__legal a:focus-visible,
.ly-footer__bottom p a:hover,
.ly-footer__bottom p a:focus-visible {
  color: #fff;
}

.ly-footer a,
.ly-footer button {
  pointer-events: auto;
}

.ly-footer a:focus-visible,
.ly-footer button:focus-visible {
  outline: 2px solid #ff6a52;
  outline-offset: 4px;
}

@media (max-width: 1199px) {
  .ly-footer__grid {
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(145px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .ly-footer {
    padding-top: 58px;
  }

  .ly-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 44px;
  }
}

@media (max-width: 575px) {
  .ly-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ly-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 38px;
  }
}
