.site-footer {
    background: var(--main-blue);
    color: #fff;
    padding: 48px 5vw;
    margin-top: 48px;
}


/* контейнер — чтобы не было 100vw/скроллбар-бага */

.footer-container {
    width: 100%;
    max-width: 1440px;
    /* если у тебя другой container — подставь */
    margin: 0 auto;
    box-sizing: border-box;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
}


/* LEFT */

.site-footer__brand {
    display: inline-flex;
}

.site-footer__logo {
    max-width: 280px;
    height: auto;
    display: block;
}

.site-footer__work {
    margin-top: 22px;
}

.site-footer__work-title {
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.site-footer__work-row {
    font-weight: 600;
    opacity: .95;
    line-height: 1.25;
}

.site-footer__phone {
    display: inline-flex;
    margin-top: 22px;
    background: #fff;
    color: var(--main-blue);
    font-weight: 900;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 999px;
    width: max-content;
}

.site-footer__social {
    margin-top: 22px;
}

.site-footer__social-title {
    font-weight: 800;
    margin-bottom: 12px;
}

.site-footer__social-row {
    display: flex;
    gap: 18px;
}

.site-footer__social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer__social-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}


/* hover */

.site-footer__social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}


/* RIGHT NAV (десктоп колонки) */

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    min-width: 0;
}

.fnav__section {
    min-width: 0;
}

.fnav__title {
    width: 100%;
    border: 0;
    background: none;
    color: #fff;
    padding: 0;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: default;
}

.fnav__title-text {
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
}

.fnav__chev {
    display: none;
}

.fnav__body {
    display: block;
}

.fnav__link {
    display: block;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    line-height: 1.25;
    padding: 6px 0;
    font-weight: 600;
}

.fnav__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ===== MOBILE + TABLET (до 1200px) ===== */

@media (max-width: 1200px) {
    .site-footer {
        padding: 34px 0;
    }

    .footer-container {
        padding: 0 32px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* верхний блок — центр */
    .site-footer__left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-footer__logo {
        max-width: 300px;
    }

    .site-footer__work {
        margin-top: 22px;
    }

    .site-footer__work-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .site-footer__work-row {
        font-size: 20px;
        line-height: 1.4;
    }

    .site-footer__phone {
        margin-top: 22px;
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1.25rem;
        line-height: 1.05;
        background: rgba(255, 255, 255, .08);
        color: #fff;
        border: 2px solid rgba(255, 255, 255, .12);
        box-sizing: border-box;
    }

    .site-footer__social {
        margin-top: 24px;
        width: 100%;
    }

    .site-footer__social-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .site-footer__social-row {
        justify-content: center;
        gap: 28px;
    }

    .site-footer__social-btn {
        width: 72px;
        height: 72px;
    }

    .site-footer__social-btn img {
        width: 32px;
        height: 32px;
    }

    .site-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 40px;
        border-top: 1px solid rgba(255, 255, 255, .14);
        padding-top: 36px;
    }

    .fnav__title {
        margin: 0 0 18px 0;
        pointer-events: none;
        justify-content: flex-start;
    }

    .fnav__title-text {
        font-size: 1.25rem;
        line-height: 1.05;
    }

    .fnav__body {
        display: block !important;
        padding: 0;
    }

    .fnav__link {
        font-size: 1.25rem;
        line-height: 1.4;
        padding: 4px 0;
        font-weight: 500;
    }

    .fnav__chev {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .fnav__link {
        font-size: 1rem;
        line-height: 1.3;
        padding: 4px 0;
        font-weight: 700;
    }
}