.site-footer {
  margin-top: 0;
  background: #171714;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.65fr);
  gap: clamp(55px, 7vw, 110px);
  padding-top: 74px;
  padding-bottom: 66px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 72px;
}

.footer-brand > p {
  max-width: 430px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.7;
}

.footer-contact {
  display: grid;
  gap: 7px;
  margin-bottom: 28px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #171714;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}

.footer-action:hover {
  background: transparent;
  color: #fff;
}

.footer-action-outline {
  background: transparent;
  color: #fff;
}

.footer-action-outline:hover {
  background: #fff;
  color: #171714;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 42px;
  min-width: 0;
}

.footer-title {
  width: 100%;
  margin: 0 0 19px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
  pointer-events: none;
}

.footer-title span {
  display: none;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  width: fit-content;
  max-width: 100%;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links .footer-more {
  margin-top: 5px;
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 720px) {
  .footer-main {
    padding-top: 52px;
    padding-bottom: 34px;
    gap: 38px;
  }

  .footer-logo img {
    max-width: 190px;
  }

  .footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-columns {
    display: block;
  }

  .footer-column {
    border-top: 1px solid rgba(255,255,255,.13);
  }

  .footer-column:last-child {
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .footer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    margin: 0;
    cursor: pointer;
    pointer-events: auto;
  }

  .footer-title span {
    display: inline-block;
    font-size: 19px;
    font-weight: 400;
    transition: transform .2s ease;
  }

  .footer-column.open .footer-title span {
    transform: rotate(45deg);
  }

  .footer-links {
    display: none;
    padding: 0 0 22px;
    gap: 12px;
  }

  .footer-column.open .footer-links {
    display: grid;
  }

  .footer-links a {
    font-size: 15px;
  }

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

@media (max-width: 430px) {
  .footer-actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Back to top
========================================================= */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25000;

  width: 50px;
  height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;

  background: #171714;
  color: #fff;

  font: inherit;
  font-size: 22px;
  line-height: 1;

  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);

  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease,
    background .2s ease,
    color .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
  background: #fff;
  color: #171714;
  outline: none;
}

@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

