@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .header__inner {
        padding: 15px 0;
    }

    .nav__list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--clr-additional);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 30px 30px;
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 30px;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid #ddd;
    }

    .nav__link:hover,
    .nav__link.active {
        background: transparent;
        padding-left: 10px;
        color: var(--clr-primary);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .header {
        position: sticky;
        top: 0;
    }

    .scroll-top {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .nav {
        width: 100%;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    body {
        font-size: 17px;
    }
}
