.site-footer {
  background: #121212;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.3fr .95fr;
  gap: 0;
  padding: 44px 0 34px;
}

.site-footer__grid > * {
  min-width: 0;
  padding: 0 42px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.site-footer__grid > *:first-child { padding-left: 0; }
.site-footer__grid > *:last-child { padding-right: 0; border-right: 0; }

.site-footer__brand img {
  width: 230px;
  max-width: 100%;
  height: auto;
}

.site-footer__brand p {
  margin: 16px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer__column h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer__column > a {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
  padding-left: 30px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.45;
  transition: color .22s ease, transform .22s ease;
  text-decoration: none;
}

.site-footer__column > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 18px;
  height: 2px;
  background: var(--orange, #ff5a0a);
}

.site-footer__column > a:hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer__column ul,
.site-footer__column .menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer__column ul li,
.site-footer__column .menu li {
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer__column ul a,
.site-footer__column .menu a {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
  padding-left: 30px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.45;
  transition: color .22s ease, transform .22s ease;
  text-decoration: none;
}

.site-footer__column ul a::before,
.site-footer__column .menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 18px;
  height: 2px;
  background: var(--orange, #ff5a0a);
}

.site-footer__column ul a:hover,
.site-footer__column .menu a:hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer__contacts p,
.site-footer__contacts > a {
  padding-left: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer__contacts > a::before { display: none; }

.site-footer__contacts .icon-line {
  color: #f4d5b6;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.site-footer__contacts .icon-line svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  min-height: 66px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.52);
  font-size: 10px;
  letter-spacing: .03em;
}

.site-footer__legal {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.site-footer__bottom p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
}

@media (max-width: 1180px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    row-gap: 36px;
  }

  .site-footer__grid > *:nth-child(2) { border-right: 0; }
  .site-footer__grid > *:nth-child(3) { padding-left: 0; }
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    padding: 24px 0 16px;
  }

  .site-footer__grid > * {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .site-footer__grid > *:first-child { padding-top: 0; }
  .site-footer__grid > *:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .site-footer__brand img { width: 200px; }
  .site-footer__brand p { font-size: 12px; }

  .site-footer__column h3 {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .site-footer__column ul a,
  .site-footer__column .menu a {
    margin: 6px 0;
    font-size: 11px;
  }

  .site-footer__column ul a::before,
  .site-footer__column .menu a::before {
    width: 14px;
    height: 1.5px;
  }

  .site-footer__contacts p,
  .site-footer__contacts > a {
    font-size: 13px;
  }

  .site-footer__bottom {
    display: block;
    padding: 18px 0 24px;
    min-height: 0;
    font-size: 10px;
  }

  .site-footer__legal {
    display: grid;
    gap: 7px;
  }

  .site-footer__bottom p {
    margin-top: 18px;
    line-height: 1.5;
  }
}

@media (max-width: 552px) {
  .site-footer__brand img { width: 180px; }
}


/* =========================================================
   FOOTER SOCIALS — соцсети и мессенджеры в подвале
   ========================================================= */

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-social {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #242424;
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Фирменные цвета для соцсетей */
.site-footer .footer-social--telegram {
  background: #229ed9;
  color: #fff;
}

.site-footer .footer-social--vk {
  background: #0077ff;
  color: #fff;
}

.site-footer .footer-social--youtube {
  background: #ff0033;
  color: #fff;
}

.site-footer .footer-social--dzen {
  background: #fff;
  color: #141414;
}

.site-footer .footer-social--dzen svg {
  width: 24px;
  height: 24px;
}

.site-footer .footer-social--max {
  background: linear-gradient(135deg, #29c5fa 0%, #7957ff 62%, #ab39f5 100%);
  color: #fff;
  cursor: default;
}

.site-footer .footer-social--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
  color: #fff;
}

.site-footer .footer-social--facebook {
  background: #1877f2;
  color: #fff;
}

.site-footer .footer-social--whatsapp {
  background: #25d366;
  color: #fff;
}

.site-footer .footer-social--viber {
  background: #7360f2;
  color: #fff;
}

.site-footer .footer-social--ok {
  background: #ee8208;
  color: #fff;
}

/* Hover/focus только для ссылок (не для span без URL) */
.site-footer a.footer-social:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.32);
}

.site-footer a.footer-social:focus-visible {
  outline: 2px solid #e9c49e;
  outline-offset: 3px;
}


/* =========================================================
   FOOTER CREDIT — копирайт разработки (Adnox)
   ========================================================= */

.site-footer__bottom .site-footer__credit {
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin: 0;
}

.site-footer__credit a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__credit a:hover {
  color: #e9c49e;
  border-color: #e9c49e;
}


/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 760px) {
  .site-footer__socials {
    gap: 10px;
    margin-top: 18px;
  }

  .site-footer__bottom .site-footer__credit {
    margin-top: 18px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social {
    transition: none;
  }
}
