#footer {
    padding: 50px 0 38px;
    color: $grey;

    a {
        color: $grey;

        &:hover {
            color: $dark-green;
            text-decoration: underline;
        }
    }
}

.footer-top {
    @include breakpoint(lg) {
        padding-bottom: 50px;
    }

    @include breakpoint(xl) {
        padding-bottom: 64px;
    }

    .container {
        @include breakpoint(lg) {
            display: flex;
            flex-wrap: wrap;
        }
    }

    .footer-top-left {
        margin-bottom: 40px;

        @include breakpoint(lg) {
            width: 50%;
            padding-right: 30px;
        }

        .text {
            display: flex;
            flex-direction: column;
            font-size: 14px;
            font-weight: 500;
            gap: 1rem;
            letter-spacing: 1px;
            line-height: 1.35;
            margin-top: 2rem;

            @include breakpoint(md) {
                flex-direction: row;
            }
            @include breakpoint(lg) {
                margin-top: 0;
            }

            a {
                color: $dark-grey;

                &:hover,
                &:active,
                &:focus {
                    color: $dark-green;
                }

                + a {
                    @include breakpoint(md) {
                        border-left: 1px solid $dark-grey;
                        margin-left: 0.3rem;
                        padding-left: 1.2rem;
                    }
                }
            }

            .location {
                border: 0 !important;

                @include breakpointMax(lg) {
                    display: block;
                }
            }
        }
    }

    .footer-top-right {
        @include breakpoint(lg) {
            width: 50%;
            display: flex;
            justify-content: flex-end;
        }
    }

    .footer-logo {
        margin-bottom: 20px;
    }
}

.footer-middle {
    .col-menu {
        margin-bottom: 22px;
        width: 100%;
        // width: 50%;
        // flex-grow: 0;

        @include breakpoint(md) {
            width: 25%;
        }

        @include breakpoint(lg) {
            // width: 33.33%;
            // width: 14.2857%;
            width: 13.5%;
        }

        @include breakpoint(xl) {
            width: 14.2857%;
        }

        .title {
            display: inline-block;
            font: italic 600 21px/1.142857 $font-family-secondary;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            padding-right: 30px;
            min-width: 132px;

            @include breakpoint(lg) {
                pointer-events: none;
            }

            &.active {
                &:before {
                    background: url('assets/images/icon-arrow-down-green.svg');
                    transform: rotate(180deg);
                }
            }

            &:before {
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                background: url('assets/images/icon-arrow-down.svg') no-repeat;
                background-size: 100%;
                width: 20px;
                height: 20px;
                transition: 0.3s ease;

                @include breakpoint(lg) {
                    display: none;
                }
            }
        }

        ul {
            @extend %listreset;
            display: none;

            @include breakpoint(lg) {
                display: block !important;
            }

            li {
                margin-bottom: 10px;
                a {
                    text-transform: uppercase;
                    font-size: 12px;
                    font-weight: 500;
                    // line-height: 2.75;
                    line-height: 1.6667;
                }
            }
        }
    }

    .col-social-networks {
        margin-bottom: 30px;
        width: 50%;

        @include breakpoint(md) {
            width: 25%;
        }

        @include breakpoint(lg) {
            width: 19%;
        }

        @include breakpoint(xl) {
            width: 14.2857%;
        }

        ul {
            @extend %listreset;

            li {
                margin-bottom: 21px;
                &:last-child {
                    margin-bottom: 0;
                }

                a {
                    font-weight: 500;
                    font-size: 14px;
                    line-height: 1.5;
                    letter-spacing: 2px;
                    text-transform: uppercase;

                    img {
                        margin-right: 8px;
                    }

                    &:hover {
                        opacity: 0.7;
                    }
                }
            }
        }
    }

    .footer-text {
        font-size: 12px;
        letter-spacing: 1px;
        line-height: 1.4;
        margin-bottom: 10px;
        margin-top: 1rem;
        opacity: 0.8;

        p {
            margin-bottom: 0;
        }
    }

    // .social-networks {
    //     a {
    //         align-items: center;
    //         display: flex;
    //         flex-direction: row-reverse;
    //         gap: 0.5em;
    //         justify-content: end;
    //     }
    // }
}

.footer-bottom {
    // line-height: 3;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    padding-top: 5px;
    text-transform: uppercase;

    .container {
        @include breakpoint(lg) {
            display: flex;
            justify-content: space-between;
        }
    }

    &-left {
        // display: flex;
        @include breakpointMax(lg) {
            line-height: 3;
            margin-bottom: 32px;
        }
    }

    .copyright {
        display: inline;
        margin-bottom: 10px;

        @include breakpoint(md) {
            margin-bottom: 0;
        }

        p {
            display: inline-block;
            line-height: 1.5;
            margin: 0;
        }
    }

    .footer-bottom-menu {
        display: inline;
        // order: -1;
        // margin-bottom: 20px;

        // @include breakpoint(lg) {
        //     order: 0;
        //     margin-bottom: 0;
        // }

        ul {
            @extend %listreset;
            // margin-bottom: 10px;
            display: inline;
            margin: 0 0 0 10px;

            @include breakpoint(md) {
            }

            li {
                position: relative;
                // display: inline-flex;
                display: inline;
                margin-bottom: 0;
                margin-left: 10px;
                margin-right: 10px;

                &:first-child {
                    // @include breakpointMax(md) {
                    //     margin-left: 0;
                    // }

                    &:before {
                        // @include breakpointMax(md) {
                        //     display: none;
                        // }
                    }
                }

                &:before {
                    content: '';
                    position: absolute;
                    // top: 3px;
                    top: 1px;
                    left: -11px;
                    width: 1px;
                    height: 12px;
                    background: $grey;
                }

                // & + li {
                //     margin-left: 10px;

                // }
                a {
                }
            }
        }
    }

    .design-by {
        p {
            margin-bottom: 0;
        }
    }
}
