/* Единый футер со всех страниц. Подключается из includes/footer.php последним. */
html body footer.footer {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 48px 0 40px;
  background: linear-gradient(0deg, #131313 0%, rgba(20, 20, 20, 0) 100%);
  color: #c7c7c7;
  border: none;
  box-shadow: none;
}

html body footer.footer .footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

html body footer.footer .footer__brand {
  display: flex;
  align-items: center;
  gap: 17px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  font-synthesis: style;
  text-transform: uppercase;
  color: #c7c7c7;
}

html body footer.footer .footer__brand img,
html body footer.footer .footer__brand img.logo__icon,
html body footer.footer .footer__brand .logo__icon--footer {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block;
  flex: 0 0 48px;
}

html body footer.footer .footer__links {
  display: flex;
  align-items: center;
  gap: 62px;
  flex-wrap: wrap;
}

html body footer.footer .footer__links a {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #c7c7c7;
  text-decoration: none;
  transition: color 0.25s ease;
}

html body footer.footer .footer__links a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  html body footer.footer .footer__inner {
    justify-content: center;
    text-align: center;
  }

  html body footer.footer .footer__links {
    gap: 28px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  html body footer.footer {
    padding: 32px 0 28px;
  }

  html body footer.footer .footer__inner {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  html body footer.footer .footer__links {
    flex-direction: column;
    gap: 12px;
  }

  html body footer.footer .footer__links a {
    font-size: 15px;
  }
}
