.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,.7);
    padding: 3.5rem 0 1.5rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.site-footer__logo img { height: 48px; width: auto; }

.site-footer__logo img.site-footer__logo-img {
    height: auto;
    width: 260px;
    max-width: 100%;
    display: block;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.site-footer__links a {
    color: rgba(255,255,255,.6);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__links a:hover { color: var(--color-white); }

.site-footer__name {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
}

.site-footer__social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.site-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--color-white);
    text-decoration: none;
    transition: background 0.2s;
}

.site-footer__social a:hover { background: var(--color-primary); }

/* Świadomie span, nie nagłówek: to etykiety kolumn, nie sekcje treści. */
.site-footer__col-title {
    display: block;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.site-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__list li {
    margin-bottom: 0.5rem;
}

.site-footer__list a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.site-footer__list a::before {
    content: '›';
    color: var(--color-primary);
}

.site-footer__list a:hover { color: var(--color-white); }

.site-footer__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    text-align: center;
    /* .4 dawało 3.8:1 na #1a1a1a i nie przechodziło WCAG AA. .6 daje 6.9:1. */
    color: rgba(255,255,255,.6);
}

.site-footer__credits a {
    color: rgba(255,255,255,.6);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.site-footer__credits a:hover { color: var(--color-white); }

@media (max-width: 768px) {
    .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
