.site-footer {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3.75rem) 2.5rem;
  background: #23ACCF;
  color: #ffffff;
}

.site-footer-inner {
  width: min(100%, 1610px);
  margin-inline: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.footer-column h2 {
  margin: 0 0 2rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.footer-column p,
.footer-nav a,
.footer-column address {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.6;
}

.footer-column p {
  margin: 0 0 1rem;
  max-width: 330px;
}

.footer-column address p {
  margin-bottom: 1.8rem;
}

.footer-column a {
  color: inherit;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
}

.footer-column address a:not(.footer-phone) {
  border-bottom: 1px solid currentColor;
}

.footer-phone {
  color: #ffffff;
  font-weight: 950;
}

.footer-nav {
  display: grid;
  gap: 1.05rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-socials a {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #111218;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: normal;
}

.footer-top-button {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  background: #ffffff;
  color: #111218;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.footer-top-button:hover,
.footer-top-button:focus-visible {
  background: #ffffff;
  color: #111218;
}

.social-icon {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: currentColor;
}

.social-icon-facebook {
  align-items: end;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 0.9;
  text-transform: lowercase;
}

.social-icon-instagram {
  border: 2px solid currentColor;
  border-radius: 7px;
}

.social-icon-instagram::before,
.social-icon-instagram::after {
  content: "";
  position: absolute;
  display: block;
}

.social-icon-instagram::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.social-icon-instagram::after {
  top: 4px;
  right: 4px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

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

@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
