/* === RESET WIDOCZNOŚCI: schowaj domyślną stopkę motywu === */
body > footer:not(.mk-footer),
.site-footer:not(.mk-footer),
#colophon:not(.mk-footer){display:none!important}

/* === ZMIENNE === */
.mk-footer{
  --mk-bg:#4a6079;
  --mk-bg-2:#3d5066;
  --mk-text:#ffffff;
  --mk-muted:#cdd6e0;
  --mk-accent:#c8102e;
  --mk-border:rgba(255,255,255,.12);
  --mk-radius:6px;
}

/* === KONTENER === */
.mk-footer{
  position:relative;
  background:var(--mk-bg);
  color:var(--mk-text);
  font-family:'Poppins','Helvetica Neue',Arial,sans-serif;
  font-size:14px;
  line-height:1.55;
  overflow:hidden;
}
/* Hexagon pattern w tle (SVG inline) */
.mk-footer::before{
  content:"";
  position:absolute;inset:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='52' viewBox='0 0 60 52'><g fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'><polygon points='30,2 56,17 56,42 30,57 4,42 4,17'/></g></svg>");
  background-size:20px 12px;
  pointer-events:none;
  z-index:0;
}
.mk-footer > *{position:relative;z-index:1}

/* === GRID GŁÓWNY === */
.mk-footer__inner{
  max-width:1280px;
  margin:0 auto;
  padding:48px 24px 32px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:36px;
}

/* === KOLUMNA === */
.mk-col{min-width:0}
.mk-col__title{
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:1px solid var(--mk-border);
  color:#fff;
}
.mk-col__title + .mk-col__title{margin-top:28px}

/* === LISTY LINKÓW === */
.mk-list{list-style:none;margin:0 0 8px;padding:0}
.mk-list li{margin:0 0 8px}
.mk-list a{
  color:var(--mk-muted);
  text-decoration:none;
  display:inline-flex;align-items:center;gap:8px;
  transition:color .2s ease, transform .2s ease;
}
.mk-list a::before{
  content:"→";color:var(--mk-accent);font-weight:700;
  transition:transform .2s ease;
}
.mk-list a:hover{color:#fff}
.mk-list a:hover::before{transform:translateX(3px)}
.mk-list .mk-ico{width:14px;height:14px;opacity:.85}

/* === SOCIAL === */
.mk-social{display:flex;gap:10px;margin:0 0 28px}
.mk-social a{
  width:36px;height:36px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);
  color:#fff;text-decoration:none;
  transition:background .2s ease, transform .2s ease;
}
.mk-social a:hover{background:var(--mk-accent);transform:translateY(-2px)}
.mk-social svg{width:16px;height:16px;fill:currentColor}

/* === NEWSLETTER === */
.mk-newsletter{
  display:flex;align-items:stretch;gap:0;
  max-width:320px;
  border-radius:var(--mk-radius);
  overflow:hidden;
  background:#fff;
}
.mk-newsletter input[type="email"]{
  flex:1;min-width:0;
  height:42px;
  border:0;outline:0;
  padding:0 14px;
  font:inherit;font-size:14px;
  color:#333;background:transparent;
}
.mk-newsletter button{
  height:42px;width:48px;
  border:0;cursor:pointer;
  background:var(--mk-accent);color:#fff;
  font-size:18px;font-weight:700;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;
  transition:background .2s ease;
}
.mk-newsletter button:hover{background:#a40d25}

/* === KONTAKT === */
.mk-contact{display:flex;flex-direction:column;gap:14px;margin:0 0 18px}
.mk-contact__row{display:flex;align-items:flex-start;gap:12px}
.mk-contact__ico{
  width:34px;height:34px;flex:0 0 34px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:inline-flex;align-items:center;justify-content:center;
}
.mk-contact__ico svg{width:14px;height:14px;fill:#fff}
.mk-contact__lbl{
  font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--mk-muted);margin:0 0 2px;
}
.mk-contact__val{color:#fff;font-weight:600;line-height:1.35}
.mk-contact__val a{color:#fff;text-decoration:none}
.mk-contact__val a:hover{color:var(--mk-accent)}

/* === CTA === */
.mk-cta{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--mk-accent);color:#fff;
  font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:13px;
  padding:14px 22px;border-radius:var(--mk-radius);
  text-decoration:none;
  transition:background .2s ease, transform .2s ease;
}
.mk-cta:hover{background:#a40d25;transform:translateY(-1px);color:#fff}

/* === BOTTOM BAR === */
.mk-footer__bottom{
  border-top:1px solid var(--mk-border);
  background:var(--mk-bg-2);
}
.mk-footer__bottom-inner{
  max-width:1280px;margin:0 auto;
  padding:18px 24px;
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;
  font-size:13px;color:var(--mk-muted);
}
.mk-footer__bottom a{color:var(--mk-muted);text-decoration:none;margin-left:18px}
.mk-footer__bottom a:hover{color:#fff}
.mk-footer__legal{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px}

/* === RESPONSYWNOŚĆ === */
@media (max-width:1024px){
  .mk-footer__inner{grid-template-columns:repeat(2,1fr);gap:32px;padding:42px 22px 28px}
}
@media (max-width:600px){
  .mk-footer__inner{grid-template-columns:1fr;gap:28px;padding:36px 20px 24px}
  .mk-newsletter{max-width:100%}
  .mk-footer__bottom-inner{flex-direction:column;align-items:flex-start;gap:8px}
  .mk-footer__bottom a{margin:0 18px 0 0}
  .mk-cta{width:100%;justify-content:center}
}
