
.site-footer {
  width: min(100%, 1320px);
  margin: 0 auto;
  margin-top: 0;
  padding: 0 clamp(8px, 1vw, 14px) clamp(40px, 4vw, 58px);
}

.site-footer__box {
    position: relative;
    width: min(100%, 1280px);
    margin: 0 auto;
    border-radius: 38px;
    background: rgba(0, 0, 0, .16);
    overflow: hidden;
}

.site-footer__main {
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: clamp(34px, 3.2vw, 50px) clamp(30px, 3vw, 44px) clamp(34px, 3.2vw, 46px);
  padding-right: clamp(260px, 25vw, 320px);
  position: relative;
  z-index: 2;
}

.site-footer__brand {
  width: min(250px, 100%);
  flex: 0 0 auto;
}

.site-footer__logo {
  width: min(170px, 100%);
  height: auto;
  display: block;
}

.site-footer__legal {
  margin: 18px 0 0;
  color: #f4d8d9;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  line-height: 1.33;
}

.site-footer__divider {
  width: 1px;
  align-self: stretch;
  min-height: 100%;
  background: rgba(255, 219, 220, 0.7);
}

.site-footer__links-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  column-gap: clamp(34px, 3vw, 56px);
  row-gap: 14px;
}

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

.site-footer__links li + li {
  margin-top: 10px;
}

.site-footer__links a {
  color: #fff;
  text-decoration: none;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(15px, 1.1vw, 14px);
  line-height: 1.28;
  font-weight: 600;
}

.site-footer__social {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.site-footer__social a {
  width: 20px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__icon {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer__icon--ig .ig-outline {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.site-footer__icon--ig .ig-dot {
  fill: #fff;
  stroke: none;
}

.site-footer__icon--fb path {
  fill: #fff;
}

.site-footer__icon--yt .yt-bg {
  fill: #fff;
}

.site-footer__icon--yt .yt-play {
  fill: #b1061f;
}

.site-footer__juhuuu {
    position: absolute;
    right: -4px;
    bottom: -80px;
    width: min(27vw, 290px);
    height: auto;
    z-index: 1;
}

@media (max-width: 768px) {
    .site-footer {
    width: 100%;
    margin-top: 8px;
    padding: 0 18px 0;
  }

  .site-footer__box {
    width: min(86%, 540px);
    border-radius: 24px;
  }

  .site-footer__main {
    flex-direction: column;
    gap: 14px;
    padding: 22px 16px 220px;
    padding-right: 16px;
  }

  .site-footer__links-wrap {
    order: 1;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 7px;
  }

  .site-footer__links li + li {
    margin-top: 7px;
  }

  .site-footer__divider {
    order: 2;
    width: 100%;
    min-height: 1px;
    height: 1px;
    margin: 4px 0 2px;
  }

  .site-footer__brand {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .site-footer__logo {
    width: min(132px, 62%);
    margin: 0 auto;
  }

  .site-footer__legal {
    margin-top: 10px;
    font-size: clamp(10px, 2.8vw, 14px);
    line-height: 1.28;
  }

  .site-footer__links a {
    font-size: clamp(11px, 3vw, 16px);
    line-height: 1.24;
    font-weight: 500;
  }

  .site-footer__social {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 1px;
    gap: 9px;
  }

  .site-footer__social a {
    width: 28px;
    height: 28px;
  }

  .site-footer__juhuuu {
    right: -10px;
    bottom: -24px;
    width: min(75%, 300px);
  }
}