/* ============================================================
   FOOTER — dark theme, fully responsive
   ============================================================ */

.site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--color-fg);
  min-height: 96px;
}

.site-footer__inner {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: var(--page-padding);
  padding-block: 24px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer__social-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.site-footer__social-link:hover {
  opacity: 0.6;
}

.site-footer__social-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.site-footer__copy {
  font-size: var(--text-body-l);
  font-weight: 400;
  color: #fff;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Tablet (1023) — zmenšit copy ---- */
@media (max-width: 1023px) {
  .site-footer__copy {
    font-size: 16px;
  }
  .site-footer__logo img {
    height: 36px;
  }
}

/* ---- Mobile (767) — stack do 2 řad ---- */
@media (max-width: 767px) {
  .site-footer {
    min-height: auto;
  }
  .site-footer__inner {
    min-height: auto;
    padding-block: 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 22px;
  }
  .site-footer__logo img {
    height: 32px;
  }
  .site-footer__social {
    gap: 20px;
  }
  .site-footer__copy {
    font-size: 14px;
    text-align: center;
    white-space: normal;          /* dovolit zalomení */
    letter-spacing: 0.5px;
  }
}

/* ---- Phone (480) ---- */
@media (max-width: 479px) {
  .site-footer__inner {
    padding-block: 28px;
    gap: 18px;
  }
  .site-footer__logo img {
    height: 28px;
  }
  .site-footer__social {
    gap: 18px;
  }
  .site-footer__social-link {
    width: 22px;
    height: 22px;
  }
  .site-footer__social-link svg {
    width: 22px;
    height: 22px;
  }
  .site-footer__copy {
    font-size: 13px;
  }
}
