/* Podnozje. */
/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background-color: var(--heading);
  padding: 50px 25px 36px;
  position: relative;
  margin-top: auto;
}

.footer-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .5fr .5fr 1fr;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  align-items: center;
}

.footer-logo { width: 175px; height: 64px; display: block; }

.footer-tagline {
  color: var(--light);
  text-align: center;
  font-size: 18px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.link-footer {
  opacity: .4;
  color: var(--light);
  text-align: center;
  margin-left: 16px;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.link-footer:hover { opacity: 1; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-left: 16px;
}

.social-link {
  background-color: rgba(255,255,255,.05);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  transition: background-color .3s, transform .3s;
  flex-shrink: 0;
}
.social-link:hover { background-color: rgba(255,255,255,.15); transform: scale(1.1); }

.image-social { width: 16px; height: 16px; }

.footer-badge { width: 130px; display: block; }

.footer-row2 {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

@media screen and (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links { justify-content: center; }
  .footer-logo  { margin: 0 auto; }
  .footer-social { justify-content: center; margin-left: 0; }
}
