/* --- Adaptive --- */
@media (min-width: 768px) {

    .menu-toggle {
        display: none;
    }
}
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .header-inner {
        flex-direction: row;
        padding: 10px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .header.scrolled .logo img {
        height: 40px;
    }
    
    .brand {
        flex: 1;
        gap: 10px;
        flex-direction: column;
    }
    
    .contacts {
        display: none;
    }
    
    /* Бургерное меню */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-left: auto;
        z-index: 1001;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--cream);
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .main_nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--brown);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
        border-bottom: 2px solid var(--beige);
    }
    
    .main_nav.active {
        display: flex;
    }
    
    .main_nav a {
        padding: 15px 20px;
        color: var(--beige);
        text-decoration: none;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
    
    .main_nav a:hover {
        background: rgba(238, 217, 198, 0.1);
        border: none;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero-text {
        margin-bottom: 20px;
    }
    
    .fs_offer {
        flex-direction: column;
    }
    
    .komplekt_image {
        width: 100%;
        margin-top: 20px;
    }
    
    .how {
        padding: 40px 0;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .step h3 {
        height: auto;
    }
    
    .order {
        padding: 40px 0;
    }
    
    .order-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .order-form {
        min-width: 100%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .order-summary {
        flex: 1;
        min-width: 100%;
    }
    
    .summary-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .subscription, .footer {
        padding: 30px 0;
    }
    
    .messengers {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }
    
    .messengers a {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .file-drop-area {
        padding: 20px;
    }
    
    .file-drop-text svg {
        width: 35px;
        height: 35px;
    }
    
    .order-form input,
    .order-form button {
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .brand h1 {
        font-size: 1rem;
    }
    
    .contacts a {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .order-form h3 {
        font-size: 1.1rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
}