
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .header__inner {
        padding: 15px 0;
    }
    
    .nav__list {
        gap: 20px;
    }
    
    .header__cta {
        display: none;
    }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        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: 0;
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }
    
    .nav__link:hover,
    .nav__link.active {
        background: transparent;
        color: var(--primary-color);
        padding-left: 10px;
    }
    
   
    .nav-overlay.active {
        display: block;
    }
    
    
    .button {
        min-width: 120px;
    }
    
    
    .scroll-top {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 22px;
    }
    
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-card--main {
        grid-column: 1 / 3;
        grid-template-columns: 1fr;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
    

    .header__title {
        font-size: 1.5rem;
    }
    
    .section__title {
        font-size: 1.5rem;
    }
    
    .personal {
        padding: 1.5rem;
    }
    
    .personal__text {
        font-size: 1.1rem;
    }
    
    body {
        font-size: 17px;
    }
}


@media (max-width: 480px) {
    .nav {
        width: 100%;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card--main {
        grid-column: 1;
    }
    
    .header__title {
        font-size: 1.3rem;
    }
    
    .section__title {
        font-size: 1.3rem;
    }
    
    .personal__text {
        font-size: 1rem;
    }
    
    .button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .link--more {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .footer__list {
        flex-direction: column;
        gap: 0.75rem;
    }
}


@media (max-width: 399px) {
    body {
        padding: 0 0.75rem;
    }
    
    .header__title {
        font-size: 1.2rem;
    }
    
    .section__title {
        font-size: 1.2rem;
    }
    
    .personal {
        padding: 1rem;
    }
}