/* =========================================================
   layout/footer.css — Przed Słońcem
   ========================================================= */

.site-footer {
  width: 100%;
  background: var(--color-text);
  border-top: none;
}

.footer-bar {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  display: block;
  width: fit-content;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
}

.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footer-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

/* Linki prawne */
.footer-legal-links a,
.footer-btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-legal-links a:hover,
.footer-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.30);
}

/* prosteaplikacje.pl CTA — wyróżniony */
.footer-menu-links a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(232, 146, 13, 0.35);
  border-radius: 10px;
  background: rgba(232, 146, 13, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
  line-height: 1.4;
}

.footer-menu-links a strong {
  display: block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-menu-links a:hover {
  background: rgba(232, 146, 13, 0.15);
  border-color: rgba(232, 146, 13, 0.55);
}
