@media (max-width: 1179px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .site-header__inner {
        min-height: 5.75rem;
    }

    .site-header.is-smart-sticky .site-header__inner {
        min-height: 4.65rem;
    }

    .site-brand__logo {
        width: 6.5rem;
        height: auto;
    }

    .site-header.is-smart-sticky .site-brand__logo {
        width: 5.35rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: span 2;
    }

    .site-footer__brand img {
        width: min(16rem, 100%);
    }
}

@media (min-width: 1180px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 1600px) and (min-width: 1180px) {
    .topbar__contacts a:nth-child(2),
    .topbar__contacts a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 767px) {
    .topbar__inner {
        padding-block: 0.45rem;
        min-height: auto;
        justify-content: center;
    }

    .topbar__contacts {
        justify-content: center;
        gap: 0.35rem 0.9rem;
        font-size: 0.78rem;
        width: 100%;
    }

    .topbar__link--phone-alt,
    .topbar__link--whatsapp,
    .topbar__social,
    .topbar__address,
    .topbar__contacts a:nth-child(2),
    .topbar__contacts a:nth-child(3) {
        display: none !important;
    }

    .topbar__link--phone,
    .topbar__link--email,
    .topbar__contacts a:first-child,
    .topbar__contacts a:nth-child(4) {
        display: inline-flex !important;
        align-items: center;
        gap: 0.35rem;
        color: #ffffff;
        text-decoration: none;
    }

    .site-header__inner {
        min-height: 5.25rem;
    }

    .site-header.is-smart-sticky .site-header__inner {
        min-height: 4.15rem;
    }

    .site-brand__logo {
        width: 5.75rem;
        height: auto;
    }

    .site-header.is-smart-sticky .site-brand__logo {
        width: 4.75rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__brand img {
        width: min(15rem, 70vw);
    }

    .site-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479px) {
    .topbar__contacts {
        font-size: 0.75rem;
        gap: 0.25rem 0.65rem;
    }

    .topbar__link--phone,
    .topbar__link--email,
    .topbar__contacts a:first-child,
    .topbar__contacts a:nth-child(4) {
        display: inline-flex !important;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
