/*
 * Stopka serwis500 (shared/nsrv_footer.blade.php). Osobny plik, bo stopka stoi
 * też w starym layouthome, gdzie nsrv_base.css z globalnymi regułami (*, body)
 * rozjechałby strony. Dlatego tu wszystko zawężone do .nsrv_footer, z własną
 * czcionką i bez wpływu Bootstrapa na linki.
 */
.nsrv_footer,
.nsrv_footer * {
    box-sizing: border-box;
}

.nsrv_footer {
    background: #000;
    padding: 66px 84px;
}

.nsrv_footer_in {
    max-width: 1272px;
    margin: 0 auto;
}

.nsrv_footer_logo {
    display: block;
    width: 350px;
    height: 46px;
    margin-bottom: 32px;
}

.nsrv_footer_cols {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "kontakt klienci serwisy"
        "kontakt klienci social";
    gap: 16px 10px;
}

.nsrv_fcol_kontakt {
    grid-area: kontakt;
}

.nsrv_fcol_klienci {
    grid-area: klienci;
}

.nsrv_fcol_serwisy {
    grid-area: serwisy;
}

.nsrv_fcol_social {
    grid-area: social;
}

.nsrv_footer_col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.nsrv_footer_col strong {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #fff;
}

.nsrv_footer_col p,
.nsrv_footer_col a {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
}

.nsrv_social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nsrv_social strong {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #fff;
}

.nsrv_social_icons {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nsrv_social_icons img {
    display: block;
    width: 30px;
    height: 30px;
}

.nsrv_footer {
    font-family: 'Montserrat', sans-serif;
}

.nsrv_footer_col a:hover,
.nsrv_footer_col a:focus {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .nsrv_footer {
        padding: 66px 48px;
    }
}

@media (max-width: 800px) {
    .nsrv_footer {
        padding: 66px 48px;
    }

    .nsrv_footer_cols {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "kontakt klienci"
            "serwisy social";
        row-gap: 32px;
    }
}

@media (max-width: 600px) {
    .nsrv_footer {
        padding: 48px 24px;
    }

    .nsrv_footer_logo {
        width: 220px;
        height: 29px;
        margin-bottom: 24px;
    }

    /* the document links are too long to share a row with the icons */
    .nsrv_footer_cols {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "kontakt"
            "klienci"
            "serwisy"
            "social";
        row-gap: 32px;
    }

    .nsrv_footer_col strong,
    .nsrv_footer_col p,
    .nsrv_footer_col a {
        font-size: 16px;
        line-height: 26px;
    }
}
