/* Footer */
.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    background: var(--cl-bg) !important;
    color: var(--cl-w);
    font-size: 14px;
    line-height: 1.2;
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
    gap: 0;
    align-items: flex-start;
}

.footer-title,
.footer-subtitle {
    color: var(--cl-1) !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.footer-sub-col > p,
.footer-follow > p {
    margin: 0 0 8px;
    color: var(--cl-text-soft);
}

.footer-sub-col > p:empty,
.footer-follow > p:empty {
    display: none;
}

.footer-sub-col > ul,
.footer-follow > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--cl-text-soft);
}

.footer-sub-col > ul > li,
.footer-follow > ul > li {
    margin-bottom: 8px;
}

.footer-sub-col strong,
.footer-sub-col b {
    color: var(--cl-w);
}

.footer-sub-col > p:first-child,
.footer-follow > p:first-child {
    color: var(--cl-1) !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.footer-sub-col > p:first-child a,
.footer-follow > p:first-child a,
.footer-title a {
    color: var(--cl-1) !important;
    text-decoration: none;
}

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

.site-footer a {
    color: var(--cl-text-soft);
    text-decoration: none;
    transition: 0.2s;
}

.site-footer a:hover {
    color: var(--cl-1);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social img {
    width: 32px;
    transition: transform 0.2s;
}

.footer-social img:hover {
    transform: scale(1.1);
}

.footer-follow iframe {
    width: 100% !important;
    max-width: 236px !important;
    height: 160px !important;
    border-radius: 6px;
    border: 1px solid var(--cl-border);
    margin-bottom: 15px;
}

.sc_footer-copyright {
    margin: -1px 0 0 0 !important;
    width: 100%;
    display: block;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--cl-border-soft);
    padding: 15px 0;
    background: var(--cl-bg);
    color: var(--cl-text-muted);
    font-size: 13px;
    text-align: center;
}

@media (min-width: 992px) {
    .col-company {
        width: 40%;
    }

    .col-left-group {
        width: 18%;
    }

    .col-right-group {
        width: 18%;
    }

    .col-map {
        width: 24%;
    }

    .top-block {
        min-height: 220px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-col {
        width: 100%;
        margin: 0;
    }

    .col-company {
        grid-area: 1 / 1 / 2 / 2;
    }

    .col-map {
        grid-area: 1 / 2 / 2 / 3;
    }

    .col-left-group {
        grid-area: 2 / 1 / 3 / 2;
    }

    .col-right-group {
        grid-area: 2 / 2 / 3 / 3;
    }

    .top-block {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-inner {
        padding: 30px 10px 20px;
        gap: 0;
        display: flex !important;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .col-company,
    .col-map {
        width: 100%;
    }

    .col-company {
        margin-bottom: 0;
    }

    .col-left-group {
        width: 55%;
        padding-right: 5px;
    }

    .col-right-group {
        width: 45%;
        padding-left: 5px;
    }

    .top-block {
        min-height: unset;
        margin-bottom: 0;
    }

    .footer-sub-col {
        margin-bottom: 35px;
    }

    .footer-title,
    .footer-subtitle,
    .footer-sub-col > p:first-child,
    .footer-follow > p:first-child {
        font-size: 13px !important;
        white-space: nowrap;
    }

    .footer-sub-col > ul > li,
    .footer-follow > ul > li {
        font-size: 13px;
    }

    .footer-follow iframe {
        height: 200px !important;
    }
}
