
.site-footer {
  background: #fff;
  color: #222;
  padding: 28px 20px 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.site-footer__top {
  max-width: 1180px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.site-footer__switch {
  display: flex;
  gap: 18px;
  align-items: center;
}

.site-footer__switch-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;

  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__switch-item .site-footer__switch-text {
  color: inherit;
  margin-left: 4px;
  font-weight: 700;
}

.site-footer__switch-item.is-active {
  color: #d42c2c;
}

.site-footer__switch-item:hover {
  color: #d42c2c;
}
.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon--a {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(0.5px);
  fill: currentColor;
}

.icon--a--nudge-down {
  transform: translateY(2px);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 300px;
  gap: 18px 24px;
  align-items: start;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
}

.site-footer__col {
  min-width: 0;
  box-sizing: border-box;
}

.site-footer__right {
  padding-left: 8px;
}

.site-footer__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

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

.site-footer__list li {
  margin: 8px 0;
}

.site-footer__link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

.site-footer__link:hover {
  color: #d42c2c;
  text-decoration: underline;
}

.site-footer__messengers {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.site-footer__mess-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.site-footer__mess {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f6f7f8;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  min-height: 50px;
  min-width: 100px;
}

.site-footer__mess-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.02);
  flex-shrink: 0;
}

.site-footer__mess-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.site-footer__mess .icon,
.site-footer__mess .icon--mess,
.site-footer__mess-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.site-footer__mess-label {
  display: inline-block;
  line-height: 1;
}

.site-footer__mess--full {
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  background: #f2f3f4;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  margin-bottom: 8px;
}

.site-footer__mess-link {
  margin-bottom: 10px;
}
.site-footer__button {
  display: inline-block;
  text-decoration: none;
  background: #f2f2f4;
  color: #222;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}
.site-footer__socials {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 6px;
  flex-wrap: nowrap;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  color: #222;
  text-decoration: none;
  opacity: 0.95;
}

.site-footer__social .icon,
.site-footer__social svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
}
.site-footer__bottom {
  max-width: 1180px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  font-size: 13px;
  color: #777;
  border-top: 1px solid rgba(0,0,0,0.03);
  padding-top: 12px;
}

.site-footer__mini-link {
  color: #777;
  text-decoration: none;
  margin-right: 12px;
  font-size: 13px;
}

.site-footer__mini-link:hover {
  color: #d42c2c;
}

.site-footer__license {
  color: #999;
  font-size: 12px;
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
  }
}

@media (max-width: 980px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__right {
    order: 999;
  }
}

@media (max-width: 800px) {
  .icon--a {
    width: 26px;
    height: 26px;
    transform: translateY(0.5px);
  }

  .site-footer__switch-item {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__messengers {
    justify-content: flex-start;
    gap: 8px;
  }

  .site-footer__mess-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-footer__mess {
    min-width: auto;
    padding: 8px 10px;
  }

  .site-footer__mess--full {
    width: 100%;
  }

  .site-footer__top {
    padding: 0 12px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
  }

  .site-footer__socials {
    margin-top: 8px;
    gap: 10px;
  }
}