/* ============================================================
   footer.css — Stopka strony
   ============================================================ */

.site-footer {
  position: relative;
  background: var(--color-forest);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.site-footer__leaf {
  color: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.site-footer__leaf--left {
  bottom: -20px;
  left: 4%;
  width: 90px;
  height: 170px;
  transform: rotate(-8deg);
}

.site-footer__leaf--right {
  bottom: -30px;
  right: 6%;
  width: 90px;
  height: 170px;
  transform: rotate(190deg);
}

/* ── Main area ───────────────────────────────────────────── */

.site-footer__main {
  padding: var(--space-16) 0;
}

.site-footer__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

/* ── Kolumny ─────────────────────────────────────────────── */

.site-footer__col-title {
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-brown-pale);
  margin-bottom: var(--space-5);
}

/* ── Brand kolumna ───────────────────────────────────────── */

.site-footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-footer__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-white);
  text-decoration: none;
}

.site-footer__tagline {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  color: var(--color-brown-light);
  text-transform: uppercase;
  margin: var(--space-3) 0 var(--space-4);
}

.site-footer__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.site-footer__signoff {
  font-size: var(--text-2xl);
  color: var(--color-peach);
  margin-bottom: var(--space-5);
}

/* ── Social media ────────────────────────────────────────── */

.site-footer__social {
  display: flex;
  gap: var(--space-3);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-full);
  color: var(--color-white);
  text-decoration: none;
  transition: background var(--transition-base);
}

.site-footer__social-link:hover {
  background: var(--color-brown-medium);
  color: var(--color-white);
}

.site-footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* ── Linki nawigacji w stopce ────────────────────────────── */

.site-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__nav-list a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__nav-list a:hover {
  color: var(--color-brown-light);
}

/* ── Kontakt adres ───────────────────────────────────────── */

.site-footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__contact p,
.site-footer__contact a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  line-height: var(--leading-relaxed);
}

.site-footer__contact a:hover {
  color: var(--color-brown-light);
}

.site-footer__map-btn {
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.site-footer__map-btn:hover {
  color: var(--color-forest);
}

/* Godziny w stopce */
.site-footer .opening-hours__day,
.site-footer .opening-hours__time {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer .opening-hours__row {
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.site-footer .opening-hours__subtitle {
  color: var(--color-brown-light);
}

.site-footer .opening-hours__row--today .opening-hours__day,
.site-footer .opening-hours__row--today .opening-hours__time {
  color: var(--color-brown-light);
}

/* ── Bottom bar ──────────────────────────────────────────── */

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: var(--space-5) 0;
}

.site-footer__bottom .site-footer__container {
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  padding-top: 0;
}

.site-footer__copy {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.70); /* podniesione z 0.50 dla WCAG AA na tle stopki */
  margin: 0;
}

.site-footer__legal-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-6);
}

.site-footer__legal-nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.70); /* podniesione z 0.50 dla WCAG AA (było 3,73:1) */
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__legal-nav a:hover {
  color: rgba(255, 255, 255, 0.95);
}
