.site-footer {
  padding: 0 var(--content-padding);
  background-color: var(--color-white);
}

.site-footer__inner {}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6.4rem;
}

.site-footer__col:not(:first-child) {
  padding-left: 4rem;
  border-left: 1px solid var(--color-border);
}
.site-footer__col-main {
  margin-top: 4rem;
}
.site-footer__heading {
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link {
  color: var(--color-black);
  font-size: 1.6rem;
  line-height: 1.2;
  opacity: 0.6;
  transition: color 0.2s, opacity 0.2s;
}

.site-footer__link:hover {
  color: var(--color-red);
  opacity: 1;
}

.site-footer__col-bottom {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 4rem;

}
.site-footer__col-bottom p {
  opacity: 0.6;
}
.site-footer__col-bottom-link {
  color: inherit;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.6;
}

.site-footer__col-bottom-link:hover {
  color: var(--color-red);
  opacity: 1;
}

.site-footer__logo img {
  display: block;
  width: 11.7rem;
  height: 4rem;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.site-footer__contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.site-footer__contact-label {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.site-footer__contact-value,
.site-footer__addresses {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.6rem;
  line-height: 1.2;
}

.site-footer__contact-value a, .site-footer__addresses li, .site-footer__contact-value span {
  opacity: 0.6;
}

.site-footer__contact-value:hover a {
  opacity: 1;
}

.site-footer__contact-value:hover a,
.site-footer__addresses:hover a {
  opacity: 1;
}

.site-footer__addresses {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.site-footer__contact-link {
  color: inherit;
  transition: color 0.2s, opacity 0.2s;
}

.site-footer__contact-link:hover {
  color: var(--color-red);
  opacity: 1;
}

.site-footer__actions {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.site-footer__max-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  overflow: hidden;
  background: linear-gradient(135deg, #44ccff 0%, #5533ee 66%, #9933dd 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  transition: background-position 0.8s ease;
}

.site-footer__max-btn::before,
.site-footer__max-btn::after {
  content: "";
  position: absolute;
  inset: -120%;
  pointer-events: none;
  opacity: 0.35;
}

.site-footer__max-btn::before {
  background: radial-gradient(circle, rgba(0, 0, 255, 0.9) 0%, rgba(0, 0, 0, 0) 68%);
  animation: site-footer-max-wave 14s ease-in-out infinite;
}

.site-footer__max-btn::after {
  background: radial-gradient(circle, rgba(68, 204, 255, 0.85) 0%, rgba(0, 0, 0, 0) 72%);
  animation: site-footer-max-wave 18s ease-in-out infinite reverse;
}

.site-footer__max-btn:hover {
  background-position: 100% 50%;
}

.site-footer__max-btn:hover::before {
  opacity: 0.55;
  animation-duration: 8s;
}

.site-footer__max-btn:hover::after {
  opacity: 0.45;
  animation-duration: 10s;
}

.site-footer__max-btn img {
  position: relative;
  z-index: 1;
  display: block;
  width: 2rem;
  height: 2rem;
}

.site-footer__meta--mobile {
  display: none;
}

@keyframes site-footer-max-wave {
  0% {
    transform: translate(-35%, -25%) scale(0.85);
  }

  50% {
    transform: translate(25%, 35%) scale(1.15);
  }

  100% {
    transform: translate(-35%, -25%) scale(0.85);
  }
}

@media (orientation: portrait) {
  .site-footer {
    padding: 1.6rem;
  }

  .site-footer__inner {}

  .site-footer__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .site-footer__col {
    gap: 2.4rem;
  }

  .site-footer__col--nav {
    display: none;
  }

  .site-footer__col--contacts {
    border-top: none;
  }

  .site-footer__col--contacts .site-footer__col-main {
    margin-top: 0;
  }

  .site-footer__col-bottom--desktop {
    display: none;
  }

  .site-footer__meta--mobile {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin: 2.4rem 0 4rem;
    padding-top: 2.4rem;
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .site-footer__meta-copy {
    opacity: 0.6;
  }
  .site-footer__logo {
    margin-bottom: 1.6rem;
  }
  
  .site-footer__col:not(:first-child) {
    padding-left: 0;
    border-left: none;
  }

  .site-footer__actions {
    flex-direction: column;
  }
  .site-footer__max-btn {
    width: 4.8rem;
  }

  .site-footer__max-btn {
    height: 4.8rem;
  }
}
