/* ===== Футер (подвал) сайта — подключать на каждой странице
   после style.css: <link rel="stylesheet" href="footer.css" />
   Использует переменные палитры из :root в style.css
   (--color-navy, --color-bg-light, --color-text-gray и т.д.) */

.site-footer {
  margin-top: 60px;
  background: var(--color-navy);
  color: #e6e9f2;
}

.site-footer-inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 48px 4vw 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.site-footer-logo {
  border-radius: 6px;
}

.site-footer-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.site-footer-tagline {
  max-width: 320px;
  color: #b7bfd9;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer-heading {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.site-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer-list a,
.site-footer-address {
  color: #b7bfd9;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.5;
}

.site-footer-list a:hover,
.site-footer-list a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer-list a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.site-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 4vw 22px;
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.site-footer-requisites,
.site-footer-copy {
  margin: 0;
  color: #8b93b3;
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .site-footer-legal {
    flex-direction: column;
  }
}
