/* <<< --- Footer --- >>> */

footer {
    position: relative;
    z-index: 50;
    width: 100%;
    height: auto;
    background-color: var(--black);
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding: var(--padding) 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    height: auto;
    width: 20%;
    padding-right: 20px;
}

.footer-section-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    line-height: 30px;
    text-align: left;
    text-wrap: wrap;
}

.footer-section .icon-plus {
    display: none;
}

.footer-section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 2px;
    background-color: var(--color);
}

.footer-link-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    height: auto;
}

.footer-link {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: var(--grey);
    line-height: 30px;
    text-align: left;
    text-wrap: wrap;
    transition: .2s ease;
    overflow: visible;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 20;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--color);
    border-radius: 50%;
    transition: .2s ease;
    opacity: 0;
}

.subfooter {
    width: 100%;
    height: 100px;
    background-color: var(--black);
    box-shadow: 0 1px 0 var(--black-2) inset;
}

.subfooter-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    height: 100%;
}

.subfooter-content .menu {
    width: auto;
    max-width: inherit;
}

@media screen and (min-width: 980px) {
    .footer-section-title:hover .icon-plus::before, .footer-section-title:hover .icon-plus::after {
        background-color: var(--white-1);
    }
    .footer-link:hover {
        color: var(--white-1);
        padding-left: 10px;
    }
    .footer-link:hover::before {
        opacity: 1;
    }
}

@media screen and (max-width: 1200px) {
    .footer-section {
        width: 33%;
    }
    .footer-content {
        height: 640px;
    }
    #footer-section-4, #footer-section-5 {
        transform: translateY(-180px) !important;
    }
}

@media screen and (max-width: 900px) {
    .footer-section {
        width: 100%;
        min-width: 290px;
        padding: 0;
    }
    .footer-section-title {
        cursor: pointer;
    }
    .footer-content {
        height: auto;
        gap: 30px;
    }
    #footer-section-4, #footer-section-5 {
        transform: none !important;
    }
    .footer-link-wrap {
        display: none;
    }
    .footer-section.-active .footer-link-wrap {
        display: inherit;
    }
    .footer-section .icon-plus {
        display: inherit;
    }
    .footer-section.-active .icon-plus::after {
        height: 0;
    }
    .subfooter {
        height: auto;
    }
    .subfooter .logo {
        justify-content: center;
    }
    .subfooter-content .menu {
        width: 100%;
        height: auto;
    }
    .subfooter-content {
        justify-content: center;
        padding: 50px 0;
    }
}

@media screen and (max-width: 600px) {
    .footer-content {
        padding: var(--padding) 0 calc(var(--padding) + 40px) 0;
    }
    .subfooter-content .menu {
        height: 70px;
    }
}