.site-footer {
  position: relative;
  color: #ffffff;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer__top {
  position: relative;
}

.site-footer__bottom {
  background: #0b0b0b;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0 24px;
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__brand {
  flex: 0 0 280px;
}

.site-footer__logo-link {
  display: inline-block;
  text-decoration: none;
}

.site-footer__logo {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.site-footer__social {
  background-image: url("/img/top_socials.png");
  background-repeat: no-repeat;
  background-size: 170px 60px;
  width: 34px;
  height: 30px;
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer__social:hover,
.site-footer__social:focus {
  transform: translateY(-1px);
  opacity: 0.85;
}

.site-footer__social.facebook {
  background-position: 0 0;
}

.site-footer__social.facebook:hover,
.site-footer__social.facebook:focus {
  background-position: 0 -30px;
}

.site-footer__social.tumbrl {
  background-position: -34px 0;
}

.site-footer__social.tumbrl:hover,
.site-footer__social.tumbrl:focus {
  background-position: -34px -30px;
}

.site-footer__social.phone {
  background-position: -68px 0;
}

.site-footer__social.phone:hover,
.site-footer__social.phone:focus {
  background-position: -68px -30px;
}

.site-footer__social.email {
  background-position: -136px 0;
}

.site-footer__social.email:hover,
.site-footer__social.email:focus {
  background-position: -136px -30px;
}

.site-footer__content {
  flex: 1 1 auto;
  min-width: 0;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px 22px;
}

.site-footer__nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
  color: #fb6445;
  text-decoration: none;
}

.site-footer__meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__login a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-footer__login a:hover,
.site-footer__login a:focus {
  color: #fb6445;
  text-decoration: none;
}

.site-footer__copyright {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

.google-rating-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: #ffffff;
}

.google-rating-name {
  font-weight: 700;
}

.google-rating-stars {
  color: #fbbc05;
  letter-spacing: 0.08em;
}

.google-rating-score {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .site-footer__inner {
    gap: 28px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 767px) {
  .site-footer__bottom {
    padding: 24px 0 22px;
  }

  .site-footer__inner {
    padding: 0 14px;
    flex-direction: column;
    gap: 24px;
  }

  .site-footer__brand {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .site-footer__logo-link {
    display: inline-block;
  }

  .site-footer__socials {
    justify-content: center;
  }

  .site-footer__content {
    width: 100%;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__copyright {
    text-align: left;
  }
}