/* 
-----------------------------------------
FOOTER
-----------------------------------------
*/
 
footer {
    background-image: url(/media/1vrhrbih/ground-background.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

footer h2,
footer p,
footer li,
footer a,
footer a:link {
    color: var(--text-white);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

footer p,
footer li,
footer a {
    font-size: 1rem;
}

footer h2.h3 {
    font-size: clamp(1.25rem, 1.215rem + 0.15vw, 1.375rem);
    font-weight: 500;
    margin-bottom: 0.5em;
}

footer li {
    line-height: 2;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer p:last-child,
footer ul:last-child {
    margin-bottom: 0;
}

.footer-top {
    row-gap: 2rem;
    flex-wrap: wrap;
}

.footer-top > div {
    flex-basis: 100%;
}

@media (min-width: 768px) {

    .footer-top  {
        column-gap: 3rem;
    }

    .footer-top > div {
        flex-basis: calc(50% - 1.5rem);
    }
}

@media (min-width: 1200px) {

    .footer-top  {
        column-gap: 2rem;
    }

    .footer-top > div {
        flex-basis: calc(25% - 1.5rem);
    }
}

.footer-top {
    background-color: rgba(24, 25, 25, 0.85);
    display: flex;
    border-top: 1px solid var(--grid-color);
}

img.footer-logo {
    width: 130px;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 1700px) {

    img.footer-logo {
        width: 180px;
    }
}

img.certifications-image {
    max-width: 300px;
}

.sm-icons {
    margin-top: 2rem;
}

.sm-icons svg {
    font-size: 2rem;
}

/* Infralogistic footer */

.footer-company-group {
    background-color: rgba(24, 25, 25, 1);
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.5rem;
    column-gap: 1rem;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2.25rem;
    padding-bottom: 2.125rem;
    border-top: 1px solid var(--grid-color);
}

.footer-company-group > div {
    flex: 0 0 100%;
    flex-basis: 100%;
}

.footer-company-group-logo img {
    width: 256px;   
}

@media screen and (min-width: 576px) {

    .footer-company-group > div.footer-company-group-logo {
        flex-basis: 256px;
    }

    .footer-company-group > div.footer-company-group-text {
        flex-basis: calc(100% - 256px - 2rem);
        max-width: 1120px;
        flex-grow: 1;
    }

  .footer-company-group {
        gap: 2rem;
    }
}