.site-footer {
  padding: 72px 0 32px;
  background: var(--ls-dark);
  color: var(--ls-white);
  font-size: 16px;
  font-weight: 200;
  line-height: 28px;
}

.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 60px;
  overflow: visible;
  padding-bottom: 62px;
}

.footer-cta::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: var(--ls-white);
  content: "";
  transform: translateX(-50%);
}

.footer-team {
  position: relative;
  min-height: 270px;
}

.footer-team picture img {
  position: absolute;
  right: 0;
  bottom: -62px;
  width: min(92%, 520px);
}

.footer-logo {
  position: relative;
  z-index: 2;
  width: 160px;
}

.footer-cta__copy h2 {
  max-width: 730px;
  margin-bottom: 28px;
  color: var(--ls-white);
  text-align: right;
}

.footer-cta__copy {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.footer-cta__copy h2 span {
  display: block;
  color: var(--ls-lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1.25fr;
  gap: 60px;
  padding-block: 70px;
}

.footer-column h3 {
  margin-bottom: 23px;
  color: var(--ls-white);
  font-family: "Prompt", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list a,
.footer-contact > a,
.footer-contact address a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.footer-list svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--ls-cyan);
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--ls-lime);
}

.footer-contact address {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  font-style: normal;
}

.footer-contact > a {
  margin-bottom: 6px;
}

.footer-contact a:hover,
.footer-list a:hover {
  color: var(--ls-white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 10px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.social-links svg,
.social-links__icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; color: var(--ls-lime); object-fit: contain; stroke-width: 1.6; }
.social-links a:hover svg { color: var(--ls-cyan); }

@media (min-width: 561px) {
  .social-links { flex-wrap: nowrap; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--ls-white);
  font-size: 16px;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--ls-white);
}

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

  .footer-contact {
    grid-column: span 3;
  }
}

@media (max-width: 820px) {
  .footer-cta {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-team {
    min-height: 230px;
  }

  .footer-cta__copy {
    align-items: flex-start;
    padding-bottom: 10px;
  }

  .footer-cta__copy h2 {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: span 2;
  }
}

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

  .footer-cta {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 0;
  }

  .footer-team,
  .footer-team picture,
  .footer-cta__copy {
    display: contents;
  }

  .footer-logo {
    order: 1;
    width: 160px;
  }

  .footer-cta__copy h2 {
    order: 2;
    margin-bottom: 0;
  }

  .footer-cta__copy .ls-button {
    order: 3;
    align-self: flex-start;
  }

  .footer-team picture img {
    position: static;
    order: 4;
    width: 100%;
    margin-top: -2px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 54px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom,
  .footer-bottom > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
