/*
 * Wspólna stopka: dane spółki, główne grupy produktowe i najważniejsze odnośniki.
 */

.mono-home .site-footer.mono-footer-compact {
  padding: 0;
  background: #58595b;
  color: #fff;
}

.mono-footer-compact .compact-footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(180px, .7fr) minmax(210px, .85fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  padding-top: 38px;
  padding-bottom: 34px;
}

.mono-footer-compact .compact-footer-company {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.mono-footer-compact .compact-footer-brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
}

.mono-footer-compact .compact-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
  mix-blend-mode: normal;
}

.mono-footer-compact .compact-footer-company-data {
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-style: normal;
  font-size: .72rem;
  line-height: 1.5;
}

.mono-footer-compact .compact-footer-company-data strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}

.mono-footer-compact .compact-footer-company-data span {
  display: block;
}

.mono-footer-compact .compact-footer-heading {
  position: relative;
  margin: 0 0 16px;
  padding-top: 12px;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mono-footer-compact .compact-footer-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #ffdd00;
}

.mono-footer-compact .compact-footer-links {
  display: grid;
  gap: 9px;
}

.mono-footer-compact .compact-footer-links a {
  width: fit-content;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.mono-footer-compact .compact-footer-links a:hover,
.mono-footer-compact .compact-footer-links a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.mono-footer-compact .compact-footer-bottom {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.4);
  font-size: .61rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .mono-footer-compact .compact-footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(170px, .55fr) minmax(190px, .65fr);
    gap: 28px;
  }

  .mono-footer-compact .compact-footer-company {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
  }

  .mono-footer-compact .compact-footer-brand { width: 112px; }
}

@media (max-width: 680px) {
  .mono-footer-compact .compact-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 26px;
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .mono-footer-compact .compact-footer-company {
    grid-column: 1 / -1;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .mono-footer-compact .compact-footer-heading {
    margin-bottom: 13px;
  }
}

@media (max-width: 420px) {
  .mono-footer-compact .compact-footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mono-footer-compact .compact-footer-company {
    grid-column: auto;
  }
}


/* Korekta 2026-07-17: niższa stopka i ciaśniejszy układ kolumn. */
.mono-footer-compact .compact-footer-main { grid-template-columns: minmax(300px, 1.2fr) minmax(150px, .55fr) minmax(170px, .65fr); gap: 24px 30px; padding-top: 24px; padding-bottom: 20px; }
.mono-footer-compact .compact-footer-company { grid-template-columns: 116px minmax(0, 1fr); gap: 18px; }
.mono-footer-compact .compact-footer-brand { width: 116px; }
.mono-footer-compact .compact-footer-company-data { gap: 2px; font-size: .7rem; line-height: 1.42; }
.mono-footer-compact .compact-footer-company-data strong { font-size: .77rem; }
.mono-footer-compact .compact-footer-heading { margin-bottom: 12px; padding-top: 10px; }
.mono-footer-compact .compact-footer-links { gap: 7px; }
.mono-footer-compact .compact-footer-links a { font-size: .71rem; line-height: 1.38; }
.mono-footer-compact .compact-footer-bottom { min-height: 34px; padding-top: 8px; padding-bottom: 10px; }
@media (max-width: 680px) { .mono-footer-compact .compact-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 22px; padding-bottom: 18px; } }
@media (max-width: 420px) { .mono-footer-compact .compact-footer-main { grid-template-columns: 1fr; } }
