/* =========================================
   SB WORDPRESS-LIKE FOOTER COMPONENT
========================================= */

.sb-site-footer {
    position: relative;
    overflow: hidden;
    color: #4b4b4b;
    font-family: Arial, Helvetica, sans-serif;
}

.sb-site-footer__widgets {
    position: relative;
    padding: 54px 0 42px;
    background: url("../../assets/media/sb11121.jpg") no-repeat center center / cover;
}

.sb-site-footer__widgets::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: none;
}

.sb-site-footer__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 36px;
}

.sb-site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.18fr 1.42fr;
    gap: 34px;
    align-items: start;
}

.sb-site-footer__col {
    min-width: 0;
}

.sb-site-footer__title {
    margin: 0 0 17px;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.sb-site-footer__nav {
    display: grid;
    gap: 10px;
}

.sb-site-footer__nav a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #4b4b4b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.16s ease;
}

.sb-site-footer__nav a:hover {
    color: #df1c48;
}

.sb-site-footer__contact {
    color: #4b4b4b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.sb-site-footer__contact p {
    margin: 0 0 10px;
}

.sb-site-footer__contact a {
    color: #4b4b4b;
    text-decoration: none;
    transition: color 0.16s ease;
}

.sb-site-footer__contact a:hover {
    color: #df1c48;
}

.sb-site-footer__social-block {
    margin-top: 20px;
    padding-top: 5px;
}

.sb-site-footer__title--social {
    margin-bottom: 12px;
}

.sb-site-footer__socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sb-site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    color: #4b4b4b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.sb-site-footer__socials a:hover {
    color: #df1c48;
    transform: translateY(-1px);
}

.sb-site-footer__map {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.sb-site-footer__map iframe {
    display: block;
    width: 100%;
    height: 200px;
}

.sb-site-footer__copyright {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.sb-site-footer__copyright-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 36px 26px;
}

.sb-site-footer__copyright p {
    margin: 0;
    color: #4b4b4b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}

.sb-site-footer__copyright a {
    color: #4b4b4b;
    text-decoration: none;
    transition: color 0.16s ease;
}

.sb-site-footer__copyright a:hover {
    color: #df1c48;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {
    .sb-site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px 42px;
    }

    .sb-site-footer__col--contact,
    .sb-site-footer__col--map {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .sb-site-footer__widgets {
        padding: 46px 0 38px;
    }

    .sb-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-site-footer__col--map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .sb-site-footer__inner,
    .sb-site-footer__copyright-inner {
        padding-left: 28px;
        padding-right: 28px;
    }

    .sb-site-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sb-site-footer__widgets {
        padding: 42px 0 34px;
    }

    .sb-site-footer__title {
        margin-bottom: 14px;
    }

    .sb-site-footer__nav {
        gap: 9px;
    }

    .sb-site-footer__copyright p {
        text-align: left;
    }
}

/* Back to top button (1:1 with sb-bg.com Avada #toTop) */

.sb-to-top {
    position: fixed;
    right: 75px;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 4px 4px 0 0;
    background-color: #333333;
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, background 0.2s ease-in-out;
}

.sb-to-top.is-active {
    opacity: 0.9;
    pointer-events: auto;
}

.sb-to-top:hover,
.sb-to-top:focus-visible {
    background-color: #4b4b4b;
}

.sb-to-top:focus {
    outline: 0;
}

.sb-to-top svg {
    display: block;
    width: 14px;
    height: 14px;
}

@media (max-width: 900px) {
    .sb-to-top {
        bottom: 30px;
        height: 40px;
        border-radius: 4px;
    }
}

@media (max-width: 800px) {
    .sb-to-top {
        width: 44px;
        height: 44px;
    }
}

/* phones: tucked into the corner */
@media (max-width: 767px) {
    .sb-to-top {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

@media print {
    .sb-site-footer {
        display: none !important;
    }
}